• ## [IOS siege lion advanced essential skills] Kiwi: BDD behavior test framework

Time：2022-5-17

brief introduction Kiwi is a behavior driven testing framework for IOS development, which aims to provide a simple enough BDD library Project home page:https://github.com/kiwi-bdd/Kiwi Sample download:https://github.com/ios122/ios122 Installing with cocopods target :AmazingAppTests, :exclusive => true do pod ‘Kiwi’ end Change amazingapptests to the name of the tests target in your own project. For example, my is […]

• ## Some knowledge of scalar operators and Perl

Time：2022-4-28

1. Perl makes general variablesscalar, the direct quantity that this variable can refer to includes two types: digital direct quantity; String direct quantity. a) Representation of string:Single quotation mark, the meaning of the string in single quotation mark is intuitive, and there is no need to calculate the variable value and escape character;Double quotation marks. […]

• ## SpringBoot GraphQL Demo

Time：2022-4-11

SpringBoot GraphQL Demo Code example:https://github.com/Loading-Life/spring-graphql-demo reference material Graphql-Java Graphql-Java-Kickstart Practice of graphql in microservice architecture Graphql Java from introduction to practice Building a GraphQL Server with Spring Boot Graphql Java Preview public class HelloWorld { public static void main(String[] args) { //1. Define schema String schema = “type Query{hello: String}”; //2. Parse schema SchemaParser schemaParser […]

• ## Escape analysis of JVM series

Time：2022-4-4

1、 Foreword Think: are all objects created in the heap? The answer is No. Java objects are generally created in heap memory. When the heap memory space is insufficient, GC recycling will be triggered. More GC times will affect the performance of the program;thereforeescape analysisIt was born to alleviate this problem. 2、 What is escape […]

• ## [system architecture] understand the computing unit of shengteng Da Vinci architecture

Time：2022-2-21

Welcome to my official account, to get more notes.   O_o   >_<   o_O   O_o   ~_~   o_O This paper explains the architecture and computing principle of computing unit in shengteng Da Vinci architecture in detail. 1. Da Vinci Architecture Overview Da Vinci architecture is a “domain specific architecture” (DSA) chip. The […]

• ## 0201-PyTorch0. 4.0 migration guide and code compatibility

Time：2022-2-10

0201-PyTorch0. 4.0 migration guide and code compatibility catalogue 1、 Summary 2、 Merge tensor and variable classes 2.1 the type () in tensor has changed 2.2 when does autograd start automatic derivation? 2.3 operating requirements_ Grad logo 2.4 about data 3、 Now some operations return 0-dimensional (scalar) tensors 3.1 accumulated losses 4、 Discard volatile Tags 5、 […]

• ## Finding the intersection of straight lines by vector cross multiplication

Time：2022-2-6

Solution method Two tips: useVector to represent points, you can useVector additionTo showTranslation of points。 usePoint and vectorTo represent a straight line, which can be processedInfinite slopeThe situation. As shown in the figure, two straight lines intersect at the point$$I$$。 Let’s use some$$p_1$$Sum vector$$\vec v_1$$To represent straight line 1, with points$$p_2$$Sum vector$$\vec v_2$$To represent line […]

• ## Python – pandas series – the strongest pandas DataFrame. AGG interpretation

Time：2022-1-31

Official website:https://pandas.pydata.org/docs/reference/api/pandas.DataFrame.aggregate.html objective The main line of this article is to explore the basic usage of AGG and the corresponding applicable scenarios, and finally make a simple exploration of the source code layer. 1. This paper introduces the parameters of AGG and its demo 2. AGG usage case of groupby 3. By viewing the route […]

• ## Databend built in scalar function development guide

Time：2022-1-5

Original text:https://databend.rs/development/how-to-write-scalar-functions/ What is a scalar function? ¶ Scalar functions (sometimes referred to as user-defined functions / UDFs) return a single value for each record, rather than as a result set, and can be used in most places in queries or set statements, except for the from clause. One to One Mapping execution ┌─────┐ ┌──────┐ […]

• ## On PHP method parameter type constraints

Time：2021-12-22

In previous articlesAbout PHP method parametersIn, we talked about some tips about PHP method parameters. Today, we’ll take a closer look at the parameter types of methods in PHP. After PHP 5, PHP formally introduced method parameter type constraints. That is, if the type of method parameter is specified, passing parameters of different types will […]

• ## [system architecture] understand the shengteng Da Vinci architecture computing unit

Time：2021-12-21

Welcome to my official account, to get more notes.   O_o   >_<   o_O   O_o   ~_~   o_O This paper explains the architecture and computing principle of computing unit in shengteng Da Vinci architecture in detail. 1. Da Vinci Architecture Overview Da Vinci architecture is a “domain specific architecture” (DSA) chip. The […]

• ## C + + multithread correlation (thread, mutex, atomic message queue) under Linux

Time：2021-10-8

environment wsl ubuntu 18.04 LTS gcc version 7.5.0 In fact, this is not important, just a sense of ceremony, HH。 However, it must be implemented under Linux system. It is not allowed on Windows platform. C + + does not use this library to implement multithreading on Windows platform Time slice rotation code #include #include […]