Latest Articles
Do you know why the Loader is executed from right to left?
Do you know why the Loader is executed from right to left?Before we get into this, let’s understand a little bit about the basics of loader
No matter what module is processed by the loader, it will become a JS module
The leftmost loader return value must be a JS module, otherwise webpack won’t re
...
More >>
2022-04-03
Loader
/
pitch
/
Loader-Runner
/
configuration
Go releases the biggest update to the language ever!
On March 15, 2022, the Go core team announced the release of Go 1.18, which its official blog called “a huge milestone for the entire Go community”. In this release, the Go core team made the biggest syntax feature change since the Go language became open source - adding support for generics.
Here i
...
More >>
2022-03-27
Go
/
Generics
/
Fuzzing
/
Workspaces
/
performance
Front-end Performance Optimization - Resource Preloading
When it comes to front-end performance optimization, the first thing we associate with is file merging, compression, file caching, and enabling server-side gzip compression, which allows pages to load faster and users to use our web applications as quickly as possible to achieve their goals. 
...
More >>
How to Write Elegant Code Using High Order Functions in GO Language
PrefaceIn go projects, it is often necessary to query the database. Based on previous Java development experience, many methods will be written according to the query criteria, such as:
GetUserByUserID
GetUsersByName
GetUsersByAge
Write a method for each query condition. This method is very good f
...
More >>
Redis Persistence Explained
Redis is a high-performance key-value database that is widely used in projects, and every developer should master this skill. In today’s article, we’ll introduce Redis persistence in detail.
As we all know, Redis is memory-based and reads and writes data from and to memory, but the data does not dis
...
More >>
2022-03-06
Redis
/
RDB
/
AOF
/
persistence
Three Invocation Patterns for Distributed Services
PrefaceRecently, we are doing a permission control function, one of the services is to freeze the user, the specific business logic is not necessarily appropriate to elaborate, so we will use the “elephant in the freezer” to abstract instead. The process is as follows:
1231. Open the refrigerator do
...
More >>
2022-02-28
Redis
/
RDB
/
AOF
/
persistence
The difference between heap and stack
Stack area (stack): Automatically allocated and released by the compiler, storing function parameter values, local variable values, etc. Its operation is similar to a stack in a data structure.
Heap area (heap): Generally allocated and released by the programmer, if the programmer does not release,
...
More >>
2022-02-21
stack
/
heap
/
difference
/
system
Low-code ten questions, how many do you know?
Adoption of low-code platforms will grow as organizations slash IT budgets while trying to keep up with the demands of digitization. Enterprise innovation and business agility will drive low-code development. It doesn’t mean that the development team can be abandoned, and it doesn’t mean that less c
...
More >>
2022-02-14
Low-code
/
Limitations
/
Microservices
Stream | basic knowledge
1. What is a stream?Stream uses an intuitive way similar to querying data from the database with SQL statements to provide a high-level abstraction of Java collection operations and expressions
Stream is a queue of elements from a data source and supports aggregation operations
Elements are objects
...
More >>
2022-02-07
Stream
/
Pipelining
/
Internal iteration
Principle and Implementation of MD5 Algorithm
What is MD5 algorithmMD5 Message Digest Algorithm (English: MD5 Message-Digest Algorithm), a widely used cryptographic hash function, can generate a 128-bit (16-byte) hash value (hash value), used to ensure Information transmission is complete and consistent.
MD5 functionInput information of any len
...
More >>
2022-01-31
MD5
/
Encryption
/
function
/
reversible
/
hash