IRC Logs

2008 10
Mo Tu We Th Fr Sa So
    1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30 31    

21. 10 2008

[00:31:16] * Kaelten has quit IRC
[00:34:01] * hoffmann has joined #pocoo
[00:41:33] * highwaychile has quit IRC
[00:54:20] * davidcramer has quit IRC
[00:56:38] * Kaelten has joined #pocoo
[00:58:17] * kaelten has joined #pocoo
[01:00:12] * kaelten is now known as Kaelten
[01:00:14] * zero-one__ has quit IRC
[01:10:27] * lakin has quit IRC
[01:53:44] * davidcramer has joined #pocoo
[02:29:11] * dtamborelli has joined #pocoo
[03:00:33] * maix has quit IRC
[03:23:22] * _paneb has joined #pocoo
[03:24:19] <_paneb> when writing a "restful" service, how would i make an html form available to create a new resource?
[03:32:38] <_paneb> when looking at http://microformats.org/wiki/rest/urls#File_Formats, it suggests GET /people/new or GET /people/1/edit . those 2 urls would only ever be used by a human though right? i mean if my client expects json, this is of no use to it
[03:36:45] <ckknight> right, _paneb
[03:37:01] <ckknight> those are just helper urls to provide forms
[03:37:15] <ckknight> GET /people/new would then link to POST /people
[03:37:26] <ckknight> GET /people/1/edit would link to PUT /people/1
[03:37:54] <ckknight> so if you have a smart json client, they could just use the POST, PUT, and DELETE verbs for implanting data
[03:38:04] <ckknight> and GET to get data from /people or /people/1
[03:38:44] <_paneb> ok
[03:40:42] * ckknight has quit IRC
[03:48:42] * ckknight has joined #pocoo
[04:36:09] * _paneb has quit IRC
[04:58:54] * davidcramer_ has joined #pocoo
[05:04:03] * davidcramer has quit IRC
[05:15:52] * davidcramer_ has quit IRC
[05:43:28] * Kaelten has quit IRC
[06:18:42] * davidcramer has joined #pocoo
[06:24:55] * davidcramer has quit IRC
[06:29:48] * jpcw has quit IRC
[06:53:18] * davidcramer has joined #pocoo
[07:16:17] * prencher^ has joined #pocoo
[07:24:22] * prencher has quit IRC
[07:57:54] * davidcramer has quit IRC
[08:17:34] * leche has joined #pocoo
[09:51:25] * jpcw has joined #pocoo
[10:15:53] * hoffmann has quit IRC
[11:33:44] * maix has joined #pocoo
[11:35:50] * dtamborelli has quit IRC
[12:51:42] * ckknight has quit IRC
[13:13:23] <asmodai> birkenfeld: looks like a paperback of Toll the Hounds was released in september
[13:17:17] <asmodai> ah, US paperback
[13:17:24] <asmodai> UK paperback will be april 2009 :S
[14:01:44] * highwaychile has joined #pocoo
[14:07:20] * izibi has joined #pocoo
[14:16:37] <asmodai> mmm
[14:16:56] <asmodai> can you actually do xpath on a lxml.etree.fromstring() or do you need parse() for that?
[14:21:22] <asmodai> ah you can
[14:21:29] <asmodai> did something else wrong
[14:46:43] * leche has quit IRC
[14:51:10] <asmodai> mitsuhiko: http://www.flickr.com/photos/wufoo/2312905764/
[15:14:00] * ckknight has joined #pocoo
[15:39:13] * _paneb has joined #pocoo
[16:06:25] * ckknight has quit IRC
[16:14:10] * ckknight has joined #pocoo
[16:37:31] * Kaelten has joined #pocoo
[17:17:37] * EnTeQuAk has joined #pocoo
[17:22:32] * prencher^ is now known as prencher
[17:29:28] * EnTeQuAk_ has joined #pocoo
[17:29:49] * EnTeQuAk has quit IRC
[17:29:59] * EnTeQuAk_ is now known as EnTeQuAk
[17:35:56] * Kaelten has quit IRC
[17:36:37] * Kaelten has joined #pocoo
[18:04:23] * DGMurdockIII has joined #pocoo
[18:08:24] * stifal has joined #pocoo
[18:17:09] <Kaelten> anyone have any idea how I would do django style query profiling with sqlalchemy
[18:23:30] * Kaelten has quit IRC
[18:27:55] * Kaelten has joined #pocoo
[18:31:09] * Kaelten has quit IRC
[18:31:47] * Kaelten has joined #pocoo
[18:32:04] * highwaychile has quit IRC
[18:59:54] <apollo13> Kaelten: answer as always: ask sqlalchemy or empty
[19:00:04] <Kaelten> :P
[19:00:40] <empty> Kaelten: we have profiling stuff in the sqlalchemy tests. That might be helpful
[19:00:46] <apollo13> as I said :)
[19:00:56] <Kaelten> hehe
[19:00:58] <empty> I honestly have never tried to understand it.
[19:01:01] <empty> but it's there.
[19:01:03] <empty> and it works
[19:01:04] <apollo13> empty: I guess I already asked you once but how are you doing it
[19:01:06] <apollo13> ah I see
[19:01:08] <empty> so it might be a good start.
[19:01:11] * apollo13 checks out sqlalchemy
[19:01:25] <apollo13> django-*
[19:01:29] <ckknight> empty: figured out from http://techspot.zzzeek.org/?cat=3
[19:01:54] <apollo13> ckknight: cool thx
[19:04:51] <apollo13> the performance is good to, cause we would use the proxy only if DEBUG=True, nice :)
[19:11:51] <apollo13> too *grml*
[19:22:49] * highwaychile has joined #pocoo
[19:40:26] <birkenfeld> asmodai: yes, but amazon.de doesn't have it yet
[19:51:11] * leche has joined #pocoo
[20:11:58] * highwaychile_ has joined #pocoo
[20:12:58] * DGMurdockIII has quit IRC
[20:19:03] * EnTeQuAk has quit IRC
[20:27:56] * highwaychile has quit IRC
[20:47:06] * highwaychile_ has quit IRC
[20:51:00] * EnTeQuAk has joined #pocoo
[21:49:39] * [diecast] has quit IRC
[21:49:46] * [diecast] has joined #pocoo
[21:59:03] * stifal has quit IRC
[22:01:07] * EnTeQuAk has quit IRC
[22:05:09] <_paneb> i am working on a small restful service which will serve json and xhtml. now, i have a copy of "RESTful Web Services", in which the author says that ideally, a client should be able to GET a representation, change it, and PUT it. now if the representation is in XHTML (using microformats, ...), then it's a bit of a pain to parse isn't it?
[22:05:29] <_paneb> or maybe i am missing the point
[22:08:21] <_paneb> and putting microformats (hcard, hcalendar) aside, what if i have other information in the representation such as comments. i would have to add a class or id to know where to look for comments right?
[22:19:30] * maix_ has joined #pocoo
[22:20:12] * maix has quit IRC
[22:20:16] * maix_ is now known as maix
[22:40:51] * EnTeQuAk has joined #pocoo
[22:56:30] * izibi has quit IRC
[23:05:28] * hoffmann has joined #pocoo
[23:19:27] * _paneb has quit IRC
[23:22:24] * EnTeQuAk has quit IRC
[23:52:32] * hoffmann_ has joined #pocoo
[23:53:11] * _paneb has joined #pocoo
[23:55:42] * hoffmann has quit IRC
[23:55:46] * hoffmann_ is now known as hoffmann