python web development - getting started with Django
Opening chapter
Through the previous article python entry practice - student management system I practiced a bunch of python syntax. This article summarizes the introduction of Django as a web framework. The premise is to have relevant web development experience (Java, php, etc.). Because this article will not involve the concept of http protoc ...
Added by neex1233 on Fri, 31 Jan 2020 13:03:59 +0200
Python multitasking - process
Advanced programming skills learning notes
I. progress
1.1 process and procedure
Process: executing code + resources used
Program: no executed code, it is a static exe file
1.2 process status
1.3 use process to realize multi task
Multiprocessing module is a cross platform multiprocessing module ...
Added by JukEboX on Fri, 31 Jan 2020 05:57:38 +0200
Some noticeable points about Promise object
By studying Ruan Yifeng's Getting started with ECMAScript 6 , some knowledge points that Promise can easily forget
new Promise((resolve, reject) => {
reject()
resolve()
console.log('hello')
}).then(() => {
console.log('resolve');
}, () => {
console.log('reject');
})
for (let ...
Added by bigswifty on Wed, 29 Jan 2020 17:30:45 +0200
Use BeetleX.NetBenchmark to test TCP,HTTP, and Websocket services
NetBenchmark is an open source component tailored for network service pressure testing, which provides TCP,HTTP, and Web ocket stress testing infrastructure; in order to better meet business requirements, components do not provide a way to configure the source of UI information (after all, this can only be a limited test), but rather users deve ...
Added by jmugambi on Tue, 28 Jan 2020 05:40:38 +0200
The python implementation of photogrammetric space resection
Photogrammetry programming 1 - space resection
A file needs to be created for the required data
1) Obtain known data. The average altitude and the main distance of the camera are obtained from the aerial photogrammetry data, and the ground measurement coordinates of the control points are obtained and ...
Added by cap97 on Mon, 27 Jan 2020 06:53:07 +0200
Introduction to Canal - server
Canal is an incremental log resolution for MySQL database provided by Ali, which provides a framework (component) for incremental data subscription and consumption.
1. Configure the MySQL configuration file (my.ini), and add the following configuration:
[mysqld]
log-bin=mysql-bin #Enable log monitoring
binlog-format=ROW #Monitoring mode is ...
Added by madhu on Sun, 26 Jan 2020 20:03:05 +0200
What is a heap in the series of one text to understand data structure? Just read this one
This paper will first introduce what is heap, then introduce the insert and delete operation of heap, and finally give the code implementation of heap and test it.
What is a heap?
A heap is a complete binary tree. The value of a node in the heap is always no greater than or no less than the value of i ...
Added by shaneH on Sun, 26 Jan 2020 13:46:14 +0200
Remember once algorithm optimization
This period of time brushed the letcode, the fun of programming may be `It's there, and you're going to conquer it'(Hahaha), there's a strange pleasure when you brush a question!
This article records an algorithmic problem I brushed and went through a process of continuous optimization and improveme ...
Added by ValdouaD on Sat, 25 Jan 2020 08:51:06 +0200
"Class - Basic Concepts 2" Learned by Scala
Internal Class
import scala.collection.mutable.ArrayBuffer
class Class {
class Student(val name: String) {} //Internal class here
val students = new ArrayBuffer[Student]
def getStudent(name: String) = {
new Student(name)
}
}
val c1 = new Class
val s1 = c1.getStudent("0mifang")
c1.students += s1
val c2 = new Class
val s2 = c2.getStudent ...
Added by zzz on Wed, 22 Jan 2020 06:12:18 +0200
IDEA sums up the code of sharpening the knife
If you want to be good at your work, you must first make use of your tools. At present, countless Java programmers have replaced Eclipse in the stone age with InteliJ IDEA, a modern intelligent development tool. It's a great time to write code (joke, each has its own advantages, depending on personal habits)
But every time I see other people us ...
Added by glansing on Tue, 21 Jan 2020 06:20:21 +0200