[00:00] quackquack has joined the channel [00:00] TomY has joined the channel [00:01] levi501d has joined the channel [00:03] brownies has joined the channel [00:04] brianloveswords has joined the channel [00:05] NSMeta has joined the channel [00:06] xiagox has joined the channel [00:07] rpflo has joined the channel [00:08] Opaque has joined the channel [00:09] kersny has joined the channel [00:10] CrisO has joined the channel [00:12] bartt has joined the channel [00:12] bartt1 has joined the channel [00:13] justinTNT has joined the channel [00:14] justinTNT: ACTION is still considering sammyjs : anyone here use it? [00:14] bene has joined the channel [00:15] xiagox has joined the channel [00:20] tykelewis has joined the channel [00:20] matyr_ has joined the channel [00:20] CrisO has left the channel [00:22] themiddleman_itv has joined the channel [00:24] loungin has joined the channel [00:25] caike has joined the channel [00:25] xiagox has joined the channel [00:26] rauchg: justinTNT [00:26] rauchg: i like sammy [00:26] rauchg: haven't used it but [00:26] dyer has joined the channel [00:26] rauchg: if you have an app where organizing functionality around `routes` in the client side [00:26] rauchg: is a good structural approach [00:26] rauchg: then i'd give it a shot. [00:27] tjholowaychuk: we should copy the express routing and make a sammyish thing [00:27] tjholowaychuk: so it's closer [00:27] tjholowaychuk: similar looking already though [00:27] devdazed has left the channel [00:29] Owner_ has joined the channel [00:29] Owner_: hello! [00:30] Navy has left the channel [00:31] Owner_: Are json.parse and JSON.stringify the preferred ways to deserialize and serialize data from a file? [00:31] Owner_: And, should I avoid serializing objects with functions in them? they appear to deserialize as nulls [00:32] perlmonkey2 has joined the channel [00:33] pcardune has joined the channel [00:33] Owner_: Would it be normal/good to just have a big, nested object that's data only, and serialize that, instead of making objects with functions in them? [00:33] mynyml has joined the channel [00:33] mscdex: probably [00:34] Owner_: I was happy that I was being all OOP-ey, yoo :| [00:34] Owner_: too* [00:35] mscdex: well, you could convert the functions to their source strings, but then you wouldn't necessarily know to eval them as functions unless you know ahead of time [00:36] Owner_: yeah [00:36] Owner_: using toSource? [00:36] dgathright has joined the channel [00:36] adnam: serializing functions isn't a problem as long as you don't have free variables [00:36] mscdex: yeah, JSON.stringify allows a second argument which is a callback that is executed for each value [00:36] Owner_: that would be neat, and i would know to eval them upon reconstitution [00:37] Owner_: thanks [00:37] techwraith: mscdex: and a third argument to tell it how many spaces to use as tabs [00:37] techwraith: :) [00:37] Owner_: ah [00:37] mscdex: the callback is called with two values: key and value [00:37] mscdex: fyi [00:37] Owner_: thanks [00:40] Darshan-NowJS has joined the channel [00:41] Owner_: you guys are tits! :) [00:42] techwraith: Owner_: Is that a good thing? [00:42] Owner_: yes [00:42] techwraith: :) [00:42] fairwinds has joined the channel [00:42] Owner_: the term is from the 60s or 70s, i think [00:42] techwraith: I know, I've heard it before, I was just kidding around :P [00:42] Owner_: ah [00:45] febits has joined the channel [00:47] MikhX has joined the channel [00:48] Owner_: Why doesn't node.js support later version of javascript? [00:48] Owner_: will it ever? like the XML literals? [00:49] Nexxy has joined the channel [00:50] xiagox has joined the channel [00:50] nibblebot has joined the channel [00:50] plainas has joined the channel [00:50] plainas: heyas pppl [00:51] Darshan has joined the channel [00:52] nibblebot has left the channel [00:52] indutny has joined the channel [00:52] plainas: ryah: THE man... cool to see you here. I saw the presentetion (video) a few days ago. Really nice presentation... also liked the subtile yet intelegent humor [00:53] nibblebot has joined the channel [00:56] NuckingFuts has joined the channel [00:57] perlmonkey2 has joined the channel [00:58] xiagox has joined the channel [00:59] nibblebot has left the channel [00:59] JianMeng1 has joined the channel [01:02] zkirill has joined the channel [01:03] brendan^^: Pros/cons of building on top of Express.js? [01:04] tk has joined the channel [01:05] Nexxy: there are no cons! [01:06] Nexxy: it [01:06] Nexxy: it's perfect* [01:06] Nexxy: just use a template engine that works w/ it ;3 [01:07] jtsnow has joined the channel [01:07] xiagox has joined the channel [01:08] tjholowaychuk: brendan^^: if you are building web apps there is little reason not to use it [01:08] brendan^^: Good to know [01:08] tjholowaychuk: unless you enjoy routing yourself, rendering views with string concats, and writing three lines just to redirect instead of one etc [01:08] brendan^^: so Jade+SASS, perhaps? [01:08] rauchg: brendan^^ it's the de-facto standard [01:08] rauchg: jade + stylus [01:09] brendan^^: I'm not familiar with stylus, but i *love* sass. [01:09] tjholowaychuk: node doesnt have a sass implementation [01:09] tjholowaychuk: brendan^^: http://learnboost.github.com/stylus/ [01:09] tjholowaychuk: the latest things sass has been adding [01:09] tjholowaychuk: were from stylus [01:09] brendan^^: it appears that npm install sass adds it, tjholowaychuk [01:09] tjholowaychuk: lists, functions etc [01:09] rauchg: brendan^^ it's legacy code, and it's a very old implementation [01:09] brendan^^: bummmmmer. [01:10] rauchg: check out stylus, it's better. [01:10] Nexxy: EJS IMO [01:10] zzak: actually i love rendering views with string concats [01:10] tjholowaychuk: brendan^^: I wrote both haha sass.js is not even close to a full implementation [01:10] Nexxy: but I don't like hamlesque stuff [01:10] brendan^^: tjholowaychuk: lol, fair enough :D [01:10] MikeMakesIt has joined the channel [01:11] zzak: especially because coffeescript gives me interpolation to make my string concatenation even sexier [01:11] tjholowaychuk: interpolation in strings is lame [01:11] tjholowaychuk: #{} is barely different than '++' [01:13] malkomalko has joined the channel [01:13] zzak: okay, what about semicolons [01:13] zzak: point set and match mtfer [01:14] zzak: tj you know you wanna start rewrite all your libs in cs [01:14] tjholowaychuk: totally [01:14] zzak: cookie sheets [01:15] brendan^^: What is session support when installing Express? [01:15] tjholowaychuk: brendan^^: just sets up the session middleware for you [01:15] tjholowaychuk: since people get order wrong [01:15] tjholowaychuk: haha [01:15] tjholowaychuk: nothing you cant add later if you want to [01:16] brendan^^: okay. is it easy enough to hook Express up to Socket.IO? [01:16] tjholowaychuk: yeah [01:16] tjholowaychuk: easy to get socket.io going with any http server [01:16] brendan^^: kk [01:16] kmwallio has joined the channel [01:17] brendan^^: thanks for the help, tjholowaychuk. [01:17] tjholowaychuk: np [01:17] justinTNT: session support is there as an optional middleware, that just works. express is lean and unobtrusive: it seems to bend to your will and doesn't get in the way of whatever other net tricks you want node to do (eg socketio) [01:17] elijah has joined the channel [01:17] [[zz]] has joined the channel [01:19] Opaque has joined the channel [01:21] eventualbuddha has joined the channel [01:22] tamilyn has joined the channel [01:23] brendanjerwin has joined the channel [01:23] brianloveswords has joined the channel [01:24] sub_pop has joined the channel [01:25] jtsnow has joined the channel [01:26] gazumps has joined the channel [01:27] brendan^^: So in a default Express installation, the index.jade file inherits from layout.jade? [01:27] isaacs has joined the channel [01:27] tjholowaychuk: brendan^^: yeah, by default the view passed to render() is rendered, then passed to the layout as the "body" local [01:28] brendanjerwin has left the channel [01:28] tjholowaychuk: res.render(view, { layout: false }) or app.set('view options', { layout: false }) [01:28] brendan^^: Does Jade eventually make sense at some point? [01:29] tjholowaychuk: it's pretty simple, feel free to use something within html though like ejs etc [01:29] brendan^^: hmm, well, its intriguing, but it feels kinda magical [01:29] quackquack: pretty soon, you will cringe upon seeing the repetition of regular html [01:30] tjholowaychuk: it's pretty simple once you get used to it a bit. "foo" is a tag "foo bar" is a tag with text, "foo(bar: 'baz')" is a tag with an attr [01:30] tjholowaychuk: "foo.bar.baz" is a tag with two classes, "foo#bar" tag with id [01:30] tjholowaychuk: "foo.bar#baz(something: 'else') hello" tag with all of them [01:30] tjholowaychuk: ".foo" div with class "foo", "#foo" div with id "foo" [01:31] brendan^^: snsible [01:32] brendan^^: !!! and body!= body remain mysterious [01:32] justinTNT: I don't like templating. I was inspired by weld to build something similar ( http://blog.nodejitsu.com/micro-templates-are-dead ) [01:32] tjholowaychuk: !!! is just a doctype, kinda dumb syntax though haha I should add "doctype 5" etc [01:32] brendan^^: tjholowaychuk: did you write jade [01:32] click_ has joined the channel [01:33] tjholowaychuk: brendan^^: body is just the tag name, != body outputs the body html (from the page view render) [01:33] tjholowaychuk: yeah [01:33] brendan^^: Hah! Awesome. [01:33] brendan^^: you are a clever chap. [01:33] tjholowaychuk: = body [01:33] tjholowaychuk: would work [01:33] tjholowaychuk: BUT [01:33] tjholowaychuk: = escapes html [01:33] tjholowaychuk: it's ugly != version is more explicit and ugly looking so you only unescape when necessary [01:33] tjholowaychuk: some default buffering to unescaped but that is really bad [01:34] tjholowaychuk: s/some/some template engines/ [01:34] justinTNT: brendan : checkout http://substack.net/posts/7a0e41/npmtop [01:34] tjholowaychuk: I should probably change body!= body to body\n #content!= body or something [01:34] alek_br has joined the channel [01:34] tjholowaychuk: two "body" strings seems to confuse people [01:35] brendan^^: hot damn! i like everything about node.js so far. [01:35] NuckingFuts: I wonder what _why is doing nowadays... [01:35] xiagox has joined the channel [01:36] NuckingFuts: I mean, when you disappear suddenly after becoming renowned throughout a whole community, what do you do with your life after that? [01:36] SubStack: tj is the king of npm [01:36] SubStack: true story [01:36] Nexxy: NuckingFuts, pottery [01:36] tjholowaychuk: ahaha pottery [01:36] tjholowaychuk: yeah, good question though [01:37] Nexxy: he lives in NC now, and does nothing but smoke pot and throw clay plates/bowls/etc [01:37] Nexxy: trufax [01:37] Nexxy: >_>; [01:38] SubStack: I suspect that tjholowaychuk is just an alias for the combined product of an entire dev team of 10 people or canada is just really boring [01:38] tjholowaychuk: hahaha [01:38] SubStack: how else do you account for all those modules? [01:38] SubStack: 51 of them! [01:38] Nexxy: amphetamines. [01:39] SubStack: also possible [01:39] SubStack: ney, probable [01:39] brendan^^: Is tjholowaychuk the canadian from the expressjs.com videos? [01:39] brendan^^: (talking as if he isnt here) [01:39] tjholowaychuk: hahaa yeah [01:39] SubStack: tjholowaychuk is the canadian in all videos [01:39] tjholowaychuk: "the canadian" [01:39] brendan^^: BWAHA! Awesome. [01:39] NuckingFuts: Nexxy: He does look like he'd smoke pot to me >_> [01:39] brendan^^: Nah man, I picked up on the accent INSTANTLY from the first video. [01:39] Nexxy: oh he always has [01:40] tjholowaychuk: brendan^^: accent? haha really? [01:40] tjholowaychuk: weird [01:40] brendan^^: yepyep. [01:40] Nexxy: tjholowaychuk, how does it feel to represent an entire nation to the node community? [01:40] NuckingFuts: brendan^^: You did eh? [01:40] brendan^^: tjholowaychuk: Based on you, I think Canada's pretty cool. [01:40] halfhalo: silly canadians :p [01:40] Nexxy: inb4 flannel & maple syrup jokes [01:40] tjholowaychuk: blame canadaaaa blame canadaaa [01:40] brownies has joined the channel [01:40] Nexxy: milk comes in bags [01:40] SubStack: tjholowaychuk is not a witch. tjholowaychuk is you. [01:40] NuckingFuts: Nexxy: Already made an "eh" joke :P [01:40] brendan^^: Canadian Bacon remains my favorite documentary about Canada. [01:40] Nexxy: no SubStack, you are the witch. [01:40] zzak: how much holoway could a tjholoway chuk chuk [01:40] Nexxy: and then SubStack was the witch. [01:41] NuckingFuts: Nexxy: Goddamnit Peter Chimera [01:41] Nexxy: ;> [01:41] NuckingFuts: NO JOHN YOU ARE THE CANADIANS. And then John was a computer. [01:42] Nexxy: settle down now [01:42] Nexxy: you're scaring the children [01:42] Nexxy: namely me ._. [01:42] NuckingFuts: lolwat [01:42] Nexxy: dint you know? I'm 13 [01:42] Nexxy: 14 in august! [01:42] kmiyashiro: children don't say namely [01:43] SubStack: ANYHOW [01:43] NuckingFuts: Nexxy: So? I'm 17, doesn't faze me. [01:43] brendan^^: god. i remember when i was 13 and hung out in irc channels. [01:43] SubStack: ACTION finishes up this silly module [01:43] halfhalo: ACTION said namely [01:43] SubStack: brendan^^: oh I did that too AND I NEVER LEFT OH GOD [01:43] halfhalo: ACTION also said furthermore as a child [01:43] NuckingFuts: I remember when I was 7 and learned BASIC. Well, I don't remember it, but I remember the results! [01:43] Nexxy: NuckingFuts, I really didn't have a "so" ;< just sayin' [01:43] themiddleman_itv has joined the channel [01:43] brendan^^: from 9 till about 15 years old, i hung out on EFNet... [01:44] Nexxy: and you're still alive? [01:44] Nexxy: wow [01:44] brendan^^: i made it out. [01:44] NuckingFuts: brendan^^: EF that [01:44] Nexxy: ya no thanx [01:44] xiagox has joined the channel [01:44] NuckingFuts: I programmed a website for a manga scanlation group back a few years ago >_> [01:44] SubStack: time to write some tests [01:44] SubStack: for this rhyming dictionary [01:44] NuckingFuts: Full wordpress-based website, all coded in a day :P [01:44] brendan^^: Alright, I'll be back later. Thanks for the help guys. This is a pretty great community. [01:45] adrian has joined the channel [01:45] Nexxy: I am a horrible coder [01:45] SubStack: me too [01:45] Nexxy: but hey [01:45] Nexxy: at least I don't write [01:45] NuckingFuts: I used to suck lol still do, compared to awesome people [01:45] Nexxy: AWESOME frameworks [01:45] Nexxy: and then NOT DOCUMENT ANYTHING [01:45] halfhalo: ACTION justs uses if(true) as his tests [01:45] SubStack: that's why I write libraries [01:45] Nexxy: ACTION glares at various unnamed individuals in the channel [01:46] SubStack: because I can't keep very much program in my head at once [01:46] tjholowaychuk: dont worry, i can write code better than i can speak or write english [01:46] tjholowaychuk: my only language [01:46] NuckingFuts: I write shitty code, then rewrite it when I realize it sucked. [01:46] Nexxy: omg language [01:46] NuckingFuts: And then, a few days after finishing that rewrte, I rewrite it *again* [01:46] halfhalo: and again [01:47] halfhalo: and again [01:47] SubStack: yeah... [01:47] halfhalo: and again [01:47] tjholowaychuk: rewriting is awesome [01:47] NuckingFuts: Nexxy: Habla Espanol? Sprechen ze Deutch? [01:47] SubStack: NuckingFuts = setInterval(rewrite, 1000 * 60) [01:47] Nexxy: s-sure... [01:47] Guest55243: if i pull down a new build each time and go through the install does it overwrite the older install? Or do I have to manage the different verisons [01:47] NuckingFuts: My deviantART chat bot, already on the third rewrite, but this one is really promising thus far. [01:47] Guest55243: sorry I am just learning. been good so far, but this is the first time I have upgraded it on OSX [01:48] Nexxy: yeah you *should* be sorry for learning [01:48] Nexxy: how could you. [01:48] NuckingFuts: This is my first attempt at a rewrite since learning JS's scope [01:48] Guest55243: thanks [01:49] jtsnow has joined the channel [01:49] Nexxy: Guest55243, (sarcasm) [01:49] Guest55243: i figured [01:49] Nexxy: also [01:49] NuckingFuts: Actually, how DID I learn JS's scope? I mean, I remember I didn't understand it a couple months ago, but then the next thing I can remember, I knew it. [01:49] NuckingFuts: WTF [01:49] Nexxy: afaik it overrites [01:49] NuckingFuts: When did I learn it? [01:49] NuckingFuts: ACTION is confused [01:49] Nexxy: clearly [01:49] techwraith: NuckingFuts: It's my experience that it just clicks one day [01:49] NuckingFuts: ACTION hurts itself in its confusion. [01:49] NuckingFuts: ACTION faints [01:49] Nexxy: itself? O_o [01:49] Guest55243: cool, thats what I thought, but the first time I did a package install and this time I just pulled it from git and did the build [01:49] Nexxy: people aren't "its" [01:50] NuckingFuts: Nexxy: Pokemon reference :P [01:50] Nexxy: ohh [01:50] techwraith: NuckingFuts: is itself a chatbot [01:50] therto: quick question: is there something like the equiv of getClass().getName() from within a module? [01:50] Nexxy: all my chatbots were boys [01:50] Guest55243: running 0.5.0-pre from previous 0.4.5 so fingers are crossed. thx [01:50] techwraith: *no need for a colon there [01:50] iFire has joined the channel [01:52] techwraith: little did we know that NuckingFuts had already passed the turing test. ;) [01:52] Guest55243: sweet, upgraded with no issues running smooth. thx. l8r [01:52] NuckingFuts: techwraith: LAIZ [01:52] xiagox has joined the channel [01:52] techwraith: NuckingFuts: of course you'd say that [01:53] NuckingFuts: I AM TOTALLY NOT A SENTIENT NODEJS BOT. [01:53] NuckingFuts: TOTALLY. [01:53] techwraith: then your cover would be blown [01:53] techwraith: Wow, you're good. You even know when to use all caps ;) [01:53] NuckingFuts: techwraith: I swear, it's just a coincidence that I wasn't in here when the AWS was down! [01:53] techwraith: damn skynet [01:54] halfhalo: messing wit mah nets [01:54] techwraith: It's kinda funny to think that skynet would most likely be hosted on aws [01:54] NuckingFuts: ACTION definitely doesn't run on an EC2 instance with and EBS for memory >_> [01:54] NuckingFuts: *an [01:55] NuckingFuts: See? Could computers typo? [01:55] techwraith: Mistakes make you seem more human [01:55] halfhalo: what it you were programed to type... [01:55] techwraith: nice try though [01:55] vikstrous has joined the channel [01:55] NuckingFuts: v8bot: SAVES MEH [01:55] v8bot: NuckingFuts: Use v8: to evaluate code or "`v commands" for a list of v8bot commands. [01:55] NuckingFuts: ACTION imbues v8bot with sentience [01:56] techwraith: NuckingFuts++ [01:56] v8bot: techwraith has given a beer to NuckingFuts. NuckingFuts now has 0 beers. [01:56] Nexxy: woah woah woah [01:56] halfhalo: ACTION fights back with sentient trident [01:56] Nexxy: techwraith, [01:56] Nexxy: that's illegal! [01:56] techwraith: Look, it didn't even work [01:56] NuckingFuts: techwraithGood, I could short-cir— I mean, I'm not 21 yet... [01:56] Nexxy: contributing to the delinquency of a minor! [01:56] techwraith: just proves my point [01:56] NuckingFuts: Riiiiiiiight. [01:56] jaket has joined the channel [01:57] Nexxy: did you just emdash on irc? [01:57] Nexxy: ;| [01:57] NuckingFuts: Nexxy: yush. [01:57] Nexxy: yeah that settles it [01:57] Nexxy: you *are* a bot. [01:57] NuckingFuts: ACTION has a keyboard mod [01:57] SubStack: I can do those. [01:57] NuckingFuts: Typographer's Keyboard. [01:57] SubStack: ————» [01:57] no-gooder has joined the channel [01:57] SubStack: xcompose ftw! [01:57] NuckingFuts: Got it off Smashing Magazine. [01:58] NuckingFuts: AltGr + - [01:58] NuckingFuts: And I get an EmDash [01:58] Nexxy: great cover story [01:58] NuckingFuts: Jeebus, Firefox, quit crashing! [01:58] NuckingFuts: Why does Firefox 4 crash all the time. Can't take 300 tabs? Pussy! [01:59] halfhalo: thats what she said [01:59] tyler-iphone: my pussy has taken 300 tabs before [01:59] NuckingFuts: Oh hey an update, maybe it'll suck less now. [01:59] Nexxy: oh wow tmi [01:59] techwraith: :P [01:59] NuckingFuts: Oh fuck you Firefox. YOU'RE THE ONLY INSTANCE, BITCH [01:59] Nexxy: ACTION looks away from all the crass language [02:00] SubStack: http://substack.net/images/dnode-slides/fuck_yeah.png [02:00] halfhalo: FUCK YEAH CALLBACKS BITCH [02:00] pandeiro has joined the channel [02:00] Nexxy: ACTION sighs [02:01] Nexxy: ACTION posts on r/programming and steals SubStack's karma [02:01] nick has joined the channel [02:01] NuckingFuts: So, is anyone else disheartened by the fact that Amazon's system let the primary network's heavy traffic be redirected to their secondary, low-capacity network? [02:02] NuckingFuts: I mean, you'd think the computers would say "uh, that's not smart" [02:02] NuckingFuts: But no, it just let it happen [02:02] mike5w3c has joined the channel [02:02] mjr_: also not smart: disk drives over shared ethernet [02:03] Guest23956: anyone else currently trying to install node.js? [02:03] NuckingFuts: mjr_: Huh? [02:03] mjr_: NuckingFuts: EBS is basically disk drives over a shared network. [02:03] NuckingFuts: Guest23956: Based on probability, I'd say there's at least one person in the world who is. [02:03] halfhalo: ACTION has a vps with cloudfoundry for his crap [02:03] mjr_: Which is why it is so slow and erratic. [02:04] dguttman_ has joined the channel [02:04] raja has joined the channel [02:04] langworthy has joined the channel [02:04] NuckingFuts: mjr_: Actually, I hear it's not so bad as far as speeds go, because it's on their secondary, low-latency, low-capacity network >_> [02:04] Guest23956: haha [02:04] dguttman__ has joined the channel [02:04] perlmonkey2: Probably the wrong channel for this, but I've got a node process which spawns a Perl process and communicates via STDIN/OUT. But I'll be passing long strings back and worth. How do people usually mark the end of a message? [02:04] mjr_: My experience is that is it terribly slow. [02:04] dguttman_ has joined the channel [02:04] NuckingFuts: perlmonkey2: Why would you do that? :| [02:05] NuckingFuts: That seems like a pointless thing to do. [02:05] SubStack: perlmonkey2: line-termination is pretty easy [02:05] halfhalo: yup [02:05] NuckingFuts: Also, pick your own divider, there's no standard, AFAIK [02:05] SubStack: with lazy at least [02:05] boghog has joined the channel [02:05] perlmonkey2: NuckingFuts: why? I need to use a Perl lib in the workflow? [02:05] SubStack: perlmonkey2: also dnode-perl :D [02:05] boghog: hi guys [02:05] Guest23956: we'll see if mine works in a minute here...had to re-install python twice (2.3 -> 3.2 -> 2.4) WHOOP NOPE: [02:05] perlmonkey2: SubStack: hahaha, you brilliant person [02:05] Guest23956: Build failed: -> task failed (err #2):n {task: libv8.a SConstruct -> libv8.a} [02:05] NuckingFuts: perlmonkey2: NodeJS can probably do just about anything Perl can ;-) [02:05] samsonjs has joined the channel [02:05] Guest23956: dammit. [02:06] Guest23956: anyone know wher I can go from here? Already tried google... [02:06] perlmonkey2: NuckingFuts: I'm sure it does just as soon as someone ports those libraries to node. [02:06] zkirill has joined the channel [02:06] NuckingFuts: We've got folks like SubStack churning out modules every few minutes [02:06] NuckingFuts: perlmonkey2: What lib? [02:06] mscdex: Guest23956: gist the whole output [02:06] perlmonkey2: NuckingFuts: all the wordnet libs on cpan plus a crap ton of the lingua ones. [02:06] SubStack: oh those are super handy [02:07] SubStack: wordnet <3 [02:07] F1LT3R has joined the channel [02:07] justinTNT: substack: I'm looking at that now ... fascinating project. [02:07] perlmonkey2: sub_pop: Ted Pederson is my hero :P [02:07] perlmonkey2: whups wrong autocomplete [02:08] NuckingFuts: NodeJS modules seem to follow a similar pattern to Rules 34 and 35. "If you can think of it, there's a NodeJS Module for it. If there isn't, there will be in a week." [02:09] halfhalo: ACTION is being lazy and not installing node on his mac again yet [02:10] perlmonkey2: SubStack: I'm extremely excited and going forward with the assumption that dnode and dnode-perl can talk to each other. [02:10] Guest23956: can someone help me out with this? I'm having a really frustrating time trying to install node.js onto my machine... [02:10] SubStack: they can [02:10] SubStack: well just don't pass circular refs around yet that only works in node [02:10] mscdex: Guest23956: gist the whole output [02:10] SubStack: perlmonkey2: also ruby [02:10] perlmonkey2: SubStack: I hope next to your tropical island you've got a mega-yacht and a death star for your personal amusement. [02:10] SubStack: and somebody wrote a dnode-java [02:10] perlmonkey2: that is just so awesome [02:10] SubStack: and there's a half-done dnode-python [02:10] blueadept: http://pastie.org/private/erktrjqbmzjyzblxamra would anyone know why this code is throing a can't set headers error? i'm setting the content-type before hand though [02:11] NuckingFuts: ACTION vomits all over pastie [02:11] mscdex: blueadept: your 'data' event is firing more than once [02:11] NuckingFuts: Only good thing about Pastie is their design [02:11] halfhalo: to cloudfoundry! [02:12] NuckingFuts: Love the Ruby Blue-esque skin. [02:12] blueadept: mscdex: really?! what's weird is the photo leads only about 10% before node will crash with the error [02:12] blueadept: leads*loads [02:12] halfhalo: I totally stole a rails theme from a gem for my node stuff [02:12] perlmonkey2: SubStack: after I make my first million, I'm definitely cutting you in :P [02:12] SubStack: perlmonkey2: oh I have a cpan account I should probably throw dnode all up on there but I have no idea how [02:12] mscdex: blueadept: well, that's the only way that can happen with the code you've provided, and it's probably what is happening [02:12] perlmonkey2: haha, I was just about to go looking on cpan for it :P [02:13] SubStack: I should probably eat today [02:13] blueadept: ah, ok. will drill down further, i'm using a new mongo driver for this part of the code, so it could be related to that [02:13] halfhalo: http://REDACTED.preyourmind.org [02:13] SubStack: I had some coffee and an orange and it's 19:13 already [02:13] SubStack: one of those days [02:14] mscdex: blueadept: 'data' will fire for each _chunk_, so if the photo doesn't fit into a single chunk (which could easily happen), you'll get that error because you're resending the headers [02:14] xiagox has joined the channel [02:14] mscdex: just use a boolean var to make sure it's only sent once, then just send the chunks after that [02:15] perlmonkey2: SubStack: pizza delivery is your friend [02:15] mscdex: and close the connection on the 'end' event [02:15] blueadept: oh i see [02:15] blueadept: yeah there are two chunks i belive, i'm reading the file from gridfs [02:15] SubStack: perlmonkey2: nah I just need to buy groceries and I haven't bothered [02:15] Draggor: SubStack: are you heroin thin? [02:15] SubStack: because this module is so nearly done [02:15] SubStack: Draggor: pretty much actually [02:16] Nexxy: pics or gtfo [02:16] Guest23956: here's the gist: https://gist.github.com/949344 [02:16] SubStack: anosmia subdues my appetite too :/ [02:17] mscdex: Guest23956: what distro and version are you on? [02:17] Guest23956: also, it ran for quite a while the first time until the error. The 2nd time is exactly that output. [02:17] Draggor: SubStack: what module are you working on? [02:17] Guest23956: Redhat. ancient. um [02:17] SubStack: node-rhyme [02:17] SubStack: I need it for my talk [02:17] halfhalo: ok, time to make this node script act as a reverse proxy + integrate a little regex into it [02:18] mscdex: Guest23956: right, it'll do that because there's no need to recompile the previous files, since the source files haven't changed [02:18] SubStack: "freestyle rpc" after all so this is very apropos [02:18] Nexxy: lol [02:18] mscdex: Guest23956: if you're using rhel4 or something old like that, that's probably why [02:18] Guest23956: right, that's what i thought [02:18] SubStack: I won't ruin the end though [02:18] SubStack: you'll have to be there! [02:18] Nexxy: I'll be the one with a bucket [02:19] saikat has joined the channel [02:19] boghog: i hate node.js, its too overwhelming [02:19] boghog: all these cool libraries [02:19] mscdex: :S [02:19] Nexxy: sounds like a personal problem ;o [02:19] boghog: and everytime I think of making something others have done it already [02:19] boghog: it is :/ [02:19] Nexxy: quick! delete your entire online persona [02:19] Nexxy: and take up pottery! [02:20] Draggor: boghog: work on node-bigfloat, I've been procrastinating! [02:20] SubStack: if all goes according to plan this talk will be the best at nodeconf [02:20] SubStack: and otherwise it will be a completel hopeless disaster [02:20] Guest23956: @mscdex does the gist code point you in any direction? I'm unable to update, unfotunately, as this is my work computer...yeah, I know :/ [02:20] boghog: aim for hopeless disaster, you wont be dissappointed ! [02:20] mscdex: Guest23956: you're pretty much SOL [02:21] mscdex: Guest23956: you need a more modern distro [02:21] Guest23956: damn [02:21] mscdex: Guest23956: what version of gcc are you even using at this point? [02:22] Guest23956: gcc version 3.4.4 20050721 (Red Hat 3.4.4-2) [02:22] mscdex: yikes [02:22] Guest23956: oh god 2005 [02:22] Guest23956: why, my company, why?? [02:22] mscdex: heh [02:22] xiagox has joined the channel [02:23] mscdex: ACTION shakes a fist at outdated dev environments [02:23] Guest23956: *sigh* guess I'll just let my boss know and clock out or something...hmm... [02:23] Aria: ... Dear god. Wow. That's been a while. [02:23] Guest23956: i've been at it for over 5 hrs...installing things as prerequisites for other things. finally ending up at this dead end [02:23] Aria: Time to install a distro on the side in /opt ;-) [02:23] plainas has left the channel [02:24] Guest23956: interesting, did it [02:24] Guest23956: concatenate my posts? [02:24] Guest23956: no... [02:24] mscdex: Guest23956: i mean, you could define that missing constant manually, but you'd probably run into other problems [02:24] Guest23956: how would I do that? Just find the missing files online? [02:25] nlco has joined the channel [02:26] Metapony_ has joined the channel [02:26] Guest23956: brb [02:26] mscdex: Guest23956: open up /usr/include/linux/prctl.h and add this line: #define PR_SET_NAME 15 [02:27] Guest23956: i'm here, trying [02:27] rbranson has joined the channel [02:27] perezd has joined the channel [02:28] mscdex: Guest23956: what's your kernel version from uname -a ? [02:28] harth has joined the channel [02:28] tsyd has joined the channel [02:29] niff has joined the channel [02:29] blueadept: mscdex: one more quick question, how would you go about combining these chunks, or what's a good practice for getting around this? [02:29] MikhX has joined the channel [02:29] Guest54995 has joined the channel [02:29] mscdex: blueadept: well, there should be a way to write a chunk to the response.... [02:30] Guest23956: uname -a: Linux irvsoftws0992 2.6.9-22.EL. testing to see if your suggestion worked [02:30] NuckingFuts: oooh [02:30] blueadept: mscdex: oh wait i missed what you said earlier [02:30] blueadept: n/m [02:30] NuckingFuts: I think I just found something I can use for my GM scripts :B [02:31] pcardune has joined the channel [02:31] NuckingFuts: This evercookie thing, while it's supposed to show security holes, it could be repurposed for highly reliable data storage in multiple browsers >_> [02:31] Metapony has joined the channel [02:31] mscdex: hax! [02:32] NuckingFuts: I tried to do something like this before, with far fewer data storage mechanisms, but I gave up eventually >_> [02:32] NuckingFuts: But daaaaaaaaamn, this is hardcore. [02:32] NuckingFuts: I mean, a cached PNG? [02:32] Guest23956: seeeems to be working...I saw "ignoring missing XXX", so maybe that was you? :) [02:32] Guest23956: haha [02:32] boghog: I'd just run a recent under virtualbox and dev on that :p [02:33] Guest23956: ACTION listening to music while I work at 7:30pm. Only way to stave off the crave to go home and play minecraft [02:33] Guest23956: AWWWWWW YEEAAHHHH [02:34] Guest23956: [me]>> node [02:34] Guest23956: > 7 + 3 [02:34] Guest23956: 10 [02:34] Guest23956: > [02:34] nlco has joined the channel [02:34] Guest23956: YUSSSSS thank you mscdex! [02:35] mscdex: heh [02:36] mscdex: i'm surprised [02:36] mscdex: it compiled correctly [02:36] baudehlo1 has joined the channel [02:36] Aria: boghog: easier said than done running virtualbox on an old distro ;-) [02:37] mscdex: ^ true [02:37] boghog: ah, hmm yeah [02:37] mscdex: 2.6.9 kernel :p [02:37] Guest23956: woah woah wait a minute...the current terminal has node working, but if I pull up another terminal, it's stopped... [02:37] Aria: Huh. Path? [02:37] mscdex: what is stopped? [02:38] xiagox has joined the channel [02:38] Guest23956: ....shit. it installed it on the desktop. hold on, lemme re-do ./configure. what do you add to ./configure again to make it install in another dir? [02:38] mscdex: --prefix=whatever [02:39] Guest23956: hah! [02:39] meso_ has joined the channel [02:39] Guest23956: I forgot my "make install" after my "make" XP [02:39] Guest23956: working like a charm now :) [02:39] mscdex: heh [02:40] no-gooder: hey guys [02:41] mscdex: yo [02:41] no-gooder: can you check this code : http://jsfiddle.net/RQf4U/ [02:41] no-gooder: this works on ie but not firefox. :S [02:42] no-gooder: the code works on ie but not firefox or chrome [02:43] rook2pawn has joined the channel [02:45] JianMeng1 has joined the channel [02:45] zkirill has joined the channel [02:45] justinTNT: nogood: are you sure you're tripping back to the server each time? have you logged to console on the push to make sure that's happening twice? [02:46] sub_pop has joined the channel [02:46] xiagox has joined the channel [02:46] mscdex: no-gooder: i'm not familiar with how express handles responses but, are you sending headers before ending the queued responses? [02:47] mscdex: no-gooder: i'd also try what justinTNT said [02:47] tesseracter has joined the channel [02:49] no-gooder: justinTNT, if i try on firefox defers.length is 1. it should be 2. it's okay if i try with ie. [02:49] sechrist has joined the channel [02:49] justinTNT: I hear you nogood, now do as I suggested and log to console to make sure that you're pushing twice. [02:50] justinTNT: mscdex: end will do headers. it's 'send + end'. [02:50] ditesh|cassini has joined the channel [02:54] dyer has joined the channel [02:54] blueadept: msdex: solved it using stream.pipe! [02:54] blueadept: mscdex* [02:54] mscdex: blueadept: yep, that works too [02:54] xiagox has joined the channel [02:55] sleeplessinc has joined the channel [02:57] no-gooder: justinTNT, yes, it doesn't heppening. i tried this : http://jsfiddle.net/LrfGq/1/ [02:58] no-gooder: mscdex, app.get( '/' doesn't work till first request finished [02:59] incon has joined the channel [02:59] no-gooder: mscdex, btw i'm sending now headers [03:01] justinTNT: so, nogooder, does that console log once, twice or never? [03:02] dnolen has joined the channel [03:03] losing has joined the channel [03:03] TheFuzzball has joined the channel [03:05] avalanche123 has joined the channel [03:06] ezmobius has joined the channel [03:09] kawaz_air has joined the channel [03:10] brownies has joined the channel [03:11] jaket_ has joined the channel [03:15] no-gooder: justinTNT, it's about caching as you said on pm (if anyone have tha same problem) :) thanks justinTNT [03:15] no-gooder: mscdex, thank you [03:16] mscdex: ah [03:16] jaket has joined the channel [03:16] k1ttty has joined the channel [03:19] shiawuen has joined the channel [03:19] djktno has joined the channel [03:19] mike5w3c has joined the channel [03:21] eventualbuddha has joined the channel [03:22] derpetzibaer has joined the channel [03:22] SubStack: huzzah https://github.com/substack/node-rhyme [03:26] derpetzibaer: hey folks, i'm trying to install node on debian lenny and all i get starting it, is: node.js:134 throw e; // process.nextTick error, or 'error' event on first tick [03:26] derpetzibaer: I'M sure that i am no the first one with this problem [03:26] derpetzibaer: is there a solution? [03:27] mscdex: derpetzibaer: you're just typing `node` ? [03:27] mscdex: derpetzibaer: type `node -v` [03:28] derpetzibaer: actually i was typing node server.js to start AjaxIM [03:29] mscdex: oh [03:29] derpetzibaer: that bad?? [03:29] derpetzibaer: right now i'm recompiling the git version to see if it changes anything [03:29] mscdex: i think ajaxim is based on a really old version of node [03:30] samsonjs has joined the channel [03:30] mscdex: yeah heh... "0.1.18+" [03:31] MikhX has joined the channel [03:31] mscdex: even the github readme says 0.2.5 [03:32] mscdex: probably not compatible with 0.4.x i'm guessing [03:32] derpetzibaer: so, should i try an older version on node? [03:33] derpetzibaer: does this make sense? [03:35] mscdex: it's either that or bug the author of the project to make it compatible with the latest stable branch of node (0.4.x) [03:35] mscdex: :) [03:36] derpetzibaer: well, thanks, i try node-0.2.5 and see if it works [03:36] devrim: guys i have a coffeescript string in my cakefile, how to convert that to js ? [03:36] devrim: is there something like cs = require 'coffee-script' and js = cs.render myCsCodeToJs ? [03:38] derpetzibaer: by the way... do you know another (better, or just your recomendation) sugestion for a IM server? [03:38] copongcopong has joined the channel [03:38] btipling has joined the channel [03:40] mscdex: derpetzibaer: not off the top of my head, but i don't think it'd be very difficult creating your own with the modules that exist today [03:41] derpetzibaer: was thinking of that as well, but as well, didn't want to reinvent the wheel [03:42] derpetzibaer: and thought something should already exist [03:42] derpetzibaer: thanks [03:44] gavin_huang has joined the channel [03:45] jdalton has joined the channel [03:45] jdalton has left the channel [03:47] AllNateLong has joined the channel [03:47] bingomanatee has joined the channel [03:48] towski has joined the channel [03:48] Emmanuel__ has joined the channel [03:49] hdon- has joined the channel [03:51] tyler-iphone has left the channel [03:53] Emmanuel_ has joined the channel [03:54] AllNateLong has left the channel [03:54] jamescarr__ has joined the channel [03:58] gazumps has joined the channel [03:59] gazumps has joined the channel [04:04] bartt has joined the channel [04:06] djktno has joined the channel [04:07] Dreamer3 has joined the channel [04:12] ivan has joined the channel [04:12] seivan has joined the channel [04:13] brianc has joined the channel [04:14] abraham has joined the channel [04:16] dandean has joined the channel [04:19] rudolfrck has joined the channel [04:21] ditesh|cassini has joined the channel [04:22] niftylettuce has joined the channel [04:23] nickbaugh has joined the channel [04:24] techwraith has joined the channel [04:27] mattikus has joined the channel [04:28] no-gooder has joined the channel [04:29] no-gooder has left the channel [04:29] Nican has joined the channel [04:30] matyr has joined the channel [04:30] Emmanuel_ has joined the channel [04:35] aroop has joined the channel [04:37] oninoshiko: I'm using express's "static" to send static files, anyone know if it's possible (and how would I?) to have something send out the headers before the static goes off? [04:39] mscdex: heh some people gist the strangest things [04:39] davidcoallier has joined the channel [04:42] justinTNT: oninoshiko : yes. you can use connect.static that way. [04:43] Nexxy: mscdex, https://gist.github.com/949424 [04:43] Nexxy: feel free to fork it [04:43] mscdex: Nexxy: https://gist.github.com/949407 [04:43] Nexxy: oh god [04:43] Nexxy: D: [04:44] Draggor: wat [04:45] mikeal has joined the channel [04:45] Draggor: is that supposed to compile? [04:46] mscdex: yup [04:46] hij1nx has joined the channel [04:47] destari has joined the channel [04:47] Draggor: mscdex: I'm getting errors just throwing gcc at it [04:47] mscdex: heh [04:47] Draggor: does it make me a bad person for wanting it to compile? [04:48] mscdex: it compiled fine for me [04:49] Draggor: leet.c:40: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘)’ token [04:49] Draggor: oh wow that was a boatload of fail [04:49] mscdex: :S [04:49] Draggor: stupid character encodings [04:49] mscdex: what version of gcc? [04:50] Draggor: mscdex: https://gist.github.com/949407#comments [04:50] oninoshiko: justinTNT: then atleast I'm not going down a dead end... I've tried to use http.all to push the headers out before the static happens, is this the wrong method (I'm doing checking of Accept: to make sure I dont send anything unexpected, so the headers aren't static) [04:50] Draggor: gcc (Ubuntu 4.4.3-4ubuntu5) 4.4.3 [04:50] mscdex: huh... [04:50] mscdex: and you're just doing `gcc leet.c` ? [04:50] Draggor: yup [04:50] mscdex: i dunno then [04:50] Draggor: though I did a wget on the raw link [04:51] mscdex: i copied and pasted [04:51] Draggor: same err for c&p [04:51] destari has joined the channel [04:53] mscdex: no idea :S [04:53] Nexxy: ẘ̯̪̔ͅh̦̹̟͈̅ͭͮ̇ͮ̃ī͍̩̈́͝ͅc͉͚͖̞̘̯ͤ̏̈́̌hͪ̀̐̊̀ ̰̮͖͙͕͈͇ͩs͖e̦̭̯͕a̦͎̝̝͓̻̲̓̅̅̀̍t̜̝̟̪̦̪̆̂̊ͅ ̻̥̖͓͖̥s͈̯̟̬͓͌͂͂̉̈́̌ͤ͠h̰̻̲̞ͬ̂ͬͬ͐͘u̶̟̿o͎̤̤͖̰̦̱̓ͥ͜l̵͍̋̂̚d̖̘̺̀̃ͣͧ̐ͧ͘ ̪͕̅͒͝i̙͓̲̫̎̈́ ͍̞̗̬̪̥̪̈t͉̠̗͐̽͆͊k̵͓̜̤ͪ͗̓̉̍ͤả̸̰ȅ̠̲̫ [04:53] mscdex: :o [04:53] mscdex: what is all that? [04:54] Nexxy: Z̟͍̗̫̥̥̠̩͈͚̟̥̫̬̝͈̈́̋̌̉ͩ̒́͑̇͋̄̈̕͢ͅǍͧ́͂͒̈́ͫͤͯͤ̒͗͐̅҉͈̼̖̯̬̙̣̹͇͖̖͖̥̩̜͟͝ͅL̴̛̖̖̻̪͉̙͈̠̠͇̺̪̮͐͐̂̆ͧ͐̆ͥͦ͌̎̏͗ͤ̾ͤ͊̾G̨̞͎̱̲͈̼̘̲̮̺̬̞͓̼̖̜̳ͯͯ̓̽͘͢͠͞O̷̲̪̟͚̖̞͎̪ͮ̈́͐̓̆͊͌̿͒ͭ̾̐͋͌ͧ̓ [04:54] zkirill has joined the channel [04:54] Draggor: mscdex: what version are you running? [04:54] Draggor: also that's a lot of ? [04:54] mscdex: Draggor: same [04:54] mscdex: Nexxy: just getting unicode boxes here :) [04:54] Nexxy: oh phew, you're safe. [04:54] mscdex: ;) [04:55] mscdex: Draggor: same version as you: 4.4.3 [04:55] mscdex: on ubuntu server 10.04 [04:56] Draggor: mscdex: Owner updated the gist, heh [04:57] Draggor: mscdex: go check out the comments, heh [04:59] mscdex: Draggor: oh, i still had the original revision up... that's why :) [05:01] rfay has joined the channel [05:03] dgathright has joined the channel [05:05] cloudhead has joined the channel [05:08] onre has joined the channel [05:10] tesseracter has joined the channel [05:10] galaxywatcher has joined the channel [05:13] brianloveswords has joined the channel [05:16] onre_ has joined the channel [05:20] sechrist has joined the channel [05:20] A_Nub has joined the channel [05:20] mdaisuke has joined the channel [05:21] fr0stbyte: sudo npm install less - shows line npm info lines, and pauses forever. ideas? [05:22] A_Nub: install node in a user folder [05:22] A_Nub: sounds like a permission error. [05:22] A_Nub: could be wrong. [05:22] stevenj has joined the channel [05:27] thalll has joined the channel [05:30] dandean has joined the channel [05:30] puffpio has joined the channel [05:32] stevenj has joined the channel [05:33] xiagox has joined the channel [05:35] karboh has joined the channel [05:37] dgathright has joined the channel [05:38] mickaelz has joined the channel [05:39] m64253 has joined the channel [05:43] jakehow has joined the channel [05:44] jano_ has joined the channel [05:45] jpld has joined the channel [05:45] jpld has joined the channel [05:51] xiagox has joined the channel [05:53] click__ has joined the channel [05:53] temp01 has joined the channel [05:55] samsonjs has joined the channel [05:59] xiagox has joined the channel [06:00] ajak1 has joined the channel [06:01] zkirill has joined the channel [06:04] ditesh|cassini has joined the channel [06:05] pig_ has joined the channel [06:08] _1marc has joined the channel [06:08] pootietang has joined the channel [06:08] xiagox has joined the channel [06:08] m64253 has joined the channel [06:12] seivan has joined the channel [06:16] JianMeng1 has joined the channel [06:16] jonaslund: uhhhhh [06:16] xiagox has joined the channel [06:17] jonaslund: Nexxy: what was that ? [06:19] mscdex: jonaslund: something that would make JimBastard proud [06:19] davidcoallier has joined the channel [06:19] jonaslund: mscdex: I'm missing the context here i belive [06:20] mikeal has joined the channel [06:22] stagas: SubStack: now we need a phrase generator :D [06:22] jonaslund: http://whizzter.woorlic.org/unicode.jpg <- how that looked with my client [06:22] jonaslund: erm [06:22] jonaslund: no [06:22] jonaslund: http://whizzter.woorlic.org/weird.jpg <- how that looked with my client [06:22] Nexxy: jonaslund, my cat walked on my keyboard [06:23] SubStack: stagas: working on that actually [06:23] galaxywatcher has joined the channel [06:23] jonaslund: You're using a chineese or japaneese kbd or smth ? [06:23] jonaslund: looks like those weird unicode accents or smth ? :) [06:23] jonaslund: (Look at that pic... i never thought an irc client would render somethng like that) [06:25] xiagox has joined the channel [06:25] Nexxy: jonaslund, oh wow [06:25] Nexxy: that's not what I typed at all [06:27] w3dot0 has joined the channel [06:27] boghog: i saw some weird stuff as well [06:27] ajpiaNOU has joined the channel [06:28] boghog: not sure what it was supposed to look like :s [06:31] a2800276 has joined the channel [06:31] A_Nub has left the channel [06:31] joshontheweb has joined the channel [06:32] Emmanuel_ has joined the channel [06:32] dgathright_ has joined the channel [06:33] Tidwell has joined the channel [06:33] xiagox has joined the channel [06:35] harth has joined the channel [06:35] mscdex: compiling wine on a netbook sucks [06:36] gf3: wine's still around? [06:36] mscdex: always! [06:36] mscdex: it's pretty good nowadays [06:37] mscdex: well, at least with the stuff i've thrown at it so far [06:37] mscdex: i haven't tried windows games or anything yet [06:37] mscdex: but their app db is a pretty good size [06:39] jonaslund: apperantly old stuff that worked with previous versions often break with new versions [06:40] jonaslund: I use windows so i dunno really :) [06:40] matyr has joined the channel [06:40] mscdex: that hasn't been my experience [06:42] tylerstalder has joined the channel [06:42] xiagox has joined the channel [06:42] febits has joined the channel [06:44] samsonjs_ has joined the channel [06:45] indutny has joined the channel [06:48] w3dot0_ has joined the channel [06:50] nphase has joined the channel [06:51] xiagox has joined the channel [06:53] towski has joined the channel [06:55] nlco1 has joined the channel [06:56] fljitovak has joined the channel [06:58] tfe__ has joined the channel [06:59] tfe_ has joined the channel [06:59] xiagox has joined the channel [06:59] harth has joined the channel [07:07] xiagox has joined the channel [07:11] MattJ has joined the channel [07:12] Wizek has joined the channel [07:12] mjr_: I just realized that we have over 125 node processes running in our production environment. Seems like a lot. [07:13] wao: :) [07:14] pquerna: i'm scheming to use node-webworker for a thing so I can just kill -9 them to 'stop' a task. i suspect that'll bump my count pretty quickly. [07:14] TomY has joined the channel [07:15] mjr_: pquerna: you guys probably have a lot of node in production these days, no? [07:15] xiagox has joined the channel [07:16] superjudge has joined the channel [07:17] pquerna: mjr_: hmm.. surprisingly little in production i'd say right now :-/ prolly more node instances running on buildbots. [07:17] marlun: When using a local node_modules folder. Do you add the whole thing to git in your projects? :) [07:17] mjr_: I add it to my gitignore [07:18] mjr_: pquerna: rumor has it that you guys have a pretty big node-based workforce these days. [07:18] pquerna: yessss [07:18] mjr_: nice [07:18] cbiscardi has joined the channel [07:18] mjr_: We've got an astounding 4 people doing node fulltime. [07:18] pquerna: trying to get stuff into more production stuff soon, but its not quite the same as when we were a startup [07:18] pquerna: apparently we sell our customers SLAs [07:18] pquerna: (damn) [07:18] mjr_: huh [07:19] mjr_: I wonder what that's like. [07:20] pquerna: well, and the other thing, there is now a process to open sourcing things [07:21] pquerna: its not just hold a 'board' meeting at lunch :) [07:21] tyler-iphone has joined the channel [07:21] mjr_: Still looking for another fulltime node person. Hoping to find someone that already knows node instead of having to train/convert them. [07:21] mdaisuke has joined the channel [07:21] loob2 has joined the channel [07:21] pquerna: hoping to get our serialization lib out this coming week though. [07:21] mjr_: I'll bet that slows things down a fair bit. [07:22] pquerna: oh, i'm sure, but see also, bigcos like xml and json APIs [07:22] mjr_: OTOH, people expect less, because hey, you are a big, real company, you have SLAs and shit. [07:22] pquerna: heh [07:22] eldios has joined the channel [07:22] mjr_: take your time [07:22] xeodox: What do I have to do in Node.js + mongodb to ensure that I don't get SQL injected? [07:22] mjr_: I sometimes forget that people still use XML. [07:23] pquerna: unfortunately. [07:23] xiagox has joined the channel [07:24] seivan has joined the channel [07:25] stephank has joined the channel [07:25] ajak1: mongodb doesn't use sql does it? [07:25] chapel: mjr_: remote work? [07:25] mjr_: Seems like a good time to be a node person if you are looking for a job. [07:25] mjr_: chapel: sadly, no. We want someone in SF. [07:25] chapel: ah [07:25] mjr_: This will probably be relaxed once we are wildly successful. [07:25] chapel: yeah if I was in sf or at least in cali, I would have a job right now [07:25] xeodox: ajak1: So I don't need to worry at all? [07:26] ajak1: xeodox: not about SQL injections. there may be other types of injections though. [07:26] SamuraiJack has joined the channel [07:26] chapel: trying to at least get some freelance work, but its still a bit fringe [07:26] xeodox: ajak1: Like what? [07:26] mjr_: xeodox: there are likely all sorts of security issues with node because it is still so new and hasn't been thoroughly scrutinized by everybody. [07:27] ajak1: xeodox: I don't know that much about mongo, try #mongodb [07:27] mjr_: However, because it is so new and cool, generally nobody cares to look for security problems. [07:27] xeodox: Is node OK to go into production..? [07:27] markwubben has joined the channel [07:27] ajak1: although i doubt there's anything as scary as a buffer overflow [07:28] ajak1: xeodox: use a reverse proxy [07:28] galaxywatcher has joined the channel [07:28] xeodox: whats a buffer overflow [07:28] xeodox: (whats a buffer) [07:28] mjr_: xeodox: there's no good way to answer that in general, but lots of people run node in production [07:29] ajak1: xeodox: too long to be explained here but it's a security issue with mostly really bad consequences, but not as prevalent today as it was a few years ago [07:30] ajak1: i would recommend running Node behind something like nginx [07:30] ajak1: for production [07:31] pquerna: i always wondered about the reverse proxy advice. [07:31] pquerna: would it really prevent a remote exploit in the http-parser [07:31] ajak1: probably not but it might prevent other exploits [07:32] xiagox has joined the channel [07:32] ajak1: have there been any vulnerabilities in http-parser thus far? [07:32] Druide_ has joined the channel [07:32] mjr_: I've never heard of any [07:32] marlun: I'm having a problem with Connect's bodyParser middleware. When it gets an ajax request which has Content-type: application/json but then has no body it never returns (runs the next() method). I guess the data and end events never run. [07:33] clee: xeodox: http://www.mongodb.org/display/DOCS/Do+I+Have+to+Worry+About+SQL+Injection [07:33] mjr_: I dunno, I just run node in production, exposed to the internet. It's probably dangerous, but it is less complicated than having a reverse proxy. [07:33] clee: mjr_: it's also probably way faster [07:33] ajak1: nginx is pretty fast and also event-driven [07:33] clee: nginx may not add *much* lag to each connection, but it's not going to be completely free of performance hits [07:34] mjr_: it's also completely free of websocket support [07:34] mjr_ has left the channel [07:34] wao: mm, give try, use nginx or varnish :) [07:34] mjr_ has joined the channel [07:34] wao: nginx also do cache? [07:35] ajak1: i think HAProxy can hand;e websockets [07:35] seivan has joined the channel [07:35] ajak1: *handle [07:35] pquerna: only if you just do a tcp reverse i thought, not if its parsing http? [07:35] pquerna: (which defeats the entire purpose of a reverse proxy for security) [07:35] ajak1: this is true [07:36] pdelgallego has joined the channel [07:38] dekz: Anyone been successful in finding memory leaks with node+Instruments.app? [07:38] mjr_: pquerna found an awesome TLS one that way [07:38] mjr_: It's tough if the leak is inside V8 though. [07:38] TomY has joined the channel [07:38] captain_morgan has joined the channel [07:38] dekz: Think I got it, there is a "sampling rate" [07:39] dekz: But yes it doesn't tell me as much as valgrind might [07:40] xiagox has joined the channel [07:40] pquerna: dekz: http://journal.paul.querna.org/articles/2011/04/05/openssl-memory-use/ [07:40] pquerna: dekz: i mean.. it works well for C++ side leaks [07:41] pquerna: just using the default built in object allocation instrument [07:42] pquerna: dekz: are you looking for a c++ or js side thing? [07:42] dekz: c++ [07:42] v8bot: dekz has given a beer to c. c now has 5 beers. [07:42] pquerna: lucky c. [07:42] dekz: lol [07:42] pquerna: sampling rate sounds like one of the cpu profilers [07:43] pquerna: the object allocation is hooking into malloc [07:43] pquerna: so no sampling rate in it [07:43] ajak1: c++ [07:43] v8bot: ajak1 has given a beer to c. c now has 6 beers. [07:43] dekz: Yeah I was using the "Leaks" instrument, not "Allocations" [07:43] ajak1: dekz++ [07:43] v8bot: ajak1 has given a beer to dekz. dekz now has 1 beers. [07:43] ajak1: wow [07:43] pquerna: yup [07:44] pquerna: leaks are for.. allocated but then unrefernced [07:44] pquerna: which can happen [07:44] dekz: I was actually attempting to Watch the tests run using nodeunit but that doesn't seem to work as I'd expect out of the box [07:45] dekz: (Not as well as valgrind at least) [07:50] coreb has joined the channel [07:50] msucan has joined the channel [07:51] mscdex_ has joined the channel [07:51] MikhX has joined the channel [07:52] mscdex__ has joined the channel [07:55] ryah: okay - i need an opinion on a C API. [07:55] ryah: we are writing a bunch of async functions oio_read, oio_write, etc. [07:56] ryah: obviously they issue their corresponding syscalls inline if possible [07:56] ryah: if the syscalls don't block (common for oio_write, for example) a "oio_req" object specifies a completion callback [07:57] ryah: the question is: as a user would you like the option for these functions to be sync when the syscall completes without EAGAIN. [07:57] ryah: ? [07:57] ryah: or do you not really care - and would rather just have the callback being called on nextTick [07:58] ryah: "next tick" [07:58] hackband has joined the channel [07:59] ryah: s/block/complete sync/ [07:59] mjr_: What would it mean to be "sync" in that case? [07:59] mjr_: Also, isn't that kind of how it works now? [08:00] ryah: e.g. ssize_t oio_read(oio_req* req, char* data, size_t len) [08:00] ryah: returns size read - if done sync [08:00] ryah: returns -1 and sets errno to OIO_PENDING [08:00] mjr_: oh, ok [08:00] ryah: that is async [08:00] mjr_: So you could return right away if it actually worked [08:00] ryah: yeah [08:00] mjr_: huh [08:01] ryah: say you try to read one byte - and the kernel has that all ready [08:01] ryah: s/all ready/already/ [08:01] seivan has joined the channel [08:01] ryah: it can just get it immediately [08:01] mjr_: I guess if you have to handle the async case, it seems like you'd probably always just do it that way anyway, as long as that worked. [08:01] stride: so I'd have to put the stuff that is executed inside a function, call that function afterwards if it was sync and make sure the callback doesn't do anything when it's called later on? [08:01] boghog: was thinking same as mjr_ [08:02] mjr_: I mean, as a user of this API. If I have to handle the async case, I think I'd just always do it async. [08:02] stride: yeah, me too [08:02] ryah: okay. [08:02] ryah: i believe it to be slightly more expensive to wait until the next tick [08:02] ryah: probably some cache concerns or something [08:02] mjr_: yeah, it probably is [08:03] ryah: but it makes the user interface very difficult [08:03] mjr_: probably is a handy optimization in a number of cases to short circuit the async case. [08:03] boghog: i guess if performance really matters, it might be a nice optional feature [08:03] mjr_: But think of the complexity costs [08:03] ryah: the problem is that i do this: (wait for gist) [08:04] a2800276 has joined the channel [08:04] ryah: https://gist.github.com/949526 [08:04] hellp has joined the channel [08:04] ryah: but this is very very bad [08:04] ryah: i'll be impressive if someone can tell why [08:04] ryah: impressed [08:05] ryah: ACTION is speaking english like a german tonight [08:05] mjr_: you will also be impressive [08:06] ryah: assume TOTAL_BYTES = 10mb [08:06] ryah: and CHUNK_SIZE = 2 [08:06] ryah: you end up calling on_read() recursively [08:07] mjr_: a lot of times [08:07] stride: where's chunk_size comming from? [08:07] ryah: the number of times read(2) can return sync is a lot [08:07] mjr_: who is the asshole who set CHUNK_SIZE to 2? [08:07] ryah: so you get stack overflow [08:07] ryah: oh, this is part of a test suite [08:07] seivan has joined the channel [08:08] d0k has joined the channel [08:08] saschagehlich has joined the channel [08:08] ryah: but i think this is the natural way to design your app with this sync or async api [08:10] joshuaroesslein has joined the channel [08:22] stevenj has joined the channel [08:24] NuckingFuts: Anyone know a good way to handle updates using semantic versioning? [08:24] NuckingFuts: Oh nevermind [08:25] NuckingFuts: oh lol isaacs made one [08:25] NuckingFuts: Prolly for NPM I assume [08:25] jesusabdullah: Yeah [08:26] _1marc has joined the channel [08:26] NuckingFuts: But I can't find it and the link 404'd [08:28] brianloveswords has joined the channel [08:28] nlco has joined the channel [08:29] seivan has joined the channel [08:30] NuckingFuts: oh lol he split it into another repo derp [08:31] [AD]Turbo has joined the channel [08:32] NuckingFuts: lolwat he has some wierd-ass function names [08:32] NuckingFuts: "replaceSpermies" [08:32] NuckingFuts: Refering to tildes, of course, but spermies? [08:32] frodenius: you have a weird-ass nickname [08:33] jesusabdullah: lol [08:33] jesusabdullah: that's an awesome function name [08:33] dguttman has joined the channel [08:33] jesusabdullah: a little long mebbs [08:33] NuckingFuts: frodenius: Only because nuck was taken ;-) [08:34] frodenius: heh [08:34] NuckingFuts: jesusabdullah: so, it's too much win to pass up XD [08:34] NuckingFuts: I ought to talk to the guys in #freenode or w/e and see if I can't get that registration ended though [08:35] piscisaureus has joined the channel [08:36] NuckingFuts: piscisaureus: Evening. Err, 1AM-ening [08:36] piscisaureus: hi [08:37] pyrony has joined the channel [08:38] stagas: new lib! networking physics game framework https://github.com/stagas/maga demo http://stagas.com:8555/ [08:40] ph^ has joined the channel [08:40] jesusabdullah: neat demo stagas ! [08:40] stagas: jesusabdullah: it sucks! need a proper game :) [08:41] jesusabdullah: XD [08:41] matyr_ has joined the channel [08:41] jesusabdullah: You know that game where you try to throw planets down and see how they orbit? [08:41] jesusabdullah: Like, trying to build stable solar systems and stuff? [08:41] jesusabdullah: BUILD ONE OF THOSE [08:42] mjr_: that demo is surprisingly fun [08:42] mjr_: I with the particles could interact somehow though [08:42] mjr_: I'll bet that's harder [08:42] stagas: it's easy to add logic [08:43] stagas: check the source [08:43] m64253 has joined the channel [08:45] hackband has joined the channel [08:46] stride: nice one [08:46] stagas: it's more fun if you open many tabs [08:46] stagas: on screen [08:46] stagas: and hover the mouse around them [08:46] stride: I just stalk other peoples dots [08:47] stagas: lol [08:50] mraleph has joined the channel [08:51] seivan has joined the channel [08:52] Determinist has joined the channel [08:57] galaxywatcher has joined the channel [08:57] JulioBarros has joined the channel [08:57] NuckingFuts: Game ideas? [08:57] NuckingFuts: Has anyone built a particle simulator like the Powder Toy, in JS? [08:57] NuckingFuts: I wanna see that 8B [09:03] incon has joined the channel [09:03] BenC[UK] has joined the channel [09:03] Nexxy has joined the channel [09:03] Nexxy has joined the channel [09:03] [AD]Turbo: does it exist a decent IDE / Project Manager for Node + Socket.IO + MongoDB projects? I'm asking for code completion and refactory features "only" [09:06] framlin: Eclipse has code completion and refactoring for JS, too, but not as comfortable as for Java [09:06] seivan has joined the channel [09:07] herbySk has joined the channel [09:07] Determinist: what are you guys using for logging? [09:08] framlin: some of my colleagues use NetBeans for JS Development. As I could see, there is at least code completion [09:08] Determinist: too many log* libs on the npm registry [09:08] framlin: For Eclipse ther is a node-debugger-interface that works well [09:08] [AD]Turbo: Determinist, I put all my logs in capped collections of MongoDB [09:09] adnam: someone insisted IDEA was great for js [09:09] pyrony has joined the channel [09:10] dekz: wow Eclipse debug does actually look nice [09:10] TomY has joined the channel [09:10] framlin: yes, for remote server debuging its cool [09:11] dekz: I just stick to my vim [09:12] framlin: I have switched form Eclipse to vim and back to Eclipse ;) [09:12] dspree has joined the channel [09:12] dekz: tried eclim? [09:12] framlin: no [09:13] teemow has joined the channel [09:13] newy_ has joined the channel [09:13] Determinist: [AD]Turbo: anything that doesn't require a DB? [09:13] s0enke has joined the channel [09:14] jamescarr_ has joined the channel [09:14] framlin: My main reason to go back to Eclipse was Mylin [09:16] seivan has joined the channel [09:17] framlin: In my environment for me Mylin is the best way to stay on top of things [09:17] mike5w3c_ has joined the channel [09:18] Nexxy has joined the channel [09:18] Nexxy has joined the channel [09:19] joshontheweb has joined the channel [09:20] zakabird has joined the channel [09:20] TomY has joined the channel [09:22] [AD]Turbo: Determinist, console.log ? :) [09:22] Determinist: [AD]Turbo: :D [09:23] [AD]Turbo: look at npm packages, i'm sure there are several tools for logging in nodejs [09:24] seivan has joined the channel [09:27] chapel: `v git winston @ Determinist [09:27] v8bot: Determinist: indexzero/winston - GitHub - https://github.com/indexzero/winston [09:27] jonaslund has joined the channel [09:27] josefrichter has joined the channel [09:28] Determinist: [AD]Turbo: ohh, i have :) [09:28] josefrichter: noob question: why this tiny piece https://gist.github.com/949549 gives me TypeError: Object # has no method 'start' please? [09:29] dve_ has joined the channel [09:29] seyz has joined the channel [09:31] Bonuspunkt: josefrichter because exports does not have a method start [09:31] joshonth_ has joined the channel [09:33] josefrichter: Bonuspunkt ah, right. now I see I mistyped that line. thanks. [09:38] m00p has joined the channel [09:40] tfe__ has joined the channel [09:42] tfe_ has joined the channel [09:44] daglees has joined the channel [09:46] Determinist: chapel: winston looks cool. thanks ^ [09:46] chapel: np [09:47] Determinist: is there any sane way to bundle together a bunch of packages from npm with my code in an automatic fashion (that is, without having to copy each and every package file into my code dir manually)? [09:48] Determinist: i need to deliver this app and i know for a fact that the deployment environments would not have npm installed. [09:49] SubStack: Determinist: npm >=1 does that by default when you `npm install` [09:49] SubStack: but otherwise check out the bundle command [09:50] perezd has joined the channel [09:50] Determinist: SubStack: ty, rtfming [09:50] SubStack: it puts everything in node_modules which node now knows to look for [09:51] ian-london has joined the channel [09:51] Determinist: SubStack: yeah seems like exactly what i need [09:51] Determinist: SubStack: thanks again [09:51] Determinist: and throw in a comma up there :P [09:52] matjas has joined the channel [09:54] SubStack: never! [09:54] ian-london has left the channel [09:55] SubStack: overuse of commas is endemic [09:55] FireFly has joined the channel [10:00] mc_greeny has joined the channel [10:01] Xano has joined the channel [10:01] onre_ has joined the channel [10:05] shiawuen has joined the channel [10:05] shiawuen_ has joined the channel [10:09] bcl_ has joined the channel [10:09] hlindset has joined the channel [10:09] hlindset has joined the channel [10:10] TomY has joined the channel [10:11] NSMeta has joined the channel [10:13] dgathright has joined the channel [10:14] galaxywatcher has joined the channel [10:14] galaxywatcher has joined the channel [10:19] markwubben has joined the channel [10:21] res99 has joined the channel [10:23] Adman65 has joined the channel [10:24] xeodox: Does Node.JS have a good "Form" framework like Django? [10:27] matyr has joined the channel [10:27] beawesomeinstead has joined the channel [10:27] beawesomeinstead has joined the channel [10:28] jonaslund has joined the channel [10:32] Mafia has joined the channel [10:32] mdaisuke: xeodox: like express? [10:32] xeodox: mdaisuke: Express can handle forms? [10:33] xeodox: i mean, form models [10:33] onre_ has joined the channel [10:33] xeodox: and validation,e tc [10:33] Mafia has left the channel [10:34] rauchg has joined the channel [10:35] tyler-iphone has joined the channel [10:37] a2800276_ has joined the channel [10:41] tyler-iphone has joined the channel [10:41] NSMeta has joined the channel [10:44] bartt1 has joined the channel [10:45] tyler-iphone has joined the channel [10:50] tyler-iphone has joined the channel [10:54] matyr has joined the channel [10:55] tyler-iphone has joined the channel [10:55] justinus has joined the channel [10:57] mdaisuke has joined the channel [10:58] onre_ has joined the channel [11:00] tyler-iphone has joined the channel [11:01] seivan has joined the channel [11:01] zivester has joined the channel [11:03] mike5w3c has joined the channel [11:03] onre_ has joined the channel [11:06] liar has joined the channel [11:07] fyskij has joined the channel [11:14] onre_ has joined the channel [11:15] hij1nx has joined the channel [11:16] saschagehlich has joined the channel [11:17] lmatteis has joined the channel [11:17] lmatteis: hello. is there a persistent javascript data layer for accessing and querying a generic database? [11:17] lmatteis: something like JDO for java... but for javascript [11:18] xeodox: what do you mean "persistent javascript data layer"? [11:19] lmatteis: xeodox: a standard set of APIs that i can use to access a database [11:19] lmatteis: like JDO [11:19] lmatteis: i'm writing a small library for mongodb, and i want to use a standard spec for what's already out there, if there is [11:19] lmatteis: so that it's portable [11:20] xeodox: lmatteis: No idea, i'm a noob myself. (I use node.js and mongo normally, but dont do much more than that) [11:21] ekes: couple in here https://github.com/joyent/node/wiki/modules#database [11:22] xeodox: You're looking for a driver to mongodb? [11:22] xeodox: I use Mongoose . it's great [11:23] okuryu has joined the channel [11:24] Country has joined the channel [11:25] onre has joined the channel [11:27] teemow has joined the channel [11:28] tiagoa has joined the channel [11:29] Bwen has joined the channel [11:30] gavin_huang has joined the channel [11:30] Schmallon has joined the channel [11:31] pdelgallego has joined the channel [11:32] jakehow has joined the channel [11:36] justinTNT has joined the channel [11:38] willwhite has joined the channel [11:38] kriszyp has joined the channel [11:38] ilya has joined the channel [11:40] fairwinds_ has joined the channel [11:41] copongcopong has joined the channel [11:43] markwubben has joined the channel [11:44] onre_ has joined the channel [11:49] a2800276 has joined the channel [11:50] hij1nx has joined the channel [11:52] lmatteis: ekes: those seem like a list of libs [11:52] lmatteis: ekes: i'm looking more for a set of standard apis... [11:54] kriszyp has joined the channel [11:54] Charuru has joined the channel [11:57] kuya: any node-querystring owners/forkers here? [11:59] liar has joined the channel [11:59] justinTNT: hangups? [11:59] Swizec has joined the channel [11:59] temp01 has joined the channel [12:00] max_dev has joined the channel [12:04] matsimitsu has joined the channel [12:10] onre_ has joined the channel [12:12] cm: Whats the best way to put HTML in an external file to be sent? [12:14] openpercept has joined the channel [12:14] openpercept has joined the channel [12:15] xeodox: In EJS, is it possible to shoot res.render("template") without the "layout.ejs"? [12:15] xeodox: I don't want it wrapped in the layout.ejs [12:15] stagas: xeodox: res.render('template', { layout: false, locals: {..} }) [12:16] xeodox: love you [12:16] Schmallon has joined the channel [12:17] V1 has joined the channel [12:20] cm: Imma rephrase my question: If I want to send HTML using HTTP, but don't want it in the node.js, how would I pull it from a file on the server and send it? [12:20] matyr_ has joined the channel [12:25] Bwen: hmm I'm not an expert but I think you have to open the file and dump its content in the proper content-type body [12:26] kal-EL_ has joined the channel [12:26] chapel: cm: are you using something like express? [12:27] cm: So I just discovered fs -__- [12:28] planetic has joined the channel [12:30] bene has joined the channel [12:30] broofa has joined the channel [12:34] pootietang has joined the channel [12:36] mikl has joined the channel [12:36] mikl has joined the channel [12:43] altamic has joined the channel [12:45] Sami_ZzZ____ has joined the channel [12:47] Nander_ has joined the channel [12:48] Nander_ has left the channel [12:48] markwubben has joined the channel [12:58] davidcoallier has joined the channel [12:58] jaket has joined the channel [13:01] sivy has joined the channel [13:02] mendel_ has joined the channel [13:04] a2800276 has joined the channel [13:08] Emmanuel_ has joined the channel [13:10] mdaisuke has joined the channel [13:15] pootietang has joined the channel [13:22] thomsonit has joined the channel [13:22] thomsonit has left the channel [13:23] Schmallon has joined the channel [13:24] malkomalko has joined the channel [13:26] malkomalko: good morning everybody [13:28] matyr has joined the channel [13:29] planetic: it is evening here) [13:29] `3rdEden: 3:29pm here [13:30] planetic: 8:29 pm here [13:31] planetic: i mean 20.30 [13:31] malkomalko: 9:38 AM here :) [13:32] dyer has joined the channel [13:33] `3rdEden: pff your up early [13:33] `3rdEden: go back to bed :o [13:33] malkomalko: sleeping is over-rated! [13:33] `3rdEden: orly! [13:34] matyr has joined the channel [13:35] incon: 9:35pm here :) [13:36] cm: socket.io! <3<3<3 [13:36] cm: Why did I only just discover this -__- [13:36] incon: playing with socket.io atm :) [13:36] `3rdEden: hacking socket.io atm :)) [13:37] m64253_ has joined the channel [13:40] throughnothing has joined the channel [13:41] Bwen: in the module vm it is recommend to run it in a sperate process, so I am looking at child_processes but I have a hard time trying to find a example with the 2 combined [13:47] onre has joined the channel [13:47] dmojoryder has joined the channel [13:48] mynyml has joined the channel [13:49] perlmonkey2 has joined the channel [13:51] astropirate has joined the channel [13:52] onre_ has joined the channel [13:53] mdaisuke: does someone know if there's a real example to learn how to create addons for C++ newbie? [13:57] dlkinney has joined the channel [13:59] onre_ has joined the channel [13:59] a2800276 has joined the channel [14:00] thepose has joined the channel [14:01] TheIronWolf has joined the channel [14:02] jponge has joined the channel [14:02] temp01 has joined the channel [14:09] unomi has joined the channel [14:11] onre_ has joined the channel [14:12] JianMeng1 has joined the channel [14:13] broofa_ has joined the channel [14:16] onre_ has joined the channel [14:17] losing has joined the channel [14:19] boaz has joined the channel [14:22] CarlosEDP has joined the channel [14:22] CarlosEDP has left the channel [14:22] onre_ has joined the channel [14:23] dguttman has joined the channel [14:23] perlmonkey2 has joined the channel [14:23] maushu has joined the channel [14:24] zemanel has joined the channel [14:26] JulioBarros has joined the channel [14:29] stonebranch has joined the channel [14:31] mbrevoort has joined the channel [14:32] incon: response.write(chunk, encoding='utf8') what other encoding types supported? [14:33] incon: found it [14:35] Opaque has joined the channel [14:38] piscisaureus_ has joined the channel [14:40] kuya: im looking for a query string parser that can handle this 'a[b][0][c]=1&a[b][]=2&a[b][]=3' ==> { a: { b: [{ c: 1 }, 2, 3 ] } } ... anyone know one? [14:43] brianc has joined the channel [14:43] jtsnow has joined the channel [14:44] kuya_ has joined the channel [14:45] dev2 has joined the channel [14:46] dev2: hi all.. i'm compiling node. question: do i need to be root to run "make install"? [14:46] tilgovi has joined the channel [14:46] chapel: dev2: depends on where you are installing it? [14:47] dev2: local box [14:47] dev2: chapel: ohh i get your question now.. [14:47] dev2: i am installing it inside a dir i have write access to [14:48] dev2: so i guess i don't need to be root [14:48] dev2: but i thought it made system calls [14:48] dev2: well let me try it without root [14:48] steph021 has joined the channel [14:48] dev2: hah.. it won't let me without sudo [14:49] markwubben has joined the channel [14:57] ngs has joined the channel [14:59] matyr_ has joined the channel [14:59] zzak has joined the channel [14:59] zzak has joined the channel [14:59] cbiscardi has joined the channel [14:59] bulatshakirzyano has joined the channel [15:04] bingomanatee has joined the channel [15:04] bingomanatee: Hey anyone have a useful article / example of FB auth with Node? [15:05] qbert has joined the channel [15:05] bingomanatee: (duh howtonode) [15:06] sub_pop has joined the channel [15:06] bingomanatee: though the article is for node 1.3! kind of scary.... [15:07] astropirate: What is the difference between dnode and nowjs? they do the same thing? [15:11] hackband has joined the channel [15:12] Ori_P has joined the channel [15:12] qbert: never heard of nowjs [15:12] mynyml_ has joined the channel [15:14] caike has joined the channel [15:23] sunblush has joined the channel [15:23] Guest76919 has joined the channel [15:24] boogyman has joined the channel [15:24] dnolen has joined the channel [15:27] steph021 has left the channel [15:29] raja has joined the channel [15:29] drudge: if i need to get mac address for interface in node, what do you think is the best approach? [15:29] dandean has joined the channel [15:30] a2800276_ has joined the channel [15:30] piscisaureus has joined the channel [15:33] josefrichter has joined the channel [15:38] qbert: ahh good question [15:38] perlmonkey2 has joined the channel [15:38] altamic has joined the channel [15:39] postwait has joined the channel [15:40] brianc has joined the channel [15:40] mnbvasd: drudge: as (fwiu) there's no api for it, you've got to do it manually, probably by calling /sbin/ifconfig on *nix and ipconfig??? on win? then parse the output.. [15:41] drudge: just wrote a quick c binding [15:42] themiddleman_itv has joined the channel [15:43] mnbvasd: work on everything? [15:44] hlindset has joined the channel [15:44] hlindset has joined the channel [15:44] drudge: works on mac/linux [15:44] drudge: haven't tested on everything else :P [15:46] amerine has joined the channel [15:50] davidwalsh has joined the channel [15:51] tilgovi has joined the channel [15:52] Owner_ has joined the channel [15:55] mikeal has joined the channel [15:58] tilgovi_ has joined the channel [16:00] path[l] has joined the channel [16:01] manukall has joined the channel [16:01] sambao21 has joined the channel [16:05] jakehow has joined the channel [16:08] cwang has joined the channel [16:09] matjas has joined the channel [16:13] justinus has left the channel [16:14] jtsnow has joined the channel [16:14] tilgovi_ has joined the channel [16:15] dnolen has joined the channel [16:17] jgv has joined the channel [16:18] matyr has joined the channel [16:19] coreb has joined the channel [16:22] dandean has joined the channel [16:25] losing has joined the channel [16:26] a2800276 has joined the channel [16:26] dgathright has joined the channel [16:27] brianc has joined the channel [16:29] thalll has joined the channel [16:29] gkmngrgn has joined the channel [16:31] jmoyers has joined the channel [16:32] mickb has joined the channel [16:33] mickb has left the channel [16:33] CrypticSwarm has joined the channel [16:33] mjr_ has joined the channel [16:33] markstory has joined the channel [16:36] calvernaz has joined the channel [16:37] temp01 has joined the channel [16:38] galaxywatcher has joined the channel [16:39] jtsnow has joined the channel [16:41] _tfc has joined the channel [16:41] eee_c has joined the channel [16:44] coreb: with express.js, is it possible to attach events at the start and end of every request? [16:44] acies has left the channel [16:45] Mrfloyd has joined the channel [16:46] qbert: to run vows tests, do I use the ./vows binary or do I do node test/tests.js ? [16:47] Opaque has joined the channel [16:47] qbert: nm [16:48] bingomanatee: (again) Hey anyone have a useful article / example of FB auth with Node [16:48] path[l] has left the channel [16:49] sunblush has joined the channel [16:50] dyer has joined the channel [16:50] dyer has joined the channel [16:52] jtsnow has joined the channel [16:52] etaty has joined the channel [16:54] isaacs has joined the channel [16:57] timmywil has joined the channel [16:59] isaacs: jesusabdullah: hah, i see you guys had some fun with semver's function names :) [16:59] isaacs: jesusabdullah: "spermies" is what ~> are called in rubygems land [17:00] gazumps has joined the channel [17:06] bshumate has joined the channel [17:07] tilgovi has joined the channel [17:11] hij1nx has joined the channel [17:11] ditesh|cassini has joined the channel [17:12] jeromegn: anybody would know why when I try: connect.createServer(connect.conditionalGet()) (shortened) it throws me: Object function createServer() { ... } has no method 'conditionalGet' ? The most basic examples from the connect repo (I'm using the latest Connect) doesn,t work either. [17:15] jeromegn: oh, sounds like I need more middlewares... [17:16] blueadept has joined the channel [17:16] moshe has joined the channel [17:17] hackband has joined the channel [17:18] calvernaz has joined the channel [17:18] res99 has joined the channel [17:19] kmwallio has joined the channel [17:19] vikstrous: anyone got this error when updating npm? [17:19] vikstrous: v@buntu:~$ sudo npm update [17:19] vikstrous: node.js:134 [17:19] vikstrous: throw e; // process.nextTick error, or 'error' event on first tick [17:19] vikstrous: ^ [17:19] vikstrous: Error: Cannot find module '../../npm' [17:20] isaacs: vikstrous: that's weird. [17:20] isaacs: vikstrous: what's npm -v? [17:20] vikstrous: woah [17:20] vikstrous: same error [17:20] vikstrous: no idea what's wrong with it lol [17:20] vikstrous: npm doesn't work in general.. not even npm help [17:21] isaacs: vikstrous: looks like something got broken [17:21] isaacs: maybe do the curl | sh install thing again? [17:21] isaacs: vikstrous: btw, i'm going to be releasing 1.0 today, just writing a little "clean up 0.x and install 1.0 cleanly" script now [17:21] vikstrous: yeah i'll try uninstalling it i guess [17:21] peerless has joined the channel [17:21] isaacs: vikstrous: i'll send out a message to the node list when that's workign [17:22] vikstrous: sweet [17:22] vikstrous: would that script work if i ran it on my apparently broken set up? :P [17:22] isaacs: vikstrous: yeah, that's the idea. [17:22] vikstrous: ok thanks [17:23] isaacs: vikstrous: it's gonna say "This is what's installed. They will be removed. you should install them when 1.0 is done" [17:23] dandean has joined the channel [17:23] vikstrous: okay [17:23] isaacs: vikstrous: then clean up anything anywhere that looks like npm 0.x garbage, and drop 1.0 in place. [17:23] perezd has joined the channel [17:23] isaacs: vikstrous: but only if there's 0.x garbage laying around [17:24] rudolfrck has joined the channel [17:24] w3dot0 has joined the channel [17:24] perezd has joined the channel [17:24] vikstrous: ok, well i'm not too familiar with how npm works, but it sounds good [17:24] tjholowaychuk has joined the channel [17:25] Muon has joined the channel [17:25] sambao21 has joined the channel [17:25] V1 has joined the channel [17:26] w3dot0_ has joined the channel [17:27] matyr_ has joined the channel [17:29] max_dev has joined the channel [17:29] littke has joined the channel [17:31] vikstrous: isaacs: I reran the npm install script and it fixed it, all my modules are still there, etc. [17:31] gazumps has joined the channel [17:31] tesseracter has joined the channel [17:31] isaacs: vikstrous: awesome. [17:31] isaacs: :) [17:31] un_golan has joined the channel [17:31] vikstrous: yep :) [17:33] postwait has joined the channel [17:33] Wizek_ has joined the channel [17:34] zemanel has left the channel [17:34] m00p has joined the channel [17:34] sambao21_ has joined the channel [17:36] ditesh|cassini has joined the channel [17:37] Adman65 has joined the channel [17:37] un_golan has left the channel [17:38] moshe has joined the channel [17:38] sreeix has joined the channel [17:40] mendel_ has joined the channel [17:41] devrim has joined the channel [17:42] boccato has joined the channel [17:42] indutny has joined the channel [17:43] nmtmason has joined the channel [17:44] brolin has joined the channel [17:45] Owner_: Flash! ah Ah ah [17:46] sambao21_ has joined the channel [17:46] newy_ has joined the channel [17:47] kmiyashiro has joined the channel [17:52] hij1nx has joined the channel [17:52] trcarden has joined the channel [17:54] sambao21 has joined the channel [17:55] harth has joined the channel [17:55] stevenj has joined the channel [17:55] stepheneb has joined the channel [17:57] tesseracter has joined the channel [17:59] saikat has joined the channel [17:59] Me1000 has joined the channel [18:01] febits[0] has joined the channel [18:02] febits[0] has joined the channel [18:03] jetienne has joined the channel [18:04] febits[0] has joined the channel [18:05] hackband has joined the channel [18:06] febits has joined the channel [18:06] Dreamer3 has joined the channel [18:07] NSMeta has joined the channel [18:07] monteslu: does http client require you to break things down into port,host,url ? I suppose I can write a lib to parse something like http://mydomain:8888/asdfasdf/asdfasdf but don't want to reinvent the wheel [18:09] msucan has joined the channel [18:11] cbiscardi: monteslu: you're looking for url http://nodejs.org/docs/v0.4.7/api/url.html [18:12] monteslu: cbiscardi, awesome, thanks! [18:12] cbiscardi: monteslu: anytime [18:13] qbert: anyone have recommendations for promises / futures lib ? [18:14] Lorentz has joined the channel [18:14] dies_el has joined the channel [18:15] piscisaureus has joined the channel [18:16] pdelgallego has joined the channel [18:16] xiagox has joined the channel [18:17] jamescarr__ has joined the channel [18:19] mscdex__: qbert: never! [18:19] Determinist has joined the channel [18:22] Nexxy: omg trillian still exists! [18:23] rook2pawn has joined the channel [18:24] `3rdEden: same as icq ._. [18:24] mscdex: gasp! [18:24] halfhalo: bullshit [18:24] halfhalo: wait... I use trillian... [18:24] mscdex: i think icq is owned by some russian company now right? [18:24] MikeMakesIt has joined the channel [18:24] halfhalo: we're all owned by a russian company [18:25] unter_cover has joined the channel [18:25] unter_cover: ahry [18:25] jesusabdullah: isaacs: I see! [18:25] halfhalo: ACTION is slightly pissed he can't tie two domains together using cloudfoundry [18:25] mscdex: In Soviet node.js, network servers script YOU. [18:25] `3rdEden: All good stuff come from mother russia [18:26] `3rdEden: Vodka, Nginx, Brides [18:26] unter_cover: there is no russian version of node.js [18:26] cbiscardi: mscdex: hahaha [18:26] unter_cover: only english [18:26] w3dot0_ has joined the channel [18:26] `3rdEden: unter_cover: Y U LIE? http://nodejs.ru/ [18:26] unter_cover: loooooooooool thx [18:27] unter_cover: wtf [18:28] vikstrous: oh yay life is good! :D https://github.com/donpark/html2jade [18:28] cbiscardi: vikstrous: nice [18:29] patcito has joined the channel [18:29] vikstrous: this made me surprisingly happy... i was about to convert the jquery ui example page to jade and then i realized that's a stupid thing to do by hand [18:29] bene1 has joined the channel [18:30] sambao21 has joined the channel [18:30] angryfix has joined the channel [18:31] Aria has joined the channel [18:32] lstoll has joined the channel [18:33] unter_cover: Zalgo, the dark lord, he comes. = - T???????o?????????????????? ????????i????????????n??????????v????????????????o?????????k??????e????????? ?????t???????h???????e???????? ???????????????h???????????????i???????????v???????????????e???????????????-???????????????m????????i????????n??????????d????????????????? ????????????r?????????????????e????????????????p????????r???????????????e???s???????????????e?????????????n?????????? [18:33] unter_cover: ????n???????????g????????? ?????????????c??????????h???????????a???????????o????????????s?????.??????????????????? ??????????????= I?????????n?????????v???????????????o????????????k??????????????i????????????n??????????g?????? ????????????t??????h???????????e???????????????? ????????f????????????e???????????e????l???????????i???????n?????????????g????????? ????????o???????????f??????????? ????????????c??????????????h???????a [18:33] unter_cover: ?.???????????????? ?????????= W???????i????????????t????h???????? ?????o???????????u???????????????t???? [18:33] unter_cover: ????????? ??????????o????????????r???????d?????????e??????????????r???????????????.?????? ????????????= T??????????h??????????e??????????? ??????????N???????????????e????????????z??????????p??????e???????????r????????????d???????????????i????????????????a?????????????n????????? ?????????????????h??????????????i???????????v????????????????????e????????-???????????m????????????i?????n?????????????d????????? ???????????????o??? [18:33] unter_cover: ????????c???????????h????????????a?????o?????????s?????????.??????????? ?????Z??????????????a??????????l??????????????g??????????????o??????????????.?????? ?????????? ?????????????????= H?????????????e??????????????? ????????????w?????????h???????o?????????????? ?????????W????????????a?????????????i????????????t??????????s????? ???????????B?????????e????h???????i??????n????????????????d?????????? ???????????T??????????h???? [18:33] unter_cover: ???????W????????????????a??????l????????????l???????.???????? ?????????- Z??????????A???????????????L???????G??????????????O???????!??????? [18:33] unter_cover: ?????? [18:34] mscdex: lots of question marks flooded there [18:34] halfhalo: my eyes, they burn! [18:34] blkcat: well that's certainly a great way to get yourself a +b [18:34] w3dot0_ has joined the channel [18:34] perlmonkey2 has joined the channel [18:35] `3rdEden: Ha, I only see ??????????? 's :D [18:35] newy_ has joined the channel [18:35] mscdex: same here, the one good thing about windows [18:35] unter_cover: yeah ban him [18:35] mscdex: ;) [18:36] plainas has joined the channel [18:36] plainas has left the channel [18:36] seyz has joined the channel [18:37] jesusabdullah: What is that text mess [18:37] seyz: Hi, where is the "Math" module in nodejs ? How can I do a "ceil" on a double please ? [18:37] jesusabdullah: Math.ceil() should Just Work [18:37] jesusabdullah: pretty sure [18:37] `3rdEden: Math is a global [18:37] isaacs: seyz: Math is part of the JavaScript language [18:38] seyz: Haha true ! [18:38] seyz: I'm stupid :-) [18:38] seyz: thanks [18:38] isaacs: seyz: it's provided by v8, not node :) [18:38] isaacs: np [18:38] isaacs: If you prefer, though, you can do this: /* math.js */ module.exports=MATH [18:38] isaacs: er: /* math.js */ module.exports=Math [18:38] isaacs: and then require("math").ceil [18:38] isaacs: i use that to test stuff sometimes [18:38] mscdex: please, think of the storage [18:39] gazumps has joined the channel [18:39] plainas has joined the channel [18:40] CIA-72: node: 03Ryan Dahl 07v0.4 * reb57d1b 10/ (4 files in 2 dirs): Upgrade V8 to 3.1.8.14 - http://bit.ly/kxWKx2 [18:40] CIA-72: node: 03Ryan Dahl 07v0.4 * r8d88c00 10/ (4 files in 2 dirs): Merge branch 'v8-3.1' into v0.4 - http://bit.ly/j1MogG [18:41] samsonjs has joined the channel [18:43] onar has joined the channel [18:44] plainas has left the channel [18:44] plainas has joined the channel [18:44] plainas has left the channel [18:44] newy_ has joined the channel [18:45] rfay has joined the channel [18:49] jeromegn has joined the channel [18:50] Wizek has joined the channel [18:50] whozman has joined the channel [18:51] newy_ has joined the channel [18:51] w3dot0 has left the channel [18:52] whozman: Is there a defacto standard library for promises now that they are not part of the node core? [18:52] hackband has joined the channel [18:52] mynyml_ has joined the channel [18:52] `3rdEden: ewwww [18:52] tesseracter has joined the channel [18:53] jesusabdullah: There's at least one promises library that I remember being relatively mature [18:54] whozman: is it this one: https://github.com/coolaj86/futures [18:56] whozman: I am just looking for something that will match the [18:56] whozman: var promise= new process.Promise(), result= null; [18:56] whozman: bla, bla, bla do some thing to get result [18:56] whozman: promise.emitSuccess( result ); [18:57] pcardune has joined the channel [18:57] jesusabdullah: I think https://github.com/kriszyp/node-promise was what I had in mind [18:57] jesusabdullah: but if futures does what you want, by all means go for it [18:57] bingomanatee: Stating to learn facebook - any reccommended modules/techniques? seems like there is a lot of libraries on node re: facebook; how to pick best one? [18:57] unter_cover: dich sollte man ankoten [18:58] seyz: Hello, node_redis does not support the "zcard" function ? [18:58] whozman: thanks @jesusabdullah [18:58] jesusabdullah: Yeah, np [18:58] coreb: with express.js, is it possible to attach events at the start and end of every request? [18:58] jesusabdullah: bingomanatee: I thought facebook appery was supposed to be a no-man's land >_< [18:59] bingomanatee: ACTION doesn't understand that at all.  [18:59] NSMeta has joined the channel [19:01] bingomanatee: thanks? [19:01] jesusabdullah: Hah [19:01] nickbaugh has joined the channel [19:02] jesusabdullah: I thought it was supposed to be really annoying to work with the facebook api is what I'm trying to say! [19:02] bingomanatee: and that helps me how? [19:02] jesusabdullah: Well [19:02] jesusabdullah: You have my sympathy at least <3 [19:02] bingomanatee: whatever... [19:02] piscisaureus: `3rdEden: you're just out of luck with your internet. Here (Delft) all is fine. [19:04] unter_cover: Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it [19:05] dguttman has joined the channel [19:06] markwubben has joined the channel [19:07] onar has joined the channel [19:11] Nexxy: except your smartness isn't a constant... [19:11] saikat has joined the channel [19:11] bradleymeck has joined the channel [19:13] jesusabdullah: So, the true moral is: Don't write tests when drunk. [19:13] Nexxy: alcohol is yucky anyway [19:14] cbiscardi: jusesabdullah: if you dont subscribe to the balmer theory [19:14] Aria: Ballmer peak is JUST before drunkenness. [19:14] tilgovi has joined the channel [19:15] cbiscardi: Aria: Isn't it a specific bac? [19:15] cbiscardi: not that it really matters haha [19:16] peerless: opinions on jade/sass/markdown? [19:16] Nexxy: between 0.129% and 0.138% [19:17] tesseracter has joined the channel [19:19] harth has joined the channel [19:20] V1 has joined the channel [19:23] asdfsafdsa: i like jade [19:24] asdfsafdsa: it saves a lot of time and it's easier to read too [19:24] xeodox has joined the channel [19:24] bingomanatee: ACTION hates dry/abstraction [19:24] bingomanatee: it makes you feel like you understand something you dont. [19:25] tjholowaychuk: you hate abstractions? [19:25] tjholowaychuk: like node? [19:25] tjholowaychuk: :p [19:26] bingomanatee: like coffee/jade [19:26] bingomanatee: hey TJ are there any particular Facebook libraries that play well with the latest build of express? [19:26] tjholowaychuk: well dont say you hate abstractions lol everything is an abstraction [19:27] tjholowaychuk: bingomanatee: no clue [19:27] bingomanatee: thanks anyway [19:27] asdfsafdsa: bingomanatee: do you not understand javascript/html that well? is that why? [19:27] cloudhea3 has joined the channel [19:28] bingomanatee: somewhat - however if I took the coffee shortcut I still wouldn't know javascript. [19:28] bingomanatee: HTML I know. [19:28] bingomanatee: but every meta language I ever used me got me several months ahead then screwed me. [19:29] bingomanatee: such as JavaFX [19:29] galaxywatcher has joined the channel [19:29] tjholowaychuk: asm ftw [19:29] tjholowaychuk: machine code ftw [19:29] mcantelon has joined the channel [19:29] asdfsafdsa: i dont get i then, it's probably you. i understand every single line i write in coffee/jade [19:30] bingomanatee: I'm okay with that - I just think that using one language to write another language is a dangerous and stupid path to take as a developer. [19:30] tjholowaychuk: the abstraction certainly has tohelp you more than it hurts you [19:30] tjholowaychuk: but with all abstractions there are limitations [19:31] tjholowaychuk: bingomanatee: like c to asm? [19:31] bingomanatee: To me when the only added value for a language is convenience and syntax then the risk/reward ratio is skewed. [19:31] tjholowaychuk: :D I think it makes sense when done properly and for "real" reasons [19:33] bingomanatee: I spent three months learning Java FX because it was "Elegant" and "convenient" - only to discover that it was bloated, riddled with memory overruns for everything but the most non-trivial uses, and so abstract that it made it impossible for you to actually fix these problems. [19:33] mcantelon has left the channel [19:33] Bwen: I'm sorry but an abstraction that redefine the source language so it does not even look alike, does not help me. Companies dont hire ppl that know jade or coffeescript, they hire ppl that know javascript and html... Some abstraction make you lazy and forget what it was in the first place. [19:34] xiagox has joined the channel [19:34] tjholowaychuk: Bwen: generally I agree [19:34] tjholowaychuk: though html is not really something you can forget haha it's far to easy [19:34] rlarue has joined the channel [19:34] tjholowaychuk: but you are right, large companies wouldn't do that generally [19:34] tjholowaychuk: although yahoo [19:34] tjholowaychuk: uses jade [19:34] dies_el has joined the channel [19:34] bingomanatee: I had a stripper ask me to teach her HTLM (typo hers). [19:35] w3dot0_ has joined the channel [19:35] rlarue: bingomanatee: She's a stripper fo the future. [19:36] asdfsafdsa: it's so much more efficient, to me, that's good enough. even if it saves haivng to type one extra character for each new line, that's enough for me to use it. [19:36] Bwen: tjholowaychuk: that would be very suprising to me [19:36] w3dot0__ has joined the channel [19:36] bingomanatee: I knew a lot of punkish coffee shop designers in the 90's who refused to learn HTML because "Adobe will eventually make a high level editor for me." [19:36] asdfsafdsa: bingomanatee: u got laid [19:36] tjholowaychuk: Bwen: I have the email to prove it lol one of their senior engineers wanted to hire me [19:36] bingomanatee: Medically unwise to screw strippers. [19:37] bingomanatee: Remember, kids, Bingomanatee says, "Look, but don't touch!" [19:37] rlarue: I've got a question about require()... is it possible to require code without putting it in exports or the global namespace? [19:37] Bwen: tjholomaychuk: I'll believe it when I see it :) [19:38] jesusabdullah: Buddy of mine likes to make web pages in dreamweaver [19:38] saikat has joined the channel [19:38] jesusabdullah: I don't have the heart to tell him :( [19:38] tjholowaychuk: Bwen: "My pitch is, you get to own the backend based on express and jade, open source as much as possible (basically, anything that is not application logic), and get to play with this with a potential audience of 600M users." [19:38] CarlosEDP has joined the channel [19:39] tjholowaychuk: Bwen: "Sounds like a nice setup, and I’m certainly happy given how much we’re getting out of express and jade. Keep us in mind if your situation changes. I appreciate giving this a thought." [19:39] Bwen: tjholowaychuk: I think someone played a prank on ya :) [19:39] rie31 has joined the channel [19:39] tjholowaychuk: haha [19:40] tjholowaychuk: think what you like [19:40] bingomanatee: TRAITOR1 [19:40] Bwen: I cant pretend to know what yahoo does :) [19:40] bingomanatee: hey at least you don't have that bastard Dingomanatee runining your good name. [19:41] rlarue: I'm looking at https://github.com/visionmedia/express/blob/master/lib/express.js and wondering what the "require('./request');" is doing at request.js doesn't seem to populate exports or the global namespace. [19:42] qbert_ has joined the channel [19:42] tjholowaychuk: rlarue: it augments node's IncomingMessage proto [19:42] xiagox has joined the channel [19:43] asdfsafdsa: rlarue: request.js does have exports. do ctrl + f "exports" [19:44] rlarue: asdfsafdsa: Sorry, response.js doesn't ... they are both using a similar inclusion themod [19:44] Postmodernist: Does node.js have a good way to get cookies? [19:44] Postmodernist: Built-in? [19:45] rlarue: tjholowaychuk: Ah interesting. So the var res = http.ServerResponse.prototype lets you globally modify node's http lib. [19:45] NSMeta has joined the channel [19:45] tjholowaychuk: rlarue: yeah, just regular js stuff, that's the joy of js, just monkey-patch anything you want [19:45] Postmodernist: Does node's http lib do anything for cookies? [19:46] mscdex: no [19:46] rlarue: tjhuolowaychuk: Badass. Thanks for explaining that. Was driving me craaazy. [19:46] tjholowaychuk: rlarue: haha np [19:46] seyz has joined the channel [19:47] hackband has joined the channel [19:48] JimBastard has joined the channel [19:49] JimBastard has left the channel [19:49] Marak has joined the channel [19:49] deedubs has joined the channel [19:51] nickbaugh: did someone here have an express template on github? [19:51] xiagox has joined the channel [19:51] tjholowaychuk: nickbaugh: express(1) creates really basic stuff but yeah it's node-boilerplate i think [19:51] tjholowaychuk: not sure [19:51] tjholowaychuk: there are a few [19:51] dmose has joined the channel [19:52] tjholowaychuk: WTF [19:52] tjholowaychuk: sock.send()'s msg [19:52] tjholowaychuk: for dgram cannot be a string [19:52] tjholowaychuk: rage [19:52] rauchg has joined the channel [19:53] cbiscardi: * tjholowaychuk's rage is building... [19:54] tjholowaychuk: fuck lol [19:54] tjholowaychuk: i was like what the hell is wrong [19:54] Nexxy: luckily he's so heroin thin he's pretty much harmless [19:54] Nexxy: have a rice cake lil feller, calm yourself! [19:54] dguttman has joined the channel [19:54] tjholowaychuk: hahaha [19:54] tjholowaychuk: rice cake? [19:54] Nexxy: also, tjholowaychuk [19:54] Nexxy: my girlfriend submitted a pull request to patch the filter breaking [19:54] Nexxy: on EJS [19:55] Nexxy: but she used regex [19:55] tjholowaychuk: the filters are kinda lame [19:55] tjholowaychuk: belong more to liquid.js or something [19:55] rook2pawn has joined the channel [19:55] Muon has left the channel [19:56] nickbaugh: learnboooost [19:56] Nexxy: well harumph [19:56] peerless: hey tj, setting up and trying to get familiar with express.. dont see anywhere in your guide about using express with mysql or any db for that matter, is there some kind of docs for that available? [19:57] CarlosEDP has joined the channel [19:57] aroop has joined the channel [19:57] Nexxy: express doesn't really have anything to do with dbs [19:57] Nexxy: there are tons of modules for data providers [19:57] cbiscardi: peerless: use a module for that, express doesnt have anything in it [19:57] deedubs: peerless: It's up to you to supply the vars to the rendering engine [19:58] tjholowaychuk: peerless: yeah you can use whatever you want [19:58] tjholowaychuk: which probably is not documented [19:58] tjholowaychuk: haha [19:59] Nexxy: nothing is ;| [19:59] confoocious has joined the channel [19:59] tjholowaychuk: pff lol [19:59] confoocious has joined the channel [19:59] tjholowaychuk: you write 60+ libs and document them all [19:59] Nexxy: it took me 15 minutes to figure out that I should be using layout. [19:59] deedubs: *nothing* is a bit of a stretch [19:59] Nexxy: DO YOU REALIZE HOW MANY RICE CAKES I COULD HAVE EATEN IN THAT TIME?! [20:00] cbiscardi: hahaha, rice cakes ftw! [20:00] xiagox has joined the channel [20:00] Nexxy: rithe caek [20:00] kriszyp has joined the channel [20:00] Nexxy: theriouthly delishuhsss [20:00] Owner_: the mini honey flavored rice cakes? [20:00] Nexxy: I don't eat honey. [20:00] hij1nx has joined the channel [20:00] nickbaugh: anyone use cliftonc's calipso yet? @ https://github.com/cliftonc/calipso [20:00] Owner_: why not? [20:00] Nexxy: ACTION serious face. [20:00] tjholowaychuk: mmm coffeee [20:01] Nexxy: I'm uhh... [20:01] Nexxy: I'm veg*n [20:01] strmpnk has joined the channel [20:01] Owner_: haha! [20:01] Nexxy: also [20:01] Nexxy: tjholowaychuk, challenge accepted. [20:01] Owner_: why do you use a * in vegan? [20:01] Nexxy: because "vegan" is a bad word amongst neckbeards [20:01] cbiscardi: nickbaugh: i pulled it the other day. doesnt look like a ton is there yet [20:01] cloudhead2 has joined the channel [20:01] Nexxy: so I try to be low-key about it [20:01] mcantelon has joined the channel [20:02] Owner_: I see whhy one would want to be vegan, but the no honey part is taking it way too far imo [20:02] Nexxy: bees can't sign contracts [20:02] Nexxy: giving us permission to rape and pillage their home [20:02] nickbaugh: cbiscardi: any alternatives you found that use node/mongo/express? [20:02] nickbaugh: cbiscardi: I just need a lightweight stack/template [20:02] Owner_: since small-medium scale beekeepers are probably helping bees in general [20:02] Nexxy: on a regular basis [20:02] tjholowaychuk: nickbaugh: express is light-weight [20:02] Owner_: taking a small amount of extra food is not what i would consider rape and pillage [20:03] tjholowaychuk: nickbaugh: extremely so, mongo maybe not so much [20:03] cbiscardi: nickbaugh: no real CMS's yet. I'm writing one, but it's nowhere near release yet [20:03] Owner_: neither is providing extra homes [20:03] Nexxy: they are perfectly capable of providing their own homes! [20:03] cbiscardi: nickbaugh: express + mongolian works well though [20:03] Nexxy: mongoose!! [20:04] Owner_: Nexxy: the keepers still provide extra homes [20:04] xeodox_ has joined the channel [20:04] Nexxy: I am naturally drawn toward libraries named after animals [20:04] cbiscardi: Nexy: haha [20:04] rie31: anyone using sleepy mongoose? [20:05] AntelopeSalad: tj, in your precondition screencast you said when setting up app.param() that it's kind of acting as a middleware but it's not, if you had to describe it in 1 word what would it be? [20:05] cbiscardi: rie31: isn't that for python? [20:05] tjholowaychuk: AntelopeSalad: tough call, yeah it is basically middleware though [20:06] AntelopeSalad: parameterware! [20:06] rie31: yup, it's standalone http server in python [20:06] tjholowaychuk: AntelopeSalad: hahaha [20:06] tjholowaychuk: you can also now next('route') within route-specific middleware etc [20:07] tjholowaychuk: to jump to the next matching route (if any) [20:07] Nexxy: tupperware [20:08] gmanika has joined the channel [20:08] AntelopeSalad: not sure what to make of that, but it's probably useful [20:09] tjholowaychuk: AntelopeSalad: it's handy when a precondition fails [20:09] tjholowaychuk: but its not necessarily an error [20:09] AntelopeSalad: that's actually what i'm trying to handle now heh [20:10] AntelopeSalad: like, if a user doesn't exist [20:10] tjholowaychuk: yeah either you next(new Error('failed to load user') or next('route') and just hit a 404 [20:10] malkomalko has joined the channel [20:11] AntelopeSalad: good to know [20:11] malkomalko: thanks for the message isaacs... pretty neat bot that you can leave messages behind [20:12] malkomalko: npm 1 is brilliant [20:12] malkomalko: exactly what I was looking for [20:12] isaacs: malkomalko: kewl :) [20:12] AntelopeSalad: is that specific to 2.3.2 btw? i'm still running 2.2.2 [20:12] malkomalko: I finally read your 3 posts on blog.nodejs.org and understood what the hell you were talking about [20:12] malkomalko: quick suggestion: list the latest version when doing npm search [20:12] malkomalko: I couldn't figure out how to view a packages version when searching [20:14] dandean has joined the channel [20:16] xiagox has joined the channel [20:16] tjholowaychuk: ACTION didnt know vlc had a cli [20:16] Nexxy: ACTION eye roll [20:16] malkomalko: the movie viewing app? [20:17] Nexxy: it's way moar than that [20:17] malkomalko: does it do my laundry? [20:17] Nexxy: is that a euphemism? [20:17] Nexxy: if so, probably... [20:18] malkomalko: you know it [20:18] tjholowaychuk: malkomalko: streaming some vids with node [20:18] Nexxy: ummm [20:18] Nexxy: tjholowaychuk, you're going to have to tell me about that [20:18] Nexxy: cuz that's exactly what I'm setting out to do [20:18] Nexxy: ;/ [20:18] dguttman has joined the channel [20:19] Nexxy: I figured I was going to have to parse the frames myself n stuff [20:19] malkomalko: cool [20:19] MikhX has joined the channel [20:19] tjholowaychuk: Nexxy: read up on RTP [20:19] brianloveswords has joined the channel [20:19] Nexxy: rtp/rtsp? [20:20] tjholowaychuk: http://www.ietf.org/rfc/rfc3550.txt [20:20] tjholowaychuk: yeah [20:20] Nexxy: I have a bit, but I wasn't able to find anything suitable other than gstreamer [20:21] devdazed has joined the channel [20:21] devdazed has left the channel [20:21] isaacs: malkomalko: i'm trying to make npm search be a bit more version-agnostic [20:22] isaacs: malkomalko: you can use npm view to get more info on a specific package, and that defaults to latest. [20:22] Nexxy: hnng, rfcs [20:22] isaacs: malkomalko: npm view express version [20:22] isaacs: by the way: [20:22] isaacs: $ npm view npm version [20:22] isaacs: 1.0.1 [20:22] isaacs: who's feeling brave? [20:22] Nexxy: ACTION puffs chest [20:22] Nexxy: I AM [20:23] isaacs: hahahaah, nvm, don't do that yet. [20:23] malkomalko: wait.. 1 hit final? :) [20:23] isaacs: just found a bug in the cleanup script. [20:23] malkomalko: didn't you just tell me about RC yesterday? [20:23] Nexxy: malkomalko, they're all on amphetamines [20:23] malkomalko: the cleanup process for me was pretty easy from 0.3.x [20:23] halfhalo: mmmm..... speed..... [20:23] dguttman has joined the channel [20:23] isaacs: ok, there we go.. [20:23] malkomalko: wiped out my lib/node dir, wiped out npm's man pages in share [20:24] isaacs: curl http://npmjs.org/install.sh | sh [20:24] Nexxy: ACTION sends halfhalo to rehab [20:24] malkomalko: and wiped out symlinked libs in bin [20:24] isaacs: malkomalko: that's all part of the install script now. [20:24] halfhalo: ACTION doesn't do drugs. he does the other type of speed [20:24] isaacs: malkomalko: but it's really thorough, and careful. [20:24] Nexxy: you can go to rehab for that too [20:24] Nexxy: it's called I-5 [20:24] isaacs: malkomalko: yeah, but the RC has been around for about a month now :) [20:24] Nexxy: where everyone drives @ 20mph [20:24] malkomalko: should I run that link even if I upgraded to 1.0.1rcFINAL manually? [20:25] Nexxy: and as soon as it rains, they drop down to 15mph [20:25] halfhalo: Bah i-5. Last time I was on the grapevine was right after they closed it due to snow in january heading to vegas [20:25] willwhite has joined the channel [20:25] malkomalko: have to tell you man, v1 is brilliant :D [20:25] malkomalko: truly self contained apps [20:25] Nexxy: "I don't do drugs"... "I was heading to vegas" [20:26] Nexxy: something doesn't add up here. [20:26] malkomalko: love the new npm ls views as well [20:26] halfhalo: ces :p [20:26] jbpros has joined the channel [20:26] Nexxy: likely story [20:27] Nexxy: I want to go to WSA! [20:27] rudolfrck has joined the channel [20:27] Owner_: Vegas has hookers, too [20:28] Nexxy: oh really? [20:28] isaacs: malkomalko: there's a good chance that there may have been shims or symlinks you missed by hand, but if you already have 1.0rc, then `npm install npm -g` should work. [20:28] malkomalko: I just ran curl http://npmjs.org/install.sh | sh [20:28] malkomalko: worked like a charm [20:28] isaacs: :) [20:30] rworth has joined the channel [20:30] malkomalko: npm linked one of the local libs I've been working on.. wooooo, so much better [20:31] stagas: http://stagas.com:8555/ [20:32] Nexxy: is anyone else having trouble cloning stuff from github? [20:36] RyanD has joined the channel [20:37] Darshan has joined the channel [20:38] CarlosEDP: stagas: cool... [20:41] hij1nx has joined the channel [20:41] bockmabe has joined the channel [20:44] CarlosEDP: anyone knows a free git hosting that allows private repos? [20:44] Nexxy: free as in freedom? [20:44] CarlosEDP: as in beer [20:44] CarlosEDP: ;) [20:45] tbranyen: run your own? [20:45] Nexxy: if you're doing something interesting [20:45] Nexxy: I might could offer you repo space [20:45] CarlosEDP: thought about that.... [20:45] Nexxy: is just gitosis though [20:45] Nexxy: which is super simple to set up on your own [20:45] CarlosEDP: by the way.. i found a deploy app to gitorious [20:46] CarlosEDP: https://github.com/rphillips/deploy-gitorious [20:46] CarlosEDP: looks cool [20:46] tesseracter has joined the channel [20:46] nickbaugh has joined the channel [20:46] CarlosEDP: the problem is that I only have a dreamhost account [20:46] CarlosEDP: dunno if that would work there [20:46] Nexxy: ACTION shivers [20:46] themiddleman_itv has joined the channel [20:46] Nexxy: w-whyyy [20:47] tbranyen: dreamhost :-/ [20:47] tbranyen: more like nightmare [20:47] CarlosEDP: it`s a shared account with a friend [20:47] CarlosEDP: i hate it too.. [20:47] Nexxy: I HEAR DREAMHOST IS REALLY SECURE [20:47] Nexxy: ... [20:47] CarlosEDP: thought about getting a cheap VPS [20:48] CarlosEDP: any tips? [20:48] halfhalo: slicehost or linode [20:49] CarlosEDP: heard about prgmr.com/? [20:49] Nexxy: linode > slicehost [20:49] halfhalo: ACTION uses slicehost plus cloudfoundry [20:49] blkcat: halfhalo: linode or prgmr [20:49] blkcat: don't bother with slicehost, their prices stopped being competitive a long time ago [20:49] Nexxy: http://www.linode.com/?r=ea4730ea72c5cd33517ca70f4d84e1fed3c5af9c *cough* [20:49] CarlosEDP: prgmr is 8 bucks/month for the 256MB instance [20:49] CarlosEDP: pretty cheap [20:50] halfhalo: ACTION has slicehost coupon that makes it the same as linode for price [20:51] CarlosEDP: is 256MB enough to run git and a small node app ? [20:52] Owner_: CarlosEDP: i should hope so... [20:53] Nexxy: CarlosEDP, plenty [20:53] halfhalo: ACTION is running a ruby app, rails app, and 3 node apps + mysql and mongo on a 512 vps [20:54] Nexxy: well aren't we something [20:54] Nexxy: ;P [20:55] halfhalo: only one is a public app atm [20:55] CarlosEDP: great [20:55] brownies has joined the channel [20:56] dgathright has joined the channel [20:56] kixxauth has joined the channel [20:57] Bwen: using vm.runInNewContact(code, sandbox), if my sandbox = {} what is actualy available to use? anything thats global? [20:57] CarlosEDP: halfhalo: thats nice... i plan to run a node app, a db (mongo), gitorious, and host some repos [20:57] dgathright has left the channel [20:57] brownies: pro tip: don't use mongous [20:59] CarlosEDP: i use mongoose ... [20:59] CarlosEDP: is that ok? [20:59] CarlosEDP: btw, why not mongous? [20:59] Xano has joined the channel [21:00] brownies: i'm a node noob... i have a node app on my hands and i'm learning by debugging =/ [21:00] brownies: what i've discovered is that mongous doesn't let you attach callbacks to your db writing functions, which is... silly. [21:01] Wizek: Hello! Can anyone tell me hoe does Node.js simmilar to (or different from) Python when it comes to Web Application Development? [21:02] Nexxy: node is liek twisted for python [21:02] Nexxy: kinda? [21:03] unter_cover: fischkopp [21:03] mscdex: Bwen: nothing but plain javascript [21:03] Bwen: mscdex: awsome [21:03] unter_cover: node is low level and twisted is high level [21:04] Aria: And node is almost all async, and twisted has to try to play with a sync python world. [21:04] Aria: Sometimes badly. [21:05] nlco has joined the channel [21:05] CarlosEDP: do any of you guys have a prgmr VPS? [21:06] Wizek: Aria, so Node I guess better handles more connections. But is it faster if actually there aren't too much people visiting? [21:06] CarlosEDP: is it possible to have more transfer BW? [21:06] Aria: define 'faster'? [21:06] Wizek: Aria, returns a respons in less time on average [21:07] Wizek: to client [21:07] Bwen: it'll server more client, the time it takes to serve the content.... that depends how you code it [21:07] Prism has joined the channel [21:08] Aria: Yeah, that depends on a lot of factors. If you're trying to solve a specific slowdown, it might help or not, depending on what that is. [21:08] Aria: It's a LOT easier to have requests depend on each other in node -- reporting on live things. [21:08] Aria: That's why I love it. [21:09] max_dev has joined the channel [21:09] Wizek: Aria, how do you mean that they depend on each other? [21:09] Aria: Well, a canonical example is a web chat: You want one request to return when another submits something [21:09] mynyml_ has joined the channel [21:13] Aria: The abstractions node uses don't get in the way of those things. [21:13] Aria: Other frameworks do. [21:13] bshumate has joined the channel [21:13] bshumate has joined the channel [21:15] Wizek: Aria, I see. So you love building web apps in node, right? Why (only that the requests depend on each other?) and how? [21:16] Aria: I like building things in node. Web apps are almost an aside though. [21:16] Aria: I also like javascript as a language. [21:16] Aria: But I feel like I'm in control, I don't feel like I'm fighting the framework. [21:17] moshe has joined the channel [21:18] Wizek: Aria, So what things do you build if not primarily web apps? [21:18] Aria: HTML5 parser, SMTP server, chat server, Jabber server [21:20] lukas_s has joined the channel [21:21] dguttman has joined the channel [21:21] lukas_s has joined the channel [21:25] jaket has joined the channel [21:26] NuckingFuts has joined the channel [21:29] dgathright has joined the channel [21:29] brownies: ok, so this app is using magicSession [21:29] brownies: (is that a bad idea to begin with?) [21:29] brownies: and i'm getting this strange error: TypeError: Cannot read property 'Set-Cookie' of undefined [21:31] mynyml_ has joined the channel [21:31] dgathright_ has joined the channel [21:32] mscdex has joined the channel [21:33] mynyml has joined the channel [21:33] dgathright_ has joined the channel [21:34] brownies: i... don't even understand this app. it looks like it wasn't even built with a framework. it's just clutch and some templating engine jammed on top of the httpServer [21:34] brownies: and all the docs i read about sessions are like "oh, just use express" [21:34] mattp_: what database access choices / ORMs are there for node? [21:34] admc1 has joined the channel [21:34] mattp_: all i see is a mysql binding using straight SQL strings [21:34] mattp_: is it that, or nosql json stores? [21:35] halfhalo: sequelize is a mysql one [21:35] peerless: Im trying to setup mongoDB and mongoose module, can I install both with npm or just mongoose? [21:37] mscdex: mattp_: there's mysql and nosql bindings/modules [21:37] cbiscardi: peerless: install mongodb with a package manager like homebrew or straight from the website, npm is for node packages like mongoose [21:37] mscdex: mattp_: there's also several ORMs out there for mysql and nosql [21:38] mscdex: mattp_: as halfhalo said, there is sequelize, which is a mysql ORM that uses a libmysqlclient binding [21:38] mscdex: although it could be easily modified to use node-mysql instead (pure javascript mysql module) [21:39] dnolen has joined the channel [21:40] azeroth__ has joined the channel [21:40] Prismattic has joined the channel [21:40] xiagox has joined the channel [21:40] brownies: has anyone used clutch? how do i attach some middleware to httpServer before the clutch routing kicks in? [21:42] CarlosEDP: peerless: you need both. Install mongoose from npm and MongoDB binaries from it`s website [21:42] peerless: yeah have the binaries, just need to add bin to my path and i should be all set? [21:45] brettgoulder has joined the channel [21:46] xeodox: Why doe my middleware function get called even though I never called it in app.get('/',middleware,function... [21:46] xeodox: It gets called on every page that I hit! regardless of anything ...it runs that function [21:47] martypdx has joined the channel [21:48] trcarden has joined the channel [21:48] a|i has joined the channel [21:48] martypdx: does compiling jade for client-side use require a certain version of node (i'm running 0.4.2)? i'm getting an error on $ make jade.js [21:49] Postmodernist: Are there any authn/authz modules for node.js? [21:49] a|i: any working sampls of mixing dnonde and backbonejs? [21:49] xeodox: postmodernist: Mongoose-auth [21:50] Postmodernist: Does that depend on Mongodb? [21:50] xeodox: yes [21:50] xeodox: and mongoose mongo driver [21:50] Postmodernist: Hmm [21:50] bingomanatee: has anyone built a facebook app with node.js? [21:51] bingomanatee: peerless: higly reccommend installing npm and then locally installing mongoose inside your app with it. [21:52] zzak has joined the channel [21:52] zzak has joined the channel [21:52] joshontheweb has joined the channel [21:52] bingomanatee: that way the version of Mongoose you develop with is frozen with your app so you don't get as many deployment surprises. [21:52] Nexxy: but I *love* surprises! [21:53] bingomanatee: ACTION <3 the new node_modules folder [21:53] zzak: suprise butsecks [21:53] Nexxy: woah [21:53] Nexxy: okay nevermind [21:53] bingomanatee: and you really couldn't see that coming? [21:53] xeodox: Anyone know why my middleware function (after defining it) gets called on every request (even though I only set it up for one route)? [21:54] tjholowaychuk: xeodox: can I see the code? [21:54] xeodox: tjholowaychuk: wait, gona put it in a new file and pastebin it to u [21:54] Nexxy: bingomanatee, I guess I don't share the same thought processes ;P [21:54] tjholowaychuk: xeodox: gist is better :D [21:54] tjholowaychuk: haha [21:54] tjholowaychuk: but yeah whatever works [21:54] xeodox: sure that works [21:55] bingomanatee: There is only two reasons to live in SF - Node.js and butsecks. [21:55] bingomanatee: And I don't <3 butsecks. [21:56] halfhalo: lies [21:56] halfhalo: hmm... that works for both... [21:56] Nexxy: bingomanatee, any chance you're subletting? [21:57] zzak: you need to fill out the proper forms to sublet butsecks [21:57] bingomanatee: You can find good rent in peripheral SF - Oakland and western SF. [21:58] Nexxy: yeah but is that where all the butts--- errr.. node.JS happens? [21:58] dgathright has joined the channel [21:58] zzak: most of it happens on git actually [21:58] bingomanatee: git your butsecks! [21:59] tim_smart has joined the channel [21:59] zzak: git fetch restraining order [22:00] _jdalton has joined the channel [22:00] bingomanatee: ACTION pitches but doesnt cache [22:00] ArtistConk1 has joined the channel [22:00] halfhalo: I am so glad this is being logged [22:00] _jdalton has left the channel [22:01] RyanD2 has joined the channel [22:01] xeodox: tjholowaychuk: I set the middleware for app.get('/:username', middlestuff, function.... , but I realize that it also gets called on app.get('/',function... so it must the routing url issue [22:01] bingomanatee: I'm not bad, I just type that way [22:01] xeodox: tjholowaychuk: How can I make sure it only gets called when :username, and not on '/' [22:01] tjholowaychuk: xeodox: sounds like a bug [22:01] tjholowaychuk: xeodox: someone on the mailing list had similar but I couldn't reproduce it [22:01] tjholowaychuk: a gist would help [22:01] RyanD2 has left the channel [22:02] Prism has joined the channel [22:03] xeodox: tjholowaychuk: https://gist.github.com/950032 [22:03] nlco has left the channel [22:05] sudhirjonathan has joined the channel [22:05] tjholowaychuk: xeodox: it's only executed for the :username one [22:05] tjholowaychuk: favicon? :p [22:06] tjholowaychuk: browsers suck for testing man haha, curl or telnet :D [22:06] Nexxy: ACTION assembles tcp packets by hand [22:07] xeodox: tjholowaychuK: Weird!!!! on curl it doesn't happen [22:07] xeodox: why? [22:07] halfhalo: thats the way men do it [22:07] towski has joined the channel [22:07] tjholowaychuk: xeodox: because curl isn't requesting the favicon [22:07] Nexxy: that's the way I do it too [22:07] xeodox: tjholowaychuk: favicon is the litlte icon.....what does that have to do with anything [22:07] tjholowaychuk: xeodox: GET /favicon.ico is getting consumed by that route [22:07] tjholowaychuk: xeodox: it's a request like any other [22:07] xeodox: tjholowaychuk: oh mother fer [22:07] tjholowaychuk: :) [22:07] Ori_P has joined the channel [22:07] xeodox: hahahahah [22:07] unter_cover: Irgendeinen Job wird man vermutlich halbwegs schnell finden, ich kenne keinen einzigen Programmierer der stempeln geht. [22:07] tjholowaychuk: I usually do app.use(express.favicon()) [22:07] tjholowaychuk: first [22:08] tjholowaychuk: to just get it out of the way [22:08] tjholowaychuk: out of logs etc [22:08] tjholowaychuk: optionally passing a path to that middleware to serve a custom favicon [22:08] xeodox: tjholowaychuk: i dont have favicon in my html [22:08] tjholowaychuk: xeodox: browsers always request it [22:08] xeodox: h i see [22:08] tjholowaychuk: because they are lame [22:09] halfhalo: Lame in the membrane [22:09] halfhalo: Heh.. 76loc to make a proxy that also does a replace on HTML pages [22:10] halfhalo: I like [22:12] brownies: halp... just installed node and npm on local dev and now i'm getting "ReferenceError: st is not defined" -- how to fix? [22:12] isaacs: brownies: gist the whole error message. [22:12] brownies: https://gist.github.com/986e78f4c46520211981 [22:13] dhasenan has joined the channel [22:13] brownies: oh, hey... thought your name looked familiar =P [22:13] joshontheweb has joined the channel [22:14] xeodox: tjholowaychuik: I got the middleware part to work. But what happens when I do next(new Error('no permissions')) ....what does "new Error" do? [22:14] xeodox: it throws an exception but how do I act on it [22:15] brownies: isaacs: i just followed all the instructions here https://github.com/joyent/node/wiki/Installation [22:15] eventualbuddha has joined the channel [22:15] isaacs: brownies: yep, first doa. fixing :) [22:15] Bwen: xeodox: isnt more like "throw Error('blah'):" ? [22:15] brownies: ah, ok, thanks :) [22:15] xeodox: bwen: dono, I'm just following express guide [22:16] Bwen: xeodox: express.. whats that? [22:16] insin: $ npm -v -> 1.0.1 (on Cygwin, of all things) [22:16] insin: congrats, isaacs [22:16] tjholowaychuk: Bwen: throwing wont get you anywhere with async logic you have to pass the exceptions around [22:16] isaacs: brownies: npm i npm -g [22:16] tjholowaychuk: throwing will just kill your server [22:17] xeodox: So what happens with "next(new Error...." because that's whats in the express guide but i have nooo idea what that means [22:17] Bwen: tjholowaychuk: yep I understand :) [22:17] malkomalko has joined the channel [22:17] tim_smart: xeodox: `new Error` creates a new error object from its constructor. [22:17] xeodox: I understand next() goes to the controller that called the middleware, but what does next( new Error...go to? [22:18] brownies: isaacs: i have no idea what that did, but something happened. and now "npm install clutch" dumped my entire server.js [22:18] brownies: (and it didn't work) [22:18] tjholowaychuk: xeodox: middleware with an arity of 4 can handle errors [22:18] tjholowaychuk: xeodox: (err, req, res, next) [22:18] tjholowaychuk: express has app.error() as a shortcut for this [22:18] tjholowaychuk: or express.errorHandler() etc [22:18] NuckingFuts: yay [22:19] mcantelon has joined the channel [22:19] NuckingFuts: ACTION bought an Apple Keyboard [22:19] halfhalo: Nice [22:19] isaacs: brownies: ack, whoops. [22:19] isaacs: stat != readFile [22:19] malkomalko: ever since I got my macbook air, I don't bother using anything else [22:19] NuckingFuts: I'm loving it, but I need to pick up the Windows drivers from bootcamp :/ [22:19] brownies: isaacs: somehow you will magically fix and tell me what to type? [22:19] halfhalo: ACTION wants a thinkpad kb for his Mac [22:19] NuckingFuts: Since I'm not on a Mac [22:20] NuckingFuts: But at least my up arrow and spacebar aren't falling off like they are on my laptop :P [22:20] bradleymeck has joined the channel [22:20] brownies: yea, same, malkomalko... it's a great dev machine. [22:20] NuckingFuts: The swapped Super & Alt is throwing me off, but I'm already starting to get used to it lol [22:20] halfhalo: Save for the apple kb, I absolutely hate chic let keyboards [22:20] isaacs: brownies: yes, that's what i will do [22:20] NuckingFuts: Apple kb was the cheapest one at best buy too [22:20] NuckingFuts: $50 for the wired one [22:21] NuckingFuts: All the windows ones were those damned "ergonomic" keyboards, which I just cannot stand [22:21] brownies: good, because i have no idea what's going on =P [22:21] halfhalo: But then I am a snob and love my thinkpad keyboard. [22:21] NuckingFuts: All I wanted was a simple scissor-switch keyboard [22:21] malkomalko: tjholowaychuk... in case you want somebody to tell you what to work on next in stylus: https://github.com/LearnBoost/stylus/issues/187 [22:21] malkomalko: ;D [22:21] tjholowaychuk: malkomalko: haha :) [22:22] NuckingFuts: I've grown accustomed to scissor-switche keyboards, can't use anything esle now [22:22] xeodox: does anyone know brian noguchi? [22:22] vorlov has joined the channel [22:22] vorlov: hello [22:22] Nexxy: omg is that what they're called?! scissor-switch!? [22:22] vorlov: what is recomended to use in order to make json-rpc requests? [22:22] Nexxy: only a robot would know that [22:22] halfhalo: !!! [22:22] vorlov: if i want to make a request from my node.js server [22:22] vorlov: to another server serving json-rpc [22:22] zzak: scissor me timbers [22:23] halfhalo: Are we back on the robots thing again... [22:23] Nexxy: never left it [22:23] nickbaugh: chapel: ayo [22:23] hij1nx has joined the channel [22:24] halfhalo: Hmm.. Compressed air or flyswatter for this annoying fly... [22:24] vorlov: ? [22:25] malkomalko: isaacs: do you have to pass the -g flag in whenever you are doing anything via global? is it consistent? like in order to update npm, do I have to do 'npm update npm -g' ? [22:25] stonebranch has joined the channel [22:26] Nexxy: halfhalo, catch & release [22:27] dgathright has joined the channel [22:27] xeodox: tjholowaychuk: Thanks, i'm reading the express error handling now [22:27] isaacs: malkomalko: yes. -g for global, always [22:28] isaacs: malkomalko: the only command that violates that is "link", because it sort of crosses the boundary a little. [22:28] isaacs: (by design) [22:28] malkomalko: got it [22:28] stevenj has joined the channel [22:28] nicobn has joined the channel [22:29] malkomalko: any if you write npm packages that are used really as binaries instead of require('foo'), you said that node_modules/.bin exists so that you can use locally packaged binaries in your project? [22:29] malkomalko: ../any/and/ [22:30] taurenx has joined the channel [22:30] halfhalo: Heh... Bath crashers... [22:30] bshumate has joined the channel [22:30] bshumate has joined the channel [22:30] isaacs: malkomalko: if you have a {"scripts" : { "preinstall" : "cake build" }, "dependencies" : { "coffee-script" : "*" }}, then npm will make that work using ./node_modules/.bin, yes [22:31] isaacs: malkomalko: but if you are running the bins directly, it should probably be installed globally [22:31] isaacs: malkomalko: unless you enjoy typing ./node_modules/.bin/foo [22:31] isaacs: :) [22:31] malkomalko: no, that sucks [22:31] isaacs: brownies: ok, updated. [22:31] andy_dawson has joined the channel [22:31] isaacs: brownies: curl http://npmjs.org/install.sh | sh [22:31] malkomalko: preferGlobal: true [22:31] brownies: isaacs: thanks! :) installing. [22:31] isaacs: also, now it asks before cleaning cruft. [22:31] tim_smart: malkomalko: npm config set global true [22:32] malkomalko: but that really doesn't force it as a global.. any reason why? If your package is a cli, shouldn't it always be installed globally? [22:32] tim_smart: Or something like that works I think [22:32] rudolfrck has joined the channel [22:32] brownies: isaacs: it works! [22:32] isaacs: malkomalko: what if you're installing it as a dependency, though? [22:32] zzak: isaacs: binary packages get put in path right? [22:32] brownies: ugh, i have to run a local mongodb server too =/ [22:32] isaacs: zzak: if they have bins defined, and you're installing them globally, then yes. [22:32] malkomalko: hmm, true [22:32] tim_smart: zzak: They get put where-ever you tell to [22:33] zzak: isaacs: tim_smart: cheers! :) [22:33] isaacs: ACTION greatly bemoans the naming ambiguation between "binary" and "executable" [22:33] isaacs: malkomalko: installing globaly is never required. [22:33] malkomalko: sorry! [22:33] Nexxy: execunary [22:33] Nexxy: binatable? [22:33] isaacs: malkomalko: even for a bin, if your program execs things via npm scripts, then it'll work inside the package. [22:34] isaacs: malkomalko: but npm is more a hotel than a jail :) [22:34] malkomalko: I dig it [22:34] meder: can anyone recommend a module/plugin for node.js where you can control and invoke DOM / JS on a web page? [22:34] tim_smart: isaacs: Jails are becoming more like hotels these days [22:35] tim_smart: Except you exchange freedom for free living costs [22:35] themiddleman has joined the channel [22:35] zzak: and butsecks [22:36] NuckingFuts: ah time to finish shit for graduation [22:36] NuckingFuts: Seeyall in 2 days :P [22:36] bingomanatee: hey nuts [22:37] bingomanatee: still here? [22:37] Nexxy: isn't that something you ask yourself quietly? [22:37] Nexxy: why do we have to be involved? :S [22:38] bingomanatee: thats your theme for the day? [22:38] unter_cover: fucking nuts [22:38] Nexxy: do you want it to be? ;3 [22:39] bingomanatee: its amazing that such a fast language can attract so many slow children [22:40] Nexxy: that's not a fair assessment, I found NuckingFuts to be quite intelligent [22:40] samsonjs has joined the channel [22:40] Nexxy: give him a break, we were all 17 once [22:40] bingomanatee: ... and the fact that I was talking about you actually drives the point home.... [22:40] KellyM has joined the channel [22:40] Nexxy: ... or does it? ;) [22:41] bingomanatee: you'll be the last to know. [22:41] Nexxy: why the negativity? [22:41] Nexxy: we're all friends here! [22:41] deedubs has joined the channel [22:41] bingomanatee: I hope you guys have been able to get by without me for a while... I was not abandoning Node but wallowing in it. [22:42] bingomanatee: glitterwood.tv:8000 is the end product of my wallow - not the most amazing product but I learned a lot. [22:42] harth has joined the channel [22:42] stepheneb has joined the channel [22:43] Vertice_ has joined the channel [22:44] whozman: for the sake of my sanity, can someone please confirm that no matter what I do with promises, if I have a long running blocking process I can't process other requests (code link: http://www.pastie.org/1851863) [22:44] bingomanatee: do you use forever? [22:45] whozman: @bingo was that for me? No I don't. [22:45] bingomanatee: okay. and I dont expetct this to help but .., what is a promise? [22:45] SubStack: whozman: yep there is only one thread and if you hog it up you can't do anything else [22:46] nulled has joined the channel [22:47] bingomanatee: the answer to the question, "How do I take the fastest language ever and make it the slowest language ever" is "don't use callbacks". [22:47] bingomanatee: If you are going to do something like that use a process fork and a callback. [22:47] SubStack: bingomanatee: http://en.wikipedia.org/wiki/Promise_(programming) [22:47] whozman: @bingo its like a contract to execute something in the future. Thanks SubStack. [22:48] SubStack: whozman: there are lots of other asynchronous flow control abstractions too [22:48] tyler-iphone: is a continuation a promise? [22:48] SubStack: ones that sit on top of callbacks are especially popular in node like step [22:48] nulled: Soon there will be SMTP FTP IMAP POP3 servers all written in javascript using node.js [22:48] bingomanatee: cool. [22:49] tyler-iphone: nulled: there aren't already ? [22:49] whozman: right, but no matter what the abstraction nothing helps with the blocking stuff. that has to go outside. [22:49] whozman: ty guys [22:49] nulled: I havent looked for a postfix replacement or a dovecot replacement using node.js is there one already? haha [22:49] Nexxy: that would be nice, learning postfix/dovecot was a pain [22:50] bingomanatee: whozman -- the point (i think) we are making is that if you can break your countdown funtion into a process that can be run in parallel and then have a callback on the result [22:50] tyler-iphone: https://github.com/joyent/node/wiki/modules#smtp [22:50] bingomanatee: you can turn that frown upside down. [22:51] dnolen has joined the channel [22:51] Nexxy: says the grumpy manatee [22:51] tyler-iphone: https://github.com/billywhizz/nodeftpd [22:51] SubStack: tyler-iphone: continuations are the more functional way of managing concurrent sequences [22:51] tyler-iphone: SubStack: is that a yes or a no? ;) [22:51] SubStack: tyler-iphone: promises are specifically a type of proxy object [22:51] SubStack: so not really [22:51] bingomanatee: I'm not grumpy. I'm old. [22:51] tyler-iphone: gotcha [22:51] Nexxy: that's debatable! [22:51] nulled: How about an Nginx/PHP replacement? Express? [22:52] Nexxy: express is love [22:52] tyler-iphone: https://github.com/andris9/n3 [22:52] SubStack: I thought node was an nginx replacement [22:52] tyler-iphone: to call node an nginx replacement is quite the understatement [22:52] SubStack: ACTION <-- never used nginx [22:52] nulled: node is jsut the platform.... [22:53] nulled: node will do anything soon... even GUI... but for now any networking app is very easy to do in node.js right now [22:53] SubStack: node is just a hack to get v8 to write to files and talk on the network :p [22:53] tjholowaychuk: nulled: nginx is definitely not an application framework so express wont help there lol [22:53] tjholowaychuk: nulled: cluster maybe? [22:53] tjholowaychuk: nulled: http://learnboost.github.com/cluster/ [22:53] bingomanatee: Why would you want to replace something as boring as a file/mail server? [22:54] Nexxy: configuration ;[ [22:54] nulled: I like postfix.... personally [22:54] no-gooder has joined the channel [22:55] raidfive has joined the channel [22:55] tyler-iphone has left the channel [22:56] TomY has joined the channel [22:56] k1ttty has joined the channel [22:56] zakabird has joined the channel [22:56] davemo has joined the channel [22:56] tyler-iphone has joined the channel [22:57] KellyM has joined the channel [22:57] tyler-iphone: nulled: theres already some gui stuff for node [22:57] tyler-iphone: nulled: http://www.readwriteweb.com/hack/2011/04/build-desktop-apps-with-nodejs.php [22:58] KellyM has joined the channel [22:58] davemo: I updated to npm 1.0.1 and it blew away all my packages and now my path is all mucked up, what do I need to modify my environment variables to be so npm install works? [22:58] dyer has joined the channel [22:58] isaacs: davemo: You may need to do the curl|sh command again. There was a minor doa bug. [22:58] isaacs: davemo: fixed now [22:58] davemo: isaacs: k, i'll give that a shot [22:58] isaacs: davemo: but, that aside, npm install should still work. it just works a bit differently now. [22:59] davemo: well it seemed to be working but was installing to {local_dir}/node_modules [22:59] gazumps856 has joined the channel [22:59] mcantelon: davemo: That's the new npm style. [22:59] tyler-iphone: isaacs: isn't executing arbritary code from a remote server considered bad practice? [23:00] nulled: tyler-iphone: holy crap wow thanks [23:00] davemo: mcantelon: so the intent is a local node_modules file for every installation? [23:00] rfay has joined the channel [23:00] Nexxy: unless you use -g [23:00] mcantelon: davemo: The idea is to bundle dependencies with your project rather than reying on global mdoule installs. [23:01] davemo: ah ic [23:01] Nexxy: kinda the same end ersult as RVM [23:01] brettgoulder has joined the channel [23:01] Postmodernist: mcantelon: Sounds messy. What if a module is updated to fix a security flaw and your project is still using the old version? [23:02] Nexxy: IMO it's a lot less messy than accidentally breaking older apps when you upgrade a module and the API has changed [23:02] davemo: so then what about running things you did want installed globally? [23:02] davemo: :P [23:03] Nexxy: but then again what do I know, i'm just a slow child ._. [23:03] mcantelon: davemo: There's an option to do a global install (-g I think). [23:03] Postmodernist: Nexxy: You should be able to load a module by version so it doesn't matter that it's installed globally. [23:04] Nexxy: I didn't realize npm kept older versions when upgrading [23:04] Nexxy: I guess that works too [23:04] davemo: before my environment variable was set to export NODE_PATH=$(npm root -s) [23:04] davemo: now that returns an undefined [23:04] isaacs: tyler-iphone: sure. you are encouraged to download the script, read it, and then run it, if you'd like [23:04] isaacs: tyler-iphone: i trust it, because i own that server :) [23:05] azeroth_ has joined the channel [23:05] Postmodernist: Question for node.js: How can I load a module of a specific version? [23:05] isaacs: davemo: npm root -g is probably what you want [23:05] Postmodernist: Like, can require() be module version-specific? [23:06] davemo: isaacs: ok, and if i want something like coffee-script and docco installed globally i do npm install {package} -g ? [23:06] isaacs: Postmodernist: npm install foo@version; require.resolve("foo") // ./node_modules/foo/blah.js [23:06] isaacs: davemo: bingo! [23:06] isaacs: davemo: npm help folders [23:06] davemo: isaacs: ok thx ;) [23:06] bingomanatee: yeah [23:06] thepose has joined the channel [23:06] isaacs: davemo: i don't recommend monkeying wiht the NODE_PATH. better to just install locally the things you require() [23:07] bingomanatee: that has made my life SO much easyer - thanks isaacs for node_modules - it really takes the headaches out of deploy [23:07] davemo: isaacs: yeah i can see the advantage of it [23:07] davemo: i suppose i can just symlink things [23:08] bingomanatee: is there any way to npm node itself into your project and have a complete self contained bundle? [23:08] SubStack: I just wish all my installed stuff got copied to a magical place that the repl knows to look in [23:09] bingomanatee: yeah that is kind of a cake having paradox. [23:09] ixti has joined the channel [23:10] ixti: hi everybody [23:10] Nexxy: Hi ixti! [23:10] ixti: can somebody bring some light on how node requires files? :)) [23:10] ixti: I can't get one moment [23:10] dnyy has joined the channel [23:11] Nexxy: http://jherdman.github.com/2010-04-05/understanding-nodejs-require.html [23:11] ixti: Let's say I have a module, that extends built-in `Object`'s prototype with method `cmon` [23:12] ixti: Nexxy: thanks, I saw that page it gives no answer on my answer [23:12] ixti: So [23:12] whozman has left the channel [23:12] bingomanatee: The thing you just said is bad and you should not do it. [23:12] dnyy1 has joined the channel [23:13] ixti: bingomanatee: why? [23:13] bingomanatee: ixti - even if you can - dont - create a class or function that solves the problem some other way. [23:13] rudolfrck has joined the channel [23:13] bingomanatee: Because it is arrogant - you don't know how it will affect third party modules and you might grab a namespace that the core language comes along and needs. [23:14] bingomanatee: Redefining core language features is only done in emergency cases such as during browser wars. [23:14] dnyy2 has joined the channel [23:14] ixti: Hmm... [23:14] ixti: Good point [23:14] ixti: anyway, now I would liek just to understand ;)) [23:14] bingomanatee: if you need every single class in your system to have a feature, slap it in manually, don't do global surgery on the core language. [23:15] dnyy3 has joined the channel [23:15] ixti: so bingomanatee I got your point. I guess I'll do it as you have said, you're right [23:15] bingomanatee: okay [23:15] ixti: anyway [23:15] bingomanatee: sorry to beat it t death. [23:15] bingomanatee: go on [23:16] elijah has joined the channel [23:16] ixti: nah. you're really right. i thought about that it's nota good idea, but still did it that way ;)) [23:16] ixti: so. [23:16] ixti: if I run script with vm.runInNewContext() [23:17] ixti: all objects that are created by request from that script [23:17] ixti: do have DIFFERENT prototype [23:17] nk_ has joined the channel [23:17] ixti: even if I will require that module... [23:17] ixti: I guess I'll better show it in examples :)) [23:17] Hamms has joined the channel [23:18] ixti: as I just lost in my own words :)) [23:18] boaz has joined the channel [23:18] bingomanatee: ixti - what I would suggest is using the _.extend or node's util.extend() method to enable the functionality you want on the things that need it. [23:19] bingomanatee: You might find yourself tired of pasting in boilerplate but it gets the job done, [23:19] ixti: bingomanatee: unfortuntely util.extend() will fail exactly the same in this particular situation [23:20] bingomanatee: I do think you need to gist this to us - it sounds interesting [23:20] ixti: :)) [23:20] ixti: one moment :)) [23:21] Marak: bradleymeck: you there? [23:22] itistoday has joined the channel [23:24] coconaut has joined the channel [23:25] perlmonkey2 has joined the channel [23:26] FireFly|n900 has joined the channel [23:28] etaty has left the channel [23:28] andy_dawson has joined the channel [23:29] etaty has joined the channel [23:29] etaty has left the channel [23:30] etaty has joined the channel [23:31] etaty has left the channel [23:32] coconaut has joined the channel [23:33] sridatta: can someone help me make sense of process.memoryUsage()? [23:33] sridatta: what is rss and vsize, and which should I be paying attention to if I want to monitor the process's overall memory consumption? [23:33] a2800276 has joined the channel [23:34] nickbaugh: wow express-mvc-bootstrap is pretty slick! [23:35] nickbaugh: integrating learnboost's namespacing would be killer [23:35] willwhite has joined the channel [23:36] eee_c has joined the channel [23:38] itistoday has joined the channel [23:38] perezd: was the sys module removed? [23:40] mjr_: perezd: just renamed to "util" [23:40] perezd: mjr_: so its util.print then? [23:40] mjr_: yep, same API [23:42] jaket_ has joined the channel [23:43] justinTNT has joined the channel [23:43] justinTNT: morning .. [23:44] dekz: morning [23:45] itistoday has joined the channel [23:45] charlesjolley- has joined the channel [23:46] bingomanatee: looks like I wasn't the only one to do that. [23:47] Nexxy: has anyone here any experience with RTP/RTSP? [23:48] mikl has joined the channel [23:49] marcello3d has joined the channel [23:50] marcello3d: hallo sweet people of #node.js [23:50] k1ttty has joined the channel [23:50] SubStack: oh hello [23:52] ixti: bingomanatee: https://gist.github.com/950107 [23:53] cloudhea1 has joined the channel [23:55] tykelewis has joined the channel [23:56] tykelewis has left the channel [23:56] EyePulp has joined the channel [23:56] bingomanatee: I am starting to get this. [23:56] brownies has joined the channel [23:58] ixti: bingomanatee: basically I understand WHY... :)) but still that drives me crazy :)) [23:58] bingomanatee: Aside from the "Source Code"ishness of this all, [23:59] bingomanatee: the "New context" of VM (which I have not used so take that into account) would I believe start with a clean stack - which means by definition the new context is not going to be suffering your modifications. [23:59] bingomanatee: What you have here is a 13th floor scenario.