Lurker News
I'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

Show all comments

Showing thread 3 of 186

hedora4 replies#
Each of the following is in the 1000 hours saved club (in no particular order):

jq, perl, grep, gnu textutils, gnu parallel, bash, xargs, gkrellm, nload.
Make deserves a special shout out. If you think it's only useful for building software, you've completely missed the point (similarly, if you think some language-specific tool is superior, you're doing things completely wrong):
Anyway, this document saved me at least 10,000 hours:
https://www.gnu.org/software/make/manual/html_node/index.htm...
Other peoples' python has the distinction of being the only software in my -1000 hours saved category. (And if you consider maintaining code written in the above "write only" languages, you'll realize how big of a feat that is!)

jodrellblank3 replies#
> "If you think it's only useful for building software, you've completely missed the point"

I clicked on your link with 16 pages of just contents links to find what the point is, and found "the make utility automatically determines which pieces of a large program need to be recompiled, and issues commands to recompile them".
What's the point you see?

hedora2 replies#
It automatically parallelizes any large scale data processing pipeline (assuming that your data set is already broken into files). People use it for things like documentation generation. I've used it to process the results of web scrapers, large scale data cleaning tasks, etc, etc.

It takes about an afternoon to set up NFS + SSH primitives that automatically distribute the computation across clusters of machines. Since it is restartable, it automatically tolerates hardware faults (up to dozens of machines, in practice).
Basically, you get Map Reduce, but for arbitrary data processing DAGs, and it supports any language that works well on Unix-style operating systems.

rebelos4 replies#
Okay but clearly none of this is "the point" of make, so your original comment is still baffling.

Continue this thread — 4 replies

capitalsigma#
The idea of working with a distributed data pipeline implemented via makefiles is nightmare fuel
2OEH8eoCRo0#
$ make install
rgavuliak#
I think OP meant data analysis/one-offs as not building software that is technically true I guess
athorax1 reply#
jq + parallel is a godsend. Take some command output, run another json-producing command in parallel on each line, and pipe it back into jq -s
raffraffraff#
Can you elaborate with a fake example?
QuadrupleA1 reply#
1000 hours each? Really? So literally half a year of full-time 40 hour weeks saved by each of these on your list, vs the next best alternative?
xcdzvyn#
Yes. That statement was entirely literal; there is on reason to believe the statement "1000 hours" is anything but a precisely measured saving.
fn1#
> jq

Add xmlstarlet for anything that has to do with xml.