Kotlin's Road - Starting Chapter

Summary At the 2017 Google Developers Conference, Google officially listed kotlin as its official language. So, what's the power of kotlin? In short, using kotlin can make the code more concise and readable, while supporting functional programming, 100% compatible with the old development language - Java, and there are many practical grammar ...

Posted by metalenchantment on Thu, 16 May 2019 17:06:36 +0200

I heard you still don't use Dagger 2? Dagger2 For Android Best Practices Tutorial

This article was first published on my personal blog Click on the link to enter the original text Preface Dagger2 is now a very popular dependency injection framework, currently maintained by Google, and has 12K star on Github. The entry threshold of Dagger 2 is relatively high. It is known that many Android engineers do not know Dagger 2 well ...

Posted by HaLo2FrEeEk on Thu, 16 May 2019 12:57:32 +0200

UI Carton Optimizes UI Performance in Android Detection Applications

I. overview When optimizing app performance, we all hope to write a slippery UI interface. We have written a blog before. It is mainly based on the performance optimization model released by Google at that time. It mainly provides some examples of UI optimization performance: Performance optimization of Android UI in real-world ...

Posted by whmeeske on Tue, 14 May 2019 22:27:20 +0200

SpringBook entry note 17—— global exception handling and custom exception handling

Global exception handling and custom exception Article directory Global exception handling and custom exception 1. Catching global exceptions 2. Custom exceptions 2.1 Custom Exception Class 2.2 Handling custom exceptions 2.3 summary 1. Catching global exceptions Capturing global exceptions is actually very simple, ...

Posted by noon on Tue, 14 May 2019 13:38:11 +0200

ubuntu 18.04 Software Installation Record

System mirroring The i386 in the Ubuntu image file is the i386 level CPU instruction set program of intel's x86 architecture.The corresponding is amd64, which is the 64-bit instruction set of x86 extended by amd. Also, ppc is very common. This is the instruction set for IBM's PowerCPU architecture.Intel has used 8086, 80286, 80386 and so on as ...

Posted by Dan39 on Sun, 12 May 2019 09:59:22 +0200

cesium offline service settings

1. data sources 1) Satellite image texture. sxearth and other software are used to download and store data in tms format from existing network map service providers.2) DEM data. The global data available for download are SRTM V4.1, AW3D30, TanDEM-X, etc. 2. DEM data preprocessing Cesium supports two formats of terrain: quantized-mesh data and ...

Posted by ayj on Sat, 11 May 2019 19:25:35 +0200

Zxing and QR Code to generate and parse two-dimensional codes

This is a note about the course "Java Generation Two-Dimension Code" (http://www.imooc.com/learn/531) on Muchow.com. Classification of 2-D codes Linear stacked QR codes, matrix QR codes, postal codes. 2. Advantages and disadvantages of two-dimensional codes Advantages: 1. High density encoding, large information capacity; 2. Wide enco ...

Posted by jdaura on Fri, 10 May 2019 21:12:59 +0200

Talk about my understanding of MVP

To be honest, the MVP mode or design idea has come out for a long time, and now the latest use of MVVM design mode, constantly for the beginning, still need to move forward step by step. After all, you can't eat like a fat man. I am a senior, and I am currently working as an intern. In fact, I have been contacting and studying MVP ...

Posted by Control Pad on Fri, 10 May 2019 19:20:12 +0200

TensorFlow 2.0+Keras Pit Protection Guide

TensorFlow 2.0 is a big slim for version 1.x, Eager Execution is turned on by default, and Keras is used as the default advanced API.These improvements greatly reduce the difficulty of using TensorFlow. This article describes a tortuous trampling experience using the BatchNormalization of Keras+TensorFlow2.0, which almost destroys all the new f ...

Posted by justphpdev on Fri, 10 May 2019 14:26:03 +0200

[redis data structure] Quickly understand the five redis data structures

redis is an advanced key:value storage system where value supports five data types: 1. strings 2. lists of strings 3. String sets 4. Ordered string sets 5. hashes There are a few points to remind you about key: 1. Keys should not be too long, try not to exceed 1024 bytes, which not only consumes memory, but also redu ...

Posted by Skawn on Wed, 08 May 2019 18:48:04 +0200