Understanding the principle of automatic configuration in SpringBoot learning notes

Understand the principle of automatic configuration 1. SpringBoot features 1.1. Dependency management Dependency management of parent project Dependency management <parent> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-parent</artifactId> <version ...

Posted by vintox on Wed, 23 Feb 2022 16:51:00 +0100

Copy of pointnet code (the most complete in the whole network) from scratch

import numpy as np import matplotlib.pyplot as plt import torch import torch.nn as nn import torch.nn.functional as F import torch.optim as optim from torch.utils.data import Dataset,DataLoader import h5py import glob import os import json from tqdm import tqdm import sys import open3d as o3d Written in the front, the directory structure of ...

Posted by dourvas on Wed, 23 Feb 2022 16:41:50 +0100

I always hear about AGP. What did it do?

preface The beginning of the story is like this. When reading "Android Development Master Course" before, it was mentioned in the column of startup optimization that systrace + function plug-in is a good way of Caton troubleshooting. The main way is through Transform + Asm. I believe you are an old acquaintance. When using the ...

Posted by fatfrank on Wed, 23 Feb 2022 16:32:56 +0100

C + + smart pointer

Smart pointer Why do I need smart pointers Problems with bare pointers Bare pointer is a common pointer defined normally. It has many problems, mainly the following: 1. It is difficult to distinguish whether it points to a single object or an array; 2. After using the pointer, it is impossible to judge whether the pointer should be destroy ...

Posted by Nexy on Wed, 23 Feb 2022 16:30:13 +0100

Ioc and annotation development

Ioc and annotation development 1. Spring configuration data source 1.1 function of data source (connection pool) Data source (connection pool) is the key to improve program performanceInstantiate the data source in advance and initialize some connection resourcesGet from data source when using connection resourcesReturn the connected res ...

Posted by ITEagle03 on Wed, 23 Feb 2022 16:19:04 +0100

HTML table (for the use of HTML table, collecting this one is enough)

HTML table Article catalogue HTML table 1. Definition of form2. Label of the form3. Cell border4. Merge cells 4.1 merge row cells (colspan)4.2 merge column cells (rowspan) 5. Table format setting 5.1 cell align ment (center, left, right)5.2. Bgcolor & background 5.2.1 cell background color & picture5.2.2 table bac ...

Posted by electronish on Wed, 23 Feb 2022 16:08:23 +0100

JAVA network programming

Section I overview of network communication 1.1 software structure Network programming is a program that realizes the communication between two computers under a certain protocol C/S structure: the full name is Client/Server structure, which refers to client and server structure. Common programs include QQ... And other software B/S struct ...

Posted by thumrith on Wed, 23 Feb 2022 16:01:20 +0100

How difficult is it to write an App startup task framework?

Author: Wang Chenyan When we are developing applications, we usually introduce SDKs, and most SDKs require us to initialize in the Application. When we introduce more and more SDKs, the Application will become longer and longer. If the initialization tasks of the SDK depend on each other, we have to deal with many condition judgments. At thi ...

Posted by exa_bit on Wed, 23 Feb 2022 15:57:12 +0100

opencv geometric transformation (python)

Geometric transformation Geometric transformation refers to the operation of mapping one image to another. zoom Use function CV2 Resize() to zoom the image dst = cv2.resize( src, dsize[, fx[, fy[, interpolation]]] ) dst represents the output target image. The type of the image is the same as src, and its size is dsize (when the value ...

Posted by forcom on Wed, 23 Feb 2022 15:54:59 +0100

Introduction to Socket programming under Linux

1. Network byte order and host byte orderNetwork byte order is a data representation format specified in TCP/IP. It has nothing to do with the specific CPU type and operating system, so as to ensure that the data can be correctly interpreted when transmitted between different hosts. The network byte order adopts the big endian sorting method.Di ...

Posted by treilad on Wed, 23 Feb 2022 15:51:56 +0100