Duang
help · grep · cat · today · 也可把文章拖进终端
Latest Digest
1 postsWhat I've been reading lately.
What changed in the MCP draft: sessions and handshake are gone
Notes from the official MCP spec draft's changelog, compared against the 2025-11-25 version, focused on sessions, the handshake, MRTR, and migration impact.
thinking
1 postsA few small thoughts.
Year one of Personal AI: Muse, Today AI, Manus/Cue, and OpenAI Dots
In September 2026 Personal AI settled into four bets. Muse bets on models and distribution, Today AI on state, Manus/Cue on identity, Dots on always-on agents and governance. All four live on a machine that stays running.
Agent Breakdowns
2 postsLoops, tools, and engineering trade-offs in Agent projects.
Breaking down Orloj: Agent runtime, control plane, and embedded console
Updated:A close read of Orloj's single-agent loop, multi-agent graph routing, tools and governance, and how the Go control plane, Postgres leases, and React console wire into the same resources. With core code and diagrams.
How I break down an Agent project
To be updated.
Agent System Architecture
0 postsDefine the boundary, climb the spectrum, and design without a framework first.
Nothing here yet.
Pi Deep Dive
0 postsWhat Pi is, how the packages split, and which trade-offs it made.
Nothing here yet.
MySQL
0 postsWalk one SQL through architecture, engine, indexes, and transactions.
Nothing here yet.
High-Performance Backend
0 postsMeasure first, then dig into CPU, memory, concurrency, and I/O — Python and Go side by side.
Nothing here yet.
Easy-to-Mix Notes
1 topicsSplit concepts that get tangled: process, thread, coroutine, and more.
Backend Notes
2 postsServer boundaries, timing, and real failures from one request.
How Handler Context reaches database queries
To be updated.
Where timeouts bite after HTTP enters a Go process
To be updated.
Frontend Lab
4 postsInteractive browser experiments with working code.
Text reveal: complete runnable code
Split a line into independent elements, then give each one an increasing delay. Every variant builds on that. Zero dependencies.
Magnetic buttons and cursor follow: one formula, four outputs
Multiply the distance between the pointer and an element's center by a strength factor, then ease it with lerp. The same formula drives magnets, layered parallax, CSS spotlights, and 3D tilt.
Notes & Other
2 postsLoose notes that have not grown into a column yet.
What this blog is for
A short intro, and the kinds of notes I keep publishing here.
Full-stack learning: get one path working end to end
To be updated.
The same job, written once in Go and once in Python
Column samples come in both languages. Switch tabs to see how one job is done on each side.
sem := make(chan struct{}, 8)
var wg sync.WaitGroup
for _, u := range urls {
wg.Add(1)
go func(u string) {
defer wg.Done()
sem <- struct{}{}
defer func() { <-sem }()
fetch(u)
}(u)
}
wg.Wait()sem = asyncio.Semaphore(8)
async def one(u):
async with sem:
await fetch(u)
async def main():
await asyncio.gather(*map(one, urls))
asyncio.run(main())