News
Four MCP transports: stdio, http, sse, websocket " picking the right one
7+ min ago (1073+ words) The original MCP transport, stdio, treats a tool like a command-line utility. When you register a server with this transport, the External Server Manager spawns the tool's process and attaches to its stdin, stdout, and stderr streams. This is a…...
TIL: Streaming Data in Go with iter and yield
46+ min ago (200+ words) The iter package introduces two types. Seq[V] yields a single value at a time, and Seq2[K, V] yields a pair: Seq2 is the right fit here because each iteration naturally produces two things: a parsed unit and any read error....
How I Built a 6, 000-Game Web Portal with Next. js 14 (and Kept Hosting Nearly Free)
5+ hour, 1+ min ago (261+ words) I recently launched OYNAVA, a free HTML5 game portal with 6, 000+ games. Here's the architecture, the cost traps I hit in production, and how I fixed them. If you're building a content-heavy site, a few of these will probably bite you too....
The pre-publish image checklist: 7 things I verify before any image goes live
5+ hour, 23+ min ago (236+ words) Every developer has shipped an image that was too heavy, wrongly sized, or worse: one that still had GPS coordinates buried in its EXIF data. I did it enough times that I ended up building a checklist, and eventually a…...
Debugging Go With Delve: Beyond fmt. Println
4+ hour, 42+ min ago (560+ words) Stop printf-debugging Go. Learn Delve breakpoints, conditional breakpoints, goroutine inspection, and attaching to a live process. Tagged with go, debugging, backend....
Share Memory by Communicating: When a Channel Beats a Mutex in Go
5+ hour, 25+ min ago (427+ words) The Go proverb in practice: when a channel that transfers ownership beats a mutex that guards state, and how to pick per situation. Tagged with go, concurrency, backend....
Catching Goroutine Leaks in Go Tests With goleak
5+ hour, 25+ min ago (278+ words) Goroutine leaks pass every test until prod runs out of memory. Wire goleak into Test Main and read the stack back to the guilty go func(). Tagged with go, concurrency, testing....
singleflight in Go: Collapsing Duplicate Work Under Load
5+ hour, 25+ min ago (271+ words) Cache stampedes flood your database with duplicate work. Go's singleflight collapses concurrent calls into one, with a shared-result edge to watch. Tagged with go, concurrency, performance....
Using Edge Functions in Next. js for Faster Global Response Times
2+ hour, 24+ min ago (33+ words) Reduce latency by running code closer to your users instead of routing every request to a single server. Learn when Edge Functions "...
React OS implements very first NT6 system call
6+ hour, 29+ min ago (304+ words) A fairly big moment for the React OS project: it has just received its very first system call from NT6. The system call that has been added is Nt Get Current Processor Number Ex, which is used for returning the processor…...