• Vscode uses trust analyzer


    preface The official plug-in experience of rust’s vscode is often unsatisfactory. When I visited the community today, I found RLS 2.0 – trust analyzer,After the experience, I feel that although there are still many flaws in trust analyzer, it is at least better than RLS 1.0. I hope the rust Working GroupPut in more energy […]

  • How to write multiplication sign, identity sign and curly bracket in latex


    multiplication sign The use of multiply sign in latex\timesAs shown in the figure below: a\times b ###The use of identity in latex\equivAs shown in the figure below: a\equiv b Curly bracket In latex, curly brackets are used\left\{\right\}As shown in the figure below: \left\{b\right\} Mathematical symbols This work adoptsCC agreementReprint must indicate the author and the […]

  • The first experiment of “deeply understanding computer system” — data Lab


    This paper is the second chapter of the CSAPP supporting experiments, through the use of limited operators to achieve positive, negative, floating-point bit level representation. Through the completion of these 13 functions, we can better understand the computer data encoding. preparation    go to the official website firstLab AssignmentsGet the experiment related files (also can […]

  • Reading notes of “in depth understanding of computer system” — Chapter 2 information representation and processing


    This chapter mainly studies the coding methods of unsigned numbers, complements and floating-point numbers in the computer. By studying the actual coding methods of numbers, we can understand the range of values that can be represented by different types of data in the computer, the properties of different arithmetic operations, and know how the computer […]

  • Source code analysis of spool — initialization of server module


    preface This section mainly introducesserverModule initialization code, about the initialization process, the meaning of each attribute, you can refer to the official document: Server configuration options About the initialization process, used for listeningsocketFor binding problems, please refer to: Unp learning notes — Basic TCP socket programming Unp learning notes — socket options structureserverobject structureserverThere are […]

  • Use and principle analysis of Java instanceof operator


    This article mainly introduces the use and principle analysis of Java instanceof operator. The example code is introduced in great detail, which has a certain reference learning value for everyone’s study or work. Friends in need can refer to it A of a: judge whether a is an instance of class A, and the return […]

  • Summary of different types of data operation


    A few days ago, in the learning exchange group, a little friend asked a question about the operation of signed integers and unsigned characters. For this part, I have some problems in my personal understanding. Now let’s make a summary and review. Signed integer and unsigned integer give an example #include #include int main() { […]

  • Targetframeworks output multi version class library, the target framework of SDK style project


    https://docs.microsoft.com/zh-cn/dotnet/standard/frameworks#net-5-os-specific-tfms https://docs.microsoft.com/zh-cn/dotnet/standard/frameworks#net-5-os-specific-tfms   Targetframeworks output multi version class library, the target framework of SDK style project   When targeting a framework in an application or library, you need to specify the set of APIs you want to provide to the application or library.  Use the target framework moniker (TFM) to specify the target framework in […]

  • MySQL learning notes (23): SQL security


    This article is updated on June 29, 2019, using MySQL 5.7 and operating system deepin 15.4. Applications can use preparestatement + bind variable to prevent SQL injection. The known illegal symbols are: ( ) < > [ ] /* */ — # ; = ‘ + Space %

  • Linux prompt / usr / lib64 / libstdc + +. So. 6: version ` glibcxx_ 3.4.14′


    1. Check which libraries are included in the GCC version. My version is upgraded. It was only 3.4.13 strings /usr/lib64/libstdc++.so.6 | grep GLIBC 2. Download the higher version from the Internet, such as 6.4.0.Version download:http://mirror.hust.edu.cn/gnu/gcc/ wget http://mirror.hust.edu.cn/gnu/gcc/gcc-6.1.0/gcc-6.1.0.tar.gz tar -zxvf gcc-6.1.0.tar.gz 3. Copy gcc-6.1.0 to / usr / lib64. cp gcc-6.1.0 /usr/lib64/ 4. Delete libstdc + […]

  • The numeric type of MySQL


    The numeric type of MySQL Integer type Integer type containsTINYINT、SMALLINT、MEDIUMINT、INT、 BIGINTEtc. Access range type Storage size Default display width (PCS) Range (signed) Range (no sign) purpose TINYINT(m) 1Byte m:4 -128 – 127 0 – 255 Small integer value SMALLINT(m) 2Byte m:6 -32768 – 32767 0 – 65535 Large integer value MEDIUMINT(m) 3Byte m:9 -8388608 – […]

  • Third party library conflict


    duplicate symbol error Scene retelling The third party of marqueelabel is used in the project. Now when integrating navigation functions, we find that libbaidu navisdk. A is also useful for marqueelabel, but it is changed to bnmarqueelabel Different files, forget to handle global variables, resulting in symbol conflict Now, if other third-party files used in […]