Ask HN: Programs that saved you 100 hours? (2022 edition)
470 pointsI've asked this previously: https://news.ycombinator.com/item?id=22849208
But a few years have past and want to see what's emerged since. Although can be new to you vs. released in 2021 or 2022 necessarily.
Things I've come across in the meantime:
* mock AWS services https://github.com/spulec/moto
* query cloud services https://github.com/turbot/steampipe
* munge CSV https://github.com/johnkerl/miller https://github.com/BurntSushi/xsv
* page json https://github.com/PaulJuliusMartinez/jless
* text to tree structure [I use this as a hack to version control my music library] https://github.com/birchb1024/frangipanni
Comments (559) 186 threads
Earlier comments[1] https://raw.githubusercontent.com/rasteric/z3s5-lisp/main/do...
Being able to edit text by piping it through shell commands and back into the buffer is pretty darn useful. In this case, it's not vi alone that provides the benefit, but whatever.
Macros and registers can be super handy when you have to do the same thing over and over in a big file. Sure, I could write a script, but sometimes it's just easier to do it by hand once and repeat the macro thousands of times.
Once you are able to commit certain operations to muscle memory, you can really whip around. For instance 'vapgq' selects around the current paragraph and formats it.
kanata is basically like QMK for any keyboard without the firmware requirement. I use kanata with my trusty old iMac keyboard which is to this day my favourite keyboard of all time. But now I have all the cool QMK-style layers with it.
So that is awesome on its own, but where it gets even better for me, and this is where the seconds have really added up to hours, is that I wrote another piece of software which programmatically changes layers on kanata whenever a different window is focused in my tiling window manager.
This has honestly changed -everything- for me. I no longer have to waste keys on my keyboard to switch layers, I no longer have to -think- about switching layers, I just focus another window with alt+hjkl and whatever keyboard layer I expect for any given application is automatically applied. Definitely one of those "you can never go back" experiences for me.
[1]: https://github.com/jtroo/kanata
[2]: https://github.com/LGUG2Z/komokana
Of course, there are downsides to having it all in hardware as well.
All comments shown.
Couldn't load more comments. Check your connection and try again.