SaltStack data system

SaltStack data system SaltStack has two major data systems: GrainsPillar SaltStack data system components Grains Grains is a component of SaltStack, which stores the information collected when minion starts. Grains is one of the most important components in SaltStack components, because we often use it in the process of configuration and ...

Posted by cpace1983 on Tue, 02 Nov 2021 06:11:32 -0700

Python test framework pytest (25) test report Allure - introduction, installation, examples, report structure

1. Introduction 1. Allure framework is a flexible lightweight multi language test report tool. It not only shows the test content in the form of concise web report, but also allows everyone involved in the development process to extract the most useful information from the daily test execution. 2. From the perspective of dev/qa, the Allure repo ...

Posted by mikanmao on Tue, 02 Nov 2021 05:48:17 -0700

Design pattern -- Builder pattern -- Builder

reference resources: https://blog.csdn.net/weixin_48052161/article/details/119083633 GOF defines the construction pattern as separating the construction of a complex object from its representation, so that the same construction process can create different representations This sentence is very abstract and difficult to understand. In fact, it ...

Posted by mikeq on Tue, 02 Nov 2021 05:44:12 -0700

Message query IndexFile of RocketMQ

Original:   RocketMQ message query IndexFile (IV) - red hair - personal space - OSCHINA - Chinese open source technology exchange community First, let's look at the process of indexfile, and then analyze and debug the source code step by step. In addition to providing the messages stored in MessageStore to consumer s through ConsumeQueue, ...

Posted by reliable on Tue, 02 Nov 2021 05:32:21 -0700

Go daily develops standing third-party libraries and tools

It has been almost a year since I wrote Go, and several large and small projects have been launched; Mentality has also experienced several rounds of changes. Because I personally wrote Java in the first five years and Python in the middle of the course for more than a year, when I first came into contact with Go, I felt as follows: There ...

Posted by dreamline on Tue, 02 Nov 2021 05:17:29 -0700

Java interview sorting

1, Jingdong interview questions 1. Implementation principle of @ Autowired 1. Injection method:         1. Constructor based dependency injection public class UserServiceImpl implents UserService{ private UserDao userDao; @Autowire public UserServiceImpl(UserDao userDao){ this.userDao = ...

Posted by donkru on Tue, 02 Nov 2021 04:50:34 -0700

Topic 6 - probability dp

Probability dp In the competition, there will be many questions related to the question of seeking expectation or probability. Although the result may be calculated by mathematical method, the probability or expectation obtained by dp is what the author hopes. POJ2096 Collecting Bugs An unlucky person can collect bugs every day. A software has ...

Posted by apenster on Tue, 02 Nov 2021 04:43:47 -0700

Configuration management of SaltStack

Configuration management of SaltStack YAML language YAML is an intuitive data serialization format that can be recognized by computer. It is a programming language with high readability, easy to be read by human beings, easy to interact with scripting language and used to express data sequences. It is similar to the data description language ...

Posted by dxdolar on Tue, 02 Nov 2021 04:10:36 -0700

[artificial intelligence project] Fashion Mnist recognition experiment

[artificial intelligence project] Fashion Mnist recognition experiment This paper mainly carries out the recognition experiment of fashion mnist through four methods, mainly including word bag model, hog feature, mlp multilayer perceptron and cnn convolution neural network. Then don't say much, get up!!! Fashion Mnist Fashion MNIST is an im ...

Posted by peter.t on Tue, 02 Nov 2021 04:03:47 -0700

User registration scenario - SMS verification solution

The mobile phone number verification function is basically used in the new user registration link of the website or APP. Whether the function is safe and stable will directly affect the conversion rate of new registered users. When enterprises use the new user registration function, they usually encounter the following two problems: 1, SMS in ...

Posted by broann on Tue, 02 Nov 2021 03:59:57 -0700