Latest Articles

Unit test

Abstract: Unit testing is the basis of software testing. This article discusses in detail the two steps of unit testing, manual static inspection and dynamic execution, the work items to be executed and related strategies and methods.How to conduct unit testing with white box testing method, keyword ... More >>

Mechanism difference between ios and Android

1. ArchitectureiOS: cocoa Touch layer: including Foundation Framework, UIkit Framework, Address Book UI Framework Media layer: including image, audio, and video technologies Core service layer: For example, CoreFoundationframework is an interface set based on C language, providing Basic data ma ... More >>

Front-end JS basic knowledge point combing (a) the basic chapter

IntroductionI believe there are a lot of people like me are halfway front-end development, when it is to find a training institution to train a four or five months out to find a job, so the basic part of the front-end Js mastery is very weak, although the work is found, but in the daily work of many ... More >>

Front-end to get battery information

Today's positive energy: When strange needs are made more and more, it proves that your vision is also becoming broad. Product Manager: Add a requirement that if a user's computer device is running out of power, I have to warmly tell him it's time to plug it in. Front-end Atta ... More >>

Common Design Patterns and Their Applications

Design patterns are recurring solutions to common software design problems. They are generally considered to be the best practices for solving common software design challenges. In this article, we will introduce ten common design patterns and their applications. Chain of ResponsibilityThe Chain of ... More >>

Database introduction

1. Concept introductionThe database is a warehouse for storing data. It organizes, manages and stores data according to the data structure, and provides the functions of adding, deleting, modifying and checking. 2. database things(1) What is a database transactionTreat a group of additions, deletion ... More >>

Android implementation of screenshot function (already adapted to Android 11)

Background of the projectIn order to meet the needs of monitoring user screenshots and displaying the floating feedback portal, we conducted a simple survey on the user screenshot function on the Android side. Since the Android system does not provide APIs related to screen capture notifications, we ... More >>

Front End Frontier

As the Internet continues to grow and become more popular, front-end technologies are evolving to bring a better experience to users. 1.WebAssembly WebAssembly (abbreviated as WASM) is an emerging technology that allows you to run high-performance programming languages such as C++, Rust, etc. ... More >>

Using Netty, understand its connection idle handling

Connection Idle An idle network connection means that the current network connection is idle, i.e., there is no ongoing data transfer or communication activity. When one of our connections is no longer sending requests or receiving responses, that connection begins to be idle. The long ... More >>

Basic knowledge of meta in HTML

When writing a front-end page, the page structure is usually quickly generated by the editor. There is a meta tag in the page header. What does this tag do? In MDN he defines it like this: The <meta> HTML element represents metadata that cannot be represented by other HTML meta-related elemen ... More >>