• 49 Posts
  • 425 Comments
Joined 1 year ago
cake
Cake day: December 28th, 2023

help-circle















  • The “best” would be some kind of DC to DC converter

    No sense in going dc->ac->dc if it can be helped.

    Most laptop chargers can actually run on DC, and with as little as 48 volts. Here is a german guy demonstrating it. So if your battery bank runs on 48 volts, I think you might be able to just connect it directly to the input of a laptop charger and it will work.




  • XDG_DIR, Portals, Secrets, D-Bus, the Desktop file spec, Appstream… are there for you to read. 🥰

    Standard compliance is a total mess in the world of linux desktop apps. My pet peeve is that $XDG_RUNTIME_DIR should point to a customizeable tmpfs that apps can use to store temporary data. But just TRY setting to anything else besides /run/user/1000 lol. Half your apps will be broken. Even apps that are made by/for the freedesktop people (e.g. Helvum, the pipewire patchbay app) struggle with this lol. This spec came out in 2021 – three years ago – and it’s already ossified to the point of being barely useful. At this point I don’t blame devs who say “fuck it” and just dump their tempfiles into /tmp the way god dennis ritchie intended.




  • Huh, TIL

    ~ $ /bin/true --help
    Usage: /bin/true [ignored command line arguments]
      or:  /bin/true OPTION
    Exit with a status code indicating success.
    
          --help        display this help and exit
          --version     output version information and exit
    
    NOTE: your shell may have its own version of true, which usually supersedes
    the version described here.  Please refer to your shell's documentation
    for details about the options it supports.
    
    GNU coreutils online help: <https://www.gnu.org/software/coreutils/>
    Full documentation <https://www.gnu.org/software/coreutils/true>
    or available locally via: info '(coreutils) true invocation'
    

    I honestly don’t know what I prefer more, the overengineered GNU true, or the true that shipped with some older system that was literally just an empty file with the executable bit set.