Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Using whitespace is cool, but you know what would be really cool? Using a thesaurus to reword the commit message until it matches the hash :)


... or refactor the code using an automated thesaurus and a bit of AI in a way to generate a particular hash.

- Hey Bob, why did you rename the 'pick_person' function to 'choose_desirable_candidate'?

- git made me do it


I was going to solve some business problems today but instead there became an urgent need to GPU accelerate the task of making my commit hash appear to have the rich semantics of "a number that goes up". Hm, I bet this old FPGA could be repurposed to add a 2x speedup...


"Indubitably overhaul insect"


Only works if your commit message is written in hexadecimal characters


I don't understand — the example in the article adds the string "magic: MTQIpN2AmwQA" to the commit message. The final hash is hexadecimal, but what you feed into it isn't.


"it" (in "it matches the hash") = "the next sequential number", not "the commit message", afaict. Not very clear, I agree.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: