One Demo handles the front-end and back-end multi-part uploading of large files, resumed uploading at breakpoints, and instantaneous uploading.

1Foreword File uploading is very common in project development. Most projects will involve the uploading of pictures, audios, videos, and files. Usually a simple Form can upload small files, but when encountering large files, such as more than 1GB, or When the user’s network is relatively slow, simple file upload is not applicable. The user […]

10 scenarios where Python handles office automation

There is a popular question on Zhihu: Will Python become a common programming tool for public offices in the future? In the programming world, Python is already a veritable internet celebrity. Once, a graduate student studying Chinese language asked me how to learn Python, because their course paper needed to use text analysis and use […]

Netty practice — Netty handles sticky packet unpacking

TCP packet sticking/unpacking TCP processes data in a streaming manner. Unpacking: A complete data packet may be split into multiple packets by TCP for sending. Sticky packets: TCP may stick multiple small packets into one large data packet. Introduce dependency packages: <dependency> <groupId>io.netty</groupId> <artifactId>netty-all</artifactId> <version>4.1.29.Final</version> </dependency> Example of sticky package unpacking: Server EchoServer: /** * […]

30.Go handles Redis BigKey

Article directory 1: Introduction 1. What is Big Key? 2. Dangers of BigKey 2.1 Uneven memory space 2.2 Timeout blocking 2.3. Network congestion 2.4. Expired deletion 2.5. Difficulty in migration 2: How to discover BigKEY 1. redis-cli –bigkeys 2.debug object 3.memory usage Three: How to deal with BigKey 1. Redis 4.0 + 2. Before Redis […]

Python interface test handles parameter and encoding issues of escape characters!

Introduction The author, after being very busy at work, decided to take time to record the problems encountered when testing the interface for future reference. It can also be provided to those partners who are learning interface testing to avoid detours. If it helps you, give it a like, thank you. Today’s article mainly talks […]

Python interface test handles parameter and encoding issues of escape characters!

Introduction The author, after being very busy at work, decided to take time to record the problems encountered when testing the interface for future reference. It can also be provided to those partners who are learning interface testing to avoid detours. If it helps you, give it a like, thank you. Today’s article mainly talks […]

ELK handles SpringBoot logs, so elegant!

In the process of troubleshooting online anomalies, query logs are always an indispensable part. In most microservice architectures used today, logs are scattered on different machines, making log query extremely difficult. If there is a unified real-time log analysis platform at this time, it can be said to be a timely help, which will definitely […]

When GO language handles concurrency, should we choose sync or channel?

When we wrote C in the past, we usually communicated through shared memory. When operating a certain piece of data concurrently, in order to ensure data security and control synchronization between threads, we would use mutex locks , lock and unlock for processing However, GO language recommends sharing memory through communication and using channels to […]

Python interface test handles parameter and encoding issues of escape characters!

Introduction The author, after being very busy at work, decided to take time to record the problems encountered when testing the interface for future reference. It can also be provided to those partners who are learning interface testing to avoid detours. If it helps you, give it a like, thank you. Today’s article mainly talks […]

Solve the problem of “No handles with labels found to put in legend”

Table of Contents Problem background problem causes Solution Solving example in conclusion labelThe role of the parameter Instructions Add legend Complete example Precautions Problem background When using Matplotlib to draw charts, you sometimes encounter the warning message “No handles with labels found to put in legend”. This warning message usually appears when we try to […]