Latest Articles

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 >>

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 >>

Calling methods between microservices

The commonly used methods for calling microservices to each other are HttpUrlConnection or classic network access framework HttpClient However, in the Spring project, using RestTemplate is clearly more convenient RestTemplate Introduction:RestTemplate is an HTTP request tool supported since Spring 3 ... More >>

Cold start and hot start of APP, do you know?

1.app cold startapp cold start: When the application is started, there is no application process in the background, then the system will recreate a new process to assign to the application, this startup method is called cold start (there is no application process in the background). Because the syst ... More >>

Responsive Design

Responsive DesignResponsive design is a concept introduced by Ethan Marcotte in May 2010, where the corresponding worth is the ability of web pages to behave differently on different sizes and types of devices. A well-designed responsive page can provide a comfortable and beautiful interface, easy i ... More >>

The Data Design Pattern of Microservice Architecture

Recently, I participated in the research and development of a company project and found some minor issues in data management. Based on past experience, I have recorded the microservice data design pattern here. The services in the microservices architecture are loosely coupled and can be independent ... More >>

Chat today: 10 habits of doing a good job at the front end

Habits can subtly reshape a person, especially simple and small habits that are easy to implement. The role of good habits varies from person to person, due to the difference in the strength of our execution. Over the past 10 years of work, I have compiled some habits that I understand and shared th ... More >>

What is Dynamic Programming?

Dynamic programming algorithms are often used to solve problems with some optimal properties. In this type of problem, there may be many feasible solutions. Each solution corresponds to a value, and we want to find the solution with the optimal value. Dynamic programming is a kind of thought, very ... More >>

Replacing Lerna + Yarn with PNPM Workspaces

Monorepo architecture has become more popular over the years, which is understandable considering the problem it solves. The biggest challenge, though, is finding an easy-to-use tool for handling such a structure. If you Google “monorepo tool javascript”, you’ll find many articles showing the most p ... More >>

How GitHub Actions renders large-scale logs

Rendering logs in a web UI might seem simple: they are just lines of plain text. However, there are a lot of additional features that make them more useful to our users: coloring, grouping, search, permalinks, etc. but most importantly, the interface should work no matter if the log has ten or tens ... More >>