Admiral Patrick

I’m surprisingly level-headed for being a walking knot of anxiety.

Ask me anything.

Special skills include: Knowing all the “na na na nah nah nah na” parts of the Three’s Company theme.

I also develop Tesseract UI for Lemmy/Sublinks

Avatar by @[email protected]

  • 832 Posts
  • 5.17K Comments
Joined 3 years ago
cake
Cake day: June 6th, 2023

help-circle








  • I used to just yt-dlp any YT video links people share, but that doesn’t work anymore and no ETA on a fix.

    My new favorite thing is my PeerTube instance. yt-dlp is basically broken for almost all YT videos now since it doesn’t yet support SABR, and most videos are forcing that now. Peertube’s importer seems to have no problem with it, so that’s where I am.

    Someone shares a YT link? Copy, paste into Peertube, wait like 30 seconds for the transcode, and watch. No BS. And if I want to watch it later? Well, there it already is.

    Edit: It appears the wonderful people maintaining yt-dlp have fixed that since I last tried back in December.






  • Ugh. Thanks. It’s quite possible, though maybe just a regional one? I did inadvertently block one of the IPs Let’s Encrypt uses for secondary validation, so this may be another case of that.

    I get a shitload of bad traffic from the southeast Asia area (mostly Philippines/Singapore AWS) and have taken to blanket blocking their whole routes rather than constantly playing whack-a-mole. Fail2ban only goes so far for case-by-case.

    Here’s the image from the meme from an alternate source:





  • Atkinson Hyperlegible is my new jam. I’m dyslexic and it helps tremendously even though that’s not its primary goal. It also looks a lot better than OpenDyslexic which I used to use.

    Loaded “Hyperlegible” onto my Kobo, the reader app on my phone, and set it as the default font on my desktop environment.

    Also added it as an option in Tesseract UI (which I swear I’ll be releasing “soon”).






  • Basically the only thing you want to present with a challenge is the paths/virtual hosts for the web frontends.

    Anything /api/v3/ is client-to-server API (i.e. how your client talk to your instance) and needs to be obstruction-free. Otherwise, clients/apps won’t be able to use the API. Same for /pictrs since that proxies through Lemmy and is a de-facto API endpoint (even though it’s a separate component).

    Federation traffic also needs to be exempt, but it’s not based on routes but by the HTTP Accept request header and request method.

    Looking at the Nginx proxy config, there’s this mapping which tells Nginx how to route inbound requests:

    nginx_internal.conf: https://raw.githubusercontent.com/LemmyNet/lemmy-ansible/main/templates/nginx_internal.conf

        map "$request_method:$http_accept" $proxpass {
            # If no explicit matches exists below, send traffic to lemmy-ui
            default "http://lemmy-ui:1234/";
    
            # GET/HEAD requests that accepts ActivityPub or Linked Data JSON should go to lemmy.
            #
            # These requests are used by Mastodon and other fediverse instances to look up profile information,
            # discover site information and so on.
            "~^(?:GET|HEAD):.*?application\/(?:activity|ld)\+json" "http://lemmy:8536/";
    
            # All non-GET/HEAD requests should go to lemmy
            #
            # Rather than calling out POST, PUT, DELETE, PATCH, CONNECT and all the verbs manually
            # we simply negate the GET|HEAD pattern from above and accept all possibly $http_accept values
            "~^(?!(GET|HEAD)).*:" "http://lemmy:8536/";
    

  • Admiral Patrick@dubvee.orgtoFediverse memes@feddit.ukWe Live in the Darkest Timeline
    link
    fedilink
    English
    arrow-up
    32
    arrow-down
    1
    ·
    edit-2
    7 days ago

    There’s just too many things to support. Rather than pick and choose what I’m going to virtue-signal today, I just…don’t bother. It’s been going on almost 4 years, and in the horror show of the post-2020 world, that’s practically forever and makes it just one thing on a very, very massive pile. Not trying to diminish things there, but it is what it is.

    Other than some outright trolls or maybe some rhetoric on instances I refuse to federate with, I haven’t noticed any anti-Ukraine sentiment and have seen plenty of news and updates on the ongoing situation.

    FWIW, my work avatar is a sunflower field against a blue sky which is non-political on its own but looks like the Ukranian flag and has been my avatar since 2022.



  • It kinda can but not as easily.

    Back when I just downloaded everything under the sun on Napster/Limewire, I’d make highly curated CDs of known-hits as well as ones where I sprinkle in some random songs that were in my downloads that I’d never heard before. Not exactly the same, but I’ve definitely listened to a CD I made and been like “what’s that song?! I love it!”.

    Plus, for road trips, everyone would usually burn a CD or two of their own to swap in (a precursor to “pass the aux cord”) so there was some novelty/variety.