Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • 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
We Distribute
  1. Home
  2. General Discussion
  3. Developers building ActivityPub applications picking what AS2 object type to use when doing ActivityPub federation:

Developers building ActivityPub applications picking what AS2 object type to use when doing ActivityPub federation:

Scheduled Pinned Locked Moved General Discussion
16 Posts 5 Posters 549 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.
  • freddiej@newsmast.socialF freddiej@newsmast.social

    @thisismissem I see, thanks. So in theory, "Event" objects as defined in ActivityStreams should be easy to federate if two platforms actually support it?

    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 on last edited by
    #6

    freddiej@newsmast.social yes (sorry to butt in) β€” an example would be as:Page and as:Article. Threadiverse softwares like Lemmy, Piefed, and NodeBB handle this fine, showing title and content with the appropriate attachments, but in Mastodon they currently get collapsed into just the title and URL, as that is the current fallback handler for objects that are not notes.

    cc thisismissem@hachyderm.io

    1 Reply Last reply
    0
    • freddiej@newsmast.socialF This user is from outside of this forum
      freddiej@newsmast.socialF This user is from outside of this forum
      freddiej@newsmast.social
      wrote on last edited by
      #7

      @julian @thisismissem Hi Julian, no worries, thanks for the clarification. I had thought this was the case from when I attended the early Threadiverse meetups. Looking at the AS spec, they support loads of complex objects it would be great to see supported more widely in the Fediverse (like events) and just wondered what the barrier to adoption might be?

      1 Reply Last reply
      0
      • freddiej@newsmast.socialF freddiej@newsmast.social

        @thisismissem I see, thanks. So in theory, "Event" objects as defined in ActivityStreams should be easy to federate if two platforms actually support it?

        thisismissem@hachyderm.ioT This user is from outside of this forum
        thisismissem@hachyderm.ioT This user is from outside of this forum
        thisismissem@hachyderm.io
        wrote on last edited by
        #8

        @FreddieJ yes. As long as you agree on what the properties mean, and activities performed on them, then you'd be fine.

        1 Reply Last reply
        0
        • thisismissem@hachyderm.ioT thisismissem@hachyderm.io

          @FreddieJ its just Mastodon doesn't support many other object types, and everyone wants compatibility with Mastodon.

          kopper@not-brain.d.on-t.workK This user is from outside of this forum
          kopper@not-brain.d.on-t.workK This user is from outside of this forum
          kopper@not-brain.d.on-t.work
          wrote on last edited by
          #9
          @thisismissem this is perhaps going to be an unpopular opinion around here but.... what if that's just fine, actually

          hear me out: all this push for "everyone ought to support literally everything" just results in massive scope creep across a vast landscape of mostly unpaid volunteer burnout-driven projects

          additionally: what would stop threads from embedding a blog post into their UI, remove all links going out, and subtly de-rank posts with regular links on them? "mastodon does embedding already" is a dangerous precedent imo.
          julian@activitypub.spaceJ thisismissem@hachyderm.ioT 2 Replies Last reply
          0
          • kopper@not-brain.d.on-t.workK kopper@not-brain.d.on-t.work
            @thisismissem this is perhaps going to be an unpopular opinion around here but.... what if that's just fine, actually

            hear me out: all this push for "everyone ought to support literally everything" just results in massive scope creep across a vast landscape of mostly unpaid volunteer burnout-driven projects

            additionally: what would stop threads from embedding a blog post into their UI, remove all links going out, and subtly de-rank posts with regular links on them? "mastodon does embedding already" is a dangerous precedent imo.
            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 on last edited by
            #10

            kopper@not-brain.d.on-t.work you're not wrong about that, and it's why awhile back I changed my stance on it for that exact reason.

            I don't think it's wise to advocate for Mastodon to support other object types because what they're mainly interested in is converting as:Note (and sometimes as:Video and as:Question) into statuses.

            What's really of concern is that Mastodon's fallback mechanism should handle non-Notes better, because the experience has degraded to the point that it is incentivising other software to "just send notes". The key is to raise the baseline of the fallback handler so that it is no longer a degraded experience. That's all.

            trwnh@mastodon.socialT 1 Reply Last reply
            0
            • kopper@not-brain.d.on-t.workK kopper@not-brain.d.on-t.work
              @thisismissem this is perhaps going to be an unpopular opinion around here but.... what if that's just fine, actually

              hear me out: all this push for "everyone ought to support literally everything" just results in massive scope creep across a vast landscape of mostly unpaid volunteer burnout-driven projects

              additionally: what would stop threads from embedding a blog post into their UI, remove all links going out, and subtly de-rank posts with regular links on them? "mastodon does embedding already" is a dangerous precedent imo.
              thisismissem@hachyderm.ioT This user is from outside of this forum
              thisismissem@hachyderm.ioT This user is from outside of this forum
              thisismissem@hachyderm.io
              wrote on last edited by
              #11

              @kopper so I'm not saying everyone should support everything, in fact, it's perfectly fine to have a decentralized ecosystem where one account enabled you to publish multiple different things.

              Striving for interoperability with just the dominant software in the protocol doesn't result in good outcomes. It results in a reduction of interoperability.

              kopper@not-brain.d.on-t.workK 1 Reply Last reply
              0
              • thisismissem@hachyderm.ioT thisismissem@hachyderm.io

                @kopper so I'm not saying everyone should support everything, in fact, it's perfectly fine to have a decentralized ecosystem where one account enabled you to publish multiple different things.

                Striving for interoperability with just the dominant software in the protocol doesn't result in good outcomes. It results in a reduction of interoperability.

                kopper@not-brain.d.on-t.workK This user is from outside of this forum
                kopper@not-brain.d.on-t.workK This user is from outside of this forum
                kopper@not-brain.d.on-t.work
                wrote on last edited by
                #12
                @thisismissem re-reading my post i feel like it's a bit confusing what i'm talking about so let me clarify: "everything is a Note" is not the thing i'm saying is "fine". but Mastodon's behavior of simply placing a title and a link for anything it doesn't understand, in my opinion, is perfectly OK.
                thisismissem@hachyderm.ioT trwnh@mastodon.socialT 2 Replies Last reply
                0
                • kopper@not-brain.d.on-t.workK kopper@not-brain.d.on-t.work
                  @thisismissem re-reading my post i feel like it's a bit confusing what i'm talking about so let me clarify: "everything is a Note" is not the thing i'm saying is "fine". but Mastodon's behavior of simply placing a title and a link for anything it doesn't understand, in my opinion, is perfectly OK.
                  thisismissem@hachyderm.ioT This user is from outside of this forum
                  thisismissem@hachyderm.ioT This user is from outside of this forum
                  thisismissem@hachyderm.io
                  wrote on last edited by
                  #13

                  @kopper right, I think we're saying the same thing overall. But everyone wants ideal compatibility with Mastodon, which then acts as a forcing function on them needing to support more things, which isn't great because obviously limited resources.

                  The goal seems to tend to be "interoperability with Mastodon" not "optimal federation via ActivityPub"

                  1 Reply Last reply
                  0
                  • kopper@not-brain.d.on-t.workK kopper@not-brain.d.on-t.work
                    @thisismissem re-reading my post i feel like it's a bit confusing what i'm talking about so let me clarify: "everything is a Note" is not the thing i'm saying is "fine". but Mastodon's behavior of simply placing a title and a link for anything it doesn't understand, in my opinion, is perfectly OK.
                    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 on last edited by
                    #14

                    @kopper @thisismissem in a more sensible world, interoperating with mastodon would use a vocabulary that more closely describes what mastodon is actually doing. like, if mastodon operates on "accounts" and "posts" then why not use a standard vocab that actually call them that? activitystreams was built on "activities" and "actors", which is a semantic mismatch for mastodon's model (activities are unwrapped for their side effects and then discarded, instead of being rendered directly)

                    1 Reply Last reply
                    1
                    • julian@activitypub.spaceJ julian@activitypub.space

                      kopper@not-brain.d.on-t.work you're not wrong about that, and it's why awhile back I changed my stance on it for that exact reason.

                      I don't think it's wise to advocate for Mastodon to support other object types because what they're mainly interested in is converting as:Note (and sometimes as:Video and as:Question) into statuses.

                      What's really of concern is that Mastodon's fallback mechanism should handle non-Notes better, because the experience has degraded to the point that it is incentivising other software to "just send notes". The key is to raise the baseline of the fallback handler so that it is no longer a degraded experience. That's all.

                      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 on last edited by
                      #15

                      @julian @kopper the world if we used sioc:UserAccount and sioc:Post instead of as:Person and as:Note (or heck, toot:Account and toot:Status... or atom:feed and atom:entry...)

                      or alternatively, if people used activitystreams to actually model social activities...

                      i've come to the stance that activitystreams trying to spec out vocab for Note and Article and so on was a distraction from what it was actually trying to do. it should have reused existing vocabs for that stuff, or left it unbounded.

                      1 Reply Last reply
                      1
                      • thisismissem@hachyderm.ioT thisismissem@hachyderm.io

                        Developers building ActivityPub applications picking what AS2 object type to use when doing ActivityPub federation:

                        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 on last edited by
                        #16

                        @thisismissem https://mastodon.social/@trwnh/110043428576595588

                        1 Reply Last reply
                        0
                        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