I usually skip the get option builtin, and use : as...
while : ; do
case "$1" in
"") break;;
-f|-foo) shift; whatever;;
*) usage; exit 1;;
esac
done
For this... instead
if something; then
true
else
echo ERROR
exit 1
fi
Using : would be too much here.
For anything else including json etc. I usually go to duckdb. Awesome support, single file install, readable, easy to maintain.
Powershell on Linux or Unix? Just another huge dependency if you manage 1000s of machines, and good luck finding a Linux gal/guy wanting or able to touch pwsh without chemical grade gloves.
There's a wide gap from files to multipartition databases.
Running databases in a container is not for me sorry whenever real production stuff is on the table.
Personally, lots of ETL can just be taken care of locally without involving enterprise databases. In such cases, DuckDB is 5x-10x better than SQLite and orders of magnitude simpler/faster than spinning up a dedicated Postgres database.
For general scripting, there's no match between a 20-lines awk script and a much cleaner, robust, maintainable equivalent SQL script based on DuckDB.
I just hope MotherDuck don't need to pump/dump for IPO - it would be sad losing that tool for the usual corporate greed.
... until you realize that the LLM-generated code doesn't even compile, or you need a PhD to write all the prompts needed to have a prototype instead of the real thing.
I just wonder how widespread fraud is without any form of ID.
A fake utility bill is just a few clicks away on my PC.
Govt surveillance? I'm much more worried by the ever increasing number of cameras in the streets rather than something similar to having a passport to prove who you really are.
I have used my company LLM thingy. Able to summarize and document code leveraging remarks and general code behavior just because LLM just ingested the full python docs.
About generating things well... it just copypastes the same snippets you could find on stackoverflow, including bugs - if the task you throw at it has already been answered.
For complete and complex code... well it spews out the same useless advice you could get from a drunk non expert person while sitting at the bar.
Issue is... LLMs are too big to fail, everyone just poured billions in this huge statistics bean counter, and... someone has to justify those expenses at board meetings.
Nice, if only you could count on having it installed on your fleet, and your fleet is 100pct Linux, no AIX, no HPUX, no SOLARIS, no SUSE on IBM Power....
Been there, tried to, got a huge slap in the face.
while : ; do case "$1" in "") break;; -f|-foo) shift; whatever;; *) usage; exit 1;; esac done
For this... instead
Using : would be too much here.
For anything else including json etc. I usually go to duckdb. Awesome support, single file install, readable, easy to maintain.
Powershell on Linux or Unix? Just another huge dependency if you manage 1000s of machines, and good luck finding a Linux gal/guy wanting or able to touch pwsh without chemical grade gloves.