Summarize the sell project

Because there is no WeChat public number, so learning to pay can not go down. Tables are related: create table `product_info`( `product_id` varchar(32) not null, `product_name` varchar(64) not null comment 'Trade name', `product_price` decimal(8,2) not null comment 'Unit Price', `product_stock` int not null comment 'Stock', ...

Posted by ict on Mon, 30 Sep 2019 13:25:43 -0700

Simple Implementation of Java lambda Writing

As we all know, Java 8 supports lambda expressions, and some common operations can be implemented through lambda, such as traversing List, or implementing an event interface, as well as Swing events that we are familiar with, as shown in the following cases: // Before Java 8: JButton b1= new JButton("BeforeJava8"); b.addActionListener(new A ...

Posted by johnh2009 on Mon, 30 Sep 2019 03:21:08 -0700

Python Foundation - Functions

I. Functional function 1. What is a function? Functions are organized, reusable code segments that implement a single, or related function. Functions can improve the modularity of applications and the reuse of code. 2. Definition of function Syntax: def functionname( parameters ): "function_Document string" function_suite re ...

Posted by mervyndk on Thu, 26 Sep 2019 22:47:33 -0700

cookboo Learning: 1. Common Techniques for python Data Structure and Algorithms

Data Structure and Algorithms 1. Decomposition the sequence into separate variables problem Need to decompose the primitive and sequence of N elements into N separate variables Solution Using unpacking to decompose iterative objects >>> p = (4, 5) >>> a, b = p >>> a 4 ...

Posted by rross46 on Thu, 26 Sep 2019 05:42:43 -0700

Functional parameters, scopes, higher-order functions, recursive functions, higher-order functions

# - Must parameters, keyword parameters, default parameters - - - 1 def user_info(name,age,sex="male"): 2 print("Nmae: %s"% name) 3 print("Age: %d" % age) 4 print("Sex: %s" % sex) 5 6 #Necessary parameters('dream',18) 7 user_info('dream',18) #Nmae: dream Age: 18 Sex: male 8 #Keyword parameters(age=10,name='rise') ...

Posted by balloontrader on Thu, 26 Sep 2019 02:42:24 -0700

New features of Java 8 are carefully organized

Preface More and more projects have been used Java 8 No doubt, Java 8 It is the most important version of Java since Java 5 (released in 2004). This version contains more than a dozen new features, including languages, compilers, libraries, tools, and JVM. In this article, we will learn about these new features and illustrate with practical exa ...

Posted by bamse on Sat, 21 Sep 2019 08:14:57 -0700

Exercise Practice of Expression Tree: C# Cycle and Cycle Control

Catalog Exercise Practice of Expression Tree: C# Loop LabelTarget for / while loop Infinite cycle The simplest cycle Multiple cycles break and continue together Exercise Practice of Expression Tree: C# Loop C# provides the following types of loops. Cycle type des ...

Posted by mapleleaf on Fri, 20 Sep 2019 06:41:59 -0700

python multiprocess, process pool, data sharing, process communication, distributed process

I. Knowledge of Processes in Operating Systems _Unix/Linux operating system provides a fork() system call, which is very special. Ordinary function calls, call once, return once, but fork() call once, return twice, because the operating system automatically copies the current process (called the parent process) into a copy (called the child pr ...

Posted by psgarcha on Thu, 19 Sep 2019 05:09:15 -0700

Python Core Technology and Practical Notes

Basic articles Jupyter Notebook Advantage Integrate all resources Interactive programming experience Zero Cost Reproduction Results Practice site Jupyter Official Colab environment provided by Google Research install Function Lists and tuples Lists and tuples are ordered collections that can place arbitrary data types. l = [1, 2, 'hello' ...

Posted by jmac2501 on Thu, 19 Sep 2019 04:03:38 -0700

Automatic recognition of multiple cross targets based on opencv and matlab and multiple matching of template matching

Camera calibration often uses calibration boards. The common calibration methods are teacher Zhang Zhengyou's plate calibration. The common calibration boards are chessboard calibration board and disc calibration board. But in many places, when u ...

Posted by lordofgore on Tue, 17 Sep 2019 06:01:45 -0700