frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Modalz Modalz Modalz

https://modalzmodalzmodalz.com/
1•iamwil•2m ago•0 comments

Netflix Live Origin

https://netflixtechblog.com/netflix-live-origin-41f1b0ad5371
1•mfrw•4m ago•0 comments

Substack forces users to download app to read content

https://twitter.com/gergelyorosz/status/1999241496005066755
1•lleims•4m ago•0 comments

What is more important than working hard?

https://himanshusinghbisht.substack.com/p/what-is-more-important-than-working
1•gilfoyle_7•5m ago•0 comments

Nvidia aquires SchedMD – developer of Slurm HPC scheduling software

https://www.heise.de/en/news/Nvidia-acquires-open-source-provider-SchedMD-11115881.html
1•samuell•5m ago•0 comments

Chinese Name Generator

https://chinesenamehub.com/
1•zidana•7m ago•0 comments

A Simple Recommendation System

https://angelocortez.com/blog/recsys
2•telecomhacker•10m ago•0 comments

Show HN: Explore your own Spotify history

https://lukasschwab.me/spotify-explore/
1•lukasschwab•11m ago•0 comments

Open Source Security Patch Rewards

https://bughunters.google.com/open-source-security/patch-rewards
1•transpute•12m ago•0 comments

What Are Bent Normals?

https://discourse.threejs.org/t/get-bent-or-what-is-normal-today-anyway/88635
1•iamwil•12m ago•0 comments

Is HTML-like markup a bad idea for programmatic video generation?

https://github.com/xxatsushixx/htmlv
1•tojikomorin•13m ago•1 comments

Writing a blatant Telegram clone using Qt, QML and Rust. And C++

https://kemble.net/blog/provoke/
1•todsacerdoti•17m ago•0 comments

Show HN: A Fizzy to Telegram webhook handler

https://github.com/ronaldlangeveld/telefizz
1•ronaldl93•18m ago•0 comments

Show HN: TextGO – A text selection popup tool (alternative to PopClip/SnipDo)

https://github.com/C5H12O5/TextGO
2•C5H12O5•21m ago•0 comments

Ask HN: Did anyone learn basic arithmetic as "snapshots" instead of procedures?

1•ursAxZA•22m ago•0 comments

Building a Brainfuck DSL in Forth using code generation

https://venko.blog/articles/forth-brainfuck
2•thunderseethe•24m ago•0 comments

Electric Mining Dump Trucks

https://www.komatsu.com.au/equipment/dump-trucks/electric-mining-trucks
1•thelastgallon•31m ago•0 comments

We Lost Communication to Entertainment

https://ploum.net/2025-12-15-communication-entertainment.html
1•HotGarbage•32m ago•0 comments

BHP and Rio Tinto welcome Caterpillar battery-electric haul trucks to Pilbara

https://www.riotinto.com/en/news/releases/2025/bhp-and-rio-tinto-welcome-first-caterpillar-batter...
2•thelastgallon•33m ago•0 comments

Erdős Problem #1026

https://terrytao.wordpress.com/2025/12/08/the-story-of-erdos-problem-126/
4•tzury•40m ago•0 comments

I kept rewriting Markdown docs into Word files, so I automated it

https://yourdomain.bedpage.com/
2•Thomas-Wilson•46m ago•1 comments

Tesla board made $3B via stock awards that dwarfed tech peers

https://www.reuters.com/sustainability/boards-policy-regulation/tesla-board-made-3-billion-via-st...
3•1vuio0pswjnm7•47m ago•0 comments

How Did India Conquer Space?

https://altermag.com/articles/how-did-india-conquer-space
2•occamschainsaw•51m ago•0 comments

Oracle shares slide as earnings fail to ease AI bubble fears

https://www.bbc.com/news/articles/c9qe1e374l1o
1•1vuio0pswjnm7•56m ago•1 comments

Deep Agent Framework, the Pydantic AI Way

https://vstorm-co.github.io/pydantic-deepagents/
3•jonbaer•1h ago•1 comments

Experiments with Memory Integrity Enforcement

https://octet-stream.net/b/scb/2025-12-16-experiments-with-memory-integrity-enforcement.html
2•thombles•1h ago•0 comments

Google is bringing Android to PCs with AluminiumOS

https://www.pocket-lint.com/aluminium-os-android-pc/
3•type0•1h ago•1 comments

Scientists Have Discovered an Organism That Breaks Biology's Golden Rule

https://scitechdaily.com/scientists-have-discovered-an-organism-that-breaks-biologys-golden-rule/
3•thunderbong•1h ago•2 comments

Building Software from Blog Posts

