• 0 Posts
  • 58 Comments
Joined 2 years ago
cake
Cake day: February 1st, 2024

help-circle
  • xscreensaver of course! Note that this is not an option on Windows—jwz hates Microsoft, and any xscreensaver port to Windows is against his wishes.

    I use yabai and sketchybar for a tiling WM feel. It’s nowhere as nice as my preferred i3, but it’s ok. Unfortunately it often breaks with major OS updates, so I’m sure to hold back updating my system until yabai is working.

    IIRC sshfs will work on macOS but it’s more work to install. Worth it if allowed by your IT policies and your work can benefit from it.

    Vim, tmux, and the usual *NIX stuff you might want.

    The coreutils are not the GNU coreutils you typically find on a Linux system, so you may find a few differences. I believe sed is slightly different, and the flags for ls must be before the filename arguments, but I’ve found it’s mostly silly stuff like that (I used zsh before using macOS, so no problem there).






  • Prescriptive vs. descriptive is different in colloquial language than in science.

    If my data logger captures 1kB/km, how many bytes/meter is that? In every other quantitative unit I can think of, the k should cancel out; but if you want computers to be special, that’s your preference.

    Metric sucks. Powers of ten are arbitrary, a fluke of biology. Powers of two are the only sensible way to make a system of measurements.

    Then why are you trying to shoehorn binary into decimal? As in: why are you using decimal prefixes in the first place? Answer is probably that most people have intuition behind powers of ten. You can easily express in log2-bytes instead (a GiB is 30, a TiB is 33…etc.). Be the change you want to see!

    I’m born and raised in the USA, and while imperial units can be handy for a few every day tasks, there’s a reason why the sciences in the US tend to use metric.

    Regarding cooking, I’ll stick to metric, measured by weight. I can double, halve, or multiply my recipe by pi, and all I have to do is look for a different number on my scale.


  • Giga, Mega, Kilo…these are all SI prefixes; they differ by a factor of one thousand, which is very clean in base ten.

    Ten in binary systems isn’t special, but two is; and two to the ten is very nearly a thousand, and a thousand separates the major SI prefixes. This is a neat coincidence, but should not IMHO change the meaning of the prefix.

    Metric units are awesome in large part because of the use of prefixes; messing up the meaning of prefixes is a disservice to the SI/metric system. Giga == billion independent of the context. A light-year is close to 10 petameters, but no one would claim it’s exactly 10Pm.

    Now, if you want to call it an “imperial gigabyte,” by all means…





  • I do something similar — I have a raspberry pi and a HD, with daily rsync and snapshots (monthly retained indefinitely, weekly retained for a month, daily retained for a week). It’s at family’s house, connected to my home via WireGuard via a VPS. Tailscale (or anything really) would also work here.

    It’s a great setup! Just have some watchdog reboot if it can’t talk to home (a simple cronjob with ping -c1 home.lan || reboot or similar).

    Even our “slow” 35Mbps upload speed is way more than enough for incremental rsyncs of my Immich library. The initial sync was done in person, though.






  • It’s interesting that, with Python, the reference implementation is the implementation — yeah there’s Jython but really, Python means both the language and a particular interpreter.

    Many compiled languages aren’t this way at all — C compilers come from Intel, Microsoft, GNU, LLVM, among others. And even some scripting languages have this diversity — there are multiple JavaScript implementations, for example, and JS is…weird, yes, but afaik can be faster than Python in many cases.

    I don’t know what my point is exactly, but Python a) is sloooow, and b) doesn’t really have competition of interpreters. Which is interesting, at least, to me.



  • ZigBee router thing:

    I’ve been happy with the SMLIGHT SLZB-06M. You can easily flash firmware, and it has PoE which was important for me. I believe it also supports Thread, but I haven’t tried this yet (and I’m not sure if it supports it at the same time as Zigbee).

    Zigbee smart plugs from Third Reality have been pretty solid in my experience, and they report power usage.

    For circuit breaker level monitoring, I have an Emporia Vue2. I have it running esphome, completely local — unfortunately this requires some simple soldering and flashing, so it’s not turnkey. But it’s been rock solid ever since flashing it. (Process is well documented online.)

    I’ve had decent luck with cheap wifi Matter bulbs, but provisioning them is finicky, and sometimes they just crap out and need to be power cycled; Zigbee bulbs (e.g., Ikea) have generally been reliable, though sometimes I’ve had difficulty pairing them initially. After power cycling a Matter WiFi bulb, it takes a while for it to respond to Home Assistant; Zigbee bulbs generally respond as soon as you power them on.

    I have a wired smart light switch from TP-Link/Kasa (KS205), and it’s been completely hassle free (and totally local — Matter over wifi). The Kasa smart switch dongles I have work flawlessly but need proprietary pairing, and I’m afraid to update firmware in case they lose local support.

    Good luck! Fun adventure :)