Basic use of hugegraph
HugeGraphServer
Hugegraphserver (hereinafter referred to as HGserver) REST-API It provides a variety of resource access methods, including five common ones: (it is recommended to test in postman)
Graph: query vertices and edges (e.g.: IP: 8080 / graphs / hugegraph / graph / vertices)
Schema: query ve ...
Posted by darkknightgaury on Thu, 25 Jun 2020 03:58:32 -0700
Chain lists, trees, diagrams, and recursive notes in data structures
1. Structures
Structures are important in data structures, so first understand the structure-related knowledge points.
struct LNode{
int data;
char name[20];
};
//struct is the keyword that defines the structure, and LNode is the name of the structure
//For example, create an object for the previous ...
Posted by Lonepig on Wed, 24 Jun 2020 18:23:56 -0700
05 CSS from principle to proficiency - 1
Introduction to CSS
The function and development of CSS
What is CSS?
(1) CSS (Cascading Style Sheet) is called Cascading Style Sheet.
(2) It is a kind of document that describes the expression of structural documents, mainly used for web page style design, including font size, color, and accurate ...
Posted by SquirrelJ on Tue, 23 Jun 2020 20:11:17 -0700
Brief analysis of Deno source code interaction between JS and Rust
start
Today, we start to analyze how JS and Rust interact. After all, the performance of JS is still not competent in some scenarios. This is the time when Rust is on the stage. The two complement each other and do no harm!
op
I have always said that op is a plug-in mechanism on deno. All functions on deno are basically based on this plug-in me ...
Posted by limao on Mon, 22 Jun 2020 22:36:23 -0700
PowerMockito.mockStatic(class) simulate static method call
Article catalog
PowerMockito.mockStatic(class) simulate static method call
Why write unit tests
Introduce dependency
Simulation tool class calls static methods
Notes
PowerMockito.mockStatic(class) simulate static method call
Why write unit tests
give us the confidence to refactor. A bunch o ...
Posted by _theworks on Mon, 22 Jun 2020 22:22:57 -0700
Python core
Python orchestration
Basics
Co programming is a way to realize concurrent programming
example
Simple reptiles
import time
def crawl_page(url):
print('crawling {}'.format(url))
sleep_time = int(url.split('_')[-1])
time.sleep(sleep_time)
print('OK {}'.format(url))
def main(urls):
...
Posted by jerastraub on Mon, 22 Jun 2020 22:14:24 -0700
Analysis and prediction of Telecom user churn
Analysis and prediction of Telecom user churn
1, Project background
2, Analysis purpose
3, Data source
4, Ask questions
5, Analysis process
6, Understanding data
1. Feature understanding
2. Import data
3. Data transformation
7, User churn analysis
1. Analysis of loss proportion
2. User attribute a ...
Posted by Envex on Sun, 21 Jun 2020 20:06:40 -0700
Operating system experiment - disk scheduling algorithm (FIFS SSTF SCAN)
Operating system experiment - disk scheduling algorithm (FIFS SSTF SCAN)
1, Purpose of the experiment
1. Understand the strategy and principle of disk scheduling;
2. Understand and master the disk scheduling algorithms: FCFS, SSTF and SCAN.
2, Experiment content
1. First come, first served (FCFS), ...
Posted by ryanfern86goa on Sat, 20 Jun 2020 22:02:17 -0700
Gobang game designed by Java
requirement:
1. Write Gobang game in java
2. The program has a simple and beautiful graphical interface, and the interface is mainly composed of board, title and buttons for game operation. In addition, the size of the game interface is immutable, the program will automatically obtain the size informa ...
Posted by haddydaddy on Sat, 20 Jun 2020 01:19:45 -0700
[QT] some notes on using QIODevice to read audio
[QT] some notes on using QIODevice to read audio
Some preparations ahead
Environmental preparation
ffmpeg part
qt part
Get to the point
First attempt
A little improvement
Another improvement
The first time I used csdn to write a blog, it's so troublesome. This markdown editor is enough for me ...
Posted by Patch^ on Sat, 20 Jun 2020 00:56:53 -0700