[-] magnus@lemmy.ahall.se 37 points 2 weeks ago

Daniel García, owner of the Vaultwarden repo, has recently taken employment for Bitwarden.

The plot thickens.

[-] magnus@lemmy.ahall.se 24 points 9 months ago

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!

[-] magnus@lemmy.ahall.se 21 points 9 months ago

What, no websocket-based realtime statistics for number of total, daily and hourly mistypings?

[-] magnus@lemmy.ahall.se 6 points 10 months ago

Or Escape 😅

[-] magnus@lemmy.ahall.se 10 points 11 months ago

Built an arcade machine running MAME. We have been playing a lot of Boogie Wings and Windjammers.

19

Tesla is currently fighting against the union IF Metall in Sweden, where almost 90% of all metal workers are a part of the union. Sweden has a long history of unionization, it is deeply ingrained in swedish culture.

A strike was put in effect today, with 130 mechanics for Tesla shops.

The 7:th, the large transporting union will step in with a sympathy strike and refuse to deliver new Teslas in Sweden.

[-] magnus@lemmy.ahall.se 9 points 1 year ago

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.

27
submitted 1 year ago by magnus@lemmy.ahall.se to c/tesla@lemmy.world

Tesla is currently fighting against the union IF Metall in Sweden, where almost 90% of all metal workers are a part of the union. Sweden has a long history of unionization, it is deeply ingrained in swedish culture.

A strike was put in effect today, with 130 mechanics for Tesla shops.

The 7:th, the large transporting union will step in with a sympathy strike and refuse to deliver new Teslas in Sweden.

[-] magnus@lemmy.ahall.se 12 points 1 year ago

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.

[-] magnus@lemmy.ahall.se 14 points 1 year ago

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 :)

[-] magnus@lemmy.ahall.se 9 points 1 year ago

Somewhere along the lines of 10-15 years?

[-] magnus@lemmy.ahall.se 19 points 1 year ago

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.

[-] magnus@lemmy.ahall.se 9 points 1 year ago* (last edited 1 year ago)

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 :)

8
submitted 1 year ago* (last edited 1 year ago) by magnus@lemmy.ahall.se to c/git@programming.dev

I'm looking for a web-based client, like git gui for choosing files to stage and to make commits. The actual files in the git repo would be edited elsewhere, so that is taken care of, but my google-fu is letting me down in this endeavour of finding the actual client.

There is a metric ton of repo browsers, and that would be fine, as long as they also could show status and diffs from a git repo and being able to commit.

Anyone have any pointers to anything a web git client? Thanks!

[-] magnus@lemmy.ahall.se 8 points 1 year ago* (last edited 1 year ago)

In Sweden we have just one ISP for non-commercial customers providing native IPv6 adresses (Bahnhof) on fiber connections, and even then we can't get a static prefix from them.

Not quite sure on the mobile ISPs though.

view more: next ›

magnus

joined 1 year ago