Discussion
Loading...

Post

Log in
  • About
  • Code of conduct
  • Privacy
  • Users
  • Instances
  • About Bonfire
Julian Fietkau
Julian Fietkau
@julian@fietkau.social  ·  activity timestamp 4 weeks ago

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

The "side effects" of an activity are everything caused by the activity other than it being visible in its actor's outbox and getting posted to its audience's inboxes. For example, a like or reply being represented in the affected object's `likes` or `replies` collection is a side effect, as is likes or replies being shown on a web page corresponding to the object.
The "side effects" of an activity are everything caused by the activity other than it being visible in its actor's outbox and getting posted to its audience's inboxes. For example, a like or reply being represented in the affected object's `likes` or `replies` collection is a side effect, as is likes or replies being shown on a web page corresponding to the object.
The "side effects" of an activity are everything caused by the activity other than it being visible in its actor's outbox and getting posted to its audience's inboxes. For example, a like or reply being represented in the affected object's `likes` or `replies` collection is a side effect, as is likes or replies being shown on a web page corresponding to the object.
#fep #fedidev #activitypub
  • Copy link
  • Flag this post
  • Block
infinite love ⴳ
infinite love ⴳ
@trwnh@mastodon.social  ·  activity timestamp 3 weeks ago

@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

  • Copy link
  • Flag this comment
  • Block
julian
julian
@julian@activitypub.space  ·  activity timestamp 4 weeks ago

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

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

  • Copy link
  • Flag this comment
  • Block
marius
marius
@mariusor@metalhead.club  ·  activity timestamp 4 weeks ago

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

  • Copy link
  • Flag this comment
  • Block
Julian Fietkau
Julian Fietkau
@julian@fietkau.social  ·  activity timestamp 4 weeks ago

@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

ActivityPub

The ActivityPub protocol is a decentralized social networking protocol based upon the [ActivityStreams] 2.0 data format. It provides a client to server API for creating, updating and deleting content, as well as a federated server to server API for delivering notifications and content.
  • Copy link
  • Flag this comment
  • Block
infinite love ⴳ
infinite love ⴳ
@trwnh@mastodon.social  ·  activity timestamp 3 weeks ago

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

  • Copy link
  • Flag this comment
  • Block
marius
marius
@mariusor@metalhead.club  ·  activity timestamp 3 weeks ago

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

  • Copy link
  • Flag this comment
  • Block
infinite love ⴳ
infinite love ⴳ
@trwnh@mastodon.social  ·  activity timestamp 3 weeks ago

@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

  • Copy link
  • Flag this comment
  • Block
marius
marius
@mariusor@metalhead.club  ·  activity timestamp 3 weeks ago

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

@trwnh yes please.

  • Copy link
  • Flag this comment
  • Block
marius
marius
@mariusor@metalhead.club  ·  activity timestamp 4 weeks ago

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

  • Copy link
  • Flag this comment
  • Block

bonfire.cafe

A space for Bonfire maintainers and contributors to communicate

bonfire.cafe: About · Code of conduct · Privacy · Users · Instances
Bonfire social · 1.0.2-rc.1 no JS en
Automatic federation enabled
Log in
Instance logo
  • Explore
  • About
  • Members
  • Code of Conduct