Java Network Programming
Use of the Internet Access class
1. Overview
Computer network:
Interconnect computers distributed in different geographic areas with specialized external equipment using communication lines to form a large-scale and powerful network system, so that many computers can easily transfer information to each other and share hardware, softwar ...
Posted by j7n5u on Mon, 04 May 2020 23:00:20 -0700
Convolution kernel weight of self defined neural network in Python
1. Convolution kernel weight of self defined neural network
Neural network is deeply loved by deep learners. One of the reasons is the convenience of neural network. Users only need to build neural network framework like building blocks according to their own needs. In the process of building, we only need to consider the size of convolution co ...
Posted by geoffism on Mon, 04 May 2020 22:12:44 -0700
Python script implementation source installation python2/3
1. Why python is selected for scripting:
python has a large number of third-party libraries, which is very convenient to call
python language is simple and clear
Think about it: the comparison shows why large-scale enterprises prefer python to shell
The syntax of shell implementation is too cumbersome and the amount of code is large
...
Posted by exa_bit on Mon, 04 May 2020 19:29:47 -0700
ZigBee Module Protocol Stack-Z-Stack Protocol Stack Foundation and Data Transfer Experiments
It took a long time to write.. It feels good.. If you look, look closely.. Mua~
Z-Stack Protocol Stack Base and Data Transfer Experiments
1. Experimental Purpose
End nodes send data wirelessly to the coordinator, which sends data to the PC through a serial port and displays it on the screen.Serial port optimization changes wired serial port ...
Posted by pgsjoe on Mon, 04 May 2020 17:09:56 -0700
Summary of OkHttp source code interpretation (VIII) -- > BridgeInterceptor
Summary of OkHttp source code interpretation (VIII) - > bridgeinterceptor
Tags (space separated): learning notes of OkHttp source code
Preface
The following summary of relevant knowledge is based on the relevant learning and opinions of mooc.com. If you need to check the relevant teaching of mooc.com, you can st ...
Posted by bobthebuilder on Mon, 04 May 2020 08:25:20 -0700
New performance exchange partitions of MySQL 5.6
Note: the content of the article originated from the network and was obtained through our own experiment; however, the reference article address was not recorded at that time. If you find any infringement problem, please leave a message.
~~When the partition is MySQL version 5.1, support for partition has been added.The process of partitionin ...
Posted by scorphus on Mon, 04 May 2020 04:56:13 -0700
Python orchestration & asyncio & asynchronous programming
Python orchestration & asyncio & asynchronous programming
1. Cooperation
The coroutine is a kind of micro thread, and it is a kind of context switching technology of user state. Through a thread, code blocks can be switched to each other for execution
There are several ways to implement a collaboration:
greenlet, early modules
yield ke ...
Posted by Lateuk on Mon, 04 May 2020 04:42:37 -0700
Two ways of analyzing Json data by Gson
0x00 foreword
At present, there are many interfaces in the form of Json on the network. Gson is Google's open-source Json parsing library, which can easily convert Java objects into Json strings, and also can easily convert Json strings into Java objects.
0x01 two ways to parse Json string
Suppose that the string we want to parse is the ...
Posted by ronthu on Mon, 04 May 2020 04:42:15 -0700
Common commands for troubleshooting online problems
Memory bottleneck
free
free is to view memory usage, including physical memory, swap memory, and kernel buffer memory.
Free-h-s 3 represents the output of memory every three seconds with the following commands
[1014154@cc69dd4c5-4tdb5 ~]$ free
total used free shared buff/cache available
Mem: 119623656 ...
Posted by jdavidbakr on Mon, 04 May 2020 01:08:35 -0700
Play with Java thread pool: how to build a thread pool?
0 core problem of creating thread pool
According to one of Alibaba's Java development specifications,
This rule points out that when we want to use the thread pool, we'd better not be lazy. We'd better create the thread pool by ourselves manually. Then the problem is, how to create the thread pool man ...
Posted by jemgames on Mon, 04 May 2020 00:03:31 -0700