Du Lang Junshang - dujun.io
It is currently in compatible display mode. It is recommended to use the latest version of Chrome for browsing.

Complete a performance art - it takes 21 days for Meituan to withdraw 20 yuan

 1870 Cover
Meituan can withdraw gold coins with the amount of a few cents and the final 20 yuan. Similar to the Pinduoduo routine, it is easy to brush up to about 19.8 yuan, and then the difficulty rises sharply. In the early stage, 100 gold coins were exchanged for 1 cent, while after 19.9, every additional 1 cent needed 100000 gold coins, 200000 gold coins, and up to 500000 gold coins. One day, on a whim, I wanted to verify whether I could get the money. After all, unlike Pinduoduo, which needs to attract people's attention, this one only needs to waste your time to brush videos and watch advertisements without bothering others, so the difficulty of the experiment is relatively low. It can spend tens of thousands of gold coins every day for tens of minutes, and today it finally fills the quota. The good news is that cash can be withdrawn, and WeChat will arrive in seconds. The bad news is that it took 21 days, more than 20 minutes a day, and the cost performance is extremely low. If you just want to collect some wool and enjoy yourself, it is recommended to withdraw 0.11 yuan every day, which will not take a minute.

2024-09-24

BUG (physical) appears on the screen

 1869 Cover
There is a worm crawling on the screen. The subconscious reaches out and presses it. It turns out that it is between the LCD screen and the outermost glass screen. There is nothing to do. Fortunately, it crawled out of the edge of the screen soon after and never appeared again. This computer has been used for 15 years and has never been disassembled. I think so. There are countless corpses in it. BUG is difficult to solve, and so is BUG (physics).

2024-09-22

 1868 Cover
See the whole rainbow for the first time.

2024-09-20

Miracle Data (formerly Soft Cloud) Hubei advanced anti DDoS cloud server (4-core 4G) scored 73.49

Preface This paper compares Miracle Data (formerly Soft Cloud) Hubei Advanced Anti DDoS Cloud Server (4-core 4G) with Tencent Cloud Server (hereinafter referred to as CVM). See the Server Comparison Measurement Scoring Scheme for the specific process. Test server The test server is provided by the boss of Miracle Data (formerly Softcloud). Product information CPU 4-core memory 4G bandwidth 5Mbps Defense 150G Central China Advanced Anti DDoS List price 50 yuan/month CPU information model Intel (R) Xeon (R) Gold 6133 CPU @ 2.50GHz Cache 16384 KB Core 4-core BogoMIPS 4988.27 Limit resource usage in Docker to simulate 2-core 2G performance. Test results Image processing Test results Image compression file time consumption CVM time consumption Performance comparison JPG 449K 0.0671s 0.0466s ✗ JPG 1.9M 0.2058s 0.1676s ✗ PNG 750K 0.5453s 0.4122s ✗ PNG

2024-09-20

Solution to json_encode failure caused by garbled code

It is found that the guest log cache is invalid, and the data becomes null through json_encode when it is written to Redis. Call json_last_error_msg() to print the error message: "Malformed UTF-8 characters, potentially incorrectly encoded". The solution is to add the parameter JSON_INVALID_UTF8_IGNORE and filter out garbled characters: json_encode ($value, JSON_INVALID_UTF8_IGNORE);

2024-09-19

IOS 18 brings anti carsickness function

 Ios-18-brings-vehicle-motion-cups cover
Today, I upgraded iOS 18 and found an interesting and practical function called "Vehicle Motion Cues". Its performance is shown in the video above. A group of dots will be displayed on the edge of the screen, moving with the vehicle, which can effectively alleviate the vertigo of browsing mobile phones. The principle is very simple. When you look at your mobile phone in the car, your body can feel movement, but your eyes receive relative stillness. Sensory conflicts cause discomfort, even vertigo. Moving dots provide visual signals consistent with body perception, and then alleviate sensory conflicts and vertigo symptoms. The way to quickly open this function: pull down the screen, add controls, find the "vehicle movement prompt" (car icon), and open it after adding.

2024-09-17

Origin of "Du Langjun Reward"

 Du lang jun shang cover
Google searches "Du Lang Junshang", and my website is on the first page. Although it's useless, I think it's very powerful. Because literally, "Du Lang Junshang" is not a word made by me, but comes from the famous capital of Huaizuo, slow in Yangzhou, written by Jiang Kui, a poet of the Southern Song Dynasty. The word "Du Lang" refers to Du Mu, a poet of the Tang Dynasty. He once served as an official in Yangzhou and left many poems praising Yangzhou; "Junshang" is to praise his elegance and outstanding appreciation level. The main idea here is that Du Mu, a handsome and appreciative tourist, appreciates Yangzhou in the past, but if he revisits his old place, he will be shocked and sad in the face of the desolate scene after the war. The original word expresses sorrow for historical changes by comparing the past prosperity and the present decline of Yangzhou. However, my name "Du Lang Junshang" is only a literal one, which means totally different. The origin is very simple. The domain name filing requires that the name of the website should not contain words such as "blog" and "space", and it is recommended not to use common words. I searched, and at the first sight, I liked "Du Lang Junshang" very much. My name "Du Jun" is literally unified with the domain name "dujun". "Du Lang" refers to myself; "Junshang" expresses the series of "Jun."

2024-09-16

Tmall Genie connected electric curtain (Duya Motor)

 Connecting dooya motorized curtains to tmall genie Cover
