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

Programmer Humor

19623 readers
2490 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
top 50 comments
sorted by: hot top controversial new old
[–] shekau@lemmy.today 1 points 1 minute ago

VSCodium better

[–] Phoenix3875@lemmy.world 19 points 2 hours ago (3 children)

Reminds me of a hilarious bug in early GHC: https://gitlab.haskell.org/ghc/ghc/-/issues/163

The compiler will delete your source file if there's any compile error. And the user complained only by sending a very polite email to report this bug. Simon Peyton Jones mentioned it in one of his talks and I still find it quite hilarious till this day.

[–] fibojoly@sh.itjust.works 1 points 6 minutes ago

Left the --hardcore compile option on. Easy mistake.

[–] blarg@programming.dev 1 points 10 minutes ago

Software development: hardcore mode

[–] DelightfullyDivisive@lemmy.world 7 points 2 hours 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 9 points 1 hour ago

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

[–] Anticorp@lemmy.world 9 points 2 hours ago

Why are they messing with the source control options when they're not using source control? Perhaps learn about stuff before you start clicking buttons and performing delete operations on your super critical files?

[–] bitwolf@sh.itjust.works 19 points 4 hours ago (3 children)

It does warn you it will erase the file when you discard...

[–] JackbyDev@programming.dev 4 points 1 hour ago (1 children)

Go read the actual thread. There was a bug someone found that files you have in there that aren't even associated with git still get deleted. I'm not entirely convinced this was the poster's fault.

[–] Scoopta@programming.dev 2 points 33 minutes ago (1 children)

It's not a bug, it's intentional. They consider changes to be any change since the last commit including in untracked files. They did update it to make this behavior a lot more obvious though.

[–] JackbyDev@programming.dev 1 points 22 minutes ago

This comment in particular does a great job of explaining the UX problem with this. https://github.com/microsoft/vscode/issues/32459#issuecomment-322160461

[–] kalpol@lemmy.world 9 points 2 hours ago (7 children)

Warns you that changes will be discarded....not quite the same words

load more comments (7 replies)
load more comments (1 replies)
load more comments
view more: next ›