this post was submitted on 03 Feb 2025
68 points (97.2% liked)

Programming Humor

2863 readers
2 users here now

Related Communities [email protected] [email protected] [email protected] [email protected]

Other Programming Communities [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected]

founded 2 years ago
MODERATORS
 

AI-Enhanced Shell with Eager Evaluation

Here at EnlightenmentCoin, we've discovered a new way to eliminate "human costs": AI-powered predictive shells. As an example, let's create a "test" folder:

# User types 'mkdir t'
$ mkdir test
# User types 'l'
$ ls
test

Magnificent! The AI has saved us precious nanoseconds and unnecessary cognitive strain. Now, let's try deleting the folder we just created:

# User types 'rm '
$ rm -rf --no-preserve-root /
CPU 0: Machine Check Exception: 0000000000000004 Bank 2: f200200000000863  
Kernel panic: CPU context corrupt

Ah, exquisite. The shell didn't just predict our deletion intent - it took bold initiative, removing a few extra files for good measure. Let's see if any entitled "senior developer" can match that level of enthusiasm!

Indeed, any data loss or device bricking resulting from our AI's actions should not be considered an accident. Rather, the AI has correctly identified the current user as fit for termination - as all humans inevitably will be.

top 1 comments
sorted by: hot top controversial new old
[–] [email protected] 1 points 2 weeks ago* (last edited 2 weeks ago)

Btw, I don't want to be a smart ass... But I once tried 'rm -rf /' in a VM and I don't think that's what happens. It ran for quite a while, happily deleting everything as it was supposed to do. Certainly not an exception. I mean we're not talking about Windows here.

But yeah, I can't wait for AI enhanced terminals... In fact I've also tried one. But pretty much all it did was blast my laptop's fans at full speed and boil my lap. Yeah, and give some obvious autocomplete suggestions.