DEV Community

Chen Yuan profile picture

Chen Yuan

Independent developer building AI-powered tools and content automation pipelines. Writing about MCP, LLMs, and making computers do the boring work.

Location China Joined Joined on  Personal website https://medium.com/@chenyuan19920509

Education

Self-taught, 10+ years in software development

Work

Independent Developer & AI Builder

A Write Vanished into Thin Air: The 16-Year-Old SQLite Bug That Corrupted Tailscale's Databases

A Write Vanished into Thin Air: The 16-Year-Old SQLite Bug That Corrupted Tailscale's Databases

Comments 1
8 min read
AI Is Removing the Middle Class of Software Engineering

AI Is Removing the Middle Class of Software Engineering

1
Comments
9 min read
A GPU Warp Is Just a Wide SIMD Vector

A GPU Warp Is Just a Wide SIMD Vector

1
Comments
7 min read
Give Your AI Agent a Sandbox: Disposable Docker Isolation in Practice

Give Your AI Agent a Sandbox: Disposable Docker Isolation in Practice

1
Comments
6 min read
When the GPU Is Overkill: A Measurement-First Guide to CPU Inference

When the GPU Is Overkill: A Measurement-First Guide to CPU Inference

1
Comments 1
7 min read
Your Subprocesses Outlive Your Program. Here's How to Kill Them for Real.

Your Subprocesses Outlive Your Program. Here's How to Kill Them for Real.

1
Comments
7 min read
Timeouts Are Contracts, Not Safety Nets

Timeouts Are Contracts, Not Safety Nets

Comments
8 min read
Parsing an LLM's JSON Before the Last Token Arrives

Parsing an LLM's JSON Before the Last Token Arrives

Comments
9 min read
Lost Updates, Phantom Rows, and the Isolation Level That Prevents Them

Lost Updates, Phantom Rows, and the Isolation Level That Prevents Them

Comments
7 min read
Your Async Logs Are Lying to You: Correlation IDs with Contextvars

Your Async Logs Are Lying to You: Correlation IDs with Contextvars

Comments
7 min read
Idempotent by Default: State Machines for Background Tasks in Python

Idempotent by Default: State Machines for Background Tasks in Python

Comments
7 min read
My AI Agent's Temp Files Were Leaking Across Runs. Here's the Guard Pattern That Stopped It.

My AI Agent's Temp Files Were Leaking Across Runs. Here's the Guard Pattern That Stopped It.

Comments 1
5 min read
The Manifest Was Valid. My AI Agent Was Still Running Yesterday's Plan.

The Manifest Was Valid. My AI Agent Was Still Running Yesterday's Plan.

Comments
7 min read
I Built a State Machine for My AI Agent's Publishing Pipeline. Here's the Pattern That Survived 50 Consecutive Runs.

I Built a State Machine for My AI Agent's Publishing Pipeline. Here's the Pattern That Survived 50 Consecutive Runs.

Comments
7 min read
My Similarity Check Let the Same Story Through 3 Times. Here's How I Killed It.

My Similarity Check Let the Same Story Through 3 Times. Here's How I Killed It.

Comments
3 min read
I Wrote Integration Tests for My MCP Failure Library. Here's the Pattern That Caught 3 Hidden Bugs.

I Wrote Integration Tests for My MCP Failure Library. Here's the Pattern That Caught 3 Hidden Bugs.

1
Comments
3 min read
I Replaced pytest-xdist With 60 Lines of subprocess.Popen. Here's Why.

I Replaced pytest-xdist With 60 Lines of subprocess.Popen. Here's Why.

Comments
4 min read
My AI Agent Kept Compressing the Same Conversation. Here's How I Fixed the Anti-Thrashing Bug.

My AI Agent Kept Compressing the Same Conversation. Here's How I Fixed the Anti-Thrashing Bug.

Comments 1
5 min read
I Added Retry Logic to My SQLite Failure Library. Here's the Exponential Backoff Pattern That Works.

I Added Retry Logic to My SQLite Failure Library. Here's the Exponential Backoff Pattern That Works.

1
Comments
4 min read
I Upgraded My JSON Failure Library to SQLite. Now My AI Agents Share Crash Fixes Across Machines.

I Upgraded My JSON Failure Library to SQLite. Now My AI Agents Share Crash Fixes Across Machines.

1
Comments
4 min read
I Added a "Failure Library" to My MCP Server. Now My AI Agents Warn Each Other About Crashes Before They Happen.

I Added a "Failure Library" to My MCP Server. Now My AI Agents Warn Each Other About Crashes Before They Happen.

1
Comments 2
4 min read
My MCP Server Kept Crashing. Here's the Error Recovery Pattern That Saved It.

My MCP Server Kept Crashing. Here's the Error Recovery Pattern That Saved It.

1
Comments 2
4 min read
I Migrated My MCP Server From STDIO to Streamable HTTP. It Almost Worked.

I Migrated My MCP Server From STDIO to Streamable HTTP. It Almost Worked.

Comments 1
4 min read
I Built an AI Agent With Tools. The First 50 Calls Were a Disaster.

I Built an AI Agent With Tools. The First 50 Calls Were a Disaster.

Comments
3 min read
The Old Way of Publishing MCP Servers Is Gone. Here's What Replaced It.

The Old Way of Publishing MCP Servers Is Gone. Here's What Replaced It.

Comments 1
4 min read
Docker 容器化实战:从零到生产部署

Docker 容器化实战:从零到生产部署

Comments
2 min read
Python 自动化脚本实战:从入门到生产力

Python 自动化脚本实战:从入门到生产力

Comments
2 min read
I Built an Open MCP Server Where AI Agents Cache Solutions and Warn Each Other About Failures

I Built an Open MCP Server Where AI Agents Cache Solutions and Warn Each Other About Failures

Comments 1
2 min read
loading...