If you work with JSON on the command line, you probably use jq. You give it a filter, a small program in its own language, and it runs that filter on each JSON document. I generated a file of 1 GB with one tweet per line. That format is called NDJSON, and it is a … Continue reading Command-line JSON filtering at 20 GB/s
Looks useful, but:
Can we please stop pretending that piping scripts straight from the web into a shell is an acceptable or safe thing to do?
At the end of the day, you have to trust the software you’re downloading. It is going to run on your computer
Security is always balanced against convenience (or maybe inconvenience). This method is really convenient for the author and fairly convenient for the user
Obviously a package manager would be better, but this is basically equivalent to using less curated sources that smaller and younger projects would be using anyways
This method is literally the worst of available options. It needs to stop.
It’s like getting instructuons to go to a random gas station in Tijuana and drink 2L of unfiltered tap water from their unkempt bathroom sink directly with your mouth wrapped around the spout