Skip Navigation
Posts
10
Comments
318
Joined
2 yr. ago
  • Infrared lasers aren't visible. They're still higher frequency than radio waves. To say that visible light is visible radio is to say that the sky is green, just that it's predominantly blue coloured green.

  • I bet that kid doesn't even know what a computer is.

  • I would say don't give DOGE any ideas but I think that's less bad than some of their own.

  • https://news.gallup.com/poll/657404/less-half-sympathetic-toward-israelis.aspx

    Gallup get 46% Israeli support in response to the question "In the Middle East situation, are your sympathies more with the Israelis or more with the Palestinians?" Palestinians get 33%.

  • In the System settings, under Window Management > Window Behaviour, in the Focus tab, there is a Focus stealing prevention selector. If it's set to extreme, then it does prevent switching to another desktop when I open a window that gets sent there.

    I think that's what you want but I guess it would mess with all applications, not just Steam. I don't think you can do it per application.

    I remember there being a window management protocol that would allow more control but I don't think Kwin implements it yet.

  • You know how it is, if you have somebody else's palantir, then somehow they.... get sucked in. They get sucked in.

  • Barrier is only for inputs IIRC. To get Keyboard Mouse and Video (more usually KVM) you need some kind of remote desktop software. Rustdesk is pretty straightforward. I think Gnome handles RDP access natively now if you're running a Gnome based Linux distro. Otherwise XRDP is a bit of a faff, but solid once it's working.

  • That's a biblically accurate implementation if ever I've seen one.

  • If you have the docker-compose.yml locally, you can nix run github:aksiksi/compose2nix to translate it into a nix file for inclusion in your nixos system config. I think that could be done in the config itself with a git url but I'm not that great at nix. You will surely still need some manual config to e.g. set environment variables for paths and secrets.

  • How do the DNS servers resolve local hostnames then? The pihole DHCP integration adds local hostnames to DNS when they are assigned an address. If there's two DHCP servers handing out leases, presumable only one would be accepted, how then would the DNS servers sync those names?

    I think I had my secondary pihole resolve local names from the primary, and leases were copied over on a cronjob in case the secondary DHCP server had to be enabled.

  • Not that it particularly matters for just queries. The problem is that DHCP can only be enabled on one host. If that one fails then devices can't get on to the network themselves. I'd like to know a good way to have a failover DHCP server - my janky cronjob isn't great.

  • Where do you do DHCP? I had a primary pihole with DHCP enabled and a secondary with a cron job that enabled DHCP if the primary was down or disabled it if the primary was working. The cron job did sync DHCP leases from one to the other but it was a bit janky. I tried to update the secondary to pihole v6 and hosed it so I have no backup for now. I'd like to re-image the secondary and get a better setup - when I have time.

    Edit to say I really wanted to try keepalived - that's really cool to fail over without clients noticing.

  • How are you setting font size? I'm running Plasma 6.3.5 and 150% desktop scale looks identical to 100% with a 150% page zoom in Firefox. Just scaling fonts sounds like it would make everything non-text appear the wrong size.

    I do notice a weird behaviour where Firefox renders at 200% scale when it's entirely within a display at 100% scale. If it overlaps another display at all then it uses the appropriate scale for each monitor. Maybe that's a setting somewhere.

  • This is the default in NixOS when plasma6 is enabled. I went down the rabbit hole checking, it's set here.

  • What's wrong with fractional scaling in Firefox? It seems to work fine for me with kwin_wayland. Even if I have different scaling on each monitor, Firefox seems to respect it fine. Some really old software is a bit funky running through xwayland but nothing showstopping.

  • Solar photovoltaic doesn't involve steam. We can be solarpunk as well!

    I guess hydro-power uses steam in the global water cycle so I'll give you that. Radio-Thermal Generators are all solid state, but not much power on earth comes from them.

  • Think of the speeds you could fly at with no drag! I'm so bummed that the Grace Hopper drone didn't get to fly after Intuitive Machines fluffed their second landing. That would have been awesome outreach from NASA.

    We want drones on the moon!

  • I don't quite understand what the backlash is here. The article is about FAQs on the Mozilla website. It seems reasonable that some people might interpret "sell" to be accepting money to set the default browser to Google. Clarifying that on their site seems fine. The FAQ was surely never legally binding.

    Their 'Terms of Use' document is new as of Feb 26 AFAIK. Is that what people are upset by?

  • There's a talk here: https://www.youtube.com/watch?v=jMUMRNRkcMg but I'm not much clearer after scrubbing through some of the slides. It sounds like all GPIO pins on recent Intel chips support this Timed I/O functionality. I don't know if they could measure the timing of transactions to a NIC - I would think this is only for specialist hardware or testing. They mention using a logic analyser to compare the clocks of two systems after synchronisation.

  • Doom is one of the examples for the PicoVision. It might need some hacking to get the keyboard to work since I think he used I2C to connect it instead of USB, but it can definitely run Doom.

  • Let's Talk About Games @feddit.uk
    Morphit @feddit.uk

    Secret Level

    Has anyone watched the Secret Level shorts released so far?

    Unreal Tournament was a huge nostalgia hit for me and I think the episode was a great interpretation of it. I highly recommend for anyone who played.

    The Warhammer 40k episode was also great though I don't have the same kind of investment in the games or media there. The others seemed fairly good for what they are but there's only so much that can fit in a 5-15 minute piece.

    Amazon Prime Video link for anyone interested.

    Tea @lemmy.zip
    Morphit @feddit.uk

    Companionship

    NonCredibleDefense @sh.itjust.works
    Morphit @feddit.uk

    Saint Peter's hiding place located with Microsoft AI technology

    This video appeared on my home page and I had to look twice at the thumbnail: The Tomb of Saint Peter Explained

    Connect for Lemmy App @lemmy.ca
    Morphit @feddit.uk

    No monospace code blocks?

    I'm upset that a meme I tried to remake with Unicode box drawing characters lines up terribly in apps: https://lemmy.ca/post/28490027 Shouldn't code blocks render in monospace?

    On Lemmy's web frontend it's perfect:

    On Connect it looks like this:

    On Jerboa it's basically the same:

    Eternity does use monospace but the box drawing characters seem to be too wide.

    All I can find about it here is one post from a year ago: https://lemmy.ca/post/1492857

    Mechanical Keyboards UK @feddit.uk
    Morphit @feddit.uk

    Envious of thumb clusters? Have a gap in your matrix? Why not spend an inordinate amount of time extending your keyboard?

    cross-posted from: https://feddit.uk/post/12276336

    Sorry for the crap photos - I just wanted to share these extra keys I added to my Lily58.

    I noticed there was a gap in the matrix so I tacked a spare hot-swap socket to the pads on the back of the PCB. That worked with minimal modification to my QMK set-up. I couldn't really use it dangling off some wires so I set out to make an extension that would slot in and be retained by one of the standoffs. I don't have a laser cutter or 3D printer so I just hacked these out of a sheet of ABS plastic following a printed template and glued them up. They're nice and solid and line up really well, despite being rather rough around some of the edges.

    I'm finding the 1.5U keys a bit confusing at the moment, swapping them out for 1U keys makes it a bit easier to home my thumbs. These are certainly much easier to access than the outermost keys on the lower row or the keys below the display. I'm thinking they need to be called Lily Pads.

    Mechanical Keyboards @lemmy.ml
    Morphit @feddit.uk

    Envious of thumb clusters? Have a gap in your matrix? Why not spend an inordinate amount of time extending your keyboard?

    cross-posted from: https://feddit.uk/post/12276336

    Sorry for the crap photos - I just wanted to share these extra keys I added to my Lily58.

    I noticed there was a gap in the matrix so I tacked a spare hot-swap socket to the pads on the back of the PCB. That worked with minimal modification to my QMK set-up. I couldn't really use it dangling off some wires so I set out to make an extension that would slot in and be retained by one of the standoffs. I don't have a laser cutter or 3D printer so I just hacked these out of a sheet of ABS plastic following a printed template and glued them up. They're nice and solid and line up really well, despite being rather rough around some of the edges.

    I'm finding the 1.5U keys a bit confusing at the moment, swapping them out for 1U keys makes it a bit easier to home my thumbs. These are certainly much easier to access than the outermost keys on the lower row or the keys below the display. I'm thinking they need to be called Lily Pads.

    ErgoMechKeyboards @lemmy.world
    Morphit @feddit.uk

    Envious of thumb clusters? Have a gap in your matrix? Why not spend an inordinate amount of time extending your keyboard?

    Sorry for the crap photos - I just wanted to share these extra keys I added to my Lily58.

    I noticed there was a gap in the matrix so I tacked a spare hot-swap socket to the pads on the back of the PCB. That worked with minimal modification to my QMK set-up. I couldn't really use it dangling off some wires so I set out to make an extension that would slot in and be retained by one of the standoffs. I don't have a laser cutter or 3D printer so I just hacked these out of a sheet of ABS plastic following a printed template and glued them up. They're nice and solid and line up really well, despite being rather rough around some of the edges.

    I'm finding the 1.5U keys a bit confusing at the moment, swapping them out for 1U keys makes it a bit easier to home my thumbs. These are certainly much easier to access than the outermost keys on the lower row or the keys below the display. I'm thinking they need to be called Lily Pads.

    ![](https://feddit.uk/pictrs/image/cd43fb43-0ade-4f5f-8e16-b35a

    SpaceflightMemes @sh.itjust.works
    Morphit @feddit.uk

    What do you mean you've seen it? It's brand new!

    Nix / NixOS @programming.dev
    Morphit @feddit.uk

    User service with Python packages for Jupyter

    Hi All,
    I'm still very new to Nix but trying to daily-drive NixOS.

    What I'm currently stuck on is injecting Python packages into a Jupyterlab service. What I have at the moment in the home-manager.home portion of my system flake is the following:

     undefined
        
      systemd.user.services.jupyter = let
        jupyter = pkgs.jupyter-all.override {
          python3 = pkgs.python311.withPackages (python-pkgs: with python-pkgs; [
            numpy
            matplotlib
          ]);
        };
      in {
        Service = {
          Type = "simple";
          WorkingDirectory = "${home.homeDirectory}/notebooks";
          ExecStart = "${jupyter}/bin/jupyter-lab --no-browser";
        };
      };
    
      

    This fires up a JupyterLab process that I can connect to and which runs fine, but numpy etc. can't be imported. From a devshell, I see that the python.withPackages mechanism seems to rely on $PYTHONPATH to pass in a python3-3.11.8-env package that contains a lib/python3.11/site-packages. I'm guessing that the systemd service just needs to h

    Connect for Lemmy App @lemmy.ca
    Morphit @feddit.uk

    Unremovable account

    I seem to have gotten a saved account that can't be switched to and therefore can't be removed.

    My instance had some server side issues and on PC I had to delete my cookies to get the desktop site to work. Connect wouldn't work and I had to add the account again. At some point the account name has changed to my email address @feddit.uk, which looks weird since it has two @ symbols. The newly added account works fine, but there's this stuck second version of it.

    When I try to switch to the broken version I get an error pop up that just says "Error: unable to switch to '[email protected]@feddit.uk'" and it seems to retain the currently selected account.

    Since I can't switch to that account, I can't sign out to have Connect forget it. So I don't see a way to get rid of it.

    Has anyone else run into the same problem? Any suggestions?