IO learning three (decoration flow)
IO stream read / write operation decoration stream
First, brief
2, Bufferedoutputstream & bufferedinputstream
3, Character buffer stream (bufferedwriter & BufferedReader)
4, Conversion stream (outputstreamwriter & inputstreamreader)
5, Dataoutputstream & datainputstream
6, Objectoutpu ...
Posted by bajer on Tue, 25 Feb 2020 07:07:18 -0800
Python Network Request library Requests, mom will never worry about my network Requests again
I. General Situation
Network request may be an important part of every language. In Python, although there is a native network request library such as urllib, some of its APIs are not very friendly to developers. So, the revolution of requests has begun. It not only humanizes the API, but also supports all features of urllib.
Requests supports ...
Posted by SEVIZ on Tue, 25 Feb 2020 02:05:02 -0800
Zero basic entry deep learning: LeNet and AlexNet of image classification task
Course name | zero basic entry-level in-depth learning
Lecturer: Sun Gaofeng, senior R & D Engineer of Baidu deep learning technology platform Department
Teaching time: 20:00-21:00 on Tuesday and Thursday
01 reading guidance
This course is Baidu's official zero basic in-depth learning course. It is mainly for students who have no in-dept ...
Posted by Supplement on Mon, 24 Feb 2020 07:09:05 -0800
Anti war -- wechat applet
Wechat applet
brief introduction
Wechat applet is a new way to connect users and services. It can be easily obtained and spread in wechat, and has an excellent use experience.
Advantages and disadvantages
Advantage
1. It's really convenient for users to use. When they want to use it, they can turn ...
Posted by fireant on Mon, 24 Feb 2020 01:42:47 -0800
Collective intelligent programming - Chapter Five optimization
Group tour
import time
import random
import math
people=[('seymour','BOS'),
('FRANNY','DAL'),
('ZOOEY','CAK'),
('WALT','MIA'),
('buddy','ORD'),
('LES','OMA')]
destination='LGA'
Flight data schedule.txt
Start, end, departure time, arrival time, price
Code optim ...
Posted by kaos057 on Mon, 24 Feb 2020 01:36:29 -0800
HyperLedgr deployment, initializing the network.
start
Check the prerequisites of the platform in order to successfully develop blockchain products.
Installation prerequisites, click the link: Precondition.
For more details, click: more details.
List of prerequisites
The latest version of git
The latest version of curl
Any version of wget
Docker and docker composedocker --version re ...
Posted by VagabondKites on Sun, 23 Feb 2020 23:52:41 -0800
Authorization authentication (identity server 4)
Difference
OpenId: Authentication: authenticationOAuth: aurarize: authorization
Enter the account password, and QQ confirms that the correct account password can be used for login -- > authentication
The following check boxes need to be checked (get nickname, avatar, gender) -- > authorization
OpenID
When you need to visit website A, w ...
Posted by Daisatske on Sun, 23 Feb 2020 22:56:24 -0800
RocketMQ Transaction Message Details for Distributed Transactions
Zhang Shenyaohttps://blog.csdn.net/weixin_34452850/article/details/88851419
Transaction messages are a very important feature provided by RocketMQ. They are open source after version 4.x and can be used to easily implement distributed transactions.This article gives a detailed description of the transaction messages for RocketMQ and gives a c ...
Posted by fael097 on Sun, 23 Feb 2020 18:55:37 -0800
Turn your Archlinux into a router
I got back an industrial control board with J2900 double Gigabit ports (odd model) for soft routing, but I wanted to use all kinds of skins, install a desktop environment with VNC, and I didn't have a cold on the virtual machine (and this U doesn't support through yet), so I had to give up all the router systems.As an Arch iron powder, in purs ...
Posted by vikaspa on Sun, 23 Feb 2020 08:31:13 -0800
A global unique id algorithm of 1 million generated per second by self-study
background
The System tps is 3000, distributed deployment is adopted, and the business order number needs to be globally unique, such as order number. There are many common distributed global id schemes on the Internet, including the following:
UUID
redis atomic self increasing
zookeeper node directo ...
Posted by Bleej on Sun, 23 Feb 2020 02:06:09 -0800