Making a simple anti-theft chain with Express

Recently, a project arranged by a supervisor added a set of front-end templates to a system. This is not difficult in itself. Because the algorithm can not provide data, I copied the online picture links randomly, and found that some pictures can not be displayed normally. Later, I knew that some pictures were added with " ...

Posted on Sat, 04 Apr 2020 08:16:59 -0700 by mmtalon

Multithreaded notes - BIO

BIO BIO is a synchronous blocking mode. As long as there is a client access, the server will have a thread corresponding to it to communicate Before, a common practice was to start a thread on the server to listen. When the supervisor heard that the client was connected, a new thread was set up to communicate with the client specially. If the t ...

Posted on Sun, 01 Mar 2020 00:15:37 -0800 by asukla

In depth understanding of AQS (AbstractQueuedSynchronizer)

In depth understanding of AQS (AbstractQueuedSynchronizer) Abstract queued synchronizer (AQS) is the core of implementing concurrent programming in JDK. ReentrantLock, CountDownLatch and Semaphore, which are often used in our work, are all implemented based on it. A bidirectional linked list (FIFO ...

Posted on Tue, 25 Feb 2020 00:56:19 -0800 by gavin101

"MTCNN" more than 20000 words textbook style explanation

In this paper, MTCNN, one of the most classical neural networks in artificial intelligence deep learning, is explained in detail. More than 20000 words of content, mainly from the theoretical and practical aspects of MTCNN for detailed analysis, comparable to textbooks. If you don't read, start your jou ...

Posted on Tue, 11 Feb 2020 06:26:30 -0800 by Zssz

Redis Actual - Data Structure Set Actual Get Randomized Unique Test Title

Overview: This series of blogs covers relevant content from a hands-on course recorded by debug: Getting Started with Cache Middleware Redis Technology and Application Scenario Actual Warfare (SpringBoot2.x +Redback System Design and Warfare) , interested little buddies can click to learn on their ow ...

Posted on Fri, 07 Feb 2020 18:49:51 -0800 by bongbong

An overview of the use of supervisor

Preface In the past, in order not to be killed, we used to run code with nohup + &. Later, we found that the system thought that all the damn programs had to die, which was very depressing. There are many tools for process daemons on the market, but they are written in different languages (for exa ...

Posted on Sun, 02 Feb 2020 22:09:09 -0800 by Fizzgig

What is supervisor? Bridge

In the source code of OTP, I found a strange behaviour named supervisor_bridge. What's its function? What's the difference between it and ordinary supervisor? So I found the file supervisor · bridge.erl. First, it is a gen server -module(supervisor_bridge). -behaviour(gen_server). -include("logger.hrl"). %% External exports -export([s ...

Posted on Sun, 15 Dec 2019 06:51:58 -0800 by arianhojat

nginx + gunicorn + supervisor deploy django project

After writing the Django project, to deploy the project to the server, you can use nginx, gunicorn and supervisor to deploy. Install virtual environment When multiple projects are deployed on one machine, the packages that each project depends on may conflict and affect each other. Using virtual environment can isolate the execution environment ...

Posted on Sun, 17 Nov 2019 14:42:41 -0800 by SUNNY ARSLAN

supervisor + pins for on-line warning

1. Background introduction In order to ensure the stability of the online project, the supervisor needs to re-start the process after the failure several times, so that the relevant technicians can handle it in time.The results are as follows: 2. Basic knowledge Here's a literacy cleanup for readers who have never been exposed to supervisor s o ...

Posted on Sat, 16 Nov 2019 20:03:39 -0800 by jonners

if, while, for process control

if, while, for process control I. if syntax Just one condition age_of_girl = 18 if age_of_girl < 25: print("Cute girl") Two conditions age_of_girl = 18 if age_of_girl > 30: print("Good aunt") else: print("Cute girl") Multiple conditions ''' yafeng---->>Super administrator egon----->>General administrator Sea ...

Posted on Mon, 04 Nov 2019 07:03:45 -0800 by htcilt