Blog Columns
Six thematic columns, each with its own dedicated RSS feed.
Database Guru
77posts
Database news, industry surveys, architecture, and best practices.
Cloud-Exiter
67posts
Cloud economics, repatriation, and building sovereign infrastructure.
Postgres Mage
130posts
PostgreSQL ecosystem, internals, extensions, and production tuning.
AI Agent Explorer
100posts
Practical engineering with coding agents, LLMs, AI4DB, and DB4AI.
Travel Notes
12posts
Trips, hikes, landscapes, and field notes across mountains and seas.
Miscellaneous
41posts
Essays, reflections, and personal writing inside and outside of tech.

AI Through McLuhan's Lens: When Media Stop Extending the Body and Start Extending the Mind
McLuhan's "the medium is the message," extension and amputation, hot and cool media, rear-view mirror effect, and four laws of media offer a way to dissect AI and its deeper effects on our cognitive …

A New Year—and What AI Will Change
AI is reshaping knowledge work far faster than historical experience would suggest. The real challenge is not whether you know how to use AI, but whether you can retool your thinking and skills before …

I Finished Translating the Second Edition of DDIA: An Eight-Year Parable About AI
Codex translated DDIA's second edition in a single morning. Eight years ago, I spent three months translating the first edition by hand. The contrast reveals just how far AI has come.

MinIO Is Dead, Long Live MinIO
MinIO's repo is officially archived and abandoned. And how AI Agents helped bring it back from the dead. This post explains how a community fork restores the admin console and ships binaries via CI/CD …

Pigsty v4.1: Speed Is the Moat
Same-day production support for PG 18.2 is the core message of Pigsty v4.1. In this cycle, very few vendors shipped day-zero readiness: AWS RDS, EDB, and Pigsty were among them.

When Coding Becomes Cheap, What Still Matters?
Codex 5.3 xHigh pushed my workflow past a tipping point: writing code is no longer the scarce resource. The real leverage is design quality and engineering acceptance. This is the practical loop I use …

The Agent Moat: Runtime
A mediocre local who knows the terrain beats a genius parachuted into unknown territory. Intelligence without context is idle. An agent without a runtime is vapor.

AI Ripped the Skin Off Software
Software stocks are melting down. Who survives? Who rises? AI stripped away software's skin, exposing the database skeleton underneath. The market isn't panic-selling — it's repricing.

First Chinese PostgreSQL Vendor on the PGConf.dev Main Stage
Three years, three CFP submissions, and finally a full session talk at PGConf.dev 2026—likely the first time a homegrown Chinese PostgreSQL vendor (a one-man database shop) takes the main stage to …

New Programmers in the AI Era: Where Do You Go?
Should we still hire fresh grads? Squeezed between AI and senior devs, what's the play for new programmers? Master the right tools, take initiative, find the right mentor.

The Great Software Meltdown: When Translation Layers Get Squashed
SaaS and workflow software are dead. From APPs & GUIs to Agents, Databases, and CLI.

Pigsty v4.0: Into the AI Era
Pigsty v4.0 is a milestone release — what I'd call "Finished Software." The real theme: Built for AI Agents and enabling the DBA Agent.

Don't run AI assistant on cloud
When launch clawdbot on the cloud, you're handing over cognitive data to the vendor. There's a reason why people by Mac mini rather than running clawdbot on the cloud.

From AGPL to Apache: Why I Changed Pigsty's License
Pigsty switched from AGPLv3 to Apache 2.0. Aren't you worried about freeloaders? Freeloaders welcome — if you want to become the Debian of databases, a permissive license is table stakes.

Agent OS: We're Building DOS Again
LLM = CPU. Context = RAM. Database = Disk. Agent = App. The mapping is surprisingly clean. And if OS history is any guide, we may know what comes next — and what's still missing.

Typeless: A Semantic Voice Input Method Built for Vibe Coding
Why type when you can talk? Typeless uses an LLM to turn messy spoken thoughts into clean prose, making voice-driven vibe coding surprisingly smooth—and it comes with a free one-month trial.

Claude Code Observability
Export Claude Code's OTEL logs and metrics to Victoria stack, visualize with Grafana dashboards.

How to Actually Do PostgreSQL High Availability
A deep dive into the SOTA approach for PostgreSQL HA. RTO/RPO breakdown, from theory to production. If you're still wrestling with PG HA, this might save you years.

The Last Day of a 32-Year-Old Programmer
Sudden death from overwork is tragic enough, but what cuts deeper is that even death cannot hit the pause button. A heartbreaking case.

