Canadian software engineer living in Europe.

  • 8 Posts
  • 291 Comments
Joined 3 years ago
cake
Cake day: June 7th, 2023

help-circle
  • It’s been years since I was experimenting, trying to set things up properly, but at the time I could swear that I’d have the following set:

    PubkeyAuthentication yes
    PasswordAuthentication no
    UsePam yes
    

    and attempts to SSH into the system would still result in a password prompt, even though PasswordAuthentication was set to no. After some experimentation, I found that if I set UsePam to no, you wouldn’t get a password prompt, so that’s what I’ve been doing on every SSH server I’ve had since like, 2000.

    Tinkering with it now though, I see there’s also another directive, KbdInteractiveAuthentication, which when set to no, will ensure I don’t see a password prompt even when UsePam is set to yes. I can only assume that 26ish years ago there was no KbdInteractiveAuthentication, or I just didn’t know about / notice it!

    Well no harm done in my case anyway, as I don’t generally expose SSH servers to the outside world anyway. But it’s good to know that I don’t have to turn off PAM to disable password logins anymore.







  • He compared an LLM to a compiler suggesting that the concerns about using them are the same as suggesting that everyone should write in assembly.

    The comparison is invalid, since one mode is deterministic, while the other is not.

    LLM-driven development leads to programming via the abstraction of the model, disconnecting you from the source to the point where you don’t understand what it’s done or why. He’s suggesting that this isn’t a problem because an LLM is just like a compiler, which suggests that he’s arguing in bad faith or doesn’t understand the “tools” he’s using.











  • Just get one of these and set everything up in a few browser tabs. Either that or use an OS with workspace support and put the different apps you want on separate workspaces.

    In our livingroom, our old laptop runs Arch Linux with GNOME. Jellyfin is on desktop 1, and Firefox is on desktop 2. Firefox runs Netflix, Spotify, and YouTube in separate tabs and switching between all of these is a keyboard shortcut on the above remote. Frankly, it’s simpler than most “smart” TVs I’ve had to work with.



  • Given that sort of description I’d bet that it is DNS actually. If you run a DNS lookup from your LAN for your domain, do you get the external IP or the internal one? You can try this with dig in Linux or nslookup in Windows (I think).

    If I’m right and you’re getting the external IP even when querying from your LAN, then what you need is either a separate DNS for your LAN or what they call a “split DNS” whe are a your domain server returns a different value depending on the originating IP.

    You can check for this by editing your hosts file. If you add your domain and local IP there and then try to ping that domain on that machine, it should work. If you’ve got a small network, you might even just copy the hosts lines between machines (this is what I do for example).


  • This wasn’t nearly as interesting as the headline made it sound.

    It’s a physical box you purchase to effectively break the law, so some of the architecture is going to be shady because it has to be.

    • it polls multiple domain servers to get around blocks (and probably updates that list regularly)
    • it obfuscates the endpoints it hits because they’re trying to secure a box they’re handing to someone else from tinkering that would allow people to access their (pirate) services without buying a box.
    • it obfuscates its user agent when connecting to a weather service to avoid being blocked.

    There’s nothing special or nefarious here. Indeed I’ve worked on projects that had to take the same considerations into account.

    The “someone else’s Hulu account” claim sounds like bullshit to me because it doesn’t make sense from a business perspective. They’d want to control the accounts in question and rotate the passwords regularly, again to avoid freeloaders. More likely they’ve paid for 25ish Hulu subscriptions in every region (hence the initial call for IP geolocation) and are then relaying credentials to a box based on this info.

    The only really sketchy thing in this whole video was the disabling of TLS checking, which was likely done to get around sketchy pirate websites with bad or nonexistent certs. It wasn’t clear though which part of the OS this applied to. If it’s only doing this for the pirate streaming, that’s sort of a bullet you have to take if you want the service. So long as the only data being sourced unencrypted/unverified is some audio and video, you’re fine (assuming you’ve already accounted for streaming such data in your jurisdiction, ie. you’ve got a VPN). If you’re pulling down software updates though, you’re gonna have a bad time.


  • Daniel Quinn@lemmy.catoComic Strips@lemmy.world•Leaving
    link
    fedilink
    English
    arrow-up
    49
    ·
    3 months ago

    The term for this “vampire load” the power being consumed across a given network that’s doing literally nothing.

    Those little LEDs are a tiny amount, but when they number in the millions, that shit adds up. People have calculated the cost in terms of tonnes of CO2.