In fact, I wrote a series of blogs about akka streams very early. But at that time, I studied purely to understand akka, mainly from the principle of akka streams. Because akka streams is the basis of akka series tools, such as akka HTTP, persistence query, etc. are all based on akka streams. In fact, akka streams is not really used. Some requi ...
Posted by Rohlan on Thu, 19 May 2022 10:32:35 +0300
In actual development, a large project often needs to use hundreds of Python modules. If these modules are stacked together, it is bound to be difficult to manage.
Moreover, using modules can effectively avoid conflicts caused by duplicate variable names or function names, but what if the module names are repeated?
Therefore, Python proposes th ...
preface
Template, as the name suggests, is a fixed and standardized thing.
Template method pattern is a behavior design pattern. It defines an algorithm framework in superclass, allowing subclasses to rewrite specific steps of the algorithm without modifying the structure.
Scene problem
Suppose we are masters of a beverage shop, we need at leas ...
Posted by thekidscareya on Wed, 18 May 2022 14:59:35 +0300
1, Definition of SOA and DDD
SOA and DDD are common system architectures, but the core of them is different.
SOA (service-Oriented Architecture) was proposed by Gartner in 1996. It is a distributed software architecture. It can deploy, combine and use loosely coupled coarse-grained application components through the network according to requi ...
Posted by marcela1637 on Wed, 18 May 2022 13:32:18 +0300
Serialize and deserialize
All are to complete the operation of Java objects, write the Java objects to the file of the local hard disk, and restore the Java objects stored in the local file to the Java memory;
Serialization refers to outputting objects in memory to the hard disk for storage, while deserialization is the opposite operation, r ...
Posted by lill77 on Wed, 18 May 2022 09:59:22 +0300
I started this article Blog For reprint, please indicate the source: http://kohpoll.github.io/blog...
When we write TypeScript, we mainly use type annotation (adding type constraints to variables and functions), which can enhance code readability and avoid low-level bug s. In fact, TypeScript's type system is designed to be so powerful that it ...
Posted by billthrill on Mon, 16 May 2022 07:30:17 +0300
Preface
Shell is a program written in C that serves as a bridge for users to use Linux. Shell is both a command language and a programming language. _The execution of Linux commands must depend on the shell command interpreter. Shell is actually a special program that runs in the Linux operating system. It is located between the kernel of ...
Posted by simonmlewis on Sun, 15 May 2022 20:50:07 +0300
The first official account of this article: ELO's cabin, welcome to pay attention and view more content!!!
function
The code block stores a piece of code for processing a single task, and then calls it with a short command whenever necessary JavaScript has many built-in functions. Browser functions are not part of the core JavaScript l ...
Posted by TutorMe on Sun, 15 May 2022 09:34:48 +0300
Java get time & the most complete summary of time formatting
Recently, I have encountered many problems in obtaining the current time in Java, and some have various requirements. Today, I will summarize the methods of obtaining time in Java and the formatting of time output.
Acquisition method
java.util.Date
This is the most commonly us ...
Posted by MHardeman25 on Sat, 14 May 2022 10:50:12 +0300
In the first part, I wrote a program that it's best to give up the CPU when the delay occurs, but if it's just to give up, I don't know when to come back. If the delay is not enough when I come back, it's unreasonable As shown in the figure below First, program A yield() gives up the CPU and hopes to wait for 10ms before executing the next ste ...
Posted by bedrosamo on Fri, 13 May 2022 17:46:23 +0300