Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse

NodeBB

  1. Home
  2. General Discussion
  3. I have deeply mixed feelings about #ActivityPub's adoption of JSON-LD, as someone who's spent way too long dealing with it while building #Fedify.

I have deeply mixed feelings about #ActivityPub's adoption of JSON-LD, as someone who's spent way too long dealing with it while building #Fedify.

Scheduled Pinned Locked Moved General Discussion
fedifyjsonldfedidevactivitypub
65 Posts 19 Posters 1 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • evan@cosocial.caE evan@cosocial.ca

    @cwebber

    If you don't think waiting until the first user loads the content to verify the content is an acceptable risk, there are still other solutions. One I like is using a content-addressed shared cache for public data, like IPFS. We have `alsoKnownAs` as a nice way to include this URI.

    cwebber@social.coopC This user is from outside of this forum
    cwebber@social.coopC This user is from outside of this forum
    cwebber@social.coop
    wrote last edited by
    #56

    @evan ESPECIALLY if it's on something like IPFS, you need signatures, because there's no "see if it's on this instance" to speak of as a trust step!!!!

    Am I am losing my mind over here

    evan@cosocial.caE 1 Reply Last reply
    0
    • cwebber@social.coopC cwebber@social.coop

      @evan @patmikemid @kopper @hongminhee I'm sorry hold on Evan I'm sorry but it's NOT very low risk. That's a COMPLETE misunderstanding of the information landscape we are currently in.

      Trust THEN verify?!?! Trust AND THEN verify?!?!!?!?!?!?

      "A random several minutes" until we know whether or not the content delivered authentically is from said actor...

      Even ONE minute is enough for someone to read, and believe, something false, and to reply, or to *take action*. Or to boost a post, which is then distributed across the fediverse, and then seen by a bunch of other nodes which also have not yet verified?

      Trust AND THEN verify doesn't make sense!!!

      AAAAAA I am losing my marbles over this one

      evan@cosocial.caE This user is from outside of this forum
      evan@cosocial.caE This user is from outside of this forum
      evan@cosocial.ca
      wrote last edited by
      #57

      @cwebber it's ok if you don't get it. You don't have to use it. There are other ways to handle the thundering herd, like shared caches.

      julian@activitypub.spaceJ 1 Reply Last reply
      0
      • cwebber@social.coopC cwebber@social.coop

        @evan ESPECIALLY if it's on something like IPFS, you need signatures, because there's no "see if it's on this instance" to speak of as a trust step!!!!

        Am I am losing my mind over here

        evan@cosocial.caE This user is from outside of this forum
        evan@cosocial.caE This user is from outside of this forum
        evan@cosocial.ca
        wrote last edited by
        #58

        @cwebber yes.

        1 Reply Last reply
        0
        • cwebber@social.coopC cwebber@social.coop

          @evan @patmikemid @kopper @hongminhee I'm sorry hold on Evan I'm sorry but it's NOT very low risk. That's a COMPLETE misunderstanding of the information landscape we are currently in.

          Trust THEN verify?!?! Trust AND THEN verify?!?!!?!?!?!?

          "A random several minutes" until we know whether or not the content delivered authentically is from said actor...

          Even ONE minute is enough for someone to read, and believe, something false, and to reply, or to *take action*. Or to boost a post, which is then distributed across the fediverse, and then seen by a bunch of other nodes which also have not yet verified?

          Trust AND THEN verify doesn't make sense!!!

          AAAAAA I am losing my marbles over this one

          cwebber@social.coopC This user is from outside of this forum
          cwebber@social.coopC This user is from outside of this forum
          cwebber@social.coop
          wrote last edited by
          #59

          @evan @patmikemid @kopper @hongminhee Okay, sorry for blowing up in public, this is a heated issue for me, and something I strongly regret us not just shipping an answer for, and something I have been troubled by for what's now, well, a decade. But I should have taken this to DMs rather than blowing up in public. Mea culpa.

          1 Reply Last reply
          0
          • evan@cosocial.caE evan@cosocial.ca

            @aeva the thundering herd?

            @cwebber @patmikemid @kopper @hongminhee

            aeva@mastodon.gamedev.placeA This user is from outside of this forum
            aeva@mastodon.gamedev.placeA This user is from outside of this forum
            aeva@mastodon.gamedev.place
            wrote last edited by
            #60

            @evan @cwebber @patmikemid @kopper @hongminhee the json ld thing

            evan@cosocial.caE virtuous_sloth@cosocial.caV 2 Replies Last reply
            0
            • evan@cosocial.caE evan@cosocial.ca

              @cwebber it's ok if you don't get it. You don't have to use it. There are other ways to handle the thundering herd, like shared caches.

              julian@activitypub.spaceJ This user is from outside of this forum
              julian@activitypub.spaceJ This user is from outside of this forum
              julian@activitypub.space
              wrote last edited by
              #61

              @evan@cosocial.ca on the topic of shared caches as thundering herd mitigation... I spent a little bit of time trying to guard against it, and most of the load is just AP GETs.

              Nginx cache was all I needed to handle the thundering herd, although I'll admit I haven't tested it against a good evanp or tchambers boost.

              I'll write it all up as a separate topic another day.

              @cwebber@social.coop

              1 Reply Last reply
              0
              • aeva@mastodon.gamedev.placeA aeva@mastodon.gamedev.place

                @evan @cwebber @patmikemid @kopper @hongminhee the json ld thing

                evan@cosocial.caE This user is from outside of this forum
                evan@cosocial.caE This user is from outside of this forum
                evan@cosocial.ca
                wrote last edited by
                #62

                @aeva what

                @cwebber @patmikemid @kopper @hongminhee

                1 Reply Last reply
                0
                • aeva@mastodon.gamedev.placeA aeva@mastodon.gamedev.place

                  @evan @cwebber @patmikemid @kopper @hongminhee the json ld thing

                  virtuous_sloth@cosocial.caV This user is from outside of this forum
                  virtuous_sloth@cosocial.caV This user is from outside of this forum
                  virtuous_sloth@cosocial.ca
                  wrote last edited by
                  #63

                  @aeva
                  Premium pot-stirring there

                  @evan @cwebber @patmikemid @kopper @hongminhee

                  1 Reply Last reply
                  0
                  • evan@cosocial.caE evan@cosocial.ca

                    @trwnh i was replying to a post that wanted all expanded terms.

                    @gugurumbe @cwebber @kopper @hongminhee

                    gugurumbe@mastouille.frG This user is from outside of this forum
                    gugurumbe@mastouille.frG This user is from outside of this forum
                    gugurumbe@mastouille.fr
                    wrote last edited by
                    #64

                    @evan @trwnh @cwebber @kopper @hongminhee I think it would be great to have everything expanded besides the required as2 context.
                    The results of the compaction algorithm would change if new things migrate into schema.org, so technically a document could become invalid or break without being modified, but this would be a lot better otherwise I guess.

                    trwnh@mastodon.socialT 1 Reply Last reply
                    0
                    • gugurumbe@mastouille.frG gugurumbe@mastouille.fr

                      @evan @trwnh @cwebber @kopper @hongminhee I think it would be great to have everything expanded besides the required as2 context.
                      The results of the compaction algorithm would change if new things migrate into schema.org, so technically a document could become invalid or break without being modified, but this would be a lot better otherwise I guess.

                      trwnh@mastodon.socialT This user is from outside of this forum
                      trwnh@mastodon.socialT This user is from outside of this forum
                      trwnh@mastodon.social
                      wrote last edited by
                      #65

                      @gugurumbe @evan @cwebber @kopper @hongminhee yup, using full IRIs also has the advantage that ld-unaware processors only need to recognize 1 form instead of infinitely many.

                      the thing is, we have semantics imported from the content type (activity+json) which can also change. which is why i think versioning the context document is also important -- it freezes the semantics at the time of publishing, like pinning your dependencies.

                      without that, we might well have a simpler profile...

                      1 Reply Last reply
                      0

                      Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                      Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                      With your input, this post could be even better 💗

                      Register Login
                      Reply
                      • Reply as topic
                      Log in to reply
                      • Oldest to Newest
                      • Newest to Oldest
                      • Most Votes


                      • Login

                      • Don't have an account? Register

                      • Login or register to search.
                      Powered by NodeBB Contributors
                      • First post
                        Last post
                      0
                      • Categories
                      • Recent
                      • Tags
                      • Popular
                      • World
                      • Users
                      • Groups