Tag:Advantage
-
Android2 minutes to achieve full buried point aspect AOP aspect oriented pile insertion, APP time-consuming and login perfect implementation
The author is a bully with 200 + interviews Worked as an examiner: 300 + interviews with others I’ve been to the top 500 and stayed in start-ups. If you pay attention to me, you can reach the master level. I finally dare to say that the annual […]
-
What are the advantages of vue3 over vue2?
Summary:The concept of the new version of vue3 was formed at the end of 2018, when Vue 2 was two and a half years old. Compared with the life cycle of general software, this does not seem to be that long. Vue3 was officially launched in 2020. There are great changes in source code and […]
-
Several ways of connecting strings in Java and their advantages and disadvantages
Several ways of connecting strings in Java and their advantages and disadvantages String concatenation is very common in Java programs. This article will summarize four ways of string concatenation +connect String.concat() StringBuilder StringBuffer use+Number connection class Helloworld { result: Hello World! advantage: Simple operation Disadvantages: Because each use will generate a new string object to […]
-
Question 49: how to implement an object deep copy?
Suppose we want to copy an object. If we don’t make a deep copy of it, after changing one object, the other object will also change Normal scenario let a = { age: 20 }; let b = a; b.age = 30; console.log(a.age); // 30 This is not the effect we want, so when we […]
-
Practice of making thermodynamic diagram using mqtt and function calculation
Introduction: in various scenarios, the processing of reported data is everywhere, and the above-mentioned scenarios can be realized by reference and optimization through mqtt + FC + API gateway in this scheme. preface In recent years, we can often see some robots moving around in some shopping malls, libraries, airports or ports. Their well-known function […]
-
How to await an asynchronous method in emit code
0. Preface First of all, explain immediately why there is such a fake title of demo essay?It’s not that I have knowledge mistakes, or that I want to mislead my childrenBecause we all know that all the methods written by emit are synchronization methods, and it is impossible to await. At least for so many […]
-
JS format number 1234567890 — > 1234567890
Number format 1234567890 — > 1234567890 1. Ordinary version function formatNumber(str) { let arr = [], count = str.length while (count >= 3) { arr.unshift(str.slice(count – 3, count)) count -= 3 } //If it’s not a multiple of 3, add it to it str.length % 3 && arr.unshift(str.slice(0, str.length % 3)) return arr.toString() } console.log(formatNumber(“1234567890”)) […]
-
Air pods 3 will be mass produced in the third quarter of 2021, and the overall shipment volume of air pods will decline
The third generation of airpods will start mass production by the third quarter of 2021, noted analyst Guo Mingxu said in a report. If mass production doesn’t start until the third quarter of 2021, it means that the airpods 3 won’t ship until the second half of this year. Guo said in November that the […]
-
Linux software installation method
1、yum/rpm(*.rpm) Package manager: direct Yum / RPM installation. Advantages: full automatic installation, no need to worry about dependency problems, disadvantages are poor autonomy, software function, storage location is fixed, not easy to change. 2. Source code package * tar.gz ) There are some disadvantages in compile install. / configure; make; make install: you can customize […]
-
MySQL learning
1. Throughput definition: the number of queries per unit time is exactly the reciprocal of our performance definition2. The minimum time granularity that MySQL can store is seconds (MariaDB supports second level time types)3. DataTime: independent of time zone, it uses 8 fields of storage space in the format ofInteger of yyyymmddhhmmss4. Timestamp: uses 4 […]
-
The front end uses node to crawl data
Crawler needs, basically in each company will have, will inevitably fall on the head of front-end development. Today, let’s see how node crawls data. In fact, for the front-end to grab data, AJAX requests an interface, but the return value has a valuetext/html(early XML and the like),application/jsonThere are two kinds. Sometimes for some simple data […]