Aussie living in the San Francisco Bay Area.
Coding since 1998.
.NET Foundation member. C# fan
https://d.sb/
Mastodon: @dan@d.sb

  • 0 Posts
  • 765 Comments
Joined 2 years ago
cake
Cake day: June 14th, 2023

help-circle

  • but please don’t hard-code ~/.config or $HOME/.config. Use the XDG_CONFIG_HOME environment variable, with $HOME/.config as a fallback if it’s not set.

    Many programming languages have a cross-platform implementation of this built in to their standard library. C# has Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData) which uses XDG_CONFIG_HOME on Linux, local AppData on Windows, and whatever is the correct thing on MacOS (not very familiar with how things work on MacOS)





  • which refuses to work with modern 5GHz networks.

    Companies that make IoT devices do this so they can save a bit of money. It lets them use lower end, cheaper wifi chips (or left over older-generation chips that they can buy at a discount). I’m not really a hardware person but apparently 2.4Ghz wifi radios are a lot simpler than 5Ghz ones. Apparently they’re also $2-$3 cheaper which adds up when you’re producing a lot of units.

    Also, the 5Ghz band differs per country. For example, some channels are authorized in the USA but not in Europe. Some companies stick to 2.4Ghz to avoid having to make anything region-specific.














  • However I’ve had plenty that, for whatever reason couldn’t handle multiple major version hops

    Debian only supports upgrading one major version at a time. If you’re upgrading from Debian 10 to 12, you need to first do 10 to 11, then 11 to 12. Upgrading multiple versions at a time is completely untested and unsupported.