Skip to content
  • Hjem
  • Seneste
  • Etiketter
  • PopulƦre
  • Verden
  • Bruger
  • Grupper
Temaer
  • 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
Kollaps
FARVEL BIG TECH
  1. Forside
  2. Ikke-kategoriseret
  3. @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 šŸ˜…

@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 šŸ˜…

Planlagt Fastgjort LƄst Flyttet Ikke-kategoriseret
fedicon
98 IndlƦg 13 Posters 0 Visninger
  • Ɔldste til nyeste
  • Nyeste til Ʀldste
  • Most Votes
Svar
  • Svar som emne
Login for at svare
Denne trƄd er blevet slettet. Kun brugere med emne behandlings privilegier kan se den.
  • evan@cosocial.caE evan@cosocial.ca

    @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 This user is from outside of this forum
    evan@cosocial.caE This user is from outside of this forum
    evan@cosocial.ca
    wrote sidst redigeret af
    #85

    @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"

    https://codeberg.org/evanp/fep/issues/8

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

      @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"

      https://codeberg.org/evanp/fep/issues/8

      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 sidst redigeret af
      #86

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

      https://evanp.me/activitypub-book/

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

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

        https://evanp.me/activitypub-book/

        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 sidst redigeret af
        #87

        @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 Reply Last reply
        0
        • evan@cosocial.caE evan@cosocial.ca

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

          julian@community.nodebb.orgJ This user is from outside of this forum
          julian@community.nodebb.orgJ This user is from outside of this forum
          julian@community.nodebb.org
          wrote sidst redigeret af
          #88

          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 Reply Last reply
          0
          • evan@cosocial.caE evan@cosocial.ca

            @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.

            benpate@mastodon.socialB This user is from outside of this forum
            benpate@mastodon.socialB This user is from outside of this forum
            benpate@mastodon.social
            wrote sidst redigeret af
            #89

            @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 Reply Last reply
            0
            • benpate@mastodon.socialB benpate@mastodon.social

              @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 This user is from outside of this forum
              julian@community.nodebb.orgJ This user is from outside of this forum
              julian@community.nodebb.org
              wrote sidst redigeret af
              #90

              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 šŸ˜›

              The remaining 10-15% complain loudly when the ā€œJSON-LDā€ we send back doesn’t actually validate.

              1 Reply Last reply
              0
              • benpate@mastodon.socialB This user is from outside of this forum
                benpate@mastodon.socialB This user is from outside of this forum
                benpate@mastodon.social
                wrote sidst redigeret af
                #91

                @julian

                I honestly thought it was just me šŸ˜‡

                evan@cosocial.caE 1 Reply Last reply
                0
                • benpate@mastodon.socialB benpate@mastodon.social

                  @julian

                  I honestly thought it was just me šŸ˜‡

                  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 sidst redigeret af
                  #92

                  @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 Replies Last reply
                  0
                  • evan@cosocial.caE evan@cosocial.ca

                    @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 This user is from outside of this forum
                    evan@cosocial.caE This user is from outside of this forum
                    evan@cosocial.ca
                    wrote sidst redigeret af
                    #93

                    @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 Reply Last reply
                    0
                    • benpate@mastodon.socialB benpate@mastodon.social

                      I'm genuinely behind on this. I've skimmed Evan's FEP, but a lot of OAuth complexity is still opaque to me.

                      It seems like the missing piece with using the C2S API would be *figuring out* what endpoints I can call to initiate an activity.

                      Does FEP-d8c2 implement discovery in some way that I'm not seeing? Or, is this something *still to be defined* and I'm just jumping the gun, here?

                      @evan @thisismissem @julian @naturzukunft

                      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 sidst redigeret af
                      #94

                      @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 Reply Last reply
                      0
                      • evan@cosocial.caE evan@cosocial.ca

                        @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 This user is from outside of this forum
                        julian@community.nodebb.orgJ This user is from outside of this forum
                        julian@community.nodebb.org
                        wrote sidst redigeret af
                        #95

                        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 Reply Last reply
                        0
                        • 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 sidst redigeret af
                          #96

                          @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 Reply Last reply
                          0
                          • evan@cosocial.caE evan@cosocial.ca

                            @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.

                            benpate@mastodon.socialB This user is from outside of this forum
                            benpate@mastodon.socialB This user is from outside of this forum
                            benpate@mastodon.social
                            wrote sidst redigeret af
                            #97

                            @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 Reply Last reply
                            0
                            • benpate@mastodon.socialB benpate@mastodon.social

                              @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 This user is from outside of this forum
                              julian@community.nodebb.orgJ This user is from outside of this forum
                              julian@community.nodebb.org
                              wrote sidst redigeret af
                              #98

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

                              1 Reply Last reply
                              0
                              Svar
                              • Svar som emne
                              Login for at svare
                              • Ɔldste til nyeste
                              • Nyeste til Ʀldste
                              • Most Votes


                              • Log ind

                              • Har du ikke en konto? Tilmeld

                              • Login or register to search.
                              Powered by NodeBB Contributors
                              Graciously hosted by data.coop
                              • First post
                                Last post
                              0
                              • Hjem
                              • Seneste
                              • Etiketter
                              • PopulƦre
                              • Verden
                              • Bruger
                              • Grupper