How to Pay for ChatGPT and Claude in China with Visa and Apple Pay
Starting January 15, 2026, Visa credit cards issued by mainland Chinese banks officially support Apple Pay—opening a clean, low-cost way to subscribe to overseas services like ChatGPT and Claude.

Self-Hosting Databases Off the Cloud: From Artisanal Craft to Industrial Engineering
"I'm not afraid of hard engineering—I'm afraid of being held hostage." Founders hesitate to leave the cloud not because of technical complexity, but because of key-person risk. The fix: decouple …

How to Get Up to Speed with PostgreSQL Fast
People keep asking me how to get started with PostgreSQL. Instead of repeating myself, here is a 10-minute guide that sets you up with a production-grade environment and a patient AI tutor.

China's Domestic Database Industry: I'm Past the Stage of Being Angry
After Bank of China's mobile app crashed on New Year's Day over a domestic database failure, people asked for my take. We watched them build a tower of hype, and now we watch it crumble. Anger is for …

Claude Code Quick Start: Using Alternative LLMs at 1/10 the Cost
How to install and use Claude Code? How to achieve similar results at 1/10 of Claude's cost with alternative models? A one-liner to get CC up and running!

AI Through McLuhan's Lens: When Media Stop Extending the Body and Start Extending the Mind
McLuhan's "the medium is the message," extension and amputation, hot and cool media, rear-view mirror effect, and four laws of media offer a way to dissect AI and its deeper effects on our cognitive …

A New Year—and What AI Will Change
AI is reshaping knowledge work far faster than historical experience would suggest. The real challenge is not whether you know how to use AI, but whether you can retool your thinking and skills before …

I Finished Translating the Second Edition of DDIA: An Eight-Year Parable About AI
Codex translated DDIA's second edition in a single morning. Eight years ago, I spent three months translating the first edition by hand. The contrast reveals just how far AI has come.

MinIO Is Dead, Long Live MinIO
MinIO's repo is officially archived and abandoned. And how AI Agents helped bring it back from the dead. This post explains how a community fork restores the admin console and ships binaries via CI/CD …

Pigsty v4.1: Speed Is the Moat
Same-day production support for PG 18.2 is the core message of Pigsty v4.1. In this cycle, very few vendors shipped day-zero readiness: AWS RDS, EDB, and Pigsty were among them.

When Coding Becomes Cheap, What Still Matters?
Codex 5.3 xHigh pushed my workflow past a tipping point: writing code is no longer the scarce resource. The real leverage is design quality and engineering acceptance. This is the practical loop I use …

The Agent Moat: Runtime
A mediocre local who knows the terrain beats a genius parachuted into unknown territory. Intelligence without context is idle. An agent without a runtime is vapor.

AI Ripped the Skin Off Software
Software stocks are melting down. Who survives? Who rises? AI stripped away software's skin, exposing the database skeleton underneath. The market isn't panic-selling — it's repricing.

First Chinese PostgreSQL Vendor on the PGConf.dev Main Stage
Three years, three CFP submissions, and finally a full session talk at PGConf.dev 2026—likely the first time a homegrown Chinese PostgreSQL vendor (a one-man database shop) takes the main stage to …

New Programmers in the AI Era: Where Do You Go?
Should we still hire fresh grads? Squeezed between AI and senior devs, what's the play for new programmers? Master the right tools, take initiative, find the right mentor.

The Great Software Meltdown: When Translation Layers Get Squashed
SaaS and workflow software are dead. From APPs & GUIs to Agents, Databases, and CLI.

Pigsty v4.0: Into the AI Era
Pigsty v4.0 is a milestone release — what I'd call "Finished Software." The real theme: Built for AI Agents and enabling the DBA Agent.

Don't run AI assistant on cloud
When launch clawdbot on the cloud, you're handing over cognitive data to the vendor. There's a reason why people by Mac mini rather than running clawdbot on the cloud.

From AGPL to Apache: Why I Changed Pigsty's License
Pigsty switched from AGPLv3 to Apache 2.0. Aren't you worried about freeloaders? Freeloaders welcome — if you want to become the Debian of databases, a permissive license is table stakes.

Agent OS: We're Building DOS Again
LLM = CPU. Context = RAM. Database = Disk. Agent = App. The mapping is surprisingly clean. And if OS history is any guide, we may know what comes next — and what's still missing.

Typeless: A Semantic Voice Input Method Built for Vibe Coding
Why type when you can talk? Typeless uses an LLM to turn messy spoken thoughts into clean prose, making voice-driven vibe coding surprisingly smooth—and it comes with a free one-month trial.

Claude Code Observability
Export Claude Code's OTEL logs and metrics to Victoria stack, visualize with Grafana dashboards.

