Chapter 11 of csapp: network io md
1. Network architecture
You need to understand the basic client server programming model and how to write client server programs that use services provided by the Internet. Finally, combine all the concepts to develop a small but full-featured web server. Nowadays, network applications can be seen everywhere. Interestingly, all network applica ...
Posted by rotto on Fri, 25 Feb 2022 13:39:23 +0100
10 commonly used algorithms (8 ~ 10)
10 commonly used algorithms (8 ~ 10)
1, Dijkstra algorithm
Application scenario - shortest path problem
[the external chain image transfer fails. The source station may have an anti-theft chain mechanism. It is recommended to save the image and upload it directly (img-g8rjj2vk-1645791772844) (C: \ users \ Luo'xin \ appdata \ roaming \ typora ...
Posted by skorp on Fri, 25 Feb 2022 13:29:37 +0100
Detailed explanation of Assert in unit test - xUnit
Previous: Detailed unit test - xUnit
brief introduction
Assert evaluates the test results based on the return value of the code, the final state of the object, whether the event occurs, etc. The result of assert may be Pass or Fail. If all assets Pass, the whole test passes. If any assets fails, the result fails.
How many assets should the ...
Posted by sysop on Fri, 25 Feb 2022 13:18:44 +0100
After using Stream, the code becomes uglier and uglier?
Java8 stream stream, combined with lambda expression, can make the code shorter and more beautiful, which has been widely used. We also have more choices when writing some complex code.
The code is first shown to people and then executed by machines. Whether the code is written concisely and beautifully is of great significance for subsequent ...
Posted by visionmaster on Fri, 25 Feb 2022 13:12:14 +0100
SOLOV2 training and teaching
Github: https://github.com/WXinlong/SOLO My operating system is Ubuntu 18 04. This paper will be divided into the following parts:
Create datasetModify configmodel trainingVisual Mask resultsModel evaluationInference predictionReasoning optimization
First, install some basic libraries. Please refer to the official installation instructions
$ ...
Posted by gillypogi on Fri, 25 Feb 2022 13:06:47 +0100
[ACNOI2022] the only thing to do
subject
Topic background Write for two consecutive days
LCT
+
ddp
\texttt{LCT}+\texttt{ddp}
LCT+ddp, I still feel it when I look at it today
d
d
...
Posted by oocuz on Fri, 25 Feb 2022 12:58:07 +0100
Two routing modes of vue
Two routing modes of vue The two routing modes of vue are hash and history respectively.
Why in the development environment, when using the history mode, the refresh does not report an error, but when packaged into a static file and online, open the blank page of the project (most of this can be solved in the configuration file configuration: ...
Posted by mdub2112 on Fri, 25 Feb 2022 12:53:50 +0100
Common mysql statement commands and multi table operations
Database: add, delete, modify and query commands for databases and tables
Connect to mysql To connect to the MySQL server: mysql -u root -p (Note: my user name is root), and then enter the password to connect again
show database
show databases;
Create a database and set the encoding format to utf8
create database if not exists Library nam ...
Posted by maniac1aw on Fri, 25 Feb 2022 12:50:00 +0100
Common web security issues
Xss attackXSS (cross site scripting) cross site scripting attack is abbreviated XSS in order to distinguish it from css. XSS is a kind of injection attack. The attacker injects code into the website of the attacker. Once the user visits the web page, he will execute the injected malicious script.XSS principlePersonally, xss attacks mainly occur ...
Posted by moola on Fri, 25 Feb 2022 12:43:41 +0100
DataBinding data binding layout and binding expression in Android Jetpack
Layout and binding expressions
With the help of the expression language, you can write expressions to handle the events assigned by the view. The data binding library automatically generates the classes needed to bind the views in the layout to your data objects.
The data binding layout file is slightly different, starting with the root ...
Posted by rationalrabbit on Fri, 25 Feb 2022 12:32:24 +0100