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 (Cerulean)
  • 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. General Discussion
  4. “All a ‘true ActivityPub server’ is for is storing data, fanning out subscriptions and collecting incoming data for you to view.

“All a ‘true ActivityPub server’ is for is storing data, fanning out subscriptions and collecting incoming data for you to view.

Pianificato Fissato Bloccato Spostato General Discussion
activitypub
20 Post 8 Autori 65 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.
  • zoul@boskovice.socialundefined Questo utente è esterno a questo forum
    zoul@boskovice.socialundefined Questo utente è esterno a questo forum
    zoul@boskovice.social
    scritto su ultima modifica di
    #1

    “All a ‘true ActivityPub server’ is for is storing data, fanning out subscriptions and collecting incoming data for you to view. #ActivityPub was originally designed so that all of the data presentation layers—Mastodon, PeerTube, Pixelfed—would be specialized clients communicating with the generic server. But the first popular apps cut out the client-to-server part of the protocol, so people think you need a separate identity for every client application. https://news.ycombinator.com/item?id=45396517

    badrihippo@fosstodon.orgundefined 1 Risposta Ultima Risposta
    0
    • zoul@boskovice.socialundefined zoul@boskovice.social

      “All a ‘true ActivityPub server’ is for is storing data, fanning out subscriptions and collecting incoming data for you to view. #ActivityPub was originally designed so that all of the data presentation layers—Mastodon, PeerTube, Pixelfed—would be specialized clients communicating with the generic server. But the first popular apps cut out the client-to-server part of the protocol, so people think you need a separate identity for every client application. https://news.ycombinator.com/item?id=45396517

      badrihippo@fosstodon.orgundefined Questo utente è esterno a questo forum
      badrihippo@fosstodon.orgundefined Questo utente è esterno a questo forum
      badrihippo@fosstodon.org
      scritto su ultima modifica di
      #2

      @zoul this is an important point and one I've been thinking about too. In the #XMPP world, we have generic servers and let the clients do whatever they want on top of it, which means the same account can be used for various purposes. I was wondering why this wasn't so in the #ActivityPub world, so it's good to know there's no particular reason for it and it can be that way if we want it to be!

      It'd also reduce work for new projects as they "just" have to implement a client, not a server

      helge@mymath.rocksundefined 1 Risposta Ultima Risposta
      0
      • badrihippo@fosstodon.orgundefined badrihippo@fosstodon.org

        @zoul this is an important point and one I've been thinking about too. In the #XMPP world, we have generic servers and let the clients do whatever they want on top of it, which means the same account can be used for various purposes. I was wondering why this wasn't so in the #ActivityPub world, so it's good to know there's no particular reason for it and it can be that way if we want it to be!

        It'd also reduce work for new projects as they "just" have to implement a client, not a server

        helge@mymath.rocksundefined Questo utente è esterno a questo forum
        helge@mymath.rocksundefined Questo utente è esterno a questo forum
        helge@mymath.rocks
        scritto su ultima modifica di
        #3

        There are good reasons for the work being on the servers. They are just not explained / ignored in the ActivityPub specification documents.

        The reason is roughly: The data model of ActivityPub has no integrity mechanism. This is patched by requiring users to trust their origin server and servers communicating through signed messages.

        badrihippo@fosstodon.orgundefined 1 Risposta Ultima Risposta
        0
        • helge@mymath.rocksundefined helge@mymath.rocks

          There are good reasons for the work being on the servers. They are just not explained / ignored in the ActivityPub specification documents.

          The reason is roughly: The data model of ActivityPub has no integrity mechanism. This is patched by requiring users to trust their origin server and servers communicating through signed messages.

          badrihippo@fosstodon.orgundefined Questo utente è esterno a questo forum
          badrihippo@fosstodon.orgundefined Questo utente è esterno a questo forum
          badrihippo@fosstodon.org
          scritto su ultima modifica di
          #4

          @helge interesting: this is a little over my head so could you tell me a bit more? Do you mean at the level of "the server can impersonate any of its users and make them say whatever it wants" or also at the schema level somehow?

          I suppose the server impersonation thing is a potential issue and would need some kind of keys/signing to solve, but I can''t see how that relates to tighter or looser coupling between client and server 👀

          helge@mymath.rocksundefined 1 Risposta Ultima Risposta
          0
          • badrihippo@fosstodon.orgundefined badrihippo@fosstodon.org

            @helge interesting: this is a little over my head so could you tell me a bit more? Do you mean at the level of "the server can impersonate any of its users and make them say whatever it wants" or also at the schema level somehow?

            I suppose the server impersonation thing is a potential issue and would need some kind of keys/signing to solve, but I can''t see how that relates to tighter or looser coupling between client and server 👀

            helge@mymath.rocksundefined Questo utente è esterno a questo forum
            helge@mymath.rocksundefined Questo utente è esterno a questo forum
            helge@mymath.rocks
            scritto su ultima modifica di
            #5

            I'm talking here about the Fediverse and my experience with it (including ActivityPub).

            Due to the data model: A server needs to store / understand all the data owned by the server. This is due to

            • the nature of ActivityPub objects being fetchable by their id (a HTTPS uri).
            • people often expecting a HTML version if they click on the object

            This means all outgoing stuff needs to be tracked and understood by the server! Due to the desire of coordinating replies / like counts / etc ... the server also needs to understand the incoming traffic.

            silverpill@mitra.socialundefined 1 Risposta Ultima Risposta
            0
            • helge@mymath.rocksundefined helge@mymath.rocks

              I'm talking here about the Fediverse and my experience with it (including ActivityPub).

              Due to the data model: A server needs to store / understand all the data owned by the server. This is due to

              • the nature of ActivityPub objects being fetchable by their id (a HTTPS uri).
              • people often expecting a HTML version if they click on the object

              This means all outgoing stuff needs to be tracked and understood by the server! Due to the desire of coordinating replies / like counts / etc ... the server also needs to understand the incoming traffic.

              silverpill@mitra.socialundefined Questo utente è esterno a questo forum
              silverpill@mitra.socialundefined Questo utente è esterno a questo forum
              silverpill@mitra.social
              scritto su ultima modifica di
              #6

              @helge @badrihippo Having tried to build a generic ActivityPub server, I can confirm: this is very difficult, maybe impossible. The server needs to understand the payloads -- in order to generate collections, for example. And security implications of allowing arbitrary activities are not quite clear.

              However, I think a modified version of ActivityPub protocol could support generic servers.

              julian@activitypub.spaceundefined reiver@mastodon.socialundefined 2 Risposte Ultima Risposta
              0
              • silverpill@mitra.socialundefined silverpill@mitra.social

                @helge @badrihippo Having tried to build a generic ActivityPub server, I can confirm: this is very difficult, maybe impossible. The server needs to understand the payloads -- in order to generate collections, for example. And security implications of allowing arbitrary activities are not quite clear.

                However, I think a modified version of ActivityPub protocol could support generic servers.

                julian@activitypub.spaceundefined Questo utente è esterno a questo forum
                julian@activitypub.spaceundefined Questo utente è esterno a questo forum
                julian@activitypub.space
                scritto su ultima modifica di
                #7

                silverpill@mitra.social helge@mymath.rocks theoretically it is possible to reduce down any activities your software doesn't understand into a "generic" presentation — it likely needn't be user facing. Though I do think at that point you'd need to save the original AS payload for future processing, potentially.

                Realistically I would probably expect implementors to support only their subset of activities and objects. It falls short of the ideal, though the ideal is well worth shooting for.

                cc badrihippo@fosstodon.org

                1 Risposta Ultima Risposta
                0
                • silverpill@mitra.socialundefined silverpill@mitra.social

                  @helge @badrihippo Having tried to build a generic ActivityPub server, I can confirm: this is very difficult, maybe impossible. The server needs to understand the payloads -- in order to generate collections, for example. And security implications of allowing arbitrary activities are not quite clear.

                  However, I think a modified version of ActivityPub protocol could support generic servers.

                  reiver@mastodon.socialundefined Questo utente è esterno a questo forum
                  reiver@mastodon.socialundefined Questo utente è esterno a questo forum
                  reiver@mastodon.social
                  scritto su ultima modifica di
                  #8

                  @silverpill @helge @badrihippo

                  Do you have a sense of what you feel would need to be modified with ActivityPub to make it work?

                  xmppbrasil@mastodon.socialundefined sl007@digitalcourage.socialundefined 2 Risposte Ultima Risposta
                  0
                  • reiver@mastodon.socialundefined reiver@mastodon.social

                    @silverpill @helge @badrihippo

                    Do you have a sense of what you feel would need to be modified with ActivityPub to make it work?

                    xmppbrasil@mastodon.socialundefined Questo utente è esterno a questo forum
                    xmppbrasil@mastodon.socialundefined Questo utente è esterno a questo forum
                    xmppbrasil@mastodon.social
                    scritto su ultima modifica di
                    #9

                    @reiver @silverpill @helge @badrihippo

                    @zoul I really want a generic server. In that case I would have to start developing one of my own?

                    A generic server that has support to Mastodon, Lemmy and Peertube API would be awesome

                    1 Risposta Ultima Risposta
                    0
                    • Sistema ha condiviso questa discussione su
                    • reiver@mastodon.socialundefined reiver@mastodon.social

                      @silverpill @helge @badrihippo

                      Do you have a sense of what you feel would need to be modified with ActivityPub to make it work?

                      sl007@digitalcourage.socialundefined Questo utente è esterno a questo forum
                      sl007@digitalcourage.socialundefined Questo utente è esterno a questo forum
                      sl007@digitalcourage.social
                      scritto su ultima modifica di
                      #10

                      @reiver @silverpill @helge @badrihippo

                      @julian@activitypub.space @julian@community.nodebb.org
                      @by_caballero

                      full ack.
                      We are working heavily towards a generic server and in deed it is super important what Helge decribes but anyway, we need to come together.

                      original:
                      „the client APIs necessary to make this a reality haven't seen much development“

                      But many people want this.
                      We should change that now and meet.
                      After organizing the first official Confs https://conf.tube/c/apconf_channel/videos (tons of videos) I advised the EU for DMA and DSA and then Client To Server was eye-opening for them.

                      My last Talks (e.g. together with funder at fediday) and those after had been in German but when we showed the AP Client2Server boardgame at Public Spaces it was english https://video.publicspaces.net/w/9USsJ37cHVy4tY9Pn7DX2X :)

                      So, if anyone is interested in a nice dev. meeting about this topic apart from the new taskforces, please comment here !

                      reiver@mastodon.socialundefined 1 Risposta Ultima Risposta
                      0
                      • sl007@digitalcourage.socialundefined sl007@digitalcourage.social

                        @reiver @silverpill @helge @badrihippo

                        @julian@activitypub.space @julian@community.nodebb.org
                        @by_caballero

                        full ack.
                        We are working heavily towards a generic server and in deed it is super important what Helge decribes but anyway, we need to come together.

                        original:
                        „the client APIs necessary to make this a reality haven't seen much development“

                        But many people want this.
                        We should change that now and meet.
                        After organizing the first official Confs https://conf.tube/c/apconf_channel/videos (tons of videos) I advised the EU for DMA and DSA and then Client To Server was eye-opening for them.

                        My last Talks (e.g. together with funder at fediday) and those after had been in German but when we showed the AP Client2Server boardgame at Public Spaces it was english https://video.publicspaces.net/w/9USsJ37cHVy4tY9Pn7DX2X :)

                        So, if anyone is interested in a nice dev. meeting about this topic apart from the new taskforces, please comment here !

                        reiver@mastodon.socialundefined Questo utente è esterno a questo forum
                        reiver@mastodon.socialundefined Questo utente è esterno a questo forum
                        reiver@mastodon.social
                        scritto su ultima modifica di
                        #11

                        @sl007

                        I am happy to do a video call with anyone interested. (Assuming that is what you were suggesting.)

                        We would just need to figure out a day and time for it.

                        cc: @silverpill @helge @badrihippo @julian@activitypub.space @julian@community.nodebb.org @by_caballero

                        sl007@digitalcourage.socialundefined 1 Risposta Ultima Risposta
                        0
                        • reiver@mastodon.socialundefined reiver@mastodon.social

                          @sl007

                          I am happy to do a video call with anyone interested. (Assuming that is what you were suggesting.)

                          We would just need to figure out a day and time for it.

                          cc: @silverpill @helge @badrihippo @julian@activitypub.space @julian@community.nodebb.org @by_caballero

                          sl007@digitalcourage.socialundefined Questo utente è esterno a questo forum
                          sl007@digitalcourage.socialundefined Questo utente è esterno a questo forum
                          sl007@digitalcourage.social
                          scritto su ultima modifica di
                          #12

                          @reiver @silverpill @helge @badrihippo @julian@activitypub.space @julian@community.nodebb.org @by_caballero

                          very nice, that was my suggestion.
                          I am just coding all day and so I'm very flexible.

                          reiver@mastodon.socialundefined 1 Risposta Ultima Risposta
                          0
                          • sl007@digitalcourage.socialundefined sl007@digitalcourage.social

                            @reiver @silverpill @helge @badrihippo @julian@activitypub.space @julian@community.nodebb.org @by_caballero

                            very nice, that was my suggestion.
                            I am just coding all day and so I'm very flexible.

                            reiver@mastodon.socialundefined Questo utente è esterno a questo forum
                            reiver@mastodon.socialundefined Questo utente è esterno a questo forum
                            reiver@mastodon.social
                            scritto su ultima modifica di
                            #13

                            @sl007

                            What time-zone are you in?

                            cc: @silverpill @helge @badrihippo @julian@activitypub.space @julian@community.nodebb.org @by_caballero

                            sl007@digitalcourage.socialundefined 1 Risposta Ultima Risposta
                            0
                            • reiver@mastodon.socialundefined reiver@mastodon.social

                              @sl007

                              What time-zone are you in?

                              cc: @silverpill @helge @badrihippo @julian@activitypub.space @julian@community.nodebb.org @by_caballero

                              sl007@digitalcourage.socialundefined Questo utente è esterno a questo forum
                              sl007@digitalcourage.socialundefined Questo utente è esterno a questo forum
                              sl007@digitalcourage.social
                              scritto su ultima modifica di
                              #14

                              @reiver @silverpill @helge @badrihippo @julian@activitypub.space @julian@community.nodebb.org @by_caballero

                              Europe/Berlin

                              PS
                              according to the temporal polyfill and "Intl to ActivityPub" I wrote yesterday:
                              This Olson id is the same timezone like e.g. id: "DE-BE" or "DE" and can now be parsed from all localized names of the .Intl world – which is serverside polyfilled as well https://digitalcourage.social/@sl007/115275358490217223
                              ¯\_(ツ)_/¯
                              At the moment it is summer in the EU which never implemented citizens demands or democracy results and so shifts are still in effect.
                              At the moment it is UTC+1
                              ¯\_(ツ)_/¯

                              reiver@mastodon.socialundefined 1 Risposta Ultima Risposta
                              0
                              • sl007@digitalcourage.socialundefined sl007@digitalcourage.social

                                @reiver @silverpill @helge @badrihippo @julian@activitypub.space @julian@community.nodebb.org @by_caballero

                                Europe/Berlin

                                PS
                                according to the temporal polyfill and "Intl to ActivityPub" I wrote yesterday:
                                This Olson id is the same timezone like e.g. id: "DE-BE" or "DE" and can now be parsed from all localized names of the .Intl world – which is serverside polyfilled as well https://digitalcourage.social/@sl007/115275358490217223
                                ¯\_(ツ)_/¯
                                At the moment it is summer in the EU which never implemented citizens demands or democracy results and so shifts are still in effect.
                                At the moment it is UTC+1
                                ¯\_(ツ)_/¯

                                reiver@mastodon.socialundefined Questo utente è esterno a questo forum
                                reiver@mastodon.socialundefined Questo utente è esterno a questo forum
                                reiver@mastodon.social
                                scritto su ultima modifica di
                                #15

                                @sl007

                                I am away from home (on the west-coast Canada) right now — and I am currently in Korea.

                                So, I am in UTC+9 right now.

                                I think my very early morning (in Korea) is your late evening (in Germany).

                                Would you be able to do a video chat in your late evening?

                                cc: @silverpill @helge @badrihippo @julian@activitypub.space @julian@community.nodebb.org @by_caballero

                                sl007@digitalcourage.socialundefined 1 Risposta Ultima Risposta
                                0
                                • reiver@mastodon.socialundefined reiver@mastodon.social

                                  @sl007

                                  I am away from home (on the west-coast Canada) right now — and I am currently in Korea.

                                  So, I am in UTC+9 right now.

                                  I think my very early morning (in Korea) is your late evening (in Germany).

                                  Would you be able to do a video chat in your late evening?

                                  cc: @silverpill @helge @badrihippo @julian@activitypub.space @julian@community.nodebb.org @by_caballero

                                  sl007@digitalcourage.socialundefined Questo utente è esterno a questo forum
                                  sl007@digitalcourage.socialundefined Questo utente è esterno a questo forum
                                  sl007@digitalcourage.social
                                  scritto su ultima modifica di
                                  #16

                                  @reiver @silverpill @helge @badrihippo @julian@activitypub.space @julian@community.nodebb.org @by_caballero

                                  would be able.

                                  just btw: If it is "South Korea", I recommend having coffee with https://toot.jeena.net/@jeena ;)

                                  reiver@mastodon.socialundefined 1 Risposta Ultima Risposta
                                  0
                                  • sl007@digitalcourage.socialundefined sl007@digitalcourage.social

                                    @reiver @silverpill @helge @badrihippo @julian@activitypub.space @julian@community.nodebb.org @by_caballero

                                    would be able.

                                    just btw: If it is "South Korea", I recommend having coffee with https://toot.jeena.net/@jeena ;)

                                    reiver@mastodon.socialundefined Questo utente è esterno a questo forum
                                    reiver@mastodon.socialundefined Questo utente è esterno a questo forum
                                    reiver@mastodon.social
                                    scritto su ultima modifica di
                                    #17

                                    @sl007

                                    I am in Korea right now. But where I am staying is far away from Seoul and Pangyo.

                                    cc: @silverpill @helge @badrihippo @julian@activitypub.space @julian@community.nodebb.org @by_caballero @hongminhee

                                    reiver@mastodon.socialundefined 1 Risposta Ultima Risposta
                                    0
                                    • reiver@mastodon.socialundefined reiver@mastodon.social

                                      @sl007

                                      I am in Korea right now. But where I am staying is far away from Seoul and Pangyo.

                                      cc: @silverpill @helge @badrihippo @julian@activitypub.space @julian@community.nodebb.org @by_caballero @hongminhee

                                      reiver@mastodon.socialundefined Questo utente è esterno a questo forum
                                      reiver@mastodon.socialundefined Questo utente è esterno a questo forum
                                      reiver@mastodon.social
                                      scritto su ultima modifica di
                                      #18

                                      @sl007

                                      How about doing the video chat on your Saturday evening?

                                      (Which would be my Sunday morning.)

                                      cc: @silverpill @helge @badrihippo @julian@activitypub.space @julian@community.nodebb.org @by_caballero @hongminhee

                                      sl007@digitalcourage.socialundefined 1 Risposta Ultima Risposta
                                      0
                                      • reiver@mastodon.socialundefined reiver@mastodon.social

                                        @sl007

                                        How about doing the video chat on your Saturday evening?

                                        (Which would be my Sunday morning.)

                                        cc: @silverpill @helge @badrihippo @julian@activitypub.space @julian@community.nodebb.org @by_caballero @hongminhee

                                        sl007@digitalcourage.socialundefined Questo utente è esterno a questo forum
                                        sl007@digitalcourage.socialundefined Questo utente è esterno a questo forum
                                        sl007@digitalcourage.social
                                        scritto su ultima modifica di
                                        #19

                                        @reiver @silverpill @helge @badrihippo @julian@activitypub.space @julian@community.nodebb.org @by_caballero @hongminhee

                                        I would be fine. Is anyone else interested?

                                        julian@activitypub.spaceundefined 1 Risposta Ultima Risposta
                                        0
                                        • sl007@digitalcourage.socialundefined sl007@digitalcourage.social

                                          @reiver @silverpill @helge @badrihippo @julian@activitypub.space @julian@community.nodebb.org @by_caballero @hongminhee

                                          I would be fine. Is anyone else interested?

                                          julian@activitypub.spaceundefined Questo utente è esterno a questo forum
                                          julian@activitypub.spaceundefined Questo utente è esterno a questo forum
                                          julian@activitypub.space
                                          scritto su ultima modifica di
                                          #20

                                          sl007@digitalcourage.social unfortunately not free but interested in any minutes and outcomes of this meeting!

                                          cc reiver@mastodon.social helge@mymath.rocks

                                          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
                                          “All a ‘true ActivityPub server’ is for is storing data, fanning out subscriptions and collecting incoming data for you to view.
                                          @pierobosio@soc.bosio.info
                                          V4.10.1 Contributors
                                          • Accedi

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