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

Simple Vue project scaffolding (vue + webpack 2.0 + vuex + vue-router)

github address (Contains simple examples) Using Technology Stack webpack(^2.6.1) webpack-dev-server(^2.4.5) vue(^2.3.3) vuex(^2.3.1) vue-router(^2.5.3) vue-loader(^12.2.1) eslint(^3.19.0) Knowledge to be learned vue.js vuex vue-router vue-loader webpack2 eslint  Quite a lot of content, especially webpack2 tutorials, official ...

Posted on Fri, 14 Dec 2018 09:21:03 -0800 by amity

Performance comparison of row, column, heap and AO tables - Aliyun HDB for PostgreSQL best practices

Label PostgreSQL, GIS, PostGIS, Greenplum, Spatial Retrieval, GiST, B-Tree, Gehash background Principles and Choices of Greenplum Row, Column, Heap and AO Tables The above documents describe in detail the principles of row storage, column storage, heap table, AO table and the basis for selection. "A Simple Algorithms Can Help Internet o ...

Posted on Thu, 13 Dec 2018 19:27:21 -0800 by alex2046

vue+vue-router+vuex+axios+es6+sass

Project address: github.com/hzzly/xyy-v…demo address: hjingren.cn/xyy-vue/Welcome to star! Function description Home Rotary Map Homepage Hot Events About Running Activities List List of outbound activities Personal Center Viewing Personal Activities Student certification (to be developed) Student Information Modification Mes ...

Posted on Thu, 13 Dec 2018 03:54:07 -0800 by resting

C Intermediate - SO_REUSEPORT and SO_REUSEADDR

Introduction - the origin of the problem When learning network programming, we often hear a word, first turn on "port multiplexing SO_REUSEADDR". At that time, we knew little about it. You know it should be written like that. It's always strange in my heart that the semantics are not clear. Why do you translate it like this? As I li ...

Posted on Thu, 13 Dec 2018 01:18:07 -0800 by Nightslyr

Introduction to Sagit.Framework For IOS Development Framework 6: Network Request STHttp

Preface: IOS article, today, to supplement another, Sagit's tutorial; Although I don't think there are any audiences in IOS articles, I'd better try to write them, --uuuuuuuuuu Sagit Open Source Address: https://github.com/cyq1162/Sagit Today, the main purpose is to share network requests, i.e. the use of STHttp: STHttp is the source cod ...

Posted on Wed, 12 Dec 2018 20:27:07 -0800 by J@ystick_FI

Day02 - JavaScript + CSS Clock

Day02 - JavaScript + CSS Clock Author: extension liyuechun Introduction: JavaScript30 yes Wes Bos A 30-day challenge to launch. The project provides 30 video tutorials, 30 challenge start documents and 30 challenge solution source code free of charge. The goal is to help people write in pure JavaScript, without using frameworks and libraries o ...

Posted on Wed, 12 Dec 2018 18:36:06 -0800 by VBAssassin