this post was submitted on 30 Nov 2023
427 points (98.0% liked)

Programmer Humor

32568 readers
377 users here now

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

Rules:

founded 5 years ago
MODERATORS
 
top 22 comments
sorted by: hot top controversial new old
[–] [email protected] 95 points 1 year ago

You are only a Kontributor when Its a KDE repository.

[–] [email protected] 49 points 1 year ago (1 children)

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

[–] [email protected] 7 points 1 year ago

If it involves pointers, not unlikely.

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

[–] [email protected] 6 points 1 year ago (1 children)

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

[–] [email protected] 4 points 1 year ago

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

[–] [email protected] 1 points 1 year ago (1 children)
[–] [email protected] 11 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.

[–] astarob 24 points 1 year ago (2 children)

And your typo fix kickstarts 10 workflows, downloading gigabytes of data and running endless tests.

Depending on the size of the project, this may be an environmental concern.

[–] jubilationtcornpone 11 points 1 year ago

When your PR to replace one line of code actively contributes to climate change.

[–] [email protected] -1 points 1 year ago

Using legacy SI units for size of information is deprecated, they only bring confusion, instead use IEC/binary units like GiB (gibibyte). https://en.m.wikipedia.org/wiki/Binary_prefix

[–] [email protected] 17 points 1 year ago (1 children)
[–] [email protected] 3 points 1 year ago

Legendary o7

[–] [email protected] 17 points 1 year ago

Most of my PRs are fixing typos in the Readmes 8) It ain't much, but it's honest work

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

[–] [email protected] 9 points 1 year ago

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

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

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

[–] [email protected] 4 points 1 year ago (1 children)

@LostXOR I dunno, I appreciate not having broken links in documentation. No MR is too small, unless the person "contributing" starts bragging about "I contribute to X project." Then that's pretty obnoxious.

[–] [email protected] 1 points 1 year ago

Yeah I suppose it's more than a "minor problem". Still feels weird making such a small PR lol.

[–] [email protected] 3 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 ;)

[–] [email protected] 1 points 11 months ago