MySQL Basic Operations and Data Types

Catalog 1. Folders (libraries) Add: Change: Check: Delete: 2. Documents (tables) Add: Change: Check: Delete: 3. One line of the document Add: Change: Check: Delete: 4. Complete grammar for creating ...

Posted by Aravinthan on Tue, 27 Aug 2019 23:42:53 -0700

DCore application case: issuing custom tokens (UIA)

Custom tokens To create a new custom token (user_issued_asset), use the create_user_issued_asset method. In addition to the symbol and precision parameters, you can change other parameters by calling the update_asset command. Note that if the param ...

Posted by stonefish on Mon, 26 Aug 2019 01:16:37 -0700

Synchronization Principle of MongoDB Copy Set

MongoDB synchronization principle, the official documents introduced less, online information is not too much, the following is a combination of official documents, online information and testing logs, sorted out a little.Because each fragment of MongoDB is also a replica set, only the synchronization principle of the replica set is needed. I. ...

Posted by Cory94bailly on Sun, 25 Aug 2019 23:43:45 -0700

Fifteenth Day of Java Learning

Map: Independent Interface HashMap: Use hash tables to ensure that keys do not repeat: int hashCode() boolean equals(Object obj) TreeMap: Use binary tree, sort by key, Comparable < E > int compare To (E) Comparator < E > int compare (E 1, E 2) Note: compare To () or comparison method return value of 0 is considered to be t ...

Posted by thryb on Sun, 25 Aug 2019 07:45:44 -0700

Homemade simple thread pool with java (independent of concurrent package)

Long ago, people did not want to use processes in order to continue to enjoy the benefits of parallelism, so they created lighter threads than processes. Taking linux as an example, creating a process needs to apply for new memory space and copy some data from the parent process, so the overhead is relatively large. Threads (or lightweight proc ...

Posted by Nakor on Sun, 25 Aug 2019 04:50:22 -0700

Python Basic Data Types and Methods for Introduction to Python

Python Basic Data Types for Python Introduction 1. Integer: int For calculation, for comparison (the right side of the equals sign is executed first when assigning values) The addition of 1.1 integers a = 10 b = 20 print(a + b) //Result: 30 Subtraction of 1.2 integers a = 10 b = 20 print(b - a) //Result 10 Multiplication of 1.3 Integers a = 10 ...

Posted by dacs on Sun, 25 Aug 2019 03:43:10 -0700

JDK Source Priority Blocking Queue

Today we continue to talk about the implementation of blocking queue. Today's protagonist is Priority Blocking Queue. From the naming point of view, it should be orderly. After all, it's priority queue. So what's the actual situation? Let's look at its internal implementation together and explain in advance, because Priority Blocking Queue is i ...

Posted by Sturm on Sat, 24 Aug 2019 02:14:46 -0700

Quantify Turtle Trading Rules with Python!

1 Introduction For the directional strategy of pure bull or short, only when the stock price is a mean regression or trend, can the trading strategy be profitable. Otherwise, if the price is random walk, the transaction will be unprofitable (Fa ...

Posted by welsh_sponger on Fri, 23 Aug 2019 23:45:47 -0700

Target Tracking and Color Recognition (How inRange Finds Target HSV Value)

What can the inRange function do? Target tracking and color recognition. In the process of inRange application, it is important to find the appropriate HSV value. RGB is the most widely heard color space, which is also the natural representati ...

Posted by alvinho on Fri, 23 Aug 2019 06:54:08 -0700

day08 [String class, static, Array class, Math class]

day08 [String class, static keyword, Array class, Math class] Today's Content String class static keyword Array class Math class target Ability to create string objects using String class constructors Ability to specify the cons ...

Posted by MrBiz on Fri, 23 Aug 2019 04:50:25 -0700