https://build.ms/2025/12/15/building-software-from-blog-posts/
2•mergesort•1h ago•0 comments

Choosing a Web Framework for 2026

https://3d23d65ddc64ce5.substack.com/p/choosing-a-web-framework-for-2026
1•fud101•1h ago•0 comments
Open in hackernews

A kernel bug froze my machine: Debugging an async-profiler deadlock

https://questdb.com/blog/async-profiler-kernel-bug/
71•bluestreak•8h ago

Comments

jerrinot•8h ago
Author here. I've always been kernel-curious despite never having worked on one myself. Consider this either a collection of impractical party tricks or a hands-on way to get a feel for kernel internals.
SerCe•7h ago
Great article! Just yesterday I watched a Devoxx talk by Andrei Pangin [1], the creator of async-profiler where I learned about the new heatmap support. To many folks it might not sound that exciting, until you realise that these heatmaps make it much easier to see patterns over time. If you’re interested there’s a solid blog post [2] from Netflix that walks through the format and why it can be incredibly useful.

[1]: https://www.youtube.com/watch?v=u7-S-Hn-7Do

[2]: https://netflixtechblog.com/netflix-flamescope-a57ca19d47bb

jerrinot•7h ago
Thanks for the kind words!

Heatmaps are amazing for pattern spotting. I also use them when hunting irregular hiccups or outliers. More people should know about this feature.

kreelman•2h ago
That was a neat article.

Great that you had the time to be curious and dig into what was going on. QEMU is quite an amazing tool.

I'm kind of surprised there isn't a fairly robust kernel test around this issue, since it locks the machine down and I think the fix was to prevent a stuck CPU last time as well?

It's also vaguely surprising that this hasn't been encountered more often, particularly by the https://news.ycombinator.com/user?id=everlier talking in links to this HN post about "20-30 containers" running simultaneously and occasionally locking up the machine.

If you're still thinking about the bug a little, you could look over how other kernel tests work and implement a failing test around it....?

I imagine the tests have some way of detecting a locked up kernel... I don't know exactly how they'd do it, but they probably have a technique. Most likely since the kernel is literally in a loop it won't respond to anything.. so starting any process, something as simple as creating any process, even one as simple as printing "Hello World!!" would fail and indicate the machine is locked.

Perhaps this is one of those cases where something like UserModeLinux would allow a test to be easily put together, rather than spawning complete VMs via some kind of VM software. Again, would be interesting to know what Linux does with this kind of test.

ChuckMcM•7h ago
Question, isn't this a bug? static enum hrtimer_restart perf_swevent_hrtimer(struct hrtimer *hrtimer) { - if (event->state != PERF_EVENT_STATE_ACTIVE) + if (event->state != PERF_EVENT_STATE_ACTIVE || + event->hw.state & PERF_HES_STOPPED) return HRTIMER_NORESTART;

The bug being that the precedence of || is higher than the precedence of != ? Consider writing it if ((event->state != PERF_EVENT_STATE_ACTIVE) || (event->hw_state & PERF_HES_STOPPED))

This coming from a person who has too many scars from not parenthesizing my expressions in conditionals to ensure they work the way I meant them to work.

jerrinot•7h ago
Wow, someone is actually reading the article in detail, that's a good feeling! In C, the != operator has higher precedence than the || operator. That said, extra parentheses never hurt readability.
unsnap_biceps•6h ago
Which language(s?) have || before !=/==?
anematode•5h ago
Likely they're confusing it with bitwise OR, since in C, a | b == c parses as a | (b == c), causing widespread pain.
snvzz•7h ago
Great debugging effort.

Now, with the complexity (MLoCs!) of the Linux kernel, this is definitely not the only bug to be found in there.

This is why Linux is just an interim kernel for these use cases in which we still cannot use seL4[0].

0. https://sel4.systems/

themafia•2h ago
> Linux is just an interim kernel

35 years of "interim" status. Is there a roadmap?

kreelman•2h ago
:-) LOL !
everlier•6h ago
I'm glad to hear I'm not alone. Due to the nature of what I do, I'm often accumulating ~800-900GB of Docker images and volumes on my machine, sometimes running 20-30 containers at once starting/stopping them concurrently. Somehow, very rarely, but still quite often (once every couple of weeks) - it leads to a complete deadlock somewhere inside of the kernel due to some crazy race condition that I'm absolutely in no way able to reliably reproduce.
jerrinot•6h ago
It's much tougher when it's so hard to reproduce. Perhaps the NMI watchdog could help? https://docs.kernel.org/admin-guide/lockup-watchdogs.html
bluuewhale•3h ago
Great write-up.

This kind of "debugging journey" post is gold.