555
submitted 12 hours ago* (last edited 12 hours ago) by Maven@lemmy.zip to c/programmer_humor@programming.dev
(page 2) 50 comments
sorted by: hot top controversial new old
[-] Artyom@lemm.ee 20 points 5 hours ago

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 36 points 7 hours ago

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

[-] Frozengyro@lemmy.world 6 points 6 hours ago
[-] DokPsy@lemmy.world 31 points 6 hours ago

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 -1 points 2 hours ago

is op stupid ?

[-] aliser@lemmy.world 28 points 8 hours ago

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 12 points 6 hours ago

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

[-] dragonfucker@lemmy.nz 9 points 4 hours ago

You can avoid this problem by not doing version control in your code editor. Different programs for different purposes. VS Code is fine for editing code and should not be used to manage an entire project.

[-] tiredofsametab@fedia.io 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 (3 replies)
load more comments (2 replies)
[-] parpol@programming.dev 3 points 4 hours ago

Maybe he would prefer perforce.

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

Or Jazz RTC. That one was fun.

[-] zarlin@lemmy.world 271 points 12 hours ago

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

[-] Korne127@lemmy.world 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

[-] Mixel@feddit.org 85 points 11 hours ago

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 69 points 10 hours ago

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.

[-] 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.

[-] 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.

load more comments (1 replies)
[-] Blackmist@feddit.uk 13 points 8 hours ago

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 46 points 10 hours ago

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 9 hours ago

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 23 points 9 hours ago

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

[-] BatmanAoD@programming.dev 17 points 8 hours ago

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 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)
[-] mox@lemmy.sdf.org 134 points 12 hours ago* (last edited 12 hours ago)

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 ›
this post was submitted on 20 Nov 2024
555 points (97.4% liked)

Programmer Humor

19622 readers
1621 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