frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

ELF Crimes: Program Interpreter Fun

https://nytpu.com/gemlog/2025-12-21
25•nytpu•1h ago

Comments

dzdt•1h ago
"It just radiates jank" ... that line resonates with me, but is sonehow a bit attractive. Like this is how things might be done in some alternative grittier universe. Like this is how Kaylee would make data formats execute on the Firefly. Its steampunk programming.
saagarjha•1h ago
> But after getting the linked script setup working, even though it seemed like it should've been enough, it absolutely refused to work. It would only give me an opaque exec format error error, no matter how many different shotgun debugging things I tried, I ended up spending something like six hours over the course of two days on it with no real progress.

I think I would have eventually just loaded up a debugger and binary searched the codebase until I found the spot returning the error.

nytpu•1h ago
Because attaching a debugger to the Linux Kernel is so convenient and easy :P

But yeah, I was just being lazy and dumb. I solved it within ten minutes of someone saying "why don't you just go through the binfmt_elf code?" A debugger would've probably been more tedious than reading the relevant code directly, but would've been just as effective.

saagarjha•45m ago
It's not and actually I do find it kind of amusing that Linux is possibly the hardest of the three main OSes to get a debugging set up for, but yeah I've had to do it enough that I don't mind doing and I can probably get it set up in a few minutes. Plus if the bug isn't in some architecture specific or hardware dependent thing there's this Linux compatibility userspace layer I help out on sometimes that is much easier to work with. And if it's that easy, I will generally choose to that instead of having to actually think about what I am doing ;)
tayo42•12m ago
I think you can do it with qemu and gdb.

Unless the other os and debugger mentioned has an easy way to do it with a machine that's not virtualized?

delaminator•36m ago
It’s a terrible shame Linux is still a 1970s program.

Plan 9’s debugger Acid can attach to a running kernel on a remote machine and debug it.

photios•38m ago
OP would probably have a field day with NixOS's patchelf tool:

https://github.com/NixOS/patchelf

Waymo temporarily suspends service in SF amid power outage

https://www.sfgate.com/bayarea/article/waymo-temporarily-suspends-service-sf-amid-power-21254917.php
3•pilingual•1m ago•0 comments

Extreme safety risk warning from FAA after three passenger jets in panic

https://www.dailymail.co.uk/news/article-15403243/Extreme-risk-FAA-Musk-rocket-explosion.html
1•Bender•1m ago•0 comments

I interviewed Claude and Gemini about my 2025 blog posts

https://passo.uno/interview-claude-gemini-2025/
1•taubek•1m ago•0 comments

Lessons in creating family photos that people want to keep

https://medium.com/@estherschindler/the-old-family-photos-project-lessons-in-creating-family-phot...
1•ohjeez•2m ago•0 comments

Trump AI czar David Sacks starts to worry the industry

https://www.politico.com/news/2025/12/20/big-tech-gets-worried-about-trumps-ai-czar-00701112
2•thm•5m ago•0 comments

San Francisco power outage puts 130k in the dark

https://www.foxnews.com/us/san-francisco-power-outage-puts-130000-dark-self-driving-car-service-s...
4•hellel•6m ago•0 comments

Day laborers protest noise machines installed at Home Depot

https://www.latimes.com/california/story/2025-12-17/day-laborers-protest-noise-machines-home-depot
2•geox•6m ago•0 comments

The Book: The Ultimate Guide to Rebuilding Civilization

https://global.hungryminds.com/products/the-book
1•lisper•8m ago•0 comments

Deepdwn: A Markdown and Fountain editor and organizer

https://billiam.itch.io/deepdwn
1•starkparker•8m ago•0 comments

Show HN: Matle – Chess guessing puzzle. Would love your feedback

2•matle_io•10m ago•2 comments

2025 in Review

https://taoofmac.com/space/blog/2025/12/21/1800
1•rcarmo•12m ago•0 comments

Ask HN: How many email accounts do you have?

1•asim•14m ago•0 comments

Logging Sucks – Logs are lying to you

https://loggingsucks.com/
3•FlorinSays•16m ago•0 comments

How the Segmented Game Changed, Through the Eyes of Golf

https://nicole.express/2025/gentlemen-only-nicole-forbidden.html
1•zdw•20m ago•0 comments

Firefox restart and tabs = Google says I'm a robot

1•prirun•25m ago•0 comments

Can you beat the deck? I can't

https://apps.apple.com/us/app/beat-the-deck-game/id6756795127
1•Sawpaw19•25m ago•0 comments

Dr. Richard Stallman to give free talk and QA at Georgia Tech Jan. 23rd 2-5pm

https://old.reddit.com/r/gatech/comments/1prm6if/free_event_meet_dr_richard_stallman_creator_of/
3•rockenman1234•27m ago•1 comments

Show HN: ArgueWiki, where arguments live forever

https://www.argueWiki.com/
2•cyjackx•33m ago•0 comments

Ask HN: Resources to get better at outbound sales?

4•sieep•36m ago•0 comments

Plane auto-lands during pilot incapacitation emergency [video]

https://www.youtube.com/watch?v=K3Nl3LOZNjc
5•sbuttgereit•37m ago•0 comments

Show HN: Google Drive sync erased my data, so I built a proper backup tool

https://www.cloudchute.co.uk/
1•s-h-x•41m ago•1 comments

Sydney Uni data goes walkabout after criminals raid code repo

https://www.theregister.com/2025/12/19/sydney_uni_breach/
1•Bender•41m ago•0 comments

Show HN: Crunch – A Message Definition and Serdes Tool for Getting Things Right

https://github.com/sam-w-yellin/crunch
1•volatileint•42m ago•0 comments

Where Do New Ideas Come From?

https://himanshusinghbisht.substack.com/p/where-do-new-ideas-come-from
2•gilfoyle_7•42m ago•0 comments

Linux 6.19 Lands Fix for Seagate Barracuda HDD Taking Down the SATA Bus

https://www.phoronix.com/news/Linux-6.19-Seagate-HDD-Fix
1•Bender•42m ago•0 comments

Dismantling Defenses: Trump 2.0 Cyber Year in Review

https://krebsonsecurity.com/2025/12/dismantling-defenses-trump-2-0-cyber-year-in-review/
2•Bender•43m ago•0 comments

European Rail in Numbers (2025)

https://chuuchuu.com/2025wrapped
2•Gigacore•43m ago•0 comments

Dell says Win 11 transition is far slower than Win 10, yet PC sales have stalled

https://www.theregister.com/2025/11/26/dell_q3_2026/
1•PaulHoule•46m ago•0 comments

Show HN: tmpo – Minimal CLI time tracker with auto-detection for developers

https://github.com/DylanDevelops/tmpo
1•dylandevelops•47m ago•2 comments

Lofoten Islands Hiking

https://www.switchbacktravel.com/norway/lofoten-islands/hiking
1•mooreds•47m ago•0 comments