Pure Ubuntu16 installation CUDA(9.1) and cuDNN
Overview of this articleI have a Lenovo notebook in 2015. The graphics card is GTX950M and ubuntu 16.04 LTS desktop version has been installed. In order to use its GPU to complete the training of deep learning 4J, I installed CUDA and cuDNN myself. Here, the whole process is recorded for future reference. The whole installation process is divid ...
Posted by azazelis on Mon, 06 Dec 2021 23:59:36 -0800
Why do you have to override hashCode to override equals
equals common interview questions
Before we start talking, let's look at some common interview questions to see if you can answer them all.
1. What's the difference between equals and = =?
2. Must two objects with equal hashcode be equal? Are equals equal?
3. Two objects are equal by equals. Are their hashcode s equal?
If we do not override ...
Posted by newbie9999 on Mon, 06 Dec 2021 23:56:15 -0800
4 powerful JavaScript operators
Did you spend an afternoon reading Mozilla documents? If so, you will find a lot of JS information on the Internet, which makes it easy for us to ignore the more basic JS operators.These operators are uncommon but powerful! It looks very similar in grammar, but its function is different. You must read it carefully.1,?? Non air operatorIn JS,?? ...
Posted by growler123 on Mon, 06 Dec 2021 23:42:13 -0800
Start chaos project from 0 (chaos Toolkit)
Start Chaos Engineering by ChaosToolkit
Chaos Engineering means Chaos Engineering, which is a technology to test the toughness of a complex system, Through this technology, the deficiencies in complex systems can be found experimentally, especially in production By introducing all kinds of chaos into the environment, we can observe the abil ...
Posted by steve m on Mon, 06 Dec 2021 23:40:41 -0800
The volatile keyword that must be asked in the interview is easy to understand. You hit me after reading it
introduction
It is said that StringBuilder is more efficient than String in handling String splicing, but sometimes there may be some deviation in our understanding. Recently, when I tested the efficiency of data import, I found that my previous understanding of StringBuilder was wrong.
Later, I found out the logic of this piece by mea ...
Posted by lm_a_dope on Mon, 06 Dec 2021 23:36:15 -0800
03 analysis of Nacos Client service discovery source code
Learning is not so utilitarian. The second senior brother will take you to easily read the source code from a higher dimension ~This article takes you through the source code level to analyze the service discovery journey of Nacos Client. The fact may not be as simple as you think.Nacos service discoveryIntuitively, the service discovery of Na ...
Posted by gyash on Mon, 06 Dec 2021 23:35:54 -0800
Several ways of JS array traversal
JS array traversal is basically for,forin,foreach,forof,map and other methods. The following describes several array traversal methods used in this analysis and performance analysis and comparison
The first is a normal for loop
The code is as follows:
for(j = 0; j < arr.length; j++) {
}
Brief description: the simplest one is also the ...
Posted by 9mm on Mon, 06 Dec 2021 23:31:41 -0800
Dockerfile command parameters
Docker generates an image by reading the dockerfile file. Dockerfile is a text file that contains all commands required by users to build images. After docker build , Docker automatically builds images through a series of command line operations. This article describes the commands in dockerfile.
Usage of Dockerfile
The docker build co ...
Posted by werkkrew on Mon, 06 Dec 2021 23:30:44 -0800
Use of mock.js
Usually, during the project process, the data returned by the api you need may not be completed at the back end, but only documents. At this time, you need to use mock to intercept ajax requests, generate random data, and complete the data rendering of the page
There are different deployment schemes for mock.js, so I won't list them one by one ...
Posted by wikstov on Mon, 06 Dec 2021 23:11:49 -0800
The past and present life and application practice of Dubbo, a distributed service governance framework
Dubbo's backgroundDubbo has been open source for nearly 10 years and has been widely used in major domestic enterprises. What magic is it worth pursuing? This article gives you a detailed description.Requirements of large-scale service for service governanceWhen enterprises begin large-scale service, the disadvantages brought by remote communic ...
Posted by ChrisML123 on Mon, 06 Dec 2021 23:07:49 -0800