Summary of unfamiliar knowledge points in Java basic learning (17) -- IO character stream and other streams
1. Character stream
Causes of character stream
Read English characters and numbers with byte stream
No problem can be displayed normally Read Chinese characters with byte stream
There may be a problem
Codec
How is a character stored in a computer?
Based on a coding table, the corresponding integer value (coding value) is store ...
Posted by elitegosu on Fri, 04 Mar 2022 00:33:31 +0100
Analysis of audio decoding and audio output mechanism of ijkplayer player
1, Introduction: In the previous blog, we analyzed the whole jni process and message mechanism of ijkplayer in detail. The analysis of process mechanism helps us to have a general understanding of the whole architecture, which is convenient for the subsequent analysis of audio and video decoding and output rendering. The analysis of message mec ...
Posted by Rayne on Fri, 04 Mar 2022 00:27:35 +0100
MySQL 8.0 new features, index can be hidden!
Author: fabricated belief Original text: https://segmentfault.com/a/1190000013803247
This paper introduces several main new features of 8.0 in relational database.
You may already know that MySQL has provided NoSQL storage function since version 5.7, and some improvements have been made in 8.0. However, since this function is rarely used in p ...
Posted by php.ajax.coder on Fri, 04 Mar 2022 00:21:33 +0100
[introduction] interface automation test
1. What is interface testing
As the name suggests, interface test is to test the interface between systems or components, mainly to verify the exchange, transmission and control of data, management process, and mutual logical dependency. The interface protocols are divided into HTTP,WebService,Dubbo,Thrift,Socket and other types. The test type ...
Posted by spicerje on Fri, 04 Mar 2022 00:07:24 +0100
Interpretation of crowd counting [can] (context aware crowd counting) code
The code reproduction has been completed before, and I will also part in Shanghai tech_ A_ Final and part_ B_ The final dataset results came out. Now do a detailed interpretation of the code to deepen your understanding. If there is anything wrong, please give us more advice!! (this article has read this paper by default and has a certain under ...
Posted by biannucci on Fri, 04 Mar 2022 00:06:12 +0100
Elastricsearch index operation details (quick start, index management, mapping details, index alias)
1, Quick start
1. Check the health status of the cluster
http://localhost:9200/_cat
http://localhost:9200/_cat/health?v
Note: v is used to require the header to be returned in the result
Status value description
Green - everything is good (cluster is fully functional) Yellow - all data is available but some replicas are not yet alloca ...
Posted by R0CKY on Fri, 04 Mar 2022 00:05:26 +0100
matlab genetic algorithm for solving multi-objective function with time window NSGA - Ⅱ (pateto) - Pareto - single vehicle factory - Multi vehicle - various cost solving algorithm
Multi objective genetic algorithm
In this paper, the optimization model of non optimal supplier is established by considering the idea of Pareto 2. In addition, the optimization model of non optimal supplier and non optimal supplier is transformed into multiple objective solutions. In addition, the genetic algorithm is used to minimize the cos ...
Posted by sirish on Thu, 03 Mar 2022 23:55:23 +0100
Tips for eliminating if... else
1, Smelly and long if... else
No more nonsense. First look at the following code
publicinterface IPay {
void pay();
}
@Service
publicclass AliaPay implements IPay {
@Override
public void pay() {
System.out.println("===Launch Alipay payment===");
}
}
@Service
publicclass WeixinPay implements IPay { ...
Posted by adrianTNT on Thu, 03 Mar 2022 23:51:17 +0100
Vi HAProxy+keepalived to achieve high cluster availability
1. HAProxy
1.1 introduction to haproxy
HAProxy is a solution that supports virtual hosts by providing high availability, load balancing and proxy based on TCP and HTTP applications. Since 2013, HAProxy has been divided into community version and enterprise version. Enterprise website https://www.haproxy.com/ Community website https://www.hapr ...
Posted by AliasBDI on Thu, 03 Mar 2022 23:50:33 +0100
Java basics summary
Characteristics of class inheritance - construction method
The name of the constructor is consistent with the class name. Therefore, a subclass cannot inherit the constructor of its parent class.Constructor is used to initialize member variables. Therefore, in the initialization process of a subclass, the initialization action of the parent cl ...
Posted by balistic on Thu, 03 Mar 2022 23:44:56 +0100