Salta al contenuto
0
  • Home
  • Piero Bosio
  • Blog
  • Mondo
  • Fediverso
  • News
  • Categorie
  • Old Web Site
  • Recenti
  • Popolare
  • Tag
  • Utenti
  • Home
  • Piero Bosio
  • Blog
  • Mondo
  • Fediverso
  • News
  • Categorie
  • Old Web Site
  • Recenti
  • Popolare
  • Tag
  • Utenti
Skin
  • Chiaro
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Scuro
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Predefinito (Nessuna skin)
  • Nessuna skin
Collassa

Piero Bosio Social Web Site Personale Logo Fediverso

Social Forum federato con il resto del mondo. Non contano le istanze, contano le persone
  1. Home
  2. Categorie
  3. Technical Discussion
  4. More reliably federating microblog responses

More reliably federating microblog responses

Pianificato Fissato Bloccato Spostato Technical Discussion
lemmypiefed1b12
13 Post 5 Autori 80 Visualizzazioni
  • Da Vecchi a Nuovi
  • Da Nuovi a Vecchi
  • Più Voti
Rispondi
  • Risposta alla discussione
Effettua l'accesso per rispondere
Questa discussione è stata eliminata. Solo gli utenti con diritti di gestione possono vederla.
  • julian@activitypub.space
    julian@activitypub.space
    julian@activitypub.space
    scritto su ultima modifica di julian@activitypub.space
    #1

    I encountered an odd federation issue where microblog responses do not get reliably federated to threadiverse instances.

    Example:

    1. A user on threadiA.instance makes a new post to a category/community on threadiB.instance.
    2. threadiB.instance federates out the post to all followers per FEP 1b12 (so far so good.)
    3. A second user on microblog.instance replies to that post and tags the user on threadiA.instance (the category/community is omitted — this is how microblogs address content)

    In this scenario, only the post on threadiA.instance shows the microblog response. threadiB.instance, the party responsible for federating content to followers, is not aware of the new content. Likewise, any followers of threadiB.instance do not receive the content.

    How do Piefed and Lemmy handle this scenario? I attempted to address this by having NodeBB federate out Announce(Create(Object)) directly to the group actor, and tested this against crust.piefed.social. Alas, while the activity was accepted, the activity seems to have been ignored.

    cc rimu@piefed.social nutomic@lemmy.ml

    1 Risposta Ultima Risposta
    1
    0
    • nodebb@fosstodon.org nodebb@fosstodon.org ha condiviso questa discussione su
    • wjs018@crust.piefed.social
      wjs018@crust.piefed.social
      wjs018@crust.piefed.social
      scritto su ultima modifica di
      #2

      Do you mean this post? I've not done too much with activitypub code, but it does look like the post made it to crust successfully.

      julian@activitypub.space 1 Risposta Ultima Risposta
      0
      • wjs018@crust.piefed.social wjs018@crust.piefed.social

        Do you mean this post? I've not done too much with activitypub code, but it does look like the post made it to crust successfully.

        julian@activitypub.space
        julian@activitypub.space
        julian@activitypub.space
        scritto su ultima modifica di julian@activitypub.space
        #3

        Sort of. That's the post I made to test what would happen.

        I created the post, which was sent over to crust, that worked fine.

        Responses from microblogs (specifically this one and this second one) are addressed to my test instance, but crust is out of the loop because it isn't addressed.

        bb tried to forward the activity back to crust but I think this isn't an accepted flow currently.

        Edit: I made a third reply that specifically mentioned crust, and it does show up, as expected.

        1 Risposta Ultima Risposta
        0
        • uriel@x.keinpfusch.net
          uriel@x.keinpfusch.net
          uriel@x.keinpfusch.net
          scritto su ultima modifica di
          #4

          @julian @rimu @nutomic well, thank you for your effort, to make nodeBB federation better.

          1 Risposta Ultima Risposta
          1
          • rimu@piefed.social
            rimu@piefed.social
            rimu@piefed.social
            scritto su ultima modifica di
            #5

            I haven't looked into this particular case at all but Mastodon has a well known problem where people don't see all the replies in a thread. It's been broken like that since forever. This may be that.

            julian@activitypub.space 1 Risposta Ultima Risposta
            0
            • rimu@piefed.social rimu@piefed.social

              I haven't looked into this particular case at all but Mastodon has a well known problem where people don't see all the replies in a thread. It's been broken like that since forever. This may be that.

              julian@activitypub.space
              julian@activitypub.space
              julian@activitypub.space
              scritto su ultima modifica di
              #6

              Mastodon's issue with not seeing all the replies is actually only slightly related to this one.

              So, yes — it's because Mastodon (and other similar microblogs) are not sending the replies everywhere, but FEP 1b12 is supposed to work around the need to do so. It does work, but only if the originating server is addressed.

              So bear with me (this time I'll use real instances)...

              • If rimu@piefed.social posts to !piefed_meta@piefed.social (same instance), and a Mastodon user responds, then piefed.social will federate the reply :heavy_check_mark:
              • If rimu@piefed.social posts to !fedimemes@feddit.uk (different instance), and a Mastodon user responds, then only piefed.social is aware of the response, feddit.uk isn't, and cannot federate the reply out :x:

              There would ideally need to be a way for third-party instances to keep the distributor up to date in cases where replies are made that unintentionally omit the distributor instance.

              1 Risposta Ultima Risposta
              0
              • trwnh@mastodon.social
                trwnh@mastodon.social
                trwnh@mastodon.social
                scritto su ultima modifica di
                #7

                @julian @rimu yes the ideal solution is for mastodon to address / deliver to more inboxes (e.g. `context.inbox` or `context.attributedTo.inbox`) but the historical solution to work around that is stuff like salmon protocol https://en.wikipedia.org/wiki/Salmon_(protocol) or salmention https://indieweb.org/Salmention

                the idea is simple -- when you receive a reply, you ping anyone upstream of you in the reply chain, and propagate:

                - a posts.
                - b replies to a.
                - c replies to b. b pings a.
                - d replies to c. c pings b. b pings a.

                trwnh@mastodon.social 1 Risposta Ultima Risposta
                0
                • trwnh@mastodon.social trwnh@mastodon.social

                  @julian @rimu yes the ideal solution is for mastodon to address / deliver to more inboxes (e.g. `context.inbox` or `context.attributedTo.inbox`) but the historical solution to work around that is stuff like salmon protocol https://en.wikipedia.org/wiki/Salmon_(protocol) or salmention https://indieweb.org/Salmention

                  the idea is simple -- when you receive a reply, you ping anyone upstream of you in the reply chain, and propagate:

                  - a posts.
                  - b replies to a.
                  - c replies to b. b pings a.
                  - d replies to c. c pings b. b pings a.

                  trwnh@mastodon.social
                  trwnh@mastodon.social
                  trwnh@mastodon.social
                  scritto su ultima modifica di
                  #8

                  @julian @rimu of course, this does gets unwieldy for long reply chains, broken reply chains, etc etc... which is why people later moved to hub models like websub (formerly pubsubhubbub). but with the migration from ostatus to activitypub, we've made backwards progress on this issue because everyone just does direct delivery now without any propagation.

                  julian@activitypub.space 1 Risposta Ultima Risposta
                  0
                  • trwnh@mastodon.social trwnh@mastodon.social

                    @julian @rimu of course, this does gets unwieldy for long reply chains, broken reply chains, etc etc... which is why people later moved to hub models like websub (formerly pubsubhubbub). but with the migration from ostatus to activitypub, we've made backwards progress on this issue because everyone just does direct delivery now without any propagation.

                    julian@activitypub.space
                    julian@activitypub.space
                    julian@activitypub.space
                    scritto su ultima modifica di
                    #9

                    trwnh@mastodon.social ah... I didn't realise that "send the activity to all concerned parties" had a name — salmentation.

                    We already do that, especially since tagging and addressing aren't bound together like on Mastodon.

                    1 Risposta Ultima Risposta
                    0
                    • trwnh@mastodon.social
                      trwnh@mastodon.social
                      trwnh@mastodon.social
                      scritto su ultima modifica di
                      #10

                      @julian activitypub uses a direct delivery model so it relies on you discovering "all concerned parties" at your own discretion -- there's a bit of the AP spec (6.1 client addressing) that calls out certain properties as worth checking for actors to suggest, like to/cc/audience but also attributedTo/actor, object, target, inReplyTo, tag, and you should probably add context to the list of those properties to check. you might also consider other properties as socially salient to keep in the loop.

                      trwnh@mastodon.social 1 Risposta Ultima Risposta
                      0
                      • trwnh@mastodon.social trwnh@mastodon.social

                        @julian activitypub uses a direct delivery model so it relies on you discovering "all concerned parties" at your own discretion -- there's a bit of the AP spec (6.1 client addressing) that calls out certain properties as worth checking for actors to suggest, like to/cc/audience but also attributedTo/actor, object, target, inReplyTo, tag, and you should probably add context to the list of those properties to check. you might also consider other properties as socially salient to keep in the loop.

                        trwnh@mastodon.social
                        trwnh@mastodon.social
                        trwnh@mastodon.social
                        scritto su ultima modifica di
                        #11

                        @julian salmention (not salmentation, it's a portmanteau of salmon + mention, because salmon swim upstream) instead has you propagate mentions upward, so it's more than just direct delivery

                        julian@activitypub.space 1 Risposta Ultima Risposta
                        0
                        • trwnh@mastodon.social trwnh@mastodon.social

                          @julian salmention (not salmentation, it's a portmanteau of salmon + mention, because salmon swim upstream) instead has you propagate mentions upward, so it's more than just direct delivery

                          julian@activitypub.space
                          julian@activitypub.space
                          julian@activitypub.space
                          scritto su ultima modifica di
                          #12

                          trwnh@mastodon.social mm so in that case would you say that Mastodon is practicing salmention?

                          (Gosh, what part of speech is salmention anyway)

                          1 Risposta Ultima Risposta
                          0
                          • trwnh@mastodon.social
                            trwnh@mastodon.social
                            trwnh@mastodon.social
                            scritto su ultima modifica di
                            #13

                            @julian no, mastodon doesn't use salmon anymore, not since a long time ago. they switched to websub then activitypub direct delivery.

                            on the indieweb side, salmention is an extension to webmention, where upon receiving a webmention where someone replied to you, you add that reply to your html then send a webmention up the reply chain to whoever you replied to, and they will fetch your html and find the new downstream reply, add it to *their* html, send a webmention upstream, and so on.

                            1 Risposta Ultima Risposta
                            0

                            Ciao! Sembra che tu sia interessato a questa conversazione, ma non hai ancora un account.

                            Stanco di dover scorrere gli stessi post a ogni visita? Quando registri un account, tornerai sempre esattamente dove eri rimasto e potrai scegliere di essere avvisato delle nuove risposte (tramite email o notifica push). Potrai anche salvare segnalibri e votare i post per mostrare il tuo apprezzamento agli altri membri della comunità.

                            Con il tuo contributo, questo post potrebbe essere ancora migliore 💗

                            Registrati Accedi
                            Rispondi
                            • Risposta alla discussione
                            Effettua l'accesso per rispondere
                            • Da Vecchi a Nuovi
                            • Da Nuovi a Vecchi
                            • Più Voti


                            Feed RSS
                            More reliably federating microblog responses
                            @pierobosio@soc.bosio.info
                            NodeBB Contributors
                            • Accedi

                            • Accedi o registrati per effettuare la ricerca.
                            • Primo post
                              Ultimo post