Create react app quickly builds react projects, antd loads incoming and local request data on demand
# Global installation
npm install -g create-react-app
# Build a my-app Item
npx create-react-app my-app
cd my-app
# Tap on the key points of the blackboard, if you want to use less,Or it depends on the use webpack Configuration files, exposing webpack Profiles, using create-react-app The created projec ...
Posted by Misticx on Thu, 16 Jan 2020 02:51:06 -0800
Flow operation of new Java 8 features
What is flow operation
The Java 8 API adds a new abstraction called streaming Stream, which allows you to process data in a declarative way.
Stream provides a high-level abstraction of Java set operations and expressions in an intuitive way similar to querying data from a database using SQL statements.
Stream API can greatly improve ...
Posted by mathewvp on Thu, 16 Jan 2020 00:24:28 -0800
Seven principles of design mode
In the process of writing our call later, we will face from coupling. Cohesion and maintainability, scalability, reusability, flexibility and other challenges, design patterns to make the program have better:
Code reusability (i.e. code with the same function, not written many times)
Readability (i.e. ...
Posted by AwptiK on Wed, 15 Jan 2020 03:46:08 -0800
The use of Python evolutionary algorithm toolbox optimization of SVM parameters with evolutionary algorithm
Preface
Since the last two blogs Python genetic and evolutionary algorithm toolbox and its application in constrained single objective function value optimization And genetic algorithm The shortest path of directed graph After that, I learned the official documents of the toolbox and the research of ...
Posted by muthuraj_mr on Wed, 15 Jan 2020 01:24:37 -0800
High concurrent seckill Service layer
Design of Service layer
Create the required package
Service package: store the interface and implementation class of service
exception package: store some exceptions of service (repeat seckill, close seckill, etc.)
Dto package: it also stores data. The difference between dto and entity is that ...
Posted by dalecosp on Tue, 14 Jan 2020 21:09:40 -0800
Explain the space configurator in STL (SGI version)
Space Configurator
1. What is a space Configurator
Efficient management of space (space application and recycling) for each container
2. Why do I need a space Configurator
Various containers - > can store elements - > space is needed at the bottom
new application space
operator new ----&g ...
Posted by Immortal55 on Tue, 14 Jan 2020 19:42:20 -0800
CSS basic tutorial
Summary from Qianfeng HTML, CSS tutorial, original video websitehttps://www.bilibili.com/video/av52670599
Article directory
start
Basic concepts of HTML
HTML syntax
Typical structure of HTML document:
Common labels:
Extended learning
iframe nested pages:
map and area
embed and object
audio and ...
Posted by macloy on Mon, 13 Jan 2020 22:31:48 -0800
Android intelligent refresh framework SmartRefreshLayout
Original link
SmartRefreshLayout is a "smart" or "smart" pull-down refresh layout. Because of its "intelligence", it not only supports all views, but also supports multiple nested View structures. It inherits from ViewGroup instead of FrameLayout or LinearLayout, imp ...
Posted by dooper3 on Mon, 13 Jan 2020 19:58:23 -0800
MySQL learning - common database commands
Pycharmlog in to MySQL
1. Create project
2. Click the Database button on the right3. Enter the user name and password of mysql in the pop-up edit boxIf Server returns invalid timezone. Go to 'Advanced' tab and set 'serverTimezone' profile error is prompted, please refer to: Problem solving
Database ...
Posted by Giri J on Mon, 13 Jan 2020 19:51:16 -0800
RequestProcessor for source code analysis of zookeeper
Catalog
1, RequestProcessor
2, PrepRequestProcessor
3, SyncRequestProcessor
4, FinalRequestProcessor
1, RequestProcessor
The request processors are linked together to process transactions. Requests are always processed in order. Independent servers and master-slave servers link together slight ...
Posted by lucianbeauty on Mon, 13 Jan 2020 19:21:45 -0800