Fundamentals of Python: complete collection of pip commands

🌹 preface Xiao Yuan began to update the Python series of teaching articles, which will get you started from scratch and look forward to your attention ❤️❤️ First article: Fundamentals of python (I): Python and vscode environment installation Second article: Fundamentals of Python (II): necessary for getting started The third article: F ...

Added by barrylee on Tue, 04 Jan 2022 09:02:03 +0200

Falsk source code analysis: application startup process

2. Flash source code analysis: application startup process WSGI All python web frameworks follow the WSGI protocol Here is a brief review of the core concepts of WSGI. There is a very important concept in WSGI: every python web Application is a callable object. In flask, this object is app = flask (_name_) The created app is the green Appli ...

Added by zhaohongli on Tue, 04 Jan 2022 06:49:00 +0200

How does RocketMQ Broker perceive abnormal downtime and normal offline of consumers by analyzing the fishing source code?

1, Foreword When studying the consumption timeout of RocketMQ Consumer, which leads to repeated consumption, I suddenly thought of a thing: how does the Broker perceive the abnormal downtime and offline of the Consumer/Producer? And how can the remaining consumers quickly redo the load?, Originally, after sorting out the source code of Broker ...

Added by viperdk on Tue, 04 Jan 2022 03:36:25 +0200

Some thoughts on Java Record - serialization related

Java Record serialization related At the beginning of the design, Record is to find a type carrier that purely represents data. Java's class is now doing function addition through continuous iteration, and its usage has been very complex. Various syntax sugars, various polymorphic constructors and various inheritance designs lead to the very c ...

Added by OmarHaydoor on Tue, 04 Jan 2022 03:01:03 +0200

Where to eat tangled hot pot, make a data presentation decision with Python visualization (with learning resources)

preface Hello everyone, today I'll tell you about the comprehensive practical exercise of Python - Taking the hot pot loved by the public as an example, how to use our Python language to obtain the number of hot pot stores in different cities across the country and visually display these data? Next, I will take you to realize this operation, ...

Added by techker on Tue, 04 Jan 2022 01:57:50 +0200

Synchronization mechanism in Java multithreading environment

1, Foreword Have you ever thought about whether the + + operation in Java is thread safe? That is, in the case of multithreading, if multiple threads execute the + + operation together, will the result be what we expect? You can write a demo to verify it. public static int count = 0; public static void main(String[] args) { for (int j = 0; ...

Added by ckjian on Tue, 04 Jan 2022 01:33:33 +0200

mysql series: innodb log management, Java microservice architect

-s ORDER what to sort by (al, at, ar, c, l, r, t), 'at' is default # default collation al: average lock time # average lock time ar: average rows sent # average return record time at: average query time # average query time c: count # records l: lock time # lock time r: rows sent # returns the number of records t: query time # query time -r rev ...

Added by bdlang on Mon, 03 Jan 2022 23:33:23 +0200

Spring MVC source code analysis

From 17 years of contact with java to now, it has been almost four years. Before, I mainly did the development related to C language. I can say that I started learning java from the beginning. The specific bitterness course is not shown. There have been quite a lot of discussions on the content of spring MVC. This paper wants to analyze it fro ...

Added by wilsonodk on Mon, 03 Jan 2022 22:50:58 +0200

Javase Basics

1. Imagine the object Three characteristics encapsulation _Encapsulation means hiding the properties and implementation details of the object, exposing the interface only to the outside world, and controlling the access level for reading and modifying the properties in the program; Combine the abstracted data with the behavior (or func ...

Added by joshmaker on Mon, 03 Jan 2022 22:13:11 +0200

DAS_ Learn notes from scratch

reference resources https://github.com/cmks/DAS_Tool DAS: dereplication, aggregation and scoring strategy DAS Tool can integrate the bins obtained from different macrogenomes, obtain more high-quality, high integrity and non redundant bins, and better show the differences between strain variation microbial strains. When input ting DAS Tool, ...

Added by binumathew on Mon, 03 Jan 2022 21:42:44 +0200