Latest Articles

Pnpm Principle

Pnpm PrincipleDo you need some operating system knowledge to understand how pnpm works 1.The nature of the documentIn the operating system, a file is actually a pointer, only instead of pointing to a memory address, it points to an external storage address (in this case, external storage can be a ha ... More >>

Building a Python API Testing Tool Platform

Building a Python API Testing Tool PlatformIntroduction:In today’s software development landscape, API testing has become an integral part of the testing process. It allows developers to ensure the functionality and reliability of their applications by testing the different endpoints and functionali ... More >>

SwiftUI State Management

Introduction:State management is a crucial aspect of building responsive user interfaces in SwiftUI. It allows us to track and handle changes in the application’s state while ensuring that views automatically update when the state changes. This article will introduce several commonly used state mana ... More >>

LRU Cache

What is LRU Cache and How to Implement it1. What is LRU CacheLRU is the abbreviation of Least Recently Used, which means least recently used. It is a Cache replacement algorithm. 1.1 What is Cache?The Cache in the narrow sense refers to the fast RAM located between the CPU and the main memory. Usual ... More >>

How to Quickly Create Interface Automation

How to Quickly Create Interface AutomationDuring the project development process, regression validation is always performed on the original functions to ensure that the original logic is normal, such as smoke testing, regression testing, and monitoring online business. When there is a lot of content ... More >>

How to Run Parallel Coroutines in Kotlin

OverviewWe can think about Kotlin coroutines as lightweight threads. They allow us to execute code concurrently and are less resource-consuming than threads. Using coroutines can improve the performance, responsiveness, and scalability of our applications.In this tutorial, we’ll explore different wa ... More >>

Kubernetes Network

Kubernetes NetworkIn this article, we’ll give you an in-depth look at the networking and monitoring capabilities provided by Kubernetes to prepare you for rolling out your application into a production environment with open network services and good visibility. Kubernetes networking featuresKubernet ... More >>

OPEN AI Learning

OPEN AIOfficial Site (Most Useful Tool) https://openai.com/product#made-for-developersPricing https://openai.com/pricingQuick Start 1234567891011Install$ pip install openaiAPI Keyimport osimport openai# Load your API key from an environment variable or secret management serviceopenai.api_key = os ... More >>

Android YUV Frame Data Overlays Watermark

When we want to add a watermark to a video while recording it, there are two options: A. The video frame data is converted to Bitmap, watermark is drawn on bitmap, and then the watermarked Bitmap is converted to frame dataThis scheme can achieve watermark addition, although the use of RenderScript i ... More >>

MySQL Slow Query

What is SQL slow query?When we execute a sql, the database not only returns the execution result, but also returns the execution time of the sql. MySQL slow queries refer to queries whose execution time exceeds the threshold (the default value is 10 seconds). These slow queries will be recorded as s ... More >>