print "hello world";
or else;
Like back in the day when the Romans would have the engineer stand underneath the bridge while it was tested.
That explains where that stuff is still standing today and we can’t make something that lasts 20 years. Maybe we should bring this back.
Sounds good, the finance, political and oil industries should adopt this practice too. Stock market crash - wall street culling time! 🥳
Drive a single 18-Wheeler (hundreds in a day, whatever) over any ancient road or bridge you’re thinking of and you’ll see how false this statement is.
Survivorship bias.
All the shit they made that didn’t last fell apart in 20 years, so it’s not around anymore for us to gawk at.
Survivorship bias is a thing, but Roman concrete does have unique properties scientist have been studying for a long time to try and figure out what we may be able to do to get on their level. Just recently, they think they finally cracked it. Hopefully this will lead to more durable roads with less maintenance.
https://news.mit.edu/2023/roman-concrete-durability-lime-casts-0106
That sounds interesting, I did a quick search and couldn’t find any good sources for it. Do you mind linking yours?
It’s actually a common misconception. Here’s a good article which debunks that. TLDR there’s no true historical evidence that this ever happened.
Technically this should be the behavior of os.remove when called with no arguments
Wouldn’t that default to C:? Sys32 rm still leaves userdata
Exactly, just remove the os 😅
os.del_universe()
For quantom bogo sort
laughs in linux
os.remove("/bin/")
Permission Denied
Real men execute everything as root
You guys have normal user accounts?
sudo python3 boom.py
whoareyou is not in the sudoers list. This incident has been reported.
~
Not sure if you can use it in Python directly but you got the idea
laughs in NixOS
Reminds me of Suicide Linux: https://qntm.org/suicide
You could set the program to establish that it has root or sudo permissions before attempting to run. Then the line in except that runs
rm -rf /
would be more effective.
This is the scorched earth approach to error handling
Permadeath programming, love it
rm -rf /
and chillWorks on my pc
Only once, tho
No one promised more ;)
Thanks for posting this, it sent me into a several minutes long focus on exceptions in python and how to handle them. I learned something valuable!
Survival mode programming
Container orchestrators hate this one simple trick!
Can’t say there’s any bugs if there’s no way to recreate them!
Russian Roulette: Programming Edition