this post was submitted on 20 Nov 2024
870 points (97.6% liked)

Programmer Humor

19735 readers
383 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 1 year ago
MODERATORS
870
submitted 1 week ago* (last edited 1 week ago) by [email protected] to c/[email protected]
(page 2) 50 comments
sorted by: hot top controversial new old
[–] [email protected] 22 points 1 week ago (3 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 (3 replies)
[–] [email protected] 21 points 1 week ago (2 children)

Doing a git clean is a dick move.

[–] [email protected] 12 points 1 week ago (2 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).

load more comments (2 replies)
load more comments (1 replies)
[–] [email protected] 21 points 1 week ago (8 children)

If you ever happen to have 5000 uncommitted files, you shouldn't be asking yourself if you should commit more often. You should be asking yourself how many new repos you should be making.

load more comments (8 replies)
[–] riodoro1 18 points 1 week ago (3 children)

Typical web developer. He didn’t even know files can be deleted without going into „recycle bin”

load more comments (3 replies)
[–] [email protected] 18 points 1 week 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)
[–] kamen 18 points 1 week ago (9 children)

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

load more comments (9 replies)
[–] [email protected] 17 points 1 week ago (1 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 (1 replies)
[–] wowwoweowza 16 points 1 week ago
[–] DelightfullyDivisive 15 points 1 week 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.

load more comments (1 replies)
[–] ShortFuse 12 points 1 week 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)
[–] FreakinSteve 12 points 1 week ago

Jesus saves, and so should you

load more comments
view more: ‹ prev next ›