Python advanced - coroutine

catalogue Synergetic process Collaborative process is a multi-party collaborative way of work. The current executor actively gives up the control flow at a certain time and remembers its current state, so that it can resume execution from the last given position when the control flow returns. In short, the core idea of collaborative proc ...

Posted by ady01 on Thu, 20 Jan 2022 09:11:01 +0100

Effective Java learning notes - avoid creating unnecessary objects

Tip: after the article is written, the directory can be generated automatically. Please refer to the help document on the right for how to generate it preface Recently, I was reading the Book Effective Java, and I also recorded some contents in the book. Some that I can't understand will be put away for the time being. Avoid creating ...

Posted by eits on Thu, 20 Jan 2022 07:36:52 +0100

Functions of C language learning

This article will introduce the related contents of C language functions Basic concepts A function is a part of a large code It is composed of one or more statement blocks, which is responsible for completing a specific task and has a certain independence Library functions encapsulate some frequently used functions into functions to improve d ...

Posted by bPHP on Thu, 20 Jan 2022 03:56:20 +0100

Several scenarios for JVM tuning

Click on "end of life", pay attention to the official account. Daily technical dry goods, delivered at the first time! Recently, many small partners told me that they have learned a lot of JVM tuning knowledge, but they don't know when to tune the JVM in practical work. Today, I'll introduce you to several JVM tuning scenarios. ...

Posted by pkmleo on Thu, 20 Jan 2022 03:53:45 +0100

Go language quick start

Go language quick start learning Go is an open source programming language that makes it easy to construct simple, reliable and efficient software. And in today's Internet companies, go is more and more widely used. The following are my personal notes according to my own introduction plan, and I will refer to rookie programming and Go languag ...

Posted by The Merg on Thu, 20 Jan 2022 02:32:42 +0100

Principle of automatic service registration when SpringCloud Alibaba Nacos client starts

I Problem elicitation The separate nacos project is divided into client side and server side. The client side will call register to register with the server side. However, when we do micro services, we do not introduce the jar package of the separate nacos client, but the jar package of springcloud alibaba nacos. After we introduce this jar ...

Posted by chelsea7 on Thu, 20 Jan 2022 01:57:09 +0100

Java smallholder cultivation record day 15

day15 Chapter I exceptions 1.1 Java exception handling Exceptions are some errors in the program, but not all errors are exceptions, and errors can sometimes be avoided. For example, if your code is missing a semicolon, the result will be an error Java lang.Error; If you use system out. Println (11 / 0), then you will throw Java because yo ...

Posted by anxiety on Wed, 19 Jan 2022 23:29:29 +0100

Common scenarios of Spring transaction failure

preface For students engaged in java development, spring affairs must be familiar. In some business scenarios, the data of multiple tables needs to be written simultaneously in one request. In order to ensure the atomicity of operations (success or failure at the same time) and avoid data inconsistency, we generally use spring transaction ...

Posted by CentralOGN on Wed, 19 Jan 2022 21:14:10 +0100

[C + +] classes and objects (middle) -- constructor + destructor + copy constructor

1. The default six member functions of the class If a class has no members, it is called an empty class. Is there nothing in the empty class? Not really. If we don't write any class, the following six default member functions will be automatically generated. This is the complex initialization mechanism of C + +. class Date{} They are ...

Posted by imartin on Wed, 19 Jan 2022 20:01:11 +0100

[draw the competition diagram with a few lines of pandas_live] 9 Life expectancy in G7 countries (test code + data set + mapping parameter analysis)

Welcome to pay attention Column of "pandas_alive drawing dynamic map of competition" , continuously updating Welcome to pay attention Column of "pandas_alive drawing dynamic map of competition" , continuously updating Resource file download: Column learning instructions (configured venv virtual environment + take ...

Posted by Kingw on Wed, 19 Jan 2022 14:44:41 +0100