this post was submitted on 30 Nov 2023
446 points (98.1% liked)

Programmer Humor

32054 readers
1642 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] 100 points 9 months ago

You are only a Kontributor when Its a KDE repository.

[–] [email protected] 54 points 9 months ago (1 children)

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

[–] [email protected] 9 points 9 months ago

If it involves pointers, not unlikely.

[–] [email protected] 32 points 9 months 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] 7 points 9 months ago (1 children)

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

[–] [email protected] 5 points 9 months ago

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

[–] [email protected] 2 points 9 months ago (1 children)
[–] [email protected] 13 points 9 months ago

And maybe he published it on GitHub?

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

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

[–] [email protected] 10 points 9 months ago

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

[–] [email protected] -1 points 9 months 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] 18 points 9 months ago (1 children)
[–] [email protected] 3 points 9 months ago

Legendary o7

[–] [email protected] 17 points 9 months ago

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

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

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

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

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

[–] [email protected] 6 points 9 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] 6 points 9 months ago* (last edited 9 months 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 9 months 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] 4 points 9 months 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 9 months ago

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

[–] [email protected] 2 points 9 months ago