[Web] Web-API (No.65) Event
Event
Need material click pictures to contact me or private letters, comments
Events: Trigger-response mechanism
The Event interface represents any event that occurs in the DOM, some of which are user-generated (such as mouse or keyboard events), while others are generated by the API.
Three Elemen ...
Posted by lssjg on Tue, 13 Aug 2019 05:20:17 +0200
A way to delay premain code
Original Link: https://mp.weixin.qq.com/s/5jUYjBiXW05_l_n-sp9nog
A lot of premain code, uncontrollable, bombs are always on the line.To make the developer transition more "transparent", there are the following methods.
The ...
Posted by md7dani on Tue, 13 Aug 2019 04:55:59 +0200
Giant Number - Three Operations (+,-,*)
This blog article mainly explains an idea - converting strings to values, then to structures, and reviewing the use of some file operations.
Then, return to the theme:
As far as we know, the maximum positive number that an int variable can represent is more than 2.1 billion. So, if we want to process da ...
Posted by Mantis_61 on Mon, 12 Aug 2019 10:08:20 +0200
Linux Interprocess Communication-Message Queuing
concept
What is a message queue?
Message queues are also called message queues, or mailboxes. It is a communication mechanism of Linux. The data transmitted by this communication mechanism has a certain structure, not a simple byte stream.
The essence of message queue is actually a linked list prov ...
Posted by Pottsy on Sat, 10 Aug 2019 15:57:00 +0200
[Learning Notes - Java Collection - 3] CopyOnWriteArrayList Source Code Analysis
brief introduction
CopyOnWriteArrayList is a thread-safe version of ArrayList. It is also implemented internally through arrays. Every modification to the arrays completely copies a new array to modify, and then replaces the old arrays. This ensures that only blocking write operations, not blocking read operations, and achieves read-write separ ...
Posted by shahryar on Sat, 10 Aug 2019 13:21:53 +0200
Python Learning Notes
Python Learning Notes (6)
Object-Oriented Programming (oop)
II. Basic Use
3. Member modifiers
Fourth, three characteristics of object-oriented
1. Packaging
2. Inheritance
3. Polymorphism
V. Various methods
1. Static method
2. Class Method
3. Attribute Method
4. Magic Method
Object-Oriented P ...
Posted by Grofit on Sat, 10 Aug 2019 13:09:09 +0200
java multi-threaded summary-comparison and introduction of synchronization container and concurrent container
1 Container Set Brief Introduction
There are two main container sets under the java.util package: List and Set under the Collection interface and Map.
The general structure is as follows:
Collection
List
LinkedList
ArrayList
Vector
Stack
Set
HashSet
TreeSet
LinkedSet
Map
Hashtable
Hash ...
Posted by phpete2 on Fri, 09 Aug 2019 04:25:06 +0200
Unmanned OpenCV (F) Lane Recognition
chart
Next to the code section, here we will explain in detail what the HoughLinesP parameter means and how to use it.
lines = cv2.HoughLinesP(cropped_image,2,np.pi/180,100,np.array([]),minLineLength=40,maxLineGap=5)
The first parameter is the picture we want to check
Hough accumulator array
The second and third parameters d ...
Posted by thomasadam83 on Fri, 09 Aug 2019 00:15:51 +0200
[Learning Notes-Java Collection-1] ArrayList Source Analysis
brief introduction
ArrayList is a List implemented as an array, which has the ability to dynamically expand compared to arrays, so it can also be called a dynamic array.
Inheritance System
ArrayList implements List, RandomAccess, Cloneable, java.io.Serializable and other interfaces.
ArrayList implements List and provides basic add, delete, tr ...
Posted by scottfossum on Thu, 08 Aug 2019 18:20:28 +0200
Bluetooth MCU Development Tour: Exploration of Nordic fds File System Source Code
Flash is used in the project, and Nordic has a wealth of tools for operating flash, including fstorage and fds, both of which return real operation results asynchronously, where FDS relies on fstorage and is a simple and easy-to-use file system.
Before using fds, we usually need to initialize it, ...
Posted by zander213 on Thu, 08 Aug 2019 14:21:12 +0200