FEP Convergence (400e, 7888, 171b/Conversation Containers, 76ea)
-
@julian The sticking point is basically whether I should guess what the thread is, or be told what the thread is.
He wants me to perform a bunch of tests and guess; I want it to be declared.
I am not sure what you are going to do when there are multiple collections associated with a post. Because unless the thread is declared, you won't know which is which. -
julian@community.nodebb.orgreplied to scott@authorship.studio last edited by
@scott@authorship.studio said in FEP Convergence (400e, 7888, 171b/Conversation Containers, 76ea):
I am not sure what you are going to do when there are multiple collections associated with a post.
My plan is to take the first item in
context
and treat that as the most narrowly scoped collection containing that object. The assumption is that the contexts are ordered from narrow-to-wide. Whether or not additional contexts would be helpful is irrelevant to me, as I am converting this object into a NodeBB topic only.You can make arguments that this is not correct. I will not disagree. I will simply say that, like it or not, this is the simplest form of compliance most implementors will opt for.
-
@julian If that is how you want to do it, I respect that. But I do find it odd that the FEP actually has a field for thread and nobody plans on using it. But, most platforms either have 1 context or 0 contexts, so it makes sense.
I still haven't decided how I will do things with my fediverse-enabled project management system. At some point, there will probably be multiple contexts. If that is the case, I probably will put the thread as the first context and then also declare what the thread is using FEP 76ea or something similar.
That way, at least with my project, you won't have to guess which one is the thread. And since your platform only has one context, then I won't have to guess either. -
@julian The sad thing about this is that we have an opportunity to set the standard here, and we are not taking that opportunity.
Yes, we have to assume that not all platforms will add the additional fields, and we have to have a fallback way of processing incoming posts.
I am just flabbergasted that"thread": "https://remote.example/thread/117",
is too hard to include with posts distributed by the forum. Even if you don't use it, some of us might find that to be useful information.
But it appears that I am alone in this, so I will just let it be. -
julian@community.nodebb.orgreplied to scott@authorship.studio last edited by
Hi @scott@authorship.studio, thanks for your thoughts. I took the evening to think it over.
I agree that using
thr:thread
would be the most explicit way of signalling that NodeBB topics are threads, and if 76ea were to be adopted by a majority of implementors, then I would reconsider. Currently I am on the fence about whether or not I should implement it.I do want to point out that @trwnh@mastodon.social's FEP 7888 doesn't expressly forbid multiple contexts, and I think upthread they even said that such a use case would not be contrary to the FEP:
based on this conversation i probably need to add examples to fep-7888 of how one might process multiple contexts.
~ trwnhMy opinion today is that when NodeBB uses
context
, it is doing so to signal that "hey, these posts are part of this collection", and exactly nothing more. It is up to the receiving end to decide how to implement it, and I think that this sort of variety is absolutely wonderful.If, for example, someone were to see my context and say "I'd like to map this context's objects out into a word cloud and do sentiment analysis on it", I think that's a perfectly cromulent use of the data. For me to say "this here is a thread, and you better treat it as a thread" is contrary to the spirit of ActivityPub and fedidevs in general.
It would be like the ForumWG saying to Eugen, @renchap@oisaur.com, et al. that "we've decided that YOU, Mastodon, need to support
as:Listen
and render inline players, and playlist support, etc.". That's ridiculous, wouldn't you agree? -
- (they/them btw)
- multiple contexts probably will end up like multiple inReplyTo; idk if most impls will support it. but "which one is the thread" as a question makes no sense bc most likely they are all "threads" in some way
- 76ea thr:thread is a reply tree, not a conversation
- reason i say "context likely == thread" is bc it's **more than just a collection**. it is WHY the object exists. what is a thread if not purposeful grouping? -
trwnh@mastodon.socialreplied to trwnh@mastodon.social last edited by
@julian @scott in other words: for social media / network / "post" purposes, the context is almost always some thread. if it doesn't fit the shape of a thread, then don't treat it as a thread, but in most cases it will. otherwise it wouldn't be a "context", it'd just be some object/collection.
i'm defining "thread" as "when you reify a conversational context, specifically as a collection with an owner and canonical representation, instead of something you have to reconstruct for yourself".
-
trwnh@mastodon.socialreplied to trwnh@mastodon.social last edited by
@julian @scott the problem with saying that a "thread" is different from a "conversational context reified as a collection" is that there is no criteria i am seeing by which a thread is different. the thread is a purposeful grouping (context), it has a canonical representation (collection items), and it is maintained by its owner (attributedTo). what more do you need? an explicit declaration that it is a 171b:ConversationContainer? what does that get you?
-
trwnh@mastodon.socialreplied to trwnh@mastodon.social last edited by
@julian @scott at best, a dedicated type like ConversationContainer can hint that it was produced by some producer following the ConversationContainer spec/fep/whatever, but the problem is that a) anyone can claim that type without following the spec, and b) it's not actually needed for processing the context property, because you already know it is semantically the context -- the origin or purpose of that object. if it's an id, you group by that id, and if it's a collection then you fetch items
-
trwnh@mastodon.socialreplied to trwnh@mastodon.social last edited by
@julian @scott basically if 171b wants to define a ConversationContainer type to signal that a producer is following that fep/spec/whatever then they can do that. i maintain that the use of `target` is still incorrect, invalid, and redundant, but it is what it is. if a similar/different fep defines some other type to signal basically the same thing except in details, then that can also be done. in the end, i would advise that the actual "protocol" doesn't require hardcoded type checking.
-
trwnh@mastodon.socialreplied to trwnh@mastodon.social last edited by
@julian @scott in any case the algorithm for processing the post as a topic owner is:
1) loop over `context` for any ids you own
2) if the post is acceptable to you, add it to the relevant collectionthe algorithm for processing the post as a third-party observer is:
1) look at `context` to see if any of them are collections
2) pick a collection and navigate to it, discarding the post. if it's actually in the collection, you'll see it again. -
trwnh@mastodon.socialreplied to trwnh@mastodon.social last edited by
@julian @scott that's basically what this all boils down to, really -- not a technical change, but a social one.
our softwares should stop trying to reconstruct shadow collections based on what they *think* should be in there, and they should just browse to the actual collections.
in general, more things should work like web browsers instead of blackboxes that gobble up data and mash it together based on their best guess of how they think it's connected.
-
@julian
If, for example, someone were to see my context and say "I'd like to map this context's objects out into a word cloud and do sentiment analysis on it", I think that's a perfectly cromulent use of the data. For me to say "this here is a thread, and you better treat it as a thread" is contrary to the spirit of ActivityPub and fedidevs in general.
Simply declaring a collection to be a thread does not force people to display it as a thread. But it does provide valuable information to people who do want to display it as a thread.
So you are not removing people's choice by simply stating that on your platform, this is considered a thread. -
scott@authorship.studioreplied to trwnh@mastodon.social last edited by@infinite love ⴳ
our softwares should stop trying to reconstruct shadow collections based on what they *think* should be in there, and they should just browse to the actual collections.
That is my point. If you tell me what the thread is, I can download all of the posts within that thread. I don't even have to parse the reply tree at all. -
julian@community.nodebb.orgreplied to scott@authorship.studio last edited by
@scott@authorship.studio @trwnh@mastodon.social I'm at a loss as to why you seem to think this is not possible if the property is called
context
instead ofthread
. -
@julian @infinite love ⴳ As I said before, with platforms like yours, which only have one context, I can assume that one context is the thread.
Declaring which one is the thread is only necessary if you have multiple contexts.
But, I am thinking of other use cases where the context might not be a thread, or there are multiple contexts. In that case, additional clues would be very useful.
The reason why I think we should declare threads as threads is for two reasons:
1. It anticipates future use cases that are different from our own.
2. People tend to copy other people's implementations, and we have an opportunity to set the standard and be the example for others to follow.
So, no, you don't need to declare it a thread in your current implementation. But you may have to make changes later when projects start implementing multiple contexts and they don't conform to your assumptions about contexts.
It is always better to explicitly state something than to force people to guess. -
@julian @trwnh @evan @jenniferplusplus @mikedev @scott @erincandescent @trwnh What if we use
context
for activities andthread
for posts? -
nice-nigger@nicecrew.digitalreplied to scott@authorship.studio last edited byREPARASHINS NIGGA :technijew:
-
erincandescent@akko.erincandescent.netreplied to silverpill@mitra.social last edited by@silverpill @scott @julian @evan @mikedev @jenniferplusplus @trwnh @trwnh the context property is in the objects, not the activities
-
julian@community.nodebb.orgreplied to scott@authorship.studio last edited by
@scott@authorship.studio said in FEP Convergence (400e, 7888, 171b/Conversation Containers, 76ea):
It is always better to explicitly state something than to force people to guess.
Partially agreed, but in this case I'd feel better about encouraging implementors to move toward a generic representation of object collections, with the potential for a more straightforward way of defining thread-like actions.
Let's take @trwnh@mastodon.social's example of thread forking. You can already express this using existing activities:
as:Remove
the forked posts out of theas:context
,as:Add
them to a newas:context
. Maybe sprinkle in anas:Announce
or something (I read that somewhere...)Or perhaps a locked thread:
as:context
owner sendsas:Reject
and does not federate out anas:Add
to followers.We could definitely go down the road of designing a bespoke property with associated actions, but I feel like the ActivityStreams vocaulary is fairly expressive, if vague at times... that movement against vagueness is exactly what FEP 7888 is all about.
We don't know future use cases, and there may be cases in which these decisions look wrong in hindsight, but I'd wager that being too explicit is premature, and an approach that is generic enough to express more is better.