this post was submitted on 20 Nov 2024
781 points (97.4% liked)

Programmer Humor

20621 readers
632 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 2 years ago
MODERATORS
781
submitted 3 months ago* (last edited 3 months ago) by [email protected] to c/[email protected]
top 50 comments
sorted by: hot top controversial new old
[–] [email protected] 0 points 2 months ago (1 children)

While I have some sympathy for anyone who loses months of work, as an IT administrator by day, all I have to say about their lack of backups, and lack of RTFM before messing with shit is:

HAHAHAHAHAHAHA HAHAHAHAHA. you got what you deserved fucker. GL.YF.

[–] [email protected] -1 points 2 months ago

Yeah, it's bad enough that it could happen, the fact they allowed that to happen so easily is far worse.

[–] [email protected] 3 points 2 months ago (1 children)

I'm sure that the "three months of work" was completely shit code. Anybody who is unfamiliar with source control (or even backups!) is prone to making stupid mistakes. Republican voters are likely to have a similar experience over the next 4 years.

[–] [email protected] 15 points 2 months ago (1 children)

Reminds me of a hilarious bug in early GHC: https://gitlab.haskell.org/ghc/ghc/-/issues/163

The compiler will delete your source file if there's any compile error. And the user complained only by sending a very polite email to report this bug. Simon Peyton Jones mentioned it in one of his talks and I still find it quite hilarious till this day.

[–] [email protected] 2 points 2 months ago
[–] [email protected] 3 points 2 months ago (1 children)

"Microsoft Please Fix" ifadesi, kullanıcıların Microsoft ürünlerinde karşılaştıkları hatalar veya sorunlar nedeniyle şirketten çözüm talep ettiği bir internet meme'idir. Nakkaştepe Millet Bahçesi Menu

[–] [email protected] 3 points 2 months ago* (last edited 2 months ago)

It also plays on the weird trope of people swearing at devs in foreign languages

https://github.com/ruffle-rs/ruffle/issues/17205

[–] [email protected] 1 points 2 months ago* (last edited 2 months ago) (1 children)

This is 2000% user error lmao even tho VS Code is a pain in the ass on w*ndows

[–] [email protected] 1 points 2 months ago

Did you actually read the thread and see the bug they found where it deleted files unassociated with git?

[–] [email protected] 5 points 2 months ago* (last edited 2 months ago) (2 children)

So VS Code isn't just slow and bloated, it also deletes your files. So glad I was turned off by its excessive memory consumption and deleted it before it deleted my files.

Edit: also why I only ever used git from the command line, I never found a git UI that is easy to understand, and never trusted them.

[–] [email protected] 5 points 2 months ago

It's really not slow or bloated. There's a reason it's so popular (even in Linux)

If it's running slow, maybe it's time to check your computer....

I literally had to use it to load 100 git projects simultaneously recently

[–] [email protected] 6 points 2 months ago (1 children)

VS Code slow and bloated? Someone hasn't been spending nearly enough time in IntelliJ

[–] [email protected] 1 points 2 months ago (1 children)

Two things can be right at the same time. I remember when I used to run VS6, IE and WinAmp in 128MB with KBs to spare. Even today, proper VS is a much better product than VSCode while being a full fledged IDE and not just a glorified text editor.

[–] [email protected] 1 points 2 months ago

Vscode is an ide

If vs6 is so great, feel free to use it

It's also about productivity, Notepad uses less ram, but is not productive. This runs fine on any machine really

And the point of ram is to be used.. You can't check the ram usage and simply assume it's bloated, because most apps also cache too. RAM is meant to be used

[–] [email protected] 12 points 2 months ago
[–] [email protected] 16 points 2 months ago (3 children)

It does warn you it will erase the file when you discard...

[–] [email protected] 3 points 2 months ago

Go read the actual thread. There was a bug someone found that files you have in there that aren't even associated with git still get deleted. I'm not entirely convinced this was the poster's fault.

[–] [email protected] 5 points 2 months ago (2 children)

Warns you that changes will be discarded....not quite the same words

[–] [email protected] -1 points 2 months ago (1 children)

If you use git and understand that VSC's source control stuff is just a thin wrapper around git, you should understand what "discard all changes" means

[–] [email protected] 1 points 2 months ago* (last edited 2 months ago)

"discard" is not a git operation. Reset and restore are, but those weren't the words used.

[–] [email protected] 1 points 2 months ago* (last edited 2 months ago) (1 children)

I just tried right now to get the exact message.

Are you sure you want to DELETE foo?
This is IRREVERSIBLE!
This file will be FOREVER LOST if you proceed.

The confirmation button even says Delete File...

User error.

[–] [email protected] 4 points 2 months ago (1 children)
[–] [email protected] 5 points 2 months ago

Ah looking at issue 32459 it was addressed shortly after.

You're right that it did originally say "Discard".

[–] [email protected] 1 points 2 months ago

Man who clicks confirmation for leopards to delete his work is angry and surprised when his work is deleted.

load more comments
view more: next ›