STM8 Learning Notes--Simple Porting of Modbus Communication Protocol
Modbus is a serial communication protocol and is widely used in industry.There is a lot of information about Modbus on the Internet, let's not go into details here.When I first came into contact, I looked at Modbus's introduction, just a few hundred pages of protocol introduction, as well as various ...
Posted by delorian on Fri, 12 Jun 2020 19:02:08 -0700
On the sum of three numbers
Problem solving
subject
thinking
code
Code with two pointers to the left and right (last example timed out)
Code calling "sum of two" (failed)
subject
thinking
When I first saw this problem, I still had the solution of "sum of two numbers" in my mind. And according to th ...
Posted by dstantdog3 on Thu, 11 Jun 2020 22:09:23 -0700
Note: Chapter 9 of High Performance Python
This chapter is about parallel computing, accounting for more than 60 pages. After reading it, we have to straighten out and digest this big lump of things.
1. Using Monte Carlo simulation to estimate pi.
The logic is simple: put the needle in the unit square of the coordinate system, calculate the proportion of the needle falling in the 1 / 4 ...
Posted by dunnsearch on Thu, 11 Jun 2020 20:43:15 -0700
[Deep thinking] How should date types be used in JDK8?
Prior to JDK8, we used three main classes for processing date and time, Date, SimpleDateFormat, and Calendar.
These three classes have some problems when they are used more or less, such as SimpleDateFormat is not thread safe.
For example, the months Date and Calendar get are from 0 to 11, not from 1 to ...
Posted by webpals on Thu, 11 Jun 2020 18:59:37 -0700
Technology sharing | review MySQL's MTS
Author: Hong bin
The person in charge and technical service director of akerson South District, MySQL ace, is good at database architecture planning, fault diagnosis, performance optimization analysis, with rich practical experience, helping customers in various industries to solve MySQL technical problems, and providing overall MySQL solutio ...
Posted by rurouni on Thu, 11 Jun 2020 01:26:48 -0700
A seemingly usable binary serialization help class
This is only a helper method help class, which can help small partners to write binary serialization efficiency. The code is also in the past
Before I start, I need to say that if it's not necessary, don't use binary serialization. Because it's hard to achieve version compatibility, if you write w ...
Posted by void_function on Thu, 11 Jun 2020 01:15:48 -0700
What does jquery do--Lebyte Front End
JQuery
primary coverage
Jquery Object
JQuery is a set of multi-browser compatible javascript script libraries. The core idea is to write less and do more. Using jQuery will greatly improve the efficiency of writing javascript code, help developers save a lot of work, and make the code more elegant and robust, "like a tiger with wings.&qu ...
Posted by Bennettman on Wed, 10 Jun 2020 10:13:04 -0700
BFTRP algorithm
1, Let's start with a question
Looking for the k-th small value in a disordered array?
Many people use big top heap as the first solution, and then poll k is the answer, but the time complexity is O (nlogn). Is there an O (n) algorithm? The answer is yes, our BFTRP algorithm
2, Bedding
Here we ne ...
Posted by Mistat2000 on Mon, 08 Jun 2020 22:22:38 -0700
Minimalist tutorial on basic knowledge of field programmer
Bowen catalog
Write before
text
FIFO in GA/ASIC
Design of synchronous FIFO
Reference material
Make a friend
Write before
Personal Blog Home Page
Note: Learn to communicate!
text
FIFO in GA/ASIC
How FIFO buffers are used to transfer data and across clock domains
The abbreviation FIFO s ...
Posted by moty66 on Sun, 07 Jun 2020 18:50:08 -0700
Database security and transaction operation
Database security and transaction operation
Article catalog
Database security and transaction operation
1, Purpose and requirements
2, Experiment content
1. Design the security mechanism so that the user Wang Ming can only find the staff of the financial department
2 design a role_Emp ", this ...
Posted by bbbaldie on Sun, 07 Jun 2020 03:19:54 -0700