Admin on the slrpnk.net Lemmy instance.

He/Him or what ever you feel like.

XMPP: povoq@slrpnk.net

Lemmy alt: @kris@feddit.org

Avatar is an image of a baby octopus.

  • 521 Posts
  • 2.48K Comments
Joined 4 years ago
cake
Cake day: September 19th, 2022

help-circle
  • (1) sometimes, yes. It really depends 🤷

    (2) And some stuff like the camera api is different from what mainline linux uses, so you need a special camera app etc. And the Android kernels lacks some features like virtualisation afaik.

    (6) I haven’t tried it, but it seems to be mainly for running desktop linux distributions.

    (8) Again, device specific. There are basically no standards in the ARM space for that, especially for old Android devices.



    1. Unlikely but can happen. Some vendors like Fairphone will fix it for you if you send it in for service.
    2. No that is not true, but the most popular Halium based distribution (Ubuntu Touch) has some other peculiarities that make this harder than it should be. They have experimental Snap support now though.
    3. Ubuntu Touch is a good start as it supports many devices that are cheap to get. Dual booting is quite hard to do, so not something for beginners.
    4. No idea, sorry.
    5. Android has a lot of hardware specific battery optimizations. But overall it isn’t that bad… the people that complain probably got an old device for testing with a bad battery.
    6. I think that is a feature in the latest Android 16.
    7. About the same.
    8. Device specific and probably not.
    9. Afaik no.




  • This is the botPolicy.yaml that we use on slrpnk.net :

    bots:
      - name: known-crawler
        action: CHALLENGE
        expression:
          # https://anubis.techaro.lol/docs/admin/configuration/expressions
          all:
            # Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/125.0.0.0 Safari/537.36
            - userAgent.contains("Macintosh; Intel Mac") && userAgent.contains("Chrome/125.0.0.0") # very old chrome?
            - missingHeader(headers, "Sec-Ch-Ua") # a valid chrome has this header
        challenge:
          difficulty: 6
          algorithm: slow
    
        # Assert behaviour that only genuine browsers display.
        # This ensures that Chrome or Firefox versions
      - name: realistic-browser-catchall
        expression:
          all:
            - '"User-Agent" in headers'
            - '( userAgent.contains("Firefox") ) || ( userAgent.contains("Chrome") ) || ( userAgent.contains("Safari") )'
            - '"Accept" in headers'
            - '"Sec-Fetch-Dest" in headers'
            - '"Sec-Fetch-Mode" in headers'
            - '"Sec-Fetch-Site" in headers'
            - '"Accept-Encoding" in headers'
            - '( headers["Accept-Encoding"].contains("zstd") || headers["Accept-Encoding"].contains("br") )'
            - '"Accept-Language" in headers'
        action: CHALLENGE
        challenge:
          difficulty: 2
          algorithm: fast
    
      - name: generic-browser
        user_agent_regex: (?i:mozilla|opera)
        action: CHALLENGE
        challenge:
          difficulty: 4
          algorithm: fast
    
    status_codes:
      CHALLENGE: 202
      DENY: 406
    
    dnsbl: false
    
    #store:
    #  backend: valkey
    #  parameters:
    #    url: redis://valkey-primary:6379/0
    

    I think I just took it over from Codeberg.org back from when they still used Anubis. Nothing really relevant to Lemmy specifically and it is only in front of the frontends, not the s2s federation API.

    It seems though like there are some crawlers that use 3rd party hosted alternative frontends to crawl (unintentionally?) through the federation API, so something in front of that would be useful I guess.










  • High speed to replace airplanes and uncomfortably short flights/uncomfortably long drives

    Yeah, those are profitable in Europe, but at the expense of everything else and they soak up all the state funding for rail infrastructure development. But they only go between major cities and rarely stop on the way because otherwise they can’t compete with flights time wise.


  • I think people need to start defining what they mean with “high speed rail”, because in Europe the high speed rail connections between larger cities are about the only ones profitable, so much so that it goes at the expense of regional medium speed rail connections. In addition the construction of the rail lines that allow to go faster than 200km/h are highly profitable as well and the money spend on that is missing for the maintenance of the normal speed regional rail links.

    But I acknoledge that in many places regional rail that goes between 100 and 200 km/h is considered high speed rail.