What fukin psycho is running windows on a raspberry pi?
I drink the monster to see what the next number would have been.
if [[ $(shuf -i 1-6 -n 1) -eq 1 ]]; then sudo rm -rf / --no-preserve-root fi
for anyone who doesnt know the game is Buckshot Roulette, which is like Russian Roulette but with a shotgun
Make it a bit more fun.
1 in 6 chance to trigger the logic.
The logic?
- Get list of all files ending in .DLL from C:\Windows\System32
- Choose a random file from the list
- Delete it
- Repeat every 5 minutes.
The slow deterioration, and random issues appearing that are tough to diagnose would be more fun than such wanton destruction.
The equivalent of losing (part of) a finger on each success/failure, instead of totally evacuating the contents of your skull.
IsADirectoryError: [Errno 21] Is a directory: 'C:\Windows\System32'
At least use
shutil.rmtree
for some semblance of possibility.Can you even run Windows on a RPi?
Not really. Microsoft compiled a version of their OS for ARM devices - creatively named “Windows on ARM”, but on a Raspberry Pi I’d hardly describe the performance as “running” - walking/crawling would be more apt.
They’ve made Windows IoT Core that runs on Raspberry Pi. I have a colleague that maintains a tanning bed system that uses two Pis running that for each bed, one to operate the bed itself and one to accept payments.
It’s mad
So they can make a lightweight Windows, they just normally choose not to?
If DOSBox runs on one, then the old DOS-based Windows versions might work. But then, they didn’t keep much in System32, where they even had it at all.