#social 2016-02-10

2016-02-10 UTC
jasnell, kevinmarks2, bblfish, dmitriz, prtksxna, Guest16, jasnell_, jet, jaywink, bigbluehat_, kevinmarks3, shevski and bblfish_ joined the channel
#
jtilles
If I have a few questions about Activity Streams 2, is this an appropriate place to ask them?
#
jtilles
Or should I be I stick to public-socialweb-comments@w3.org and/or http://groups.google.com/group/activity-streams ?
#
aaronpk
I don't think the google group has had any activity in a while
#
jtilles
er, I meant to write “… should I be sticking to …”
#
jtilles
aaronpk I noticed =)
#
aaronpk
you're welcome to ask in here and someone will answer if they can
#
jtilles
ok, thanks!
#
jtilles
First: is there any semantic difference between an AS2 object having a `url` attribute of "http://example.org" and an attribute of `{"type": "Link", "href": "http://example.org", "rel": "self"}`?
shevski, kevinmarks2, kevinmarks3 and Karli joined the channel
#
ben_thatmustbeme
I suppose it would be the same
#
ben_thatmustbeme
actually, i suppose it would depend on if thats the only object in the AS2 you fetched or not, doesn't rel only ever refer to a relation to the page as a whole?
kevinmarks3 joined the channel
#
jasnell_
what's up
kevinmarks4 joined the channel
#
ben_thatmustbeme
see jtilles question
kevinmarks2 joined the channel
#
jasnell_
actually just saw the question... so semantically yes there's a difference. {"url": "http://example.org"} is a description of the object itself. It's saying, "this is an object with this url". {"type": "Link", "href": "http://example.org"} is saying, "this is a reference to something at http://example.org". The former is describing the object, the latter is describing a link to the object
#
ben_thatmustbeme
"is there any semantic difference between an AS2 object having a `url` attribute of "http://example.org" and an attribute of `{"type": "Link", "href": "http://example.org", "rel": "self"}`?"
#
jasnell_
it's similar in nature to the difference between <html><head><title>Foo</title></head><body></body></html> and <a href="http://link.to.foo">Foo</a>
#
ben_thatmustbeme
i had a question come up, I'm guessing in AS2 rel: is scoped only to the object its in not the entire document like html
jaywink joined the channel
#
jtilles
jasnell_ first, thanks for helping out! I noticed that you didn't include `"rel": "self"` in your explanation. Was that a minor typo, or did you miss its presence in my question?
#
jtilles
I mean, it makes sense to me that `{"url": "http://example.org"}` and `{"url": {"type": "Link", "href": "http://example.org"}}` aren't necessarily the same
#
jtilles
but I thought that `{"url": "http://example.org"}` and `{"url": {"type": "Link", "href": "http://example.org", "rel": "self"}}` *could* be equivalent.
kevinmarks3, kevinmarks4 and kevinmarks2 joined the channel
#
jtilles
in case it’s helpful to know why this question of equivalence came up: at my job we'd like to store AS2 activities in Elasticsearch, but (as far as I can tell) Elasticsearch can't cope with deal with union types.
bblfish and Guest16 joined the channel