MapReduce implements wordcount statistics
Inherit Mapper's generics
public class WCMapper extends Mapper<LongWritable, Text, Text, LongWritable>
Longwritable - > start offset
Text - > entered text
Text - > output text
Longwritable - > count
Of the four generics, the first two are the type of specified mapper input data, the key is the type of input key, ...
Posted by Okami on Thu, 05 Mar 2020 21:21:55 -0800
AI: Deep learning for text processing
In another article published with this article, BlueDot, a company that uses artificial intelligence to protect people around the world from infectious diseases, warns one week in advance before the epidemic has received strong attention. How valuable is a week's time!
Their AI early warning system uses in-depth learning to process text. This s ...
Posted by robvan75 on Thu, 05 Mar 2020 09:50:19 -0800
C Programming single thread IP address resolution
Single thread IP address resolution
Article directory
Single thread IP address resolution
Target program
Implementation ideas
Implementation process
Try the process in the console
Design WPF interface
Background code
Knowledge required
IP address
port
The class of IP address translation in C ා
...
Posted by mburkwit on Thu, 05 Mar 2020 04:59:53 -0800
wifi status monitoring in Android devices
I. objectives
The APP monitors the status information of wifi connected to Android devices (mobile phones, TV or other devices) and uploads it to the server regularly to analyze the status and signal strength of wifi in the environment where the devices are located at a specific time point.
2, Use s ...
Posted by Isomerizer on Thu, 05 Mar 2020 03:44:14 -0800
Why can docker containers communicate with each other? Why can the container access the Internet?
In the previous section, we talked about the network namespace of linux, created the veth, and then made the network of the two network namespaces interoperate. After the docker creates the container, it will be found that the external network can be accessed in the container, and the network between th ...
Posted by moise on Thu, 05 Mar 2020 00:39:49 -0800
Using virtual nodes to create 10000 Pod in kubernetes cluster to support online education business
Using virtual nodes to improve k8s cluster capacity and flexibility
The way of adding virtual nodes in kubernetes cluster has been widely used by many customers. Based on virtual nodes, the Pod capacity and flexibility of the cluster can be greatly improved, and ECI Pod can be created flexibly and dynamically on demand, avoiding the trouble ...
Posted by Michdd on Wed, 04 Mar 2020 23:43:50 -0800
Using spring MVC to upload files
Original address: http://www.yiidian.com/springmvc/file-upload.html
File upload is a common requirement in the presentation layer. In Spring MVC, the common file upload tool of Apache is used to complete file upload and encapsulate it, making it more convenient for developers to use. Let's see how to develop it?
1 import common file upload pack ...
Posted by enoyhs on Wed, 04 Mar 2020 05:04:44 -0800
open virtual private network
Service concept:
Virtual private network, in fact, is to open up a virtual private line in the network
Application classification:
1. Host remote access * * * service
2. Services between enterprise networks
3. Services between IDC rooms of Internet companies
Transmission data protocol mode:
Establishmen ...
Posted by derezzz on Wed, 04 Mar 2020 04:20:08 -0800
Non blocking connect
In the socket blocking mode, the connect function will not return until there is a clear result (or the connection succeeds or the connection fails). If the server address is "far away" and the connection speed is slow, the connect function may cause the program to block in the connect process ...
Posted by romic on Tue, 03 Mar 2020 23:43:35 -0800
Front end learning - carousel chart case
Article directory
Preface
Import jQuery function library
Rotation chart
requirement analysis
Realization
css
html
Development process
html framework development
Style development
Dynamic page generation
summary
Preface
Last article: Front end learning (3) - jQuery function library
The last ...
Posted by skissiks on Tue, 03 Mar 2020 20:58:21 -0800