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

Programmer Humor

19623 readers
1610 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 2) 50 comments
sorted by: hot top controversial new old
[–] FreakinSteve@lemmy.world 11 points 4 hours ago

Jesus saves, and so should you

[–] Artyom@lemm.ee 18 points 5 hours ago (4 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.

[–] Benaaasaaas@lemmy.world 7 points 4 hours ago

This is without gitignore, so probably just installed one js dependency

load more comments (3 replies)
[–] LengAwaits@lemmy.world 35 points 6 hours ago (1 children)

Looks like someone forgot about the 3-2-1 rule. Teachable moment.

[–] Frozengyro@lemmy.world 6 points 6 hours ago (2 children)
[–] DokPsy@lemmy.world 29 points 6 hours ago (3 children)

3 backups: 2 different places/media on-site 1 off-site

[–] wrekone@lemmy.dbzer0.com 2 points 3 hours ago

What about 2 offsite and 1 onsite? That's been my approach, mostly due to storage limitations onsite.

load more comments (2 replies)
load more comments (1 replies)
[–] lseif@sopuli.xyz 0 points 1 hour ago

is op stupid ?

[–] parpol@programming.dev 3 points 4 hours ago (1 children)

Maybe he would prefer perforce.

[–] fibojoly@sh.itjust.works 1 points 2 hours ago

Or Jazz RTC. That one was fun.

[–] aliser@lemmy.world 27 points 7 hours ago (3 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.

[–] GreenKnight23@lemmy.world 11 points 5 hours ago (4 children)

all I'm learning from these stories is to stay far far away from vscode.

[–] tiredofsametab@fedia.io 6 points 4 hours ago

I begrudgingly switched to vscode a few years ago. I've never had any issues like this with it. My only issues have been with a plugin that I installed optionally (and that was later fixed by the plugin author).

load more comments (3 replies)
load more comments (2 replies)
[–] zarlin@lemmy.world 268 points 12 hours ago (2 children)

The real issue is already going 3 months without source control.

[–] Korne127@lemmy.world 8 points 4 hours ago

The person didn’t have any git repository; probably a new programmer that didn’t know how version control works and just clicked discard without understanding what that means in this situation

[–] Mixel 83 points 11 hours ago (5 children)

I have heard things from another apprentice who just does not use version control at all and the only copies are on his laptop and on his desktop. He is also using node.js with only 1 class and doesn't know about OOP (not sure if you even use that in js no clue 😅) and has one big file with 20k lines of code I have absolutely no clue how he navigates through it

[–] e8d79@discuss.tchncs.de 67 points 10 hours ago (3 children)

I know the type. Usually the kind of confident know-it-all who refuses to learn anything but delivers changes really quickly so management loves them. I had the misfortune to fix such a project after that 'rock-star' programmer left the company. Unfortunately the lack of professional standards in our industry allows people like that to continuously fail upwards. When I left the project they rehired them and let them design the v2 of the project we just fixed.

[–] RagingRobot@lemmy.world 15 points 6 hours ago

My company for the longest time had two engineers they would give all the new projects to. They would rush through some prototype code as fast as they could then management would bring in a new team to take the project over. The code was always garbage and crammed into one place. I kept getting new projects and instead of starting from a nice clean slate we always had to build on that garbage. It sucked so bad.

[–] MajorHavoc@programming.dev 10 points 5 hours ago

When I left the project they rehired them and let them design the v2 of the project we just fixed.

Lol. Wow.

And that is why I've been unable to work myself out of a job in all my long years as a developer.

load more comments (1 replies)
[–] Blackmist@feddit.uk 12 points 8 hours ago (2 children)

Those are rookie numbers. I have at least a 35k one somewhere. More than one actually.

People run their businesses on this.

load more comments (2 replies)
load more comments (3 replies)
[–] onlinepersona@programming.dev 45 points 10 hours ago (4 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 33 points 8 hours 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 22 points 8 hours ago (1 children)

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

[–] BatmanAoD@programming.dev 17 points 8 hours ago (5 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.

If you have no idea what Git is, that warning message is not telling you you’re about to delete 5000 files.

But I wonder if this person maybe does know about Git because they used the word „stage“.

[–] tfw_no_toiletpaper@lemmy.world 13 points 7 hours ago

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 (3 replies)
load more comments (3 replies)
[–] mox@lemmy.sdf.org 133 points 12 hours ago* (last edited 12 hours ago) (30 children)

In case anyone else is wondering, or simply doesn't like reading screen shots of text, this is apparently a real report:

https://github.com/microsoft/vscode/issues/32405

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