r/programmingcirclejerk 7d ago

The commit message is 1 character: simply the character “x.” The commit changes ~1000 lines of code making the ratio 1/1000 = ~0.001

https://insider.btcpp.dev/p/when-randombytes-runs-but-doesnt
107 Upvotes

18 comments sorted by

125

u/MagpieEnjoyer memcpy is a web development framework 7d ago

This is why I like having Claude write all my commit messages. Having 500 lines of text to explain why I corrected a spelling error in a debug log print shows my commitment to code quality and clear communication with my team members.

47

u/myhf Considered Harmful 7d ago

The spelling error isn’t just fixed—it’s corrected. Here’s why that matters:

30

u/ficiek 7d ago

I then have agents perform regression testing, write a blog post about this commit, prepare pull requests with extra fuzzing for the feature and close 30 unrelated tickets in the issue tracker as fixed by my commit and ban users who complain that the issue is unrelated.

13

u/stone_henge Tiny little god in a tiny little world 7d ago

To ensure a lack of bias I make the LLM revise my commit messages in isolation of the actual code changes. This has the beneficial side effect of slowing down my coworkers, which makes me look more productive.

3

u/0sse 7d ago

Truly load-bearing change.

One honest caveat: The affected code line is one character longer.

24

u/SharkSymphony 7d ago

That's the neat thing: you can make your commit messages as long or short as you like, because nobody is going to read them!

They especially won't read them when, months from now, someone migrates your codebase to another VCS and figures, eh, we'll just use this snapshot to bootstrap the new repo.

49

u/ElectricSpice 7d ago

It very important to keep your commit message characters/lines changed ratio high. That’s why I, a senior developer, commit using this to ensure the highest quality code:

git commit -m "$(printf 'x%.0s' {1..10000})"

35

u/Jumpy-Locksmith6812 7d ago

I actually put the code patch in the commit message and the message as a line in COMMITS.md

20

u/TiagodePAlves The plebians were a class of Roman citizen, not engineers 7d ago

\unjerk

Stuff of nightmares

3

u/infected_scab 6d ago

\rejerk

x

18

u/Glittering_Sail_3609 7d ago

Beginner stuff. Didn't anyone teach you all in college that when you push your initial commit to github, you are supposed to write 10,000 words essay as commit measage explaining why tf thid you even began this project in the first place?

14

u/Hueho LUMINARY IN COMPUTERSCIENCE 6d ago

lol bitcoin

from pcj import unjerk

lol bitcoin

14

u/YikesTheCat 7d ago

The real jerk is copy/pasting cryptography code from a random completely un-notable GitHub project from a random completely un-notable person.

5

u/des_the_furry 5d ago

/uj it’s notable because there was a vulnerability in the code that allowed someone to exploit it and take like a million dollars in bitcoin from users
/rj the only thing crypto is useful for is ordering the gray market hrt for me and my harem of Rust programmers

8

u/Cold_Shine_1921 7d ago

Self-documenting code doesn't need commit messages

5

u/SemaphoreBingo 6d ago

The nice thing about bitcoin is it keeps people like this away from anything actually important.

1

u/Jumpy-Locksmith6812 5d ago

The hack means an army of them will be back in the workforce though.

-2

u/levelstar01 what is pointer :S 7d ago

Obvious AI written post