๋ถˆ๋Ÿฌ์˜ค๋Š” ์ค‘โ€ฆ

Social coding commons@smallcircles@social.coop
@evan@cosocial.ca ๋‹˜์—๊ฒŒ ๋‹ต๊ธ€

@evan @steve

> I think it's fair to call the outbox the actor's 'feed'?

The actor's event bus in a pure event based approach. ๐Ÿ˜ƒ

Does that break AP? Current fediverse?
Can AP be considered an event-driven architecture of sorts (or restrained as such in a solution design)?

I really like the Motivating use cases section of the AS specs, and the primer that sits on the W3C wiki to that. Those might be further formalized so they are applied consistently.

Evan Prodromou ๐Ÿ‡จ๐Ÿ‡ฆ๐Ÿ‡บ๐Ÿ‡ธ๐Ÿ‡ฌ๐Ÿ‡ท๐Ÿ‡ต๐Ÿ‡ธ@evan@cosocial.ca
@smallcircles@social.coop ๋‹˜์—๊ฒŒ ๋‹ต๊ธ€

@smallcircles @steve I know what an "event bus" is but I don't think it applies here. Usually it means a global data structure that attached processes can add events to and read events from. We don't have that in ActivityPub.

I think it's fair to say that activities are like events.

I also like the use cases and primer.

1 1
Social coding commons@smallcircles@social.coop
@evan@cosocial.ca ๋‹˜์—๊ฒŒ ๋‹ต๊ธ€

@evan @steve

No, it is more than just metaphors. It is that both domain/scope and architecture patterns aren't clearly defined, while the terminology is borrowed from a whole range of them. This makes one person think that AP is for whole different purposes than the next person.

Is AP for modeling existing social media or for social networking, encompassing many more domains? For content publishing or also for distributed services? Linked data hypermedia or message oriented architecture. Problem is, it is all of that, depending on who you ask.

Social coding commons@smallcircles@social.coop
@smallcircles@social.coop ๋‹˜์—๊ฒŒ ๋‹ต๊ธ€

@evan @steve

Perhaps - you are best to know - you also started in AP with a different notion of the network than @cwebber for instance, coming from AS perspective which looks to me very much modeled to facilitate common social media functionality. While, when I look at Spritely Fantasary, I read - what I perceived to be at the time - The Original Promiseโ„ข that lured me to fediverse in 2017, after reading the specs. Ubiquitous, versatile, and heterogenous social networking: addressable actors exchanging messages with an object payload. And solution development on top of that. I think this may be where you are today with Social API a renewed opportunity to get there.

Evan Prodromou ๐Ÿ‡จ๐Ÿ‡ฆ๐Ÿ‡บ๐Ÿ‡ธ๐Ÿ‡ฌ๐Ÿ‡ท๐Ÿ‡ต๐Ÿ‡ธ@evan@cosocial.ca
@smallcircles@social.coop ๋‹˜์—๊ฒŒ ๋‹ต๊ธ€

@smallcircles @steve maybe? I guess you could consider the `sharedInbox` to be like that.

I think that activities sent to the API by a client are kind of like commands, but they can also be events that happened on a different system.

If I got an achievement in a game, and that was sent as an activity to the API, it's more like an event notification than a command.

Social coding commons@smallcircles@social.coop
@smallcircles@social.coop ๋‹˜์—๊ฒŒ ๋‹ต๊ธ€

@evan @steve

Another issue: Unclear protocol layers.

> I am not a fan of the idea that #ActivityPub is a message-passing system; it's a read-write API.

I'm not sure what a "read-write API" is, really. It 's a fuzzy term, whereas message based systems have well-defined architecture patterns and a body of IT knowledge and practice to apply them in robust communication systems. A 'Message API' has a generic, consistent interface.

The overarching goal of AS/AP should be empowerment of the Solution developer so they can directly focus on building use cases for their application or business domain. They should not have to think about any of the intrinsics of the protocol, like particular GETs and POSTs used to model protocol capabilities in the HTTP transport layer.

Solution design then involves:

0. Model the domain
1. Data modeling, msg formats + validation
2. Define actor msg exchange patterns
3. Document design
--
4. Improve these steps. Add native protocol + tool support over time.

1 1
Social coding commons@smallcircles@social.coop
@cwebber@social.coop ๋‹˜์—๊ฒŒ ๋‹ต๊ธ€

@evan

> it's ok if you haven't heard of a REST API.

Well, you be you. I consider this a 'typical Evan remark' by now, dripping with sarcasm. It is a weird fit for someone who want to lead the #SocialCG efforts, I'd say.

Ah well. What I am talking about is architecture and design, and all the things that allow people to easily form a clear mental picture on how things fit together, wrap their head around the fediverse.

A HTTP interface is a very low-level thing, and clearly but one of the many moving parts that play a role in #ActivityPub based solution development.

Never defining this well, and having the documentation be scattered all across the fediverse in 1,001 random locations doesn't help. Meanwhile the dev talk that is going on for years remains very inefficient due to endless Babylonian speech confusion.

social.coop/@smallcircles/1161

@cwebber @steve

Social coding commons@smallcircles@social.coop

#ThoughtProvoker :blobhyperthink:

The current fediverse is an evolutionary dead-end for 2 reasons:

1. It has painted itself in a small niche of decentralizing typical social media use cases, by means of post-facto interop and the introduction of protocol decay.

2. Lacking a proper grassroots standardization process, and with the primary mechanism for fediverse extension being only post-facto interoperability, there is no way out.

Congratulations to the early adopters, who managed to "cross the chasm" with their own app platforms. It took true grit to become deep #ActivityPub experts, and plug holes needed for your app, but you have made it. Post-facto interop works in your favor now. You are unrestrained to productively add more features in your app, and put them on the fedi wire for others to deal with.

