[lodash] difference source code study and analysis [pre index]

Welcome to my official account, "front-end wall". A modern JavaScript utility library delivering modularity, performance & extras. lodash is a consistent, modular, high-performance JavaScript utility library 1, Environmental preparation lodash version v4 zero Through github1s web page, you can see lodash - differ ...

Posted by mastermike707 on Sat, 26 Feb 2022 15:15:05 +0100

4 - Design Mode - simple factory mode

1, What is a simple factory 1) Simple factory mode belongs to the creation mode, which is a kind of factory mode. The simple factory pattern is that a factory object determines which product class instance to create. Simple factory model is the simplest and most practical model in the factory model family 2) Simple factory pattern: defines a ...

Posted by GoodWill on Sat, 26 Feb 2022 15:07:30 +0100

Details of deployment of Django, uwsgi, MySQL and nginx for Ubuntu 20.04 server

** I would like to dedicate this article to those friends like me who are confused about linux system servers! Don't be afraid, be bold and patient. If you can't, reset the server and start from scratch ** *Huawei has tried to use the cloud image server yum for 8 months. As a result, Huawei has not been able to use the cloud image for the mos ...

Posted by matthewc on Sat, 26 Feb 2022 15:05:59 +0100

stargan v2 code learning record

1, Generator (1) lamda python lambda function is also called anonymous function, that is, the function has no specific name. Compared with ordinary functions, lambda just omits the function name. At the same time, such anonymous functions cannot be shared and called elsewhere. In fact, you're right. Lambda really doesn't play an earth shaki ...

Posted by barbatruc on Sat, 26 Feb 2022 15:02:44 +0100

Introduction to Docker

Introduction to Docker 1. Introduction Docker is an open source application container engine, which allows developers to package their applications and dependency packages into a portable image, and then publish them to any popular Linux or Windows operating system, or realize virtualization. Containers are completely sandboxed, and there ...

Posted by moneytree on Sat, 26 Feb 2022 14:57:38 +0100

How to write Gear smart contract for Rust beginners

For the pre knowledge of Gear contract, you can first understand this article: Gear contract disclosure. This article will mainly explain how to use Rust to create a simple decentralized application on the Gear blockchain network. We take a voting application as an example to study the infrastructure of Gear smart contract, and learn how to ...

Posted by MasumX on Sat, 26 Feb 2022 14:14:15 +0100

Java file streaming and I/O

Java file streaming and I/O file concept A file is where data is stored.File stream: files are operated in the form of stream in the program.Stream: the path of data between the data source (file) and the program (memory)Input stream: the path of data from data source (file) to program (memory)Output stream: the path of data from program (me ...

Posted by JamesyBHOY on Sat, 26 Feb 2022 14:10:54 +0100

Distributed transaction solution 2: message queue to achieve final consistency

1. Reliable messaging for ultimate consistency We have studied the CAP theory before and know that we generally guarantee P and A, abandon C and ensure the final consistency. Distributed transaction The core of using message queue to achieve final consistency is to split distributed transactions into multiple local transactions, and then coord ...

Posted by elflacodepr on Sat, 26 Feb 2022 14:09:51 +0100

HDFS high availability architecture

First, we need to build three virtual machines (here is a demonstration). For the construction process, please refer to this article. Using virtual machine to complete Hadoop fully distributed construction_ You can read your own blog - CSDN blog After completing the Hadoop fully distributed construction in the previous article, you can do the ...

Posted by antileon on Sat, 26 Feb 2022 14:10:24 +0100

Day02: summary of written test questions

catalogue 1, Multiple choice questions 2, Programming problem 1. Sort subsequence 2. Inverted string 1, Multiple choice questions 1. Resolution: Both parent class and new subclass objects are allowed 2. Resolution: You can see from the source code of String method tolower case The return value of this method means that if the ...

Posted by phpwannabe25 on Sat, 26 Feb 2022 13:58:35 +0100