Self test, 7 interview questions about closure

More articles are detailed in the official account [front end css and js dry cargo].Every JavaScript developer must know what a closure is. In JavaScript coding interviews, closures are often asked.This article has compiled a list of seven interesting and increasingly difficult questions about JavaScript closures.Take a pencil and a piece of pa ...

Posted by john6384 on Mon, 29 Nov 2021 18:48:44 -0800

Overview of monitoring and management principle in Java

Like and see again, unlimited power. Hello world:) wechat search Program ape Alan 」. this paper Github.com/niumoo/JavaNotes and Program ape Alan blog Has been included, there are many knowledge points and series of articles. The current article belongs to Java performance analysis and optimization Series of articles, click to view all art ...

Posted by dessolator on Mon, 29 Nov 2021 18:34:53 -0800

Spring cloud upgrade 2020.0.x version - 44. Design to avoid link information loss

Code address of this series: https://github.com/JoJoTec/sp...In this section, we will continue to explain the design to avoid link information loss, mainly focusing on how to ensure that each GlobalFilter can maintain link information after obtaining the existing Span. First, we customize the core Publisher of Reactor, that is, the Mono and Flu ...

Posted by DBookatay on Mon, 29 Nov 2021 18:19:05 -0800

This paper explains the principle and implementation of consistent hash

Why do I need a consistent hashFirst, what is hashHash, generally translated as hash, or transliterated as hash, is to transform an input of any length (also known as pre mapping pre image) into a fixed length output through hash algorithm, and the output is the hash value. This transformation is a compression mapping, that is, the hash value s ...

Posted by smithmr8 on Mon, 29 Nov 2021 17:53:20 -0800

Google high frequency interview questions - smaller sum of three

preface Hello, I'm brother Xiong.Today, I'll bring you a high-frequency interview question related to array. This question has been tested as an interview question by Internet companies such as IBM, Google and Goldman Sachs, that is, the 259 question on the force buckle - the sum of smaller three numbers and the 918 question on the collar buckl ...

Posted by aleigh on Mon, 29 Nov 2021 17:48:36 -0800

Aggregation operation of MongoDB learning

Basic operation of MongoDB learningThe aggregation operation of mongo is similar to the query of mysqlSQL operations / functionsmongodb aggregation operationwhere$matchgroup by$grouphaving$matchselect$projectorder by$sortlimit$limitsum()$sumcount()$sumjoin$lookupThe following examples are compared with sqlThe following is a basic structure for ...

Posted by asfaw on Mon, 29 Nov 2021 17:44:57 -0800

Understand Kubernetes Admission Controller

Hello, I'm Zhang Jintao.Articles published before me Container image security in the cloud native Era In (Series), I mentioned Kube apiserver, the core component of Kubernetes cluster, which allows components from end users or clusters to communicate with it (for example, query, create, modify or delete Kubernetes resources).In this article, we ...

Posted by terandle on Mon, 29 Nov 2021 17:39:51 -0800

java multithreaded programming -- thread pool

reference resources: https://blog.csdn.net/qq_27581243/article/details/86650682 https://www.cnblogs.com/zincredible/p/10984459.html Thread is a heavyweight resource. The creation, startup and destruction of threads consume system resources. At the same time, it is limited by system resources. The relationship between the number of threads and ...

Posted by yumico23 on Mon, 29 Nov 2021 17:18:16 -0800

Java web learning notes day02--JavaScript

JavaScript JavaScript overview summary Is a scripting language that is parsed and executed directly by the browser Development history In 1995, Netscape developed a client script language: LiveScript. Later, experts from SUN company were invited to modify LiveScript and name it JavaScriptIn 1996, Microsoft copied JavaScript and developed JS ...

Posted by eZe616 on Mon, 29 Nov 2021 17:17:48 -0800

Knowledge summary of open source web framework django

Knowledge summary of open source web framework django (10) Asynchronous scheme Celery Producer consumer design model reflection: What's wrong with the following two lines of code? CCP().send_template_sms(mobile, [sms_code, 5], 1) return JsonResponse({'code': 0,'errmsg': 'ok'}) Question: Our code is executed synchronously from to ...

Posted by fatalcure on Mon, 29 Nov 2021 17:06:26 -0800