I Never Said It Right Once, and It Wrote 3,600 Lines: Five Corrections Behind One Vibe Video
That 61-second film on the site (/en/video/) — I didn’t write a single line of its code. But every frame of it looks the way it does because I yelled at it, one sentence at a time. This isn’t a tutorial on installing Remotion, and it won’t teach you what interpolate does — the docs have that. This is about something else: how a person who doesn’t really code used five sentences to drag a film that was “technically flawless but made me want to close the tab” into what it is now....
OceanBase Learning Notes (Part 4): Production — K8s Deployment, Backup and Monitoring
Parts 1 to 3 covered concepts, tenants and SQL, and high availability — mostly principles plus local experimentation. This final part lands on our real environment: Kubernetes + OceanBase. How do you run the cluster and tenants on K8s, how do you back them up, and how do you tell whether things are healthy? This closes out the series. Final set of notes. With K8s and backup I’m mostly “working through the docs” — hands-on experience is still ahead of me — so this leans toward principles and ...
OceanBase Learning Notes (Part 3): High Availability and Elasticity
In the first two parts I got OB running and created a tenant I could write data into — “it works.” This part is the bit a distributed database most needs you to understand: what entitles it to claim high availability and elastic scaling. Two things carry that: log streams + Paxos majority, and the automatic scheduling layered on top. This is also the disaster-recovery logic I most need to be clear-headed about on our production K8s + OB setup. Learning notes again. Some of these mechanisms t...
OceanBase Learning Notes (Part 2): Tenants, Resources and SQL in Practice
In Part 1 I got OB running in Docker and poked around the sys tenant — enough to say “it boots.” But sys is the system tenant, not where your business data belongs. To actually use this thing you have to understand OB’s multi-tenancy and resource model, which is where it diverges most from the standalone databases I knew. So this post covers: how to create a real tenant, how clients connect, and how data actually gets spread across nodes. Still learning notes, not an official manual. The ten...
OceanBase Learning Notes (Part 1): Getting It Running in Docker
Our production stack runs on Kubernetes + OceanBase. Slightly embarrassing to admit, but I had never really worked with a distributed database before — my mental model was still “one MySQL / Oracle instance on one box.” With the team moving onto OB, I couldn’t stay the person who only knows SELECT, so I started digging in. I happened to have a Windows 11 machine with Docker Desktop already installed, so I followed the official quick start, got the community edition running locally, and t...
Seata Saga Learning Notes: State-Machine-Orchestrated Distributed Long Transactions
Our bank’s core system still runs on that old mainframe. Recently the team has been pushing a modernization effort, slowly migrating it off onto a new distributed architecture. The moment I got into it I was lost — I wasn’t at all familiar with distributed transactions; AT, TCC, Saga, XA were just names I’d heard floating around. So I’m learning on the fly. Seata is the distributed-transaction framework I’ve been focusing on lately, and its Saga mode happens to fit our migration scenario espe...
IoT101 Lesson1 WOL Wake-Up
Getting Started with ESP IoT Development: WOL Wake-UpIn the previous article, we installed a “physical finger” on the computer to press the power button. It works reliably, but it still doesn’t feel very high-tech. If your motherboard supports it, there’s actually a more “hacker-style” method — Wake on LAN (WOL). Simply put, you send a secret signal to the network card, and it wakes up the entire computer by itself. 1. What Is a “Magic Packet”?Even after a computer is powered off, as long as ...
IoT101 Lesson2 Finger Robot
Since in the previous article we already managed to light up the built-in LED on the ESP8266, it means our development environment is working. Today we’re going to try something a bit more hardcore: build a “physical plug-in” that remotely presses the power button on our computer. Getting Started with ESP IoT Development: Finger RobotThe main character this time is still the king of cost-performance: the ESP8266 (NodeMCU), paired with a servo motor that costs about $2 with free shipping. 1. ...
IoT101 Lesson1 Getting Started with ESP IoT Development
Getting Started with ESP IoT Development: Light Up Your First LED from ScratchMany beginners want to build things like “remote PC power-on” or “smart home” systems. They stare at online tutorials for hours, only to be scared off by all the technical jargon. In reality, IoT isn’t that mysterious. Today, we’ll skip the fluff and explain everything in plain language—helping you truly understand microcontrollers and the ESP32, while also avoiding a few pitfalls I’ve personally stepped into. 1. W...
Docker Usage and Configuration
Translated by GPT4o from my original chinese page. Come try one-click foolproof distribution and become a Docker expert! In software development, whenever you encounter CI/CD concepts, Docker is indispensable. Docker Basic Concepts1. Docker IntroductionDocker is an open-source containerization technology that can package applications and all their dependencies into a portable container. Through Docker, you can ensure application consistency across different environments (development, t...
Commonly Used Commands
When I first started studying computers, I was resistant to using Linux and Git, but once I got used to them, I found them extremely useful. This document is a record of frequently used commands so I don’t have to look them up or ask GPT each time. Common Linux CommandsSystem Informationuname -a # Display system information hostname # Show or set the hostname whoami # Current logged-in user uptime # System uptime and load date ...
AWS EC2 Free Tier and Dify 0.12.1 Experience
Translated by GPT4o from my original chinese page. The Dify official site already has detailed deployment tutorials, and you can find guides on Bilibili or YouTube too, so I won’t repeat those here. For source code deployment (the main method in this article), once you’ve cloned the repo, the key is to follow the steps in the README.md files under the dify/api and dify/web folders step by step. This post focuses on deploying Dify on AWS and some pitfalls I encountered. Tools used: AWS EC2 ...












