r/ProgrammerHumor 2d ago

Meme goodOldDays

Post image
4.1k Upvotes

181 comments sorted by

View all comments

1.7k

u/Interesting_Buy_3969 2d ago

138

u/Xav-_ 1d ago

Wait, you can exit vim?!

59

u/themeatbridge 1d ago

No.  Everything is vim.  Once you enter, there is no exit.  It's sort of like Inception and the Matrix had a baby and that baby grew up to be a text editor.  

1

u/aalapshah12297 8h ago

It's like the fear hole from Rick and Morty.

3

u/Derkeethus42 1d ago

Ya, ctrl + alt + delete and end task. Works for me that is.

756

u/WeirdTie2290 2d ago

How is that question not closed? It is a non coding problem. SO double standards.

298

u/alexanderpas 2d ago

vim is considered a programming tool.

328

u/WeirdTie2290 2d ago

Sure. And "recovering a file in linux which I accidentally did an rm on" is a problem a programmer might run into. But still it gets closed.

That vim question clearly needs to be closed on SO and reopened at Vi and Vim Stack Exchange

187

u/Psychological_Map118 2d ago

I guess different phrasing would also make the rm question fly under the radar. StackOverflow was honestly 99% phrasing and a complete bragfest. For example, ask about the tool, not the problem:

How does one relink inodes unlinked via the rm command where link counts are 0?

This way you'd probably get dozens of answers explaining in-depth file recovery of raw data from the filesystem

45

u/rosuav 1d ago

TBH even with the question as written, I would be saying "testdisk". Seriously, that tool is nothing short of god-tier magic on the day when you desperately need it.

3

u/alfredo__pacino 1d ago

Don't you get a long list of files with random alphanimeric names that kind of makes a pain to find that 1 file you have just deleted? It was a long time ago since I've used it, and even then I was never quite sure I used it properly

3

u/rosuav 1d ago

It depends a lot on how much has happened in that directory. The file name is often still there. The trouble is, if you've had a *lot* of files with the same name, they're probably ALL still there.

1

u/alfredo__pacino 1d ago

Uhm, afair filenames and original paths weren't preserved.

1

u/rosuav 1d ago

Maybe it depends on the file system. They certainly were when I used it.

Or maybe you're thinking of the lost+found directory, rather than the testdisk program? That's a very different feature and unlikely to help with an accidental rm, but can rescue something that got lost due to power failure.

→ More replies (0)

64

u/Hohenheim_of_Shadow 1d ago

The irony is that if you know enough to ask that question, you don't need to ask that question.

10

u/flashman1986 1d ago

Many such cases

4

u/Fisher9001 1d ago

This discussion is at the very core of what killed SO.

16

u/KTAXY 1d ago

A true programmer will never admit to deleting a file mistakenly.

11

u/Half-Borg 1d ago

my manager/product owner/scrum master deleted a file i now need to recover

0

u/Able-Swing-6415 1d ago

Why bother? The last 50 devs actually on SO should just make the rules now. Doesn't really matter to the rest of us.. at least I haven't visited this site in years. And I really don't miss it.

4

u/IanDresarie 1d ago

I've never asked or interacted with a question, but it's still a site I visit regularly for both basic and niche stuff I encounter

2

u/Bartweiss 17h ago

The fall-off in traffic is pretty clearly AI-induced, but the fall-of in questions feels like it's partly because the site is just kind of... complete.

Excluding answers that have gone out of date or new frameworks, libraries, etc, >99% of what people want to know is already there. And if I need to know "how does X work?" rather than "write X for me", it's consistently faster and easier than turning to an AI which may not actually give me the library/package-specific info I'm after.

-26

u/MeLittleThing 2d ago

That's still unrelated with programming. "How to change a tire" would then fit SO because it's a problem a programmer might run into

23

u/w8eight 2d ago

You can write poems in vim if you want, it's not strictly programming tool

6

u/QuaternionsRoll 1d ago

And bash isn’t??

1

u/wjandrea 1d ago edited 1d ago

eh? Bash scripting is on-topic; interactive usage is not. (edit:) But what does that have to do with this thread?

1

u/QuaternionsRoll 1d ago

Interactive usage of vim is on-topic?

1

u/wjandrea 1d ago

IDK, I don't use Vim myself.

-1

u/moon__lander 1d ago

What if OOP rm'd vim?

6

u/CarolXZosiaNsfwScene 1d ago

[Comment deleted because duplicate]

2

u/RadicalDwntwnUrbnite 1d ago

Basically it was grandfathered in. There have been 9 attempts to close it and all voted down.

6

u/DensePapaya4 1d ago

17 years later, and “rm - rf” still gives me cold sweats

8

u/Gualdrapo 1d ago

Because you put a space between - and rf. do rm -rf and your computer won't complain

1

u/RadicalDwntwnUrbnite 1d ago edited 1d ago

FF: rm -rf / requires you supply --no-preserve-root to run if you don't nothing will happen but rm -rf /* doesn't and that will still proper fuck your system if you are running as root.

13

u/FarCrazy60 1d ago

I usually hold CTRL and hammer the C, X and V keys repeatedly, It usually works..

8

u/ONI-ENJOYER-420 1d ago

I mean, I would bet my ass every programmer who used vim saw this post at some point.

I acknowledge being one of the dumber devs, I refuse to believe am that much dumber lol

26

u/michaelpaoli 1d ago

f*ck vim!

:q!
E37: No write since last change (add ! to override)
E162: No write since last change for buffer "[No Name]"
Press ENTER or type command to continue
:q!!
E488: Trailing characters
:

:q!
E37: No write since last change (add ! to override)
E162: No write since last change for buffer "foo"
Press ENTER or type command to continue
:q!!
E488: Trailing characters
:

vi never gives me such sh*t, but vim ... f*ck vim!

https://www.mpaoli.net/~michael/linux/vim/vim_annoyances.txt

6

u/Criarino 1d ago

I also like that one about using regex to parse html

4

u/nagol93 1d ago

Ah, reminds me when I went to school with a bunch of Linux elitists who would unironically say "Vim isnt that hard to use" then reference shit like that.

2

u/Sw429 19h ago

Quick, close it as off-topic! It's polluting our precious programming site.

-8

u/J1mj0hns0n 1d ago

Jesus, even I knew what to do with that and I can't code in any capacity