News
Newest
Ask
Show
Jobs
Open on GitHub
Show HN: A (marginally) useful x86-64 ELF executable in 301 bytes
(github.com)
21 points | by
meribold
2 days ago
5 comments
Eric_Xua
6 minutes ago
Love this kind of tiny, over‑engineered hack—totally impractical, but pure Show HN energy.
vparseval
1 hour ago
Love it! It's entirely inapplicable and useless to me but it embodies the spirit of Show HN and what the spirit of programming in the 80s and 90s was.
emanuele-em
2 days ago
301 bytes! The base64 one-liner install is a nice flex. Accepting an infinite loop when energy_full doesn't exist is peak code golf, perfectly reasonable when every byte counts. Is there a writeup on the assembly somewhere?
[-]
zahlman
1 hour ago
The xz step doesn't seem to be doing very much, though. It seems the decoded data is currently 278 bytes versus a 298-byte decompressed result.
captn3m0
1 hour ago
I have a use for this: A somewhat portable one-liner to go in my waybar/sway/i3 configs!
darioterror
1 hour ago
[dead]
5 comments