How to Actually Do PostgreSQL High Availability
A deep dive into the SOTA approach for PostgreSQL HA. RTO/RPO breakdown, from theory to production. If you're still wrestling with PG HA, this might save you years.

The Last Day of a 32-Year-Old Programmer
Sudden death from overwork is tragic enough, but what cuts deeper is that even death cannot hit the pause button. A heartbreaking case.

How to Pay for ChatGPT and Claude in China with Visa and Apple Pay
Starting January 15, 2026, Visa credit cards issued by mainland Chinese banks officially support Apple Pay—opening a clean, low-cost way to subscribe to overseas services like ChatGPT and Claude.

Self-Hosting Databases Off the Cloud: From Artisanal Craft to Industrial Engineering
"I'm not afraid of hard engineering—I'm afraid of being held hostage." Founders hesitate to leave the cloud not because of technical complexity, but because of key-person risk. The fix: decouple …

How to Get Up to Speed with PostgreSQL Fast
People keep asking me how to get started with PostgreSQL. Instead of repeating myself, here is a 10-minute guide that sets you up with a production-grade environment and a patient AI tutor.

China's Domestic Database Industry: I'm Past the Stage of Being Angry
After Bank of China's mobile app crashed on New Year's Day over a domestic database failure, people asked for my take. We watched them build a tower of hype, and now we watch it crumble. Anger is for …

Claude Code Quick Start: Using Alternative LLMs at 1/10 the Cost
How to install and use Claude Code? How to achieve similar results at 1/10 of Claude's cost with alternative models? A one-liner to get CC up and running!
AI Through McLuhan's Lens: When Media Stop Extending the Body and Start Extending the Mind

Notion founder Ivan Zhao recently wrote a widely circulated essay, Steam, Steel, and Infinite Minds, using the Industrial Revolution as a metaphor for AI: AI gives us “infinite minds” and will fundamentally reshape the structure of knowledge work. …
Notion founder Ivan Zhao recently wrote a widely circulated essay, Steam, Steel, and Infinite Minds, using the Industrial Revolution as a metaphor for AI: AI gives us “infinite minds” and will fundamentally reshape the structure of knowledge work. …
A New Year—and What AI Will Change

Original WeChat post For this generation of knowledge workers, the greatest danger is not that they “don’t know how to use AI.” It is that they still think they have a 20-year adjustment window. They don’t. We may be the first generation of …
Original WeChat post For this generation of knowledge workers, the greatest danger is not that they “don’t know how to use AI.” It is that they still think they have a 20-year adjustment window. They don’t. We may be the first generation of …
I Finished Translating the Second Edition of DDIA: An Eight-Year Parable About AI

This morning, I ran ten Codex sessions in parallel and, in less than half a day, translated the final four newly released chapters of DDIA’s second edition. The results surprised me. Formatting, terminology, footnotes, and anchors were nearly perfect …
This morning, I ran ten Codex sessions in parallel and, in less than half a day, translated the final four newly released chapters of DDIA’s second edition. The results surprised me. Formatting, terminology, footnotes, and anchors were nearly perfect …
MinIO Is Dead, Long Live MinIO

MinIO’s open-source repo has been officially archived. No more maintenance. End of an era — but open source doesn’t die that easily. I created a MinIO fork, restored the admin console, rebuilt the binary distribution pipeline, and brought it back to …
MinIO’s open-source repo has been officially archived. No more maintenance. End of an era — but open source doesn’t die that easily. I created a MinIO fork, restored the admin console, rebuilt the binary distribution pipeline, and brought it back to …
Pigsty v4.1: Speed Is the Moat

GitHub Release | Release Note If there is one takeaway from this release, it is that speed matters. On February 12, 2026, the PostgreSQL community released 18.2 / 17.8 / 16.12 / 15.16 / 14.21 on the regular minor cadence. As far as I could tell, the …
GitHub Release | Release Note If there is one takeaway from this release, it is that speed matters. On February 12, 2026, the PostgreSQL community released 18.2 / 17.8 / 16.12 / 15.16 / 14.21 on the regular minor cadence. As far as I could tell, the …
When Coding Becomes Cheap, What Still Matters?

I did not publish much last week because I was busy stress-testing OpenAI Codex 3 xHigh. With temporary double quota, I burned almost the full $200 budget running parallel sessions across more than ten Pigsty subprojects: core repo, CN/EN docs, blog, …
I did not publish much last week because I was busy stress-testing OpenAI Codex 3 xHigh. With temporary double quota, I burned almost the full $200 budget running parallel sessions across more than ten Pigsty subprojects: core repo, CN/EN docs, blog, …
The Agent Moat: Runtime

