Home Projects Links Ask About
Mastodon Letterboxd Backloggd Feed
Previous Page 17 / 27 Next Page
  • Posted 28 October 2024 by Natalie

    Roni Kaufman
    Roni Kaufman posted 18 October 2024 on genart.social

    🏁

    via mcc mcc
    1. I got Mastodon reposts working eventually after that last post
    2. thanks to my friend alas! (at time of writing) for helping out
    3. art

  • How to fail to read a Fediverse post

    Posted 27 October 2024 by Natalie

    So I'm trying to add support for automatically embedding Fediverse posts on this blog, right? And yeah I could use the Mastodon API for it, but I'd really rather be able to make it work with anything that speaks ActivityPub. So okay, I look up the ActivityPub spec. It's a bit confusing, but I figure out how to at make a GET request for an ActivityPub resource: just add Content-Type: application/ld+json; profile="https://www.w3.org/ns/activitystreams". I can even make a request for one of my statuses and it works! Fantastic!

    Just to verify, I make a request to another server, and that's where things start getting hairy. Instead of a nice JSON representation of the post, I get back a 401 Unauthorized with a body that says "Request not signed". This is a public post, but after some digging it turns out Mastodon (and by extension ActivityPub as a whole) has a "secure mode" where all requests have to be signed.

    Signed by what though? This is a distributed system—there's no central authority to distribute authorization in the first place.

    To answer that I looked in the spec. I searched for "signature" and found nothing particularly relevant. Eventually I found the Authentication and Authorization section, which says "Unfortunately at the time of standardization, there are no strongly agreed upon mechanisms for authentication." Well, shit. Clearly some people agree enough for it to be implemented, but I guess not enough for it to be actually specified!

    This does, mercifully, link to a wiki page that purports to lay out "some possible directions" and, under the Server to Server section, seems to describe the scheme that this StackOverflow post describes as "an odd, somewhat well-known ActivityPub quirk"[1]. This wiki page may not be an official specification, but at the very least it describes the publicKey field that I can see in the actor JSON on Mastodon.social.

    This is all fundamentally busywork. Because the whole thing is decentralized, the receiving instance has no choice but to trust whatever public key a new requesting instance provides. All this scheme really does is prove that someone making requests runs a server somewhere that speaks basic ActivityPub, and even then this constraint only exists for ActivityPub requests—HTTP requires no authentication at all.

    {
      "id": "https://mastodon.social/users/nex3",
      "type": "Person",
      /* ... */
      "publicKey": {
        "id": "https://mastodon.social/users/nex3#main-key",
        "owner": "https://mastodon.social/users/nex3",
        "publicKeyPem": "-----BEGIN PUBLIC KEY-----\n...\n-----END PUBLIC KEY-----\n"
      }
    }

    Or does it? The publicKey link there points to https://web-payments.org/vocabs/security#publicKey, a URL that at time of writing is refusing HTTPS connections entirely. Naturally I looked it up on archive.org, only to find that the specification for the publicKey field is not only totally different from what I'm observing in the wild, its one-sentence specification is essentially useless: "A public key property is used to specify a URL that contains information about a public key." The example included doesn't even have a publicKey field.

    {
      "@context": "https://w3id.org/security/v1",…
    1. meta
    2. code
    3. mastodon

  • Posted 27 October 2024 by Natalie

    my favorite discord feature is when it randomly decides to give me a notification for a conversation no one has said anything in for ages


    1. Posted 26 October 2024 by Natalie

      A screenshot of an OkCupid notification
      detailed image description

      A Discord message from valbaca: "Fuck. I can never open this notification". An attached screenshot shows an OkCupid notification: "Eurydice likes you! See if you like them back now".

      via Val Val

      1. Posted 26 October 2024 by Natalie

        Willow
        willow @Willow
        25 September 2024

        I SEE LONDON! I SEE FRANCE! I’M HUGE! I’M HUUUUUUUUUGE

        0 comments
        1. I miss willow so bad
        2. to be clear she's still alive
        3. she's just not posting anymore

      2. went out dancing last night

        Posted 26 October 2024 by Natalie

        detailed image description

        Me in a leather jacket, wearing a sheer top with snakes running up it and matching snake earrings.

        can't express enough gratitude to normal for girls for hosting masked shows with big ol' cr boxes. had an incredible time. my legs feel like pudding now. dancing in heels is hard work

        1. selfie
        2. music

      3. Aotearobot

        Posted 25 October 2024 by Natalie

        that one's free for anyone who can make good use of it


        1. Posted 25 October 2024 by Natalie

          I appreciate when manga translations include both transliterations and translations of onomatopoeias. yeah actually I am interested that "gata" is the onomatopoeia for "clatter" that's really cool

          1. language

        2. Posted 24 October 2024 by Natalie

          "posh ketchup" - Prue Leith, describing tonkatsu sauce

          1. Prue you are the most posh thing in this tent by a mile
          2. the great american baking show
          3. baking show
          4. food

        3. Posted 24 October 2024 by Natalie

          Joey Fox
          Joey Fox posted on itsairborne.com

          My 6 Favorite HEPA Filters & Air Cleaners

          2. Classic Corsi-Rosenthal Box

          The classic box fan CR-Box was invented during the COVID-19 pandemic and is THE most cost effective method to clean the air. They have been shown to be remarkably effective and outperforming most commercial HEPA filters on the market. It can also be scaled up as there have been many CR box builds where entire schools came together to provide one per classroom.

          …

          This article is legitimately helpful, but I'm mostly posting it because I find it extremely amusing that (at least as of a year ago) the best-in-class air filter by cost and among the best overall is literally just taping a bunch of filters to a box fan yourself. Hilarious and easy on your wallet! But what's even funnier is Joey's #1 recommendation:

          Joey Fox
          Joey Fox posted on itsairborne.com

          1. PC Fan Corsi-Rosenthal Box

          The PC fan CR box was a recent invention to find a method to achieve high clean air delivery rates with very low noise. Noise is the greatest limitation of in-room air cleaners and PC fans are the best option to address it. There are no other air cleaners on the market that have the capability to supply 150 lps of clean air at 35 dBA. Nothing comes close.

          …

          The only thing better than than taping a bunch of filters to a box fan? Taping them to a bunch of PC fans instead! Granted the ones linked here are a little more sophisticated than that, but elsewhere on his site Joey presents one that absolutely is just fans and tape:

          Joey Fox
          Joey Fox posted on itsairborne.com

          The Mini PC Fan Corsi-Rosenthal Box

          Mini PC Fan CR Box

          …

          1. covid
          2. link
        Previous Page 17 / 27 Next Page
        Copyright Natalie Weizenbaum