this post was submitted on 20 Nov 2024
893 points (100.0% liked)

Programmer Humor

22995 readers
346 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
893
submitted 5 months ago* (last edited 5 months ago) by [email protected] to c/[email protected]
(page 2) 50 comments
sorted by: hot top controversial new old
[–] [email protected] 24 points 5 months ago (2 children)

Doing a git clean is a dick move.

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

The user clicked an option to "discard" all changes. They then got a very clear pop-up saying that this is destructive and cannot be undone (there's a screenshot in the thread).

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

I very much understand how one can think this would revert any changes done to files under version control but not delete the ones that are not. I believe this dialog has since been updated to explicitly state that fact.

load more comments (1 replies)
load more comments (1 replies)
[–] [email protected] 23 points 5 months ago (9 children)

That has the same energy as complaining that a file manager has "Delete" in the context menu.

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

except that the "delete" in file managers is actually "trash" and that's for precisely this reason. Anyone not using the trash bin for a GUI that is capable of deleting files is either incompetent or malicious.

frankly rm should default to using the trash bin as well, for desktop-focused distros.

load more comments (8 replies)
[–] [email protected] 22 points 5 months ago (1 children)

Often times, people learn that the stove is hot by touching it.

It's easier to blame the stove than the person who touched it. But if you laugh when you watch it happen, you're probably not laughing at the stove.

load more comments (1 replies)
[–] [email protected] 21 points 5 months ago (2 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.

load more comments (2 replies)
[–] [email protected] 21 points 5 months ago

Screenshots of git issues are one of my favorite genres of meme

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

In reality, VSCode has local file history called "Timeline". It's enabled by default.

https://github.com/microsoft/vscode-docs/blob/vnext/release-notes/v1_66.md#local-history

load more comments (4 replies)
[–] [email protected] 15 points 5 months ago

Why are they messing with the source control options when they're not using source control? Perhaps learn about stuff before you start clicking buttons and performing delete operations on your super critical files?

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

Man I get paranoid about synchronization programs for this very reason. There's usually some turnkey easy-mode enabled as soon as you first launch that's like:

"Hey you wanna back up your entire NAS to your phone?! That'll be fun, right?!"

And you're like "...No."

And then it wants to obliterate everything so it's all "synchronized", often it's not easy to find a "No, stop, don't do anything at all until I configure this." Option.

iTunes was SO BAD about this.

Syncthing is the least-bad sync software I've ever run. It's got some footguns but it's still brilliant.

I would imagine there's still ways to back up version controlled software right?

load more comments (2 replies)
load more comments
view more: ‹ prev next ›