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

Programmer Humor

32415 readers
836 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
[–] DmMacniel@feddit.de 100 points 11 months ago

You are only a Kontributor when Its a KDE repository.

[–] lowleveldata@programming.dev 54 points 11 months ago (1 children)

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

[–] DarkenLM@kbin.social 9 points 11 months ago

If it involves pointers, not unlikely.

[–] albert@lemmy.sysctl.io 32 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?

[–] Buttons@programming.dev 7 points 11 months ago (1 children)

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

[–] albert@lemmy.sysctl.io 5 points 11 months ago

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

[–] Redjard@lemmy.dbzer0.com 2 points 11 months ago (1 children)
[–] dukk@programming.dev 13 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.

[–] astarob@sh.itjust.works 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.

[–] jubilationtcornpone@sh.itjust.works 10 points 11 months ago

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

[–] Andrew15_5@mander.xyz -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

[–] lelgenio@lemmy.ml 18 points 11 months ago (1 children)
[–] agent_flounder@lemmy.world 3 points 11 months ago

Legendary o7

[–] thisNotMyName@lemmy.world 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

[–] noproblemmy@programming.dev 11 points 11 months ago

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

[–] monk@lemmy.unboiled.info 11 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.

[–] SkyNTP@lemmy.ca 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.

[–] darkpanda@lemmy.ca 6 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.

[–] fievel@lemm.ee 5 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 ;)

[–] vic@seal.cafe 4 points 11 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.

[–] LostXOR@kbin.social 1 points 11 months ago

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

[–] dullbananas@lemmy.ca 2 points 11 months ago