Evan Prodromou

Results 316 comments of Evan Prodromou

`totalItems` is supposed to be the total number of items for the logical view you're using. In this case, the total number of items that the user can see. https://www.w3.org/TR/activitystreams-vocabulary/#dfn-totalitems...

I'd also point out that this is a security issue. The existence of activities that cannot be read by the current principal is potentially sensitive information.

One last question: I'm having a hard time coming up with a case where the count of items in the logical view is larger than the "real" count. My only...

So, I think the solution here is that Mastodon shouldn't show `totalItems` if it can't actually calculate the totalItems visible to the principal.

I think this is a probably another good example of why that feature is a false economy.

@strugee I don't know. I think that mechanism is a bad idea. I think the best you can do is do the brittle method, with possibly doing some type inferencing...

It means going into the context and figuring out what's a subclass of what.

Example 148 has a much better `result` example.

Are you looking for natural language values? https://www.w3.org/TR/activitystreams-core/#naturalLanguageValues You can use, for example, a `contentMap` to show translations of the same message in different languages.

I think FB will let users improve a machine translation, but I'm not sure if they surface that translation to other users. Maybe look at rdf or dc properties?