To avoid fedi to become less and less attractive to newcomers, we must now consider:

โ€œWhy do we want to grow the open social web, and for whom?โ€ -- @ben

coding.social/blog/shared-owne

Evan Prodromou ๐Ÿ‡จ๐Ÿ‡ฆ๐Ÿ‡บ๐Ÿ‡ธ๐Ÿ‡ฌ๐Ÿ‡ท๐Ÿ‡ต๐Ÿ‡ธ@evan@cosocial.ca
@smallcircles@social.coop ๋‹˜์—๊ฒŒ ๋‹ต๊ธ€

@smallcircles @cwebber @steve hey, Arnold.

I don't think argument from ignorance is a good way to have a discussion.

I chose to take you at your word that you didn't know what a "read-write API" is, and that you couldn't figure it out from context clues, so I dropped a link to Wikipedia.

What would you have done, if you were me?

Social coding commons@smallcircles@social.coop
@evan@cosocial.ca ๋‹˜์—๊ฒŒ ๋‹ต๊ธ€

@evan @cwebber @steve

So why don't you use the word REST? I never encountered "read-write API". It is an informal term.

But that is not the point. You can have a REST API, fine. But that says nothing in itself. What does it expose? You might say "Duh.. ActivityPub!" but that is not very informative either. There is the notion of message exchange, and of an addressing mechanism, indicating higher level abstractions that conform to well-known architecture patterns, and would allow us to have more productive communication, delve less in implementation details and confusions of protocol behavior with solution design functionality, for starters.

Evan Prodromou ๐Ÿ‡จ๐Ÿ‡ฆ๐Ÿ‡บ๐Ÿ‡ธ๐Ÿ‡ฌ๐Ÿ‡ท๐Ÿ‡ต๐Ÿ‡ธ@evan@cosocial.ca
@smallcircles@social.coop ๋‹˜์—๊ฒŒ ๋‹ต๊ธ€

@smallcircles @cwebber @steve I'm fine with that.

However, I think ActivityPub builds up persistent state on the server side which can be read and used by other processors.

For example, when I `Like` something, it goes into my `liked` collection, and the activity goes into the `likes` for that object. The `Like` activity goes into my `outbox` and others' `inbox`. People can review that information and use it.

Evan Prodromou ๐Ÿ‡จ๐Ÿ‡ฆ๐Ÿ‡บ๐Ÿ‡ธ๐Ÿ‡ฌ๐Ÿ‡ท๐Ÿ‡ต๐Ÿ‡ธ@evan@cosocial.ca
@smallcircles@social.coop ๋‹˜์—๊ฒŒ ๋‹ต๊ธ€

@smallcircles @cwebber @steve I would personally really appreciate that. I also think it'd be helpful for the ecosystem. I like that you combine a high-level social and technical approach to discussions of ActivityPub and the Social Web with an almost encyclopedic knowledge of the details. It's a rare combination and extremely valuable.

1 1
Social coding commons@smallcircles@social.coop
@evan@cosocial.ca ๋‹˜์—๊ฒŒ ๋‹ต๊ธ€

@evan @cwebber @steve

Thank you, that is nice to hear. I am however not an expert, am but a humble generalist and a person who'd love to be in that Solution developer stakeholder role. Who however does not see the fediverse trend in a direction where I'd adopt the technology for what I have in mind. Drifting away from "the promise" that I read in the #ActivityPub specs in 2017, and which at the time made me decide to lend a helping hand here and there as #SocialHub facilitator and tech advocate.

Social coding commons@smallcircles@social.coop
@evan@cosocial.ca ๋‹˜์—๊ฒŒ ๋‹ต๊ธ€

@evan

So the area where my plans go I call "Residential social networking", geo-fenced but inter-connected social networking circles that cover a city, town, or rural area, and which enable their residents to not only create content on the network, but the dynamic apps and services based on local needs that exist in the area. The intent of a residential social network is to engage people *offline* and in activities that support the local economy. Or rather strengthens the Circles of Sustainability in SX terminology:

coding.social/blog/reimagine-s

And all this should be a relatively low-code affair, directly accessible already for a first-time dev. This requires having a mature open standards based healthy technology foundation and thriving ecosystem.

I am a developer, though with rusty coding skills these days, and I might have started a fedi app design in 2018 or so. But this would not have led to the desired outcome, just throw one more app-centric software in the mix.

Evan Prodromou ๐Ÿ‡จ๐Ÿ‡ฆ๐Ÿ‡บ๐Ÿ‡ธ๐Ÿ‡ฌ๐Ÿ‡ท๐Ÿ‡ต๐Ÿ‡ธ@evan@cosocial.ca
@evan@cosocial.ca ๋‹˜์—๊ฒŒ ๋‹ต๊ธ€

@steve @smallcircles

That said, I think it would be great to have reverse chronological ordered collections of objects created by the actor.

It would be nice to use `streams` like `endpoints`, as an object, and define properties like `notes`, `images`, `places` and so on off of it.

Unfortunately the loose definition and lack of examples for `streams` makes it hard to use. It's probably better just to define them as top-level properties of the actor.

Social coding commons@smallcircles@social.coop
@evan@cosocial.ca ๋‹˜์—๊ฒŒ ๋‹ต๊ธ€

@evan @steve

The way I see it, this has the wrong stakeholder name of "ActivityPub API client developer" i.e. spec implementer, and a Home Feed is something I may want as a "Solution developer" stakeholder. In other words that library or SDK that offers me the Social API should allow me to model that.

The user story was also brought up by Mastodon, a Microblogging solution built on top of AP (ideally).