Magnus Åhall
System/web/Linux developer
Depending on what one is doing, placing pv
in between (usually with -s to specify size of data if known in advance) gives a progress bar, with speed and size of data passing through.
Say you have an SQL dump of 1048576 bytes:
cat dump.sql | pv -s 1048576 | mysql somedb
and now you know how far it is instead of just waiting :)
Somewhere along the lines of 10-15 years?
Tesla is planning strike breaking, that is bringing in other people to do the striking employees’ work.
While technically not illegal, that hasn’t happened on a large scale in Sweden since an agreement in 1938.
Built an arcade machine running MAME. We have been playing a lot of Boogie Wings and Windjammers.
In Sweden we usually have a self-checkout alternative where you acquire a wireless scanner when walking in, scanning when picking from shelves and put it directly in shopping bags.
At checkout, you just pay and walk out. There is random controls, where an employee will check like 5 randomly chosen things from the bags. This is seldom though, like once every three/four months or something.
Makes for very quick checkout.
Phones has been fast enough for me without upgrading to new hardware the last few years.
And with a Fairphone, it is actually feasible to repair and change battery once in a while :)
As long as /bin/sh
isn’t pointing to zsh, you haven’t messed anything up. A lot of public scripts wouldn’t expect to be run under zsh.
If you write your own scripts, I’d say to use zsh, but start it with /bin/zsh
(or whatever resolves to zsh) to be explicit about the fact that it is designed for zsh and nothing else. Most scripts written aren’t going to be distributed to hundred of thousands of systems, but at most used in a handful of systems. No point in not enjoying some things zsh does better in scripts.
A lot of systems have other dependencies as well, and as long as a system which has scripts in it is specifing zsh along with other dependencies, I wouldn’t see the problem. zsh doesn’t take up much space or introduce other problems just by being installed.
As for the root shell, you can put Defaults env_keep += HOME
in your sudo configuration. That will have sudo -s
run your usual zsh with its usual configuration for interactive, daily use. Be aware of any config that shouldn’t be run as root.
sudo -i
will still run the shell root is assigned in /etc/passwd, and everything run as root would function ar expected.
What, no websocket-based realtime statistics for number of total, daily and hourly mistypings?
What if they DIDN’T have a chip in the ink cartridge, and just used it as a container that could be refilled and used in every printer they made? No hacking the cartridge then.
No, that’s crazy talk!
Daniel García, owner of the Vaultwarden repo, has recently taken employment for Bitwarden.
The plot thickens.