A customized sofa has been built for the living room's floating window, which makes it inconvenient to pull the curtains, so we chose an electric curtain that supports remote control and voice. As we all know, decoration is a long and tedious process, and energy is scattered in many points. The broadband was not connected when installing the curtains, so it was over without networking settings. In retrospect, it has been more than half a year since, and the data can't be found. In addition to the clear memory that the boss said that he supported Tmall Genie, there is also a remote control. I use this remote control to find clues, complete the connection of Tmall Genie, and realize voice control of curtains. First of all, it was found through "DOOYA" that this was a "Duya" motor. Next, we began to check "How does Duya Motor connect to Tmall Genie", and went a long way. After checking the tutorial after tutorial, the steps are to touch the button on the motor, which is impossible for me. Because the motor is blocked by the customized cabinet, the gap is narrow and people cannot reach the motor. So I can only hope to complete the connection through the remote control. It took me a long time to search for the topic, and finally found a short video before I despaired. It is effective to practice according to his method. The way to connect Duya Motor and Tmall Genie with the remote control is as follows: Remove the battery cover to see the "P2" key, press it once to turn back to the front and press the first key (this

2024-09-14

Yesterday, I handled the broadband relocation. Today, I received a call from Huashu customer service, and I learned that it helped me upgrade from 100M to 220M for free. Interestingly, when handling the case at that time, it was actually punished. It was said that the price of 200M in five years was 1100 yuan, but the actual test was only 100M. I returned 100 yuan from the sales theory (see the "Broadband Renewal Routes" for details). One year later, I was promoted to 220M, which is hard to predict.

2024-09-14

Yisu Cloud Hong Kong lightweight application server (2-core 2G) scored 78.64

Preface This paper compares Yisu Cloud Hong Kong lightweight application server (2-core 2G) with Tencent cloud server (hereinafter referred to as CVM). See the Server Comparison Measurement Scoring Scheme for the specific process. Test server The test server is provided for trial by the official website of Yisu Cloud. Product information CPU 2-core (exclusive) memory 2G bandwidth 3Mbps monthly traffic 2TB regional Hong Kong II CPU information model Intel (R) Xeon (R) Platinum 8163 CPU @ 2.50GHz Cache 16384 KB Core 2 Core BogoMIPS 4988.28 Test Results Image Processing Test Results Image Compression File Time consuming CVM Time consuming Performance Comparison JPG 449K 0.0761s 0.0466s ✗ ✗ JPG 1.9M 0.1965s 0.1676s ✗ PNG 750K 0.5171s 0.4122s ✗ PNG 3.8M 0.6257s 0.4824s ✗ BMP 1.5M 0.0226s 0.013

2024-09-12

Pagination: one two three four five six seven eight nine ten eleven twelve thirteen fourteen fifteen sixteen seventeen eighteen nineteen twenty twenty-one twenty-two twenty-three twenty-four twenty-five twenty-six twenty-seven twenty-eight twenty-nine thirty thirty-one thirty-two thirty-three thirty-four thirty-five thirty-six thirty-seven thirty-eight thirty-nine forty forty-one forty-two forty-three forty-four forty-five forty-six forty-seven forty-eight forty-nine fifty fifty-one fifty-two fifty-three fifty-four fifty-five fifty-six fifty-seven fifty-eight fifty-nine sixty sixty-one sixty-two sixty-three sixty-four sixty-five sixty-six sixty-seven sixty-eight sixty-nine seventy seventy-one seventy-two seventy-three seventy-four seventy-five seventy-six seventy-seven seventy-eight seventy-nine eighty eighty-one eighty-two eighty-three eighty-four eighty-five eighty-six eighty-seven eighty-eight eighty-nine ninety ninety-one ninety-two ninety-three ninety-four ninety-five ninety-six ninety-seven ninety-eight ninety-nine one hundred one hundred and one one hundred and two one hundred and three one hundred and four one hundred and five one hundred and six one hundred and seven one hundred and eight one hundred and nine one hundred and ten one hundred and eleven one hundred and twelve one hundred and thirteen one hundred and fourteen one hundred and fifteen one hundred and sixteen one hundred and seventeen one hundred and eighteen one hundred and nineteen one hundred and twenty one hundred and twenty-one one hundred and twenty-two one hundred and twenty-three one hundred and twenty-four one hundred and twenty-five one hundred and twenty-six one hundred and twenty-seven one hundred and twenty-eight one hundred and twenty-nine one hundred and thirty one hundred and thirty-one one hundred and thirty-two one hundred and thirty-three one hundred and thirty-four one hundred and thirty-five one hundred and thirty-six one hundred and thirty-seven one hundred and thirty-eight one hundred and thirty-nine one hundred and forty one hundred and forty-one one hundred and forty-two one hundred and forty-three one hundred and forty-four one hundred and forty-five one hundred and forty-six one hundred and forty-seven one hundred and forty-eight one hundred and forty-nine one hundred and fifty one hundred and fifty-one one hundred and fifty-two one hundred and fifty-three one hundred and fifty-four one hundred and fifty-five one hundred and fifty-six one hundred and fifty-seven one hundred and fifty-eight one hundred and fifty-nine one hundred and sixty one hundred and sixty-one one hundred and sixty-two one hundred and sixty-three one hundred and sixty-four one hundred and sixty-five one hundred and sixty-six one hundred and sixty-seven one hundred and sixty-eight one hundred and sixty-nine one hundred and seventy one hundred and seventy-one one hundred and seventy-two one hundred and seventy-three one hundred and seventy-four one hundred and seventy-five one hundred and seventy-six one hundred and seventy-seven one hundred and seventy-eight one hundred and seventy-nine one hundred and eighty one hundred and eighty-one one hundred and eighty-two one hundred and eighty-three one hundred and eighty-four one hundred and eighty-five one hundred and eighty-six one hundred and eighty-seven