Just a basic programmer living in California

  • 23 Posts
  • 504 Comments
Joined 2 years ago
cake
Cake day: February 23rd, 2024

help-circle



  • The comma command is magic! Of course I use it often to run something that I don’t feel like I need listed in my main config - especially a command that I just want to run once. But there are also plenty of cases where I do want to add a package to a config, and I know the command that I want, but I don’t know which package it comes from. The comma is a real easy way to find out.

    I haven’t watched the video - maybe these tips are already in there. If you run a command like , dig you’ll often be prompted to choose which package to get the command from, if the same command is provided by multiple packages. So that’s one way to get a package name. If you don’t get that prompt you can use comma as a lookup tool like this:

    $ , --print-packages dig
    Packages that contain /bin/dig:
    - dig.dnsutils
    - bind.dnsutils
    

    Or you can ask comma to show you the path of the executable it would run, and infer the package name from the path:

    $ , --print-path dig
    /nix/store/qm1hvm2hfryx7xz9k3njsb6gksvs29is-bind-9.20.18-dnsutils/bin/dig
    

    The Nix store path format is /nix/store/<hash>-<pname>-<version>-<output> so that is the dnsutils output of bind, which is bind.dnsutils.

    So that gives me package names I can put in my NixOS config, or devshell, or whatever. In this case I could install any of dig, bind, dig.dnsutils, or bind.dnsutils. (They all end up pointing to that binary in bind.dnsutils.)





  • hallettj@leminal.spacetoLinux@programming.dev
    link
    fedilink
    English
    arrow-up
    4
    ·
    6 days ago

    In this context “Linux desktop” means not a server. Or in other words, a Linux computer with a graphical user interface. So it includes laptops. I can’t think of any software that would work on a desktop that wouldn’t work on laptop.

    You’ll sometimes see the “desktop” clarification because technically the majority of Linux computers are headless servers. (Headless means no screen.)


  • Very creative! And very sturdy-looking too

    I’ve been wanting to set up a way to transport my kid’s bike for days when he takes the bus to school, but can’t take the bus home because of sports practice. But my kid is 11, so the bike is bigger. I’m thinking of something like your setup, but with the rear wheel rolling on the ground. I saw a setup in a blog post that used a strip of metal to make a front axle wheel mount point that sticks out from one the side of the rack, so the two bikes can be sort of side by side. Oh yeah, here it is











  • Plenty of tools are using the system keychain. There are good libraries that provide a generic interface to gnome-keyring or kwallet depending on what is running. When I was working with Node I used the keytar library for that purpose.

    Edit: Oh, apparently there is a standard DBus API for keyrings. So you can use libsecret to interact with whatever keyring.


  • I think two things can be bad at the same time. I do think Retrospect is more problematic than Blood Fever because the implication in Retrospect is, “don’t take women at their word”. Vorik’s assault on B’Elanna in Blood Fever is obviously wrong, even if it is not adequately addressed in the episode. OTOH the story in Retrospect makes it seem like almost a reasonable position to assume that a sexual assault allegation is false until proven otherwise. That’s a problem.

    It is very difficult for a woman to come forward with an assault accusation; and when they do those accusations are dismissed far too often. That leaves women with all of the consequences of coming forward, but without any justice, making it even less likely that future assaults will be reported. To put an end to sexual assaults, it’s necessary to believe women.


  • My impression from DS9 is not that they are bounty hunters, but that they are isolationists, and are probably zenophobic. The Breen government allies with the Dominion because they see some benefit for themselves. I don’t think it’s a guns-for-hire situation. It seems like the Dominion is quite good at using enticements and threats to cajole self-serving governments that otherwise wouldn’t get involved in quadrant power struggles.

    The masks do bear a resemblance to Star Wars bounty hunters. They remind me most of Leia’s bounty hunter disguise. There’s a suggestion that the reason they wear masks and full-body suits is to confuse outsiders. Weyoun says that despite rumors of being extremely cold, Breen actually has a pleasant climate, and so no one knows why they wear refrigeration suits. But since that comes via Weyoun, who knows what’s true.