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

Programmer Humor

19623 readers
2227 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
(page 4) 50 comments
sorted by: hot top controversial new old
[–] AnUnusualRelic@lemmy.world 4 points 19 hours ago* (last edited 19 hours ago) (5 children)

Looks like windows should come with a dictionary.

"Huh, discard, I wonder what that does. Let's try it on all my work from the last six months"

Idiots gonna idiot...

load more comments (5 replies)
[–] onlinepersona@programming.dev 49 points 1 day ago (6 children)

The reactions here are why people don't join forums, don't ask questions, or choose to learn alone. "duh, I knew that". Yes, the dude didn't, which is exactly why he's frustrated. I think too many have forgotten what it's like to be a beginner and make a fatal mistake, which would explain the mocking responses here and things like recommending new linux users Arch.

Anti Commercial-AI license

[–] Zagorath@aussie.zone 37 points 1 day ago (1 children)

I understand the impulse to be empathetic and kind. But it's very hard to respond in good faith to someone who just made a post where more than half the words are "fuck you".

[–] madcaesar@lemmy.world 28 points 1 day ago (1 children)

A feature that permanently deletes 5000 files with one click without warning deserves a fuck you.

[–] BatmanAoD@programming.dev 21 points 1 day ago (4 children)

It had a reasonably clear warning, though; a screenshot is included in this response from the devs. But note that the response also links to another issue where some bikeshedding on the warning occurred and the warning was ultimately improved.

[–] Buddahriffic@lemmy.world 13 points 1 day ago (2 children)

I disagree that that warning is reasonably clear. Even the comment that included it has the line of thought, where the user, not knowing what terms git uses thinks that they just did an action that is going to change each of their files. It makes sense that they'd want to discard those changes. That user then goes on with some snark about not wanting to learn any more about what they are playing with and that other programs would do the same, but "discard changes" seems like it would have a clear meaning to someone who doesn't know git.

The warning says it isn't undoable but also doesn't clarify that the files themselves are the changes. Should probably have a special case for if someone hits discard changes on a brand new repository with no files ever checked in and hits discard on a large number of files instead of checking them in. Even a "(This deletes all of the local files!)" would make it clear enough to say what the warning is really about.

load more comments (2 replies)

OK this is hilarious

When you sell hammers you'll likely have people using them to hit their own heads, which, understandably, they will put the hammer at fault. Now, we already put a big don't hit this on your own head label on our hammer. Should we actually prohibit people from head hitting with our hammers? Probably not, since some users still want to hit heads with it. It's just how hammers work.

load more comments (2 replies)
load more comments (5 replies)
[–] joyjoy@lemm.ee 68 points 1 day ago (16 children)

Say you don't know how to use git without saying you don't know how to use git.

load more comments (16 replies)
[–] aliser@lemmy.world 28 points 1 day ago (10 children)

deleted a chunk of my work the other day by pressing Ctrl z in windows explorer. my project was without source control installed (cuz it was in Dev stage), and Ctrl shit z/Ctrl y hotkeys didn't work, so that chunk was just gone, persished forever... or so I though. I remembered vs code having a file history under some panel. found it, and here it was - at least some of the latest history of my file. lesson learned: even in Dev where nothing is yet working, finish your day of coding with a commit to a remote repo.

[–] GetOffMyLan@programming.dev 7 points 23 hours ago

Every new project for me starts with setting up git. There's no reason not to. It takes seconds.

load more comments (9 replies)
[–] Havald@lemmy.world 66 points 1 day ago (39 children)
load more comments (39 replies)
[–] FreakinSteve@lemmy.world 12 points 1 day ago

Jesus saves, and so should you

[–] shekau@lemmy.today 0 points 12 hours ago

VSCodium better

load more comments
view more: ‹ prev next ›