Advanced way of Android: scanning and generating 2D codes

Ten thousand years ago, I wanted to write an article to record the implementation of the QR code function. I didn't expect that it would be now. Today is Saturday~~~ Now there are a lot of tripartite libraries about scanning code on the Internet. Of course, these are all extended based on the framework of zxing. Here I ...

Posted by schris403 on Tue, 31 Mar 2020 08:58:00 -0700

spring boot injects values into static variables

Question: The following two configuration items are configured in application.properties ccb.ip.address=10.25.177.31 ccb.ip.port=1600 The configuration in the application.properties configuration file cannot be read in the following problem code Question code: public class BISFrontFileUtil { private static Logger logger = LoggerFactor ...

Posted by rapmonkey on Sat, 21 Mar 2020 10:06:05 -0700

Interface current limit read this one is enough!!!

Guide reading A few days ago, I discussed with a friend about their company's system problems, traditional single application and cluster deployment. He said that there might be a risk of instantaneous increase in the concurrent volume of services in the near future. Although the cluster is deployed, the request delay is still very large after ...

Posted by PHP Newb on Fri, 20 Mar 2020 05:58:58 -0700

Integration of Proto3 on Android

Proto 3 and proto 2 are very different. Most of the Internet is about proto 2. Because of the habit of using the latest library, we insist on integrating proto 3 build.gradle configuration under Project directory google() jcenter() mavenCentral() } dependencies { classpath 'com.android.tools.build:gradle: ...

Posted by IceHawk on Thu, 19 Mar 2020 11:15:27 -0700

Java barcode SDK example: command line, interface, network

Share this article ZXing and Dynamsoft Java Barcode SDK Use in three scenarios. Java Barcode application My test image contains various types of barcodes. Add ZXing and Dynamsoft Barcode Reader to Maven's profile: <repositories> <repository> <id>dbr</id> <url>https://download.dynams ...

Posted by chiprivers on Tue, 17 Mar 2020 10:55:42 -0700

Android 7.x Toast BadTokenException processing

In version 7.x, Token verification is added to Toast, which is true. However, when show() is called to display Toast, if a time-consuming operation gets stuck in the main thread for more than 5 seconds, BadTokenException exception will be thrown. At the beginning of 8.x system, Google will try catch int ...

Posted by JehovahsWord on Tue, 17 Mar 2020 08:57:50 -0700

Tiktok BoostMultiDex Optimization Practice: Android low version APP first start time reduced by 80%

We know that the Java running environment for Android devices with lower version (4.X and below, SDK < 21) is Dalvik virtual machine. Compared with the higher version, the biggest problem is that the first cold start takes a long time after installing or upgrading the update. This often takes tens of seconds or even minutes. Users have to fa ...

Posted by rsanc on Mon, 16 Mar 2020 01:40:57 -0700

Data loading in deep learning (tensorflow2.0 as an example)

background knowledge In deep learning, data preprocessing takes up a large part of our training process. How to use different databases to load our data is particularly important. So this blog will combine Data loading in tensorflow 2.0 The official documentation describes how to load our own tagged d ...

Posted by austenr on Sun, 15 Mar 2020 20:29:32 -0700

Fabric 1.4 source code interpretation 4: transaction endorsement process interpretation

When the picture cannot be displayed, please check the original text: https://lessister.site/2019/10/29/fabric-transaction-endorser-source/ Article directory Technological process Macro transaction process Chain code calling process Proposal endorsement process Source code analysis Proposal definit ...

Posted by WormTongue on Sun, 15 Mar 2020 04:37:16 -0700

JS node access add, delete, modify and query (attach node access compatibility writing method of low version browser)

Node access add, delete, modify and query And get page element type, but node operation uses node level relationship to get elements Getting elements by parent-child sibling relationship Logical, but less compatible Generally, a node has at least three basic attributes: nodeType, nodeName and nodeVal ...

Posted by jek1134 on Sat, 14 Mar 2020 20:50:20 -0700