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

Programmer Humor

19634 readers
1631 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
569
submitted 13 hours ago* (last edited 12 hours ago) by [email protected] to c/programmer_humor
(page 2) 50 comments
sorted by: hot top controversial new old
[–] [email protected] 20 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.

[–] [email protected] 7 points 4 hours ago

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

load more comments (3 replies)
[–] [email protected] 36 points 7 hours ago (1 children)

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

[–] [email protected] 6 points 7 hours ago (2 children)
[–] [email protected] 31 points 7 hours ago (3 children)

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

[–] [email protected] 2 points 4 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)
[–] [email protected] 28 points 8 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.

[–] [email protected] 12 points 6 hours ago (5 children)

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

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

is op stupid ?

[–] parpol 3 points 5 hours ago (1 children)

Maybe he would prefer perforce.

[–] [email protected] 1 points 3 hours ago

Or Jazz RTC. That one was fun.

[–] [email protected] 272 points 12 hours ago (2 children)

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

[–] [email protected] 8 points 5 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

[–] [email protected] 85 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

[–] [email protected] 69 points 11 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.

[–] [email protected] 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 10 points 6 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)
[–] [email protected] 13 points 8 hours ago (1 children)

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

People run their businesses on this.

[–] [email protected] 2 points 3 hours ago (1 children)

I once landed a job at a small company doing a software for medical analysis labs all over the country. Software had been around for over ten years at this point. They had no source control. Nothing. Absolute nightmare.
They were literally starting to use source control when I arrived.
In 2015.

load more comments (1 replies)
load more comments (3 replies)
[–] [email protected] 137 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)
[–] onlinepersona 46 points 11 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

[–] [email protected] 34 points 9 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".

[–] [email protected] 24 points 9 hours ago (1 children)

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

[–] BatmanAoD 17 points 9 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.

[–] [email protected] 1 points 3 hours ago

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“.

[–] [email protected] 13 points 8 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)
load more comments
view more: ‹ prev next ›