- [00:02] cwb` (~user@russell.carlbaatz.com) joined #rest.
- [01:07] grove (~grove@84.115.45.31.customer.cdi.no) joined #rest.
- [01:29] cwb` (~user@russell.carlbaatz.com) left irc: Ping timeout: 268 seconds
- [01:30] cwb` (~user@russell.carlbaatz.com) joined #rest.
- [01:45] grove (~grove@84.115.45.31.customer.cdi.no) left irc: Quit: grove
- [01:46] grove (~grove@84.115.45.31.customer.cdi.no) joined #rest.
- [01:47] grove (~grove@84.115.45.31.customer.cdi.no) left irc: Client Quit
- [01:51] Wombert (~Wombert@dslb-088-065-201-187.pools.arcor-ip.net) joined #rest.
- [02:31] DracoBlue (~Adium@dslb-088-075-066-254.pools.arcor-ip.net) joined #rest.
- [02:32] sgronblo (~sgronblom@218.223.19.176) left irc: Ping timeout: 240 seconds
- [02:32] sgronblo (~sgronblom@218.223.19.176) joined #rest.
- [02:33] DracoBlue (~Adium@dslb-088-075-066-254.pools.arcor-ip.net) left #rest.
- [03:13] cwb` (~user@russell.carlbaatz.com) left irc: Read error: Connection reset by peer
- [03:13] cwb` (~user@russell.carlbaatz.com) joined #rest.
- [04:00] grove (~grove@84.115.45.31.customer.cdi.no) joined #rest.
- [05:00] cwb` (~user@russell.carlbaatz.com) left irc: Read error: Connection reset by peer
- [05:00] cwb` (~user@russell.carlbaatz.com) joined #rest.
- [05:33] Hakon|mbp (~hakon1@78-31-11.connect.netcom.no) joined #rest.
- [05:58] dreinull (~dreieins@217.18.70.225) left #rest ("Leaving...").
- [06:13] mamund is baaaaack
- [06:22] cwb` (~user@russell.carlbaatz.com) left irc: Read error: Connection reset by peer
- [06:23] cwb` (~user@russell.carlbaatz.com) joined #rest.
- [07:42] cwb` (~user@russell.carlbaatz.com) left irc: Read error: Connection reset by peer
- [07:43] cwb` (~user@russell.carlbaatz.com) joined #rest.
- [07:50] grove (~grove@84.115.45.31.customer.cdi.no) left irc: Quit: grove
- [08:20] wav1 (~Adium@24-155-228-96.dyn.grandenetworks.net) joined #rest.
- [08:31] quest88 (~quest88@adsl-75-23-35-7.dsl.lgvwtx.sbcglobal.net) joined #rest.
- [08:38] scudco (~scudco@cpe-75-85-13-152.socal.res.rr.com) left irc: Ping timeout: 240 seconds
- [08:40] quest88 (~quest88@adsl-75-23-35-7.dsl.lgvwtx.sbcglobal.net) left irc: Quit: quest88
- [08:48] saml (~sam@adfb12c6.cst.lightpath.net) joined #rest.
- [08:48] <saml> let's say there is an image /foo/bar.jpg and there are small crops of the image. could they be /foo/bar.jpg/100x34.jpg ?
- [08:48] <saml> or should i treat crops or thumbnails as different image
- [08:48] <trygvis> that really, really doesn't matter
- [08:49] <trygvis> they already are different resources as they have different URLs
- [08:49] <whartung> yea that's a matter of taste
- [08:49] <saml> i see. thanks.
- [08:49] <trygvis> you can provide links from the first image to scaled versions, but that's a bit nasty
- [08:49] <saml> like /foo/bar.jpg?thumbnails
- [08:50] <whartung> but is a smaller (not cropped) version of an image simply a different representation of the same resource? There's a noggin scratcher
- [08:50] Hakon|mbp (~hakon1@78-31-11.connect.netcom.no) left irc: Quit: Leaving...
- [08:51] <trygvis> whartung: I can't find a way in which that would they could be the same resource unless there's a image/* type that include resolution
- [08:51] <saml> business considers cropped, transparent background, color corrected as different representation of the same resource.
- [08:51] <trygvis> or I guess you can always include a header and use Vary
- [08:51] <whartung> yea, I dunno how to represent it via a media type either trygvis
- [08:51] <trygvis> I doubt your "business" and the "http" folks have the same definition of "resource"
- [08:52] <whartung> but I was curious what a good URL would be, much like what saml is asking.
- [08:52] <trygvis> if the app that store the images also can scale them I'd probably implement /foo.png?width=100
- [08:52] <whartung> on the one hand, you can do img.jpg?h=100&w=100
- [08:52] <mamund> saml: {"link": {"href":"...", "rel":"cropped"}}
- [08:52] <trygvis> it doesn't matter really, it's more important how the client knows how to request the image
- [08:53] <whartung> but I'm not sure if urls with query parameters cache properly.
- [08:53] <mamund> focus on the rel token and not the actual URI
- [08:53] <trygvis> you could do something like what mamund with a URI template too
- [08:53] <mamund> then you can do whatever you like at any time in the future w/o breaking anything
- [08:53] <trygvis> whartung: my experience show that they do, even with the current caches
- [08:53] <whartung> ok, then I'd be most comfortable with a query param rather than trying to create a new resource namespace.
- [08:53] <trygvis> but when you start to add Vary and stuff tings might break
- [08:54] cwb` (~user@russell.carlbaatz.com) left irc: Read error: Connection reset by peer
- [08:54] <whartung> yea I wanted something that works with the BDB model (Brain Dead Browsers)
- [08:54] <trygvis> but mamund is right, it's the relation that's important
- [08:54] cwb` (~user@russell.carlbaatz.com) joined #rest.
- [08:54] <saml> we're doing it this way: http://www.vanityfair.com/dam/hollywood/2012/lady-gaga.jpg http://www.vanityfair.com/dam/hollywood/2012/lady-gaga.jpg/jcr:content/renditions/cq5dam.thumbnail.319.319.png
- [08:55] <mamund> saml: nothing wrong w/ that, IMO.
- [08:55] <trygvis> that's as fine as almost any other URL :)
- [08:55] <mamund> yep
- [08:56] <saml> mamund, what is that json?
- [08:56] <whartung> yea, that's nice saml
- [08:57] <saml> http://www.vanityfair.com/dam/hollywood/2012/lady-gaga.jpg/jcr:content/renditions.tidy.1.json
- [08:57] <mamund> yeah, but you can do the same w/ XML or any other format
- [08:58] <mamund> the point is to use a token (rel, etc.) to identify the URI
- [08:58] <mamund> then coach servers to always send that token
- [08:58] <mamund> and train clients to loook for that token
- [08:59] <mamund> then you don't crate any coupling to the actual URI
- [08:59] <trygvis> this kinda itches though, the rel doesn't say anything about *how much* it should it cropped
- [08:59] trygvis brings out the uri template stick
- [09:00] <saml> mamund, what url will out put that json?
- [09:00] <mamund> ???
- [09:00] <mamund> not sure i understand the Q
- [09:00] <saml> i mean, GET /foo/image.jpg will reeturn {"link": {"href":"...", "rel":"cropped"}} ?
- [09:01] <mamund> no
- [09:01] <mamund> what i was talking about is how you represent the link when you _first_ send it to the client
- [09:01] <mamund> not the response to the image GET
- [09:02] <mamund> does that make sense?
- [09:02] <mamund> do you use JSON format in your messages? XML? HTML?
- [09:04] <saml> oh. it's not really a rest system. browsers are only clients. so mostly html and json
- [09:04] <saml> so, the client will assemble URL for "cropped" rendition
- [09:04] <mamund> so, how does the client get the URIs?
- [09:04] <mamund> in JSON?
- [09:05] <saml> for example, json["link"]["href"] + "/" + json["link"]["rel"]
- [09:05] <saml> <img src="...">
- [09:05] <mamund> ok
- [09:05] <mamund> hmmm
- [09:05] <mamund> well, what does a response look like (not the code to parse it)
- [09:06] <saml> maybe i misled. i was wondering if renditions should be under /foo/bar.jpg or some completely different url such as /renditions/foo/bar/1.jpg
- [09:07] <saml> but i guess it does not matter
- [09:07] <mamund> anyway, my only point (which may not be intersting to you right now)....
- [09:07] <mamund> is to include names for all links and make sure client code looks for names, not links.
- [09:07] <mamund> <img src="" class="cropped" />
- [09:07] <mamund> etc.
- [09:08] <mamund> it's a style suggestion, that's all.
- [09:08] <mamund> btw, this renditions response...
- [09:08] <mamund> what is it used for?
- [09:08] <mamund> to tell clients what possible renditions are avail for an image?
- [09:09] <saml> no. i'm just trying to figure out "proper" way to store images and their renditions. static server will serve them
- [09:09] <mamund> hmmm...
- [09:09] <saml> there is no need to get a list of renditions for an image at the moment.
- [09:09] <mamund> ok
- [09:10] <mamund> huh, what is that JSON then?
- [09:10] <saml> it's what the server we use do by default
- [09:11] <mamund> ahhh
- [09:11] <mamund> so this is not reflected back to clients at all, just some internal representation.
- [09:11] <saml> it's not necessary at all. given an url, you can change extention to .json, .xml, .pdf... etc and the server renders the resource accordingly
- [09:11] <saml> yes
- [09:11] <mamund> ok
- [09:54] grove (~grove@84.115.45.31.customer.cdi.no) joined #rest.
- [09:54] quest88 (~quest88@75.23.35.7) joined #rest.
- [09:55] grove (~grove@84.115.45.31.customer.cdi.no) left irc: Client Quit
- [10:05] grove (~grove@84.115.45.31.customer.cdi.no) joined #rest.
- [10:23] KevBurnsJr (KevBurnsJr@c-76-21-117-179.hsd1.ca.comcast.net) joined #rest.
- [10:42] wav11 (~Adium@24-155-228-96.dyn.grandenetworks.net) joined #rest.
- [10:42] wav1 (~Adium@24-155-228-96.dyn.grandenetworks.net) left irc: Read error: Connection reset by peer
- [10:46] wav11 (~Adium@24-155-228-96.dyn.grandenetworks.net) left irc: Client Quit
- [11:19] saml (~sam@adfb12c6.cst.lightpath.net) left irc: Quit: Leaving
- [11:41] cwb` (~user@russell.carlbaatz.com) left irc: Read error: Connection reset by peer
- [11:41] cwb` (~user@russell.carlbaatz.com) joined #rest.
- [11:54] nuclearsandwich (~nuclearsa@74-93-3-241-SFBA.hfc.comcastbusiness.net) joined #rest.
- [12:28] cwb` (~user@russell.carlbaatz.com) left irc: Read error: Connection reset by peer
- [12:28] cwb` (~user@russell.carlbaatz.com) joined #rest.
- [13:01] mamund is all done for the day and the week. laters!
- [13:01] <darrelmiller> Have a very merry christmas :-) And get lots of REST
- [13:01] <darrelmiller> ...sorry, someone had to do it.
- [13:15] DracoBlue (~Adium@p4FD2EC97.dip.t-dialin.net) joined #rest.
- [13:15] DracoBlue (~Adium@p4FD2EC97.dip.t-dialin.net) left #rest.
- [13:29] <pc1oad1etter> darrelmiller: This year I'm just giving my kids representations of their gifts
- [13:29] <pc1oad1etter> Look son, that's what a basketball goal would look like if it were in our driveway
- [13:42] cwb` (~user@russell.carlbaatz.com) left irc: Read error: Connection reset by peer
- [13:42] <fu-manchu> the basket itself would just be the current representation of the "athletic kid" resource
- [13:42] cwb` (~user@russell.carlbaatz.com) joined #rest.
- [13:43] <darrelmiller> pc1oad1etter: Just have him take the blue pill.
- [13:50] kennethreitz (~kennethre@c-24-127-96-129.hsd1.va.comcast.net) left irc: Ping timeout: 244 seconds
- [13:53] <pc1oad1etter> 1131111
- [13:53] <pc1oad1etter> 1
- [13:53] Last message repeated 1 time(s).
- [13:53] <pc1oad1etter> 31
- [13:54] <pc1oad1etter> 111 1
- [13:54] <pc1oad1etter> 1
- [13:54] <pc1oad1etter> 13
- [13:54] Last message repeated 1 time(s).
- [13:54] <pc1oad1etter> 1
- [13:54] <pc1oad1etter> 11
- [13:54] <pc1oad1etter> 11111
- [13:54] <pc1oad1etter>
- [13:57] wav1 (~Adium@65-111-98-91.dyn.grandenetworks.net) joined #rest.
- [13:59] <pc1oad1etter> ugh, sorry, guess they knew I was talking about them.
- [14:10] Wombert (~Wombert@dslb-088-065-201-187.pools.arcor-ip.net) left irc: Quit: Wombert
- [14:14] wav11 (~Adium@65-111-98-91.dyn.grandenetworks.net) joined #rest.
- [14:14] wav1 (~Adium@65-111-98-91.dyn.grandenetworks.net) left irc: Read error: Connection reset by peer
- [14:46] cwb` (~user@russell.carlbaatz.com) left irc: Read error: Connection reset by peer
- [14:47] cwb` (~user@russell.carlbaatz.com) joined #rest.
- [15:08] grove (~grove@84.115.45.31.customer.cdi.no) left irc: Quit: grove
- [15:22] <Ngarthl> happy yuletide
- [15:29] <whartung> you to Ngarthl
- [16:05] cwb` (~user@russell.carlbaatz.com) left irc: Read error: Connection reset by peer
- [16:05] cwb` (~user@russell.carlbaatz.com) joined #rest.
- [16:47] wav11 (~Adium@65-111-98-91.dyn.grandenetworks.net) left irc: Quit: Leaving.
- [16:48] sbanwart (~sbanwart@99-177-126-136.lightspeed.bcvloh.sbcglobal.net) joined #rest.
- [17:16] cwb` (~user@russell.carlbaatz.com) left irc: Ping timeout: 240 seconds
- [17:16] cwb` (~user@russell.carlbaatz.com) joined #rest.
- [18:26] cwb` (~user@russell.carlbaatz.com) left irc: Read error: Connection reset by peer
- [18:26] cwb` (~user@russell.carlbaatz.com) joined #rest.
- [19:22] nuclearsandwich (~nuclearsa@74-93-3-241-SFBA.hfc.comcastbusiness.net) left irc: Remote host closed the connection
- [19:23] sbanwart (~sbanwart@99-177-126-136.lightspeed.bcvloh.sbcglobal.net) left irc: Ping timeout: 252 seconds
- [19:40] kennethreitz (~kennethre@c-24-127-96-129.hsd1.va.comcast.net) joined #rest.
- [19:43] scudco (~scudco@cpe-75-85-13-152.socal.res.rr.com) joined #rest.
- [19:48] cwb` (~user@russell.carlbaatz.com) left irc: Read error: Connection reset by peer
- [19:48] cwb` (~user@russell.carlbaatz.com) joined #rest.
- [20:01] Wombert (~Wombert@dslb-092-075-027-159.pools.arcor-ip.net) joined #rest.
- [20:16] impl_ (impl@ester.at.cynigram.com) joined #rest.
- [20:16] impl_ (impl@ester.at.cynigram.com) left irc: Changing host
- [20:16] impl_ (impl@atheme/member/impl) joined #rest.
- [20:16] impl (impl@atheme/member/impl) left irc: Read error: Connection reset by peer
- [20:30] Blazeix_ (~Blazeix@71.74.190.197) joined #rest.
- [20:30] mogsie1 (~mogsie@62.101.198.35) joined #rest.
- [20:35] Blazeix (~Blazeix@71.74.190.197) left irc: Ping timeout: 240 seconds
- [20:35] mogsie (~mogsie@62.101.198.35) left irc: Ping timeout: 240 seconds
- [20:37] impl_ -> impl
- [20:40] nuclearsandwich (~nuclearsa@74-93-3-241-SFBA.hfc.comcastbusiness.net) joined #rest.
- [20:40] nuclearsandwich (~nuclearsa@74-93-3-241-SFBA.hfc.comcastbusiness.net) left irc: Read error: Connection reset by peer
- [20:40] nuclears_ (~nuclearsa@74-93-3-241-SFBA.hfc.comcastbusiness.net) joined #rest.
- [21:02] cwb` (~user@russell.carlbaatz.com) left irc: Ping timeout: 252 seconds
- [21:02] cwb` (~user@russell.carlbaatz.com) joined #rest.
- [22:13] nuclears_ (~nuclearsa@74-93-3-241-SFBA.hfc.comcastbusiness.net) left irc: Remote host closed the connection
- [22:15] cwb` (~user@russell.carlbaatz.com) left irc: Ping timeout: 240 seconds
- [22:16] cwb` (~user@russell.carlbaatz.com) joined #rest.
- [22:49] kennethr_ (~kennethre@c-24-127-96-129.hsd1.va.comcast.net) joined #rest.
- [22:50] kennethreitz (~kennethre@c-24-127-96-129.hsd1.va.comcast.net) left irc: Ping timeout: 244 seconds
- [22:54] Blazeix_ -> Blazeix
- [22:56] kennethr_ (~kennethre@c-24-127-96-129.hsd1.va.comcast.net) left irc: Quit: Textual IRC Client: http://www.textualapp.com/
- [22:56] kennethreitz (~kennethre@c-24-127-96-129.hsd1.va.comcast.net) joined #rest.
- [23:31] cwb` (~user@russell.carlbaatz.com) left irc: Ping timeout: 240 seconds
- [23:34] cwb` (~user@russell.carlbaatz.com) joined #rest.
- [23:56] grove (~grove@84.115.45.31.customer.cdi.no) joined #rest.
- [23:57] KevBurnsJr (KevBurnsJr@c-76-21-117-179.hsd1.ca.comcast.net) left irc:
- [00:00] --- Sat Dec 24 2011