3 AM. Database alerts are blowing up. You throw the alert info at a “top-tier” DBA Agent. It’s well-read — knows the PostgreSQL docs inside out, writes beautiful diagnostic SQL, can recite every kernel parameter from memory. It freezes: What’s the …
3 AM. Database alerts are blowing up. You throw the alert info at a “top-tier” DBA Agent. It’s well-read — knows the PostgreSQL docs inside out, writes beautiful diagnostic SQL, can recite every kernel parameter from memory. It freezes: What’s the …
AI Ripped the Skin Off Software

AI stripped away software’s skin, exposing the database skeleton underneath. The market isn’t panic-selling — it’s repricing. I. The Bloodbath Software stocks are experiencing a historic meltdown. In January 2026, the iShares Software ETF (IGV) …
AI stripped away software’s skin, exposing the database skeleton underneath. The market isn’t panic-selling — it’s repricing. I. The Bloodbath Software stocks are experiencing a historic meltdown. In January 2026, the iShares Software ETF (IGV) …
First Chinese PostgreSQL Vendor on the PGConf.dev Main Stage

This morning I got the email: my talk proposal, “Extensions for Everyone”, has been officially accepted for a full session at PGConf.dev 2026. That means a lot to me personally. Having my work in the PostgreSQL ecosystem recognized by the core …
This morning I got the email: my talk proposal, “Extensions for Everyone”, has been officially accepted for a full session at PGConf.dev 2026. That means a lot to me personally. Having my work in the PostgreSQL ecosystem recognized by the core …
New Programmers in the AI Era: Where Do You Go?

The Window Is Closing Recently I was chatting with a few friends in tech, and we landed on a question that silenced everyone: “Should we still hire fresh grads?” Nobody could answer. Not because they didn’t want to — because they didn’t dare. AI …
The Window Is Closing Recently I was chatting with a few friends in tech, and we landed on a question that silenced everyone: “Should we still hire fresh grads?” Nobody could answer. Not because they didn’t want to — because they didn’t dare. AI …
The Great Software Meltdown: When Translation Layers Get Squashed

I. The Great Software Meltdown The software world is witnessing an epic valuation collapse. This isn’t about individual companies tanking. This is a systemic implosion of the entire SaaS sector. Wall Street is voting with real money: these software …
I. The Great Software Meltdown The software world is witnessing an epic valuation collapse. This isn’t about individual companies tanking. This is a systemic implosion of the entire SaaS sector. Wall Street is voting with real money: these software …
Pigsty v4.0: Into the AI Era

Pigsty v4.0 is here! This is a milestone release. Pigsty is a batteries-included, open-source, local-first PostgreSQL distribution. It lets you spin up enterprise-grade PostgreSQL services without a dedicated DBA — monitoring, backup, HA, IaC, …
Pigsty v4.0 is here! This is a milestone release. Pigsty is a batteries-included, open-source, local-first PostgreSQL distribution. It lets you spin up enterprise-grade PostgreSQL services without a dedicated DBA — monitoring, backup, HA, IaC, …
Don't run AI assistant on cloud

Before you hit “one-click deploy” on that cloud AI assistant, ask yourself: what exactly are you giving up? There’s a reason why people by Mac mini rather than running clawdbot on the cloud. When AI Becomes Your Butler Moltbot (formerly Clawdbot) …
Before you hit “one-click deploy” on that cloud AI assistant, ask yourself: what exactly are you giving up? There’s a reason why people by Mac mini rather than running clawdbot on the cloud. When AI Becomes Your Butler Moltbot (formerly Clawdbot) …
From AGPL to Apache: Why I Changed Pigsty's License

Pigsty is a batteries-included, local-first PostgreSQL distribution. With the v4.0 release, I finally did something I’d been considering for a while: switching from AGPLv3 back to Apache 2.0. Here’s why I changed it, what it means, and my take on …
Pigsty is a batteries-included, local-first PostgreSQL distribution. With the v4.0 release, I finally did something I’d been considering for a while: switching from AGPLv3 back to Apache 2.0. Here’s why I changed it, what it means, and my take on …
Agent OS: We're Building DOS Again

2025 is the year of the coding agent explosion. Claude Code writes your code, runs your tests, fixes your bugs, and autonomously completes complex engineering tasks. It’s the second seismic shift since ChatGPT dropped. But watch how these agents …
2025 is the year of the coding agent explosion. Claude Code writes your code, runs your tests, fixes your bugs, and autonomously completes complex engineering tasks. It’s the second seismic shift since ChatGPT dropped. But watch how these agents …
Typeless: A Semantic Voice Input Method Built for Vibe Coding

