Go Scheduler Series Source Code Reading and Exploration

Dear friends, this time I would like to share with you the knowledge and experience related to the source code reading of Go Scheduler. There are many good articles on the network to analyze the source code. So this article is not another source code analysis article. It is not about the source code analysis and sharing, but to bring you some l ...

Posted by lkq on Thu, 09 May 2019 05:33:02 +0200

JAVAEE - Icube Shop 04: Image Server FastDFS, Rich Text Editor KindEditor, Commodity Addition Completed

1. Learning Programs 1. Picture upload a) Picture Server FastDFS b) Picture upload function 2. Use KindEditor in Rich Text Editor 3. Completion of commodity addition function   2. Installation of Picture Server 1. The storage space can be expanded. 2. Provide a unified access method.   Using FastDFS, a distributed file system.Storage space ca ...

Posted by scerm on Thu, 09 May 2019 05:27:02 +0200

golang network programming

square-gopher.png Http requests are a stateless communication model that may sound confusing to beginners.Statelessness here means that each request is independent and independent of each other.Each request is not affected by the last request. Provide two components in the net/http module to handle Http requests. golang_ ...

Posted by sintax63 on Thu, 09 May 2019 04:00:04 +0200

[Front End Talk] Make Four Calculators

0x000 overview Recently, we have started to learn the basic aspects of computer, such as the principles of computer composition, network, compilation and so on. At present, we are just learning the principles of compilation and are beginning to be interested in it. However, the study of theory is a bit dull and boring. We have decided to change ...

Posted by jonnypixel on Wed, 08 May 2019 19:21:05 +0200

Shell command - wc, tr for file and content processing

File and Content Processing - wc, tr 1. wc: Count lines, words, or bytes of a file Functional description of wc command The wc command calculates the number of words.With the wc command, we can calculate the number of bytes, words, or columns of a file. If you do not specify a file name or give it a file name of'-', the wc command reads data ...

Posted by xydon1 on Tue, 07 May 2019 22:40:02 +0200

MQTT for GO uses Chinese documents

English Documentation: https://godoc.org/github.com/eclipse/paho.mqtt.golang github: https://github.com/eclipse/paho.mqtt.golang Constants const ( NET component = "[net] " PNG component = "[pinger] " CLI component = "[client] " DEC component = "[decode] " MES component = "[message] " STR componen ...

Posted by loureiro on Tue, 07 May 2019 03:35:03 +0200

Source code analysis of android okhttp

okhttp, a powerful development contribution of Square, is now the mainstream Android network framework. Now let's look at this framework and explore its source code. compile 'com.squareup.okhttp3:okhttp:3.8.0' The version we analyzed was 3.8.0. public class OkHttpClient implements Cloneable, Call.Factory, WebSocket.Factory ...

Posted by Evoke on Mon, 06 May 2019 06:15:03 +0200

Clever positioning of ANR issues

It must be that children's shoes that have been developed with Android have met anr (Application Not Responding).The general practice is to go to/data/anr/trace.txt and fetch the corresponding file.Then, find the result you want from this huge stack of information.But it's crazy to get a bunch of arn stack information. How can I find my problem ...

Posted by jplock on Sun, 05 May 2019 23:00:02 +0200

Practical Classes in Java

1. Enumerated is the use of Enumeration (enum): Reference data types: data, classes, interfaces, enumerationsswitch supports int String enumeration (enum)Enumeration uses encapsulation to solve unreasonable assignment problems Write a demo test First is an enumeration class of Gender gender, then I declare two constants pack ...

Posted by gunhoe86 on Sun, 05 May 2019 22:40:02 +0200

Bitcoin Development Course in Go Language Based on Mixin Network: Creating Robots

Mixin Network It is a free and extremely fast end-to-end encrypted digital currency trading system.In this chapter, you can create a bot in Mixin Messenger to receive user messages according to the tutorial, and learn how to transfer a bit coin to a robot or to a robot to transfer a bit coin to you. Mixin Network Development Resource Compilatio ...

Posted by Killswitch on Sun, 05 May 2019 21:40:03 +0200