Flow protocol and packet sticking
Client sends fixed length package code
Echo client / server
Flow protocol and packet sticking
TCP is a transport service based on byte stream. It has no boundary and can not guar ...
Posted by dethron on Tue, 25 Feb 2020 23:16:25 -0800
13.5 dynamic memory management class
The best way to manage dynamic memory in a class is to use containers or smart pointers, but maybe if we want to design a set of libraries ourselves, we need to keep the performance of this library at a better level. At this time, we may need to use some lower leve ...
Posted by maxudaskin on Tue, 25 Feb 2020 22:52:03 -0800
Scope of bean
The annotation Scope of spring Component has several common scenarios, such as singleton, prototype, request, session and global session. This annotation can be used with @ Component and @ Bean. In particular, Scope annotation can be divided into ConfigurableBeanFactory and WebApplicatio ...
Posted by olsrey on Tue, 25 Feb 2020 22:50:08 -0800
1. Pandas for text data processing
1) Pandas is equipped with a set of methods for strings, which makes it easy to operate on each element of the array;
2) Access through str and automatically exclude missing / NA values,
3) For example, the method of. str.contains() in membership judgment was mention ...
Posted by MilesStandish on Tue, 25 Feb 2020 22:41:25 -0800
Blog Outline:1, MQ introduction2, What is RabbitMQ?3, Installing RabbitMQ4, Deploy Rabbitmq cluster1) Deployment environment2) Install rabbitmq service3) Configure the host file and add the above two nodes to the cluster4) rabbitmq01 configure the cluster and add rabbitmq02 and 03 to the 01 cluster5) Accessing the web interface6) Add vhost to ...
Posted by brij_theinvader on Tue, 25 Feb 2020 22:24:35 -0800
For the package from C language to C + +, the format control of output stream is a headache. Is the string format control of printf not good? Indeed, many C + + open-source libraries have implemented the format control of printf. Function signature is similar to format (const STD:: String & ...
Posted by Markto on Tue, 25 Feb 2020 21:29:25 -0800
Basic knowledge summary:
API detailed explanation:
1. Affine transformation and perspective transformation
2. The definition of image coordinate system, camera coordinate system and world coordinate system, and the transformation relationship a ...
Posted by freeak08 on Tue, 25 Feb 2020 21:14:30 -0800
1, Install plug-ins for vscode and cc + +
2, Install and configure MinGW-w64
1. Download and install
Download MinGW-w64 After downloading, install. During installation, you can customize or default the installation directory. Options to be set during installation:
Version: GCC version, select the ...
Posted by overlordhu on Tue, 25 Feb 2020 21:12:39 -0800
1, Pages of newspaper
Planet X is the same as our earth's City Morning Post,
It's just a bunch of individual pieces of paper. Each paper is printed with 4 editions.
For example, a newspaper contains four pages: 5, 6, 11, 12,
You can be sure that it should be the top 2 newspaper.
We found a newspaper o ...
Posted by AnarKy on Tue, 25 Feb 2020 20:34:50 -0800
In computational geometry, we often need to find the extreme point of a 2D Polygon. For example, through the extreme point of x\y, we can define the bounding box of a polygon. More generally, we may need to find the extreme point of a polygon in any direction. For the point set of n points, ...
Posted by seanpaulcail on Tue, 25 Feb 2020 20:25:22 -0800