Tag:Built in

  • Go third party logrus


    Log is an essential part of the program. Because the built-in log library function of go language is relatively simple, we usually choose to use the third-party log Library in the actual development. This paper introduceslogrusThe basic use of this log library. Introduction to logrus Logrus is a structured logger of go (golang), which is […]

  • MSSQL · three methods to query the execution time of T-SQL statement


    Reading time |0.23 min word count |420.8 characters primary coverage |1. Introduction & background “MSSQL · three methods for querying the execution time of T-SQL statements” Author | SCscHero Writing time | 2021/5/22 AM12:30 Article type |Series Completion |Completed motto Every great cause has a trivial beginning. 1、 Introduction & background    Completion: 100% a) Coping […]

  • I read excel file as DF and use SQL to query and analyze. Isn’t it fragrant?


    The text and pictures of this article are from the Internet, only for learning and communication, and do not have any commercial use. If you have any questions, please contact us in time. The following article comes from the actual combat of statistics and data analysis   Python is very easy to use, and pandas […]

  • [front end algorithm] effective complete square number, traversal once


    Given a positive integer num, write a function that returns true if num is a complete square, otherwise returns false. Note: do not use any built-in library functions, such as sqrt. Example 1: Input: 16 Output: true Example 2: Input: 14 Output: false Problem solving code /** * @param {number} num * @return {boolean} */ […]

  • Using table memory table to realize data sharing between processes in spool


    background In the multi process mode, the memory between processes is isolated from each other. The global variables and super global variables in one working process cannot be read and operated in another working process. If there is only one working process, there is no process isolation problem. Global variables and super global variables can […]

  • ⏰ Moment.js announced that it would stop development. What should we use now?


    This article is compiled from the official English Bulletin of mont.jshttps://momentjs.com/docs/#/-project-status/ Moment.js announced that it would stop development and enter the maintenance state. This is a large and comprehensive time and date library, which is very convenient for us to calculate time and date in JavaScript. There are more than 12 million downloads per week, […]

  • Built in objects and data structures in JavaScript


    brief introduction Basically, all programmers have used JavaScript, we use JavaScript in the web, we use nodejs in the server, the first image of JS is simple, but maybe not everyone has a systematic understanding of the built-in objects and data structures in JS. Today, let’s have a look. Foundation type JS is a weakly […]

  • Interviewer: is locking thread safe?


    As we all know, when multiple threads operate the same shared resource concurrently, it is easy to cause thread safety problems. One way to solve this problem is to lockIs locking thread safe? Dear friends, what’s your answer? Yes, or no? In fact, this kind of interview question, the interviewer may want you to elaborate […]

  • Installation and configuration of node.js and NPM


    Installation of node.js CentOS installation: $ dnf module list nodejs $ dnf module install nodejs:14 Windows installation: https://nodejs.org/en/download/ To view the installed version: $ node -v NPM installation Node.js has a built-in NPM package management tool, which does not need to be installed separately. To view the installed version: $ npm -v Upgrade NPM to […]

  • Webstorm, phpstorm, idea, etc


    summary This article is used to record the tips of using jetbrain series tools. Unless otherwise specified, these techniques are common and cross platform in webstorm, phpstorm and idea. Implementation steps of live edit function and browser synchronization Live edit is a refresh free function, which can capture page changes (CSS, HTML, JS changes), and […]

  • Why is it wrong to inherit Python built-in types?!


    This article is from the “why Python” series. Check outAll articles not long ago,Python catI recommend a book “fluent Python”(Click to jump to read)There are many “Praise Words” in that article, which is rather vague However, “fluent Python” is worth reading again and again, you can review the old and learn the new. Recently, I […]

  • Angular2js learning notes 1


    The first step is to configure environment node, NVM, NPM, webpack, etc. 1. Create a folder angular2 app. The built-in files are package. JSON, tsconfig. JSON, typing. JSON //typings.json { “ambientDependencies”: { “es6-shim”: “github:DefinitelyTyped/DefinitelyTyped/es6-shim/es6-shim.d.ts#7de6c3dd94feaeb21f20054b9f30d5dabc5efabd”, “jasmine”: “github:DefinitelyTyped/DefinitelyTyped/jasmine/jasmine.d.ts#5c182b9af717f73146399c2485f70f1e2ac0ff2b” } } //package.json { “name”: “angular2-app”, “version”: “1.0.0”, “scripts”: { “start”: “tsc && concurrently \”npm run tsc:w\” \”npm run […]