18hook function and CAM visualization
1, The concept of Hook function
1.1 reasons for hook introduction
The operation mechanism of Python is dynamic calculation graph. After the operation of dynamic graph, some intermediate variables (such as the gradient of feature map and non leaf node) will be released, but sometimes we need to obtai ...
Posted by ThunderVike on Thu, 06 Feb 2020 07:01:40 +0100
Java nionionio non blocking network communication
1. Blocking and non blocking
Traditional IO flows are blocking. That is, when a thread calls read() or write(), the thread is blocked until some data is read or written, and the thread cannot perform other tasks during this period. Therefore, when the network communication is completed for IO operat ...
Posted by reyes99 on Thu, 06 Feb 2020 06:05:39 +0100
23, Malicious request recognition based on machine learning and machine learning in security field
This is the author's series of online security self-study course, mainly about the online notes of online security tools and practical operations. I'd like to share it with you and make progress together. The previous article shared the first step of Web penetra ...
Posted by lrsdsout on Wed, 05 Feb 2020 15:07:46 +0100
YUM warehouse online simple installation single node K8S (pure combat)
Simple online installation of single node K8S using YUM warehouse
Experimental environment:
Using system: CentOS 7.4
Name
role
IP address
centos7-min2
master
192.168.142.220
centos7-4
node
192.168.142.136
Experimental steps:
1, Configuration step directory
master configuration
node configuration
Test results
2, master configuration ...
Posted by Carlo Gambino on Tue, 04 Feb 2020 18:33:54 +0100
Installation of Flannel network plug-in of K8S
1, The role of flannel
1. The main function of CNI network plug-in is to realize POD resources can be trusted across hosts
#test-nodes1 host cannot ping the pod container of test-nodes2 host
[root@test-nodes1 ~]# kubectl get pods -o wide
NAME READY STATUS RESTARTS AGE IP NODE NOMINATED NOD ...
Posted by tlenker09 on Tue, 04 Feb 2020 17:54:28 +0100
Input stream output stream and file
Overview of IO
- what is IO (input, output)
- what is a set of orderly data sets with start and end points, such as file flow, network flow, etc
- difference from file: file is a static data presentation, and flow is a dynamic concept
The operation of data in Java is carried out in the way of flow. The ...
Posted by sergeidave on Tue, 04 Feb 2020 14:54:33 +0100
Glide source code analysis
Article directory
.into(*)
1,Target
2,Request
3,track()
3.1 life cycle
3.2 requestTracker.runRequest(Request)
4,DecodeJob.run()
5,ModelLoader
6,HttpUrlFetcher
7, cache
8. Load picture
summary
Final personal summary
.into(*)
This method is very complex, you have to look at the source code sev ...
Posted by brenda on Tue, 04 Feb 2020 11:04:54 +0100
Vue+mavonEditor+spring Boot image upload and echo
1. Preface
Recently, we are using vue and springboot to develop a project, which has a function of using markdown editor to write articles. In it, images will be uploaded. At the beginning, the images can't be displayed. However, by looking at all kinds of data, we have finally made it. Now I'll talk ...
Posted by fordiman on Fri, 31 Jan 2020 06:15:04 +0100
Infinite dimensional array C + + template class implementation, source sharing
This is an infinite dimensional array template of any object, which can realize multiple functions and do many things. The explicit dynamic construction or analysis of the generic instantiated object has a micro memory recycling method that can be used to efficiently multi-dimensional operations, such a ...
Posted by mmcb on Thu, 30 Jan 2020 16:58:58 +0100
On the self-cultivation of a reptile
##On the self-cultivation of a reptile 2
(the first example uses Python to download a cat, and the second example uses Python to simulate the browser's text translation through online Daoist translation.)
##Download a cat in Python
http://placekitten.com/ , this website is a customized site for M ...
Posted by OzRedBoy on Thu, 30 Jan 2020 06:51:01 +0100