Routing events, mouse and keyboard input
Routing events
Routing events use one of the following three routing strategies:
Buoyancy (bubbling): Call the event handler on the event source. Routing events are then routed to subsequent parent elements until they reach the root of the element tree. Most routing events use a floating routing strategy. Floating route events a ...
Posted by theda on Fri, 03 Dec 2021 19:16:36 -0800
ESP8266_ RTOS_ linux environment construction of SDK (3.0)
preface
Recently, I bought a month's standard example on Tencent cloud Internet of things platform and sent an ESP-12S development board to start the systematic learning of ESP8266. Therefore, I have reinstalled ubuntu several times. After thinking about it, I'd better record the ESP8266_ RTOS_ SDK_ The linux environment of V3.0 is built step ...
Posted by premiso on Fri, 03 Dec 2021 19:03:17 -0800
Implementation of four file configuration methods in Golang
explainIn the actual development process, we are bound to use MySQL, Redis and other services. In order to realize the configuration of the system, we will put some configuration information in some files separately, and read the configuration file directly where we use it.There are many common file configuration methods, such as json, tomal, y ...
Posted by wildwobby on Fri, 03 Dec 2021 18:58:33 -0800
LeetCode kickoff week 269
Weekly portal
The ranking is 131. It has been quite stable recently~
2089. Find the target subscript after array sorting
Idea: traversal, counting
Time complexity:
O
(
n
)
\mathcal{O}(n)
O ...
Posted by ThermalSloth on Fri, 03 Dec 2021 18:56:01 -0800
Explore what the browser will do when js operates dom style through performance?
Browser's optimization strategy for reflow (rearrangement) and redraw
If you only read the "sensitive" attribute and do not change the geometry of the node, only style calculation will be performed during js execution, and the layout will not be forced.
testing environment
Chrome version 96.0.4664.45 (official version) (64 bit)
...
Posted by Omzy on Fri, 03 Dec 2021 18:44:16 -0800
Xuanxuan Linux learning notes - process scheduling
Reference materials: Bird brother's Linux private dishes: Basic Edition, Liu Chao's interesting talk about Linux operating system, UNIX/Linux system management technical manual, 4th Edition, in-depth understanding of Linux kernel, 3rd Edition, advanced programming in UNIX environment, 3rd Edition, Linux kernel source code scenario analys ...
Posted by bgoulette612 on Fri, 03 Dec 2021 18:44:53 -0800
Concurrent programming process
First of all, what do we need to know about the process?
Narrow sense: a process is an ongoing program
Generalized: it is the basic unit of operating system allocation
Program: it is an inanimate entity waiting for the processor to give life. Once the program has life, it becomes a process.
Differences between procedures and processes: ...
Posted by lowspeed on Fri, 03 Dec 2021 18:42:24 -0800
P1352 SSL 1607 party without boss (chain forward star)
Title Description:
Title portal
Problem solving ideas:
According to the meaning of the question, this question is to select several points on a tree to maximize the point weight, in which the selected points meet two conditions:
If the parent node is selected, the child node cannot be selectedIf a child node is selected, the parent node c ...
Posted by kir10s on Fri, 03 Dec 2021 18:38:00 -0800
CV--Swin TransFromer, you should change the Backbone again
previously on
Hello everyone, VIsion Transformer has reached its sixth day. With the passage of time, the difficulty is getting greater and greater. I believe you have learned from ResNet, ViT Transformer and Diet. Today, you have learned the best ICCV paper Swin Transformer in 2021. Swin Transformer directly killed the list on major pound li ...
Posted by mlavwilson on Fri, 03 Dec 2021 18:22:11 -0800
react source code analysis 13.hooks source code
react source code analysis 13.hooks source code
Video Explanation (efficient learning): Enter learning
Previous articles:
1. Introduction and interview questions
2. Design concept of react
3.react source code architecture
4. Source directory structure and debugging
5. JSX & Core api
6.legacy and concurrent mode entry functions
7.Fiber archi ...
Posted by amitkrathi on Fri, 03 Dec 2021 18:16:35 -0800