234 karma · joined Jan 4, 2021 (5y ago) · 67 submissions
comment 2mo ago · link · parent
It's not definitely a sign that I'm actually interested in greeting you, or asking about your migraine.
Just something like "how do you do" which is a total nonsense either, so this discussion is moot.
comment 4mo ago · link · parent
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.
comment 4mo ago · link · parent
Back to AC... I have to fork out 4000€ to replace an aging AC in a small flat 60sqm (650 sq feet).
Just looking out of my window right now I can see 600 similar places, so that's 2.4mil EUR for a couple of (city) blocks.
As AC is to be added as it won't replace the winter central heating system we got in most condos -- well that's a lot of money.
comment 5mo ago · link · parent
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.
comment 1y ago · link · parent
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.
comment 1y ago · link · parent
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.
comment 1y ago · link · parent
Site is flagged as it hosts pedop. material.
comment 1y ago · link · parent
A proud cygwin user myself, with cygwin in the PATH since the 2000s, I recently sideloaded Ubuntu under wsl.
Right now, wsl is my primary terminal app, I've mounted C:\ as /c, added a symlink to bypass the ugly Onedrive default name, and... I'm happy.
Slowly, I removed 90% of the mixed BAT scripts, converted to bash the rest, and I now enjoy it.
As the old timer that I am, I limp around powershell, so no luck with that.
Cygwin on the other hand seems to be slowly dying, as more and more packages are now unsupported/unmaintained, with Redhat apparently willing to smother it at the first viable moment.
Any thought?
comment 1y ago · link · parent
When will everyone believe that making someone take the blame in exchange for a shorter time in jail is beneficial to society at large... when the real perpetrator walks away unscathed, and a innocent is jailed for something he didn't even commit?