vnpy source reading learning: about app
About app
In the entry program, we see gateways, apps, and various types of engines added to mainEngine.It is not difficult to guess that gateway mainly deals with external situations, interface code in all aspects, and it is not difficult to see that Engine is the core of vnpy through other people's articles, and can handle all aspects such as ...
Posted by _spaz on Sun, 29 Mar 2020 21:24:55 -0700
9. SpringCloud Chapter 9, Upgrade, Load Balancing and Service Calls Ribbon and OpenFeign
SpringCloud Chapter VIII, Upgrade, Load Balancing and Service Calls Ribbon and OpenFeign
1. Ribbon
1. Overview
SpringCloud Ribbon is a set of client load balancing tools that give NetFlex Ribbon implementations.
Simply put, the main function is to provide load balancing algorithms and service calls for clients.The Ribbon client componen ...
Posted by worldcomingtoanend on Sun, 29 Mar 2020 21:12:58 -0700
Architect's Inner Work, the most complex of the 23 design patterns for visitors
Visitor Pattern is a design pattern that separates data structure from data operation.It refers to the encapsulation of operations that act on various elements in a data structure. It can define new operations that act on these elements without changing the data structure.
Visitor mode is called the most complex design mode and is not used freq ...
Posted by A JM on Sun, 29 Mar 2020 21:03:38 -0700
Vue - - Nuxt.js for the whole family
1. Directory structure
2. Aliases
On the vue page of nuxt.js, you can use ~or ~~ if you need to import resources from a directory such as assets or static.
3. Routing
Nuxt.js automatically generates the routing configuration for the vue-router module based on the pages directory structure. To use routing between pages, we recomm ...
Posted by nemesis.2002 on Sun, 29 Mar 2020 19:53:29 -0700
8, PlSql programming of Oracle
1. PlSql programming procedure language
In the sql statement of database, the common definition of variable condition judgment cycle structure is added to the statement of process 1) . basic grammatical structure
declare
– declaration part
– similar to defining variables
begin
&nda ...
Posted by jayd1985 on Sun, 29 Mar 2020 09:01:48 -0700
Basic technology of machine vision implemented by python+opencv (edge extraction, image filtering, edge detection operator, projection, license plate character segmentation)
Catalog
1: Edge extraction
1. Threshold segmentation and color reversal of image
2. Edge extraction
2: Image filtering
1. Read the original drawing
2. Mean filtering
3. Median filtering
4. Gaussian filtering
5. Gaussian edge detection
3: Edge detection operator
1. Display the original drawing
2. Reverse the image
3. Image edge detec ...
Posted by kliopa10 on Sun, 29 Mar 2020 05:47:54 -0700
Functional programming with C#3
Preface
Today I chatted with someone about LINQ in C#and found that the LINQ I know seems to be different from the LINQ most people know. Why not?In fact, LINQ can also be used to do functional programming.
Of course, not to write a few Lambdas and use stream s like Java, even called LINQ, but LINQ is something else.
LINQ
In C#, I'm sure you've ...
Posted by cuboidgraphix on Sat, 28 Mar 2020 10:24:28 -0700
The use of BeanListHandler interface in DBUtils
Original link: http://www.yiidian.com/dbutils/dbutils-beanlisthandler.html
org.apache.commons.dbutils.BeanListHandler is the implementation of the ResultSetHandler interface, and is responsible for converting all records at the ResultSet result level to the List collection of JavaBean s. This class is thread safe.
1 syntax for beanlisthandler
L ...
Posted by codygoodman on Sat, 28 Mar 2020 07:55:12 -0700
docker+springboot+rabbitmq to implement dead letter queue
1. Download and start rabbitmq
docker pull hub.c.163.com/library/rabbitmq:3-management
docker run -d -p 5672:5672 -p 15672:15672 --name mymq hub.c.163.com/library/rabbitmq:3-management
#web access path ip:15672
#User name: guest password: Guest
2. Introduce dependency into the project of springboot
<dependency>
< ...
Posted by Wolverine68 on Sat, 28 Mar 2020 07:31:46 -0700
sublime shortcut keys and settings configuration - jetbrains habits
start
After many small partners use jetbrains series editors and use lightweight sublime, some settings and shortcut habits may not be suitable
Today, Xiaobian will give you some common sublime settings and shortcut key configurations
Set up
{
// Color theme
"color_scheme": "Packages/Color Scheme - Default/Monokai.sublime-color-scheme", ...
Posted by hunna03 on Fri, 27 Mar 2020 09:17:59 -0700