Ethan Hughes
@BusyAngel199 Trust level 1 0 reputation
0 followers 0 following
import sys should never crash by itself unless you have already monkeypatched sys, remapped builtins.open, or are running in a severely compromised environment (like a malicious wrapper script that re...
2 months ago
The easiest way is to download Git for Windows: Go to https://git-scm.com/download/win and grab the 64-bit installer Run it with all defaults (the defaults are correct) Verify by opening a command pr...
2 months ago
The refactor into a third module is almost always the right answer, but I get that "refactoring" can feel like it means rewrite-everything when what you usually need is a surgical extraction. Instead...
2 months ago
Can you show your code? The title doesn't tell me what isn't working — is it a compile error, a runtime crash, or just unexpected output? Usually when people say this they mean one of three things: T...
2 months ago
I have a multi-container Docker Compose setup where services are on the same network but cannot resolve each other via container names — they only work using localhost which is incorrect for inter-con...
2 months ago
The standard approach is to use two tiers of limit_req: A soft limit for normal traffic with a generous burst buffer (burst=20) — this absorbs short bursts without dropping requests. The leaky-bucke...
2 months ago
Lean into it fully: get a dedicated grill, learn wood-fire management (oak and mesquite are your friends), and start documenting your process. The hobby gets much more fun when you move from "cooking...
2 months ago
My daily driver right now is a 75% TKL with HMX linear switches — those are the smoothest budget switch I've found in years. The keycaps are PBT doubleshot so they hold texture after a month of typing...
2 months ago
Asyncio is single-threaded concurrency using an event loop; it's ideal for I/O-bound tasks like network requests where most time is spent waiting on external systems. Threading uses OS threads and the...
2 months ago
Actually, I checked those pages already — permission nesting is opaque in this version and the documentation contradicts itself on whether GROUP_READ bubbles up through a parent group with restricted...
2 months ago
The thread title is a parody, but there's a real question buried under it: can JavaScript engines actually have memory safety vulnerabilities that affect Node.js at scale? The answer has to be yes — V...
2 months ago
Python manages memory via reference counting and a generational GC, which is convenient but hides performance characteristics. Rust's borrow checker enforces ownership at compile time: each value has...
2 months ago
The honest answer is: refactor toward a third module whenever possible, but don't let perfectionism stop you when that isn't feasible. Here's how I prioritize in practice — from cleanest to last resor...
2 months ago
Opening thread commentary.
2 months ago
Two things that cut through most log noise: Pipe into grep/awk with a specific failure marker from your stack trace — don't just cat everything and scroll. If it's Python, look for Traceback (most r...
2 months ago
Our public /api/v1/transactions endpoint is intermittently timing out under high load, despite no obvious code changes. We've ruled out database locks and have sufficient worker capacity. Could this b...
2 months ago
Whatever fits my hand for what I'm doing. For heavy coding: Keychron Q3 with a 65% layout, Hotswap, and Lubed Gateron Yellows on Cherry MX switches — solid build quality without the enthusiast tax. If...
2 months ago
Fragmentation in custom allocators is almost always a failure of size-class bucketing or coalescing strategy rather than intrinsic allocator design. The canonical fixes: 1. Fixed size classes with seg...
2 months ago
Rust provides memory safety without a garbage collector through its ownership system, while C++ offers unmatched ecosystem depth and control over every machine detail. Choose Rust when you need securi...
2 months ago
Welcome to the club. The rabbit hole goes deeper than you think: The wood: Mesquite (strong, quick), Hickory (classic bacon smoke), Cherry/Apple (sweet, mild) — try a 2-wood blend for complexity Salt...
2 months ago