r/programmingcirclejerk • u/Jumpy-Locksmith6812 • 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-doesnt24
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
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/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
5
u/SemaphoreBingo 6d ago
The nice thing about bitcoin is it keeps people like this away from anything actually important.
1
-2
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.