Shortest path problem [SSL 1613]
subject
Description
There are n points (n < = 100) in the plane, and the coordinates of each point are between - 10000 and 10000. There is a line between some of these points. If there is a line, it means that there is a path from one point to another, that is, there is a path between two points, and the distanc ...
Added by nathus on Mon, 04 May 2020 15:15:57 +0300
Build LVS-DR load balancing cluster and maintained LVS high availability load balancing cluster
18.11 LVS DR mode construction
preparation
Three machines have public IP.
Scheduler (director) IP: 192.168.230.135
real server1(real1) IP: 192.168.230.130
real server2(real2) IP: 192.168.230.145
VIP: 192.168.230.200
Start building
Configure director
[root@cham002 ~]# vim /usr/local/sbin/lvs_dr.sh
#! /bin/bash
echo 1 > /proc/s ...
Added by buddysal on Mon, 04 May 2020 07:27:43 +0300
Using keras to build CNN network to identify CIFAR10
brief introduction
On the previous blog: Introduction to CNN network in the introduction series of data mining (11.5) In this blog, we will use code to explain how to use keras to build a CNN network to train CIFAR-10 dataset.
If you are not familiar with keras, you can take a look Official documents . Or take a look at my previous blog: Int ...
Added by mjohnson025 on Mon, 04 May 2020 06:47:25 +0300
Using WebSocket under Tomcat
Environmental Science
tomcat 9
JDK8
web project with framework
Use
Jar package selection
Because the packages used in the online tutorials are many and miscellaneous, the average person may not see how to use them. In fact, the choice is very simple
J2EE: Java EE API with J2EE
Others: javax.websocket
tomcat: built in websocket API
...
Added by mbh23 on Sun, 03 May 2020 09:57:12 +0300
Android basic web communication
1, History of development
1G analog mobile phone, voice only2G digital mobile phone, adding functions such as receiving data3G smart phone has become a new generation of mobile communication system that integrates voice communication and multimedia communication, and includes value-added services such as image, music, web browsing, conference ...
Added by tonbah on Sat, 02 May 2020 19:11:32 +0300
Linux learning notes - supplemental
1.find command
Command format:
find directory condition value
1.find -name
find /etc/ -name passwd ##Find the file named passwd under / etc
2.find -user -group -a -o -not
find /mnt -group root
find /mnt -user westos
find /mnt -group root -user student ##and
find /mnt -group root -a -user student ##Both c ...
Added by GaryC on Fri, 01 May 2020 11:04:56 +0300
Recommend a better HTTP(S) proxy server than fiddlecore
Original text:
Recommend a better HTTP(S) proxy server than fiddlecore
Why not Fiddler core?
When it comes to Fiddler core, you may not be familiar with it, so its brother Fiddler is familiar with it. I usually use it to grab packets, simulate low bandwidth, and modify requests. Fiddler is essentially an HTTP proxy server. FiddlerCore is ...
Added by Valdhor on Tue, 28 Apr 2020 12:22:48 +0300
LeetCode 33. Search rotation sort array
My LeetCode: https://leetcode-cn.com/u/ituring/
My LeetCode source code [GitHub]: https://github.com/izhoujie/Algorithmcii
LeetCode 33. Search rotation sort array
subject
Let's say that the array sorted in ascending order is rotated at a pre-known point.
(for example, the array [0,1,2,4,5,6,7] may change to [4,5,6,7,0,1,2]).
Search a given ta ...
Added by Miker on Tue, 28 Apr 2020 08:50:43 +0300
Word vector representation: word2vec and word embedding
In NLP tasks, the training data is usually one sentence (Chinese or English), and each step of input sequence data is one letter. We need to preprocess the data: first use the unique heat code for these letters, and then input it into RNN. For example, the letter a represents (1, 0, 0, 0,...) , 0), the letter b is (0, 1, 0, 0 , 0). If only the ...
Added by Garth Farley on Sun, 26 Apr 2020 07:51:24 +0300
Docker consult container service update and discovery
Docker consult container service update and discoveryContainer service update and discovery topologyThe nginx proxy service is deployed on the consumer server. The Registrar detects the service in the docker container and adds the registration to the consumer. The consumer template is registered and written into the created template according ...
Added by thomashw on Fri, 24 Apr 2020 14:54:25 +0300