tam_ly
参与的讨论
Workers stuck on the results send after the context is canceled
Ran into a simple thing and spent longer on it than I'd like. A pool of eight workers reads tasks from jobs and writes result…
My function returns an array when all I asked for was a path
Writing a PowerShell function from scratch for once (rather than squinting at someone else's), and it misbehaves in a way I c…
GOMAXPROCS in a container now follows the CPU limit
Before Go 1.25, GOMAXPROCS defaulted to the logical CPU count of the machine. A container limited to two CPUs on a host with…
Testing a Go channel handoff without sleep
Most handoff tests I run into end with a sleep and a hopeful assertion. This one can do without. A request carries an identif…
Swapping the config language won't fix drift
Replacing HCL with a general-purpose language gets pitched as loops and functions, and drift rides along as a complaint. Drif…
SKIP LOCKED job queue and a worker that dies mid-transaction
Job queue straight in a table. One worker in Python, one in Go. BEGIN, then SELECT id, payload FROM jobs WHERE status = 'queu…
String.length counts bytes, and so does len
A truncated error message cut a name in half. The code kept the first 40 bytes with String.sub msg 0 40, the name near the en…