#activitystreams

20 posts · Last used 15h

Back to Timeline
@reiver@mastodon.social · 1d ago
There is a comparison that can be made between ActivityPub and Event-Sourcing. 1/ With Event-Sourcing, your source-of-truth is an append-only series of events. Ex: USER_REGISTERED, EMAIL_ADDRESS_VERIFIED, PASSWORD_CHANGED, etc. In ActivityPub, this is similar to the inbox, outbox, etc being an append-only series of Activity. Ex: Create, Like, Undo, etc. ... #ActivityPub #ActivityStreams #EventSourcing #FediDev
4
0
7
In reply to
@reiver@mastodon.social · 1d ago
There is a comparison that can be made between ActivityPub and Event-Sourcing. 2/ With Event-Sourcing, you can "project" the events to get another (often more peformant) view of the data in the events. Without having to incur the cost of having to read all the events to figure out the final state. ... #ActivityPub #ActivityStreams #EventSourcing #FediDev
1
0
5
In reply to
@reiver@mastodon.social · 1d ago
There is a comparison that can be made between ActivityPub and Event-Sourcing. 3/ With ActivityPub, Activities are often applied to an object. That object gets assigned an ID in the form of a URL. (And, by URL I mean URL, URI, IRI, etc.) One doesn't have to read through all the Activities in an inbox, outbox, etc to get the final state of an object. One can just get the JSON-LD document from the object's ID URL to get the final state. #ActivityPub #ActivityStreams #EventSourcing #FediDev
0
0
5
@reiver@mastodon.social · 1d ago
It seems as if the uploadMedia ActivityPub extension does not provide a way to resume an upload that didn't previously compete. https://www.w3.org/wiki/SocialCG/ActivityPub/MediaUpload If, for example, you are working with large files (such as video files) this would matter. Because if you uploaded 1GB, and the upload stopped, you would want to resume at where it stopped, and not have to upload from the beginning again. This would be important for ActivityPub C2S adoption. #ActivityPub #ActivityStreams #FediDev
4
0
7
In reply to
@reiver@mastodon.social · 1d ago
I can think of different ways to support resumable uploads with ActivityPub, but — just to see what others are doing — PeerTube seems to have resumable uploads already. PeerTube seems to use this protocol for it: https://github.com/kukhariev/node-uploadx/blob/master/proto.md I like that it uses Content-Range in the protocol. I would have done the similar. #ActivityPub #ActivityStreams #FediDev
3
0
5
In reply to
@reiver@mastodon.social · 1d ago
Just thinking out loud — If we wanted to support resumable uploads in C2S API, then — we probably need some URL to upload the file chunks to. … When a user POST to their own outbox, the HTTP "201 Created" response will have a "Location" header that provides a URL. Maybe that could be used as the upload URL. Or, maybe the JSON-LD document at that URL might contain a URL under the "object" field that could be used as the upload URL. Other options too #ActivityPub #ActivityStreams #FediDev
3
0
4
@reiver@mastodon.social · 5d ago
What if web-browsers could render the ActivityPub / ActivityStreams JSON-LD source-code into the document it represents? Fediverse clients can do it — why can't browsers? I previously created a small-net / small-web browser client named SpaceMonkey. It supports protocols such as Gemini, HTTP, HTTPS, Mercury, etc. And, formats such as GemText, HTML, Markdown, etc. It now supports the ActivityPub / ActivityStreams JSON-LD format, too. #ActivitiyPub #ActivityStreams #FediDev #SpaceMonkey
9
0
12
In reply to
@reiver@mastodon.social · Feb 01, 2025
We have had 2 speakers hoping for Mastodon to add (ActivityPub) "Article" support. #FOSDEM #FOSDEM2025 #SocialWebFOSDEM #ActivityPub #ActivityStreams #Fediverse #WriteFreely #Friendica
3
0
0
@reiver@mastodon.social · 5d ago
I think it would be better if instead of Fediverse software outputting the following for ActivityPub/ActivityStreams Notes, Articles, etc: "attributedTo": "@reiver@mastodon.social", It would instead output something more like: "attributedTo": { "id":"@reiver@mastodon.social", "type":"Person", "name":"Charles", "preferredUsername": "reiver", "icon": {...}, "image": {...}, } This way the Activity* document contains everything needed to render it. #ActivityPub #ActivityStreams #FediDev
0
1
2
@reiver@mastodon.social · 6d ago
Was the original intent of the ActivityPub / ActivityStreams "name" field to be a title? (It seems as if some software is using it that way.) https://www.w3.org/TR/activitystreams-vocabulary/#dfn-name #ActivityPub #ActivityStreams #FediDev
0
0
5
@reiver@mastodon.social · 6d ago
What should the file-extension for ActivityPub / ActivityStreams documents be. I.e., for application/activity+json data? I've been using .activity Ex: filename.activity (The extension cannot be .json or .jsonld if you want to be able to detect it just based on the file-extension.) What do you think? #ActivityPub #ActivityStreams #FediDev
0
2
5
@reiver@mastodon.social · Apr 26, 2026
RE: https://mastodon.social/@reiver/116471973046146144 If an ActivityPub Actor is something that has an "inbox" or an "outbox" (i.e., it could have just one or both) then — Perhaps we should also be talking about "sources" and "sinks", too. Where — An ActivityPub Source is an Actor with just an "outbox" (and no "inbox"). And, an ActivityPub Sink is an Actor with just an "inbox" (and no "outbox"). #ActivityPub #ActivityStreams #FediDev
Quoting
@reiver ⊼ (Charles) :batman: @reiver@mastodon.social
What makes an ActivityPub Actor and Actor? I think it is probably a bad idea to just restrict it to things with 'type': "Application", "Group", "Organization", "Person", and "Service". Restricting it to just those would mean you couldn't have new actor types (and sub-types) in the future. So then, do we do it in a duck-typing way? And if "yes", how? Maybe if something has an "inbox" OR and "outbox" it is an Actor. I.e., it could have just one of those. #ActivityPub #ActivityStreams #FediDev
Open quoted post
0
0
0
In reply to
@reiver@mastodon.social · Apr 26, 2026
And, if this is the case, then every ActivityPub / ActivityStreams library should be on the look-out for "inbox" and "outbox" fields on everything. Doesn't matter what it is. An "Event", an "Image", a "Link", a "Place", a "Video", even things in other namespaces. #ActivityPub #ActivityStreams #FediDev
0
0
2
@reiver@mastodon.social · Apr 26, 2026
What makes an ActivityPub Actor and Actor? I think it is probably a bad idea to just restrict it to things with 'type': "Application", "Group", "Organization", "Person", and "Service". Restricting it to just those would mean you couldn't have new actor types (and sub-types) in the future. So then, do we do it in a duck-typing way? And if "yes", how? Maybe if something has an "inbox" OR and "outbox" it is an Actor. I.e., it could have just one of those. #ActivityPub #ActivityStreams #FediDev
0
3
0
@reiver@mastodon.social · Apr 26, 2026
Can an ActivityPub 'Place' also be an Actor? https://www.w3.org/TR/activitystreams-vocabulary/#dfn-place With followers, an outbox, etc. That could be useful for both real-life places, and fictional places in stories, and in video games. #ActivityPub #ActivityStreams #FediDev #FediFiction #FediGames
0
1
7
@reiver@mastodon.social · Apr 26, 2026
Should an ActivityPub 'Place' be used to represent a fictional place? https://www.w3.org/TR/activitystreams-vocabulary/#dfn-place Such as a fictional place in a story, or a video game? #ActivityPub #ActivityStreams #FediDev #FediFiction #FediGames
0
0
7
@reiver@mastodon.social · Apr 23, 2026
Would you play a Fediverse game? Would you play a Fediverse game about Meta Humans? #ActivityPub #ActivityStreams #FediDev #FediGames #Fediverse #Games #VideoGames #MetaHumans
0
1
3
@evan@cosocial.ca · Apr 13, 2026
#ActivityBud - the exciting practice of intentionally misinterpreting the #ActivityPub and #ActivityStreams specs in order to derive ridiculous conclusions. By analogy with the movie Air Bud, where the team proved that there ain't no rule that a dog can't play basketball.
2
3
4

You've seen all posts