Readit News logoReadit News
cong-or commented on Show HN: Hud – eBPF blocking detector for Tokio   cong-or.xyz/blocking-asyn... · Posted by u/cong-or
cong-or · 9 days ago
I built hud after getting burned by blocking in async Rust services during one too many 2am debugging sessions. Blocking on Tokio worker threads can quietly tank throughput and explode p99 latency, all without panics or anything obvious in the logs.

Most profiling tools technically work, but they expect you to reason clearly, correlate timelines, and keep a full mental model in your head. That’s fine at 2pm. At 2am, it’s hopeless. hud’s goal is to reduce cognitive load as much as possible: show something visual you can understand almost immediately.

The UI is modeled after a trans-Pacific night cockpit: dark, dense, and built to be readable when you’re exhausted.

Under the hood, hud uses eBPF to track scheduling latency—how long worker threads are runnable but not running. This correlates well with blocking (though it’s not a direct measurement). You can attach to a live process with no code changes and get a live TUI that highlights latency hotspots grouped by stack trace.

The usual suspects so far: std::fs, CPU-heavy crypto (bcrypt, argon2), compression (flate2, zstd), DNS via ToSocketAddrs, and mutexes held during expensive work.

Tokio-specific (worker threads identified by name). Linux 5.8+, root, and debug symbols required.

Very open to feedback—especially around false positives or flawed assumptions. Happy to answer questions.

https://github.com/cong-or/hud

cong-or commented on Show HN: Hud – eBPF-based blocking detector for Tokio   cong-or.xyz/blocking-asyn... · Posted by u/cong-or
cong-or · 10 days ago
I built hud after getting burned by blocking in async Rust services during one too many 2am debugging sessions. Blocking on Tokio worker threads can quietly tank throughput and explode p99 latency, all without panics or anything obvious in the logs.

Most profiling tools technically work, but they expect you to reason clearly, correlate timelines, and keep a full mental model in your head. That’s fine at 2pm. At 2am, it’s hopeless. hud’s goal is to reduce cognitive load as much as possible: show something visual you can understand almost immediately.

The UI is modeled after a trans-Pacific night cockpit: dark, dense, and built to be readable when you’re exhausted.

Under the hood, hud uses eBPF to track scheduling latency—how long worker threads are runnable but not running. This correlates well with blocking (though it’s not a direct measurement). You can attach to a live process with no code changes and get a live TUI that highlights latency hotspots grouped by stack trace.

The usual suspects so far: std::fs, CPU-heavy crypto (bcrypt, argon2), compression (flate2, zstd), DNS via ToSocketAddrs, and mutexes held during expensive work.

Tokio-specific (worker threads identified by name). Linux 5.8+, root, and debug symbols required.

Very open to feedback—especially around false positives or flawed assumptions. Happy to answer questions.

https://github.com/cong-or/hud

cong-or commented on The tech market is fundamentally fucked up and AI is just a scapegoat   bayramovanar.substack.com... · Posted by u/Bayramovanar
cong-or · 10 days ago
Interesting framing. The article makes a compelling case that we're seeing the hangover from 14 years of ZIRP-fueled hiring rather than an AI apocalypse.

But I'm curious what people think the equilibrium looks like. If the "two-tier system" (core revenue teams + disposable experimental teams) becomes the norm, what does that mean for the future of SWE as a career?

A few scenarios I keep turning over:

  1. Bifurcation - A small elite of "10x engineers" command premium comp while the majority compete for increasingly commoditized roles                                                       
  2. Craftsmanship revival - Companies learn that the "disposable workforce" model ships garbage, and there's renewed appreciation for experienced engineers who stick around                 
  3. Consulting/contractor becomes default - Full-time employment becomes rare; most devs work project-to-project like other creative industries                                              
                                                                                                                                                                                              
The article argues AI isn't the cause, but it seems like it could accelerate whatever trend is already in motion. If companies are already treating engineers as interchangeable inventory, AI tooling gives them cover to reduce headcount further.

For those of you 10+ years into your careers: are you optimistic about staying in IC roles long-term, or does management/entrepreneurship feel like the only sustainable path?

cong-or commented on Did a celebrated researcher obscure a baby's poisoning?   newyorker.com/magazine/20... · Posted by u/littlexsparkee
cong-or · 10 days ago
The toxicology is pretty damning: codeine without morphine in stomach contents means someone crushed up Tylenol-3 and gave it to a 12-day-old baby. That's not a metabolic quirk—it's homicide. Koren's "ultra-rapid metabolizer" theory provided cover, and his research went on to clear 17 other caregivers in similar deaths. How many of those were actually murdered infants?
cong-or commented on Apple to soon take up to 30% cut from all Patreon creators in iOS app   macrumors.com/2026/01/28/... · Posted by u/pier25
cong-or · 10 days ago
2035: Apple takes 30% of my Patreon, Google matched it through their "Competitive Parity Agreement," and the EU fined them both €2 billion which they paid in 45 minutes of revenue then raised fees to 32% to cover legal costs.

The real innovation was convincing us this was inevitable.

cong-or commented on How London became the rest of the world’s startup capital   economist.com/britain/202... · Posted by u/ellieh
cong-or · 10 days ago
Surprised London holds this position given the cost of living. Housing alone eats such a massive chunk of salary that I'd expect talent to gravitate toward cities where their equity/salary goes further. How do early-stage startups compete for engineers when rent is £2k+ for a one-bedroom?
cong-or commented on Golden Ratio using an equilateral triangle inscribed in a circle   geometrycode.com/free/how... · Posted by u/peter_d_sherman
meindnoch · 11 days ago
When a computer does "geometry", it just computes numbers under the hood. There are no tiny people in the CPU with compasses and straightedges.
cong-or · 11 days ago
Fair enough—I wasn’t imagining tiny compass-wielders. I was thinking more about whether the structure of a geometric construction might map to something computationally useful, like exact arithmetic systems (CGAL-style) that preserve geometric relationships and avoid floating-point degeneracies.

But for a constant like φ, you’re right—(1 + sqrt(5)) / 2 is trivial and stable. No clever construction needed.

cong-or commented on Golden Ratio using an equilateral triangle inscribed in a circle   geometrycode.com/free/how... · Posted by u/peter_d_sherman
cong-or · 11 days ago
Is there a computational advantage to constructing φ geometrically versus algebraically? In rendering or CAD, would you actually trace the circle/triangle intersections, or just compute (1 + sqrt(5)) / 2 directly?

I’m curious if the geometric approach has any edge-case benefits—like better numerical stability—or if it’s purely for elegance.

u/cong-or

KarmaCake day75January 28, 2026View Original