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

Programmer Humor

32495 readers
30 users here now

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

Rules:

founded 5 years ago
MODERATORS
 
top 20 comments
sorted by: hot top controversial new old
[–] [email protected] 94 points 11 months ago

You are only a Kontributor when Its a KDE repository.

[–] [email protected] 53 points 11 months ago (1 children)

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

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

If it involves pointers, not unlikely.

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

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

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

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

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

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

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

Legendary o7

[–] thisNotMyName 17 points 11 months 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 11 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] 9 points 11 months 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 11 months ago* (last edited 11 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 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] 3 points 11 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] 1 points 11 months ago