Software Quality Assurance: What You Write Is What You Think|An Ali quality person’s perception of testing. Recently, in the project test, a defect caused by Boolean was found. The main reason is that this problem is more interesting, and the code review process is not easy to find. The defect is essentially a contract problem. […]
Tag: sed
Concurrent implementation of millions of servers based on EPOLL-based reactor
1. In what scenarios should level trigger or edge trigger be used? When the amount of data is relatively small and the performance is relatively high, we generally use edge triggering. (How do we divide the size of the data? When the buffer cannot be read at one time, it is large data, and if […]
[RocketMQ] Automatic fault recovery cluster practice based on RocketMQ 5.1.0 version (Controller embedded mode)
Article directory need Prepare nameserver dashboard Broker exporter problems encountered write at the end Requirements RocketMQ version is 5.1.0; Build a cluster of 3 masters and 3 slaves, adopt cross-deployment (to avoid two machines being master-slave each other), and save machine resources; 3 nameservers, 1 exporter, 1 dashboard; Supports automatic fault recovery, and the controller […]
The way you probably never used to debug Vue3 (open source project) source code
1 Introduction Hello everyone, I am Ruochuan. I have devoted myself to organizing source code sharing for more than a year. If you are interested, you can add me on WeChat lxchuan12 to participate. In addition, if you want to learn source code, I highly recommend paying attention to my column “Learning the Overall Architecture […]
Build a Sftp server based on CentOS7.9 (with user script creation)
background: · Existing methods: The company transmits the research and development data to the external cooperative company through the FTP server, and the external company transmits the data to the company; Employees download the data given by the administrator on the extranet, or transfer the data to the company · Question 1: Existing FTP servers […]
websocket demo based on stomp protocol
What is stomp STOMP (Simple (or Streaming) Text Orientated Messaging Protocol) is a simple text protocol that defines the format for communication between clients and message brokers. It is an interoperable protocol because many different message brokers and clients implement it. STOMP provides a reliable, asynchronous messaging model that is suitable for communicating between heterogeneous […]
Irregular use of the thread exception caused by CountDownLatch to wait for timeout
Quote: The concept of CountDownLatch: Allow one or more threads to wait for other threads to complete operations. The constructor allows to receive an int value as the initial number of threads, which can also be considered as the last few numbers. After the thread execution is completed, the count value in the construction is […]
Downloading and decompression of compressed files through the minio server
1: Download the compressed file to the local server //Download the compressed file public static void main(String[] args) {<!– –> try {<!– –> // Initialize the MinIO client MinioClient minioClient = MinioClient. builder() .endpoint(“http://” + “192.168.16.188:9000”) .credentials(“admin”, “admin123456”) .build(); // Download the compressed file to the local file system, a temporary file generated in temp […]
LSTM/GRU of TF: Based on tensorflow framework, use LSTM and GRU algorithm (batch_size tuning comparison) to realize house price regression prediction case for boston house price data set respectively
LSTM/GRU of TF: Based on the tensorflow framework, use LSTM and GRU algorithm (batch_size tuning comparison) to realize the case of house price regression prediction on the boston house price data set. Directory Based on tensorflow framework, use LSTM and GRU algorithm (batch_size tuning comparison) to realize house price regression prediction case for boston house […]