I seem to recall an experimental indie game that worked this way. If your character died, a random file on your hard disk was deleted. It was a really interesting idea to highlight our implicit assumptions around what games can and can't do, and a way to raise the stakes of the gameplay experience.
Suicide Linux (2009)
51–60 of 73 posts
Re: Suicide Linux (2009)
#52Re: Suicide Linux (2009)
#53If you like qntm check out SCP Foundation and There Is No Antimemetics Division
Re: Suicide Linux (2009)
#54For those who aren't ready for Suicide Linux yet, there's `sl`, a command that mildly punishes you for not being able to type `ls`, available in most distros. sudo apt install sl
Re: Suicide Linux (2009)
#55Now I just have to figure out how in the hell to setup bootloading with UBoot for an OrangePI 5 so I can actually start using kernels other than theirs, then I'm set for my next experience crashing system boards with no survivors.
When my juniors ask how I know so much about computers, I can honestly say it's because I am the single most poorly behaved user of other people's code on the planet.
Re: Suicide Linux (2009)
#56Re: Suicide Linux (2009)
#57Earlier quoted context omitted.
I'm on my phone so I'm too lazy to dig for this, but I'm pretty sure they're talking about the bit of shell script that gets run if you type a command that isn't found in PATH. Fedora and Debian will both dive straight into searching apt/dnf for a matching package and ask "do you want to install this?" I imagine you could create a hook that gets run for any command failure, but again I'm on my phone so not sure.
This is generally called a command-not-found handler and are a feature of all the major shells (though the exact details differ, the general idea is to define a function with a specific reserved name), and most majors distros have ones that can be installed, even if they aren't by default. I wrote my own (much faster) such handler for Arch Linux. I even wrote a blog post about the design: https://vorpal.se/posts/2025…
Re: Suicide Linux (2009)
#58Earlier quoted context omitted.
Anything that ships with a default zsh shell, which is a surprising number of distros actually.
Do any of the major ones? Debian, Ubuntu, Fedora, Red Hat, etc. don't.
> Zsh is available for Microsoft Windows as part of the UnxUtils collection and has been adopted as the default interactive shell for macOS, Deepin, and Kali Linux.
Mac is, in principle, a pretty big deal, but otherwise it isn't a common default.
Re: Suicide Linux (2009)
#59> I suppose I should finally clear this up: The autocorrect functionality I originally described here was a feature of the first Linux systems I ever used, so I assumed it was how every Linux system worked by default. Since then I've come to understand that it's a completely optional extra doodad. What systems did this? I've never encountered one that I can recall.
I'm on my phone so I'm too lazy to dig for this, but I'm pretty sure they're talking about the bit of shell script that gets run if you type a command that isn't found in PATH. Fedora and Debian will both dive straight into searching apt/dnf for a matching package and ask "do you want to install this?" I imagine you could create a hook that gets run for any command failure, but again I'm on my phone so not sure.