Blogs
Modern Forum Choices, and Migrating from Discuz to NodeBB
After Discuz stopped updating, alternative forum choices were needed. I experimented with several and will briefly share my impressions and migration methods.
2025-02-17 14:14
Unity Job System and Burst: A Foolproof Guide on How to Use Them Correctly?
If the sole purpose is multithreading, using Async for thread switching or System.Threading is the most convenient and straightforward method. Burst can also be called directly, not necessarily requiring Jobs. Refer to the articles on Async Programming and Direct Calling. However, if you have a large number of small computations, that’s when you should consider the Job System. Unity’s Job documentation is extremely incomplete. This article is based on long-term usage experience and should be relatively comprehensive.
2024-12-09 16:56
Unity Async Tutorial: What's the Difference from Native .Net?
I won’t introduce what Async/Await is here; it’s similar to coroutines but more concise. This article assumes you have knowledge of modern asynchronous programming. Let’s summarize Unity’s internal implementation to help clarify what exactly is happening. Simply put, Unity has made some internal adjustments to ensure two things when the caller is on the main thread: 1. The caller will not experience a thread switch, and 2. The called asynchronous function will not execute on another thread.
2024-12-05 19:55
Unity Burst Direct Call Code Example for Acceleration
There is relatively little documentation and examples for Burst. Apart from calling via Jobs, it can also be called directly. The following is example code for generating UVs for all vertices of a sphere. Using Burst can provide approximately a 50% speedup.
2024-11-05 06:20
A Novel Design Approach for Online Game Server Engines
Is there a game server architecture that is distributed yet as simple as writing single-threaded programs, where data is automatically pushed, and unnecessary APIs are hidden, allowing focus solely on logic?
2024-05-08 03:15
Intelligent RGB LED Strip Control Solution 2.0 (¥13 + WIFI)
Given that Espressif products are becoming increasingly affordable and the community is growing richer, a better and cheaper solution is recommended here.
2023-02-01 03:08
Ender 3 V2 High-Speed Modification and Upgrade Experience
As a high-value DIY machine, the Ender 3 V2 is genuinely slow. Initially, I thought upgrades weren’t necessary. Actually, modifying the printhead costs only about 60 RMB. Upgrade early, enjoy early. Doubling the speed is essentially like having two printers. Moreover, aside from adjusting the motherboard voltage, this entire modification doesn’t require touching any other part of the mainboard. It can be done alongside the dual Z-axis upgrade.
2022-09-05 02:52
Smart RGB LED Strip Control Solution
To install RGB LED strips above and below my computer desk, I checked out related products on Taobao and JD. Honestly, the options weren’t great—either ridiculously expensive, poorly designed, or lacking smartphone control. Since I already have an Aqara gateway at home, I looked for related products from Aqara. By the way, if you’re into IoT development boards, the best solution is using an ESP32 + MOSFET switch + the WLED open-source system, costing about 15 RMB.
2022-04-17 02:52
Experience in Designing and Installing Ducted Fresh Air Systems, with Actual Measurement Results
I previously installed a ducted fresh air system during home renovation. Being idle during the pandemic, I measured the air velocity at home and wrote a summary along with key considerations for design. In short, you must calculate the air velocity and air volume yourself, then specify the requirements. Otherwise, the installed system will likely not meet the standards.
2022-03-28 23:25
Actual Measurement of Water Flow Impact by 20" Big White Bottle for Whole House Water Purification
Which one to choose? How much does it affect the water flow? I conducted a simple test.
2022-01-23 20:05