2015-05-24 UTC
bblfish, Arnaud, tilgovi, edhelas, jaywink, KevinMarks, the_frey, jasnell, cwebber2, jasnell_ and LCyrin joined the channel
# 19:22 cwebber2 rhiaro: tsyesika: I'm converting my blog to support activitystreams
# 19:22 cwebber2 writing a tool that takes an atom feed and generates an activitystream from it
# 19:23 cwebber2 the activitystreams vocab doc says it can be any Object, but I don't really see an apporopriate tag type
the_frey joined the channel
# 20:23 rhiaro My tags are just strings currently, though I've been meaning to switch to uris
# 20:24 rhiaro Other than sioc:Category, I don't know for AS off the top of my head
# 20:26 rhiaro What extra value (practical use) do you think an explicit type would bring?
jasnell joined the channel
# 20:45 cwebber2 > One or more "tags" that have been associated with an objects. A tag can be any kind of Object. The key difference between attachment and tag is that the former implies association by inclusion, while the latter implies associated by reference.
# 20:46 cwebber2 so I assume that means I should make them a proper object
# 20:49 rhiaro would like to know what's expected but will continue to do what's useful without adding extra complication unless necessary for something cool
# 20:50 rhiaro I have a post about submitting post-like activities via micropub up shortly..
tilgovi joined the channel
# 20:53 rhiaro I was mentally preparing for a discussion even though I need to go to sleep
# 21:07 cwebber2 rhiaro: don't read too far, or you might read some really embarassing old posts I wrote :)
# 21:10 rhiaro hm, interesting, attributedTo on the object and actor on the activity
# 21:11 rhiaro I've encountered quite a bit of redundancy in AS2 so far
# 21:12 rhiaro cwebber2: do you have any activities that aren't Posts?
# 21:12 cwebber2 I'm interested in doing things with activitystreams that aren't posts though
# 21:13 cwebber2 though the things I'm really interested in are probably transient activities ;p
# 21:13 cwebber2 rhiaro: yeah... well actually I'm interested in building a game with it!
# 21:13 rhiaro awesome, I was hoping you'd say something like that
# 21:14 cwebber2 rhiaro: you heard my libreplanet talk so you might have a sense why :)
# 21:14 rhiaro hang on, I'll get my acitivites via micrpub post up
# 21:15 rhiaro I want to know what you think of my postified activities
# 21:15 rhiaro I feel like I've removed a lot of redundancy and simplified things, *but* I also feel like I might have missed something
# 21:16 cwebber2 each activity has an @id now, but it's not an http URI
# 21:18 cwebber2 maybe I could be crazy and put up an atom->activitystreams web interface ;)
# 21:18 cwebber2 for those who want to test converting their stuff and tell me how wrong my translator is
tilgovi joined the channel
# 21:39 cwebber2 rhiaro: note that in AS, theoretically you can have an actor and an attributedTo which are different
# 21:39 cwebber2 since the actor may be the one sharing, but the object one is sharing is attributedTo someone else
# 21:40 rhiaro where the *repost* has one actor and the original post has another actor and you don't need the extra attributedTo
# 21:40 rhiaro if you could put an example into json for me to look at that would help
# 21:41 cwebber2 rhiaro: let me put together one that's a hodgepodge of the AS docs
# 21:49 rhiaro which activity? probably not, I'm making a version I like rather than a spec-conformant one
# 21:50 cwebber2 rhiaro: could you file an issue that updating activities is not clear in the AS spec?
# 21:51 cwebber2 rhiaro: at any rate, for that one I believe you'd have the "object": not just be a link
# 21:52 cwebber2 but {"@type": "Update", "object": {"@id": "http://example.org/post/1", "content": "hello moon"}}
# 21:52 rhiaro how come with that Share of an image the image has 'url' not @id?
# 21:53 cwebber2 "Identifies one or more links to representations of the object"
# 21:57 cwebber2 it says href is for Links, but Images are Object->Content->Image
# 21:58 rhiaro I'm going to ignore this until I need it, which may be never, in which case yay
# 22:01 cwebber2 rhiaro: the example I said uses "href" *does* use url, and Links
# 22:01 cwebber2 and simulataneously gives a good justification for its existance
bblfish_ joined the channel
# 22:17 cwebber2 whew, I don't have to finish writing that bug report now ;)
# 22:18 cwebber2 rhiaro: href is for when you have a link, so in the example I just pasted
# 22:18 rhiaro I need to think/do more with handling media to really get it
# 22:20 cwebber2 {"@type": "Image", "@id": <web-page that contains the image and also a comment link and stuff>, "url": [{<thumbnail image, pointing with href>}, {<full image, pointing with href>}
]
# 22:20 cwebber2 so the "url" in this case has multiple links, not just one
# 22:20 rhiaro I really feel that's over abstracted, but I suppose I should keep my trap shut until I come up with something else
# 22:21 cwebber2 rhiaro: I'd love to see an alternative on the "mediagoblin *page*, with multiple image size links"
# 22:21 rhiaro Imma look at how flickr do it with their api too
# 22:22 rhiaro buuttt not right now, I need to sleep, suddenly need to be up in 5 hours
# 22:22 rhiaro I mean, I need to be up so I can catch a boat to a Croatian island so I can write CSS at the beach all day, but still :p
# 22:23 rhiaro btw would love any of your feedback in a blog post, even a short one, that I can add as a reply
# 22:24 cwebber2 and I should probably post my activitystreams thing to the list
# 22:25 rhiaro though I think elf dropped a link to mine in one of his emails
jasnell and cwebber2 joined the channel
# 23:08 oshepherd_ I still want to kill the post activity, IMO all it does is maximize redundancy...
# 23:31 cwebber2 oshepherd_: I guess the one nice thing about it that it seems like is the activity becomes a general envelope?
# 23:32 cwebber2 and maybe having an envelope separate from its contents is good?
# 23:32 cwebber2 but you have much more implementation experience than I do
# 23:32 oshepherd_ I think if you remove the "post" activity then what you find is that activities are encodings of state transitions, and actually ActivityStreams' model then matches up very well with e.g. mf2
# 23:32 oshepherd_ Also the ACLs being attached to the activity is demonstrably a massive issue as seen in pump.io
bblfish and jasnell joined the channel
# 23:37 cwebber2 oshepherd_: there's the comments sometimes getting disconnected from being shared with their parents
# 23:37 oshepherd_ Unless you saw the post activity, you have no idea of the audience
# 23:37 oshepherd_ But actually the audience should really be a property of the post
# 23:38 oshepherd_ And it gets even more confusing - e.g. what if the same object is posted twice?