java Performance Analysis - CPU Speed Analysis Tool
background
Students who have handled production problems can almost always encounter sudden slowness of the system, sudden surge of CPU, or even unavailability of the entire application request.When this happens, we should export the jstack and memory information as soon as possible without affecting the accuracy of the data, then restart the s ...
Posted by vickyjackson on Sun, 12 Jan 2020 08:33:40 -0800
[Xuefeng magnetic needle stone blog] Bokeh data visualization tool 2 drawing foundation
Linear graph
#Creating a line plot
#Importing the required packages
from bokeh.io import output_file, show
from bokeh.plotting import figure
#Creating our data arrays used for plotting the line plot
x = [5,6,7,8,9,10]
y = [1,2,3,4,5,6]
#Calling the figure() function to create the figure of the plot
plot = figure()
#Creating a ...
Posted by Madzz on Sat, 11 Jan 2020 07:27:08 -0800
Github Actions user guide and Android continuous integration example
Preface
Github Actions official document (the general entry of all the official documents below) gives a detailed description of many details, but if you are the first time to contact, you see a lot of details, and you don't know what they are, so you will forget them soon. This article, from the code ...
Posted by markbm on Fri, 10 Jan 2020 23:39:38 -0800
Spring web series RestTemplate 4xx/5xx exception information capture
200104 spring web series tutorialresttemplate 4xx / 5xx exception information capture
Recently, when using RestTemplate to access external resources, an interesting problem was found. Because the permission verification fails, the http code of 401 returned by the other party will also contain some exception prompt information in the returned ...
Posted by jsucupira on Fri, 10 Jan 2020 23:03:45 -0800
Annotation analysis notes such as JPA one-to-one mapping@OneToOne
I've uploaded a two-way, one-to-one instance to GitHub, the entrance project, and downloaded and run if you're interested, here are two running problems.
Question 1: I left a question at the end of my last blog post.One-to-one Association query comment @OneToOne instance details
Problem point: At the en ...
Posted by dsjoes on Fri, 10 Jan 2020 18:19:32 -0800
go implement profile hot update and source code analysis based on viper
The go third-party library github.com/spf13/viper reads and injects configuration files into the structure for ease of use.
Where
viperInstance := viper.New() // viper instance
viperInstance.WatchConfig()
viperInstance.OnConfigChange(func(e fsnotify.Event) {
log.Print("Config file updated.")
vi ...
Posted by php_2004 on Fri, 10 Jan 2020 16:54:52 -0800
RxJava source code parsing back pressure + source code + synchronous asynchronous + principle
Article 3 of the seriesTo undertake the above: RXjava parsing (2) I gave you the source code of RXjava and this interview, and you told me that I couldn't get an offer?(leave the GitHub link, and you can find the content you need to obtain such as interview)https://github.com/xiangjiana/Android-MS
Back pressure problem
Backpressure refers to ...
Posted by info@ipfaces.org on Fri, 10 Jan 2020 07:09:03 -0800
Detailed instructions for using the sensitive word tool in java
sensitive-word
In normal work, as long as the user can speak freely (blog, document, forum), the sensitivity of the content should be considered.
sensitive-word A high performance sensitive word tool based on DFA algorithm.Tools are implemented in java to help us solve common problems.
Characteristic
6W+Lexicon with continuous optimization u ...
Posted by jbruns on Thu, 09 Jan 2020 20:34:07 -0800
12. Glide framework - Android intensive course notes
1, introduction
2. Basic use of Glide
3. Glide
1, introduction
The image loading frameworks commonly used in Android are:
UniversalImageLoader
Volley
Picasso
Fresco
Glide
Google's official recommended framework is Glide, and the use of other frameworks is similar.
2. Basic use of Glide
1. Create a project named ...
Posted by cirma on Thu, 09 Jan 2020 10:49:14 -0800
Naive Bayes algorithm: News Classification (Sklearn Implementation)
1. Steps of news classification based on Naive Bayes
(1) Provide text file, i.e Dataset Download
(2) Prepare data
The data set is divided into training set and test set, and the jieba module is used for word segmentation, word frequency statistics, stop word filtering, text feature extraction, and text data is quantified
Stop word text Stopword ...
Posted by AdRock on Thu, 09 Jan 2020 08:16:32 -0800