• Coroutinecontext in kotlin


    preface KotlinIt’s a kind ofJavaThe static type programming language running on the virtual machine is calledAndroidWorldSwift, inGoogleIn I / o2017,GoogleannounceKotlinbecomeAndroidOfficial development language review staySynergetic process in kotlin (I)In this paper, we discuss the following problems Characteristics of collaborative process Introduction to collaborative process Some element concepts in collaborative process How to create a collaborative process […]

  • C + + basic-5-operator overloading (plus sign, shift left, increment, assignment, relationship, function call)


    5. Operator overloading   5.1. Overloading of plus operator 1 #include 2 using namespace std; 3 4 // overload of plus operator 5 6 class Person { 7 public: 8 //1. Member function overload “+” 9 Person operator+(Person& p) { 10 Person temp; 11 temp.m_A = this->m_A + p.m_A; 12 temp.m_B = this->m_B + p.m_B; […]

  • Introduction to Python + small routine


    PythonIs one of the most popular programming languages in the world PythonIt has occupied the first place in the ranking of various languages for many consecutive years. It has always been equal to R language in the field of data analysis, but in recent years, python has become more and more popularPythonAnalysis tool libraries have […]

  • Study hard go: 5 Constants and operators


    Series articles: Study hard go: 1 Learning lead Study hard go: 2 Environment construction Study hard go: 3 Environment construction – gomod learning Study hard go: 4 Variables and data types Study hard go: 5 Constants and operators Study hard go: 6 Process control Study hard go: 7 Built in collection array Study hard go: […]

  • Python technique: implement simple recursive descent parser


    1. Arithmetic operation expression evaluation In the last blog postPython techniques: implementing simple tokenizer with re moduleIn, we introduce the use of regular expressions to match the corresponding patterns to realize a simple word segmentation. However, regular expression is not omnipotent. It is essentially a finite state machine (FSM), which cannot process text with recursive […]

  • The magic weapon of training 100 billion parameter model is to ascend cann heterogeneous computing architecture~


    Summary:Pangu’s training is based on the “shengteng AI processor” and with the help of the “cann heterogeneous computing architecture”, so that the hardware computing power can be fully released and the training time can be greatly shortened! In April 2021, “Huawei cloud Pangu model” became popular in the field of AI Artificial Intelligence. If Mingming […]

  • Some knowledge of scalar operators and Perl


    1. Perl makes general variablesscalar, the direct quantity that this variable can refer to includes two types: digital direct quantity; String direct quantity. a) Representation of string:Single quotation mark, the meaning of the string in single quotation mark is intuitive, and there is no need to calculate the variable value and escape character;Double quotation marks. […]

  • 5g investment declined steadily: capex expenditure of the three major operators collectively “turned”


    For a long time, when operators release financial reports, the industry pays more attention to how to spend the money in the new year than how operators have done in the past year. As the three major operators successively released their annual performance in 2021, the capital expenditure of this year also surfaced. From the […]

  • JS common


    Convert array to object This method is generally the first thought when converting arrays into objects: var obj = {}; var arr = [“1″,”2″,”3”]; for (var key in arr) { obj[key] = arr[key]; } console.log(obj); // {0: “1”, 1: “2”, 2: “3”} Simple and fast methods: const arr = [1,2,3]; const obj = {…arr}; console.log(obj); […]

  • DQL query data language (MySQL)


    DQL query data language (key) Select (core)1. Query all fieldsSelect * from ` table name ‘;2. Query the specified fieldSelect ` field 1 `, ` field 2 ` from ` table name `;3. Give the result a nameSelect ` field 1 ` as name1, ` field 2 ` as Name2 from ` table name ‘;4. […]

  • Explore JavaScript logical assignment operators in depth


    By Joe seifiTranslator: front end Xiaozhi Dream, dry goods, wechat search[move to the world]Pay attention to this dish brushing wisdom who is still doing dishes in the early morning. This article GitHubhttps://github.com/qq449245884/xiaozhiIt has been included. There are complete test sites, materials and my series of articles for the interview of front-line large factories. Logical assignment […]

  • Select basic query of MySQL Foundation


      DQL language basic query 1、 Basic select statement 1. Query constant 2. Check the data from the table 3. Query using alias of column 4. Weight removal 5. Null value participates in the operation 6. Filter data 2、 Operator 1. Arithmetic operator 2. Comparison operator 3. Logical operators 4. Bitwise operator 3、 Sorting and […]