Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Brite
  • 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 (Cyborg)
  • No Skin
Collapse
Brand Logo

CIRCLE WITH A DOT

  1. Home
  2. Uncategorized
  3. FEP drafting: Am I using “side effects” here the same way as other ActivityPub developers?

FEP drafting: Am I using “side effects” here the same way as other ActivityPub developers?

Scheduled Pinned Locked Moved Uncategorized
activitypubfedidevfep
10 Posts 5 Posters 41 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.
  • julian@fietkau.socialJ This user is from outside of this forum
    julian@fietkau.socialJ This user is from outside of this forum
    julian@fietkau.social
    wrote last edited by
    #1

    FEP drafting: Am I using “side effects” here the same way as other ActivityPub developers? I've seen the term used a bunch in casual conversation, but my personal understanding of it is kinda fuzzy.

    #ActivityPub #FediDev #FEP

    Link Preview Image
    mariusor@metalhead.clubM julian@activitypub.spaceJ trwnh@mastodon.socialT ilja@ilja.spaceI 4 Replies Last reply
    0
    • julian@fietkau.socialJ julian@fietkau.social

      FEP drafting: Am I using “side effects” here the same way as other ActivityPub developers? I've seen the term used a bunch in casual conversation, but my personal understanding of it is kinda fuzzy.

      #ActivityPub #FediDev #FEP

      Link Preview Image
      mariusor@metalhead.clubM This user is from outside of this forum
      mariusor@metalhead.clubM This user is from outside of this forum
      mariusor@metalhead.club
      wrote last edited by
      #2

      @julian I use side-effect a lot when talking about ActivityPub activities and I mean it close in context to its functional programming meaning, where an action can have side-effects which are not immediately observable from its input or output.

      Ie, when a Create activity determines a server to persist an object to disk that's a side-effect of the Create. When an Undo activity removes its object activity from disk, that's another side-effect. They are not immediately observable from the results of the Activity upon its server or its client.

      Does that make sense?

      julian@fietkau.socialJ 1 Reply Last reply
      0
      • mariusor@metalhead.clubM mariusor@metalhead.club

        @julian I use side-effect a lot when talking about ActivityPub activities and I mean it close in context to its functional programming meaning, where an action can have side-effects which are not immediately observable from its input or output.

        Ie, when a Create activity determines a server to persist an object to disk that's a side-effect of the Create. When an Undo activity removes its object activity from disk, that's another side-effect. They are not immediately observable from the results of the Activity upon its server or its client.

        Does that make sense?

        julian@fietkau.socialJ This user is from outside of this forum
        julian@fietkau.socialJ This user is from outside of this forum
        julian@fietkau.social
        wrote last edited by
        #3

        @mariusor I think I get it, yeah. Would that still fit with my draft definition? It feels weird to call it a side effect when a `Like` towards an object gets added to its `likes` collection, since that's arguably part of the intended effect. But that's what I'm picking up from the standard as well: https://www.w3.org/TR/activitypub/#likes

        mariusor@metalhead.clubM trwnh@mastodon.socialT 2 Replies Last reply
        0
        • julian@fietkau.socialJ julian@fietkau.social

          @mariusor I think I get it, yeah. Would that still fit with my draft definition? It feels weird to call it a side effect when a `Like` towards an object gets added to its `likes` collection, since that's arguably part of the intended effect. But that's what I'm picking up from the standard as well: https://www.w3.org/TR/activitypub/#likes

          mariusor@metalhead.clubM This user is from outside of this forum
          mariusor@metalhead.clubM This user is from outside of this forum
          mariusor@metalhead.club
          wrote last edited by
          #4

          @julian I think so, to me that sounds entirely correct, or at least I would understand what you mean. 🙂

          1 Reply Last reply
          0
          • julian@fietkau.socialJ julian@fietkau.social

            FEP drafting: Am I using “side effects” here the same way as other ActivityPub developers? I've seen the term used a bunch in casual conversation, but my personal understanding of it is kinda fuzzy.

            #ActivityPub #FediDev #FEP

            Link Preview Image
            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 last edited by
            #5

            @julian@fietkau.social yes you are correct as far as my limited understanding goes.

            My personal definition of side effect limited to "unintended consequences", which differs greatly from the ActivityStreams definition, so for my own sanity I avoid the term in my own documents 🙂

            1 Reply Last reply
            0
            • julian@fietkau.socialJ julian@fietkau.social

              FEP drafting: Am I using “side effects” here the same way as other ActivityPub developers? I've seen the term used a bunch in casual conversation, but my personal understanding of it is kinda fuzzy.

              #ActivityPub #FediDev #FEP

              Link Preview Image
              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 last edited by
              #6

              @julian close enough, i guess? it's the stuff that happens after you POST (think ifttt, service processing, that kind of stuff)

              they can be automatic or manual, often automatic in the way most people use the term but i personally allow manual processing of "side effects" too

              1 Reply Last reply
              1
              0
              • R relay@relay.an.exchange shared this topic
              • julian@fietkau.socialJ julian@fietkau.social

                @mariusor I think I get it, yeah. Would that still fit with my draft definition? It feels weird to call it a side effect when a `Like` towards an object gets added to its `likes` collection, since that's arguably part of the intended effect. But that's what I'm picking up from the standard as well: https://www.w3.org/TR/activitypub/#likes

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

                @julian @mariusor intended effect = you receive a notification in your inbox that i like your thing

                side effect = you can add it to the likes collection on that thing (or you might not -- that's your concern more than it is mine)

                mariusor@metalhead.clubM 1 Reply Last reply
                0
                • trwnh@mastodon.socialT trwnh@mastodon.social

                  @julian @mariusor intended effect = you receive a notification in your inbox that i like your thing

                  side effect = you can add it to the likes collection on that thing (or you might not -- that's your concern more than it is mine)

                  mariusor@metalhead.clubM This user is from outside of this forum
                  mariusor@metalhead.clubM This user is from outside of this forum
                  mariusor@metalhead.club
                  wrote last edited by
                  #8

                  @trwnh I wish you'd stop necro-posting on things *I* am involved with.

                  You post opinions like they are facts and I dislike that a lot.

                  trwnh@mastodon.socialT 1 Reply Last reply
                  0
                  • julian@fietkau.socialJ julian@fietkau.social

                    FEP drafting: Am I using “side effects” here the same way as other ActivityPub developers? I've seen the term used a bunch in casual conversation, but my personal understanding of it is kinda fuzzy.

                    #ActivityPub #FediDev #FEP

                    Link Preview Image
                    ilja@ilja.spaceI This user is from outside of this forum
                    ilja@ilja.spaceI This user is from outside of this forum
                    ilja@ilja.space
                    wrote last edited by
                    #9
                    @julian i wouldn't call "show it on the web page" a side effect bc AP isn't about how to show something on a web page. adding a Like to a likes collection, or a reply to a replies collection, would indeed be a side effect to me (but note that i talk about "adding to", not "representing in").
                    1 Reply Last reply
                    0
                    • mariusor@metalhead.clubM mariusor@metalhead.club

                      @trwnh I wish you'd stop necro-posting on things *I* am involved with.

                      You post opinions like they are facts and I dislike that a lot.

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

                      @mariusor i don't check the forum every day, so sorry for "necro-posting" within less than a week, i guess?

                      is the request for me to just drop any mention of you when i am replying to things others said?

                      personally, you can treat everything i say as an opinion, but the difference between "opinion" and "fact" is a lot finer than most people assume. you can agree or disagree with what was said. if you agree, that might make it a fact to you. otherwise it's a matter of assertion vs objectivity

                      1 Reply Last reply
                      1
                      0
                      Reply
                      • Reply as topic
                      Log in to reply
                      • Oldest to Newest
                      • Newest to Oldest
                      • Most Votes


                      • Login

                      • Login or register to search.
                      • First post
                        Last post
                      0
                      • Categories
                      • Recent
                      • Tags
                      • Popular
                      • World
                      • Users
                      • Groups