this post was submitted on 20 Nov 2024
861 points (97.5% liked)

Programmer Humor

19843 readers
211 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
(page 2) 50 comments
sorted by: hot top controversial new old
[–] Artyom@lemm.ee 22 points 1 month 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)
[–] sabreW4K3@lazysoci.al 21 points 1 month ago (2 children)

Doing a git clean is a dick move.

[–] BatmanAoD@programming.dev 14 points 1 month 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)
[–] GammaGames@beehaw.org 21 points 1 month ago

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

[–] Bougie_Birdie@lemmy.blahaj.zone 20 points 1 month 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@lemmy.world 18 points 1 month 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)
[–] MystikIncarnate@lemmy.ca 18 points 1 month 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)
[–] riodoro1@lemmy.world 18 points 1 month 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)
[–] MonkeMischief@lemmy.today 14 points 1 month 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)
[–] wowwoweowza@lemmy.world 14 points 1 month ago
[–] DelightfullyDivisive@lemmy.world 14 points 1 month 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.

[–] xorollo@leminal.space 21 points 1 month ago

What a delightfully divisive statement. We do all need to start somewhere though, and losing months of work is very discouraging!

[–] FreakinSteve@lemmy.world 12 points 1 month ago

Jesus saves, and so should you

[–] ShortFuse@lemmy.world 12 points 1 month 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)
load more comments
view more: ‹ prev next ›