ElementUI problem list

1. When there is only one input under the form, press enter to refresh the page The reason is that the default submission behavior of the form is triggered. Just add @ submit.native.prevent to the El form. <el-form inline @submit.native.prevent>  <el-form-item label="order number">    <el-input      v-model="query.orderNo"      : ...

Posted by scast on Fri, 03 Dec 2021 22:19:19 -0800

Python learning 2 -- DBSCAN clustering algorithm

1, Principle Reference blog: Python implementation of DBSCAN clustering algorithm_ Xu Yi's column - CSDN blog_ dbscan pythonhttps://blog.csdn.net/xyisv/article/details/88918448 DBSCAN is a density based clustering algorithm. This kind of density clustering algorithm generally assumes that the category can be determined by the tightness of sam ...

Posted by carleyvibe on Fri, 03 Dec 2021 22:18:06 -0800

Use of ReadWriteLock in Concurrent Programming Series

Use of ReadWriteLock in Concurrent Programming Series1. What is ReadWriteLock?ReadWriteLock is a read-write lock api provided in the juc package of jdk. It maintains a pair of associated read locks and write locks. The read locks can be shared by multiple read threads, and the write locks are exclusive.2. Why do I need ReadWriteLock?Previously, ...

Posted by Scott_J on Fri, 03 Dec 2021 22:13:34 -0800

Protobuf novice tutorial

Protobuf is a lightweight and efficient structured data storage format officially produced by Google, which can be used for structured data serialization, or serialization. It is very suitable for data storage or RPC data exchange format. It can be used for platform independent, language independent and extensible serialization structure data f ...

Posted by hyperpcs on Fri, 03 Dec 2021 22:08:32 -0800

Assembly language (input several decimal values (0-9) from the keyboard and display their sum in decimal)

subject Receive several one digit decimal values (0-9) from the keyboard and display their sum in the form of decimal data. requirement: 1) The input of one decimal value is realized by subroutine 2) When the user enters directly without entering a value, the input is ended 3) The input data is multi digit decimal data, and the sum calculated ...

Posted by sachavdk on Fri, 03 Dec 2021 22:06:01 -0800

Implementation of non one size fits all two-dimensional rectangular layout algorithm based on linked list and tabu search heuristic algorithm

1, Introduction to two-dimensional rectangular layout    the two-dimensional rectangular layout problem can be simply understood as: given a rectangular material, multiple small rectangles with different sizes need to be cut from it. How to cut them to maximize the utilization of materials. 2, Method introduction   the editor ...

Posted by D3xt3r on Fri, 03 Dec 2021 22:04:46 -0800

Spring source code -- Bean instantiation

Last BeanWrapper We introduced the origin of BeanWrapper. Now let's continue to see how Spring constructs a Bean. The code is not long and not particularly complex /** * Use the appropriate instantiation strategy to create beans: factorymethod, automatic injection of constructor, or simple parameterless constructor */ protected BeanWrap ...

Posted by dianaqt on Fri, 03 Dec 2021 22:01:04 -0800

Introduction to Java - definition, call and overload of methods

1. Format of definition method Modifier return value type method name(parameter list){ //Code omission return result; } Modifier: public static fixed writing methodReturn value type: the data type representing the result of the method operation. After the method is executed, the result is returned to the callerParameter list: unknown da ...

Posted by Chris1981 on Fri, 03 Dec 2021 21:59:28 -0800

STM32F103C8T6 uCOS migration based on HAL Library

Based on HAL library, this paper realizes the transplantation of uCOS by using STM32CubeMX software and STM32F103C8T6 software. 1, CubeMX establishes STM32F103C8T6HAL Library For details about the use of CubeMX here, please refer to my previous articles. Here you can operate directly without too much introduction. Installation and light ...

Posted by GuiltyGear on Fri, 03 Dec 2021 21:50:08 -0800

Postfix and Dovecot of linux mail system

Introduction to mail system The e-mail system completes the transmission of e-mail based on the e-mail protocol. The common E-mail protocols are as follows 1. Simple Mail Transfer Protocol (SMTP): it is used to send and relay e-mail, occupying 25/TCP port of the server 2. Post office protocol version 3 (POP3): used to store e-mail to the ...

Posted by Maskeeper on Fri, 03 Dec 2021 21:34:01 -0800