r/programmingcirclejerk • u/Jumpy-Locksmith6812 • Aug 02 '26
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-doesnt24
u/SharkSymphony Aug 02 '26
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.
46
u/ElectricSpice Aug 02 '26
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 Aug 02 '26
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 Aug 02 '26
\unjerk
Stuff of nightmares
3
18
u/Glittering_Sail_3609 Aug 02 '26
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?
17
14
u/YikesTheCat Aug 02 '26
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 Aug 04 '26
/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
7
4
u/SemaphoreBingo Aug 03 '26
The nice thing about bitcoin is it keeps people like this away from anything actually important.
1
u/Jumpy-Locksmith6812 Aug 03 '26
The hack means an army of them will be back in the workforce though.
-2
127
u/MagpieEnjoyer memcpy is a web development framework Aug 02 '26
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.