day8 - sets and strings

aggregate A collection is a container data type; Take {} as the flag of the container, and multiple elements are separated by commas: {element 1, element 2...} the set is variable and unordered Element: immutable and unique Empty set: x = {} is a dictionary ​ y = set() is an empty set The collection has its own de duplication function set3 ...

Posted by dave_2008 on Wed, 25 May 2022 21:05:39 +0300

Chapter 6 of Vue.js actual combat Form and v-model

title: Chapter 6 Form and v-model tags: 2019-11-30 notebook: Vue 6.1 basic usage v-model is used for bidirectional data binding on form elements: for example, the content entered in the input box will be mapped to the data on Bondi 6.1.1 attention After using v-module, the value displayed in the control of the form is only related to the bound ...

Posted by aahh on Wed, 25 May 2022 20:59:20 +0300

Start at the entrance

Start at the entrance We mentioned Vue before JS construction process. Under the web application, let's analyze the Vue built by Runtime + Compiler JS, whose entry is Src / platforms / Web / entry runtime with compiler js: /* @flow */ import config from 'core/config' import { warn, cached } from 'core/util/index' import { mark, measure } from ...

Posted by swathin2 on Wed, 25 May 2022 20:51:42 +0300

The relationship between the spatial domain filter and the frequency domain filter

Frequency domain filtering and spatial domain filtering are inextricably linked. The frequency domain filter achieves the purpose of image processing by controlling the changing frequency of the image, while the spatial domain filter achieves the effect of processing the image by convolving the template with the image matrix. It can be known fr ...

Posted by koldstar on Wed, 25 May 2022 20:50:54 +0300

Speech recognition test using Kaldi CVTE v2 model

initial file First install kaldi, refer to the official documentation Then, download http://kaldi-asr.org/models/m2 and extract it to egs/cvte, make sure the file kaldi/egs/cvte/s5 exists. The following describes how to add a new voice file and perform a recognition test. data/wav/chat001 Store voice files data/wav/chat001 ├── 001.wav └── 002 ...

Posted by gothica on Wed, 25 May 2022 20:30:35 +0300

SpringBoot 02 notes - SpringBoot configuration yml

Learn about bootstrapping to quickly create applications Reference code: E:\Javawinner\fastspringboot 1. Select spring initializr - > next - > set group and java version – > next to add dependency Various annotations @RestController Equivalent to@Controller @ResponseBody @RequestMapping("/hello") @RequestMapping(value="/hello ...

Posted by chetan1 on Wed, 25 May 2022 20:10:47 +0300

express middleware routing middleware routing Middleware / global / error handling / built-in / third-party middleware application

What is middleware Middleware is a bunch of methods, which can receive the request from the client, respond to the request, or continue to hand over the request to the next middleware for further processing Middleware consists of two parts: middleware method and request processing function The middleware method is provided by Express, which i ...

Posted by TheStalker on Wed, 25 May 2022 20:01:48 +0300

Performance analysis of XHProf

1. Install XHProf # page : https://pecl.php.net/package/xhprof wget http://pecl.php.net/get/xhprof-2.2.0.tgz tar -zxvf xhprof-2.2.0.tgz cd xhprof-2.2.0/extension cd xhprof-master/extension/ /usr/local/php/bin/phpize ./configure --with-php-config=/usr/local/php/bin/php-config --enable-xhprof make && make install 2. Install graphivz #Ins ...

Posted by adaykin on Wed, 25 May 2022 19:36:07 +0300

Implement the method of making the program wait for a period of time

JAVA background time waiting JAVA implements the method of making the program wait for a period of time. If you want the code to wait for a period of time before continuing to execute in JAVA, you can sleep the current thread for a period of time. 1. sleep method through thread try { Thread.currentThread().sleep(1000);//Wait 1 second } catc ...

Posted by XTTX on Wed, 25 May 2022 19:32:54 +0300

300 lines of code to realize the MVVM responsive principle of Vue

preface Source download Vue's responsive principle is an old interview question, and most people will choose to recite the answer directly to deal with the interview. Once the interviewer continues to ask questions, he can't answer anything. Therefore, I hope to write code (about 300 lines) to implement a simple Vue MVVM framework by referring ...

Posted by superdezign on Wed, 25 May 2022 19:16:48 +0300