ClickHouse in simple terms (data type)
1, Data type
There are only three basic types: value, string and time. There is no Boolean type, but you can use integer 0 or 1 instead. ClickHouse's data types are compared with those of other common storage systems:
Official website: https://clickhouse.tech/docs/zh/sql-reference/data-types/
1.1 value type
Numerical types are divided ...
Added by Appletalk on Sat, 19 Feb 2022 13:53:02 +0200
Comparison between WebGL and WebGPU [4] - Uniform
As we all know, when GPU runs programmable pipeline, shaders run in parallel, and each shader entry function will be executed in parallel in GPU. Each shader charges a large piece of data in a unified format, reflecting the advantages of GPU multi-core, which can process data with small cores at the same time; However, some data is the same for ...
Added by lynx2003 on Sat, 19 Feb 2022 13:50:26 +0200
Swift Series Four-Enumeration
Moderately aliasing types can make your code easier to understand, more efficient to develop, and more maintainable.
1. typealias (alias)
Typeealias are used to alias types.
typealias Byte = Int8
typealias Short = Int16
typealias Long = Int64
typealias Date = (year: Int, month: Int, day: Int)
func test(_ date: Date) {
print(date.year) ...
Added by tazz on Sat, 19 Feb 2022 13:48:18 +0200
[mybatis] a direct conclusion
Mybatis
brief introduction
MyBatis is an excellent persistence layer framework, which supports custom SQL, stored procedures and advanced mapping. MyBatis eliminates almost all JDBC code and the work of setting parameters and obtaining result sets. MyBatis can configure and map primitive types, interfaces and Java POJO s (Plain Old Java Objec ...
Added by Griff1324 on Sat, 19 Feb 2022 13:48:02 +0200
Leetcode notes -- modification and construction of binary search tree in binary tree chapter
Catalogue of series articles
I Array type problem solving method 1: dichotomy II Array type problem solving method 2: Double finger needle method III Array type problem solving method 3: sliding window IV Array type problem solving method 4: simulation V The basic operation and classic topics of the linked list Vi Classic title of hash tab ...
Added by kb9yjg on Sat, 19 Feb 2022 13:43:47 +0200
Vue3 script setup user guide
prefaceThis article mainly explains the basic use of < script setup > and TypeScript.What is < script setup >?< script setup > is a compile time syntax for using the composition api in a single file component (SFC).When writing this article, vue uses version 3.2.26.1. Development courseLet's take a look at the development of v ...
Added by $var on Sat, 19 Feb 2022 13:37:25 +0200
Custom iview selector (original) - Select All button Csearch
This component relies on the select of iView and can be freely used in projects with iView installed globally or in pages with select introduced locally.
catalogue
Effect displayFunction descriptionStructure codeLogic codeComponent applicationevent hook github
Effect display
From left to right: unselected status, selected stat ...
Added by TheDeadPool on Sat, 19 Feb 2022 13:33:08 +0200
Java network programming
summary
Call – connect – receive – call TCPSend SMS – send and finish – receive UDPPurpose of network programming:
Dissemination and exchange of information, data exchange and communication Premise:
How to accurately locate a host 192.168.16.124: port on the network and locate a resource on this computerHow ...
Added by DaiLaughing on Sat, 19 Feb 2022 13:29:08 +0200
Mutex and lock of C + + standard library_ guard,recursive_mutex,timed_mutex,recursive_timed_mutex,unique_lock
1, mutex
The full name of mutex is mutual exclusion, which is an object used to help control "concurrent access to resources" in an exclusive and exclusive mannerFor example, let's lock a resource
void f(int val);
int val; //shared resource
std::mutex valMutex; //mutex
void func()
{
//Lock and then operate the sh ...
Added by kr4mer on Sat, 19 Feb 2022 13:26:52 +0200
Original SLAM exercise - rigid body rotation in three-dimensional space
Handwritten SLAM notes from zero
Rotation mode conversion
Title 1: the known rotation matrix is defined as rotating 45 ° along the Z axis. Please initialize the rotation vector, rotation matrix, quaternion and Euler angle according to this definition. Please program:
1. The mutual conversion relations of the above four expressions ...
Added by jonasr on Sat, 19 Feb 2022 13:20:47 +0200