Android Architecture Components Part2:LiveData

Thank you for coming again. Welcome to the Android Architecture Components (ACC) series. In the last article, we discussed Room, through which we can easily manipulate App's database. If your App relies on local databases, Room is worth having. Today, this article continues with the steps of the previous article. Let's take ...

Posted on Tue, 18 Dec 2018 23:30:04 -0800 by shwanky

Spring Cloud Builds Micro-Service Architecture: Service Registration and Discovery (Eureka, Consul) [Dalston Edition]

It's been a long time since Spring Cloud was updated to build a micro-service architecture. Since the beginning of writing Spring Cloud's topic content, it has gained a lot of reading and recognition. Of course, there are also some criticisms, including some very pertinent opinions and in-depth issues. It's also an opportunity for me to further ...

Posted on Tue, 18 Dec 2018 16:33:04 -0800 by pucker22

Avoid Crash integration and simple encapsulation unrecognized selector send to instance crash interception

Some problems about inconsistency between backend return data type and interface document type When a project is mature enough, crash problems rarely arise. Basically, most of the crashes occur in inconsistent data types when docking background data, as well as the problems of array crossover and dictionary null assignment. I' ...

Posted on Tue, 18 Dec 2018 15:06:04 -0800 by utpal

HTAP database PostgreSQL scenarios and performance testing 26 - (OLTP) NOT IN, NOT EXISTS queries

Label PostgreSQL, HTAP, OLTP, OLAP, Scenario and Performance Testing background PostgreSQL is a database with a long history, which can be traced back to 1973. It was first awarded by the 2014 Computer Turing Prize winner and the originator of relational database. Michael_Stonebraker PostgreSQL has similar functions, performance, architectur ...

Posted on Tue, 18 Dec 2018 04:39:04 -0800 by webrajesh

iOS on Common Crypto Encryption II (Common Cryptor AES | DES | 3DES | CAST | BlowFish)

In the last part Summary The general content of each file in CommonCrypto is summarized in this paper. Then the concrete use and related content of the first file CommonCryptor are described in detail below. For example code, go to Github CommonCrypto Download. CommonCryptor Apple's official description of Common Cryptor files is a ...

Posted on Mon, 17 Dec 2018 17:21:04 -0800 by TransmogriBenno

Popup Window pops up based on a View in ScrollView. Does Popup Window not scroll with View?

Encounter a requirement: the root layout is ScrollView, and there is a TextView inside, called A, which needs to pop up a PopupWindow just above A. At first glance, it's very simple. According to the location and size of A, the location of Popup Window can be calculated. By calling the showAtLocation method, it can pop up dire ...

Posted on Mon, 17 Dec 2018 11:57:04 -0800 by Swede78

Python protocol: from yield/send to async/await

Python's threads are not able to perform multi-core parallel computing because of the well-known GIL (of course, with multiprocessing later, multi-process parallelism can be achieved), which is more chicken ribs. Since only one thread can run at the same time under GIL, the switching overhead between threads becomes a drag for CPU-intensive pro ...

Posted on Mon, 17 Dec 2018 09:06:04 -0800 by LMarie

GoLanguage Learning Notes (8) Goang Operates Redis & Mysql & RabbitMQ

Add Golang Learning QQ Group to Learn Progress, Start a Family and Start a Business Job ^-^ Group Number: 96933959 Reids Installation Import go get github.com/garyburd/redigo/redis import "github.com/garyburd/redigo/redis" link github: https://github.com/antirez/redis Doc: http://godoc.org/github.com/garyburd/redigo/redis Redis comp ...

Posted on Sun, 16 Dec 2018 19:15:04 -0800 by jgmiddel

Immutable & Redux in Angular Way

Immutable & Redux in Angular Way Written in front Angular JS 1.x version as the framework of the previous generation MVVM has achieved great success. Now when it comes to Angular, even if it is completely incompatible with 1.x version of Angular 2.x (the latest version is 4.2.2), people still regard it as a typical MVVM framework. The advan ...

Posted on Sat, 15 Dec 2018 01:45:03 -0800 by expl0it

java_basic_first_interect_node - (Hard)

Learning comes from Zuo Shen github: https://github.com/yjfiejd/New_coder_java_algorithm/blob/master/Find_First_Intersect_Node%24Node.class [Question] // [Question] A single linked list may or may not be ring. Given the headers of two single linked lists, head1 and head2, the two linked lists may or may not intersect. // Im ...

Posted on Fri, 14 Dec 2018 18:15:04 -0800 by p.utsav