Here's an example where highlighting changed words in a comment is kinda distracting.
I think the right solution is to compute a levenshtein distance and only highlight changed words if the lines are sufficiently similar.
miniblog.
Related Posts
I've started using DNSControl for configuring DNS for my personal domains and it's been delightful. Declarative DNS!
I get comments (the DSL is just JS), history (it's in git) and trivial rollback! I've switched my DNS provider to Hetzner (which is free!) to use this.
I've now worked on several systems where the JSON was so big that avoiding pretty-printing was a performance win!
I eventually learned that there's a 'correct way up' for USB A cables. The two small holes should be on top.
Tragically not all power adapters get this right, even for name brands. My ability to get the cable right first time still isn't much better than 50%!
