[hard core] dream back to the bully
Growing up is a process of constant loss.
The author is a post-90s.
When we were young, our family conditions were poor and the means of entertainment were very poor. Unlike today's children who can play with mobile phones, tablets and computers, at that time, a stack of small raccoon Water Margin cards can play for a whole day. If there ...
Posted by George Botley on Thu, 17 Feb 2022 13:14:19 +0100
Design pattern | factory pattern (simple factory, factory method, abstract factory)
catalogue
Simple factory
Factory method
Abstract factory
Learning factory mode requires relevant inheritance and polymorphism knowledge such as C + + virtual function and pure virtual function
Simple factory
In simple factory mode, different instances can be returned according to different parameters.. The simple factory pattern specific ...
Posted by molave on Thu, 17 Feb 2022 13:08:03 +0100
Super easy to use code formatting tool Astyle
This software is applicable to C, C++, C++/CLI, Objective ‑ C, C#, and Java
1, Use process
1. Install software
linux: apt install astyle, restart vscode
windows: Download the latest version , add the exe PATH to the PATH, and restart vscode
2. Install vscode plug-in Astyle
3. Configuration
Use: settings - > extension - > astyle - & ...
Posted by sONOCOOLO on Thu, 17 Feb 2022 13:02:18 +0100
[machine learning] Part 2: decision tree regression
Decision tree regressionCore idea: similar inputs will produce similar outputs. For example, predict someone's salary:Age: 1-young, 2-middle-aged, 3-old
Education: 1-bachelor, 2-master, 3-doctor
Experience: 1-debut, 2-general, 3-veteran, 4-ashes
Gender: 1-male, 2-femaleAgeeducationexperienceGender==>salary1111==>6000 (low)2131==>10 ...
Posted by shanksta13 on Thu, 17 Feb 2022 12:56:52 +0100
SQL ability practice of deep love
@SQL skill improvement
MySQL index
At present, I'm a junior. I want to be engaged in data warehouse development, but the ability of data development is also particularly high in the market,
I also interviewed many small companies and agreed that I didn't have a deeper understanding of the workflow and project expansion of the whole project
A ...
Posted by markmil2002 on Thu, 17 Feb 2022 12:54:18 +0100
Linux system programming - process creation (fork), external program call (exec)
1. Introduction to fork functionfork function is a very important function in linux. It can create a new process from an existing process. The new process is a child process and the original process is a parent process.The return value of fork function is as follows:
1. In the parent process, fork returns the PID number of the newly created ch ...
Posted by whatever on Thu, 17 Feb 2022 12:50:52 +0100
vue learning notes 3: basic grammar of vue systematic learning notes
Reference documents: Introduction | Vue js
API documentation: API | Vue.js
1, Global method: Application API | Vue js
component:
Register or retrieve global components. Registration also automatically sets the name of the component using the given name parameter.
config:
An object that contains the application configuration. ...
Posted by kporter.porter on Thu, 17 Feb 2022 12:49:26 +0100
Python wide search (BFS) and deep search (DFS)
BFS
What is BFS
BFS is called breadth first search, also called breadth first search. Its alias is BFS, which belongs to a blind search method. Dijkstra single source shortest path algorithm and Prim minimum spanning tree algorithm adopt the idea similar to width first search. The purpose is to systematically expand and check all nodes in ...
Posted by corrupshun on Thu, 17 Feb 2022 12:45:46 +0100
[machine learning] Part 2: linear regression
linear modelLinear model is one of the simplest models in nature. It describes that the influence of one (or more) independent variable on another dependent variable is in a simple proportional and linear relationship For example:The unit price of housing is 10000 yuan per square meter, 1 million yuan for 100 square meters and 1.2 million yuan ...
Posted by delmardata on Thu, 17 Feb 2022 12:43:22 +0100
Network programming (preliminary understanding of TCP, UDP and URL)
catalogue
1, There are two main problems in network programming:
2, Two elements in network programming:
3, Communication element 1: IP and port number
4, Realize TCP network programming
Example 1: the client sends information to the server, which displays the information on the console.
Example 2: the client sends a file to the server, w ...
Posted by PC Nerd on Thu, 17 Feb 2022 12:33:18 +0100