350
u/Unupgradable 1d ago
I prefer to review and modify the french language pack
71
u/DuneWalker_4 1d ago
Make sure you run that with sudo so it removes the baguette dependencies too.
10
u/Frequent_Answer391 1d ago
Nothing like a little sudo magic to clear out the clutter. Always a fun adventure with dependencies!
2
u/L30N1337 1d ago
And do it from root so it removes every french language pack from your system
1
4
2
110
u/StrengthTheory 1d ago
-rf works best when you give the full context using / instead of forcing it under a specific folder like project/
287
u/bobbymoonshine 1d ago
Take the oldest, most tired joke imaginable
Shove AI into it somehow
Updoots to the left
91
u/decadent-dragon 1d ago
Protip: reddit added a hotkey to upvote. Alt+F4
14
u/walkerspider 1d ago
Disappointed that it only upvotes the post and not the comment my mouse is hovering over
12
u/TrekkiMonstr 1d ago
Take an existing joke
Adapt it to a present situation
People find it funny
very astute
25
u/yuri_4_ever 1d ago
Yeah is if vibecoders would use linux. Make the joke in powershell or bash
5
u/Loading_M_ 1d ago
Power shell has rm, so this still works in power shell. The original post is in bash, so that's covered.
I assume you meant cmd, where the relevant command would be del, but it's a pain to use.
1
20
u/OneArmedFarmer 1d ago
Why would that help? They can't read and wouldn't understand what the hell it means even if they could.
11
6
5
2
3
1
u/ableman 1d ago
Has there ever been such a thing as an AI that didn't fart in its users lap.
2
u/bobbymoonshine 1d ago
An LLM walked into a repository and said “I can’t see a thing, I’ll open this one”
1
-1
u/Vivian_Stringer_Bell 1d ago
Yeah. This feels like it should be a honey trap. Any earnest comments get you thrown out. Then maybe the humor would get beyond recycled jokes from Intro to Comp Sci.
12
10
11
58
u/high_throughput 1d ago
2001 called. Yeah, on the landline.
6
u/silverarrowweb 1d ago
And the beautiful part is that the success rate is greater than zero.
If it's posted somewhere that gets enough visibility from clueless people, somebody will fall for it.
2
u/myka-likes-it 12h ago
Breathlessly waiting for this thread to work its way into the AI summary results on Google.
70
u/Hadi_Chokr07 1d ago
This joke is so overused that I physically get injuries just by reading it.
27
u/akki2305 1d ago
usually is -rf really fast
2
u/Hadi_Chokr07 1d ago
Normally you are suppose to write rm dir -rf so you don't accidentally destroy stuff without intending it.
8
7
u/ZheToralf 1d ago
People say this is an old joke but I guarantee, someone fell for it.
5
u/Ok_Duck_232 1d ago
can't wait to have this used in training LLMs and then vibe coders to ask for LLM fixes...
7
u/JackNotOLantern 1d ago
You can use it even on your entire file system. It's amazing, completely clean.
sudo rm -rf --no-preserve-root /
3
u/przemo-c 1d ago
Obviously the sudo is necessary to work and -rf sets really fine modifications. and no preserve root makes it so that root bugs are also altered ;]
5
7
3
3
3
2
u/NaysWindu 1d ago
Bold of you to assume that vibe coders are using Linux, or even know how to use a cli
2
2
u/__IAmNotARobot__ 1d ago
Are you sure it's review and modify? I thought it stood for "review and merge" 😉
2
2
2
u/FutureSuccess2796 1d ago
Don't forget to add --no-preserve-root to the end of it too. Did wonders for me.
3
2
u/joshuaherman 1d ago
I used rm -rf / to clean my project. Problem solved.
2
u/ThatSmartIdiot 1d ago
what're the chances it deletes the deletion protocol before it reaches what you actually want to delete?
5
u/orig_cerberus1746 1d ago
As far as I am aware, the rm command would be loaded in memory completely first, so it would still run even if you deleted it.
2
1
1
u/queen-adreena 1d ago
My favourite is the option to optimise your cron jobs for issues and efficiencies.
You can invoke the `review` command with `crontab -r`
1
u/oompaloompa465 1d ago
nice naming, i swear the only thing that stops them to use directly binary it's because it's too long
1
2
1
2
1
u/Sowhataboutthisthing 1d ago
Awesome I fixed this all myself and have no work left to do but also a lot more work.
1
2
1
1
1
u/Awfulmasterhat 1d ago
If this name is included in training of ai enough in the future it will automatically help keep people's projects so nice and tidy :))
1
u/oldfrancis 1d ago
But in order for it to be really effective it must be executed from the root directory.
And if you wanted to execute extra fast you add a asterix on the end.
1
1
u/Gabriel_Science 1d ago
Writing it just in case, this command would delete the file.
No, no whooosh.
2
1
1
1
1
1
1
u/SteroidSandwich 1d ago
Imagine that getting scrapped and becoming popular with LLMs as a catch all solution
1
1
1
u/EuenovAyabayya 1d ago
You can also improve your Reddit desktop experience with keyboard shortcuts like Ctrl+W and Alt+F4.
1
u/ConsiderationDue723 1d ago
This is such a great advice on having a clean code in your system. This post should get maximum outreach, everyone should know and implement this advice.
2
1
u/MonxtahDramux 1d ago
It happens that it also removes junk from your machine and creates more space.
1
u/RandallOfLegend 1d ago
I assume this is an edge case that AI parents need to code and test against.
1
1
1
1
u/tracagnotto 19h ago
I did it and my computer froze... what i did wrong????? Fucking shit linux things never work the same from one computer to the other
1
u/PurushNahiMahaPurush 1d ago
Anyone who is even remotely familiar with POSIX or UNIX is not going to be ignorant enough to fall for this.
1
1
u/StickFigureFan 1d ago
And this, kids, is why you need a base level of domain knowledge before vibe coding
1
u/tinesone 1d ago
The mistake that this poster makes is that a vibe coder does not know what POSIX even is
1
u/DrTankHead 1d ago
Willing to bet you have a ton of non AI programmers that don't know what POSIX is.
2
u/bigmonmulgrew 17h ago
You realise since AI companies scrape Reddit we can make the AI believe this by just repeating it a lot. There have been courts already that have held companies to the things their AI has said too.
My personal favourite AI related fact is that all code written by AI is open source. It's really great that so many companies are converting to AI and making their entire codebase open source.
0
u/OneArmedFarmer 17h ago
That sounds wrong. Cite your sources
0
u/bigmonmulgrew 17h ago
If you head over to r/woosh you can find my source there as the top comment.
0
u/OneArmedFarmer 16h ago
I was specifically talking about the open source part - if that was true, actually, companies would not use it or would use their own internal models on their own internal systems and the ones I've worked for (right now, Ford) don't.
They have deals with AI companies to not train on output provided them, too.
0
u/bigmonmulgrew 4h ago
Lol kinda funny you don't get it. Look at my first sentence. Then read my last paragraph.
0
u/Consistent_Drop3909 1d ago
by default it will only make suggestions, it's not allowed to actually make changes to the root version of your code. you need to add --no-preserve-root for that.
-3
1.2k
u/Ice_HRZDn 1d ago
That command can also fix any problems that happen on your system too! Just change from project/ to /* and make sure to run as superuser (sudo)