Python3.10 official release, quick view of new features

On October 4, 2021, when the National Day holiday is full of people, Python officially Officially released Python 3 ten . As a stationary coder during the holiday, I naturally experienced a wave for the first time. Compared with the previous version, this version has the following major changes. ps: want to see a better typesetting? visit: ...

Added by milind24 on Tue, 01 Feb 2022 09:15:06 +0200

ELK is so simple! Teach you how to build a real-time distributed search and analysis engine

summary As we all know, we often encounter many exceptions and error messages in the production environment. We need to check the log information to check the errors. Most of the current systems are complex. Even behind a service, there is a cluster of machines running. It is obviously laborious and unrealistic to check the logs one by one. I ...

Added by anups on Tue, 01 Feb 2022 08:58:18 +0200

Spring boot - + - redis - implements interface idempotency. It's great to read this article!

introduce The concept of idempotency is that the impact of any multiple executions is the same as that of one execution. According to this meaning, the final explanation is that the impact on the database can only be one-time and cannot be processed repeatedly. The means are as follows Create a unique index of the database token mechanism ...

Added by a94060 on Tue, 01 Feb 2022 07:59:35 +0200

It's so complete! MySQL: a locking method between normal read and locked read

Advance preparation For the smooth development of the story, we first create a table and insert some records into the table. The following is the SQL statement: CREATE TABLE hero ( number INT, name VARCHAR(100), country varchar(100), PRIMARY KEY (number), KEY idx_name (name) ) Engine=InnoDB CHARSET=utf8; INSERT INTO hero ...

Added by crimaniak on Tue, 01 Feb 2022 06:05:29 +0200

Detailed explanation of Java generic mechanism; Do you know all this?

Special invited author of enjoying learning class: Dream chasing youth Reprint, please state the source! ###Foreword When we do development, we always emphasize the concept of data type. In Java, it is divided into basic type and reference data type. There are eight basic data types. In addition to classes, we can also use the way of interfa ...

Added by J4B on Tue, 01 Feb 2022 05:48:20 +0200

2021 New Summary: Docker from Getting Started to Actual, Pure Dry!

Introduction to Docker What is Docker? To tell you the truth about what Docker is, let me show you what Docker is through four points. Docker is the world's leading software container platform, developed and implemented in the Go Language.Docker frees developers by automating repetitive tasks such as setting up and configuring development en ...

Added by danoli on Tue, 01 Feb 2022 04:52:50 +0200

Brother Jiang takes you to play with C language | 13 - one level pointer and multi-level pointer

Basic concepts of pointer What is the address Address in life: Memory address: Address and data in memory unit are two completely different concepts The address is like the room number. According to this number, we can find the corresponding roomMemory units are like rooms, which are dedicated to storing data Variable address: The ...

Added by fhil85 on Mon, 31 Jan 2022 23:26:51 +0200

I used - Java-8 - to write a logic. My colleagues can't understand it. Try it!

##Foreword I wrote a paragraph of logic in Java 8, but my colleagues said they couldn't understand it. The following is the business background. You can have a look together! Business background First of all, the business needs are as follows: pull all orders from the third-party e-commerce platform and save them to the company's own database ...

Added by forumsudhir on Mon, 31 Jan 2022 20:01:00 +0200

Hard core practice! Do you really understand these unknown bytecode instructions?

In this article, we mainly share a practical case: unknown bytecode instruction. Next, we will take a look at the application of bytecode by introducing some common features in the Java language. Because there are many Java features, here we will only introduce some features we often encounter. javap is a sharp weapon in your hand. Complex con ...

Added by Fergusfer on Mon, 31 Jan 2022 14:44:01 +0200

An idea of using redis to realize distributed lock

In one work, there was a small accident. The result of a redis write and read method was always different from what was expected. After careful consideration, it was found that because all nodes in the cluster use shared caches and queues, resource competition may occur among nodes in some scenarios, There may be a "thread insecurity probl ...

Added by Fearsoldier on Mon, 31 Jan 2022 13:11:34 +0200