OpenGL (QT platform) learning and Practice

Coordinate system The process of converting coordinates to standardized equipment coordinates and then to screen coordinates is usually carried out step by step, which is similar to the pipeline. In the pipeline, the vertices of the object will be transformed into multiple coordinate systems before they are finally transformed into screen coor ...

Posted by liquidchild_au on Tue, 19 Oct 2021 23:29:02 -0700

Docker learning notes - Basics

Docker Docker architecture Conceptual analysis of Docker Run steps of Docker Why is Docker faster than virtual machines docker has fewer abstraction layers than virtual machines docker uses the kernel of the host to avoid booting. Install Docker Installation requirements To install Docker Engine, you need a maintaine ...

Posted by jaslife on Tue, 19 Oct 2021 20:38:45 -0700

A brief summary of linux kernel source git operations

An old colleague wanted to quickly check the different versions of the kernel source and asked me if there was any way, of course. Most people who play linux should know that kernel/git/stable/linux.git - Linux kernel stable tree You can find and download the linux kernel source. However, there are many original versions of the kernel source co ...

Posted by kristianblom on Tue, 19 Oct 2021 09:12:41 -0700

Configure logrotate of rolling log under Linux

Log is a good thing to locate historical problems, but there are too many records, do not scroll, and do not remove the old total disk burst. If the logs are output by the log framework, such as Log4j or Logback, you can scroll the logs and delete the old archived log files by selecting an Appender with scrolling feature. However, there are log ...

Posted by backie on Mon, 18 Oct 2021 17:47:41 -0700

Android processes and threads (understand > use > common interview questions)

🔥 concept 💥 process The basic unit of program operation. The basic unit of system resource allocation and scheduling. Has its own independent address space. Multiple processes can execute concurrently. Thread container 💥 thread The smallest unit of program execution. The basic unit of CPU scheduling and dispatch. There is ...

Posted by pinacoladaxb on Mon, 18 Oct 2021 14:59:13 -0700

Solve the problem of creating too many threads for Go file operation

Solve the problem of creating too many threads for Go file operation github code repository A remote file performance test service implemented using Go. It is used to record the tuning process and solve the problem of too many threads created by Go processing blocked file IO. 1. Configuration There is a config.json configuration file on the ...

Posted by sarabjit on Mon, 18 Oct 2021 11:34:54 -0700

location Matching for Nginx &&rewrite

1. Common Nginx regular expressions It's also mentioned in the blog before the rule, and it's important to mention it here. ^ : Matches the starting position of the input string $ : Match end position of input string * : Match the previous character zero or more times. Such as " ol*"Can match " o"And " ol","oll" + : Match t ...

Posted by pngtest on Mon, 18 Oct 2021 09:21:42 -0700

[i.MX6ULL] Drive Development 6 - Light up LED with Pinctrl and GPIO subsystems

The previous two articles (Register Configuration Lighting LED and Device Tree Lighting LED) are essentially register configurations to control the lighting of LEDs. The direct operation of registers is to write the register information related to the LED directly into the driver code of the LED, which is also a more general control method. Ho ...

Posted by niekos on Mon, 18 Oct 2021 09:15:20 -0700

04 kubernetes core concept

Chapter 11 Kubernetes core concepts After the basic deployment in the previous chapter, the components of Kubernetes are not fully understood, especially the characteristics and location of each component are not very clear. Therefore, this chapter will explain the core concepts of each component in detail. 11.1 Kubernetes object Service ...

Posted by gere06 on Sun, 17 Oct 2021 22:40:51 -0700

Linux network programming learning notes

1. bzero() function: zero the first n bytes of the specified string s. #include <string.h> void bzero(void *s, int n); 2. memset() function: replace the memory unit of the first n bytes pointed to by the pointer variable s with an "integer" c, and directly operate the memory space. It is commonly used for memory initializatio ...

Posted by Anthony1312002 on Sun, 17 Oct 2021 10:05:18 -0700