How to write an application of asp.net as a websocket server
Recently, a problem with WebSockets has plagued me for a long time. One requirement is to set up a websocket service on a web site.The client establishes a connection with the server through a web page, and the server sends information to the client web page based on ip.
In fact, this requirement is not difficult, but at first you don't know mu ...
Added by markmil2002 on Fri, 14 Feb 2020 05:44:02 +0200
K-2 Kubernets Install dashboard Crater Log
After successfully deploying k8s, I intend to redeploy the k8s web UI: dashboard.
The main deployment method on the web is some dashboard services generated by IT using yaml files.Then all the articles are a bit problematic, either because the steps are different, the content or file is out of date, or the author thinks that some content is un ...
Added by BAM1979 on Fri, 14 Feb 2020 04:10:01 +0200
Download elementary and secondary electronic textbooks from people's educational institutions with C#
Yesterday, when I read the news, the lobbyist opened the electronic version of the teaching materials for primary and secondary schools (download address: http://bp.pep.com.cn/jc/ ), just want to download it all for my son to use.But downloading manually is really cumbersome and dull. Just write a crawl to save time.Originally planned to use py ...
Added by Haberdasher on Thu, 13 Feb 2020 21:44:03 +0200
Getting started with python crawler for beginners
Web crawler, it sounds mysterious, but it is also so. In short, as long as the website has open port, users can visit the website, no matter how good the anti climbing mechanism of the website is, as long as your technology is enough, there will always be a chance to crack it.
In other words, it's not t ...
Added by molave on Thu, 13 Feb 2020 12:37:49 +0200
cobbler installs the system using a custom kickstart file
In the above experiment, we did not do any installation configuration, all with the help of Cobbler.However, in practice, we have corresponding requirements for each host's hard disk partition and installed software, so we need to customize the KickStart file by ourselves so that we can customize the mass installation of the operating system.W ...
Added by jini01 on Wed, 12 Feb 2020 20:49:21 +0200
Simple handwritten digit recognition
Personal notes thank you
Handwritten digit recognition
Reference link: https://blog.csdn.net/qq_/article/details/80450741
1. import package
import tensorflow as tf
from tensorflow.examples.tutorials.mnist import input_data
2. Import data set
mnist = input_data.read_data_sets('MNIST_data',one_ho ...
Added by fazzfarrell on Wed, 12 Feb 2020 10:30:25 +0200
Install the Deep Learning Framework Pytorch with Conda
1. Preface
Pytorch is currently a hot framework for in-depth learning.The learning curve is smoother than TensorFlow, so you can train and use the network without writing a lot of template code.Java support has started in the latest version of Pytorch.But installing Pytorch is not easy.Today, let's talk about how to install Pytorch using Conda. ...
Added by abax on Wed, 12 Feb 2020 06:21:53 +0200
Understanding of multiple options of socket
Multiple options for sockets
Specific source code can refer to my GitHub
1. Socket options and I/O buffer size
When we do socket programming, we usually only focus on data communication and ignore the different characteristics of sockets. However, it is also important to understand these features an ...
Added by patelp7 on Tue, 11 Feb 2020 13:02:46 +0200
tensorflow tutorial begins - dataset: get to know tf.data quickly
Reference article: datasets: quick learn
Datasets: quick learn
tf.data
Read memory data from the numpy array.
Read the csv file line by line.
Basic input
Learning how to get array fragments is the easiest way to start learning tf.data.
Premade Estimators
def train_input_fn(features, labels, batch_ ...
Added by herando on Tue, 11 Feb 2020 10:51:25 +0200
Visualization Solution for Three-dimensional Layout of Oilfield System
Recently, I was talking about a project with a company that mainly works on oil field related equipment, such as tanker trucks, pressure trucks, pump trucks, etc.
I have the impression that as long as there are oil-related businesses, they feel close to money,.
Their boss was impressed when he saw our company's three-dimensional products.Surpri ...
Added by arag0rn on Tue, 11 Feb 2020 03:50:29 +0200