parinfer-mode is a really fun way to edit lisp code: https://github.com/DogLooksGood/parinfer-mode
Things like sexp convolute are just unindent, swap lines, reindent. Convolute is much easier to show than describe:
(when foo
(let (bar)
(baz)))
to:
(let (bar)
(when foo
(baz)))
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%!