I created a patch to a typescript project today, but accidentally reformatted it. When viewing my changes with difftastic, I didn't see any of the formatting changes!
This is kinda cool, but it would have annoyed the maintainer if I hadn't spotted it.
miniblog.
Related Posts
It makes sense to worry about writing code that is accidentally quadratic.
Turns out you don't need to worry about accidentally exponential code. It's painfully obvious.
Git repositories have the lovely properties that deletes aren't propagated. Shared/cloud storage sync deletes across devices.
Accidentally deleting content in a local git repo, and even pushing it, is a safe operation.
GitHub now provides a feature to discover when you've accidentally leaked company private keys: https://developer.github.com/partnerships/token-scanning/
Makes sense, but it's a shame it's needed. It's easy to screw up.