Python 3 regular expression

re module 1,re.match function re.match attempts to match from the starting position of a string. If it cannot match from the starting position, it returns None. Syntax: re match(pattern, string, flags=0) Parameters: pattern -- regular expression String -- matching string flags -- flag bit, which is used to control the matching method of ...

Posted by ravnen on Sun, 06 Mar 2022 14:28:40 +0100

Getting started with Netty Basics

I. Basic Introduction 1.1 Netty knowledge 1.1.1 general Official website: https://netty.io/ Netty is a NIO client server framework, which can quickly and easily develop network applications, such as protocol server and client. It greatly simplifies and simplifies network programming such as TCP and UDP socket server.Netty is an asynchro ...

Posted by stig1 on Sun, 06 Mar 2022 14:18:44 +0100

ZYNQ FPGA experiment -- AD/DA test

preface This experiment is an ADDA test. The specific requirements, precautions and development process are as follows. ADDA test process:  1. Note that AN108 is a 34 pin plug. Pay attention to its insertion position. Align pin 1 with zynq base plate and do not insert it wrong.  2. The passband of the low-pass filter of Heijin ...

Posted by Headwaters on Sun, 06 Mar 2022 14:16:48 +0100

Linux -- thread synchronization (mutex lock, semaphore, read / write lock, spin lock, condition variable)

preface When multiple control threads share the same memory, it is necessary to ensure that each thread sees a consistent data view. If the variables used by each thread are not read or modified by other threads, there is no consistency concept. Similarly, if the variables are read-only, there will be no consistency problem when multiple th ...

Posted by rotwyla98 on Sun, 06 Mar 2022 14:01:30 +0100

Beginners' article - spring MVC - Interpretation of DispatcherServlet source code

SpringMVC After learning the Spring framework technology, there will be almost two groups of people: A group of people still don't understand what this thing is for; Others have almost understood the core idea, but do not know how to play its role. In the Spring MVC stage, you can gradually realize the convenience brought by the Spring frame ...

Posted by Rik Peters on Sun, 06 Mar 2022 13:58:25 +0100

Quickly review your knowledge of Flex layout

In a quick review, flex layout is basically used I Basic concepts of Flex layout All child elements of the Flex layout automatically become members of the container, called Flex items. The container has two axes: the main axis and the cross axis. As shown in the figure below. II The attribute of the container (that is, the attribute of the ...

Posted by alecodonnell on Sun, 06 Mar 2022 13:49:25 +0100

leetcode questions: the second week

Catalogue of series articles leetcode: Week 1 leetcode questions: the second week Tip: after writing the article, the directory can be generated automatically. For how to generate it, please refer to the help document on the right preface leetcode questions: the second week Day 1 (breadth first search / depth first search) 1. Im ...

Posted by nyy2000 on Sun, 06 Mar 2022 13:39:06 +0100

2022-03-06 swipe questions and punch in every day

2022-03-06 swipe questions and punch in every day Source code - div2 daily question Path count - topic - Daimayuan Online Judge There is an n × N grid, some grids are passable, and some grids are obstacles. At the beginning of your position in the upper left corner, you can go down or right every step and ask how many options there ar ...

Posted by mshen on Sun, 06 Mar 2022 13:37:26 +0100

TVM User Tutorial -- Quick Start Tutorial for Compiling Deep Learning Models

Author: Yao Wang, Truman Tian This example shows how to use the Relay python front end to build a neural network and generate a runtime library for Nvidia GPU with TVM. Note that you need to build TVM with cuda and llvm enabled. Overview of hardware backend supported by TVM The following figure shows the hardware backend currently supported ...

Posted by dolcezza on Sun, 06 Mar 2022 13:26:32 +0100

Hyperledger fabric running test network

1, Prepare linux environment or install a virtual machine in windows. The following are the tests under Linux environment. 2, Prerequisites Git ,cURL,Docker,Docker Compose 1. git installation sudo yum install git test git --version 2,cURL sudo yum install curl 3,Docker ,Docker Compose Docker should be able to install official documents. I hav ...

Posted by mdojet on Sun, 06 Mar 2022 13:22:15 +0100