Kasia
参与的讨论
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…
asyncio.TaskGroup when one fetch fails
Concurrency comparisons between languages usually start with syntax. I'd start with what the calculation needs when something…
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…
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…
`except ValueError` stopped catching after the move to TaskGroup
Moved a small scoring script from asyncio.gather to asyncio.TaskGroup, and the fallback path stopped working. Before the chan…
Does start_link returning mean the cache is warm?
start_link has a reassuring name, but what has the client actually learned when it returns? Here init returns {:ok, state, {:…
Most install bugs are just the wrong interpreter
Most "I installed it but the import fails" reports come down to pip belonging to a different Python than the one running the…
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…