发布了文章2022-08-18
APIs are application interfaces, meaning that one application is able to interact with another application in a standardized way.Web services are a type of API, which must be accessed through a network connection.
发布了文章2022-08-15
Do we want further analytics? If so we will need to store more data like number of clicks, location data, timestamp, etc.
发布了文章2022-08-09
A system or repository of data stored in its natural/raw format, usually object blobs or files.
发布了文章2022-07-22
Limit Offsetreturn only 10 records, start on record 16 (OFFSET 15)SELECT * FROM Orders LIMIT 10 OFFSET 15
发布了文章2022-07-21
Listl.pop(i)弹出第i个元素for index, num in enumerate(nums)l[::-1]l.count(x)list comprehension: {代码...} Sort 1: {代码...} Sort 2:Sort Array by Increasing Frequency: {代码...} Sort 3:sentences is a list of sentences, times is a list of numbers ind...
发布了文章2022-07-19
07/19/20221) 158. Read N Characters Given read4 II - Call Multiple Times (Hard)注意提供的read4(buf4)函数2) 735. Asteroid Collision思路: 注意只有正+负会相遇,负+正是反方向不相遇。区分几种情况,正大负小,一样大,正小负大。用Stack存储,消除就pop。3) ...
发布了文章2022-06-30
Many entities can be mastered (as shown in the graphic), but many come together as the more generic “domains”: Party (customer, prospect, employee, supplier, agent, .etc.), Account (arrangement, contract, agreement, reward program, financial accou...
发布了文章2022-06-28
A container is an executable unit of software in which application code is packaged, along with its libraries and dependencies, in common ways so that it can be run anywhere, whether on a desktop, on-premises, or in the cloud.To do this, container...
发布了文章2022-06-14
Problem 1:Unable to make private java.nio.DirectByteBuffer(long,int) accessible: module java.base does not "opens java.nio" to unnamed moduleSolution:Apache Spark is NOT COMPATIBLE with Java 16.When downloading a JDK for Spark, Java 11 is the safe...
发布了文章2022-05-23
1)1. Two SumInput: nums = [2,7,11,15], target = 9Output: [0,1]Explanation: Because nums[0] + nums[1] == 9, we return [0, 1].思路:用字典(hashmap)存已经遍历过的数字,就不用再遍历一次了。<k,v>=<nums[i],i>。每经过一个数字n,去字典里找tar...
发布了文章2022-05-19
Create Producer in Java.Before running the Java project, make sure1.Zookeeper is running2.Kafka is running3.Topic is created4.Consumer is running so you can see the output
发布了文章2022-05-03
Make sure zookeeper and Kafka are running before proceeding to next steps, otherwise you will get 'Broker may not be available' error.Open a terminal, run
发布了文章2022-05-01
Apache Kafka: Highly scalable, distributed platform for creating/Processing real-time data streams.
发布了文章2022-04-29
Options:1)Windows - Docker2)Windows - WSL3)Mac - Brew4)Mac - General without Brew5)Linux...
发布了文章2022-04-29
Options:1)Windows - Docker2)Windows - WSL3)Mac - Brew4)Mac - General without Brew5)Linux...