this post was submitted on 30 Nov 2023
258 points (100.0% liked)

Programmer Humor

856 readers
2 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS
 
top 15 comments
sorted by: hot top controversial new old
[–] DmMacniel@feddit.de 70 points 1 year ago

You are only a Kontributor when Its a KDE repository.

[–] lowleveldata@programming.dev 35 points 1 year ago (1 children)

When they reject your PR because you still managed to slip in a bug

[–] DarkenLM@kbin.social 7 points 1 year ago

If it involves pointers, not unlikely.

[–] albert@lemmy.sysctl.io 21 points 1 year ago (2 children)

I knew a guy who boasted about the number of repositories he created on Github. Said he created over four thousand.

I took a look. He did in fact sit down and create over 4,000 different, unique repositories. Each with a README and some slight variation on a few lines of code. That's some kind of dedication, I guess?

[–] Buttons@programming.dev 6 points 1 year ago (1 children)

Was he a Go developer before generics? Published 4000 versions of the library, one for each type.

[–] albert@lemmy.sysctl.io 3 points 1 year ago

No, it was mostly short bash/python/php scripts.

[–] Redjard@lemmy.dbzer0.com 2 points 1 year ago (1 children)
[–] dukk@programming.dev 8 points 1 year ago

And maybe he published it on GitHub?

That’d be funny. Seeing mass-repo-creator and then 4000 random repositories below it.

[–] monk@lemmy.unboiled.info 10 points 1 year ago

I once fixed a CVE by removing a line. And, IIRC, my only contribution to openssl is a single-character one.

[–] lelgenio@lemmy.ml 9 points 1 year ago
[–] noproblemmy@programming.dev 7 points 1 year ago

I saw the other day a profile full of PRs, all diffs were changes from passing code through an autoformater.

[–] fievel@lemm.ee 5 points 1 year ago

In my developer career, the littlest commit I did was the removal of a single ';' which was causing a wonderful to debug bug ;)

[–] SkyNTP@lemmy.ca 5 points 1 year ago* (last edited 1 year ago)

Typing characters is maybe 1% of the job. The other 99% is understanding how the change affects everything else. Changing a single line of code in a function called by 1000 other functions each themselves called in 10 other functions can still potentially be more work and a bigger change than changing 9000 lines of code in a function called once.

[–] darkpanda@lemmy.ca 3 points 1 year ago

I once fixed a bug in credit card payment form because someone had gotten some formatting character screwed up and used a capital M in some place where a lower case m should have been. Since it was a payment system they couldn’t take payment for a while whilst that was screwed up. I was contracting there and happened to notice it. Sometimes all it takes is one character.

[–] dullbananas@lemmy.ca 2 points 1 year ago