Whether it's the right idea I genuinely don't know yet. But the space is emptier than it looks, and the cost of trying something is a weekend.
9 karma · joined June 25, 2026
Whether it's the right idea I genuinely don't know yet. But the space is emptier than it looks, and the cost of trying something is a weekend.
The explicit Trip(ctx) is the escape hatch for failures that never produce an error log: a 4xx you return without logging, a retry that eventually succeeded but you still want the context, a request you sampled deliberately. That's the minority case.
On config: the threshold is already a knob rather than a hardcoded level, so you can set the trip at Warn, or set what gets buffered below your emit level, from wherever your config lives. What's genuinely missing is the per-logger-name granularity you're describing, log4j-style logger.foo.bar=DEBUG. Go's log/slog has no logger registry to hang names on, so there's nothing to address by name. Scopes are the unit instead, which maps to a request or transaction rather than to a package. That's a real tradeoff and not obviously the right one for every codebase.
The twist I’m exploring is to keep debug logs buffered during normal execution and only release the relevant context when an error occurs. So you get the diagnostic value of DEBUG without continuously storing all the noise.
I built a small Go library to experiment with this approach, but I’m particularly interested in where the model breaks down in real-world systems.
* Simplicity (simple concurrency, readability, interfaces...)
* Static typing (errors caught at compile time)
* Error checking (tedious at first but... you'll see!)
So sad this project never got enough traction to accelerate its development pace. Maybe AI assistance will change that...
This issue is not specific to AI: You're good at boxing so you start to teach it. But the more you teach it the less you practice it. Your muscle memory fades, your reflexes decrease, your stamina vanishes and even if your knowledge of boxing remains intact and you become a good teacher, sooner or later you come to realize you're not a boxer anymore.
How to enjoy AI-assisted productivity without losing, focus capacity, language knowledge (and the architecture/performance/security knowledge it implies) among other things?
From the beginning even GitHub was crippled by project with no community, before it got traction. I understand the cost aspect but blaming people launching their project (even with AI) is not a fair path IMHO.
Thanks!
Guiding AI to work with that architecture, rather than fight against or simply ignore it, is still an area where we, as humans, add value.
I long for more hardware...