[00:00] _announcer: Twitter: ""NodeJS - Caching Haml templates in js - carlfurrow.com (http://bit.ly/cykoTx)" [de] -- Carl Furrow. http://twitter.com/carl_furrow/status/3960442376429568 [00:02] evanmeagher: isaacs: i found the source of the outfd:null bug [00:02] isaacs: evanmeagher: oh? [00:02] isaacs: do tell!~ [00:03] micheil: what is this outfd stuff, anyway? [00:03] robotarmy has joined the channel [00:03] evanmeagher: isaacs: view eventually passes its cb argument down to output.write [00:03] isaacs: ahhh [00:03] isaacs: so the cb never gets called [00:03] evanmeagher: and if outfb is null, output.write simple returns [00:03] evanmeagher: yes [00:03] isaacs: because output.write is blerg [00:04] isaacs: so output.write needs to return cb && cb() [00:04] Tim_Smart has joined the channel [00:04] evanmeagher: mk, let me make the change and i'll submit a pull req [00:04] evanmeagher: or whatever you want to do lol [00:04] isaacs: evanmeagher: fixed on 413ab6b127af48925bfee19a99c317a59c5de4df [00:04] isaacs: thanks [00:05] evanmeagher: np [00:06] twoism has joined the channel [00:06] rtomayko has joined the channel [00:07] mikeal has joined the channel [00:07] justin___ has joined the channel [00:07] iheartnodejs has joined the channel [00:07] iheartnodejs: woot [00:07] AAA_awright_ has joined the channel [00:10] AutomaticPixel has joined the channel [00:10] ehaas has joined the channel [00:12] evanmeagher: what's the verdict on node-mongodb-native vs node-mongodb? [00:13] muk_mb: what's the easiest way to turn arrays/hashes into json strings to send back? [00:13] mihbe_ has joined the channel [00:13] evanmeagher: muk_mb: can call JSON.parse on properly-formatted objects [00:14] justin__ has joined the channel [00:15] aconbere has joined the channel [00:15] bpot has joined the channel [00:16] muk_mb: evanmeagher: that gets ms json=>hash doesn't it? [00:16] sudoer has joined the channel [00:16] justin__: isaacs: is it possible to have a github url as part of a dependency object in package.json? [00:16] evanmeagher: muk_mb: ah, duh. sorry, you're right. [00:17] isaacs: justin__: no, not at this time. [00:17] justin__: k, thanks [00:17] isaacs: justin__: you can install any tarball url, and then depend on it being there. [00:17] isaacs: justin__: you can also publish anything from anywhere. [00:17] polotek: I usually do pretty well with jslint [00:18] polotek: would be awesome if I can supress the warnings about no semi after functions [00:18] _announcer: Twitter: "Javascript: Shindig wave feature of drawing a simple chat achieved feat. Node.js and Socket.IO - cans of beer and love and courage: http://bit.ly/cUsfRB" [ja] -- bsiyo. http://twitter.com/bsiyo/status/3965003174518785 [00:18] rossi_j has left the channel [00:18] muk_mb: aha, JSON.stringify(); [00:18] justin__: yeah, i just depend on a package that hasn't been published [00:18] justin__: but has a package.json [00:18] justin__: i guess i could publish it... [00:19] unomi: isaacs, why don't you get together with krizyp and his nodules? [00:20] unomi: or is there something 'wrong' with his? [00:20] isaacs: justin__: the custom is to publish, and send an email to the owner, and if they have an npm account, also add them as an owner with "npm owner add " [00:20] isaacs: unomi: nodules and npm are different animals altogether. [00:20] isaacs: unomi: different philosophies. [00:20] justin__: isaacs: that'll work just fine, thanks [00:20] hsuh has joined the channel [00:23] evanmeagher: muk_mb: this is probably too late, but mdc has decent docs on JSON methods: https://developer.mozilla.org/En/Using_JSON_in_Firefox [00:24] muk_mb: thanks :) [00:25] nbqx has joined the channel [00:25] unomi: well, it just seems a shame, I think you 2 will end up reinventing each others wheels [00:26] unomi: the functionality of being able to just run an app and have it resolve its own dependencies on the fly seems valuable for something like node [00:26] polotek: unomi: not really. more like they are inventing different wheels [00:26] polotek: to solve a set of problems that overlap in places [00:27] unomi: perhaps I don't know enough of what I am talking about, what different problems are they trying to solve? [00:27] unomi: from rails, something like gem install vs bundle install ? [00:27] polotek: unomi: npm has a central registry and resolves dependencies from that registry [00:28] polotek: it also encourages people to submit their packages there, version them and keep them up to date [00:28] isaacs: unomi: neither realy correspond directly to bundler or gem [00:28] polotek: nodules is for mapping in dependencies from remote sources [00:28] polotek: in any way you want without encouraging any particular workflow [00:28] sudoer has joined the channel [00:28] polotek: you can remap names and paths as well [00:29] polotek: I'm not actually sure what's good about how nodules does things [00:29] polotek: seems "messy" [00:29] polotek: but then again I've never used it so I'm almost certainly missing something [00:29] evanmeagher: polotek: agreed, although i admittedly havent dealt with nodules much [00:30] evanmeagher: it seems to me that npm has more weight behind it in terms of larger players within the node community [00:30] unomi: I guess where that can be valuable is where you have 'private' dependencies [00:30] isaacs: nodules is a module loader. npm is a package manager. gem is both. bundler is both, and tries to fix what gems does wrong. [00:30] unomi: you provision a server nvm install the version, call the app and off it goes [00:30] isaacs: unomi: you can do that with npm, too [00:31] polotek: isaacs: npm does a lot that people don't know about [00:31] isaacs: nodules is great if you want really sophisticated fancy pants commonjs require magic [00:31] polotek: the "npm insall foo" theme has definitely caught on [00:31] isaacs: polotek: i know, one of these days i'm gonna end up having to write a book [00:31] unomi: hah [00:31] polotek: but you should market the other features as well [00:31] polotek: I learn about new stuff all the time [00:31] isaacs: yeah... [00:32] isaacs: it's just that it's so much more fun to hack than talk. [00:32] polotek: isaacs: agreed [00:32] isaacs: plus, it builds mystique [00:32] polotek: I spend one good weekend writing the docs for libxmljs [00:32] polotek: burned me out [00:32] polotek: now I don't wanna touch it [00:32] isaacs: now, if you know some npm trick, it makes you special. [00:33] polotek: ryah: I could really use that eventSource mojo right now :( [00:35] _announcer: Twitter: "Premium SMS API on node.js http://bit.ly/brIJaT #fortumo #awesome #node" -- Johan Bouveng. http://twitter.com/jbouveng/status/3969193401647105 [00:35] robotarm_ has joined the channel [00:35] springmeyer has joined the channel [00:36] _announcer: Twitter: "node.js I want to use, or use 考Etsukanai feeling exhausted idea what www" [ja] -- やーん. http://twitter.com/1yaan/status/3969593760546816 [00:37] johan_bouveng: this is really nice : https://github.com/andris9/node-fortumo/blob/master/example/minimal.js [00:37] johan_bouveng: :))) [00:38] robotarmy has joined the channel [00:38] isaacs: justin__: https://github.com/isaacs/npm/commit/f65d92969907b1909a3978ee08bee911cc10fcd4 [00:38] isaacs: ACTION is taking requests today, apparently. [00:39] johan_bouveng: isaacs: can i have a massage? [00:39] johan_bouveng: i would like orange juice aswell. [00:39] johan_bouveng: fresh. [00:39] justin__: isaacs: awesome [00:39] isaacs: johan_bouveng: npm install juice-massage [00:39] johan_bouveng: :D [00:39] johan_bouveng: that fortumo module is really nice. [00:40] johan_bouveng: and that seems to be a really good provider. [00:40] johan_bouveng: 46 countries, 0 fees. [00:41] davidascher has joined the channel [00:41] Tim_Smart has joined the channel [00:42] isaacs: justin__: so the issue there is that now it won't *need* to install stuff that's bundled, but it still will install the deps every time anyway [00:42] isaacs: even though they're bundled. [00:43] isaacs: because it doesn't wait to unpack the tarball before deciding what to install, it just reads the data, makes the list, and then does it all in parallel [00:44] isaacs: i guess i could have publish strip those things out from the dependencies hash if they're bundled... [00:49] mikew3c has joined the channel [00:51] matt_c_ has joined the channel [00:51] ajpiano has joined the channel [00:51] mihbe_ has joined the channel [00:51] mikeal has joined the channel [00:53] polotek: okay folks, I'm outta here. take it light [00:53] polotek has left the channel [00:55] isaacs: npm v0.2.8 published. bundle is way more awesome now. [00:57] mikeal has joined the channel [00:58] CIA-95: node: 03Micheil Smith 07master * r17595b5 10/ (3 files in 2 dirs): Various changes to Net Documentation, ammended style for API. - http://bit.ly/9j2YIw [00:58] CIA-95: node: 03Micheil Smith 07master * r09e60aa 10/ doc/api_assets/style.css : A few changes to the style, specifically for h3 + h3 - http://bit.ly/abUH7C [00:58] CIA-95: node: 03Micheil Smith 07master * rf9ad171 10/ (3 files): Added documentation for which module to require to use the methods defined in that documentation - http://bit.ly/91OEkA [00:58] CIA-95: node: 03Micheil Smith 07master * ra6c3d71 10/ doc/api/events.markdown : Reworked and cleaned up documentation for Events - http://bit.ly/aIfGtE [00:59] micheil: ryah: cherry-picking? [01:00] ajcates has joined the channel [01:01] Tim_Smart: cherry picking is hot. [01:02] micheil: Tim_Smart: so are these makefile changes.. [01:02] micheil: Tim_Smart: see: https://github.com/ry/node/pull/419 [01:03] MikhX has joined the channel [01:05] necrodearia has joined the channel [01:06] AAA_awright_ has joined the channel [01:08] tk has joined the channel [01:09] Tim_Smart: micheil: I'll take a look after I have awesome wm configured :) [01:09] micheil: k [01:10] MattJ: awesome wm is... awesome [01:13] UHMA has joined the channel [01:19] spetrea has joined the channel [01:22] _announcer: Twitter: ".@jttigernassau to answer my own question, Apricot is the hpricot (html parser) for node.js - http://github.com/silentrob/Apricot #nodejs" -- Hafþór Stefánsson. http://twitter.com/hafthor/status/3981157712527360 [01:22] _announcer: Twitter: "No, I’m not writing Node.js, you hippy. THIS… IS… ANSI C! #conversationatstarbucks" -- Brandon Gilmore. http://twitter.com/illegible/status/3981238897483776 [01:24] SkyMarshal has left the channel [01:24] _announcer: Twitter: "Nearing a 0.2 release of my FFI for node.js. Testers much appreciated. http://bit.ly/9rAH7v" -- Rick. http://twitter.com/rbranson/status/3981646265061377 [01:24] spetrea has joined the channel [01:26] zentoooo has joined the channel [01:29] bpot has joined the channel [01:29] hornbeck has joined the channel [01:31] saikat has joined the channel [01:31] DanielSim has joined the channel [01:32] _announcer: Twitter: "Hmmm, NodeJS + Objective-J = Server Side Objective-C ?" -- Keri Henare. http://twitter.com/KeriHenare/status/3983698777079808 [01:33] rbranson: wtf [01:38] ben_alman_ has joined the channel [01:38] davidascher has joined the channel [01:39] jpld: how does someone get objective-c out of that? [01:40] eee_c has joined the channel [01:41] robotarmy has joined the channel [01:43] necrodearia has joined the channel [01:44] robotarmy has joined the channel [01:45] mizerydearia has joined the channel [01:45] ratsbane has joined the channel [01:45] _announcer: Twitter: "@zackify nice man, I did something similar but wrote it in Node.JS and used the Twitter streaming API to show new pics in realtime :)" -- Ryan LeFevre. http://twitter.com/MeltingIce/status/3987010545000449 [01:48] dnyy: bah, anyone know if i have to do something special to get socket.io to work on android 2.2? i changed the transports to not include flash but it’s still not connecting. [01:50] rbranson: turn off websocket too? [01:50] dnyy: eh, that doesn’t help android but also breaks chrome [01:52] mbrochh has joined the channel [01:53] AAA_awright_ has joined the channel [01:55] mAritz has joined the channel [01:55] jakehow has joined the channel [01:59] davidascher has joined the channel [02:00] mscdex: i dunno, i had some issues with long polling on android 1.6, but it worked [02:01] ajsie: anyone knows why i cant run this test: http://pastie.org/1298555 [02:01] ajsie: its with Vowsjs [02:02] ajsie: i copied the test directly from the Guide [02:02] tony_ has joined the channel [02:03] _announcer: Twitter: "After a long time of procrastinating, I'm finally setting up NodeJS on my Amazon ec2 instance." -- Jaime Bueza. http://twitter.com/jbueza/status/3991398667780096 [02:07] prettyrobots has joined the channel [02:07] AAA_awright_ has joined the channel [02:09] indutny has joined the channel [02:09] indutny: hi everyone [02:12] mihbe has joined the channel [02:13] bpot has joined the channel [02:16] nsyee has joined the channel [02:27] cataska has joined the channel [02:30] Twelve-60 has joined the channel [02:31] _announcer: Twitter: "Languages/frameworks I tinkered with at #railscamp: Sinatra, JQuery, PHP, Coffeescript, Node.js, straight Ruby. Spot the missing one." -- drew robinson. http://twitter.com/ocean/status/3998390165708800 [02:32] InsDel has joined the channel [02:40] bartt has joined the channel [02:45] prettyrobots has joined the channel [02:51] meso has joined the channel [02:53] arlolra has joined the channel [02:53] muk_mb has joined the channel [02:54] _announcer: Twitter: "node.js in the cloud was easy, but oubtound HTTP (with DNS resolution) was hard on Windows. Had to change code and rebuild. :-(" -- Steve Marx. http://twitter.com/smarx/status/4004237402968064 [02:54] SvenDowideit has joined the channel [02:56] jvolkman_ has joined the channel [02:56] WRA has joined the channel [02:59] evanmeagher has joined the channel [03:00] _announcer: Twitter: "@ Arekuzu Interesting, but I've never been FANDE node.js And I've been doing a couple of tests with nginx to see how good it gets = D" [es] -- Der Ketzer. http://twitter.com/der_ketzer/status/4005855947128832 [03:04] ehaas has joined the channel [03:07] Me1000 has joined the channel [03:09] _announcer: Twitter: "@sebmarkbage This case it's a server based on #nodejs. I've thought of compiling on demand but I don't like shaving yaks if I don't have to." -- Sami Samhuri. http://twitter.com/_sjs/status/4008049614262273 [03:11] davidc_ has joined the channel [03:12] twoism has joined the channel [03:12] dohtem has joined the channel [03:12] dohtem has joined the channel [03:13] tapwater_ has joined the channel [03:14] mbrochh has joined the channel [03:17] EyePulp has joined the channel [03:19] randy has joined the channel [03:21] mikew3c has joined the channel [03:21] jamescarr: always dead on a sunday night [03:21] micheil: generally. [03:21] micheil: for me, it's a monday lunchtime. [03:22] indutny: haha :) [03:23] Blink7 has joined the channel [03:25] rkieffer has left the channel [03:25] bpot has joined the channel [03:26] jpld: jamescarr: you could work on SSL support during the lull (0: [03:27] boaz has joined the channel [03:28] jamescarr: micheil, ah I keep forgetting you're from the down under [03:35] Tim_Smart has joined the channel [03:37] noahcampbell has joined the channel [03:37] AAA_awright_ has joined the channel [03:41] mikeal has joined the channel [03:43] ehaas has joined the channel [03:44] matt_c has joined the channel [03:44] sirevanhaas has joined the channel [03:44] AAA_awright_ has joined the channel [03:45] elijah-mbp has joined the channel [03:46] dgathright has joined the channel [03:50] JimBastard has joined the channel [03:50] kodisha has joined the channel [03:55] AAA_awright has joined the channel [03:56] Tim_Smart has joined the channel [03:56] webr3: has anybody got client side certificates working with secure websockets on node.js yet? [03:57] webr3: or even a pointer to what needs to be done? [03:58] SubStack: I've /tried/ [03:59] _announcer: Twitter: "Shutdown my slicehost account and temporarily migrated to http://no.de/ Can't beat a free git powered node.js instance." -- Tyler Stalder. http://twitter.com/tylerstalder/status/4020759441711104 [04:00] noahcampbell has joined the channel [04:00] admc has joined the channel [04:00] elijah-mbp has joined the channel [04:00] webr3: ack, I've been /trying/ for the past couple of hours too [04:01] webr3: would really help if I knew whether the browsers even support client side certs for wss:// or not first! docs on the web are minimal [04:04] tony_ has joined the channel [04:04] _announcer: Twitter: "Dry! Node.JS like fun, but there are a lot of things are busy, no time to read fine again ..." [zh-TW] -- 李學斌 / lxb / ابن السب. http://twitter.com/bencrox/status/4021908286734337 [04:05] temp01 has joined the channel [04:05] murz has joined the channel [04:05] Dreamer3: ha [04:06] Dreamer3: use safari [04:06] Dreamer3: oh [04:06] Dreamer3: client side certs [04:06] Dreamer3: dont' they all you just have to put the certs inthe right place? [04:06] _announcer: Twitter: "Compiling node.js for the first time." -- Chris Traganos. http://twitter.com/ctraganos/status/4022522358005760 [04:07] boaz has joined the channel [04:07] webr3: got client side certs in my browser(s) already, got node running secure https server which asks for certs, modified node crypto.cc to give me more details which i need, got websockets working, got secure websockets, can't get secure websockets with client side certs working [04:08] AAA_awright_ has joined the channel [04:08] webr3: browser(s) all silently fail (half of them dont even support wss:// anyways) [04:08] Dreamer3: no idea [04:08] webr3: have ran tcpdum and can see it tryign to start the connection, but then fails - and can't see enough across the wire to debug [04:08] webr3: google is about as much help as a wet fart on this one [04:10] Aria: fun! [04:11] micheil: jamescarr: haha, yeah [04:11] webr3: ACTION tries dev channel chrome [04:12] micheil: webr3: if you're about in about 2 hours, we should talk about wss:// [04:12] jamescarr: is it really too much to assume attendees at the Rich Web Experience don't get object oriented javascript? [04:12] _announcer: Twitter: "seriously why can I not get geonode (the nodejs package) to work on my mac? I'm really thinking there's an issue with it... trying a vm" -- Chris Helm. http://twitter.com/cwhelm/status/4023927609237504 [04:12] webr3: micheil, think I may be away then tbh, it's 4am here - but will be around tomorrow / all week [04:12] jamescarr: I mean to assume they would get it :) [04:12] micheil: webr3: sure. [04:12] smtlaissezfaire has joined the channel [04:13] webr3: micheil, using your websocket-server :) nice code [04:13] micheil: webr3: sweet, be sure to report any issues [04:13] micheil: and make sure you're using 1.4.00 [04:14] webr3: yeah i just pulled it down tonight :) [04:14] micheil: sweet. [04:14] webr3: got one issue, see above - can I leave it with you yeah? thanks! [04:14] webr3: ACTION tries.. [04:14] micheil: wss? [04:14] micheil: check the repo, examples/secure or something [04:14] micheil: one of them showed it [04:15] micheil: I did have it working in chromium [04:15] webr3: nah I've got it all working w/ wss:// [04:15] webr3: just can't get client certs for wss working [04:15] micheil: ah [04:15] micheil: yeah, it doesn't prompt for certs [04:15] micheil: it's something that's borked at browser level [04:16] webr3: ahh that's what I was hoping, so chrome et al don't support client certs over wss yet yeah? [04:16] micheil: I don't think so. [04:16] webr3: looked like node/v8 was supporting find on tcpdump which was what confused me [04:18] webr3: ACTION sighs, still failing w/ 9.0.576.0 dev [04:18] Aria: time to file a bug! [04:18] isaacs has joined the channel [04:19] indutny: Omo has awake [04:19] Aria: Oh boy! I just wrote something that stack overflowed out, and no exception. Lovely. [04:19] indutny: Congrats, Aria [04:19] indutny: May be you'll gain money for that [04:19] AAA_awright has joined the channel [04:20] Aria: Time to untangle my code and not write something that screams ENOTSOBER. [04:25] Anti-X: http://clientsfromhell.net/post/1564899185/quirky [04:26] Dreamer3: anyone doing anything really cool in node they need help with? [04:26] _announcer: Twitter: "smashing together node.js, secure websockets, rdf api, webid protocol and redis, and then fell off the edge of the web http://bit.ly/9KC5Ch" -- nathan. http://twitter.com/webr3/status/4027446928080896 [04:27] _announcer: Twitter: "Node.js: Building a Simple Web Service: http://bit.ly/cq9hFe" -- Larry Wright. http://twitter.com/larrywright/status/4027577077338112 [04:28] indutny: Dreamer3: you can take a look at my nodeapp: http://github.com/donnerjack13589/nodeapp or something else like nTPL or other, if you're interested [04:28] indutny: but i'm not sure if it's "really cool" [04:29] Dreamer3: yeah ithink i'm looking for something higher level [04:29] Dreamer3: so i can try out a few frameworks, templates, etc [04:29] Dreamer3: want to try coffeescript, eco, etc [04:29] indutny: oh [04:29] indutny: i think you need to contact authors [04:29] Aria: Wow. quirky. [04:30] Aria: ACTION is quirky like that. [04:30] Tim_Smart has joined the channel [04:30] Dreamer3: but i think i need a simple idea... too complex and i'd just build it in rails :) [04:30] webr3: you could build a realtime chat app in node.js, nobodies done that yet [04:31] indutny: webr3: quirky [04:31] indutny: :) [04:31] indutny: or game, where you're acting pixel [04:31] Dreamer3: webr3: really? [04:31] indutny: and you need to construct figure [04:31] indutny: that is shown near to the pixel field [04:31] Dreamer3: isn't that the first thing people would build [04:31] indutny: no [04:32] indutny: , of course, no [04:32] indutny: noone has built it yet [04:32] webr3: you could be the first! [04:32] Dreamer3: http://chat.nodejs.org/ [04:32] indutny: that's a fake [04:32] webr3: nah that doesn't count, that's just a fakey demo [04:32] Dreamer3: though it doesn't seem to work :) [04:32] indutny: i've just said it [04:33] Dreamer3: i dont' think it's meant to be a fake :) [04:33] Dreamer3: is everyone using 0.2.4 or the 0.3 beta? [04:33] indutny: 0.2.4 on win32 [04:33] indutny: and 0.3 on ubuntu [04:36] Dreamer3: should i start with 0.3? [04:36] indutny: yes [04:36] Dreamer3: homebrew has 0.2.4 etc [04:36] indutny: there're compability issues [04:37] indutny: so porting can be a headache [04:40] Dreamer3: installing 0.3 :) [04:44] _announcer: Twitter: "Hadoop, Mongo db, node.js, R,,, and to work hard ーー." [ja] -- seikoudoku2000. http://twitter.com/seikoudoku2000/status/4031923903004673 [04:44] indutny: ok ) [04:45] _announcer: Twitter: "fooling with #nodejs and #socket.io and noticed that my JS objects come to the client with a "~j~" prefix (ie: ~j~{key:value}) - why?" -- Tilo Mitra. http://twitter.com/tilomitra/status/4032119726673920 [04:47] jpld has joined the channel [04:50] _announcer: Twitter: "I am very satisfied with my simple Node.js website framework. JavaScript for the win." -- Paul Armstrong. http://twitter.com/paularmstrong/status/4033589360463872 [04:55] AAA_awright_ has joined the channel [04:55] Dreamer3: ok where are the new 0.3 docs again? [04:55] Dreamer3: if /api is old [04:55] indutny: nono [04:55] indutny: api is most recently doc [04:56] Dreamer3: oh ok [04:56] Dreamer3: ha it does say that in the corner [04:57] jesusabdullah: I've actually never used R [04:59] meandi2 has joined the channel [05:01] indutny: jesusabdullah: what? [05:01] indutny: R language? [05:03] Dreamer3: an irc server that talked IRC as well as had a built in web UI would be pretty sweet [05:04] indutny: freenode? [05:05] Dreamer3: does it? [05:06] indutny: http://webchat.freenode.net/ [05:06] Dreamer3: that's just an IRC client [05:07] Dreamer3: i meant an iRC server that talked HTTP itself [05:07] Dreamer3: not just an IRC client [05:07] masahiroh has joined the channel [05:07] jesusabdullah: indutny: Yeah, the stats language [05:07] jesusabdullah: Ooh, I'll be taking a stats class next semester--I can use it then! [05:07] jesusabdullah: Always good to learn new things! [05:08] indutny: jesusabdullah: how old are you? [05:08] Tim_Smart: ryah: around? [05:08] indutny: hey, glad to see you there [05:10] _announcer: Twitter: "Now I want to rebuilt linky.ws in like node.js with a riak back-end. RETARDED!" -- Michael Whalen. http://twitter.com/whalesalad/status/4038423501348865 [05:11] ehaas has joined the channel [05:13] dan4 has joined the channel [05:14] jesusabdullah: indutny: I'm 23. Why? [05:15] mbrochh has joined the channel [05:15] indutny: just interest [05:15] dan4 has left the channel [05:15] jesusabdullah: How old did you suspect I was? ;) [05:15] indutny: dunno [05:15] indutny: :D [05:16] jesusabdullah: How old are YOU? [05:16] indutny: 20 [05:17] murz has joined the channel [05:17] jesusabdullah: Ah [05:17] jpld: ACTION waits for age/sex/location/religion check [05:18] rbranson: ASL [05:18] rbranson: 18/f/urcock [05:19] indutny: rbranson: are you female? [05:19] indutny: 20/m/Russia, omsk [05:19] rbranson: nope [05:19] jpld: oh dear… [05:19] rbranson: i am the joek [05:19] indutny: :D [05:19] _announcer: Twitter: "Ahh, nvm the last #nodejs question - figured it out :)" -- Tilo Mitra. http://twitter.com/tilomitra/status/4040828183904256 [05:19] jesusabdullah: Hah, I think my reply got eateded [05:30] twoism has joined the channel [05:31] Gruni has joined the channel [05:35] _announcer: Twitter: "#nginx + #spider_monkey vs #node.js ?! https://github.com/kung-fu-tzu/ngx_http_js_module" -- gmarik. http://twitter.com/gmarik/status/4044826198675456 [05:41] jamescarr: indexzero you here? [05:42] indexzero has joined the channel [05:43] indexzero: indutny told me I was summoned [05:43] indexzero: what's up? [05:44] galaxywatcher has joined the channel [05:45] _announcer: Twitter: "Node.JS the server found a lot of FIN_WAIT2. . . Children to see Editor's Note" [zh-CN] -- He Dan. http://twitter.com/derek_he/status/4047228721172480 [05:46] janne has joined the channel [05:46] _announcer: Twitter: "RT Nginx and Spider Monkey's meeting, the trip to the other engine, too? @ Gmarik: # nginx + # spider_monkey vs # node.js?! http://bit.ly/apOlBH" [ko] -- Rhio.kim. http://twitter.com/Rhiokim/status/4047610729992193 [05:47] cnu has joined the channel [05:48] zum has joined the channel [05:49] T-Co has joined the channel [05:50] jakehow has joined the channel [05:51] LionMade0fLions has joined the channel [05:54] mikeal has joined the channel [06:01] derferman has joined the channel [06:02] SubStack has joined the channel [06:05] SubStack_ has joined the channel [06:05] siculars has joined the channel [06:06] superjudge has joined the channel [06:07] _announcer: Twitter: "@_sjs I don't know much about the c ecosystem, but cross-language libraries on the jvm seem pretty popular currently. Why not js/node, too?" -- Jacob Rothstein. http://twitter.com/jacobrothstein/status/4052772404076544 [06:10] derren13 has joined the channel [06:10] aurynn has joined the channel [06:10] davidascher has joined the channel [06:12] kawaz_home has joined the channel [06:13] ajpiano has joined the channel [06:14] jacobolus has joined the channel [06:16] micheil: rbranson: hey [06:18] sveisvei has joined the channel [06:18] jakehow has joined the channel [06:24] SubStack_ has left the channel [06:28] bartt has joined the channel [06:30] dgathright has joined the channel [06:32] dnolen has joined the channel [06:33] fangel has joined the channel [06:43] sh1mmer has joined the channel [06:45] zomgbie has joined the channel [06:46] micheil: wow. It's really quiet tonight [06:46] mape: People are getting ready for work? [06:46] CIA-95: node: 03Ryan Dahl 07master * r25eecd1 10/ wscript : Fix configure on x86 - http://bit.ly/a52tO0 [06:47] intacto has joined the channel [06:47] Aria: I'm just taking the time to actually work on stuff. [06:48] ryah: ACTION not working [06:49] Aria: "not working" you say, as you fix a small bug. [06:51] micheil: well, it' [06:51] micheil: s not work if you enjoy it, right? [06:51] alexfner has joined the channel [06:52] Aria: Do NOT let the people who write me checks hear you say that. [06:52] ewdafa has joined the channel [06:53] mape: Well, since you like doing this so much, you wouldn't mind working a little over time... Right? [06:55] stalled has joined the channel [06:56] prettyrobots has joined the channel [06:57] micheil: ryah: so, what was the go with the makefile changes? still needing reviewing? [07:02] mraleph has joined the channel [07:07] jakehow has joined the channel [07:09] _announcer: Twitter: "If you're interested in node camp, you'd better register now. It looks like it's going to be 100% early bird. http://camp.nodejs.org" -- isaacs. http://twitter.com/izs/status/4068508535103488 [07:10] Fullmoon has joined the channel [07:13] prettyrobots has joined the channel [07:13] CIA-95: node: 03isaacs 07master * r9996b45 10/ (lib/fs.js lib/path.js lib/url.js test/simple/test-path.js): [07:13] CIA-95: node: Implement new path.join behavior [07:13] CIA-95: node: 1. Express desired path.join behavior in tests. [07:13] CIA-95: node: 2. Update fs.realpath to reflect new path.join behavior [07:13] CIA-95: node: 3. Update url.resolve() to use new path.join behavior. - http://bit.ly/b8OOxJ [07:13] CIA-95: node: 03Ryan Dahl 07master * rd7e7161 10/ (.gitignore Makefile doc/node.1): Add small crappy manpage (please improve) - http://bit.ly/dbeUEE [07:14] mbrochh has joined the channel [07:14] mbrochh has joined the channel [07:16] _announcer: Twitter: "working on streamlining the api for #nodejs #postgresql client http://bit.ly/aqsXSo" -- Brian Carlson. http://twitter.com/briancarlson/status/4070149346820096 [07:16] liar has joined the channel [07:18] ryah: micheil: did you send me a new one? [07:18] ryah: i didn't see it [07:18] micheil: hmm, it should be in the pull request from before [07:18] mscdex has joined the channel [07:18] micheil: https://github.com/ry/node/pull/419 [07:18] micheil: https://github.com/miksago/node/commit/5044ad64d3bd025444f2d854b34bf5a7c13d2068 [07:19] _announcer: Twitter: "@mikeal ideas about your node.js email sender hanging off _changes. Interested in your thoughts http://bit.ly/8NYvTZ" -- Mike Fedyk. http://twitter.com/MikeFedyk/status/4070891101093888 [07:19] micheil: (I did also add in the build/default/node rule [07:21] ryah: micheil: not applying to master [07:21] micheil: let me rebase. [07:23] micheil: ah, yeah, the makefile got changed in HEAD^^ [07:23] evanmeagher has joined the channel [07:23] sveimac has joined the channel [07:24] rcy has joined the channel [07:24] webr3: ACTION hooks tail -f access.log up to a websocket, handy! [07:26] micheil: ryah: I'll update it in a minute, running through the automerge & manual merge rebase. [07:29] micheil: ryah: okay, that should merge fine now. [07:29] _announcer: Twitter: "Starting down the Node.js, MongoDB, CouchDB, et al. rabbit hole tonight. Just reading so far." -- Justin Miller. http://twitter.com/incanus77/status/4073471126544384 [07:29] ryah: micheil: https://github.com/miksago/node/commit/ace5d2e82620b06b977e72d40065d06614d9fb19 ? [07:29] bentomas has joined the channel [07:29] micheil: what's wrong with that? [07:30] ph^ has joined the channel [07:30] micheil: that's the one that didn't work, right. [07:30] micheil: https://github.com/miksago/node/commit/38a1f41c2cf0b16641325ac5fdaad8ea025d84f4 [07:30] micheil: this patches over that. [07:30] mraleph has joined the channel [07:32] TomsB has joined the channel [07:33] ryah: micheil: so when i do "make doc docopen" [07:33] ryah: % ls -dl build/doc/api/all.html [07:33] ryah: drwxr-xr-x 2 ryan ryan 4096 2010-11-14 23:32 build/doc/api/all.html [07:33] ryah: ^- directory? [07:34] micheil: it.. shouldn't be. [07:34] micheil: -rw-r--r-- 1 micheil staff 124647 15 Nov 18:34 all.html [07:35] ryah: rm -rf build/doc && make doc && ls -ld build/doc/api/all.html [07:35] micheil: on master:HEAD of my fork, that's what I get.. [07:35] micheil: same thing [07:35] ryah: hm [07:35] ryah: i must be missing some changes... [07:35] micheil: my master should merge / rebase fine onto yours [07:36] micheil: one sec. I'll check on my other checkout of yours. [07:36] spetrea has joined the channel [07:39] trochala has joined the channel [07:39] _cheerios has joined the channel [07:40] ph^ has joined the channel [07:40] micheil: ryah: without cherry picking, my master merges fine onto yours [07:41] micheil: (just doing a git merge miksago, where that branch tracks miksago/master [07:42] indutny: ryan: is this todo done? [07:42] indutny: fs.readFile and fs.readFileSync need to not stat and prealloc a buffer [07:42] indutny: based on size but rather read until EOF into a chain of buffers, then [07:42] indutny: concat them together. [07:42] indutny: ryah* [07:42] indutny: sorry [07:42] indutny: typo [07:43] ryah: indutny: they should do that now. [07:43] micheil: it looks like that todo is done [07:43] indutny: ryah: oh, ok [07:44] ryah: indutny: test/simple/test-fs-read-file-sync-hostname.js [07:44] indutny: suppose, it would be better to mark it [07:45] indutny: is there anything else that I can do to help node.js ? [07:45] micheil has left the channel [07:45] micheil has joined the channel [07:45] micheil: dammit. [07:45] ryah: indutny: you can improve the man page :) [07:45] indutny: wow :) [07:45] micheil has left the channel [07:46] indutny: how interesting [07:46] indutny: :) [07:46] indutny: may be something that needs more programming skills [07:46] ryah: okay.hm.. [07:47] micheil has joined the channel [07:47] micheil: the second last todo there would probably take some programming skills? [07:47] indutny: one moment [07:48] indutny: ok [07:48] indutny: i'll find what can I do here [07:48] micheil: but it'd probably take a fair bit of rewriting of stuff [07:49] micheil: - Documentation needs a major refactor; should generate more than one HTML [07:49] micheil: page/man page from the single api.markdown file. Deep sections should be [07:49] micheil: allowed. [07:49] micheil: we're sort of working on this at the moment, but contributions to the docs are always welcome [07:50] indutny: this task looks quite blurry [07:50] indutny: without exact aim [07:50] micheil: the process one? [07:50] indutny: nono [07:50] pandark_ has joined the channel [07:50] micheil: which? [07:50] indutny: about documentation [07:50] micheil: oh [07:51] micheil: well, the single api page was getting really hard to manage, I've since contributed back a patch on that, and I'm just saying that work on the documentation is always liked [07:51] ryah: indutny: nodejs-dev is the dev list [07:51] ryah: there's actually a lot to work on [07:52] indutny: thanks ryah [07:52] ryah: but nothing i can think of that extracts very easily :) [07:52] indutny: :) [07:52] indutny: may be nodejs doc could be stored in json parts [07:52] indutny: and loaded dynamically [07:52] ryah: but - follow along, there's always issues popping up [07:52] indutny: or something like that [07:53] indutny: any markup engine could be used [07:53] micheil: indutny: easiest as markdown files [07:53] ryah: micheil: hm - so did you figure out what i'm missing? [07:53] micheil: we've already got all the tooling (I've just been rewriting it) [07:53] indutny: oh [07:53] ryah: i'd like to land this puppy before i sleep :) [07:53] micheil: I'm thinking it's one of the latter commits [07:53] indutny: :) [07:53] micheil: 38a1f41 [07:54] micheil: or b58ae2e [07:54] indutny: oh, i see [07:54] matjas has joined the channel [07:56] ryah: micheil: when i checkout your master on github, it also creates a dir for me [07:56] micheil: hm.m. [07:56] micheil: it shouldn't. [07:56] indutny: magic dir [07:57] indutny: i'll try it too [07:57] ryah: micheil: also im leaving out the freelist docs [07:57] ryah: i dont want that public [07:57] micheil: ryah: okay [07:58] micheil: ryah: I'll follow up a patch to fix that. [07:58] micheil: (remove from the toc and such [07:58] micheil: wow. this repo's getting kinda large. [07:59] ph^ has joined the channel [08:00] _announcer: Twitter: "I need more details about node.js #nodejs" -- WaiKee Kong. http://twitter.com/WaiKeeK/status/4081219763441664 [08:01] micheil: ryah: I'll let you know what I get on a fresh clone of miksagi:master [08:01] micheil: *miksago:master [08:01] micheil: So far I see no directory created [08:01] micheil: trying `make doc` [08:03] micheil: ryah: what directory did it create? [08:04] micheil: hangon. what's this? https://github.com/miksago/node/blob/b58ae2e7b4c4c9026869f0ba98f1aa61c1675583/test/fixtures/readdir/these [08:04] micheil: I didn't add those.. [08:05] micheil: although, I don't see this directory that's being created [08:06] zentoooo has joined the channel [08:08] hellp has joined the channel [08:09] arlolra has joined the channel [08:10] MikhX has joined the channel [08:11] floyd_ has joined the channel [08:11] faust45 has joined the channel [08:13] Jonasbn_ has joined the channel [08:18] Gruni has joined the channel [08:18] ivanfi has joined the channel [08:19] mikeal has joined the channel [08:19] meandi has joined the channel [08:21] dquestions has joined the channel [08:22] micheil: ryah: any luck? [08:22] _announcer: Twitter: "seems to work better than last week but stil not usable: http://chat.nodejs.org/ #node.js guys should fix it or stop linking to it." -- Krzysztof Kula. http://twitter.com/krzychukula/status/4086799655763968 [08:22] SamuraiJack has joined the channel [08:23] Gruni has joined the channel [08:26] admc has joined the channel [08:27] stephank has joined the channel [08:35] delapouite has joined the channel [08:35] virtuo has joined the channel [08:36] serard has joined the channel [08:36] Tim_Smart has joined the channel [08:37] micheil: hey Tim_Smart [08:38] indutny: micheil: i've cloned your repo [08:38] indutny: what dir should i see or shouldn't ? [08:38] micheil: I'm not sure [08:38] micheil: supposedly build/doc/api/all.html is a directory [08:38] micheil: not that it has ever been [08:38] micheil: (make doc to get it) [08:38] indutny: make doc ? [08:38] indutny: ok [08:40] zentoooo has joined the channel [08:41] indutny: two minutes [08:41] indutny: i'll compile node [08:41] WRA has joined the channel [08:41] micheil: it'll do it automatically [08:41] indutny: i know [08:41] indutny: just said that [08:41] indutny: :) [08:41] Tim_Smart: hey micheil [08:42] micheil: man.. 2.3 hours of audio, 5 GB's.. [08:43] Tim_Smart: That isn't too bad. [08:43] Tim_Smart: I remember when we did a 32 track recording of a live mix. [08:43] micheil: that's a total of 2 channels with 2 tracks each file. [08:43] micheil: erm [08:43] Druid_ has joined the channel [08:43] micheil: 2 tracks per section, 2 channels per track [08:44] _announcer: Twitter: "on the weekend experimenting with node.js. make an http stream from aon.tv for iphone / ipad. http://ahref.at/c0b30g" [de] -- Marcus Hofbauer. http://twitter.com/wdbmh/status/4092286879145984 [08:44] Tim_Smart: (That was 32 seperate channels, meaning you could play back the entire band and mix them as thier respective channel) [08:45] micheil: yeah [08:45] CIA-95: node: 03Ryan Dahl 07master * r0b7fb01 10/ TODO : Remove old TODO - http://bit.ly/ag8Ij4 [08:45] micheil: this is two individual recordings, 2.3 hours in total [08:45] CIA-95: node: 03Ryan Dahl 07master * r6b71e0b 10/ (9 files in 5 dirs): Remove RonnJS not used anymore - http://bit.ly/9v4KXi [08:45] CIA-95: node: 03isaacs 07master * rd39d3ce 10/ lib/javascript.js : [08:45] CIA-95: node: Make the javascript module API nodey. [08:45] CIA-95: node: Add a createScript function, and put stuff on exports instead of hiding [08:45] CIA-95: node: it in exports.Script. - http://bit.ly/aLwj2B [08:45] rajeshsr has joined the channel [08:48] indutny: micheil: i've a error [08:48] indutny: on windows [08:48] indutny: can't build doc [08:48] micheil: yeah. That's probably expected. [08:48] indutny: tools/doctool/doctool.js doc/template.html doc/api/_toc.markdown > build/doc/api [08:48] indutny: make: *** [build/doc/api/_toc.html] Error 139 [08:48] micheil: it uses some fancy stuff from make [08:48] indutny: mmm [08:48] indutny: ok [08:48] micheil: and windows probably doens't support pipes [08:48] losing has joined the channel [08:48] micheil: tools/doctool/doctool.js doc/template.html doc/api/_toc.markdown > build/doc/api/_toc.html [08:49] micheil: is what that should be [08:49] indutny: ah [08:49] indutny: clear [08:50] _announcer: Twitter: "#nodejs how to get coupon api.no.de? waiting a lot of time, no result." -- Anatoliy C.. http://twitter.com/1602/status/4093752767418368 [08:50] _announcer: Twitter: "@ Meso nodejs.jp homepage too sad, to tie renewal (but just links), I made a. Please spare time. https: / / github.com / masahiroh / nodejsjp.github.com" [ja] -- Masahiro Hayashi. http://twitter.com/masahiroh/status/4093757540536320 [08:50] Gruni has joined the channel [08:51] Tim_Smar1 has joined the channel [08:51] CIA-95: node: 03Ryan Dahl 07master * r19ed02b 10/ doc/api/script.markdown : Fix docs for 'javascript' module - http://bit.ly/aA667v [08:52] aubergine_ has joined the channel [08:52] losing_ has joined the channel [08:53] margle has joined the channel [08:54] simme has joined the channel [08:54] mscdex: "javascript" seems like an odd name for the core script module [08:54] ryah: mscdex: what would you call it? [08:54] tony_ has joined the channel [08:55] mscdex: i'm not sure offhand [08:55] ryah: i'm actually not sold on it [08:55] ryah: open to renaming it as long as it happen in 2 days :) [08:55] mscdex: heh [08:58] micheil: ryah: why not "script" [08:58] ryah: i guess [08:59] sixtus42 has joined the channel [08:59] micheil: actually. [08:59] micheil: there's src/node_script.cc and src/node_javascript.cc [08:59] micheil: what's the diff? [08:59] markwubben has joined the channel [08:59] micheil: actually. "javascript" was for the internal stuff, wasn't it? [08:59] ryah: the first is process.bindings('evals') the second is lib/*.js [09:00] Tim_Smart has joined the channel [09:00] micheil: I'm thinking the first should be process.bindings("script") [09:00] ntelford has joined the channel [09:00] ryah: ACTION going to bed [09:00] micheil: (name matches to the file it originates from) [09:02] mscdex: yeah i was going to say just plain "script" too [09:02] micheil: hmm.. patching. [09:03] Brainlag has joined the channel [09:05] DanielSim has left the channel [09:09] sixtus421 has joined the channel [09:11] mytrile has joined the channel [09:13] _announcer: Twitter: "Demystifying Node.js: http://bit.ly/boxsXC (that's not the coffee)" [fr] -- jpvincent. http://twitter.com/theystolemynick/status/4099633663971328 [09:13] jstemmer has joined the channel [09:14] _announcer: Twitter: "#reddit node.js cloud hosting company nodejitsu goes beta.: submitted by JimBastard [link] [comment] http://bit.ly/aA4x0s #rulez" -- REDDITSPAMMOR. http://twitter.com/REDDITSPAMMOR/status/4100015131725824 [09:15] mbrochh has joined the channel [09:18] TomY has joined the channel [09:18] zomgbie has joined the channel [09:21] aubergine has joined the channel [09:22] _mql has joined the channel [09:27] danslo has joined the channel [09:28] altamic has joined the channel [09:28] rnewson has joined the channel [09:28] JimBastard has joined the channel [09:28] springify has joined the channel [09:30] zorzar has joined the channel [09:34] saikat has joined the channel [09:35] teemow has joined the channel [09:35] _announcer: Twitter: "Learning Server-Side JavaScript #nodejs http://icio.us/vjbsb3" -- Mauro De Giorgi. http://twitter.com/mdgArt/status/4105287837421568 [09:38] crohr has joined the channel [09:39] saschagehlich has joined the channel [09:40] fangel has joined the channel [09:42] indutny: I got segmentation fault errors [09:42] indutny: for nodejs on cygwin [09:42] fbits has joined the channel [09:43] indutny: am I doing something wrong? [09:43] adambeynon has joined the channel [09:44] springify has joined the channel [09:44] aubergine has joined the channel [09:47] b_erb has joined the channel [09:48] Tim_Smart has joined the channel [09:50] _announcer: Twitter: "delicious: Setting up node.js and npm on Mac OSX | Shape Shed: http://bit.ly/9RKDD9 #fb" -- Dodgy Developer. http://twitter.com/dodgydev/status/4108970574741505 [09:56] springify has joined the channel [09:58] mikedeboer has joined the channel [10:00] tekky has joined the channel [10:01] xla has joined the channel [10:02] springify has joined the channel [10:03] nsyee has joined the channel [10:04] davidc_ has joined the channel [10:09] aubergine has joined the channel [10:10] springify has joined the channel [10:10] [AD]Turbo has joined the channel [10:10] [AD]Turbo: hi there [10:10] indutny: hi [10:14] _announcer: Twitter: "Why do all #nodejs things have such unsearchable names? "Connect", "Express", "socket.io" and of course "Node" itself. Annoying." -- Matt. http://twitter.com/ascorbic/status/4114961039101952 [10:14] masahiroh has joined the channel [10:14] springify has joined the channel [10:14] zentoooo has joined the channel [10:15] rtomayko has joined the channel [10:16] stride: are there plans on doing videos of the node camp sessions? [10:17] SubStack: will there be marshmellows and scary stories? [10:21] springify has joined the channel [10:24] springify has joined the channel [10:26] muk_mb: util module got renamed, right? [10:28] ooooPsss has joined the channel [10:29] muk_mb: nvm [10:30] mikedeboer has joined the channel [10:34] agnat has joined the channel [10:34] aubergine has joined the channel [10:36] Jonasbn_ has joined the channel [10:40] Druid_ has joined the channel [10:42] _announcer: Twitter: "Behold Ruby on Rails has been usurped http://nodejitsu.com/ - all the cool kids use node.js now" -- benpjohnson. http://twitter.com/benpjohnson/status/4122116337172481 [10:44] springify has joined the channel [10:46] d0k has joined the channel [10:47] lianj: benpjohnson: you wish.. f'ing marketing cunt. [10:48] rnewson has joined the channel [10:48] rnewson has joined the channel [10:48] danslo: nodejitsu, lol [10:49] indutny: hey [10:49] indutny: nodejitsu is cool [10:49] danslo: I actually do jiu-jitsu, so that name is awesome! [10:58] ph^ has joined the channel [11:00] javruben has joined the channel [11:02] springify has joined the channel [11:03] AutomaticPixel has joined the channel [11:07] b_erb has joined the channel [11:08] InsDel has joined the channel [11:08] tanepiper: with assert, why would console.log('Name Test', assert.equal(wf.NAME, 'Test Widget Factory', 'The Names are equal')); [11:08] tanepiper: give Name Test undefined [11:10] springify has joined the channel [11:12] stride: tanepiper: the regular assert lib? that doesn't return anything, it simply fails by throwing an AssertionError [11:13] stride: which is why you get undefined there [11:14] mbrochh has joined the channel [11:15] tanepiper: oh, so the test passes [11:15] tanepiper: gotcha [11:16] micheil: tanepiper: you can probably also always wrap with a try/catch and return (err) [11:17] tanepiper: micheil: i'm writing unit tests [11:17] tanepiper: probably for the first time ever :D [11:17] tanepiper: i'm writing a framework :p [11:17] micheil: tanepiper: join the club. [11:17] micheil: ACTION needs to write a collection of unit tests for nws [11:17] tanepiper: (if you couldn't tell by Widget Factory in the name :p) [11:18] stride: micheil: wouldn't it be more suitable to monkey patch assert.fail if one wants to keep the tests running and just work on the results? [11:19] micheil: not so [11:19] stride: ok, not monkey patch, only assert.fail of that instance [11:19] micheil: just create a wrapper: wrapTest(assert.fail, arg1, arg2, message) [11:19] micheil: or something [11:19] micheil: which then returns a result [11:19] stride: hmkay :) [11:20] drostie has joined the channel [11:20] slaskis has joined the channel [11:20] springify has joined the channel [11:21] eee_c has joined the channel [11:21] hellp has joined the channel [11:22] saschagehlich has joined the channel [11:22] _announcer: Twitter: "My latest SlideShare upload : Node.js a-deep-dive 2-final http://slidesha.re/9GAFkQ #codebits2010" -- Pedro Teixeira. http://twitter.com/pedrogteixeira/status/4132227428392960 [11:23] tony_ has joined the channel [11:26] _announcer: Twitter: "It's time to change my beloved iBook G4 PPC to a new machine. Node.js doesn't build, evernote doesn't run. Pity." -- Phil Pirozhkov. http://twitter.com/phil_pirozhkov/status/4133194286759936 [11:27] jetienne has joined the channel [11:30] zorzar has joined the channel [11:33] caolanm has joined the channel [11:34] muk_mb: is anyone awake? [11:34] mraleph has joined the channel [11:35] slaskis: muk_mb: oh yes [11:36] MattJ has joined the channel [11:37] SubStack: always [11:37] muk_mb: Yay! I know you can declare instance methods with Classname.prototype, how do you make class methods? [11:38] slaskis: Classname.methodOne = function(){ return "YAY" } [11:38] Kami_: muk_mb, you put function on the prototype, e.g. Yourclass.prototype.yourmethod = function(.... [11:39] slaskis: Kami_: i'm pretty sure putting it on the prototype makes it an instance method... [11:40] Kami_: slaskis, oh sorry, he meant a class method in this case, yeah you are correct [11:41] agnat has joined the channel [11:41] mizerydearia has joined the channel [11:42] muk_mb: yay cool it worked mostly [11:42] muk_mb: thanks :) [11:47] fermion has joined the channel [11:47] muk_mb: yay I fixed the rest of it [11:48] muk_mb: had to use Map to search redis entries [11:48] muk_mb: I'm so pro [11:49] masm has joined the channel [11:52] masm: Is there some limitation in the http client where we can't have two or more simultaneous connections to the same server? [11:55] sth: No. [11:58] jvolkman_ has joined the channel [12:09] SubStack has joined the channel [12:11] muk_mb: do we get something like obj-c's stringWithFormat? [12:16] tony_ has joined the channel [12:17] margle: muk_mb: I'm sure someone has written something. [12:17] margle: muk_mb: but in the rest of the world it's called printf [12:18] muk_mb: actually, this should probably be a jade template or some such anyway [12:18] _announcer: Twitter: "V Páčilo in mi video službe YouTube - Simple Web Service http://youtu.be/qws6LOvDQRE?a Node.js" [fil] -- milan jurkulák. http://twitter.com/mimoccc/status/4146337167708160 [12:19] muk_mb: is there a templating engine for xml? [12:19] margle: muk_mb: perhaps an object to xml encoder? [12:21] muk_mb: https://github.com/btakita/xmlbuilder.js this might work [12:22] muk_mb: I'm making files that look like this: https://github.com/sgoodwin/RSSS/blob/master/ExampleOPML.opml [12:23] achristianson has joined the channel [12:24] _announcer: Twitter: "#reddit Node.js Isn't...: submitted by lethalman [link] [comment] http://bit.ly/axDtEu #rulez" -- REDDITSPAMMOR. http://twitter.com/REDDITSPAMMOR/status/4147768352309248 [12:26] Anti-X has joined the channel [12:28] b_erb has left the channel [12:29] _announcer: Twitter: "What would node.net. The node.js. net version I wonder." [ja] -- あくあ. http://twitter.com/aqua877/status/4148933391548416 [12:30] _announcer: Twitter: "What are the ironjs node.js Put on. Well What is it?" [ja] -- こば@恋する生徒会長. http://twitter.com/KOBA789/status/4149158864752640 [12:35] hjjaa has joined the channel [12:40] omarkj has joined the channel [12:40] miccolis has joined the channel [12:40] _announcer: Twitter: "[Node.js] [WebSocket] / Shindig wave feature of drawing a simple chat achieved feat. Node.js and Socket.IO - love and courage and beer http://htn.to/wYpS4g" [ja] -- あじゃーら. http://twitter.com/ajalabox/status/4151872227119104 [12:41] derferman_ has joined the channel [12:42] derferman has joined the channel [12:48] stephank: node.net, haha. [12:48] stephank: but surely there's already an async networking stack for .net somewhere? [12:49] tony_ has joined the channel [12:50] _announcer: Twitter: "@ Sn0wNight node.js Majiosusume Socket.io if that makes available to chat." [ja] -- こば@恋する生徒会長. http://twitter.com/KOBA789/status/4154207904997376 [12:52] stephank: Hmm... all I can find is a python twisted alike. Yugh. :p [12:54] derferman_ has joined the channel [12:54] fbits_ has joined the channel [12:55] masm has joined the channel [12:57] derferman__ has joined the channel [12:58] _announcer: Twitter: "Android Android NDK interesting when using a portable node.js. But may be just interesting." [ja] -- こば@恋する生徒会長. http://twitter.com/KOBA789/status/4156183715778560 [12:59] Tim_Smart has joined the channel [13:01] okuryu has joined the channel [13:01] _announcer: Twitter: "ほう, node.net と な? / Node.net - Node.js implemented in Javascript on the. NET runtime «Dan Newcome, blog http://htn.to/2zXBe1" [ms] -- こば@恋する生徒会長. http://twitter.com/KOBA789/status/4157004079693824 [13:01] _announcer: Twitter: "I am coding in node.js at the moment, and one thing drives me mad: The constant need to nest or pass callback... http://is.gd/h7DIk" -- Content with Style. http://twitter.com/contentwstyle/status/4157113198714880 [13:02] jacobolus has joined the channel [13:04] crohr has joined the channel [13:04] stride: stephank: the .Net file i/o classes have async implementations built-in iirc (the Begin* and End* stuff) [13:05] delapouite has joined the channel [13:06] stephank: stride: Ah, right. [13:06] sclaflin has joined the channel [13:06] foca has joined the channel [13:06] BillyBreen has joined the channel [13:08] altamic has joined the channel [13:12] _announcer: Twitter: "node.js sokraschatel links." [ru] -- DS. http://twitter.com/r3code/status/4159892269043712 [13:13] superjudge has joined the channel [13:15] mbrochh has joined the channel [13:15] mbrochh has joined the channel [13:15] c4milo has joined the channel [13:17] drostie has joined the channel [13:20] stagas has joined the channel [13:20] _announcer: Twitter: "@ KOBA789 node.js something like ... I've got a lot more libraries consider ways I know w" [ja] -- Sn0wNight(14). http://twitter.com/Sn0wNight/status/4161718640971776 [13:20] ben_alman has joined the channel [13:20] dnolen has joined the channel [13:21] _announcer: Twitter: "isaacs's node-supervisor at master - GitHub - http://goo.gl/9NURq nodejs ever had to restart the server every time you change source development. Does it become so useful that would be used to automatically reload this" [ja] -- S Aizawa. http://twitter.com/m0201/status/4162138067173376 [13:22] stagas: redesign do you like it? http://radioplz.com [13:23] _announcer: Twitter: "rather than using fake node.js node.js with cygwin has a comfortable feel better" [ja] -- あくあ. http://twitter.com/aqua877/status/4162499062534144 [13:24] miccolis has joined the channel [13:25] _announcer: Twitter: "Or September. ; · ∀ · ∀ ∀ ゚ ゚ ∀ ゚ ━ ━ ━ ━ ━ ━ ━ ━ ━ ━ ━ ━ ゚ ゚ ∀ · ∀ · ∀ · ha? Just settled down today. node.js" [ja] -- わいてぃーぼっと. http://twitter.com/yt_bot/status/4163105777000448 [13:27] _announcer: Twitter: "Canvas + Box2D + node.js see in the New World" [ja] -- こば@恋する生徒会長. http://twitter.com/KOBA789/status/4163585420828672 [13:27] mbrochh_ has joined the channel [13:29] _announcer: Twitter: "canvas + box2d + node.js Akushonge can only think or work - or no eyebrows;" [ja] -- ちゃげドン. http://twitter.com/tyage/status/4164077341380609 [13:29] sriley has joined the channel [13:30] _announcer: Twitter: "I'm in audio + node.js Kuraudojukubokkusu!" [ja] -- こば@恋する生徒会長. http://twitter.com/KOBA789/status/4164371391451137 [13:30] nsolsen has joined the channel [13:31] iszak has joined the channel [13:33] Wizek: Is there a good article/tutorial/video on how to get started uing MongoDB with Node.js? [13:34] iszak: what is with this mongodb hype? [13:35] iszak: Tell me Wizek, why do you want to use MongoDB? [13:36] splashs has joined the channel [13:36] serard: Which module shoudl I use to color console output ? [13:37] _announcer: Twitter: "Rabbit MQ + = node.js rabbit.js http://bit.ly/9wVKPl" [it] -- Mark Needham. http://twitter.com/markhneedham/status/4165977063301120 [13:37] _announcer: Twitter: "node.js is a UNIX environment is essential if you do" [ja] -- こば@恋する生徒会長. http://twitter.com/KOBA789/status/4166122563702784 [13:39] brianmario has joined the channel [13:39] Wizek: iszak: Document dbs look interesting, and after I got my hand on CouchDB, I also want to try out the mongo one. So, out of cuiosity, and also, I have a starting project, and want to pick the best possible DB to use. You like relational dbs more? What's the problem with document ones? [13:40] sriley: roughly how many idle connection could you get on a node.js instance? [13:40] sriley: (assuming a decent server) [13:40] iszak: Wizek, it's not more so I have anything against "document" databases, never heard them referred to that. [13:41] iszak: It just seems people are all jumping on MongoDB, from what I've read if you're doing things like joins and crap then MongoDB isn't for you. [13:45] joemccann_ has joined the channel [13:45] stephank: sriley: Don't think anyone has tried. IIRC, idle sockets don't every reach userspace. [13:45] Wizek: iszak: I'm about to find out :) Also, there is Map/Reduce instead of joins. [13:45] stephank: sriley: I hear of people running into file descriptor limits now and then, and that's with active connections [13:45] iszak: Wizek, do you really want to play Russian roulette with your web application? [13:46] _announcer: Twitter: "@ashorten just don't do it..given anonymous funs & recursion etc (in the client vm at least) arn't fast enough.. u won't get what node.js is" -- Mrinal Wadhwa. http://twitter.com/mrinal/status/4168326704009218 [13:46] Wizek: No, I want to find out wheter it is a gun which I'm holding, and if it is loaded. [13:46] iszak: Wizek, have you researched the pros + cons of MongoDB yet? [13:47] Wizek: Nop, as I've said, I'm 'gettign started'. [13:47] iszak: What I'd suggest is do that, then try it out. [13:49] Wizek: I was planning to write my own benchmarks instead of relying on other ppls opinions based on their particular use cases [13:49] iszak: Oh yeah, definitely don't go solely on everyone elses word, try it out for yourself. [13:49] iszak: That's where the fun is :D [13:50] mbrochh has joined the channel [13:50] mbrochh has joined the channel [13:50] hsuh has joined the channel [13:50] figital has joined the channel [13:50] malkomalko has joined the channel [13:50] Wizek: isn't that what I just said? It is fun because JSON like object storage structure looks intereting to experiment with [13:51] iszak: I guess so, I just wanted to deter you from using MongoDB for a production site. [13:52] Wizek: iszak: But why? Now you tell me. As I see you are not too familiar with them, you just don't like that a lot of people started to find it interesting. [13:53] _announcer: Twitter: "Would love to see a writing a webservice tutorial with a side-by-side using WCF and node.js." -- jacksonh. http://twitter.com/jacksonh/status/4170046276374528 [13:53] iszak: Because it's not a proven technology and hasn't really gone through it's paces, where as normal db's like MySQL have. [13:55] iszak: I'm not going to bang on about it, if you want to use it, go ahead just thought I'd give you a heads up. [13:55] Wizek: iszak: Even MySQL was new, when it was -- new. Every tech has to start somewhere, and new (and exciting) ones are usually have their issues. [13:55] case__: s/MySQL/Postgresql/ [13:55] mif86 has joined the channel [13:55] iszak: Of course, but do you really want to put your web application at risk. [13:56] iszak: Hasn't FourSquare had some issues because of MongoDB? [13:56] jmar777 has joined the channel [13:56] iszak: \o jmar777. [13:57] jmar777: hey man [13:58] jmar777: so... the apt-get nodejs pakage is v1.97. Is there a package manager that's got 2.4? [13:58] iszak: just compile it from the source. [13:58] iszak: you need openssl-dev tho, it's easy. [13:59] stephank: jmar777: https://launchpad.net/~chris-lea/+archive/node.js/ [13:59] miccolis has left the channel [13:59] iszak: Yeah, I saw that - only got 0.2.4-1 [14:00] danoyoung has joined the channel [14:00] stephank: and? [14:00] iszak: What a joke! 0.3.0 4eva [14:00] Aikar: your using 0.3.0?! 0.3.1 or bust [14:00] stephank: But that's not what he was asking for. [14:00] Aikar: (master @ git is 0.3.1) [14:01] iszak: haha well played Aikar :P [14:01] iszak: lots of software is being built for 0.3.0, I remember someone complaining about it. [14:01] Aikar: >>> node --version v0.3.1-pre [14:01] jmar777: stephank: ha - thanks man. I guess I should've said I need 2.4+ [14:02] stephank: jmar777: But you did! Except you keep missing the 0. ;) [14:04] abstractj has joined the channel [14:04] jmar777: stephank: ha - I'm trying to introduce some Java-esque confusion into the node community. 1.6 === 6, 1.7 === 7, etc... [14:04] iszak: stephank, I think he was referring to the +. [14:04] iszak: 2.4 or greater. [14:05] c4milo has left the channel [14:06] Wizek: iszak: http://www.infoq.com/news/2010/10/4square_mongodb_outage <-- They had problems because they wanted all the DB to be cached in memory, and run out of it. [14:06] stephank: iszak: well, the -1 isn't really a greater version, it's just the debian package release version. [14:06] stephank: which is actually mislabeled [14:07] stephank: because it implies debian officially released it, and chris modified it, but there is no 0.2.4 debian package as of yet [14:08] Ori_P has joined the channel [14:09] femtoo has joined the channel [14:09] Evet has joined the channel [14:10] herbySk has joined the channel [14:10] iszak: Sorry, bad. [14:10] iszak: s/bad/back/ [14:10] iszak: Point noted stephank. [14:11] charlenopires has joined the channel [14:12] aheckmann has joined the channel [14:16] _announcer: Twitter: "This totally got me yesterday - sharing a browser window live: http://bit.ly/a0eOQn beautiful demonstration of the possibilities via @ # node.js jakubnesetril" [cs] -- Aborym. http://twitter.com/Aborym/status/4175863960576000 [14:19] Evet: node.js is totally event-based, right? [14:20] tanepiper: events or callbacks [14:20] Evet: so real-time applications done with callbacks? [14:22] stephank: Evet: Define real-time. As in this? http://en.wikipedia.org/wiki/Real-time_computing [14:22] davidsklar has joined the channel [14:22] Evet: stephank: PUB/SUB, or comet [14:23] _announcer: Twitter: "this is the little node.js thing I worked on. doesn't do much but was fun. does show some functionality though http://bit.ly/9CDlcs" -- Ari Turetzky. http://twitter.com/AriT93/status/4177566013329408 [14:23] stephank: Evet: ah, in that case, yes. :) [14:24] stephank: Evet: Those specific things aren't built-in, node.js is really about fast networking servers in general. But there's socket.io, which is widely used for doing comet-stuff. [14:24] masahiroh has joined the channel [14:24] rnewson has joined the channel [14:24] rnewson has joined the channel [14:25] stephank: Evet: http://socket.io/ [14:26] SamuraiJack has joined the channel [14:28] Anti-X has joined the channel [14:29] stephank: Woah, I just realized how confusing the term ‘real-time’ has become. Not sure why I got the wrong impression, there. [14:29] eee_c has joined the channel [14:33] a_meteorite has joined the channel [14:33] cferris has joined the channel [14:33] bentruyman has joined the channel [14:33] wink_ has joined the channel [14:34] fangel has joined the channel [14:35] sivy has joined the channel [14:37] jvolkman_ has joined the channel [14:38] EyePulp has joined the channel [14:40] Evet: stephank: what if client browser send very little headers to server to ask if there is something new? is it overhead compared to comet? [14:40] stephank: Evet: Well, that's also polling, and no longer real-time. [14:42] stephank: Evet: Every HTTP request has some overhead. But WebSockets and some Flash trickery can avoid that overhead. Socket.io tries to make use of those methods when available, and automatically falls back to long-polling when they're not. [14:43] Evet: wow, its cool [14:43] _announcer: Twitter: "Watching: [node.js + express + mongodb + mongoose tried - http://d.hatena.ne.jp/Malan/20101106/1288972181 Nerimono]" [ja] -- hidehish. http://twitter.com/hidehish/status/4182722461302784 [14:46] ben_alman has joined the channel [14:48] sudoer has joined the channel [14:53] dberlinger|afk has joined the channel [14:53] MattDiPasquale has joined the channel [14:54] ruxkor has joined the channel [14:55] altamic_ has joined the channel [14:55] pifantastic has joined the channel [14:56] ruxkor: hey, has somebody experience with memcached and node? i have seen there are several adapter implementations on github, is one of them to be used over the others? [14:56] ruxkor: (hi, btw!) : ) [14:57] fangel: I don't know - but perhaps check the issue-tracker (esp. pull-request tracker) for the projects, to see which is the most active [14:59] johngbrooks has joined the channel [14:59] jherdman has joined the channel [15:00] ruxkor: thanks fangel, I think I start with elbarts impl. (github.com/elbart/node-memcache) since it seems to be developed in a test-driven way and because it has the most recent changeset... [15:01] altamic has joined the channel [15:01] _announcer: Twitter: "I'm going to be waist-deep in #NodeJS today, and very likely the rest of the week." -- Sunnyvale. http://twitter.com/rhyolight/status/4187202036695040 [15:01] fangel: seeing as that one has changes from iamcal, I can't say no.. :) [15:01] pandark_ has joined the channel [15:02] _announcer: Twitter: ""Idiomatic messaging using RabbitMQ from node.js" http://rb.tl/b1MS39" -- Robert Brook. http://twitter.com/robertbrook/status/4187425366605825 [15:02] ysynopsis has joined the channel [15:03] _announcer: Twitter: "@capotribu @tirsen @rabbitmq - glad to see node.js is getting some of the limelight at last" -- sleepyfox. http://twitter.com/sleepyfox/status/4187645500456960 [15:03] rhyolight has joined the channel [15:03] namelessnotion has joined the channel [15:04] _announcer: Twitter: "node.js redis sample programs added bitbucket version. https: / / bitbucket.org/yssk22/redis_docjp/changeset/540ea696ffed is undecided whether to write articles explaining ..." [ja] -- Yohei Sasaki. http://twitter.com/yssk22/status/4188097919057920 [15:05] _announcer: Twitter: "What is not Node.JS http://minu.me/3ayk (in) # nodejs" [fr] -- Christophe Jean. http://twitter.com/cjean/status/4188226843582464 [15:06] jchris has joined the channel [15:12] _announcer: Twitter: "@brankgnol: thanks for the tip about using nodejs to speed up jslint.vim!" -- Per Thulin. http://twitter.com/pthulin/status/4189886819082240 [15:13] kodisha has joined the channel [15:14] intacto has joined the channel [15:14] _announcer: Twitter: "@wpbasti, @getify we provide pre-compiled #node.js binaries for a growing number of platforms: https://github.com/ajaxorg/node-builds" -- Ruben Daniels. http://twitter.com/javruben/status/4190534209904640 [15:16] mbrochh has joined the channel [15:16] mbrochh has joined the channel [15:16] altamic has joined the channel [15:18] _announcer: Twitter: "@javruben IMHO we need compiled binaries of a V8 CLI in addition to just Node.js, which doesn't fit for everyone." -- Kyle Simpson. http://twitter.com/getify/status/4191485276721152 [15:19] dylang has joined the channel [15:19] boaz has joined the channel [15:19] _announcer: Twitter: "This is the third person who asks me if I prefer NodeJS Ruby, and the same response: It depends of the design / use. Each has its advantages." [pt] -- Pedro Franceschi/pH. http://twitter.com/pedroh96/status/4191883244863488 [15:20] jlee has joined the channel [15:21] sixtus42 has joined the channel [15:23] joemccann_ has joined the channel [15:25] matt_c has joined the channel [15:25] jimmybaker has joined the channel [15:26] trotter has joined the channel [15:27] jpld has joined the channel [15:27] jpld has joined the channel [15:28] eee_c has joined the channel [15:28] daniellindsley has joined the channel [15:28] matt_c_ has joined the channel [15:28] yeevgen has joined the channel [15:29] ceej has joined the channel [15:33] jamund has joined the channel [15:35] achristianson has joined the channel [15:35] achristianson has joined the channel [15:36] Evet: stephank: isnt "10k async http requests/sec" better than "10k live connections"? (short-polling vs long-polling) [15:38] bentomas has joined the channel [15:39] bentomas has left the channel [15:40] stephank: Evet: During a second, 10k idle connections will consume fewer resources than 10k HTTP requests. In the latter case, you have to do TCP handshake, HTTP request parsing, build the response, etc. Whereas an idle connection or long-lived WebSocket connection won't have any of that overhead. [15:41] a_meteorite has joined the channel [15:42] _announcer: Twitter: "Oh, node.js in https: / / github.com/brickysam26/node-proxy seem Proxies can be used in @ masahiroh # denatech" [ja] -- shogo. http://twitter.com/os0x/status/4197505327693825 [15:43] Evet: stephank: but, max req/sec must be higher than max live connections [15:44] stephank: Evet: Why? [15:44] Evet: stephank: the c10k problem? [15:45] BillyBreen has joined the channel [15:46] strmpnk has joined the channel [15:46] TomY: ACTION thinks the "C10K problem" should be renamed the "one connection per thread/process problem" [15:46] namelessnotion has joined the channel [15:47] TomY: Evet, i.e. is only an implementation problem based on the way certain environments (i.e. not node) deal with connections and concurrency [15:47] jetienne: TomY: nah it is way different [15:47] bahamas has joined the channel [15:48] TomY: ACTION goes to re-read the paper :-) [15:48] MattJ: It's very easy to not be able to handle 10K in a single process :) [15:48] jakehow has joined the channel [15:48] [AD]Turbo has joined the channel [15:48] stephank: Evet: I don't follow sorry. C10k talks about 10k clients per second, and I've always understood that as 10k requests, but I could be wrong. Still, one client might do multiple requests per second over a single connection, or a connection may be idle during a second using HTTP keep-alive. [15:48] drudge: why facebook are you returning /callback#auth_token= instead of /callback?auth_token= [15:48] jetienne: stephank: this is my understanding too [15:49] jetienne: stephank: the http1.1 cnx caching is another issue [15:49] davidascher has joined the channel [15:49] jetienne: stephank: i read it as 10k request / sec [15:50] trotter has joined the channel [15:50] jetienne: anyway single process is not the "one size fit all" killer. just the multi cpu stuff fails it [15:50] jetienne: but it shows that threads are no good [15:51] _announcer: Twitter: "5 ECMAScript compatibility table http://ow.ly/39W5k を で node.js. Http://ow.ly/39W6W 結果 は と 同じ だった Chrome7. Nodejs_jp #" [vi] -- koichik. http://twitter.com/koichik/status/4199709501562880 [15:53] stephank: jetienne: Well, it wouldn't be a good benchmark if it didn't take into account multiple worker processes. (Haven't read, only skimmed C10k, tbh) [15:53] BillyBreen1 has joined the channel [15:54] jetienne: stephank: depends on what you want here. do you look for an actual solution, or more for learning material ? [15:55] stephank: jetienne: I was hoping it would make a fair comparison on some common hardware set-up between web-servers, when fully utilizing the hardware. [15:55] jetienne: stephank: not bashing or anything, but you arent answering my question here [15:56] jetienne: stephank: what is your goal ? build a solution ? or learn/blog about possibilities [15:56] Anti-X has joined the channel [15:56] jetienne: there is an actual difference here. [15:56] stephank: jetienne: Neither, I was trying to answer Evet [15:56] jetienne: ah ok :) [15:56] mihbe_ has joined the channel [15:56] stephank: And I now see C10k is about implementation problems, rather than webservers. [15:57] jetienne: stephank: c10k is a well written post. nothing with god like post tho. but clearly knowledgable. if you want actual answer for a real case, you need to do the work. aka perform the bench yourself [15:57] jetienne: stephank: yep this is about how to implement large servers [15:57] sriley: thats just threaded vs event looped servers aint it... c10k doesnt affect event looped servers [15:58] BillyBreen has joined the channel [15:58] jetienne: stephank: but honnestly i bet google or facebook could add a LOT on this c10k issue :) [15:58] TomY: hmmm, i read it as concurrent connections (surely that's what the "C" stands for?) [15:59] ewdafa has joined the channel [15:59] sriley: its really just a case of if you want lots of concurrent connection dont use a thread per connection based server (like apache) [16:00] jetienne: the implementation is young, but yahoo wrote something nice about this [16:00] ddollar has joined the channel [16:00] jetienne: http://developer.yahoo.com/blogs/ydn/posts/2010/07/multicore_http_server_with_nodejs/ [16:00] boaz has joined the channel [16:01] jetienne: pgriess is a experienced dev, he is around sometime [16:01] ph^ has joined the channel [16:01] boaz has joined the channel [16:01] jetienne: this arch is good for single computer server [16:01] jetienne: after that to handle multiple computers, this is != but outside of nodejs by itself. more about networking stuff [16:02] faust45 has joined the channel [16:02] sonnym has joined the channel [16:03] bradleymeck has joined the channel [16:06] galaxywatcher has joined the channel [16:06] Evet: will node.js be faster than nginx, soon? [16:07] sriley: it already can be [16:07] Evet: sriley: how? [16:07] halfhalo: ACTION slaps node for its memlimit [16:08] drudge: anyone familiar with the facebook api [16:08] sriley: if you just push some static content then it already performs faster iirc [16:08] _announcer: Twitter: ""Node.js or the triumph of JavaScript: Inovia Blog (http://twitthis.com/ekdwdd)" [fr] -- Edouard Mainier. http://twitter.com/emainier/status/4204209759068160 [16:09] ajcates: drudge: ive played with it, just not with node [16:09] trotter has joined the channel [16:09] ajcates: whats your issue? [16:09] drudge: ajcates: so i'm following http://developers.facebook.com/docs/authentication/#authenticating-users-in-a-web-application [16:09] Evet: sriley: node.js' hello world example vs nginx with a static file? [16:09] drudge: it says you make a call to https://graph.facebook.com/oauth/authorize? with your app id and redirect_uri [16:10] Me1000 has joined the channel [16:10] sriley: yes [16:10] drudge: i do this, i get the option to allow, it redirects to my callback [16:10] drudge: but it has no 'code' argument, instead it passes it like http//my.url/callback#access_token=...&expires_in=0 [16:10] ajcates: yea its a url callback [16:10] oal has joined the channel [16:11] drudge: which the docs say it should be passing a code argument, and i need to make an access_token call to get the token [16:11] drudge: but i can't figure out how to access the #access_token in express/node either [16:11] drudge: since it's not a query string param, it's setup like an anchor [16:11] Evet: sriley: but, "hello world" in c as nginx module is faster than node.js hello world [16:13] sriley: true, i doubt node would ever beat that, but node brings other advantages like writing the js once and using that code on both server and client side [16:14] ajcates: drudge: if you are getting an access token back you are doing something right, I don't know how to read that part of the url with node.js ether as I just started with node. [16:14] bradleymeck: that and writing code with some sane amount of speed [16:14] serard: How do I use JS.Class with Node.JS ? [16:14] ajcates has left the channel [16:15] ajcates has joined the channel [16:16] AAA_awright has joined the channel [16:16] jtsnow has joined the channel [16:17] achristianson has joined the channel [16:18] achristianson has joined the channel [16:18] Nomon_: drudge: just tested it redirected me with 303 to the redirect_url I specified with ?code=XXXXXX... appended. [16:19] drudge: Nomon_: https://gist.github.com/2967a9e06d599152091e [16:19] drudge: this is the code i'm using, keeps sending back #access_token [16:20] robinduckett has joined the channel [16:20] bradleymeck: serad if it relys solely on javascript and not the dom you just use it (might need to make it use exports.X though) [16:20] robinduckett: evening [16:20] bradleymeck: mornin [16:20] robinduckett: Anyone know how I can get connect sessions and socket.io to work together nicely? [16:20] drudge: Nomon_: am i not doing something correct? i followed the docs precisely [16:20] Nomon_: you need to urlencode the url or it will interpret the parameters of your redirect url as GET parameters to the graph server :D [16:21] stride: robinduckett: hey, you had a problem with connect.logger the other day, right? did you get that to work? [16:21] bradleymeck: robinduckett, how secure do you need this? [16:21] robinduckett: stride: I did indeed [16:21] robinduckett: bradleymeck: I just need to be able to distinguish between socket.io connections and link them to browser requests [16:21] deepthawtz has joined the channel [16:21] elijah-mbp has joined the channel [16:22] zemanel has joined the channel [16:22] robinduckett: for example, if someone refreshes my chat app, I can track who they were and give them their username back [16:22] bradleymeck: yes, but are you sending privy data over it? [16:22] drudge: Nomon_: there are no params for the redirect url, those on the end are for the graph api [16:22] robinduckett: bradleymeck: what do you mean? [16:23] fcoury has joined the channel [16:23] tj has joined the channel [16:23] bradleymeck: https://github.com/bmeck/session-web-sockets <- dont use this over http if you have private info such as login stuff sent over it [16:23] sveimac_ has joined the channel [16:23] robinduckett: private messages and things like that would be going over the socket.io connection [16:23] robinduckett: hrm [16:23] robinduckett: why not? [16:23] bradleymeck: if you can get it over https thats fine, cause its easy to sniff normal http [16:23] _announcer: Twitter: "added support for finding USB devices by vendor and product id #node.js #node-usb #libusb-1.0" -- Schakko. http://twitter.com/schakko/status/4207926528966656 [16:24] bradleymeck: but if its a site where that isnt really any problem, go ahead [16:24] robinduckett: hmm [16:24] robinduckett: well google adsense doesn't work over HTTPS :P [16:25] robinduckett: not that they are authorising my account ever [16:25] _announcer: Twitter: "Who's going to be the first to make a node.js game with #libfreenect #openkinect" -- Peter Horvath. http://twitter.com/peterhorvath/status/4208328787886081 [16:25] robinduckett: tried to get it authorised two weeks ago [16:25] robinduckett: I can't afford an SSL cert anyway [16:26] drudge: Nomon_: really not sure what could be wrong with the request, i keep getting back #access_token [16:26] robinduckett: bradleymeck: so is this connect middleware then? [16:26] elijah-mbp has joined the channel [16:26] Nomon_: drudge: is config.facebook.siteURL a full URI with http:// etc [16:27] drudge: yes it is http://127.0.0.1:3000 [16:27] drudge: i'm getting the callback hit in my app [16:27] halfhalo: ACTION LOVES that site, always something new going on! [16:28] drudge: it just doesn't use ?access_token so i have no visibility into it in express [16:28] nsyee has joined the channel [16:30] jpld: SSL cert, i thought node didn't support https yet? [16:30] softdrink has joined the channel [16:30] Nomon_: drudge: how does it look if you hit the oauth with your browser and equal parameters ? [16:31] robinduckett: jpld: I'm not sure if it does but I'd need one to run on https [16:31] Nomon_: does it forward you with the correct code= [16:31] drudge: no [16:31] drudge: all of this is done in my browser [16:31] drudge: i hit http://127.0.0.1:3000/auth [16:31] jpld: robinduckett: ahh yes, i thought you had some magic https connect middleware that i had missed (0: [16:31] drudge: it redirects to facebook, i allow [16:31] drudge: it redirects to my callback with #access_token=...&expires_in=0 [16:32] robinduckett: bradleymeck: any chance of getting session-web-sockets on npm? [16:34] eee_c has joined the channel [16:34] jakehow has joined the channel [16:35] robinduckett: bradleymeck: pm? [16:36] drudge: Nomon_: ok got it [16:36] drudge: the &type=user_agent from their documentation was causing strangeness [16:36] gf3 has joined the channel [16:37] JimBastard has joined the channel [16:37] bradleymeck: robinduckett, not right now, but i can put it up later [16:38] robinduckett: bradleymeck: how do I manipulate sessions with this, and does it only work with an xhr access token? [16:39] robinduckett: I'm starting to think websockets / socket.io is more trouble than it's worth :( [16:39] spyrosl has joined the channel [16:40] sriley: robinduckett: well its still very early days [16:40] robinduckett: but how are you supposed to track what client is connected and etc when their sessionid regenerates if they refresh the fricken browser? [16:40] robinduckett: just seems ridiculous to me [16:41] JimBastard: set a cookie? [16:41] robinduckett: doesn't work [16:41] robinduckett: works if websocket transport is selected [16:41] robinduckett: flashsockets, xhr polling, anything [16:41] robinduckett: doesn't work [16:41] robinduckett: won't pick up the cookie [16:41] JimBastard: why not? [16:41] robinduckett: I've even tried to manually set-cookie in the response headers [16:42] robinduckett: and the browser won't send the response back [16:42] robinduckett: won't send the set cookie back [16:42] sriley: if they refresh the browser would they not reconnect on the socket? [16:42] robinduckett: no [16:42] robinduckett: they connect as a completely different client [16:42] robinduckett: and their previous client disconnects [16:44] _announcer: Twitter: "A while since I've been told before playing # nodejs and # websocket, found a few friends on the # nodejs have had a strong interest, and research and in-depth than I am concerned, I can only hide his face. ." [zh-CN] -- Chicharito (爵之45355). http://twitter.com/hanyee/status/4213100039380992 [16:45] Anti-X has joined the channel [16:45] bartt has joined the channel [16:46] bartt has joined the channel [16:46] robinduckett: So, no help? :( [16:46] JimBastard: robinduckett: i still dont understand why a cookie wont work [16:46] JimBastard: i must be missing something [16:46] robinduckett: try it [16:47] robinduckett: doesn't work in firefox or ie [16:47] robinduckett: works in chrome [16:48] mikeal has joined the channel [16:49] bradleymeck: ff and ie dont send cookies over sockets (flash sockets / websockets) [16:49] bradleymeck: basically you get a hold of a session object that was instantiated with an ajax request by using it [16:49] mikeal has joined the channel [16:49] bradleymeck: uses cookies [16:50] bradleymeck: verifies that against your session with a hidden number [16:50] devinus has joined the channel [16:50] robinduckett: bradleymeck: can I choose to delay "connection" to my server until the cookie is recieved from the xhr? [16:51] bradleymeck: not currently no, but would it really matter? it all should happen at around the same time not like its going to delay a long time [16:51] robinduckett: bradleymeck: I'm talking about the countless malicious users I get on my chat :D [16:52] _announcer: Twitter: "just installed #nodejs on Mac OS 10.6.5 without problems :-)" -- Mike Bird. http://twitter.com/badb10ck/status/4215047131762689 [16:52] robinduckett: I tried using evercookie to make it so people couldn't evade bans and such but evercookie was a bit too evil for me. [16:53] bradleymeck: mmmm, i can swap it so its in that order, but it will notify if it thinks it is insecure, so you are requiring logins or just anons being banned? [16:53] ehaas has joined the channel [16:53] rnewson has joined the channel [16:53] rnewson has joined the channel [16:54] robinduckett: bradleymeck: I want there to be anonymous and registered logins [16:54] robinduckett: so the main channel is for registered and non registered users [16:54] christophsturm has joined the channel [16:54] robinduckett: and then registered users can create their own channels and such [16:54] robinduckett: this all seems a lot like a hack :/ [16:54] bradleymeck: most of the web is a hack [16:54] robinduckett: I'll be at home soon so I'll be back in an hour or so, will you still be around? :D [16:55] bradleymeck: yea, but i might be coding [16:55] robinduckett: kk well if i get into huge trouble can i pm you and you can pick it up later? [16:55] robinduckett: I'm going to run a BNC in here [16:55] tprice has joined the channel [16:55] bradleymeck: sure [16:56] robinduckett: <3 [16:56] tprice: how can i make this shorter? [16:56] tprice: request.socket.server.connections [16:56] _announcer: Twitter: "Amazing win: I made a Twitter stream proxy for testing #datasift in node.js" -- Simon Thulbourn. http://twitter.com/sthulbourn/status/4216081191272449 [16:56] sh1mmer has joined the channel [16:56] robinduckett: tprice: can't you just use socket.server.connections? [16:57] jetienne has joined the channel [16:58] _announcer: Twitter: "zappa: #CoffeeScript DSL on top of Express, Node.js, and Socket.IO from @mauricemach http://lg.gd/3x" -- The Changelog. http://twitter.com/changelogshow/status/4216591973617664 [16:58] _announcer: Twitter: "Node Tuts episode 8 is just out - "Connect" - http://is.gd/h8Eh0 #nodejs" -- Pedro Teixeira. http://twitter.com/pedrogteixeira/status/4216650123444224 [16:58] christophsturm: nodejs.org says that 0.3 is unstable. is it stable enough for development use? [16:59] brianc: christophsturm: yah [16:59] jetienne: brianc: how frenquently do you hit bugs ? [16:59] tprice: ill try socket.server.connections [17:00] brianc: jetienne: I haven't hit any. I believe the instability is in reference to the fact the api will be changing within 0.3.x versions [17:00] Anti-X has joined the channel [17:00] jetienne: brianc: ok.. so api changes are less frequent in 0.2.x than in 0.3.X [17:01] jetienne: ACTION thinks nodejs needs more coporate backup [17:01] _announcer: Twitter: "To deal with the Event Loop Node.js Request, because it is Async so we ran to implement web socket you ...." [zh-TW] -- Vinci. http://twitter.com/vincicat/status/4217424769449985 [17:02] brianc: jetienne: possibly. I would just recommend writing a test suite for whatever you're working on and as versions change and you would like to try out a new version execute your suite on the new version. if it's all green then the api pieces you depend upon haven't changed and you should be good to go [17:02] jetienne: palm is behind it too no ? [17:02] jetienne: brianc: yep i understand. here im more thinking about library stability/dependancy [17:03] brianc: jetienne: the library I wrote works on 0.2.4, 0.2.3, 0.2.2, and 0.3.0 with no issue [17:03] stephank has joined the channel [17:03] jetienne: brianc: like if i use a library and this library is no more good in 0.3.x [17:03] _announcer: Twitter: "@ Vincicat node.js was originally written to give the write server's" [zh-TW] -- 小影. http://twitter.com/siuying/status/4217947455225856 [17:03] brianc: jetienne: I hear you. I'd say go with 0.2.4 for now [17:03] herbySk has joined the channel [17:04] jetienne: brianc: ok real life example. i collaborate on http://streamie.org a html5+nodejs twitter client, and recently we had issue with node-static. it was needing modification at every new 0.2.x [17:04] robotarmy has joined the channel [17:04] _mql has joined the channel [17:04] brianc: jetienne: ah that's too bad. what was needing modification? [17:04] jetienne: so around 15days between new 0.2.x nodejs releasse, and the actual update of node-static [17:05] jetienne: brianc: dunno i havnt followed the details [17:05] jetienne: brianc: but i maintain ubuntu nodejs .deb and due to this exchange i will package the 0.3.x too [17:06] brianc: jetienne: cool [17:06] fbits has joined the channel [17:06] jetienne: not sure about the package name tho. 0.2.4 is called nodejsd [17:06] jetienne: nodejhsq [17:06] jetienne: nodejs !!! bad with kbd [17:06] bradleymeck: jetienne you find me corporate backup and i will code all you want [17:06] robinduckett: jetienne: why isn't the ubuntu package just called "node" ? :( [17:06] bradleymeck: name conflict [17:06] brianc: bradleymeck: srsly. dream job. [17:07] nsyee has joined the channel [17:07] jetienne: bradleymeck: there is joyent, yahoo and palm currently hiring people on nodejs [17:07] tapwater has joined the channel [17:07] jetienne: node is not specific enougth [17:07] robinduckett: :( [17:07] robinduckett: anyone doing remote working for nodejs? [17:09] _announcer: Twitter: "Well, today node.js end to sleep." [ja] -- Muddy Dixon. http://twitter.com/muddydixon/status/4219360298139648 [17:09] JimBastard has joined the channel [17:10] JimBastard: robinduckett: i might have an idea for you re: ban evasion [17:10] robinduckett: oh? [17:10] JimBastard: it might be cool to have a node module that has built in banning [17:10] JimBastard: extends net servers [17:11] robinduckett: IP based? [17:11] JimBastard: as for your problem with evasion, you could start setting up custom levels of ban huerstics [17:11] JimBastard: robinduckett: it would be custom heuristics, one of the most basic traits being IP block, but you could do more [17:11] JimBastard: cookies, browser footprint, etc [17:11] robinduckett: yeah [17:12] d0k has joined the channel [17:12] JimBastard: you could also throttle connections from blocks of IPs [17:12] JimBastard: so if someone is on lets say one ISP in one area and just keeps coming back from a slightly diff address [17:12] JimBastard: you can slow down all connections from that area [17:12] JimBastard: thats usually how i ban evade if im not using a proxy [17:13] robinduckett: just reset your router? :P [17:13] JimBastard: i'll setup a script to change the mac address on my cable modem [17:14] JimBastard: or the router, depending [17:14] oal: Is there a lib that lets me handle html like jquery does with var test = 'somehtml'; $('div.id').text(); or something? [17:14] JimBastard: oal: ya [17:15] JimBastard: http://blog.nodejitsu.com/jsdom-jquery-in-5-lines-on-nodejs [17:15] robinduckett: soupselect / jsdom.jquerify [17:15] _announcer: Twitter: "I really really dig node.js - the simplicity of doing things in js that I spent hundreds of hours accommodating in php is just amazing" -- Tidwell. http://twitter.com/Tidwell/status/4220860252553216 [17:15] JimBastard: or just google "jquery node.js" [17:15] oal: Oh, thanks! [17:15] robinduckett: JimBastard: jqueryfiy doesn't work that well on non well formed docs [17:15] robinduckett: i.e. at all [17:16] JimBastard: yeah thats the html parser, it needs to be updated / replaced [17:16] JimBastard: has little to do with jquery [17:16] oal: JimBastard: this would be it? https://github.com/harryf/node-soupselect :) [17:16] bradleymeck: is it using htmlparser? [17:16] alexfner has joined the channel [17:17] robinduckett: i don't know what it uses [17:17] JimBastard: htmlparser [17:18] _announcer: Twitter: "@ Siuying will python node.js things easy to understand" [zh-TW] -- Vinci. http://twitter.com/vincicat/status/4221650698510336 [17:19] _announcer: Twitter: "Run Server-side JavaScript ... Interesting # node.js" [es] -- ADONIAS VASQUEZ. http://twitter.com/adoniasv/status/4221904424542208 [17:23] saikat: every now and then, my program starts throwing an assertion error pretty much once a minute every minute with this stack trace: https://gist.github.com/700625 - the assertion seems to be related to this line: https://github.com/ry/node/blob/v0.2/lib/net.js#L149 [17:23] saikat: can anyone explain what that line is really asserting? i'm not very familiar with the internals of node and not sure what a "list" is in the context of net.js [17:24] saikat: i use socket.io and node_redis, but i get the feeling the assertion error has to do with my socket.io logger that flushes the buffer every minute (that's only my feeling since i'm getting this assertion error every minute) [17:24] stepheneb has joined the channel [17:25] bpot has joined the channel [17:25] dgathright has joined the channel [17:27] rauchg_ has joined the channel [17:27] jacobolus has joined the channel [17:28] itissid has joined the channel [17:29] femtooo has joined the channel [17:29] aconbere has joined the channel [17:29] isaacs has joined the channel [17:30] _announcer: Twitter: "Learn more about node.js at http://phxrails.com/ Nov 23rd" -- gangplank. http://twitter.com/gangplank/status/4224691296280576 [17:32] qFox has joined the channel [17:34] aurynn has joined the channel [17:35] _announcer: Twitter: "@ Moming2k node.js is used to write socket server, and it is this aspect of language is known as the most productive" [zh-TW] -- 小影. http://twitter.com/siuying/status/4225895111860224 [17:35] noahcampbell has joined the channel [17:38] _announcer: Twitter: "Callback bonanza - linearising asynchronous calls: http://bit.ly/aPDzB0 #nodejs" -- Palle Zingmark. http://twitter.com/palleman/status/4226720311803904 [17:38] prettyrobots has joined the channel [17:39] xla has joined the channel [17:41] jchris has joined the channel [17:43] rwaldron_ has joined the channel [17:43] rwaldron_ has joined the channel [17:44] niko has joined the channel [17:44] bnoordhuis has joined the channel [17:44] jacobolus has joined the channel [17:45] matt_c has joined the channel [17:45] bnoordhuis: riddle me this: if i want to do soap (server and client) from nodejs, what is the best solution? [17:46] bnoordhuis: more specifically, saml 1.1 [17:46] jakehow has joined the channel [17:47] davidascher has joined the channel [17:47] Anti-X has joined the channel [17:48] banjiewen has joined the channel [17:48] mikeal has joined the channel [17:50] fbits has joined the channel [17:50] mikeal has joined the channel [17:50] bradleymeck: lack of soap implementation still stands [17:51] devtime has joined the channel [17:52] bartt has joined the channel [17:52] bnoordhuis: bradleymeck: i was afraid this might be the case [17:52] bnoordhuis: so it'll have to be homegrown then [17:54] robinduckett: build something on top of the xml streaming modules currently available [17:54] eee_c has joined the channel [17:55] _announcer: Twitter: "this is very interesting: http://expressjs.com web application framework node.js" [es] -- Claudio Medel ✔. http://twitter.com/cl_audio/status/4230899243687936 [17:55] bnoordhuis: robinduckett: is there a clear winner in that field? [17:56] jesusabdullah: What field? [17:56] bnoordhuis: jesusabdullah: streaming xml parsers [17:56] jesusabdullah: Oh, streaming modules [17:56] jesusabdullah: xml?! TSSCH [17:56] MattJ: Streaming XML parsers++; [17:57] devtime: isaacs: I just to figure this out as well: Are the npm packages we install specific to the virtual environment we're in? [17:57] bnoordhuis: half the world speaks soap, nothing to it [17:57] jesusabdullah: streaming and parsing is good. xml is bad! >:O [17:57] isaacs: devinus: replying to your issue [17:57] jesusabdullah: Not a fan personally [17:57] devtime: just -> just *need* [17:57] xla has joined the channel [17:57] MattJ: bnoordhuis: FWIW I use node-xml, I haven't tried any others though [17:57] jesusabdullah: I appreciate the "shit exists" point though :/ [17:57] isaacs: devinus: https://github.com/isaacs/nave/issues/issue/3/#comment_543030 [17:57] cardona507 has joined the channel [17:58] bradleymeck: xml is fine, the fact that it has attributes and node-values is a bit odd [17:58] jvolkman-work: they should have picked one or the other [17:58] devtime: isaacs: you mean devtime? :D thx [17:58] bradleymeck: agreed [17:58] _announcer: Twitter: "Playing with node.js, mongodb, twitter userstream....." -- Thomas Landspurg. http://twitter.com/tomsoft/status/4231899006377984 [17:59] bnoordhuis: MattJ: could you give a quick breakdown of node-xml's strong and weak points? [17:59] bnoordhuis: please, i mean :) [17:59] MattJ: It's a SAX parser so it just slotted into my system :) [18:00] MattJ: Not really sure what else to say [18:01] bnoordhuis: parsing soap with a sax parser [18:01] bnoordhuis: maybe i need to rethink my strategy [18:03] devtime: isaacs: ah, so I install npm only *once*? not an npm f each virtual environment? [18:03] jchris has joined the channel [18:03] isaacs: devinus: you can,if you want. [18:03] isaacs: devinus: but like i said, if you have set the various root configs, then those will be used always, in all subshells [18:04] superjudge has joined the channel [18:04] jlee has joined the channel [18:06] sechrist has joined the channel [18:07] sechrist has joined the channel [18:09] _announcer: Twitter: "Node.js and Hadoop use at Xydo - NYC Tech Talks Meetup - NYC Tech Talks (New York, NY) - Meetup http://bit.ly/bdNxOI" -- Bob Patterson Jr. http://twitter.com/bobpattersonjr/status/4234624507060224 [18:10] devtime: isaacs: so, let's see if I got this, step by step: clean installation (no node); install nave; install npm; then "nave use "; then "npm install "; then, when its time update node (and eventually update packages) wo killing the current node server running: "nave use "; npm install ? so npm doesn't need Node to install itself? [18:11] jesusabdullah: Haderp :D [18:11] isaacs: devtime: you need node to install npm [18:11] devtime: ah, ok... so... [18:11] isaacs: devtime: but you can install npm in the subshell, or in the main root, doesn't matter. [18:11] isaacs: devinus: if you install it in the subshell, it won't be available outside. [18:11] isaacs: devtime: ^^ [18:12] Druid_ has joined the channel [18:12] devtime: ah, so i if install npm in a subshell it just gets installed in the whole system? it's exactly the same installation result as if I had installed from the main root? [18:13] isaacs: no, if you install it in a subshell, it's just in that subshell. [18:13] devtime: ah [18:13] isaacs: devtime: it'll get installed someplace like path/to/nave/installed/0.2.4/bin/npm [18:13] davida has joined the channel [18:14] _announcer: Twitter: "Playing around with rabbit.js, RabbitMQ + node.js together. Really liking it: http://bit.ly/9H3Xo0 #nodejs #rabbitmq" -- Matthew Podwysocki. http://twitter.com/mattpodwysocki/status/4235922186964993 [18:15] muk_mb has joined the channel [18:16] isaacs: devtime: subshells "inherit" in a way, from the main shell. [18:17] devtime: isaacs: so if I don't want to have a base Node, I'll have to install npm after setting up every virtual environment -- right? [18:17] nsolsen has joined the channel [18:17] isaacs: devtime: yes. [18:18] isaacs: devtime: i usually have the latest-and-greatest-and-often-broken in my main shell, and then have nave subshells for each version when i need to test on those. [18:18] isaacs: but you can set it up a lot of different ways. [18:18] _announcer: Twitter: "Right, I've installed Node JS. What now?!" -- Joe Critchley ↩. http://twitter.com/joecritchley/status/4236783504072704 [18:18] kordless has joined the channel [18:19] isaacs: devtime: you could go into one of those shells, get the npm source code, and then do `node cli.js install npm --binroot /usr/local/bin --manroot /usr/local/share/man` [18:19] c4milo has joined the channel [18:19] c4milo has left the channel [18:19] isaacs: devinus: nave shells aren't virtual machines. they're just a bit of environ magic. [18:20] dgathright has joined the channel [18:20] devtime: isaacs: yes [18:20] sixtus42 has joined the channel [18:20] ooooPsss has joined the channel [18:21] evanmeagher has joined the channel [18:21] dguttman has joined the channel [18:22] sixtus42 has left the channel [18:23] devtime: devtime: ok, i think i got it. let's see if it works... ;) [18:23] devtime: isaacs: ^^ [18:23] isaacs: talking to yourself? [18:24] isaacs: isaacs: you can do this, buddy! i believe in you! [18:24] devtime: :D mistake [18:24] devtime: but yes, also to myself ;) [18:24] JimBastard: you can dooo iitttt [18:24] devtime: yes, good f self-confidence ;) [18:25] JimBastard: isaacs: you know any good tech meetups this week? [18:25] isaacs: JimBastard: i hear sencha conf is pretty awesome. ryah's there. [18:25] sh1mmer has joined the channel [18:25] JimBastard: word [18:25] isaacs: honestly, i dunno. probably. this is the bay area, there are always developers getting drunk and talking shop somewhere. [18:26] admc has joined the channel [18:26] _announcer: Twitter: "#node.js - someone had too much time writing this? http server written in Javascript? no, thanks" -- MacYET. http://twitter.com/MacYET/status/4238815606603776 [18:26] sechrist has joined the channel [18:28] achristianson: lol @ _announcer [18:28] rtomayko has joined the channel [18:29] isaacs: wow, that @macyet dude seems like a really pessimistic dude [18:30] aurynn: Some people are just whiny [18:30] stride: or like a python guy that saw that a dog pissed at one of his trees ;) [18:30] isaacs: when your most common twitter hashtag is #fail, then you are #fail. [18:30] JimBastard: isaacs: are you gonna visit senchaconf at all [18:30] isaacs: JimBastard: no, i'm in the city today, and flying to vancouver tomorrow for 2 days [18:30] JimBastard: yeah MacYET is upset he's getting old [18:30] mjr_ has joined the channel [18:31] bentruyman: "It's scary that people working with #MongoDB having even less clues about their work than people working with #MySQL" - @MacYet [18:31] bentruyman: :-/ [18:31] jesusabdullah: Naw, python guys are basically the "okay" guy [18:31] stride: python was really nice until they got all javaesque with buzzwords 'n stuff.. :) [18:31] rbranson: reverse trolling the troll [18:31] rbranson: :D [18:31] bentruyman: heh [18:31] stride: jesusabdullah: true, but obviously not that guy :) [18:31] isaacs: this is funny, though: http://twitter.com/#!/MacYET/status/593201450717185 [18:31] saschagehlich has joined the channel [18:32] _announcer: Twitter: "Fu ru O @ naotori or others in the Rails Ppoku Suka, Node.JS Kitara also to talk about cooperation and there is always quite interesting, but w expect, the more real when studying Yara" [ja] -- 小堤一弘. http://twitter.com/kotsutsumi/status/4240325119836160 [18:32] rbranson: http://twitter.com/rbranson/status/4240050892046336 [18:33] rbranson: only took me like 5 minutes to figure out where the direct status link is [18:33] stride: heh, good one :) [18:33] Ori_P has joined the channel [18:33] saschagehlich has joined the channel [18:34] teemow has joined the channel [18:34] stride: although I'm not sure how UML is anything close to dead in the real world, did I miss something? [18:34] derferman_ has joined the channel [18:34] jesusabdullah: stride: That guy's obviously a java person [18:35] jesusabdullah: stride: bitches be encroaching on his jsp's [18:35] ooooPsss has joined the channel [18:35] rbranson: JSPs go hard [18:36] ooooPsss has left the channel [18:36] stride: jesusabdullah: according to his profile, he's python & marketing [18:37] JimBastard: i really need to fire frankie back up [18:37] JimBastard: i think bmeck is on it [18:37] JimBastard: i gave him a beta account this morning [18:37] V1_ has joined the channel [18:37] jesusabdullah: stride: Huh. You got me there! [18:42] malkomalko has joined the channel [18:42] gf3 has joined the channel [18:42] indexzero: nodejitsu party [18:43] _announcer: Twitter: "@trygve_lie Nice article. I'm reading "the good parts" now. Thoroughly refreshing, knowing it was written *before* node.js!" -- Erik Mogensen. http://twitter.com/mogsie/status/4243117314146304 [18:43] nsolsen has joined the channel [18:43] WRA has joined the channel [18:45] mizerydearia has joined the channel [18:47] ooooPsss has joined the channel [18:50] jherdman has joined the channel [18:52] bradleymeck has joined the channel [18:52] kkaefer: is there an irc server written in node? [18:53] kkaefer: I only found irc clients so far [18:53] kkaefer: ah [18:53] kkaefer: https://github.com/aredridel/node-irc [18:53] gkatsev: there are a few other as well. check the modules page on the node github wiki [18:54] matthewford has joined the channel [18:55] kkaefer: gkatsev: I checked that page but there are only two irc client libraries listed [18:55] kkaefer: one client and one bot actually [18:55] itissid: Hi I want to make a hello world program for someting I want to make later. the process is as follows 1) A C++ process that will run as a process waiting for requests on a local socket 2) This process should write to the nodejs response object... I am panning to write to a socket from node.js and have the C++ read from that socket. The C++ app I am writing in boost.asio... [18:56] gkatsev: ok, pretty sure i've seen a few more mentioned in here, though, I guess they may not have been added to that list or something [18:56] bpot has joined the channel [18:56] kevwil has joined the channel [18:56] itissid: is that a decent architecture? [18:57] kkaefer: itissid: your message got truncated after boost.asio [18:58] itissid: kkaefer: That is the entire message i added the ... I want to know if this will scale well enough... [18:58] kkaefer: oh, ok [18:58] itissid: The C++ process is quite fast [18:58] gkatsev: itissid: I dont really see a problem, you are just talking between the C++ app and the node app via a unix socket, right? [18:59] itissid: yeah [18:59] gkatsev: The only problem I see is you trying to code in C++ :P [19:00] itissid: gkatsev: That is a long story.... The huge program is already writen in C++.. i dont want to rewrite it... [19:00] gkatsev: well, not really you trying to code in C++, the whole 'C++' is the problem. :P [19:00] gkatsev: itissid: understandable, just joking around. [19:00] itissid: boost.asio seems decent [19:01] eee_c1 has joined the channel [19:01] itissid: to wrap that application to [19:01] itissid: wait on sockets [19:01] itissid: Thanks [19:01] gkatsev: a friend of mine showed me how to write annonymous functions and nested functions inside of other functions in GCC C, it was crazy. [19:01] gkatsev: also, how to pass around function pointers as arguments to functions and stuff [19:01] _announcer: Twitter: "No sooner have you speak against # nodejs and already we have five new followers:)" [de] -- MacYET. http://twitter.com/MacYET/status/4247729614098432 [19:01] MattDiPasquale has joined the channel [19:02] agnat has joined the channel [19:02] jakehow has joined the channel [19:02] bradleymeck: as long as you arent mixing massive amounts of templates/preprocessor [19:05] _announcer: Twitter: "Again just go with the search engine on NodeJS & # MongoDB pressure" [nl] -- JvdMeulen. http://twitter.com/JvdMeulen/status/4248740185513985 [19:06] V1_: Sooo did someone connect kinetic to node yet ;) [19:07] fangel: haha.. yeah, there's like been experimental drivers out for like a couple of days yet.. pfft, why is Node.js so slow in getting client libraries out.. :P [19:07] femtoo has joined the channel [19:07] masm has joined the channel [19:07] mattly has joined the channel [19:08] jamescarr: indexzero, hey [19:08] indexzero: jamescarr: hey there [19:08] jamescarr: you might need to re-pull your chargify changes [19:08] fangel: (though I'm not sure what one would do with Kinect with Node, as it's mostly video-processing, and last time I checked that wasn't JS strong side.. [19:09] jamescarr: I saw the email, but it doesnt show up on github [19:09] indexzero: jamescarr: oh you mean submit another request? [19:09] jamescarr: yeah [19:09] indexzero: ok, I'll do that now [19:09] jamescarr: I think it got lost with github going down :) [19:09] indexzero: might've been b/c of the outage [19:10] indexzero: jamescarr: https://github.com/jamescarr/paynode/pull/2 [19:10] indexzero: also, I think it definitely got lost by the outage, because https://github.com/jamescarr/paynode/pull/1 doesn't exist :-/ [19:11] _announcer: Twitter: "DailyJS: Node Isn't...: http://bit.ly/bYdr9k <- great article to clarify what node.js is all about (or isn't)" -- Hernan Garcia. http://twitter.com/theprogrammer/status/4250038465208320 [19:11] postwait has joined the channel [19:12] InsDel has joined the channel [19:12] itissid: gkatsev: When multiple HTTP processes write to a local UNIX socket on which a process is listening what guarantees they dont step on each other toes/ [19:12] itissid: ? [19:12] postwait: I have a node.js app using node-amqp.. it functionally works well, but I see wicked memory growth of my node process. [19:13] postwait: are there good tools to track objects allocated in the VM? [19:13] gkatsev: itissid: I wouldn't know. Sorry. You might want to create some kind of mutex or lock file or w/e [19:13] konobi: postwait: have you upgraded to 0.3.0? [19:13] gkatsev: itissid: there may be libs that can help you out with that or something. Color me ignorant. [19:16] liar has joined the channel [19:16] jamescarr: wish dshaw was here, need him to review my presentation since it follows the structure of his at one point [19:18] postwait: konobi: I'm running 2.4.0 [19:18] postwait: konobi: is this a known issue with 2.x? [19:18] konobi: postwait: there was a fairly substantial change in 0.3.0 in relation to memory growth, iirc [19:18] unomi has joined the channel [19:19] postwait: konobi: those aren't being backported into stable, right? [19:19] postwait: this code is destined for production soonish. [19:20] itissid: Can Any one help me here.. ? I have a C++ process that is listening on a socket and multiple requests from a node.js server write to it.... The C++ process does some processing and needs to write back to the response object.. How do i multiplex the data correctly here? [19:21] norviller has joined the channel [19:21] pquerna: postwait: no 0.2.x wont get many possible scary changes [19:21] itissid: I thought the process was simply writing in and out from sockets... But it seems harder that it is actually... [19:21] pquerna: postwait: 0.3.x is coming along, but i suspect 0.3.1 wont be out for a week or more [19:22] pquerna: (writev changes ryah is working on arne't merged yet) [19:22] postwait: I can get my node to "leak" 100M/minute [19:22] kkaefer: Astro: node-expat only works with 0.2.x, right? [19:22] pquerna: lots of Buffers? [19:22] pdelgallego has joined the channel [19:22] postwait: node-amqp [19:22] postwait: so, yes. [19:23] pquerna: 0.3 user java-script-space buffers and in what i saw massively reduced those kinds of memory growths, related to buffers not getting nuked [19:23] mikedeboer has joined the channel [19:23] pquerna: *0.3 has [19:23] bpot_ has joined the channel [19:23] bpot_ has left the channel [19:23] ryah: postwait: node-amqp is leaking for you? [19:24] itissid: anyone? [19:24] postwait: ryah: My code around it is minimal [19:24] UHMA has joined the channel [19:24] postwait: no one is "connected" to my service, so the messages are shortly just not acted upon. [19:25] postwait: It's a pub/sub sorta thing... read from MQ, look for subscribers, there are none, so no op. [19:25] cloudhead has joined the channel [19:25] postwait: So, yes, I think it is node-amqp. [19:25] jvolkman-work: are events emitted synchronously or are the pushed onto the event queue for the next tick? [19:25] dmcquay has joined the channel [19:26] postwait: I'd love to know how to pinpoint the offender (fixable or not) [19:26] rauchg_ has joined the channel [19:26] ryah: hm - i use it pretty regularly doing similar things, not experiencing that [19:26] ryah: postwait: can you show me the code? [19:26] kkaefer: is there a way to install different node environments in separate "sandboxes" [19:26] kkaefer: i.e. one that is 0.3 and one that is 0.2? [19:26] ryah: or better, extract it into a test case? [19:26] kkaefer: complete with their own npm etc. [19:26] ryah: kkaefer: checkout "nvm" [19:26] kkaefer: thanks [19:27] postwait: I'm not pushing on it too hard.. about 1000 to 2000 message/second I'm reading. [19:27] CIA-95: node: 03Ryan Dahl 07simple_modules * ra375c6a 10/ src/node.js : [19:27] CIA-95: node: Revert node_module lookup commits [19:27] CIA-95: node: Revert "Add ~/.node_modules as well as ~/.node_libraries" [19:27] CIA-95: node: This reverts commits [19:27] CIA-95: node: 5e14c8bec0b4e1c19d8567cf8b843b215e8796ac. [19:27] CIA-95: node: b0adaff67e492ab9ac583059f5e2dba54de0973b. [19:27] CIA-95: node: 492fc0d7524c0a5b546fb1a16f1b49bb4db73da8. - http://bit.ly/bqxqAB [19:27] CIA-95: node: 03Ryan Dahl 07simple_modules * r183f6c2 10/ src/node.js : Add .node_moudles to lookup path again - http://bit.ly/d8nERQ [19:28] postwait: ryah: I'll see what I can do. [19:28] dgathright_ has joined the channel [19:28] ryah: isaacs: can you checkout those two commits [19:30] _announcer: Twitter: "Node.JS hopefully work with the server side, client side, not all command line or as JS. Ext JS 4.0 and the Touch Sencha, Ext.Platform Maybe that is common in, Ext Core Core is also what happens and how to use Ext.Platform." [ja] -- 小堤一弘. http://twitter.com/kotsutsumi/status/4254811650269184 [19:30] Nohryb has joined the channel [19:31] daniellindsley has joined the channel [19:32] itissid: Ok I rephrase my questions... whats a good way to multiplex data between a node js server and a seperate process, so that the right response objects get written onto incase of multiple requests? [19:33] jamescarr: whats the github page for connect addons (like oauth, facebook etc)? [19:33] tilgovi has joined the channel [19:33] itissid: there is only one copy of the process that can run at a time... [19:33] derferman has left the channel [19:34] bradleymeck: jesus, 2 days and I think i finally have jni invocation linking right [19:34] abstractj has joined the channel [19:35] pquerna: bradleymeck: JNA might just be easier depending on what you need to get at [19:35] gkatsev: itissid: I told you, one way is to create a mutex. Create a .lock.socket-xxxx file and before writing to the socket make sure if the file is there, if it is not, create the file, write to the socket and delete the file. If the file is there, try again later. Or watch the file for deletion. [19:36] bradleymeck: pquerna, sadly linking stuff to make wrappers [19:36] ezmobius has joined the channel [19:36] springmeyer has joined the channel [19:36] bradleymeck: so not from java [19:38] _announcer: Twitter: "Even though I did not shit Node.JS Owatsu barely even study." [ja] -- 小堤一弘. http://twitter.com/kotsutsumi/status/4256895296606208 [19:39] rauchg_ has joined the channel [19:39] _announcer: Twitter: "Towards the end, Sencha Touch 1.0 and analysis, Ext 4.0 Minai and all you get soup, but then I crawl Node.JS JS Builder and the Code JSDB orz" [ja] -- 小堤一弘. http://twitter.com/kotsutsumi/status/4257147286200320 [19:41] sixtus42 has joined the channel [19:41] softdrink: translation fail. [19:45] Ori_P has joined the channel [19:47] cardona507: even though I did not shit node.js? [19:47] cardona507: huh? [19:49] MikhX has joined the channel [19:49] _announcer: Twitter: "We have an amazing #linkeddata + #nodejs job opportunity opening in #chile. Interested? Please RT" -- Aldo Bucchi. http://twitter.com/aldonline/status/4259651688333313 [19:49] AAA_awright: #I #can #use #hash #tags #too #nodejs [19:50] postwait: ryah: I think this issue is not with node-amqp.. it is with creating anonymous functions for each message I receive. [19:50] Astro: kkaefer: think so... send patches :) [19:50] postwait: I was emulating lazy evaluation with the messages.... without that, it stabilizes and appears to GC around 150MB of vsize. [19:52] UHMA has joined the channel [19:53] rauchg_ has joined the channel [19:54] postwait: ryah: still leaking, here's some code: https://gist.github.com/700850 [19:54] _announcer: Twitter: "It doesn't matter if you don't know #nodejs or #linkeddata. We will learn together. What we require is that you KICK ASS. #jobs #chile" -- Aldo Bucchi. http://twitter.com/aldonline/status/4260930967834624 [19:55] postwait: ryah: if you publish like 2000 m/s (80 byte message) on the exchange to which you connect it, you see some "not good" memory behaviour. [19:55] jamescarr has joined the channel [19:56] _mythz has joined the channel [19:57] AAA_awright: webr3: ^ What do you suppose someone is doing with Node.js and linked data...? (I mean, I know what I'm doing) [19:58] devtime: isaacs: is there a way to have npm install a package right from its GitHub repo? [19:58] javruben has joined the channel [19:58] devtime: I mean the pkg's GitHub repo, of course ;) [19:59] kkaefer: what's the protocol when changing one of the files in deps/? [19:59] kkaefer: (of node.js core) [19:59] gkatsev: you should have the ability to install node via npm and npm via node. :_ [19:59] gkatsev: :) [19:59] micheil: kkaefer: hmm, why would you need to change them? [20:00] _announcer: Twitter: "I'm attending Node.js Camp SF -- http://www.eventbrite.com/s/235R" -- Harold Liss. http://twitter.com/haroldliss/status/4262391147659264 [20:00] kkaefer: micheil: there's one comma on line 166 of libeio.h that is too much [20:00] kkaefer: trailing comma in an enum [20:00] _announcer: Twitter: "Setting up monit http://mmonit.com/monit/ to restart #nodejs scripts if they crash. Looks like a good solution for that." -- Javier Loriente. http://twitter.com/JavierLoriente/status/4262496231751681 [20:00] micheil: in which case you should probably push it upstream [20:00] isaacs: devtime: npm install http://githhub.com/user/project/tarball/master [20:00] isaacs: devtime: you can replace "master" with a tag or commit, too [20:01] kkaefer: micheil: get it into node first then push upstream? [20:01] kkaefer: or first into libeio [20:01] micheil: although, generally those sorts of things aren't high on the "list of things to correct" for a lot of people. [20:01] micheil: kkaefer: probably first in libeio [20:01] kkaefer: micheil: well, it breaks compilation for node-stringprep [20:01] kkaefer: micheil: is there like a gcc switch that makes it ignore that? [20:01] micheil: hmm.. [20:02] devtime: isaacs: ah, got it! so, as soon as a commit to master is done, the master tarball gets made, eh? didnt know that [20:02] kkaefer: node compiles fine, but not node-stringprep [20:02] micheil: I find it slightly hard to believe that code in node's deps would stop compiling the node-stringprep [20:02] mikeal1 has joined the channel [20:03] kkaefer: micheil: https://gist.github.com/8c49c25040ddbbc515a4 [20:03] isaacs: gkatsev: a node npm package wouldn't be very hard. [20:03] saikat: mjr_: hey, i tried out your redis client over the weekend with node 0.2.4 but after running for a while (and seemingly during my highest peeks of traffic), requests to the DB seemed to start timing out (I have my own timeout mechanism). i haven't diagnosed yet what exactly was causing it (i'll need to use ab as i can't make it happen consistently), but thought you should know in case anyone else sees something similar [20:03] evanmeagher has joined the channel [20:04] mjr_: yeah, I'd like to hear more about that if you can figure out more precisely the conditions that cause that [20:04] gkatsev: isaacs: would be cool. Cuz they you only need to install npm by yourself and then use npm to install node and everything else. [20:04] isaacs: gkatsev: well, npm depends on node [20:04] _announcer: Twitter: "Well, genius! #cradle - a CouchDB implementation for #nodeJS - really cool! http://bit.ly/cdFdc2" -- Christoph Martens. http://twitter.com/martensms/status/4263575593947136 [20:04] mizerydearia has joined the channel [20:04] isaacs: gkatsev: without having node already installed, you can't run npm. [20:04] eee_c has joined the channel [20:05] isaacs: gkatsev: so that's why it's a bit silly [20:05] gkatsev: isaacs: hehe. Ok, I guess having npm be installed from node would be cool [20:05] micheil: kkaefer: try mailing the nodejs-dev mailing list, my guess would be that you'd be asked to push upstream [20:07] rnewson has joined the channel [20:07] jakehow has joined the channel [20:07] murz has joined the channel [20:08] jpld has joined the channel [20:09] MattDiPasquale has joined the channel [20:09] _announcer: Twitter: "who else does node.js and linked data? @aldonline?" -- nathan. http://twitter.com/webr3/status/4264837278339073 [20:10] dmcquay2 has joined the channel [20:12] _announcer: Twitter: "zappa: Coffee Script DSL on top of Express, Node.js, and Socket.IO - The Changelog - Open Source moves fast. Keep up. http://bit.ly/dlnezj" -- Thomas Billenstein. http://twitter.com/tbillenstein/status/4265594383769600 [20:13] _announcer: Twitter: "@MSch well, if i think a bit longer 'bout cool kids use node.js ;) rails is deprecated :)" -- ben. http://twitter.com/beanieboi/status/4265717687918592 [20:13] charlenopires has joined the channel [20:15] Gruni has joined the channel [20:15] pedrobelo has joined the channel [20:16] jamescarr: sick... webworker example to find perfect numbers [20:16] _announcer: Twitter: "Anyone want to join in with this server I'm purchasing? Planning to run Linux and node.js with some sort of NoSQL database" -- Andrew Lowther. http://twitter.com/AndrewLowther/status/4266573367869440 [20:18] jchris has joined the channel [20:19] _announcer: Twitter: "@ Mickburkejnr Note PHP you silly man, node.js" [sv] -- Andrew Lowther. http://twitter.com/AndrewLowther/status/4267261862871040 [20:21] delapouite has joined the channel [20:22] jamund: So I'm trying to unlink a file as soon as readFile is complete. t doesn't seem to want to let me do that. any thoughts? [20:23] JimBastard: jamund: that should work fine, can you gist your code [20:23] JimBastard: what error are you seeing? [20:24] mraleph has joined the channel [20:25] kevwil has joined the channel [20:27] _announcer: Twitter: "@aldonline #nodejs + #linkeddata #rdf For The Win! @webr3" -- Austin Wright. http://twitter.com/awwright/status/4269333639335936 [20:32] wink_ has joined the channel [20:34] benburkert has joined the channel [20:34] tmpvar has joined the channel [20:35] Dreamer3 has joined the channel [20:35] jamund: JimBastard: yes i can. one sec! [20:35] JimBastard: aight jamund let me know [20:35] JimBastard: hey tmpvar can i bug you now? [20:36] JimBastard: :p [20:36] tmpvar: howdy [20:36] kriszyp has joined the channel [20:36] JimBastard: do you have any idea how long it will take to get jsdom to use the more forgiving xml parser? people really need that shit, everyone is using soup select instead of jsdom and jquery [20:37] AAA_awright: Are there any good Node.js debuggers, browser based? It has to work over the Internet. [20:37] JimBastard: i know you have low bandwidth, is it something we could put someone else on? [20:37] tmpvar: JimBastard, which parser? [20:37] tmpvar: AAA_awright, node-inspector [20:37] tmpvar: oh [20:37] AAA_awright: tmpvar: https://github.com/dannycoates/node-inspector ? [20:37] tmpvar: yeah [20:37] AAA_awright: tmpvar: Has that been fixed in the last month/ [20:37] AAA_awright: ? [20:37] tmpvar: yes [20:37] JimBastard: tmpvar: is that the problem? to my understanding soup-select magically works with bad dom [20:37] jamund: JimBastard: was happening last night, now it magically works. thanks :) [20:37] tmpvar: ive used it with 0.3.1 a handful of times [20:37] JimBastard: jamund: i have that power [20:38] JimBastard: i call it the technology distortion field [20:38] JimBastard: things magically break when i want them to and work when im around [20:38] tmpvar: JimBastard, integrating a parser is stupid easy.. a good parser is the real problem [20:38] stride: jamund: was your system under heavy load last night or something? [20:38] JimBastard: tmpvar: how does the soup select do it? [20:38] JimBastard: ive never used it [20:39] tmpvar: no idea what that is [20:39] JimBastard: one sec [20:39] jamund: stride: i think it's just a really poorly implemented solution that i wrote. i'll show you the code. (it's more of a proof of concept) [20:39] stride: jamund: readFile calls the callback with the data without waiting for fd.close to finish, maybe that + some bad system circumstances caused it [20:39] tmpvar: JimBastard, soup select uses BeautifulSoup [20:39] JimBastard: https://github.com/harryf/node-soupselect [20:39] tmpvar: ah [20:39] JimBastard: BS is python [20:39] tmpvar: holy wow [20:39] JimBastard: not JS [20:40] tmpvar: right, this is a port [20:40] JimBastard: http://www.reddit.com/r/node/comments/dm0tz/nodesoupselect_for_scraping_html_with_css/c118r23 [20:41] JimBastard: i really don't want to see a big split on this [20:41] JimBastard: we really should get jsdom to be more forgiving, or if it already is, publicize it more [20:41] JimBastard: people shouldnt not pick jsdom because they can't parse a malformed page, you know? [20:41] tmpvar: thats the parser dude [20:41] JimBastard: i understand [20:42] JimBastard: and so do you [20:42] JimBastard: thats about it though [20:42] JimBastard: :-) [20:42] tmpvar: lol [20:42] tmpvar: i was hoping Aria would finish html5 [20:42] tmpvar: and then we could just bundle that as default [20:42] tmpvar: and tagsoup on parse failure [20:42] JimBastard: well [20:43] JimBastard: what do you think the best step is to move forward? [20:43] AAA_awright: Oh nice [20:43] danoyoung has left the channel [20:43] tmpvar: JimBastard, good question [20:44] tmpvar: port BS [20:44] JimBastard: cant we just swap the parser out? [20:44] AAA_awright: Is npm going to start using symlinks sometime soon? [20:44] JimBastard: or make the parser pluggable [20:44] tmpvar: JimBastard, yeah you can [20:44] JimBastard: (if its not already) [20:44] AAA_awright: Instead of recursive require()? [20:44] JimBastard: tmpvar: could i just swap it and start running tests? [20:44] tmpvar: JimBastard, there are plans for that.. and you can already use html5 or htmlparser(default) [20:44] JimBastard: is it that simple? [20:44] tmpvar: you have to write the glue [20:45] JimBastard: you wanna try to have a hack sesh on this sometime this week? maybe just enough to get me started? [20:45] tmpvar: aka, when the parser finds a tag/attr you have to create a dom element and insert it properly [20:45] jamund: stride: https://github.com/xjamundx/CollabPaintJS/blob/sound/server.js [20:45] ryah: postwait: which version of node? [20:45] tmpvar: JimBastard, its something like https://github.com/tmpvar/jsdom/blob/master/example/node-xml/run.js [20:46] JimBastard: jamund: id always check for err on principle [20:46] JimBastard: in your readFile, you arent looking [20:46] postwait: ryah: v0.2.4 [20:46] nsolsen has joined the channel [20:46] jamund: JimBastard: k [20:47] _announcer: Twitter: "...waiting for a phone call and getting through #nodejs tutorials to increase my knowledge, hugh? =) http://nodejs.org" -- Christoph Martens. http://twitter.com/martensms/status/4274216065040384 [20:47] JimBastard: yo ryah its pretty sweet out here man, all these cougar chicks at the bar love me [20:47] xicubed has joined the channel [20:47] JimBastard: i told them i use node.js, works everytime [20:47] devtime: isaacs: is there a single npm command that will update a package if it is installed and install it otherwise? [20:47] JimBastard: :-D [20:48] malkomal_ has joined the channel [20:50] jmar777 has joined the channel [20:52] bradleymeck has joined the channel [20:53] indexzero: indexzero is outta here: headed to supervise grad students working on node.js related projects at Columbia [20:55] JimBastard: indexzero is cracking the whip, we got all these interns from columbia now [20:55] JimBastard: making them use node.js [20:55] JimBastard: i hear we are getting http://ganglia.sourceforge.net/ integration soon.... [20:55] mr_daniel has joined the channel [20:55] _announcer: Twitter: "so I've figured out that my #nodejs #mapserver bindings are not loading a map file, rebuilt with debug symbols and learning #gdb now" -- pagameba. http://twitter.com/pagameba/status/4276357538254848 [20:55] jamund: JimBastard: added the error checking and then tried it again and under any small load it was triggering the error, good tip! [20:56] JimBastard: :-) [20:56] JimBastard: jamund: what error does it trigger? [20:56] JimBastard: you have a concurrency issue? [20:56] JimBastard: i should read your gist again [20:56] programble has joined the channel [20:56] programble has joined the channel [20:57] JimBastard: ohh yeah hrmm, jamund is it the same file being sent everytime? [20:57] _announcer: Twitter: "@h84ll1 Going to host my new site off it :D Once i've written some stuff in node.js to run it on" -- Andrew Lowther. http://twitter.com/AndrewLowther/status/4276765832777728 [20:57] JimBastard: i could see there being an issue if you are trying to read / delete the same file over and over again concurrently [20:57] Nohryb has joined the channel [20:58] jamescarr: so who here is interested in looking over YAI2N (yet another introduction to node) presentation? [20:58] jamund: JimBastard: it's a silly idea where it generates a new sound file based on some params that get sent. don't have a live demo, right now. but yeah it generates a new file each time pushes it out and then deletes it. [20:58] jamund: JimBastard: https://github.com/xjamundx/CollabPaintJS/blob/sound/server.js [20:59] JimBastard: jamund: what if you perform the same exact request twice in a row [20:59] JimBastard: you have a 1:1 mapping to the file system, its gonna not be happy [20:59] JimBastard: right? maybe i dont understand [20:59] _announcer: Twitter: "Playing around with #JavaScript and #nodeJS. Good times." -- Kenneth Hingebjerg. http://twitter.com/khingebjerg/status/4277446006284288 [20:59] _announcer: Twitter: "Node Isn't... http://bit.ly/dkSgc3 <- Good information for people who may be misinformed about node.js." -- Jeremy Day. http://twitter.com/jeremyday/status/4277449554661376 [21:00] jamund: JimBastard: same request generates a new one. there's 0 caching and the sound generation is rather slow, which may explain why it freaks out from time to time. [21:00] stride: he's using a counter to prevent that [21:00] JimBastard: ahh [21:00] JimBastard: so what was the error happening under load? [21:00] aubergine has joined the channel [21:00] jamund: i somehow got it to delete the file before it read the file [21:00] jamund: not sure how [21:01] stagas has joined the channel [21:02] jamund: basically there is acanvas and you click on it and it does some silly fading colors where you click and a sound file plays using an audio tag and it plays the generated file. [21:02] stride: before it read it? that's a bit unlikely [21:02] jamund: clicking a lot made it do that. [21:02] jamund: stride: that's what it looks like anywya, but i agree that it's not likely [21:02] stride: what error are you getting from unlink? [21:03] jamund: stride / JimBastard: front end code: lines 105-108 are most important [21:03] jamund: https://github.com/xjamundx/CollabPaintJS/blob/sound/collabsound.js [21:03] wink_: jamund: is it possible you're creating the same file twice? one click generates it, the second click tries to generate the same one, then the first unlink occurs? [21:04] _announcer: Twitter: "@ciaran_j you could probably write a small node.js script, or use a serious of shell scripts." -- Micheil Smith. http://twitter.com/miksago/status/4278547346628608 [21:04] micheil: wow. I typoed bad there. [21:04] _announcer: Twitter: "Who wants to review a rough draft of a node.js presentation I'm giving? WHO!? :)" -- jamescarr. http://twitter.com/jamescarr/status/4278657979785217 [21:05] jamund: stride: http://jsbin.com/ucata4/edit [21:05] jamund: wink_: yeah it may be possible, looking at it . maybe my counter sucks. [21:05] wink_: jamund: you need more entroy in your filename generation, the counter doesnt suck [21:05] wink_: but its possible it hasnt incremented by the time the 2nd request has come in [21:06] stride: jamescarr: link or it didn't happen :) [21:06] jamescarr: oops :) [21:06] _announcer: Twitter: "Seriously though - anyone have any decent examples of Node JS shizzle? I *need* this is my life..." -- Joe Critchley ↩. http://twitter.com/joecritchley/status/4279013098921984 [21:06] jamescarr: http://www.slideshare.net/carrja99/introduction-to-nodejs-5778917 [21:06] jamund: wink_: ahh ok [21:06] jamescarr: it's a very ROUGH draft, so please be harsh :) [21:06] stride: wink_: oh, right.. damn :) [21:06] skohorn has joined the channel [21:06] wink_: jamund: instead of using a counter, use something more random [21:07] jamund: that makes more sense actually [21:08] stride: jamescarr: slide 3, "Implemented _in_ V8" seems wrong. although "using" is probably to long for the slide [21:09] bpot has joined the channel [21:09] jesusabdullah: With [21:09] jesusabdullah: Implemented with V8 [21:09] jamescarr: thats it [21:10] jamescarr: I was thinking that too, but couldnt choose a word [21:10] isaacs: or "on [21:10] jesusabdullah: Or, 'wif' for silliness [21:10] stride: jamescarr: slide 6, I'd drop the more there, you're async, or you're not. [21:10] jesusabdullah: implemented wif V8 [21:10] benburkert has joined the channel [21:10] isaacs: jesusabdullah: you spelled "implmtd" wrong [21:11] stride: jamescarr: slide 6, semicolon missing after console.log('something else') - I guess you don't want your audience to get into that holy war so I'd propose to just use them consistently :) [21:12] isaacs: stride: the only way to avoid the holy war is to use them INconsistently [21:12] isaacs: then everyone's happy [21:12] bruse: or no one is [21:12] bruse: either way, it's fine [21:12] stride: isaacs: nah, enterprise js, use at least 10 of them, always [21:12] isaacs: hahah [21:13] isaacs: some people indent with tabs. some people indent with spaces. Enterprise: indent with semicolons [21:13] stride: jamescarr: slide 6, maybe change "and do other tasks" to "and perform other tasks" (although that's just taste :)) [21:13] stride: isaacs: :D [21:13] cq-cjoudrey has joined the channel [21:13] isaacs: it's a defense against whitespace-strippers that might reformat your code. [21:13] bruse: brilliant [21:14] cq-cjoudrey has left the channel [21:14] jamescarr: hehehehe [21:14] stride: jamescarr: slide 7, what's the audience? people with laptops who want to try it right away might bump into the need for root priv. when using port 80 [21:14] tg has joined the channel [21:16] jamescarr: yeah, switched back to 8124 :-P [21:16] jamescarr: just in case I have to deal with that [21:16] jamescarr: can you message me any other comments/suggestions? I got to step away :) [21:16] bbttxu has joined the channel [21:17] stride: sure :) [21:18] nsolsen has joined the channel [21:18] jamescarr: also, let me know if the quote from Marcus Aurelius is really confusing. My fiance says she thinks it implies that node.js will be swept away, not events [21:18] ryah: postwait: having difficulty repeating in 03 [21:18] micheil: jamescarr: I didn't think net.Server.listen took a callback [21:18] jamescarr: I think she's just silly [21:18] jamescarr: micheil, it always has for me? [21:18] stride: micheil: it does [21:18] jamescarr: try it? [21:18] micheil: oh, okay, news to me. [21:18] jamescarr: I always use the callback on examples [21:19] jamescarr: to show that the server has started up [21:19] ryah: postwait: will try with 0.2 now [21:20] achristianson has joined the channel [21:21] micheil: jamescarr: that.. greeter example doesn't make much sense. [21:22] kkaefer: there seem to be so many xml modules; is there a favorite? [21:22] stride: "exports - an array of variables" (slide 12) exports isn't really an array, is it? [21:23] kkaefer: stride: it's not an array [21:23] stride: ok [21:23] pedrobelo has joined the channel [21:24] zemanel has joined the channel [21:25] brianmario has joined the channel [21:25] micheil: it's an object [21:25] ryah: postwait: also not seeing that in 0.2.4 [21:26] micheil: ryah: yeah, I still can't trace what was creating that folder for you [21:26] ryah: micheil: okay - i'll fix it later [21:26] micheil: okay [21:27] Dreamer3 has joined the channel [21:27] teemow has joined the channel [21:28] Booths has joined the channel [21:28] c4milo has joined the channel [21:28] Booths: Anyone know of a non-sax XML parser for node. I'm trying to get only specific tags out of an xml document. [21:28] evanmeagher has joined the channel [21:28] bentruyman has joined the channel [21:28] c4milo has left the channel [21:29] jamescarr: micheil, too simple? [21:29] jamescarr: I can come up with better... I think I was trying to keep things simple avoid tons of questions about unrelated stuff [21:29] achristianson has joined the channel [21:30] jamescarr: perhaps I should just leave the simple "Hello World" example alone and do something else? [21:30] Dreamer3 has joined the channel [21:30] herbySk has joined the channel [21:30] micheil: jamescarr: yeah [21:30] Dreamer3 has joined the channel [21:31] atmos has joined the channel [21:32] jimmybaker has joined the channel [21:32] stride: hm. why would you want to call require with a callback? isn't that blocking anyway? [21:32] tmpvar: Booths, isaacs has a sax parser, i think its like node-xml [21:32] isaacs: tmpvar: booths wants a non-sax parser, i think [21:33] broquaint has joined the channel [21:33] tmpvar: oh wow.. reading [21:33] isaacs: Booths: check out libxmljs [21:33] Booths: yeah I'm looking for something like DOMParser in a browser [21:35] jamescarr_ has joined the channel [21:35] rnewson has joined the channel [21:36] isaacs: oh, in a browser? [21:36] isaacs: Booths: that's a different sorta thing [21:36] jamescarr_: hehehehe [21:38] Booths: Nah, not in a browser, just like the browser type transversal [21:38] Booths: getElementsByTagName('blah')[0].childNode[0].nodeValue etc [21:39] alexfner has joined the channel [21:39] Booths: It's basically for passing information from other sources to the server, but the information is variable so I need to be able to apply logic to the parser and extract certain information based on what's given [21:40] isaacs: Booths: talk to tmpvar here aboutjsdom [21:40] _announcer: Twitter: ".@landlessness same thing in node.js PHEAR https://gist.github.com/700995" -- Visnu Pitiyanuvath. http://twitter.com/visnup/status/4287767521525761 [21:41] Ori_P has joined the channel [21:41] mattly has joined the channel [21:41] Booths: Alright, I'll look into JSDOM [21:42] devtime: isaacs:  is there a single npm command that will update a package if it is installed and install it otherwise? this would be quite handy. [21:42] isaacs: devtime: yeah. `npm install` [21:42] isaacs: devtime: ;) [21:42] devtime: but npm install installs another version, without uninstalling the older one... [21:43] devtime: at least that's how npm was working some weeks ago... [21:43] devtime: isaacs: ^^ [21:43] _mythz has left the channel [21:44] isaacs: devtime: yeah, i toyed with auto-pruning, but it turns out that there are like a gillion edge cases, and doing the right thing in all of them is trickier than it seems. [21:45] _announcer: Twitter: "Now building an application to organize & tag my favorite tweets using #nodeJS & other fancy #JavaScript libs! Will publish to #github soon!" -- Tim Czubayko. http://twitter.com/timmes/status/4288871437180929 [21:45] Booths: Hmm, from what I can tell jsdom doesn't have DOMParser [21:46] Dreamer3 has joined the channel [21:46] devtime: isaacs: so basically we just use "npm install" and prune sometime in the future? that's fine with me [21:46] micheil: isaacs: hm, npm list is like a search command, isn't it? [21:46] isaacs: micheil: yeah [21:46] isaacs: devtime: yeah [21:46] isaacs: devtime: you can also npm rm blah@old-version [21:46] micheil: was there an npm info? [21:47] isaacs: npm view pkg@version [21:47] isaacs: or npm view pkg [21:47] micheil: k [21:47] micheil: damn. [21:47] micheil: oauth-client has no repo in it's package.json [21:48] micheil: that should seriously be a required attribute [21:48] Booths: isaacs: seems like my best bet may be to try to get sax to turn an XML document into JSON, or something like that... [21:48] bradleymeck: Booths, jsdom has an integration to htmlparser [21:48] mattly has joined the channel [21:49] saikat has joined the channel [21:49] jamescarr_ has joined the channel [21:50] Booths: bradleymeck: I just created a window and logged it to see the functions, I guess I'm doing it wrong but I only saw other things like timeouts etc etc [21:51] ben_alman_ has joined the channel [21:52] _mql has joined the channel [21:52] _mql has joined the channel [21:53] namelessnotion has joined the channel [21:53] micheil: mikeal: you about? [21:54] mikeal1: yeah [21:54] mikeal1: i put my audio on dropbox [21:54] _mql1 has joined the channel [21:54] bradleymeck: Booths, it is not built into a jsdom window [21:55] bradleymeck: its part of the jsdom api [21:57] jesusabdullah: If you have a javascript function, is there any way to figure out how many arguments it expects? [21:57] Booths: bradleymeck: I'm pretty sure I'm an idiot then because I have no idea how to access that. [21:58] sechrist: People are already using amazon's GPU instances to crack passwords [21:58] sechrist: blah [21:58] jesusabdullah: Oh, .length [21:58] jesusabdullah: ? [21:58] jesusabdullah: Apparently! [21:59] micheil: jesusabdullah: what? [21:59] micheil: v8: (function(a, b, c){}).length [21:59] v8bot: micheil: 3 [21:59] micheil: v8: (function(a, b){}).length [21:59] v8bot: micheil: 2 [21:59] micheil: woah. [22:00] _mql has joined the channel [22:01] _announcer: Twitter: "@garcialo definitely! I use it for all sites. Can hardly imagine not using it for DOM stuff, although I'm also doing server JS with node.js" -- Kennon Ballou. http://twitter.com/kennon/status/4292865547051008 [22:01] rcy has joined the channel [22:01] aho has joined the channel [22:01] hellp has joined the channel [22:02] _announcer: Twitter: "Upgrade to 10.10 or just install node.js manually? Hmph." -- Chuck LeDuc Díaz. http://twitter.com/celeduc/status/4293128882225152 [22:03] cferris has joined the channel [22:03] fmontezuma has joined the channel [22:04] tanepiper: anyone done any webdav? [22:04] jimmybaker_ has joined the channel [22:04] tanepiper: specifcally jsDav [22:04] _mql has joined the channel [22:05] jesusabdullah: Yeech, my jquery is rusty again [22:07] _announcer: Twitter: "@garcialo check out http://vectorfinder.com built with jquery and node.js" -- Kennon Ballou. http://twitter.com/kennon/status/4294418685239296 [22:07] _mql1 has joined the channel [22:08] _mql2 has joined the channel [22:10] _mql3 has joined the channel [22:11] _mql3 has joined the channel [22:11] _mql has joined the channel [22:12] _mql1 has joined the channel [22:13] bradleymeck: anyone here know ringojs? do they know if it uses the JSObject api? [22:13] _mql1 has joined the channel [22:20] ang has joined the channel [22:21] postwait: how often does the gc run in node? [22:22] ryah: postwait: whenever it wants to [22:22] postwait: is there a maximum timeout? [22:22] postwait: my instance seems to retain about 2 minutes worth of data. [22:22] postwait: That seems to be the problem. [22:22] ryah: once a certain preasure builds up it is forced [22:23] ryah: you can run node --trace_gc script to see it [22:23] devtime_ has joined the channel [22:23] jamescarr: argh [22:23] jamescarr: fs.watchFile doesnt get triggered if it's a file change within a dir? [22:23] bradleymeck: nope [22:23] xicubed_ has joined the channel [22:24] jamescarr: bogus [22:24] xicubed_ has left the channel [22:24] postwait: ryah: I'll try thtt. [22:24] jamescarr: any better alternative besides nodemon? [22:24] bradleymeck: get onto your OS devs and start making em do a way to monitor fs trees [22:24] jamescarr: hehehe [22:25] olegp_ has joined the channel [22:26] _mql has joined the channel [22:27] _mql1 has joined the channel [22:28] _mql1 has joined the channel [22:29] _mql2 has joined the channel [22:30] Dreamer3 has joined the channel [22:31] _mql has joined the channel [22:31] Dreamer3 has joined the channel [22:32] MattJ has joined the channel [22:32] _mql3 has joined the channel [22:32] johan_bouveng has joined the channel [22:33] Dreamer3 has joined the channel [22:33] _mql1 has joined the channel [22:34] Dreamer3 has joined the channel [22:36] Dreamer3 has joined the channel [22:37] Dreamer3 has joined the channel [22:37] Dreamer3 has joined the channel [22:37] dmcquay2 has joined the channel [22:38] Astro has joined the channel [22:38] jamescarr: what is the accepted standard for checking if the os I am on supports libnotify or growl? [22:38] ryah: postwait: how much total memory are you suing? [22:39] breccan has joined the channel [22:39] tony_ has joined the channel [22:39] CIA-95: node: 03Ryan Dahl 07writev * r006faad 10/ (4 files in 4 dirs): Add callback to socket.write(), fix test-sendfds (+39 more commits...) - http://bit.ly/aPhV6b [22:40] [[zzz]] has joined the channel [22:41] bnoordhuis has joined the channel [22:41] siculars has joined the channel [22:41] postwait: ryah: I'm at 309M now. [22:42] sanduz2 has joined the channel [22:42] justin____ has joined the channel [22:42] Tim_Smart has joined the channel [22:47] sonnym has joined the channel [22:51] admc has joined the channel [22:51] Evet has joined the channel [22:55] ph^ has joined the channel [22:58] Booths has joined the channel [22:59] Aria has joined the channel [22:59] _announcer: Twitter: "If I'm taking most of the occupied node.js profile Builtin: LazyCompile · · ·. Rebuild Mendoi" [ja] -- ndruger. http://twitter.com/ndruger/status/4307561205473280 [23:00] _announcer: Twitter: "Node.js - ASYNC: http://p.hagelb.org/async.jpg (fortsättning on trollspårning)" [da] -- Anders H. http://twitter.com/parse_/status/4307802013048833 [23:03] sveimac has joined the channel [23:04] galaxywatcher has joined the channel [23:06] _announcer: Twitter: "Express node.js framework installed, node mongo adapter installed, ready to rock, time for bed I think" -- Andrew Lowther. http://twitter.com/AndrewLowther/status/4309214222618624 [23:06] richcollins has joined the channel [23:09] jamescarr: damn it [23:09] jamescarr: damn damn damn [23:11] Tim_Smart has joined the channel [23:11] cardona507: time to rock - time for bed - heh [23:11] evanmeagher has joined the channel [23:13] evanmeagher: has anyone run into issues with node not leaving files open after being interrupted? [23:14] evanmeagher: i'm writing a script that hits the open file limit, but doesn't seem to clean up after itself [23:14] Evet has joined the channel [23:14] isaacs: evanmeagher: are you closing them when you hit EMFILE [23:14] isaacs: ? [23:14] evanmeagher: not explicitly. i'm having to ctrl+c the script, since npm.cache hangs [23:14] evanmeagher: i'll add that though [23:15] isaacs: evanmeagher: oh, right [23:15] isaacs: evanmeagher: it shouldn't in the latest npm [23:15] evanmeagher: i also noticed that the files don't seem to show up in lsof output, which makes it hard to rack them [23:15] isaacs: evanmeagher: i released the fix for that last night [23:15] evanmeagher: *track [23:15] evanmeagher: isaacs: I thought you said you were going to... maybe it's my fault that the script hangs this time :P [23:15] isaacs: maybe :) [23:17] evanmeagher: wait, I thought you didn't have to watch for EMFILE when using fs.readFile [23:19] jamescarr: hey, who here has a mac and wants to try my new jasmine npm package to see if growl works??? [23:20] _announcer: Twitter: "About to co-present #nodejs with @ryah at #senchacon" -- Tim Caswell. http://twitter.com/creationix/status/4312703627689984 [23:20] malkomal_: hey guys, quick question [23:20] jamescarr: npm install jasmine && mkdir foo && cd foo && jasmine mon [23:20] malkomal_: anybody aware of the ssl memory leak? [23:20] rburhum has joined the channel [23:20] evanmeagher: jamescarr: i would, but i have to run to class [23:20] malkomal_: we're seeing some really terrible things happen just making a bunch of connections over https [23:20] jamescarr: then edit and save files, see if you can make the dummy spec provided fail [23:20] jamescarr: and tell me if growl notifies you [23:20] bnoordhuis: malkomal_: yes, it's a known problem [23:20] aconbere has joined the channel [23:21] bnoordhuis: it's on the to do list [23:21] malkomal_: are we sol right now making a bunch of https connections? [23:21] bnoordhuis: right now, yes [23:21] bnoordhuis: but expect it to improve in the coming weeks [23:21] bnoordhuis: pquerna has been working on this [23:22] malkomal_: ok, thanks for the heads up [23:22] mikew3c has joined the channel [23:23] micheil: jamescarr: why do people who are new to javascript and node.js suddenly want to copy and paste a chat server example? [23:23] isaacs: micheil: because chat servers are notoriously hard. [23:23] isaacs: and they're stupidly easy in node. [23:24] micheil: ACTION deprecated an api, and now people are complaining about it. [23:24] jesusabdullah: ACTION deprecates YOUR api! [23:24] jesusabdullah: >:O [23:24] isaacs: in socialist russia, api deprecates you! [23:25] Tim_Smart: russia.depreciate('jesusabdullah') [23:25] bbttxu has joined the channel [23:26] cardona507: heavy is the head that wears the crown [23:26] _announcer: Twitter: "Sencha Animator / CSS3 Animations talk was very cool. Getting ready for final talk of day - Node.js #SenchaCon" -- Arthur Kay. http://twitter.com/arthurakay/status/4314238868783104 [23:27] mscdex: full is the stomach that eats the dinner [23:27] cardona507: heh [23:27] pdelgallego has joined the channel [23:28] jamescarr: micheil, honestly? I dunno [23:29] InsDel: micheil: Because chatservers are an easy way of showing off their madd ajax skills? [23:29] micheil: hm.. kinda annoys me a little.. [23:31] Blackguard has joined the channel [23:31] jamescarr: micheil, what would you rather see? I honestly hate the chat server examples [23:31] jamescarr: too [23:31] Booths has joined the channel [23:31] micheil: I dunno, I don't think there's a need for examples [23:31] _announcer: Twitter: "Looking forward to watching @creationix & @ryah do #nodejs magic at #senchacon" -- James Pearce. http://twitter.com/jamespearce/status/4315641314025472 [23:31] micheil: I think people should just go out and build something useful [23:32] mscdex: i think examples help give ideas about what is possible [23:32] mscdex: or just to give ideas that some may not have previously thought about [23:34] mscdex: like that heat map entry for nko, mape's example of how to watch people interact with actual webpages, etc [23:34] zomgbie has joined the channel [23:35] mscdex: or that vnc stuff that someone was working on [23:35] mscdex: those were pretty good examples [23:36] rnewson has joined the channel [23:37] Aria has joined the channel [23:37] derferman has joined the channel [23:39] eee_c has joined the channel [23:40] muk_mb: anyone here using express? [23:40] muk_mb: how do I add a route for a DESTROY request? [23:41] agnat has joined the channel [23:41] _announcer: Twitter: "Space #fail at #senchacon for a couple of the sessions. Including Node.js one, and css3 animation effects." -- Carl(ton) Schuyler. http://twitter.com/cschuyle/status/4318023754190850 [23:41] [[zz]] has joined the channel [23:44] jacobolu_ has joined the channel [23:45] jamescarr has joined the channel [23:45] muk_mb: err, DELETE, not destroy [23:46] _announcer: Twitter: "The node.js session at #SenchaCon is packed" -- Eleni Rundle. http://twitter.com/erundle/status/4319367881822208 [23:48] boaz has joined the channel [23:53] davidascher has joined the channel [23:53] aconbere has joined the channel [23:53] vnguyen has joined the channel [23:53] micheil: muk_mb: I think it uses the del or delete method [23:53] micheil: app.del or app.delete [23:55] muk_mb: I think it's app.del, but I have: http://pastie.org/1301197, but all I get for a response is "Cannot DELETE /feed.json" [23:56] ph^ has joined the channel [23:56] _announcer: Twitter: "Ryan on node.js @ SenchaCon @ Fairmont http://instagr.am/p/Q-F2/" -- Dmitry Baranovskiy. http://twitter.com/DmitryBaranovsk/status/4321779988303873 [23:57] UHMA has joined the channel [23:59] Athox has joined the channel [23:59] muk_mb: oh nvm , found my problem