Formal Learning linux-16

1. E-mail system Mail User Agent (MUA): A server that receives and receives mail for users; Mail Delivery Agent (MDA): Mail can be saved for users when they are offline; Mail Transfer Agent (MTA): Forward and process messages between different e-mail service providers. In deploying an e-mail system, the outgoing service is based on the post ...

Posted by shure2 on Fri, 27 Mar 2020 19:59:31 -0700

Python 3 standard library: zlib GNUzlib compression

1. zlib GNUzlib compression Zlib module provides the underlying interface for many functions in the zlib compression library of GNU Project. 1.1 processing data in memory The simplest way to use zlib requires that all data to be compressed or decompressed be stored in memory. import zlib import binascii original_data = b'This is the original ...

Posted by zippers24 on Fri, 27 Mar 2020 10:20:54 -0700

PyTorch distributed training course

Thank you for your reference- http://bjbsair.com/2020-03-27/tech-info/7154/ The simplest way to accelerate the training of neural network is to use GPU. The speed of GPU in the normal operation (matrix multiplication and addition) of neural network is twice faster than that of CPU. As models or datasets grow larger, a GPU will soon become inad ...

Posted by toms on Fri, 27 Mar 2020 03:51:32 -0700

Machine learning Chapter 4 training model

Reference: author's Jupyter NotebookChapter 2 – End-to-end Machine Learning project Generate picture and savefrom __future__ import division, print_function, unicode_literals import numpy as np import matplotlib as mpl import matplotlib.pyplot as plt import os np.random.seed(42) mpl.rc('axes', labelsize=14) mpl.rc('xtick', labelsize=12) mpl.r ...

Posted by Scriptor on Fri, 27 Mar 2020 03:26:21 -0700

Introduction and use of ZeroMQ

What I wrote last time Introduction and use of ZeroMQ (1) Pipeline pattern PipeLine mode is used for task allocation, usually in multi-level PipeLine, one or several nodes push the work to many workers, and then push the results to one or several collectors in turn. This pattern is reliable in most cases, because it does not drop messages un ...

Posted by |Adam| on Thu, 26 Mar 2020 02:15:09 -0700

Wechat service number silent authorization calling procedure record

Wechat silent authorization process related problem process record Related tools Intranet penetration tool Peanut hull There is free 1G traffic per month, but I need to hold my ID card to take photos and upload. It's too troublesome to use. natapp Easy to use, you need to scan the real name with Alipay. other... Other friends also ...

Posted by farkewie on Wed, 25 Mar 2020 21:04:12 -0700

openstack learning notes II: basic environment construction

1. Environmental information:Three CentOS 7.6 virtual machines are built by using VMware Workstation in this environmentNode architecture: 1 controller node, 1 compute node, 1 cinder block storage node.The hardware configuration information is as follows: Node name ----------- CPU ----- memory ----- operating system ----- disk controller node ...

Posted by chuckym7 on Wed, 25 Mar 2020 20:29:59 -0700

One click online installation of redis database by shell script (implemented by function)

The previous article gives the process of manual compilation and installation of redis, and gives the process of online installation of redis when simulating the establishment of redis cluster, so I want to write a redis script for online installation. In this paper, I mainly use shell functions to realize and verify the process of online ins ...

Posted by m!tCh on Wed, 25 Mar 2020 07:48:09 -0700

linux Getting Started Series 18--Apache Service 2 for Web Services

In the next article, after learning about Apache's basic configuration and SELinux, continue demonstrating the virtual host capabilities and access control methods provided by Apache. If you haven't looked at the last suggestion, look at it first and come back later, last article " linux Getting Started Series 18--apache service 1 for Web ...

Posted by WarDeities on Tue, 24 Mar 2020 20:03:51 -0700

Cassandra best practice configuration

In this article, we mainly introduce the related configurations of Cassandra. I will introduce the related configurations of Cassandra according to the horizontal dimension of cluster and node. I may not list some configurations here. Please refer to the detailed introduction in cassandra.yaml. How to configure Cassandra needs to be in the C un ...

Posted by mysqlnewjack on Mon, 23 Mar 2020 09:13:20 -0700