Practical tips of Android Studio APP

APP practical tips This article introduces three tips for using app: (1) app start animation (2) hide app title bar (3) hide system notification status bar. Article catalog APP practical tips APP launch animation Hide title block Hide system status bar APP launch animation Wechat and QQ have ...

Posted on Sat, 06 Jun 2020 01:56:42 -0700 by flappy_warbucks

What's new in java8 - Optional Class

Optional class So far, the most common cause of java application failure is the notorious null pointer exception. Previously, in order to solve the null pointer exception, Google's famous guava project introduced the Optional class. Guava prevents code pollution by detecting null pointer, and encour ...

Posted on Sat, 06 Jun 2020 01:48:40 -0700 by nano

[Mathematics / polynomial / derivation] 200606Practice T3 square

In the exam room, I misspelled them directly into square. I can't help my poor English 😭 Algorithm 1 20pts, examination practice fif_ifi: i × ii\times ii × i scheme numberans=∑i=1min⁡{n,m}(n−i+1)(m−i+1)fi ans=\sum_{i=1}^{\min\{n,m\}}(n-i+1)(m-i+1)f_i ans=i=1∑min{n,m}​(n−i+1)(m−i+1)fi​O(NT) ...

Posted on Sat, 06 Jun 2020 01:44:15 -0700 by dsartain

Tomcat startup process (how to accept the connection)

Let me take a look at the whole structure related to the connection part: Through the previous introduction, the server.xml Through the Digester to create the structure of the entire container, we will review the previous content. Some contents in the createStartDigester method (here create a Connec ...

Posted on Sat, 06 Jun 2020 01:37:27 -0700 by Jacquelyn L. Ja

Flutter learning note 04: Dart data type

One of the most basic characteristics of programming language is the data types it supports. These are the types of values that can be represented and manipulated in programming languages. The Dart language supports the following types: 1. Number int, double 2. String 3. bool 4. List (similar to array) ...

Posted on Sat, 06 Jun 2020 00:07:34 -0700 by msandersen

OpenGL basic knowledge summary

Article catalog Image rendering pipeline The relationship among VAO, VBO and EBO Vertex attribute format Coordinate system Orthographic projection and perspective projection Combine transforms Right hand coordinate system video camera LookAt matrix Euler angle Glossary list Sample code interpreta ...

Posted on Fri, 05 Jun 2020 23:35:45 -0700 by affordit

Machine learning series gradient descent method June 6, 2020

preface Learning gradient descent method in this section Search based optimization method To minimize the loss function 1. Principle and simple realization of gradient descent method Picture reading comprehension Calculation gradient Each time according to the learning rate gradient decline Fina ...

Posted on Fri, 05 Jun 2020 23:25:45 -0700 by Kower

Spring resource loading

In Java, resources from different sources are abstracted into URL s, and the read logic of resources from different sources is processed by registering different handlers (urlstreamhandlers). However, the URL does not have a default definition of a handler relative to resources such as Classpath or ServletContext, although you can register your ...

Posted on Fri, 05 Jun 2020 23:20:24 -0700 by phpfreakjav

RocketMQ -- message configuration

quote: https://help.aliyun.com/document_detail/29532.html Message retry Production message retry Retry of production message may cause duplicate message //Send timeout, default is 3000 producer.setSendMsgTimeout(6000); //Retry times may cause message repetition producer.setRetryTimesWhenSendAsyn ...

Posted on Fri, 05 Jun 2020 23:13:00 -0700 by kankohi

Research on the time complexity of a test class to simplify the sorting algorithm

catalog 1, Background 2, Concept 2.1 definition of time complexity 2.2 comparison of time complexity 3, Test class 3.1 program structure 3.2 test tools 3.3 definition of sorting algorithm interface 3.4 implementation of various sorting algorithms 3.5 main test procedure 3.6 test analysis 4, Write at the end 1, Background In the proces ...

Posted on Fri, 05 Jun 2020 22:47:00 -0700 by AliasXNeo