Spacc BBS Spacc BBS
    • Categorie
    • Recenti
    • Tag
    • Popolare
    • Mondo
    • Utenti
    • Gruppi
    • Registrati
    • Accedi
    La nuova BBS è in fase Alpha. I post precedenti al 22 luglio 2024 potrebbero non essere trasferibili, ma rimarranno disponibili per la lettura su /old/.

    @julian diving into the hard problems of building for the Fediverse at #Fedicon, starting with hilariously talking about how those hard problems look like to average users 😅

    Pianificato Fissato Bloccato Spostato Uncategorized
    fedicon
    99 Post 13 Autori 218 Visualizzazioni
    Caricamento altri post
    • Da Vecchi a Nuovi
    • Da Nuovi a Vecchi
    • Più Voti
    Rispondi
    • Topic risposta
    Effettua l'accesso per rispondere
    Questa discussione è stata eliminata. Solo gli utenti con diritti di gestione possono vederla.
    • evan@cosocial.caE Questo utente è esterno a questo forum
      evan@cosocial.ca
      ultima modifica di

      @julian @FenTiger @benpate there's no way to know that.

      evan@cosocial.caE 1 Risposta Ultima Risposta Rispondi Cita 0
      • evan@cosocial.caE Questo utente è esterno a questo forum
        evan@cosocial.ca @evan@cosocial.ca
        ultima modifica di

        @julian @FenTiger @benpate at that point, it's just about social pressure. "This implementation doesn't work with clients well, don't use it."

        1 Risposta Ultima Risposta Rispondi Cita 0
        • evan@cosocial.caE Questo utente è esterno a questo forum
          evan@cosocial.ca @by_caballero@mastodon.social
          ultima modifica di

          @by_caballero @benpate @thisismissem @julian @naturzukunft that's too hard. We have an API. It already works.

          julian@community.nodebb.orgJ 1 Risposta Ultima Risposta Rispondi Cita 0
          • evan@cosocial.caE Questo utente è esterno a questo forum
            evan@cosocial.ca @benpate@mastodon.social
            ultima modifica di

            @benpate @FenTiger @julian they should just pass them along! If you don't implement a side effect for that activity type, just leave it alone and pass it along to clients.

            evan@cosocial.caE benpate@mastodon.socialB 2 Risposte Ultima Risposta Rispondi Cita 0
            • evan@cosocial.caE Questo utente è esterno a questo forum
              evan@cosocial.ca @evan@cosocial.ca
              ultima modifica di

              @benpate @FenTiger @julian the plan there is to have finer grained scopes for particular activities. And also limiting them by domain: "let this server Like and Reply to objects on its own domain"

              Link Preview Image
              Add more granular scopes specific to ActivityPub

              fep - Fediverse Enhancement Proposals

              favicon

              Codeberg.org (codeberg.org)

              evan@cosocial.caE 1 Risposta Ultima Risposta Rispondi Cita 0
              • evan@cosocial.caE Questo utente è esterno a questo forum
                evan@cosocial.ca @evan@cosocial.ca
                ultima modifica di

                @benpate @FenTiger @julian there's a whole chapter about the API in my book:

                Link Preview Image
                ActivityPub book

                In September 2023, I started work on a book about ActivityPub for O'Reilly Media. As of September 2024, the book is now available! Ebook The book is available from several different ebook vendors in different formats. O'Reilly Learning Platform Amazon Apple Books ebooks.com Kobo Print The book is not yet available in print format. O'Reilly…

                favicon

                Evan Prodromou's Blog (evanp.me)

                evan@cosocial.caE 1 Risposta Ultima Risposta Rispondi Cita 0
                • evan@cosocial.caE Questo utente è esterno a questo forum
                  evan@cosocial.ca @evan@cosocial.ca
                  ultima modifica di

                  @benpate @FenTiger @julian also, and this is very important: if you want apps to have a global reputation, so that social pressure can keep them from being abusive, they need to have a universal id across different API servers.

                  1 Risposta Ultima Risposta Rispondi Cita 0
                  • julian@community.nodebb.orgJ Questo utente è esterno a questo forum
                    julian@community.nodebb.org @evan@cosocial.ca
                    ultima modifica di

                    evan@cosocial.ca I'm not certain whether it's too hard or not. At this point I haven't looked into it yet.

                    But if there is a chance that we can use standardized endpoints for this, then it's a point in their favour.

                    At the same time, I am a proponent of simplicity.

                    1 Risposta Ultima Risposta Rispondi Cita 0
                    • benpate@mastodon.socialB Questo utente è esterno a questo forum
                      benpate@mastodon.social @evan@cosocial.ca
                      ultima modifica di

                      @evan @FenTiger @julian

                      This sounds perfectly reasonable, and is probably the right thing to do.

                      Except I probably implemented ActivityPub wrong - using it as a protocol and not an architecture.

                      Database tables represent the things I understand, and are written out as “JSON-LD” when needed. So there’s no true “outbox”, except as links to the tables I care about 😅

                      Again, this is an “it’s me, not you” situation, but I’ll bet others might be in the same boat.

                      julian@community.nodebb.orgJ 1 Risposta Ultima Risposta Rispondi Cita 0
                      • julian@community.nodebb.orgJ Questo utente è esterno a questo forum
                        julian@community.nodebb.org @benpate@mastodon.social
                        ultima modifica di

                        benpate@mastodon.social said:
                        > Database tables represent the things I understand, and are written out as “JSON-LD” when needed. So there’s no true “outbox”, except as links to the tables I care about 😅

                        I am pretty sure 85-90% of the fediverse developers do this :P

                        The remaining 10-15% complain loudly when the "JSON-LD" we send back doesn't actually validate.

                        1 Risposta Ultima Risposta Rispondi Cita 0
                        • benpate@mastodon.socialB Questo utente è esterno a questo forum
                          benpate@mastodon.social
                          ultima modifica di

                          @julian

                          I honestly thought it was just me 😇

                          evan@cosocial.caE 1 Risposta Ultima Risposta Rispondi Cita 0
                          • evan@cosocial.caE Questo utente è esterno a questo forum
                            evan@cosocial.ca @benpate@mastodon.social
                            ultima modifica di

                            @benpate @julian sure. But neither of you support the ActivityPub API yet, right? And you both have pretty good ideas of how to do this correctly and probably even easily in your software.

                            evan@cosocial.caE benpate@mastodon.socialB 2 Risposte Ultima Risposta Rispondi Cita 0
                            • evan@cosocial.caE Questo utente è esterno a questo forum
                              evan@cosocial.ca @evan@cosocial.ca
                              ultima modifica di

                              @benpate @julian I'm not saying it's absolutely necessary to support arbitrary activity types. But it makes sense if you want to support interesting innovation at the edge. Otherwise, sure, just support the dozen or so activity types defined in the AP spec, plus a few more from FEPs you know.

                              1 Risposta Ultima Risposta Rispondi Cita 0
                              • evan@cosocial.caE Questo utente è esterno a questo forum
                                evan@cosocial.ca @benpate@mastodon.social
                                ultima modifica di

                                @benpate @thisismissem @julian @naturzukunft I forgot to ask: have you ever implemented an OAuth client before? Or used a library for it?

                                julian@community.nodebb.orgJ 1 Risposta Ultima Risposta Rispondi Cita 0
                                • julian@community.nodebb.orgJ Questo utente è esterno a questo forum
                                  julian@community.nodebb.org @evan@cosocial.ca
                                  ultima modifica di

                                  evan@cosocial.ca yeah, I implemented maybe 20-30 of them for NodeBB. Everything eventually standardized around OIDC and so I have one single plugin in NodeBB that works almost all of the time.

                                  So that's my client, but I'm afraid of building a server. That one I haven't done successfully.

                                  cc benpate@mastodon.social thisismissem@hachyderm.io

                                  1 Risposta Ultima Risposta Rispondi Cita 0
                                  • thisismissem@hachyderm.ioT Questo utente è esterno a questo forum
                                    thisismissem@hachyderm.io
                                    ultima modifica di

                                    @julian @evan @benpate I've built 2-3 servers, but the good news is that you generally don't need to implement from scratch (unless you really want to, and then you take your time, reading the specs, checking other implementations, double checking the specifications)

                                    1 Risposta Ultima Risposta Rispondi Cita 0
                                    • benpate@mastodon.socialB Questo utente è esterno a questo forum
                                      benpate@mastodon.social @evan@cosocial.ca
                                      ultima modifica di

                                      @evan @julian

                                      I’m confused, sorry. In this context, I’m assuming you mean the ActivityPub C2S API (which I have not implemented)

                                      But I thought we were talking about a future update to the C2S API, which I think would be amazing, but I also haven’t implemented because.. it’s in the future?

                                      I have done tons of OAuth clients and servers, and even have a Mastodon API about 80% complete.

                                      julian@community.nodebb.orgJ 1 Risposta Ultima Risposta Rispondi Cita 0
                                      • julian@community.nodebb.orgJ Questo utente è esterno a questo forum
                                        julian@community.nodebb.org @benpate@mastodon.social
                                        ultima modifica di

                                        benpate@mastodon.social I think the second half of evan@cosocial.ca's FEP utilizes the ActivityPub API (C2S) as written.

                                        1 Risposta Ultima Risposta Rispondi Cita 0
                                        • Primo post
                                          Ultimo post