• ## Dealing with high concurrent IO bottleneck and solving red packet program

Time：2021-6-24

Solve the bottleneck of high concurrency and red envelope program This program simulates the red envelope lottery mode. The total amount of 100 yuan, random users get 1-10 yuan of red packets, until the red packets are distributed.Luckmoneymax in redis needs to be set in advance \$r->set(‘luckMoneyMax’ , 100); text /** *Get red packets randomly […]

• ## The mathematical basis of AI: from the perspective of probability and God

Time：2021-3-19

brief introduction It’s going to rain and my mother is going to get married. Although we can’t control the direction of the future, we can predict the possibility of the future to some extent. And this possibility is called probability. What is probability? Probability is the probability of things happening. For example, when we throw […]

• ## Vue nine palace lottery

Time：2021-3-7

Suddenly want to write a thing about the lottery, draw lessons from the realization of other bigwigs. Make a probability type of lottery, CSS and data are fooling. I don’t want to optimize. Ha ha ha ha <template> <div class=”home_page”> <!– <headerPage />–> <content-page> < div > lottery test <div class=”choujiang”> <ul class=”ul”> <li v-for=”(item,i) […]

• ## What are the difficulties of lucky draw? Highlights

Time：2021-2-11

Business requirements Through the form of activities, attract users to draw credit for Jingdong finance, bring the number of users for car owner service, increase the number of car binding, and transform Jingdong financial users into car owner users.Through the lottery, we can use some incentives and incentives to encourage users to use our app […]

• ## How to write a simple lottery program in Python

Time：2020-5-10

I don’t know how many people are cheated in by this head map:) The reason for this is that last week, a classmate asked Xiaobian and looked at the sample code of Xiaobian and knocked on the code. I felt that I could write it too. If I didn’t look at it, I might have […]

• ## The logic of the nine palace lottery

Time：2020-4-16

1、 Page layout ​ Default nine palace chart                                                                     Nine palace space                                […]

• ## Mobile terminal – Jiugongge lottery

Time：2019-11-22

Nine palace lottery demo Nine palace lottery model & html splicing model      Figure 1Figure 2** notes: if you want to display the prize information according to the position in Figure 1, you need to change the position of Jiugong grid.The replacement position is: 4 → 8, 6 → 4, 8 → 6, 9 → […]