#social 2015-08-17

2015-08-17 UTC
tantek and jasnell joined the channel
#
KevinMarks
so this is explictly designed to break compatibility with the existing activity streams api that it shares with OpenSocial?
#
KevinMarks
and eschews actual paging in favour of making callers fetch each object in the collection individually?
#
KevinMarks
that's what I get from reading the diffs
the_frey and the_frey_ joined the channel
#
jasnell
right now Collections and pages are conflated, there is no distinction made between the collection and the page
#
jasnell
when looking at things from a linked data perspective, that causes some processing issues because the model is not clear.
#
jasnell
I have no idea what you mean by "eschews actual paging in favour of making callers fetch each object..." ... this change clarifies the paging model, it does not remove it
#
jasnell
Activity Streams 1.0 did not include paging, and a variety of implementations implemented paging inconsistently with one another such that there was very little interop. Paging was not added to the core spec until I put it into the 2.0 draft. This does propose a change that is not backwards compatible with that original approach in order to make the vocabulary model easier to implement for those working from a linked data perspective
#
jasnell
it does not remove paging in any sense, just refactors the model a bit
#
ben_thatmustbeme
is there really a need for totalItems any more?
#
jasnell
ben: yes. consider a use where we're using a Collection object but only serializing a small number of the items. For instance, "replies": {"@type": "Collection", "totalItems": 10, "items":["http://example.org/abc/xyz/1"]}
#
jasnell
well, add a url property to that
#
jasnell
basically, the totalItems in the collection may be more than the actual number serialized
#
ben_thatmustbeme
would it make more sense as it being identified as a partial collection vs full collection then?
#
ben_thatmustbeme
and be similar to a "page" really then
#
ben_thatmustbeme
my concern of giving numbers when you are talking social networking is that those numbers can potentially move pretty fast
#
ben_thatmustbeme
same reason i didn'
#
ben_thatmustbeme
t like have page number etc
jasnell joined the channel
#
jasnell
sorry ben, bouncing between multiple things all day