Python core programming
1. Preface
1.1 access to resources
Browser input: code tarena. com. cn
Account No.: tarenacode
Password: Code_ two thousand and thirteen
Address: AIDCode/aid2202/01_month01/to_student_for_month01.zip
1.2 Course Introduction
1.3 learning philosophy
1.3.1 weak grammar, emphasizing essence
It is a learning process that weakens languag ...
Posted by kooks on Tue, 22 Feb 2022 06:37:41 +0100
mysql5.7 master slave replication setup
1: Check whether mysql has been installed locally
rpm -qa | grep mysql
2: Uninstall previous mysql
rpm -e Existing MySQL full name
Step 2: unzip the file
[root@MiWiFi-R3-srv ~]# tar -zxvf mysql-5.7.17-linux-glibc2.5-x86_64.tar.gz -C /usr/local/
Change the file name to mysql:
[root@MiWiFi-R3-srv local]# mv mysql-5.7.17-linux-glibc2.5-x86_ ...
Posted by otuatail on Tue, 22 Feb 2022 06:32:31 +0100
Artificial mentally retarded three piece chess
After learning arrays and functions, we can do some interesting things, such as the Gobang game mentioned in this article.
First of all, before we start to write code, we need to know what the game needs and divide the modules.
Game menuHow do players choose game modegame board How players play chessComputer chess methodHow to judge winnin ...
Posted by Zyxist on Tue, 22 Feb 2022 06:01:09 +0100
#Draw a picture with Stata # 01 function and drawing type
As the saying goes, a picture is worth a thousand words. Drawing is one of the most basic and important data analysis skills, so that people give the whole behavior process of drawing a more professional name - Data Visualization. As a powerful and flexible data analysis tool, Stata can realize a variety of drawings. This topic [Stata dr ...
Posted by mverrier on Tue, 22 Feb 2022 05:44:42 +0100
Lighter! Harmonic cloud edge computing contribution won CNCF official praise again
Recently, the official website of CNCF(Cloud Native Computing Foundation) published an article jointly written by Jin Chen, an R & D Intern of harmonic cloud edge computing, and Vivian Hu from Second State - "using OpenYurt to manage WasmEdge|lightweight edge computing solution".This paper introduces how the edge computing framewo ...
Posted by crabfinger on Tue, 22 Feb 2022 04:45:06 +0100
Second kill based on redis
For single process implementation
@RequestMapping("/miaosha1")
@ResponseBody
public String miaosha1() {
synchronized (this){
Map<String,Object> mapListmaps = new HashMap<>();
//Get inventory value in redis
int kucun = Integer.valueOf(redisUtil.getStrKV("kucun").toString()) ...
Posted by smudge on Tue, 22 Feb 2022 04:28:30 +0100
Hive tutorial (06) - Hive SerDe serialization and deserialization
01 introduction
In the previous tutorial, you have a preliminary understanding of Hive's data model, data types and operation commands. Interested students can refer to:
Hive tutorial (01) - getting to know hiveHive tutorial (02) - hive installationHive tutorial (03) - hive data modelHive tutorial (04) - hive data typesHive tutorial (05) ...
Posted by Jackanape on Tue, 22 Feb 2022 04:24:36 +0100
Differences between global variables, session variables, user variables and local variables in mysql
Session variable: the session variable is initialized by MYSQL every time a new connection is established. MYSQL will copy the values of all current global variables. As a session variable. (that is, if the values of session variables and global variables have not been changed manually after the session is established, the values of all these v ...
Posted by signs on Tue, 22 Feb 2022 04:19:53 +0100
[camp] at the beginning, improve the power of [leopard] - vivo activity plug-in management platform
1, BackgroundWith more and more activity components in vivo Wukong activity, the partners in the development of activity platform increasingly perceive that we lack a component library that can precipitate the general ability and improve the reusability of code. On the basis of this goal, acitivity components were born. However, with the increa ...
Posted by qaokpl on Tue, 22 Feb 2022 04:12:46 +0100
Elastic Stack Best Practices Series: a filebeat memory leak analysis and tuning
ELK was renamed elastic stack after it added beats suite after releasing 5.0. Beats is a group of lightweight software, which provides us with a simple and fast way to collect and enrich more data in real time to support our analysis. However, since beats need to be installed outside the ELK cluster, on the host, its impact on the performance o ...
Posted by vixtay on Tue, 22 Feb 2022 03:42:34 +0100