[00:03] emehrkay_ has joined the channel [00:05] voodootikigod has joined the channel [00:10] JoePeck has joined the channel [00:13] gwoo has joined the channel [00:13] emehrkay_: I think that i got mootools_server to work with node. time to build an app :) [00:38] jspiros has joined the channel [00:58] emehrkay_: nice [01:05] cloudhead has joined the channel [01:17] bryanl has joined the channel [01:20] kriszyp_ has joined the channel [01:27] stephenlb has joined the channel [01:34] eddanger has joined the channel [01:35] bryanl has joined the channel [01:35] cloudhead has joined the channel [01:35] JoePeck has joined the channel [01:35] emehrkay has joined the channel [01:35] richtaur has joined the channel [01:35] sudoer has joined the channel [01:35] grantmichaels has joined the channel [01:35] botanicus_ has joined the channel [01:35] aguynamedben has joined the channel [01:35] Yuffster_ has joined the channel [01:38] inimino has joined the channel [01:41] geoff_blair has joined the channel [01:46] isaacs: richtaur geoff_blair: good to see a few irl folks in here. [01:47] isaacs: silicon valley yahoos represent! [01:47] geoff_blair: indeed! [01:47] geoff_blair: figured I'd idle in here while reading over some node stuff [01:47] isaacs: add it to your colloquy auto-join list. [01:48] tlrobinson1: pssshh… SF represent! i know there's more of you... [01:48] tlrobinson1: SF > SV [01:48] isaacs: tlrobinson1: only if you're measuring based on homeless hipsters [01:51] inimino has joined the channel [01:55] isaacs: inimino: you're the one i was talking to about the uri module, right? [01:58] JoePeck has joined the channel [01:58] emehrkay has joined the channel [01:58] richtaur has joined the channel [01:58] grantmichaels has joined the channel [01:58] botanicus_ has joined the channel [01:58] aguynamedben has joined the channel [01:58] Yuffster_ has joined the channel [01:58] eddanger has joined the channel [02:13] rtomayko has joined the channel [02:18] hornbeck has joined the channel [02:19] hornbeck has left the channel [02:20] RayMorgan has joined the channel [02:39] jan____ has joined the channel [02:40] soveran has joined the channel [02:43] sztanphet has joined the channel [02:46] binary42 has joined the channel [02:46] frodenius has joined the channel [02:47] wil has joined the channel [02:50] sveisvei has joined the channel [02:50] Pilate has joined the channel [02:53] soveran has joined the channel [02:53] alex-desktop has joined the channel [02:53] Vito` has joined the channel [02:53] sztanpet has joined the channel [02:53] n8o has joined the channel [03:14] charlenopires has joined the channel [03:29] RayMorgan has joined the channel [03:29] RayMorgan has joined the channel [03:32] JoePeck has joined the channel [03:32] emehrkay has joined the channel [03:32] richtaur has joined the channel [03:32] grantmichaels has joined the channel [03:32] aguynamedben has joined the channel [03:32] Yuffster_ has joined the channel [03:34] pjb3 has joined the channel [03:36] alex-desktop has joined the channel [03:36] Vito` has joined the channel [03:41] inimino: isaacs: ... you're gone, but yes [03:49] eddanger has joined the channel [03:51] rictic has joined the channel [03:54] JoePeck has joined the channel [03:54] emehrkay has joined the channel [03:54] richtaur has joined the channel [03:54] grantmichaels has joined the channel [03:54] aguynamedben has joined the channel [03:54] Yuffster_ has joined the channel [04:07] alex-desktop has joined the channel [04:07] Vito` has joined the channel [04:23] JoePeck has joined the channel [04:23] emehrkay has joined the channel [04:23] richtaur has joined the channel [04:23] grantmichaels has joined the channel [04:23] aguynamedben has joined the channel [04:23] Yuffster_ has joined the channel [04:24] scudco has joined the channel [04:25] alex-desktop has joined the channel [04:25] Vito` has joined the channel [04:53] RayMorgan has joined the channel [04:58] mikeal has joined the channel [05:20] eddanger has joined the channel [05:29] JoePeck_ has joined the channel [05:33] mikeal has joined the channel [05:42] sudoer has joined the channel [05:43] mikeal has joined the channel [06:09] sudoer has joined the channel [06:45] micheil has joined the channel [06:47] micheil has joined the channel [06:49] micheil has joined the channel [06:55] jamiew has joined the channel [07:10] aurynn has joined the channel [07:15] micheil has joined the channel [07:35] mikeal has joined the channel [07:47] mikeal has joined the channel [07:52] Biscuits has joined the channel [08:35] mikeal has joined the channel [09:09] felixge has joined the channel [09:32] micheil has joined the channel [09:59] micheil has joined the channel [10:04] rolfb has joined the channel [10:19] erichocean has joined the channel [10:43] micheil has joined the channel [10:46] spoob has joined the channel [11:23] DamZ has joined the channel [11:29] micheil has joined the channel [11:46] cloudhead has joined the channel [12:04] micheil has joined the channel [12:14] hornbeck has joined the channel [12:45] cloudhead has joined the channel [13:11] alex-desktop has joined the channel [13:25] binary42 has joined the channel [13:27] richtaur has joined the channel [13:27] aguynamedben has joined the channel [13:27] Yuffster has joined the channel [13:27] richtaur has joined the channel [13:29] charlenopires has joined the channel [13:31] cloudhead has joined the channel [13:32] spoob has joined the channel [13:32] Vito` has joined the channel [13:32] spoob has joined the channel [13:33] soveran has joined the channel [13:34] richtaur has joined the channel [13:36] micheil has joined the channel [13:42] micheil has joined the channel [13:51] aguynamedben has joined the channel [13:51] Yuffster has joined the channel [13:52] davidsklar has joined the channel [13:58] soveran has joined the channel [14:02] spoob has joined the channel [14:02] Vito` has joined the channel [14:10] n8o has joined the channel [14:37] kriszyp has joined the channel [14:42] brandon_beacher has joined the channel [14:49] Booster has joined the channel [14:55] richtaur has joined the channel [15:08] rolfb has joined the channel [15:19] binary42 has joined the channel [15:20] taf2 has joined the channel [15:21] jfoutz has joined the channel [15:23] n8o has left the channel [15:26] sveisvei has joined the channel [15:26] voodootikigod has joined the channel [15:38] spoob_ has joined the channel [15:50] alexiskander has joined the channel [15:54] jed has joined the channel [15:54] DamZ has joined the channel [16:01] jfoutz: if i open a http server, and see a Upgrade: WebSocket header, is there a way for me to get ahold of the socket, so i can handle it? is this even the right approach? [16:02] Connorhd_: jfoutz, have you looked at the other websocket implementations? [16:03] Connorhd_: http://github.com/zimbatm/nodejs-http-websocket does what you're describing I think [16:04] jfoutz: hmm. i poked around a little, i'll take a longer look at that one. [16:05] PowerToExt has joined the channel [16:05] Connorhd_: I haven't used any of them yet so I don't have any real recommendation [16:07] voodootikigod_ has joined the channel [16:09] jfoutz: Connorhd_: thanks. i ran across that, saw that it was a collection of patches and got nervous that there was some reason they didn't get added to the main branch... it looks more than good enough for this toy project though. [16:09] jfoutz: thanks again. [16:11] sveisvei has joined the channel [16:11] softdrink has joined the channel [16:11] Connorhd_: yeh, the patches have been whats stopped me playing with it, the other implementations don't look as tidy [16:12] softdrink: has anyone compared Node to Tornado? (i promise i'm not trolling, i'm honestly curious) [16:12] qFox has joined the channel [16:17] Connorhd_: http://four.livejournal.com/1020129.html [16:19] Connorhd_: ^ was for softdrink [16:21] softdrink: ooh nice [16:21] softdrink: my google-fu is weak this morning. [16:25] jfoutz has joined the channel [16:26] qFxo has joined the channel [16:26] bry has joined the channel [16:27] jfoutz: softdrink: not sure if anyone answered while i was away. i'm not much of a javascript guy. i haven't seen any side by side comparisons. i suspect node and tornado are both very quick, the interpreter overhead on both is small. [16:29] gwoo: jfoutz: Connorhd_ posted the link to ryah benchmark http://four.livejournal.com/1020129.html [16:29] jfoutz: wow. sick. [16:29] gwoo: yup :) [16:31] jcrosby has joined the channel [16:32] sveisvei has joined the channel [16:33] aguynamedben has joined the channel [16:33] Yuffster has joined the channel [16:33] PowerToExt_ has joined the channel [16:33] voodootikigod_ has joined the channel [16:35] voodootikigod has joined the channel [16:35] PowerToExt has joined the channel [16:35] spoob_ has joined the channel [16:35] binary42 has joined the channel [16:35] Booster has joined the channel [16:35] Vito` has joined the channel [16:35] spoob_ has joined the channel [16:37] n8o has joined the channel [16:45] spoob__ has joined the channel [16:49] voodootikigod_ has joined the channel [16:49] alexiskander has joined the channel [16:52] DamZ has joined the channel [17:04] RayMorgan has joined the channel [17:08] sudoer has joined the channel [17:10] rolfb has joined the channel [17:10] richtaur has joined the channel [17:10] Yuffster has joined the channel [17:10] Yuffster has left the channel [17:10] Yuffster has joined the channel [17:10] Booster has joined the channel [17:20] spoob__ has joined the channel [17:20] binary42 has joined the channel [17:20] Vito` has joined the channel [17:22] aguynamedben has joined the channel [17:27] rolfb has joined the channel [17:27] richtaur has joined the channel [17:29] JoePeck has joined the channel [17:29] Yuffster has joined the channel [17:29] Yuffster has left the channel [17:29] spoob__ has joined the channel [17:29] binary42 has joined the channel [17:29] Vito` has joined the channel [17:29] Yuffster has joined the channel [17:38] softdrink: i'm very much considering node (again) for my current project [17:39] binary42 has joined the channel [17:40] spoob__: softdrink; why would you use something else? [17:40] softdrink: right tool for the job ;) [17:40] spoob__: if you used Tornado, you'd have to know two languages. [17:41] spoob__: if you do know two languages, you have to write code in both. [17:41] softdrink: i'm fine with python and js though :) [17:41] spoob__: if you use nodejs, you can cut/paste your server code into your client code as you move little bits of code around [17:41] spoob__: "actually, my server doesn't have to do this, I'll just move it to the client side" [17:42] softdrink: it really comes down to raw execution speed and the agility of writing code in the correct place [17:42] spoob__: cut.... paste. Done. Whereas in Tornado, you go "ah, well, umm, it's kind of easy and I love this, but yes, I do have to admit that it's slightly more difficult than pressing control V" [17:42] softdrink: you mean "p" [17:42] softdrink: (yay vim :D) [17:43] spoob__: I use joe, loathe emacs, and I would point out that emacs won the argument when everyone started using vim instead of vi. [17:43] softdrink: another plus for node is that since i'm not supporting IE, i can use the newer js sexiness in both client and server [17:43] spoob__: modeless cursor movements? yep, vim has that! [17:44] spoob__: Tell every IE user to install Google Chrome [17:44] softdrink: i use and love vim only because i was forced to use it for a long time and i've already invested the energy into learning it :) [17:44] brandon_beacher has joined the channel [17:44] softdrink: heh damn right. i'm pushing for gcf here at work [17:45] softdrink: it's just not cost effective to support IE when all you need to do is install a totally transparent plugin. [17:45] spoob__: tahts' what I meant, sorry. Chrome Frame [17:45] voodootikigod_ has joined the channel [17:45] softdrink: but i'm not supporting IE directly is what i meant :) [17:57] brandon_beacher has joined the channel [17:58] scudco has joined the channel [18:01] spoob__: softdrink; I figure, you're gonna have to write code for the client side, so you're stuck with Javascript. You may as well be really good at it, instead of half-assed in Javascript and Python [18:02] spoob__: Javascript is surprisingly good. It has its real shitty corners, but they can be handled and it doesn't suck half as much as a pure wonderful language where everything is your fault instead of people jumping in to help with the crappy bits [18:02] spoob__: (yes, Haskell, you smegheads) [18:03] softdrink: js has become my favorite language over the past 3-ish years, starting squarely at when i actually sat down to *learn* the language lol [18:03] softdrink: the crappy parts are indeed crappy... just don't use 'em. the good parts are *awesome* [18:04] spoob__: if it wasn't that crappy in places, Microsoft would have killed it [18:05] spoob__: it was so crappy that Microsoft didn't think it could go anywhere [18:05] inimino: ... [18:05] inimino: I sense someone failed at Haskell and now blames the language, interesting [18:06] spoob__: never tried. :) [18:06] softdrink: nor have i [18:06] inimino: oh, so you're just arguing from ignorance [18:06] inimino: well, that's less rare, and less interesting [18:07] spoob__: yes, less interesting is an ideal goal [18:08] spoob__: as it is, the balances of the pros and the cons have led us both here, so we must have our agreements in spite of our differences [18:09] inimino: I'd be writing Haskell exclusively if I had the choice :) [18:10] spoob__: I'd be writing in Nu if I had mine. :) [18:10] inimino: is this your project? [18:10] spoob__: No. [18:12] spoob__: Lisp on Smalltalk on C, it is an inspired project by Tim Burks [18:16] sveisvei has joined the channel [18:25] botanicus_ has joined the channel [18:44] jamiew has joined the channel [19:09] orlandov: inimino: problem with pure functional programming is that it makes anything to do with state a pain [19:09] orlandov: whereas it'd be trivial in an imperative language [19:10] orlandov: and expecting to rearchitect a system from scratch to handle something like that isn't really pallatable for most people [19:11] inimino: orlandov: state isn't trivial in imperative languages either, it's quite possibly the single greatest difficulty with writing correct imperative programs [19:11] orlandov: i disagree [19:11] inimino: orlandov: but yes, Haskell certainly isn't for everyone [19:12] orlandov: for sure, and i'm not saying they suck or anything [19:12] orlandov: this was just on hacker news today actually, kinda what i mean [19:12] orlandov: http://www.planeterlang.org/en/planet/article/Functional_Programming_Doesnt_Work_and_what_to_do_about_it/ [19:13] orlandov: the example is not a very good one; however [19:13] inimino: ACTION expects to see Jon Harrop [19:14] inimino: oh, it's not [19:14] orlandov: heh [19:14] jfoutz: one big big difference between erlang and haskell, you can just change the function, and the compiler will tell you all the stuff you need to fix. it sounds like a pain, it is a pain, but you can grind it out pretty quick, and you don't have to think about it very hard. [19:15] orlandov: jfoutz: yeah- it's one of the reasons i love static typing... compilers should catch all that shit [19:15] inimino: orlandov: all I see there is someone who doesn't get it [19:16] jfoutz: inimino: that's the dadgum guy, implementing games in functional languages. he may not get it, but not for lack of trying ;) [19:16] inimino: his first example could be restated as "breaking referential transparency in a language that enforces referential transparency is hard" [19:16] orlandov: haha [19:25] jfoutz: zimbatm: webkit nightly, and google chrome for the mac both work with your nodejs-http-websocket patch. it's nice. thanks for making it available. (osx 10.5, i'm lazy and haven't upgraded) [19:27] felixge_ has joined the channel [19:41] rolfb has joined the channel [19:59] CIA-56: node: 03Ryan Dahl 07master * r0d7e88a 10/ (src/node.cc test/mjsunit/test-eio-race.js): [19:59] CIA-56: node: Bugfix: libeio race condition [19:59] CIA-56: node: Process at most 10 pending responses from the thread pool in one go. [19:59] CIA-56: node: 10 was chosen arbitrarily. [19:59] CIA-56: node: Test and report by Felix Geisendörfer - http://bit.ly/50Yayi [19:59] CIA-56: node: 03Ryan Dahl 07master * rdd35637 10/ (lib/assert.js test/mjsunit/test-assert.js): Fix assert.js code style - http://bit.ly/7q84Yg [19:59] CIA-56: node: 03Ryan Dahl 07master * r0accebe 10/ lib/assert.js : Stack trace for asserts shouldn't include assert module - http://bit.ly/4YXFZU [19:59] CIA-56: node: 03Ryan Dahl 07master * r53a841d 10/ src/node.cc : Simplify exception reporting - http://bit.ly/7hTjFP [19:59] CIA-56: node: 03Ryan Dahl 07master * r359d017 10/ src/node.js : Better error message on bad ARGV[1] - http://bit.ly/7iOTTW [20:02] xantus_ has joined the channel [20:03] jasonwang has joined the channel [20:09] malte_ has joined the channel [20:12] orlandov: yay for 53a841d [20:12] ryah_away: http://github.com/ry/node/blob/net2/lib/net.js [20:13] ryah_away: ^-- if anyone is interested in playing with the new networking code [20:13] ryah_away: it still needs work [20:13] inimino: whee [20:13] ryah_away: but you can do unix sockets with it [20:14] ryah_away: createServer("/tmp/node.sock") [20:15] davidsklar: ooh, nice. [20:15] ryah_away: also process.Buffer is the new way to handle binary [20:15] ryah_away: no docs though [20:15] ryah_away: ACTION is away again [20:15] orlandov: yay binary buffers too [20:16] ryah_away: (i'm trying to merge that branch in the next 2 weeks) [20:16] ryah_away: ACTION really away [20:17] inimino: great stuff [20:18] orlandov: ACTION wonders why writing to the buffer is done with asciiWrite [20:19] orlandov: given potentially binary data? [20:20] inimino: orlandov: what line? [20:21] inimino: I assume that's the V8 optimized fast string stuff, and not used except in node's 'ascii' encoding mode [20:26] inimino: it exposes the remote port, too [20:29] softdrink has joined the channel [20:39] ryah_away: orlandov: you can do buffer[i] = 123; [20:39] ryah_away: orlandov: for binary [20:42] JoePeck has joined the channel [20:43] teemow has joined the channel [20:43] teemow has left the channel [21:17] sveisvei has joined the channel [21:29] unom1 has joined the channel [21:48] sudoer has joined the channel [22:25] scudco has joined the channel [22:32] felixge has joined the channel [22:34] stephenlb has joined the channel [22:47] mikeal has joined the channel [23:00] aguynamedben has joined the channel [23:16] mikeal has joined the channel [23:23] rbranson_ has joined the channel [23:39] jasonwang has joined the channel [23:46] botanicus_ has joined the channel