14 "hutool actual combat": ResourceUtil resource tool (JAVA virtual bamboo)

❤️ Author home page: Xiaoxuzhu ❤️ About the author: Hello, I'm Xiao xuzhu. High quality creators in Java field 🏆, CSDN blog expert 🏆, Huawei cloud sharing expert 🏆, Popular author of the year 🏆, Alibaba cloud expert Blogger 🏆 ❤️ Technical work should be rewarded ❤️ give the thumbs-up 👍 Collection ⭐ Look again and form a habit ...

Added by jokerofsouls on Tue, 08 Feb 2022 04:07:19 +0200

Python thread 14 has a bounded semaphore, which is a semaphore with a bottom line

Official Python column 51, students stop, don't miss this article starting from 0! In the previous article, the academic committee proposed The idea of making current limiter based on Semaphore semaphore A simple implementation of sum current limiter. The code is running and seems to have no errors. However, careful readers will find that ...

Added by cottonbuds2005 on Mon, 07 Feb 2022 23:53:41 +0200

dubbo hidden pit of production failure caused by dubbo generalization#

Last month, the company zk cluster had a failure, and then all project teams were required to check whether Dubbo programmatic / generalized calls were used, and @ Reference was forced to generate consumers. The specific reason is that a large number of online service visitors visited zk in a short time and created 2.4 million + nodes, resultin ...

Added by erikjan on Mon, 07 Feb 2022 21:19:07 +0200

JAVA uses POI to read documents

Foreword: when I work, I always use an excel tool class to complete the import and export of Excel. The fool's powerful tool class makes me use API calls carelessly, but in fact, POI doesn't understand how to operate excel. If I change the project or architecture, I don't know how to read Excel with POI, or the complex excel table style won't b ...

Added by steven_84 on Mon, 07 Feb 2022 21:00:03 +0200

[multithreading] learning notes

Multithreading Foundation Processes and threads In the computer, we call a task a process. The browser is a process, and the video player is another process. Similarly, both the music player and Word are processes. Some processes also need to execute multiple subtasks at the same time. For example, when we use Word, Word allows us to che ...

Added by Shovinus on Mon, 07 Feb 2022 20:47:57 +0200

Python modules, packages, files, exceptions, higher-order functions

catalogue 1. Module 2. Package 3. Documents 4. Abnormal 5. Higher order function 1. Module 1.1 concept Python module is a python file, which is written in py ends with Python object definitions and python statements. Modules can define functions, classes, variables, and can also contain executable code 1.2 import module Mode 1: ...

Added by tbaink2000 on Mon, 07 Feb 2022 20:25:53 +0200

Set framework - Map, set

1, Map interface Key and Value form a mapping relationship by storing data through key and Value • Map Used to save data with mapping relationship, so Map There are two sets of values stored in the collection. One set of values is used to save Map Inside Key , another group is used to save Map Inside Value • Map ...

Added by jokerbla on Mon, 07 Feb 2022 20:12:39 +0200

[Golang Quick Start] Advanced Syntax: Reflection + Concurrency

Learning Video: 8 Hours Transfer to Golang Engineer This course is very suitable for small partners with certain development experience, push! Golang Advancement reflex Variable Built-in Pair Structure var a string // pair<statictype:string, value:"aceld"> a = "aceld" var allType interface{} // pair<type:string, value:" ...

Added by gmann001 on Mon, 07 Feb 2022 19:54:12 +0200

JUC Note-Sharing Model Invariant

1. Design of Invariant Classes Invariant: An object is an immutable object if it cannot modify its internal state (properties) Thread-safe, concurrent modification and visibility issues for immutable objects are another way to avoid competition String classes are also immutable, and all attributes within the class are final The final ...

Added by daniel_lee_hill on Mon, 07 Feb 2022 19:18:10 +0200

go specification programming essential tools (code specification and single test)

Preface Good use of tools in go development can greatly facilitate standardized development, the first thing you need to do is to standardize and test. Generally speaking, usage habits are a key gofmt goimports must be used. Go vet golangci-link assists in checking semantics and correcting them.Complete the necessary basic use cases, form-bas ...

Added by loftystew on Mon, 07 Feb 2022 19:17:53 +0200