Detailed explanation of HashMap automatic capacity expansion mechanism source code
1, IntroductionHashMap's source code, which we have interpreted before, is an array plus a linked list. If the linked list is too long, it will split into a red black tree. The automatic capacity expansion mechanism is not detailed. Let's take a look at it in detail today2, Capacity expansion mechanismLet's start with the conclusion:The capacit ...
Posted by JasonMWaldo on Mon, 14 Feb 2022 04:44:57 +0100
Oracle case: SMON rollback exception causes instance Crash
A 4-node rac of a provincial power system and a 2-node crash in the morning.Wed Nov 03 07:59:05 2021
SMON: Restarting fast_start parallel rollback
Exception [type: SIGSEGV, Address not mapped to object] [ADDR:0x505E9323] [PC:0x98214CA, kgegpa()+40] [flags: 0x0, count: 1]
Exception [type: SIGSEGV, Add ...
Posted by wmvdwerf on Mon, 14 Feb 2022 04:28:25 +0100
Bubble sorting and optimization of bubble sorting - > cocktail sorting
What is bubble sorting
Bubble Sort is the most basic exchange sort. Everyone must have drunk soda. There are often many small bubbles floating on it. This is because the carbon dioxide that makes up small bubbles is lighter than water, so small bubbles can float upward bit by bit. The basic idea of Bubble Sorting is to compare the values of ...
Posted by snowdog on Mon, 14 Feb 2022 04:16:15 +0100
Microservices have everything from code to k8s deployment (v. home stay service)
We will use a series to explain the complete practice of microservices from requirements to online, from code to k8s deployment, from logging to monitoring.
The whole project uses the micro services developed by go zero, which basically includes go zero and some middleware developed by relevant go zero authors. The technology stack used is bas ...
Posted by billybathgate on Mon, 14 Feb 2022 04:06:41 +0100
Gender prediction and age detection in images using OpenCV
1, IntroductionFacial analysis in photos has attracted extensive attention because it can help us solve various problems, including better customer advertising positioning, better content recommendation system, security monitoring and other fields.Age and gender are important aspects of facial features and their identification is a prerequisite ...
Posted by radley on Mon, 14 Feb 2022 03:47:01 +0100
Chessboard image recognition based on OpenCV
In this issue, we will learn how to use computer vision technology to recognize chess pieces and their positions on the chessboardWe use computer vision technology and convolutional neural network (CNN) to create a classification algorithm for this project and determine the position of chess pieces on the chessboard. The final application will ...
Posted by itsjareds on Mon, 14 Feb 2022 03:46:30 +0100
async/await you can use it, but do you know how to deal with errors?
prefaceHello, I'm Lin Sanxin. The most difficult knowledge point in the most easy to understand words is my motto. The foundation is advanced, and the premise is my original intentionPromise encapsulation requestIf you usually use Promise to encapsulate the request, when you use this request function:// Encapsulation request function
const requ ...
Posted by nileshn on Mon, 14 Feb 2022 03:44:44 +0100
Install PCL and VTK under the background of ROS installation, and solve VTK and PCL_ROS conflict
Previously on:
I also need PCL_ ROS and PCL, in which PCL is installed_ ROS is to supplement two packages after installing ROS: PCL conversions PCL_ ROS, and then install PCL separately. If you use the classical method Ubuntu18.04 installing PCL (detailed tutorial) If PCL is installed, it will lead to the conflict of VTK package, that is, PCL ...
Posted by jkmcgrath on Mon, 14 Feb 2022 03:37:10 +0100
Detailed explanation of Spring IoC Foundation
1. Introduction to spring IOC
IoC: inversion of control. In the traditional development mode, developers create and manage objects by themselves. When the Spring framework is used, these things are handed over to the framework. It can be understood that "the management right of developers over objects to the framework". Therefore, th ...
Posted by alext on Mon, 14 Feb 2022 03:17:54 +0100
Java foundation - network programming
B/S and C/S architecture
B/S: Browser / server, which interacts with the server based on the browser program C/S: client / server, which interacts with the server based on the client program
Java write server program
1. Meet business needs 2. Handle high concurrency 3. Big data processing
Network protocol
Syntax: structure of ...
Posted by furma on Mon, 14 Feb 2022 03:02:36 +0100