[01:57:51] DracoBlue (~Adium@dslb-088-075-066-254.pools.arcor-ip.net) joined #rest. [01:58:07] DracoBlue (~Adium@dslb-088-075-066-254.pools.arcor-ip.net) left #rest. [02:30:10] Wombert (~Wombert@client-gate.sfa.network.cynigram.com) joined #rest. [02:38:31] Wombert (~Wombert@client-gate.sfa.network.cynigram.com) left irc: Quit: Wombert [02:57:02] mr_yall (~mr_yall@scifo.mexico86.co.uk) joined #rest. [04:15:33] where the feck is mamund [04:16:18] please can someone talk me through the point that Jan is making here because I really cannot fathom it :( [04:17:26] http://tech.groups.yahoo.com/group/rest-discuss/message/18325 [04:56:45] ssedano (~ssedano@unaffiliated/ssedano) left irc: Ping timeout: 240 seconds [05:10:07] ssedano (~ssedano@unaffiliated/ssedano) joined #rest. [05:18:04] have we had a rest-discsuss thread recently that hasn't been hijacked by people seemingly desperate to tell other people they don't know what they are talking about? [05:21:28] I think a big problem is that many people in the community (regardless of whether they are wrong or right) just do not express themselves in a way that average lay-people can comprehend [05:24:17] in my experience, people who express themselves in complicated ways are usually compensating for mental models that aren't cohesive or coherent. [05:39:56] mikekelly: Could it be terminology differences? [05:40:24] well I did spot his 'server' vs 'resource' processing comments [05:40:32] e.g. "Application" to Jan (and Fielding) means e.g. "buying a book at Amazon" not "MicrosoftWord" or "Internet Explorer" [05:40:44] no no that's my interp of application [05:40:47] The Application is therefore the result of interacting with a web site through a browser. [05:40:52] That's what I expected :-) [05:40:52] I think Jan's interp is Application means layer 7 on OSI [05:41:04] That may be right. [05:41:33] but I did point out that 'hypertext as the engine of applicaiton state' doesn't really fit into that interp [05:41:34] So when you say Application, Jan might think OSI7 Application... [05:41:52] i.e. there are lots of different uses of 'application' depending on the context [05:42:11] When you click "Buy this book" link on amazon, you're driving the application forward. [05:42:21] The application being "buying a book"... [05:42:32] What is your interp of Application? [05:54:17] "a set of transitions a client completes to achieve an objective" [05:54:19] something like that [05:54:42] in this context it doesn't have anything to do with Layer 7, put it that way. [06:01:51] Well, I'm not sure if I understand what you mean by an "OSI layer 7" interpretation of the term appllication... [06:02:29] How is my definition (result of interacting with a web site through a browser) different than yours (a set of transitions that a client completes to achieve an objective)? [06:15:58] scudco (~scudco@cpe-75-85-13-152.socal.res.rr.com) joined #rest. [06:46:02] mogsie: it's not, I'm agreeing with you [06:46:39] the important point there for me is that it is about *you* and not your browser [06:46:52] that is actually something people get horribly confused about [06:48:30] css,javascript,etc - all the hypermedia stuff your browser does are generic intermediary mechanisms that produce the generic interface to us (people) that we call a 'web page' [06:49:06] they are intermediary mechanisms - and that's why the hypertext in them is standardised and the semantics contained in the HTML spec [06:50:32] so my point in all of this discussion is; if you can find a generic media type that provides the hypertext controls to express your application and facilitates the intermediary mechanisms you need [06:50:52] don't bother minting a new media type, it's waste of effort. [06:51:53] hence why when you expose a web application you don't create a new media type or extend html. [06:52:39] I don't really see what is controversial about that point of view - it reflects reality. [06:54:44] what *really* pisses me off about this discussion is that Jan keeps referring to 'visibility' [06:55:11] and then when I press him on what exactly he means by that and why it presents and issue [06:55:14] he just ignores me. [06:57:02] possibly because 'visibility' is actually being used there a meaningless buzzword, to try and imply there's a loss of something valuable when there isn't. [06:57:28] which is another thing I have asked about, and had no response to. [06:57:30] I admit I don't get Jan's point of view in this recent discussion either [06:57:52] "When was the last time you implemented a POST handler of a resource and thought in any way about what the client expects?" [06:57:57] my answer is "always" [06:58:00] I don't mind people dissagreeing with me provided they aren't being so fucking unnecessarily condescending. [06:58:01] not "never" [06:58:40] this is why I accused him of pedantry [06:58:47] I think there's some stupid Zen-master shit going on there [06:59:17] pseudo Zen-master* [06:59:21] :) [06:59:22] fu-manchu: really? does as in that you care about the current state of the client or what? [06:59:47] well what's a functional test if it's not some expectation ? [07:00:00] to me his point seems perfectly valid, the server only care about the message that was POSTed, not the internal state of the client [07:00:13] that's not what the question says :| [07:00:29] maybe I need to read that email again; I didn't see anything about "internal state" in there [07:00:48] there isn't, I've read almost all his posts several times [07:01:17] it might be what I read into the message [07:02:15] It seems like there's a lot of word-trickery and pedantry going on which confuses everything a lot [07:02:32] am I the only person that gets pissed off with that?! :( [07:03:00] I find it such a frustrating waste of time [07:05:00] I wonder if he imagines (or uses daily) some framework where "the server" is a separate component from "each resource", where "the server" component is little more than a deserializer of the HTTP request [07:06:05] and a "POST handler" therefore hands off an internal object representation to the *real* resource component [07:07:30] yeah - an intermediary :| [07:08:08] that being the case, I think that model is just horribly confusing and adds nothing [07:08:29] it's definitely not a standard way of talking about a 'server' [07:08:44] when I say server I mean the-thing-that-takes-the-request-and-produces-a-response [07:08:46] I might be putting words in his mouth [07:08:57] no no that's exactly where I thought he was going [07:09:10] so it makes 2 of us independently [07:09:35] I have actually asked him explicitly about it so I might get a response [07:10:37] I would really hate to be someone relatively new to REST and reading this bloody thread. [07:11:17] nasty business [07:35:52] kennethreitz (~kennethre@c-24-127-96-129.hsd1.va.comcast.net) left irc: Ping timeout: 244 seconds [07:50:32] mamund (mamund@nullrouted.info) joined #rest. [07:50:33] #rest: mode change '+o mamund' by ChanServ!ChanServ@services. [07:51:02] Action: mamund is here! [07:59:42] Action: mamund is drawing mikekelly into his net [07:59:53] ¬_¬ [07:59:59] I'm game, let's do this. [07:59:59] LOL [08:00:05] you've already done it [08:06:53] and the trap door slowly closes.... [08:08:02] it's not really a trap if I walk in and help you close it. [08:08:04] ;) [08:08:14] :) [08:08:29] you're just trying to hijack the thread [08:08:31] true [08:08:33] admit it! [08:08:34] ;) [08:08:36] oh you did. [08:08:54] that's all i needed [08:09:23] srsly, you are building hypermedia for machines. that's all i'm talking about [08:10:43] yeah my post was about the realistic'ness of trying to emulate human-like behaviour with automated clients [08:10:44] right ? [08:11:28] maybe it wasn't clear in the post and we should clarify on the list but basically I (on purpose) focused on what I would term the 'realistic' hypermedia control as far as machines are concerned [08:11:41] at this point in time [08:12:42] maybe in the future there will be some development in programming paradigms that dramatically improves the cost of developing more sophisticated clients [08:13:00] until that happens I think exposing a distributed application with the assumption that has already happened [08:13:13] is like pissing into the wind [08:13:33] i.e. not a good idea and will leave you in a mess [08:14:19] either assuming too much about your clients or raising the barrier so high they never actually become your client. [08:14:20] yeah, i agree that it's not realistic to assume that machine-based hypermedia will have the same features/functionality of human-based hypermedia [08:14:22] aGHz (~Adium@modemcable028.248-23-96.mc.videotron.ca) joined #rest. [08:14:49] i think we've covered this territory in IRC before [08:14:53] indeed. [08:15:10] let's do it all over again on the list anyway, might as well. [08:15:11] ¬_¬ [08:15:34] my point (in the mailing list) is simply that we should be able to ack. that machine-based hypermedia is not only possible, but with us already. [08:15:52] we should also recognize that it is "not the same" as human-based hypermedia [08:15:57] we can make it short and I can ask you for some evidence of 'dramatically improved evolvability' from form mechanisms (i.e. more than just aesthetically altered output from clients) [08:16:04] LOL [08:16:05] sure [08:16:15] be honest, it's not there. [08:16:22] no, it's not [08:16:29] and, IMO, doesn't _need_ to be there [08:16:38] PRAISE THE LAWWWWWD! [08:16:56] sh*t son, you've heard that from me for more than a year [08:17:05] :) [08:17:23] :) [08:17:53] yeah I guess my post in response first skipped forward a few posts that never made it into existence [08:18:00] Action: mikekelly shrugs [08:18:02] heee [08:18:03] I do that all the time [08:18:16] multi-tasking over time! [08:18:29] no, I'm just a moron [08:18:44] did you spot by RDF dig ? [08:18:52] I really should've started a new thread for that :) [08:19:07] :) [08:19:17] s/by/my [08:20:39] why does Jan keep using the terminology "This is where you get it wrong" ? [08:20:56] who does that? :| [08:20:59] no clue [08:21:05] he's kinda got himself in a hole here [08:21:11] bummer [08:21:44] that thread is wandering between describing protocol-level semantics and app-level semantics... [08:21:56] it's difficult to know what to do about this thread because it does seem like there are some interesting underlying bits but it just keeps veering off into inane semantic arguments [08:21:57] not interested in helping sort it out, either. [08:22:20] I'm honestly trying to avoid doing that [08:22:44] it's the word 'application' [08:22:51] yeah, i am not participating in that "part" of the thread [08:23:27] seems like the get-out clause for certain parties in that thread is to pretend like people are talking about layer 7 when they say "application" [08:23:44] again, all a mess; not interestd [08:23:49] lol fair enough [08:23:53] I'll shut up now [08:23:55] :) [08:23:58] ha! [08:24:04] not on the mailing list [08:24:05] just here [08:24:09] Heeeeeee [08:24:15] who do you think I am ?! [08:24:51] ok ok mamund [08:24:52] please [08:24:58] one quote and then no more [08:25:02] please!! [08:25:03] :D [08:25:05] :) [08:25:14] lay it on me, dude [08:25:17] > - What the resource does upon POST is determined by understanding the [08:25:18] > semantics of the application it is part of [08:25:18] No, this is where you get it wrong. The resource has no idea what the application is. Especially is it not bound to whatever the client expects. [08:25:30] quote is me, last line is Jan [08:25:52] again, the context-switching here, ick [08:26:16] that's one crazy-ass context he's switching into [08:26:17] honestly, even in these lines, it's all a mess. [08:26:37] first, "the resource _does_" ?!~@ [08:26:46] resources don't do aquat, eh? [08:26:55] a/aquat/squat [08:27:06] right I'd have used server [08:27:12] he brought in the resource [08:27:16] apparently don't do anything [08:27:18] resources to stuff [08:27:25] POST is protocol, Jan is talking application, eww [08:27:30] look, I don't know - I'm just trying to strip away the bullshit and have a proper conversation [08:27:40] :D [08:27:42] er [08:27:43] well [08:27:54] POST is part of the 'Application' in the OSI sense [08:28:35] in my mind there are protocol-level "semantic understandings" [08:28:51] yeah I agree with you, btw I just said "yeah" out loud [08:28:55] and there are message-level "semantic understandings" [08:29:01] i see that [08:29:33] protocol stuff is the stuff of 'visibility' right ? [08:29:38] yes [08:29:44] ok good I'm not going insane. [08:29:53] what happens in the message, stays in the message [08:29:59] indeed. [08:30:13] ah man I feel infinitely better already. [08:30:33] no, you're not insane (at least not due to this silly thread) [08:30:35] ! [08:30:42] :D [08:47:23] and closing out my thread-jacking for the day [08:58:46] ha [08:59:00] incredibly it looks like someone is agreeing with what I'm saying [08:59:18] extraordinary. [09:06:21] KevBurnsJr (~KevBurnsJ@50.0.103.39) joined #rest. [09:12:17] :) [09:34:27] whartung (~whartung@wsip-98-189-78-118.oc.oc.cox.net) joined #rest. [09:34:35] HNY all [09:34:57] o/ [09:37:24] and to you [10:07:30] technoweenie (~technowee@host-86-220-9-69.midco.net) joined #rest. [10:51:11] kennethreitz (~kennethre@c-24-127-96-129.hsd1.va.comcast.net) joined #rest. [10:56:56] ha! two (tiny) commits to Cloud9 in the last week. i haz OSS skilz! [10:57:18] Action: mamund struts comically [10:59:01] mamund: heh, I looked at cloud9 but I really need it to have better vim bindings [10:59:09] when I tried it last, the vim stuff was kind of poop [10:59:50] vim stuff is still weak sauce [11:00:21] but it has gotten better in the last month [11:00:25] cloud9 is the one where you import 'projects' from github and work on them direct right ? [11:00:37] IIRC, no ex commands at all [11:22:56] mikekelly: actually just played around w/ latest vim bindings for C9; seem much improved [11:23:34] since i'm still a VIm n00b, would be curious to hear what you think of it right now. [11:40:38] ex_nihilo (ex_nihilo@gateway/shell/blinkenshell.org/x-rpfetmzovhvollns) joined #rest. [11:42:55] dkubb (~dkubb@50.92.131.237) joined #rest. [12:01:50] dkubb (~dkubb@50.92.131.237) left irc: Quit: Linkinus - http://linkinus.com [12:54:40] kennethreitz (~kennethre@c-24-127-96-129.hsd1.va.comcast.net) left irc: Quit: Computer has gone to sleep. [13:05:50] mamund: hmm it's ok - the basics work ok [13:06:05] there's no visual block mode [13:09:15] If I go into visual mode and move to a line number it doesn't create a selection [13:09:37] it is very cool but I'm too used to all the snazzy stuff I get from vim [13:10:03] yeah, block mode. that's right [13:10:32] to be fair I don't use visual block mode that much [13:10:39] it was just one of the things I thought to test :) [13:10:48] you can still highlight w/ arrow keys, etc. [13:10:51] yep [13:11:09] yeah visual block mode is the visual mode where you can edit multiple lines at once [13:11:38] atm I use my laptop for dev work [13:11:56] I was thinking about moving my entire dev setup onto a box and just ssh'ing onto that [13:13:00] can't make my mind up, I really like the nice lookingness of MacVim which I'll lose if I run vim in a terminal [13:13:11] such a tough life. [13:13:31] been vim-terminalling for a cuople weeks (forcing myself, actually) and getting used to it [13:13:46] Theres's vim outside of a terminal?? [13:13:47] Why? [13:14:22] :) [13:20:15] native clipboard access [13:20:29] I can copy/paste using the terminal. [13:20:37] but I just scrape it [13:20:37] another modifier key w/ apple key [13:20:58] nice looking fonts [13:21:09] if I do "10dd" I don't get that yanked in to the native clipboard. [13:23:52] technoweenie: are you a rails person ? [13:24:01] i am [13:24:28] well, i was. i dont work on the framework any more [13:24:36] what do you think about something like this https://gist.github.com/1547058 [13:24:59] basically I renamed the resources keyword to collection in the routing dsl [13:25:16] there are plugins that do similar stuff. i personally dont like them though [13:25:18] and created a collection controller that has collection and member blocks in it [13:25:48] technoweenie: what is it you don't like about that? [13:26:52] Hakon|mbp (~hakon1@193.137.202.84.customer.cdi.no) joined #rest. [13:33:37] Hakon|mbp (~hakon1@193.137.202.84.customer.cdi.no) left irc: Ping timeout: 268 seconds [13:48:31] i dont like stacking a bunch of magic framework stuff on it like that [13:48:37] some people do, more power to them. [13:48:47] i'd suggest making it a plugin/engine thing [15:01:21] Action: mamund enough cage-rattling for the day. g'nite all! [15:11:32] hobodave (~hobodave@pdpc/supporter/professional/hobodave) left irc: Quit: Textual IRC Client: http://www.textualapp.com/ [15:25:26] technoweenie (~technowee@host-86-220-9-69.midco.net) left irc: Remote host closed the connection [15:33:28] kennethreitz (~kennethre@static-71-166-241-209.washdc.east.verizon.net) joined #rest. [16:03:16] kennethreitz (~kennethre@static-71-166-241-209.washdc.east.verizon.net) left irc: Quit: Computer has gone to sleep. [16:17:15] KevBurnsJr (~KevBurnsJ@50.0.103.39) left irc: [16:37:29] prnightmare (~will@dhip-088.east-quad.residences.colby.edu) joined #rest. [17:26:02] sbanwart (~sbanwart@99-177-126-136.lightspeed.bcvloh.sbcglobal.net) joined #rest. [17:56:27] sbanwart (~sbanwart@99-177-126-136.lightspeed.bcvloh.sbcglobal.net) left irc: Remote host closed the connection [18:02:12] sbanwart (~sbanwart@99-177-126-136.lightspeed.bcvloh.sbcglobal.net) joined #rest. [18:08:53] aGHz (~Adium@modemcable028.248-23-96.mc.videotron.ca) left irc: Quit: Leaving. [18:09:34] sbanwart_ (~sbanwart@99-177-126-136.lightspeed.bcvloh.sbcglobal.net) joined #rest. [18:09:53] sbanwart (~sbanwart@99-177-126-136.lightspeed.bcvloh.sbcglobal.net) left irc: Ping timeout: 268 seconds [18:16:35] sbanwart_ (~sbanwart@99-177-126-136.lightspeed.bcvloh.sbcglobal.net) left irc: Remote host closed the connection [18:16:57] sbanwart_ (~sbanwart@99-177-126-136.lightspeed.bcvloh.sbcglobal.net) joined #rest. [18:36:40] prnightmare (~will@dhip-088.east-quad.residences.colby.edu) left #rest. [19:02:41] postmodern (~postmoder@c-71-237-178-98.hsd1.or.comcast.net) joined #rest. [19:03:07] has any RESTful web framework, allowed you to query the URL template [19:03:15] and get back descriptions for the params in the URL? [19:09:02] postmodern: hey there, not sure of your Q... [19:09:21] are you asking if any web frameworks implement the URI Template Internet Draft? [19:09:48] or is this a general "any templated URI" frameworks Q? [19:09:59] mamund, well if any of them have a way to return the possible URI paths it supports [19:10:07] mamund, along with descriptions of each one [19:10:21] ahh [19:10:26] well, not that i know of. [19:10:41] you might want to check the implementing-rest project on google code [19:10:49] there are a number of framework listed there [19:10:49] "/books/:isbn" => {'isbn': {type: "Integer", desc: "ISBN of the book"}} [19:11:08] in waht way do you want to use this feature? [19:12:04] of source, HTML does this, right? [19:12:19] HTML.FORM@method="get" is a URI template w/ descriptors inline [19:12:27] mamund, i want to provide a way for a client to introspect the RESTful routes [19:12:35] hmmm [19:12:41] you mean a human or a machine? [19:12:55] probably both, since i included a description [19:13:20] well, shouldn't be too hard to whip up in any framework [19:14:10] you want some list of the currently available queries, then? [19:14:38] yeah [19:14:40] where "currently-avail" === "at this point in time for this current user/session" [19:14:46] and if other frameworks have implemented this, and how [19:15:10] yeah, best i can come up w/ now is HTML.FORMs [19:15:32] you could add a link to any response (either inline or link header) that points to some [19:15:41] document, etc. on the server that will return that info. [19:15:48] assuming your server "knows" that info [19:16:05] aGHz (~Adium@modemcable153.0-178-173.mc.videotron.ca) joined #rest. [19:16:13] or just include it in the response; why have an external link? [19:17:34] yeah i was just asking if others have done this, and how did they allow querying that information [19:17:42] yeah [19:17:58] i did a custom media type design in JSON that has query templates. [19:18:21] they can be inserted into the response or a single link can appear so the client can pull the templates that way [19:19:30] you can check it out here: http://amundsen.com/media-types/collection/ [19:19:38] might give you some ideas [20:50:11] sbanwart_ (~sbanwart@99-177-126-136.lightspeed.bcvloh.sbcglobal.net) left irc: Ping timeout: 255 seconds [22:54:18] ex_nihilo (ex_nihilo@gateway/shell/blinkenshell.org/x-rpfetmzovhvollns) left irc: Quit: Lost terminal [23:02:56] kennethreitz (~kennethre@c-24-127-96-129.hsd1.va.comcast.net) joined #rest. [00:00:00] --- Wed Jan 4 2012