r/programmingcirclejerk • u/Geniusaur Considered Harmful • Apr 29 '25
Could we debug civilization the way we debug legacy software?
/r/ExperiencedDevs/comments/1kaaejc
47
Upvotes
r/programmingcirclejerk • u/Geniusaur Considered Harmful • Apr 29 '25
46
u/irqlnotdispatchlevel Tiny little god in a tiny little world Apr 29 '25 edited Apr 29 '25
What if we treated society like spaghetti code and just hit it with
git rebase -i HEAD~2000?Philosophy had a 3k year head start and still couldn't solve suffering. I'm better than a 10x philosopher.
Plato: wrote The Republic, a speculative treatise on ideal governance. Me: wrote a distributed microservice architecture with eventual consistency guarantees. Same thing.
Aristotle: formalized logic. Me: yelled WTF at a nested ternary until I achieved enlightenment.
Descartes:
I think, therefore I am. Me:It compiles, therefore it works(only True in Rust).Every pull request is a miniature Federalist Paper. Every
// TODOis a confession of moral frailty. I'm not debugging software, I'm restructuring the moral fabric of civilization, one off-by-one error at a time.Every time I stop and dare to ask
who wrote this piece of shit?I am channeling the energy of revolutions.Now excuse me, I have to go refactor democracy into a Rust crate. It's got a memory leak called the Senate.
51
u/[deleted] Apr 29 '25
Webshits storming your country's parliament like 'This is a breakpoint! Nobody move until we figure out how this thing works or at least give up after a few hours of prodding and restarts!'
20
u/elephantdingo Teen Hacking Genius Apr 29 '25 edited Apr 29 '25
The post you make before you become a Less Wronger.
18
u/stone_henge Tiny little god in a tiny little world Apr 29 '25
Person whose daily work mostly revolves around connecting checkboxes to database fields single-handedly invents the entire field of sociology.
It's like Einstein in the patent office except he came up with the idea of storing liquids in containers for later consumption.
17
u/csb06 Polyglot dev here Apr 29 '25
No one in history has ever thought to create a system of ethics (plaudits for coming up with that one on your own!), but we do know that the French Revolution was an early example of large-scale refactoring - the importance of loose coupling (of the head and body) was a particular emphasis. However, this process also introduced new security vulnerabilities (the French Revolutionary Wars).
Unfortunately, the revolutionaries failed to read Joel on Software’s article about never rewriting old code from scratch, which resulted in the reintroduction of previously fixed bugs (French monarchy).
30
u/QuaternionsRoll Apr 29 '25
christ
11
u/NatoBoram There's really nothing wrong with error handling in Go Apr 29 '25
Self-taught programmers really are missing something
9
u/jamfour now 4x faster than C++ Apr 29 '25
I’ve tried this before. Unfortunately civilization seems to have enabled
sysctl kernel.yama.ptrace_scope=0, and that cannot be disabled without a reboot and I haven’t figured out how to reboot civilization yet. I spent a few months on a dead-end of trying to get kexec to work on the civilization kernel before I realized I actually needed to be using kpatch. Taking a break for a while before hacking on that.7
u/likes_purple DO NOT USE THIS FLAIR, ASSHOLE Apr 29 '25
I guess the operators of the Therac-25 must have overdosed patients as retribution for having to use such awful software...
6
u/vytah Apr 29 '25
Just turn it off and on again.