Canadian software engineer living in Europe.

  • 1 Post
  • 118 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.





  • It just wasn’t clear what was being downloaded.

    For example, here’s a screenshot of the UI when I tried to use it on this page (I was logged in at the time, which grants access to the full video):

    The UI presents 3 options, all of which are basically identical, each with impossible file sizes. I ended up clicking [Preview] on each of them 'til I found the full-length video. The preview opens up in a new tab, rather than inline or in a pop-up which wasn’t ideal (I had like 20 tabs open, now my extension tab was on the left and the preview for one of the streams was way over on the right).

    It worked well though, once I had the above figured out. Here are my suggestions if you’re interested:

    1. When the download options are > 1, try to interrogate the streams a little more for basic information like length, dimensions, bitrate, etc. In my case above, it looks like this was presenting multiple streams of the same full-length video, but in different resolutions, along with a separate opening clip for the Zeteo logo, and another clip for the promotional video. It would have been obvious to find the best quality full-length video with just those three metrics above.
    2. Maybe sort the list of streams based on the above and give the user the option to sort/filter?
    3. Introduce a preview button that renders in-line like you see on Lemmy or Reddit. It would have saved a lot of hassle with my tab hopping.

    Regardless, it’s a great job, so thank you for sharing it! Now I can watch Zeteo videos on my own time without that useless Substack app!




  • and I don’t see any value in limiting classification to the domain level. How would one classify wikipedia.org in this scenario? Would it not make more sense to define an open standard that’d leverage this system but allow domain managers to define it themselves?

    To take my university.tld as the example, that university might host a file called at https://university.tld/ocs.json that looks something like this:

    {
      "/": "EDU"
      "/math": "MAT",
      "/journalism": "JOU",
    }
    

    (Heads up to OP: there’s no journalism in your current spec. That feels like an oversight.)

    This would allow the high-content site admins to classify parts of the site differently. The /ocs.json file might even be dynamically generated for complex sites like Wikipedia.









  • 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).