How to use Serverless to implement a book query App

I have a friend (this friend is not me). There is a small library in my friend's unit. There are many books in the library. Although each book is numbered in the corresponding area, after all, there is no library management system, so it will take some time to find it. In order to make it easier for you to find these books, my friend contacted ...

Posted by Tucker1337 on Mon, 16 Mar 2020 03:08:15 -0700

The dynamic display method and timer of the nixie tube

The previous blog blog mainly recorded some simple external interrupts and timer usage. At that time, we would only let the designated nixie tube display the same number. In this blog, we will record several ways to let different nixie tubes display different numbers (also called dynamic display). A ...

Posted by MadDawgX on Fri, 13 Mar 2020 20:39:06 -0700

Spring Security + JWT, realize the right control of separating and adapting the restful API before and after

Preface Spring security adopts the form based authentication form by default, which is related to the forms such as login authorization and authentication from the user with session identification. At present, many applications are developed based on the restful API style of SpringBoot, which can not ...

Posted by brandonr on Fri, 13 Mar 2020 04:00:05 -0700

Fabrc 2.0 External Chain Code Development Tutorial

A new feature introduced in Hyperledger Fabric 2.0 is the ability to use external chain code launchers, which are ideal for using kubenetes or dowcker swarm to manage node and chain code containers in a unified manner.In this article, we will learn how to deploy chain codes in a K8s cluster using an external chain code launcher. 1. Prerequisite ...

Posted by Whetto on Thu, 12 Mar 2020 19:14:19 -0700

Go language - package static files

For the developers of Go language, while enjoying the convenience of the language, we are also keen on the final compilation of a single executable. However, Go did not compile our static resource file when compiling into binary file. If we are developing web application, we need to find a way to compil ...

Posted by burfo on Thu, 12 Mar 2020 02:21:59 -0700

The general interface of psr/log log database

https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-3-logger-interface.md composer require psr/log Log interface specification In this paper, the general interface specification of log class library is established. The main purpose of this specification is to make the log class library record log information by receiving a Ps ...

Posted by mark_18 on Wed, 11 Mar 2020 23:05:21 -0700

NO.89 - Applying Xgboost to Predict Insurance Compensation

Article Directory 1 Data analysis 1.1 First look at what the data looks like 1.2 Continuous and categorical variables 1.3 Number of attributes in categorical variables 1.4 Compensation value 1.5 Continuous Variable Characteristics 1.6 Correlation between features 2 Xgboost 2.1 Data Preprocessing 2.2 ...

Posted by rimelta on Wed, 11 Mar 2020 21:00:47 -0700

SpringBoot2 integrates ElasticJob framework and customizes management process

Source code for this article: GitHub. Click here || GitEE. Click here 1. Introduction to ElasticJob 1. Timing Tasks In the previous article, you said that QuartJob is a timed task standard that is widely used.But the core point of Quartz is that executing timed tasks is not focused on business models and scenarios, and lacks highly customized ...

Posted by daedlus on Wed, 11 Mar 2020 16:53:30 -0700

Hyperf / websocket server / client and server real-time two-way data transmission

WebSocket service WebSocket is a kind of communication protocol, which can carry out full duplex communication on a single TCP connection. WebSocket makes the data exchange between the client and the server easier, allowing the server to actively push data to the client. In WebSocket API, browser and server only need to complete one handshake, ...

Posted by rawky1976 on Tue, 10 Mar 2020 21:06:02 -0700

C + + common component thread pool implementation

C + + common component thread pool implementation Introduction to thread pool model When dealing with a large number of concurrent tasks, if a request is processed by a thread in the traditional way, the creation and destruction of a large number of threads will consume too much system resources, an ...

Posted by fgpsmith on Tue, 10 Mar 2020 20:13:17 -0700