RocketMQ entry to the ground novice can also understand the principle and practice!

Learning any technology is a two-step process: Setting up the environment helloworld I'm no exception. I'll do it directly. 1, RocketMQ installation 1. Documents Official website http://rocketmq.apache.org GitHub https://github.com/apache/rocketmq 2. Download wget https://mirror.bit.edu.cn/apache/rocketmq/4.7.0/rocketmq-all-4.7.0-bin-rele ...

Posted by muretto on Sat, 27 Jun 2020 20:44:03 -0700

60 very useful CSS code snippets, recommended collection

Shortcut directory Vertical alignment Extend an element to window height Use different styles based on file format Create image grayscale across browsers Background gradient animation CSS: table column width self applicable Show box shadows on one or both sides only Package long text Make fuzzy text ...

Posted by marlonbtx on Sat, 27 Jun 2020 19:47:19 -0700

FreeSql uses ToTreeList/AsTreeCte to query infinite level classification table

On infinite class The first option: Recursion algorithm is also the most frequently used, and most open source programs do the same, but generally only use four levels of classification. The database structure design of this algorithm is the simplest. A field ID and a field FID (parent id) in the category table. In this way, we can judge the up ...

Posted by jwoo on Sat, 27 Jun 2020 17:13:04 -0700

Centos uses git node shell for continuous integration

catalog preface preparation Creating a springboot project Create a warehouse on github Write listening server of node to write git.sh script Final test preface After listening to the teacher's lesson yesterday, I want to make continuous integration by myself. I have made many detours from five t ...

Posted by ryanpaul on Tue, 23 Jun 2020 21:23:21 -0700

Go cli Daily Library

Introduction to ## cli Is a library for building command line programs.We've previously described a library for building command line programs cobra .Functionally, they are similar, and cobra has the advantage of providing a scaffold for easy development.cli is very simple, all initialization is to create oneCli.AppThe object of the structure.A ...

Posted by printf on Tue, 23 Jun 2020 17:14:20 -0700

Keras implements English to Chinese machine translation seq2seq+LSTM

The model implements the translation from English to Chinese. In order to better show the figure of model architecture borrowing Tycoon (embeddings are not used here): The complete code of this article: Github catalog 1, Processing text data 1. Get sentences before and after translation 2. Crea ...

Posted by Davidc316 on Tue, 23 Jun 2020 02:28:55 -0700

Insight into details! react 16.8.6 source code Analysis-1 error reporting and warning

preface As a front-end page and demand shredder, it can achieve limited improvement by repeating the same business requirements in daily work. In order to jump out of this mountain and open up a new vision, I suggest you read the source code of the top open source library on the market. This is a grea ...

Posted by SBro on Sun, 21 Jun 2020 20:12:41 -0700

An anomaly detection technology based on automatic encoder built by keras for fraud identification

Credit card fraud can be classified as an exception and can be detected using an automatic encoder implemented in Keras I recently read an article called "using automatic encoder for anomaly detection", in which the generated data is tested, and I think it seems a good idea to apply the idea ...

Posted by Masterchief07 on Sun, 21 Jun 2020 19:57:59 -0700

Insight into details! react 16.8.6 source code analysis - 2 component construction and acquisition call stack

preface As a front-end page and demand shredder, it can achieve limited improvement by repeating the same business requirements in daily work. In order to jump out of this mountain and open up a new vision, I suggest you read the source code of the top open source library on the market. This is a grea ...

Posted by fox_m on Sun, 21 Jun 2020 19:44:23 -0700

Father's Day: hard core programmers show love, "Dad" gas confession!

In a blink of an eye, it's the third week of June, and the year 2020 is about to pass by half. Sunday, June 21, 2020 (the first day of may in the year of gengzi (the year of rat), that is to say, tomorrow, which is also Father's Day. Father's Day, as the name suggests, is a day to thank your father. It began in the early 20th century, origina ...

Posted by bseven on Sun, 21 Jun 2020 03:03:44 -0700