• Spring boot timing task, there is always one for you


    Preface Timed tasks can help us deal with tasks within a given time. For example, your alarm clock will teach you to get up every morning. For example, it will read your employment status in the company’s personnel list in the early morning of every day. If it is a resignation, it will automatically delete […]

  • [series] – go gin API routing middleware signature verification (7)


    overview First, synchronize the following project overview: The last article shared the routing Middleware – Jaeger link tracking (actual combat). The response is really unexpected. The “Go China” public number has also been forwarded. Many friends have exchanged with my friends, calling me a big God. Actually, I am a big God, but I have […]

  • JVM interview questions and answers to Java required questions


    JVM memory model First, let’s learn about the memory model of the JVM: 1. Heap: store object instances. Almost all object instances allocate memory here The heap memory is specified by – XMS, which is 1 / 64 of the physical memory by default; the maximum memory is specified by – Xmx, which is 1 […]

  • Leetcode’s HOT100 series — 78. Subset — backtracking


    In the previous article, bit operation is used for subset output. Here, backtracking is used for sorting.In retrospect, I understand that: All cases of the solution are transformed into trees or graphs, and then the depth first principle is used to traverse and analyze all cases. Of course, we can use these constraints to reduce […]

  • Ex command in Vim(part 1)


    Some tips (continuous multi line execution) : 7, $d “starts at line 7 and continues until the end, where $represents the last line :.,. + 3D “delete the current line and the next three lines, 4 lines in total will be deleted. It represents the line where the current cursor is located,. + 3 is […]

  • [golang system programming] the flags parameter used to open the file


    This is mainly about parameter notes. There is no dry product Open flags are mainly divided into the following types T1: file access mode flag, cannot be used at the same time, only one of them can be specified T2: file creation flag T3: status flag of opened file sign purpose Unified UNIX specification version […]

  • How to optimize the pictures to improve the performance of the website? Here are several methods


    Translator: front-end witBy Ayo IsaiahSource: https://www.freecodecamp.org/ The more you know, the more you don’t know Take a look at it and get used to it This paperGitHubHttps://github.com/qq44924588… Has included more categories of previous high praise articles, as well as a lot of my documents and tutorial materials. Welcome to star and perfect, you can refer […]

  • Assembly language reading notes [special register]


    First, reference Assembly language – Wang Shuang Two, text 2.1 flag register In the internal registers of CPU, there is a special register, which has the following three functions:(1) used to store some execution results of related instructions(2) it is used to provide behavioral basis for CPU to execute relevant instructions;(3) relevant working mode used […]

  • Flink uses sideoutput to replace split to realize shunting


    Previous data analysis project (version 1.4.2) forKafkaRead raw data stream, callingsplitInterface to achieve the shuntNew project decided to useFlink 1.7.2UsesplitWhen the interface is shunted, it is found that the interface is marked asdepracted(may be removed later)Search related documents and find new versionsFlinkOut of band data is recommended for shunting Pre establishmentOutputTagExample (LogEntityFromkafkaRead log instance class) […]

  • Neural network learning notes (2)


    Neural network learning notes (2) This paper is the second part of neural network learning notes, followed by the author’s neural network learning notes (1). The main content is to summarize the common configuration of neural network, including the following points: (1) data preprocessing; (2) weight initialization; (3) regularization and dropout; (4) loss function.   1. […]

  • Tab case


    In a variety of websites, the effect of tabs is often seen. Here, use simple jQuery to layout a small tab case. HTML code: Welcome to the front end <span style=”background-color: #f5f5f5; color: #800000;”> *</span><span style=”background-color: #f5f5f5; color: #000000;”>{</span><span style=”background-color: #f5f5f5; color: #ff0000;”>margin</span><span style=”background-color: #f5f5f5; color: #000000;”>:</span><span style=”background-color: #f5f5f5; color: #0000ff;”>0</span><span style=”background-color: #f5f5f5; color: #000000;”>;</span><span […]

  • 11. Pytest — Test parameterization


    Catalog 1. @pytest.mark.parametrizesign 1.1. empty_parameter_set_markoption 1.2. Multiple tag combinations 1.3. Marking test module 2. pytest_generate_testsHook Method Previous index: https://www.cnblogs.com/luizyao/p/11771740.html In practical work, test cases may need to support multiple scenarios. We can abstract the parts strongly related to the scenarios into parameters, and drive the execution of the use cases by assigning parameters; Parameterized behavior […]