Remember this meme about the hardware a vibe coder really needs in 2026? In a sense, it is already here. A while back, someone recommended a voice input tool called Typeless. After trying it out, I was genuinely impressed. Over the past couple of …
Remember this meme about the hardware a vibe coder really needs in 2026? In a sense, it is already here. A while back, someone recommended a voice input tool called Typeless. After trying it out, I was genuinely impressed. Over the past couple of …
Claude Code Observability

Yesterday I tweeted: “Built a Claude Code Grafana dashboard to see how it makes decisions, uses tools, and burns through API credits.” Didn’t expect so much interest. So let’s talk about Claude Code observability. Why Observability? Simple idea: I …
Yesterday I tweeted: “Built a Claude Code Grafana dashboard to see how it makes decisions, uses tools, and burns through API credits.” Didn’t expect so much interest. So let’s talk about Claude Code observability. Why Observability? Simple idea: I …
How to Actually Do PostgreSQL High Availability

Seven or eight years ago, I was managing a hundred large-scale PostgreSQL clusters across 200+ beefy bare-metal servers, and I started evaluating HA solutions. I went through every option with a name: Patroni, Corosync + Pacemaker, repmgr, Stolon, …
Seven or eight years ago, I was managing a hundred large-scale PostgreSQL clusters across 200+ beefy bare-metal servers, and I started evaluating HA solutions. I went through every option with a name: Patroni, Corosync + Pacemaker, repmgr, Stolon, …
The Last Day of a 32-Year-Old Programmer

Saturday morning, November 29, 2025. Guangzhou. At 8:58, emergency services (120) received the call. At 9:14, paramedics arrived on scene. At 9:46, he was transferred to the hospital; the medical chart noted, “Suspected clinical death; family …
Saturday morning, November 29, 2025. Guangzhou. At 8:58, emergency services (120) received the call. At 9:14, paramedics arrived on scene. At 9:46, he was transferred to the hospital; the medical chart noted, “Suspected clinical death; family …
How to Pay for ChatGPT and Claude in China with Visa and Apple Pay

Starting January 15, 2026, Visa credit cards issued in mainland China officially support Apple Pay. For developers and users in China, this opens up a clean, safe, and low-cost path to subscribe to overseas services like ChatGPT and Claude. As I …
Starting January 15, 2026, Visa credit cards issued in mainland China officially support Apple Pay. For developers and users in China, this opens up a clean, safe, and low-cost path to subscribe to overseas services like ChatGPT and Claude. As I …
Self-Hosting Databases Off the Cloud: From Artisanal Craft to Industrial Engineering

A few days ago, I sat down with several SaaS founders to talk about leaving the cloud. Everyone can do the math: managed cloud databases are expensive, and once you hit scale, they easily eat 20% to 30% of your margins. Yet when it comes to actually …
A few days ago, I sat down with several SaaS founders to talk about leaving the cloud. Everyone can do the math: managed cloud databases are expensive, and once you hit scale, they easily eat 20% to 30% of your margins. Yet when it comes to actually …
How to Get Up to Speed with PostgreSQL Fast

People keep asking me the same question lately: “How do I get started with PostgreSQL?” It has come up often enough that I figured I should write a proper tutorial and answer everyone at once. The best way to learn PostgreSQL is learning by …
People keep asking me the same question lately: “How do I get started with PostgreSQL?” It has come up often enough that I figured I should write a proper tutorial and answer everyone at once. The best way to learn PostgreSQL is learning by …
China's Domestic Database Industry: I'm Past the Stage of Being Angry

Early on New Year’s Day 2026, while most people were still celebrating the holiday, the Bank of China mobile app went down. Deep Dive: How a Huawei GaussDB Bug Took Down the Bank of China App on New Year’s Day The official statement said a technical …
Early on New Year’s Day 2026, while most people were still celebrating the holiday, the Bank of China mobile app went down. Deep Dive: How a Huawei GaussDB Bug Took Down the Bank of China App on New Year’s Day The official statement said a technical …
Claude Code Quick Start: Using Alternative LLMs at 1/10 the Cost

Claude Code Quick Start Guide In my 2025 Year in Review, I mentioned that Claude Code boosted my productivity by 20x over the past year. Some friends asked if I was exaggerating—not at all. If anything, I was being conservative. This thing is …
Claude Code Quick Start Guide In my 2025 Year in Review, I mentioned that Claude Code boosted my productivity by 20x over the past year. Some friends asked if I was exaggerating—not at all. If anything, I was being conservative. This thing is …