[Vue3] responsiveness data

reactive & ref reactive method Receive the parameter value and return a responsive Proxy object, that is, a responsive copy of the parameter valueParameter value: reference type dataAdvantages: even if only part of the data of the reference type is modified, eg: the data of the page will change when a property of the object / an item ...

Added by carlmcdade on Tue, 15 Feb 2022 14:31:31 +0200

You may also want to have your own AI model file format (reasoning deployment)-

If there are new audiences, if you have any doubts, please read from the beginning of the column "special ai model". Especially for viewers who want to thoroughly understand the origin of the model in deep learning and how to build a custom model format step by step, in addition to the visualization chapter, the first three chapters m ...

Added by Bullit on Tue, 15 Feb 2022 14:30:26 +0200

[ACWing algorithm basic course]: Chapter 5 - dynamic programming

Knapsack problem ★★★ (1) 0-1 knapsack problem (1 for each item) Topic introduction sample input 4 5 1 2 2 4 3 4 4 5 output 8 [version 1] two dimensional state definition of 0-1 knapsack problem f[i][j]: select only the first I items with total volume < = Max of J State analysis (1) When the current backpack capacity is insuf ...

Added by dast on Tue, 15 Feb 2022 14:15:19 +0200

Causes and optimization of excessive offset affecting performance in mysql query

1 problem status At first, we used the simplest offset+limit paging query method. The pseudo code is as follows: List<Student> students = new ArrayList<>(); int limit = n; int offset = 0; do { students = SELECT * FROM [table] WHERE status = [status] AND gradeId = [id] LIMIT [limit] OFFSET [offset]; push(pos); update [table] ...

Added by river001 on Tue, 15 Feb 2022 14:12:03 +0200

Time class (Date, LocalDateTime...) Exception class (try..catch, throw, throws, throwable)

Time class         Date         SimpleDateFormat JDK8 new date class Exception class Exception overview Exception handling method Custom exception time Time in life There is no unified standard for the time of each country. They all calculate their own time, okay? The answer is No      World standard time Greenwich mean time (GMT) Th ...

Added by OopyBoo on Tue, 15 Feb 2022 12:37:57 +0200

Web Components series - custom component style settings

prefaceThrough the previous study, we have a certain understanding of the relevant concepts and knowledge points of custom components. Today, let's learn several methods to set styles for custom elements and their sub elements.Add styles directly to custom labelsindex.html: <style> my-card{ display: block; margin: 20px ...

Added by max101 on Tue, 15 Feb 2022 12:24:41 +0200

I have to tell the story between Python and Excel. I have modules. Do you have data?

In python, the following three modules are used to read, write and append data to excel tables: 1. wlrd reading data in excel 2. xlwt creates a new excel file, and then writes and saves the contents of this file. 3. xlutils reads an excel file, and then modifies or appends it. xlsx cannot be operated, only xls can be operated. 1, Reading ...

Added by celebx on Tue, 15 Feb 2022 12:13:40 +0200

Discrete mathematics experiment II

Experimental topic: solution of spanning tree, loop space and fault set space Purpose of the experiment: 1. Master the solution method of undirected connected graph spanning tree; 2. Master the solution method of basic loop system and loop space; 3. Master the solution method of basic cut set system and fault set space; 4. Understand the prac ...

Added by amjohnno on Tue, 15 Feb 2022 12:12:35 +0200

Description of key attributes and fields in elasticsearch

Premise: This article is written based on elasticsearch 6.4.2. There may be slight differences between the two versions Document, index, type attributeexplaindocumentThe data information to be stored, such as employee data. An employee data can represent a documentindexThe behavior of storing documents in elastic search is called Indexing; An ...

Added by jon2396 on Tue, 15 Feb 2022 12:10:28 +0200

RocketMQ grayscale of full link grayscale

Author: Yi Zhan In the previous series of articles, we have introduced the scenario of MSE for full link traffic control through the function of full link canary. We have learned how to realize the full link gray scale of RPC calls such as Spring Cloud and Dubbo, but it does not involve the traffic control in asynchronous scenarios such as mes ...

Added by fusionxn1 on Tue, 15 Feb 2022 12:04:43 +0200