[00:00] ale: Please, can anyone help me with private rooms chats? How can I manage them with sessions? [00:02] physpeters: mjr_: do you suppose that could be used to delegate to a narwhal app? [00:02] zilch has joined the channel [00:02] mjr_: I don't see why not. [00:02] mjr_: Assuming it talks HTTP [00:02] [[zz]] has joined the channel [00:02] davidbanham: ale: That's a pretty broad question. What's the exact problem you're trying to solve? [00:04] devongovett has joined the channel [00:04] rfay has joined the channel [00:05] zilch has joined the channel [00:06] Sorella_ has joined the channel [00:07] JoshC1 has joined the channel [00:08] zilch has joined the channel [00:08] teadict: so... [00:08] teadict: does everyone use Bones? [00:08] skm has joined the channel [00:09] teadict: or is it preferrable to do Express and Backbone oneself? [00:09] seivan has joined the channel [00:10] gtramont1na has joined the channel [00:14] dgathright has joined the channel [00:14] spetrea: teadict: well, some chatty thing [00:14] zilch has joined the channel [00:14] teadict: who? what? [00:15] spetrea: teadict: some friends and me [00:16] spetrea: teadict: except we have a dayjob and I personally seem to not find the time to write on it as much as I'd like [00:16] spetrea: s/write/work/ [00:17] skampler has joined the channel [00:18] zilch has joined the channel [00:18] CrisO has joined the channel [00:18] eyesUnclouded has joined the channel [00:19] bradleymeck has joined the channel [00:20] metaverse has joined the channel [00:20] zilch has joined the channel [00:21] teadict: spetrea: oh, the hacking [00:22] mscdex: Nexxy: nope, we're waiting for you write that server ;-) [00:22] arlolra has joined the channel [00:22] materialdesigner has joined the channel [00:23] spetrea: teadict: I hack pretty often [00:23] spetrea: the only problem is I loose momentum [00:23] spetrea: I mean I still keep all the ideas in the back of my head [00:23] zilch has joined the channel [00:23] spetrea: but it just seems that I do this and that which distract me completely from working on those projects [00:23] spetrea: I need to do something to organize myself better [00:23] davidbanham has joined the channel [00:24] arlolra: SubStack: will jadeify work with express helpers? [00:25] pen_ has joined the channel [00:27] arlolra has joined the channel [00:27] wavephorm has joined the channel [00:27] zilch has joined the channel [00:29] neoesque has joined the channel [00:35] matyr has joined the channel [00:35] cccaldas has joined the channel [00:35] skm has joined the channel [00:36] jakehow_ has joined the channel [00:36] jakehow has joined the channel [00:36] efflux__ has joined the channel [00:38] yozgrahame has joined the channel [00:39] fotoflo has joined the channel [00:39] hybsch has joined the channel [00:40] mcluskyd_ has joined the channel [00:42] Nexxy: mscdex, too much on my plate! [00:42] Nexxy: besides, I'm waiting on SubStack to write an RFC lexer [00:42] caolanm has joined the channel [00:43] yozgrahame has joined the channel [00:43] wavephorm has joined the channel [00:45] geetarista has joined the channel [00:45] guidocalvano_ has joined the channel [00:45] nickbruun: ryah, does the non strict dialect of ES5 still allow for octal literals? [00:46] wavephorm: none of the sqlite modules work with node 0.5 ? gotta downgrade :( [00:47] fotoflo has left the channel [00:47] zilch has joined the channel [00:48] teadict: spetrea: I hear you [00:49] [[zz]] has joined the channel [00:51] zilch has joined the channel [00:52] skampler has left the channel [00:53] thatdutchguy has joined the channel [00:53] foobarfighter has joined the channel [00:53] clifton has joined the channel [00:53] shajith has joined the channel [00:53] Chani has joined the channel [00:53] spetrea has joined the channel [00:53] apa- has joined the channel [00:53] nuba has joined the channel [00:53] tylergillies has joined the channel [00:53] tylergillies has joined the channel [00:53] tylergillies has joined the channel [00:53] a11235 has joined the channel [00:53] duckspeaker has joined the channel [00:53] k1ttty has joined the channel [00:53] PierreM has joined the channel [00:53] thatdutchguy: hi [00:53] iFire has joined the channel [00:53] threedaymonk has joined the channel [00:53] Anton_ has joined the channel [00:53] admc has joined the channel [00:53] ecin has joined the channel [00:53] bnoordhuis has joined the channel [00:53] cha0s has joined the channel [00:53] cjm has joined the channel [00:53] boaz has joined the channel [00:53] langworthy has joined the channel [00:53] else- has joined the channel [00:53] kiko_ has joined the channel [00:53] Kester` has joined the channel [00:53] Isaiah has joined the channel [00:54] incon has joined the channel [00:54] eee_c has joined the channel [00:54] ditesh|cassini has joined the channel [00:54] kriszyp has joined the channel [00:54] deoxxa has joined the channel [00:54] mrtazz has joined the channel [00:55] zilch has joined the channel [00:55] Kami_ has joined the channel [00:55] pkrumins: github is down! [00:55] matthijs has joined the channel [00:55] mscdex: i just noticed [00:55] TooTallNate: pkrumins: haha, I was just about to say the same thing [00:56] TooTallNate: mscdex: so I already replied to the commit, but I'm setting `prototype.__proto__` [00:56] TooTallNate: not the prototype directly [00:56] CrisO has joined the channel [00:56] mscdex: ah [00:56] pkrumins: github is down, means i do a suicide [00:56] pkrumins: cause i can't exist anymore [00:56] AvianFlu: http://www.youtube.com/watch?v=ILVfzx5Pe-A [00:56] TooTallNate: prototype.__proto__ in that case would be Object.prototype [00:56] thatdutchguy: I'm a node newbie, and am creating a command line based tool. Since my tool has a lib folder and several subdirectories, how would I go about resolving files in these, as the paths are relative to where the program is being run from. I'm basing them off of process.argv now but that seems a little hacky.. Anyone have some good advice? [00:56] mscdex: pkrumins: this is a developer channel after all [00:56] mscdex: pkrumins: ;-) [00:56] pkrumins: all of us [00:56] davidbanham: OH MY GOD GITHUB IS DOWN THE WORLD IS ENDING. [00:57] pkrumins: should do mass suicide [00:57] AvianFlu: thatdutchguy: require('../subfolder/folder') etc. [00:57] thepatr1ck_ has joined the channel [00:57] thatdutchguy: AvianFlu: that tries to resolve them from the current working directory for me [00:57] mscdex: maybe github is switching to node for their main web server [00:57] mscdex: :p [00:57] TheEmpath has joined the channel [00:57] TheEmpath: HAIL NODELINGS [00:57] TooTallNate: grrr, can't even push commits! [00:57] AvianFlu: right, what were you trying to do instead? [00:58] chjj: githubs back up [00:58] AvianFlu: cool [00:58] pkrumins: back up [00:58] chjj: that was close [00:58] pkrumins: i live [00:58] chjj: my head almost exploded [00:58] pkrumins: close call [00:58] pkrumins: i almost cut myself [00:58] pkrumins: to death [00:58] pkrumins: patching up [00:58] dleonardi has joined the channel [00:58] AvianFlu: now you guys can check out the leet lib I made in 20 minutes http://github.com/AvianFlu/hashbangify [00:58] AvianFlu: note: mostly a joke. [00:59] pkrumins: what does it do [00:59] chjj: does it bangify things? [00:59] AvianFlu: it hashbangifies node scripts for you and does a +x [00:59] pkrumins: oh that's what it does [00:59] AvianFlu: you know, for the lulz [00:59] mike5w3c has joined the channel [01:00] mscdex: it's back down [01:00] mscdex: heh [01:00] chjj: noooo [01:00] KingJamool has joined the channel [01:00] footyfish has joined the channel [01:00] AvianFlu: lol http://status.github.com/ [01:00] pkrumins: down again [01:00] zilch has joined the channel [01:01] chjj: github needs more webscale [01:01] chjj: we should give them more webscale [01:01] pkrumins: bye cruel world [01:01] TooTallNate: ACTION hands over webscale [01:02] efflux__ has left the channel [01:02] chjj: oh [01:02] chjj: back up [01:02] chjj: tootallnate's webscale worked it seems [01:03] TooTallNate: haha [01:03] pkrumins: i live [01:03] pkrumins: it's up again [01:04] mscdex: down again [01:04] mscdex: haha [01:05] chjj: haha [01:05] zilch has joined the channel [01:05] chjj: poor pkrumins [01:05] pkrumins: down fuuuck [01:05] pkrumins: this is painful [01:05] pkrumins: i am cutting myself [01:05] mscdex: let's head to bitbucket! [01:05] chjj: i think im actually starting to believe him when he says that [01:05] pkrumins: my veins are gonna go loose soon [01:05] mscdex: (kidding) [01:05] pkrumins: and i am not kidding here [01:06] pkrumins: i am cutting my arteries now [01:06] thatdutchguy: AvianFlu: I want the paths relative to where the app lives, regardless where it's called from [01:06] mscdex: back up! [01:06] AvianFlu: you're picturing a CLI tool that's installed on somebody's path, right? [01:06] matomesc has joined the channel [01:06] pkrumins: back up [01:07] pkrumins: horay [01:07] pkrumins: \o/ [01:07] pkrumins: no more cutting [01:07] ossareh: ACTION nudges pkrumins  [01:07] necrodearia has joined the channel [01:07] pkrumins: hey man [01:08] insin has joined the channel [01:08] ossareh: how's it going? [01:08] pkrumins: goes awesome [01:08] zilch has joined the channel [01:09] pkrumins: hacking like it was the last day of my life [01:09] rchavik has joined the channel [01:09] ryanallenbobcat has joined the channel [01:09] thatdutchguy: AvianFlu: exactly [01:09] ossareh: nice, what have you guys added recently? Been a few weeks since I fired up a browserling window (ever since we decided to not give a shit about IE :)) [01:09] isaacs: AvianFlu: https://github.com/isaacs/dotfiles/blob/master/.extra.bashrc#L236-265 [01:10] pkrumins: ossareh: adding testling as we speak right now [01:10] newy has joined the channel [01:10] pkrumins: otherwise we havent added anything else after tunnels [01:10] ossareh: nice, I like that idea a lot [01:10] AvianFlu: so wait a minute isaacs, you've got an auto-shebang in your bashrc? [01:10] ossareh: did you sort out the https auth stuff? [01:10] ossareh: http* [01:10] AvianFlu: that's just gangster. [01:10] isaacs: AvianFlu: yeah [01:10] pkrumins: ossareh: oh snap, what was that? [01:10] pkrumins: forgot what it was [01:11] pkrumins: i dont think i looked into that in the end [01:11] AvianFlu: thatdutchguy: your easiest road is to develop it, and then have people do 'npm install yourapp -g' [01:11] isaacs: i type `shebang foo.sh bash` and it adds #!/usr/bin/bash to foo.sh and chmods it [01:11] zilch has joined the channel [01:11] AvianFlu: lol nice [01:11] ossareh: I had some issue where my site was behind a basic auth and I couldn't get paste it - I've mostly forgotten now :) [01:11] isaacs: AvianFlu: you can also do: shebang foo.js env node [01:11] pkrumins: oh that one [01:11] pkrumins: http auth [01:11] pkrumins: ossareh: the ! char [01:11] AvianFlu: nice [01:11] isaacs: AvianFlu: and it'll do "#!/usr/bin/env node" [01:11] pkrumins: ossareh: yep, the fixed that, can now type all keys [01:11] ossareh: pkrumins: ahh yes - that was it :) [01:11] context: what do you call those mats you put on the floor for your computer chair to roll around on [01:12] AvianFlu: yeah, isaacs wins [01:12] pkrumins: ossareh: so how are you doing? still at justin.tv? [01:12] pkrumins: or some new venture? ;) [01:12] ossareh: context: "chair floor mat" is the best we came up with [01:12] AvianFlu: thatdutchguy: npm install whatever -g will put it and its deps on a global path, and wherever you call it will be the process.cwd [01:12] SubStack: ACTION waves [01:12] ossareh: pkrumins: still at jtv - making node super core. [01:13] AvianFlu: thatdutchguy: while you develop, deal with it, and when you're done, npm will solve it for you, in other words [01:13] pkrumins: node super core, sounds hard core. [01:13] pkrumins: what does it do? [01:13] devongovett has joined the channel [01:13] zilch has joined the channel [01:14] sirdancealot has joined the channel [01:15] isaacs: AvianFlu: pbind, pbund, and pbgist are super handy, too [01:15] SubStack: arlolra: express helpers I have no idea how that would work [01:15] pen_ has joined the channel [01:15] soapyillusions has joined the channel [01:15] isaacs: AvianFlu: https://github.com/isaacs/dotfiles/blob/master/.extra.bashrc#L380-386 [01:16] brianseeders has joined the channel [01:16] zilch has joined the channel [01:17] broofa has joined the channel [01:17] CIA-65: node: 03Ryan Dahl 07master * rb433c42 10/ (common.gypi node.gyp): gyp: Support Linux - http://bit.ly/qar5zH [01:18] zilch has joined the channel [01:18] kawaz has joined the channel [01:18] CIA-65: node: 03Ryan Dahl 07master * re57ed54 10/ tools/gyp/pylib/gyp/generator/make.py : GYP Support python 2.5.2 - http://bit.ly/nDXzel [01:18] arlolra: SubStack: k. thks. i figured out a way to work around my problem [01:18] iammerrick has joined the channel [01:20] guillermo has joined the channel [01:21] ossareh: pkrumins: hah, I meant trying to make it very important, we're building all sorts of new features (and rebuilding some old ones) using node [01:21] ossareh: hence me now lurking [01:23] zilch has joined the channel [01:24] pkrumins: ossareh: gotcha [01:24] patrickjst has joined the channel [01:25] infynyxx has joined the channel [01:25] zilch has joined the channel [01:27] CIA-65: node: 03Ryan Dahl 07master * r72246d9 10/ tools/gyp/pylib/gyp/generator/make.py : Complete GYP support for Python 2.5.2 - http://bit.ly/nv3WPJ [01:28] Drakonite has joined the channel [01:28] pkrumins: AvianFlu: you can do it with this one-liner: find . -name '*.js' -exec sed -ie '1{/^#/s|.*|#!/usr/bin/env node|;t;s|^|#!/usr/bin/env node\n|}' ';' [01:29] greg has joined the channel [01:29] skm has joined the channel [01:29] justinTNT has joined the channel [01:32] ckknight has joined the channel [01:32] zilch has joined the channel [01:32] daithi44 has joined the channel [01:32] abraxas has joined the channel [01:34] pen_ has joined the channel [01:35] zilch has joined the channel [01:37] TruPpp has left the channel [01:38] mcluskydodallas has joined the channel [01:38] ByteCrunch has joined the channel [01:39] zilch has joined the channel [01:41] zilch has joined the channel [01:43] isufy has joined the channel [01:44] hij1nx has joined the channel [01:46] zilch has joined the channel [01:47] Anton_ has joined the channel [01:47] seivan has joined the channel [01:50] zilch has joined the channel [01:50] dguttman has joined the channel [01:50] pen__ has joined the channel [01:50] d0k has joined the channel [01:52] zilch has joined the channel [01:52] cognominal has joined the channel [01:54] zilch has joined the channel [01:55] saviopp has joined the channel [01:56] emostar has joined the channel [01:56] dshaw_ has joined the channel [01:56] emostar: Hello... is there a difference between setTimeout(....); return; and return setTimeout(...); ? [01:57] mikeal has joined the channel [01:58] chilts: one returns the id of the timeout created, the other discards the returned timeout id and returns nothing [01:59] emostar: i'm seeing behaviour that with "return setTimeout" the timeout doesn't get called [01:59] emostar: but the other way works as expected [01:59] zilch has joined the channel [02:01] ohtogo has joined the channel [02:01] bradleymeck: emostar: gist a full example? [02:02] kriszyp has joined the channel [02:03] emostar: bradleymeck: it will take me some time to strip it down to a gist. Is "return setTimeout(...);" supposed to work, or am I doing something bad in Javascript? [02:03] justinTNT: it should werk. [02:04] emostar: alright... I'll see about making a gist then [02:04] matyr_ has joined the channel [02:05] AAA_awright: node-inspector is giving me a new error Error: Cannot find module 'websocket-server' [02:05] AAA_awright: Anyone know what this is about? [02:05] AAA_awright: I don't see any submodules to pull [02:06] bradleymeck: AAA_awright how did you install node-inspector [02:06] langworthy has joined the channel [02:07] AAA_awright: bradleymeck: I've cloned with git [02:07] AAA_awright: It's worked that way for 8-10 months now [02:07] bradleymeck: did you upgrade node recently? I have a clone from a week ago and after npm install it worked fine [02:08] Zebra12_ has joined the channel [02:08] AAA_awright: I'm always on master, node -v prints v0.5.3-pre [02:09] bradleymeck: id avoid 0.5.x if you arent forward porting modules [02:09] Zebra12_: i want to use node.js as a routing layer to some older apps on my system. Basically 1) request comes in 2) node looks up which system to send it to and passes the request to that app 3) that app returns to node 4) node returns to the client. [02:09] Emmanuel` has joined the channel [02:09] progme has joined the channel [02:10] bradleymeck: Zebra12_ what protocols? [02:11] Zebra12_: i assume just http [02:11] cccaldas has joined the channel [02:11] bradleymeck: https://github.com/nodejitsu/node-http-proxy [02:11] Zebra12_: the other apps are php apps that currently are serving directly to the client when the request comes in [02:12] bradleymeck: Zebra12_ just use the proxy I linked and it should be pretty easy to load balance or route requests [02:12] ecin has joined the channel [02:13] Zebra12_: bradleymeck: that looks like what i want. the idea is that in the future I will be changing these app to return JSON instead of html like they are doing now, and then slowly rewrite the tempting layer in node [02:14] Zebra12_: that makes sense right? [02:15] bradleymeck: sounds fine to me, a journey router or express app and http-proxy should be more than enough for the whole process [02:15] skm has joined the channel [02:15] soapyillusions has joined the channel [02:16] Zebra12_: that is what i was thinking. i need to read more about this sweet http-proxy lib before i have any other questions [02:16] Zebra12_: bradleymeck: thanks a lot [02:18] gtramont1na_ has joined the channel [02:19] zilch has joined the channel [02:22] zilch has joined the channel [02:22] JakeyChan has joined the channel [02:24] cha0s has joined the channel [02:25] misterm has joined the channel [02:25] mikeal has joined the channel [02:25] zilch has joined the channel [02:26] balupton has joined the channel [02:28] smus has joined the channel [02:28] pen has joined the channel [02:30] zilch has joined the channel [02:32] fdenbow has joined the channel [02:32] prettyrobots has joined the channel [02:32] zilch has joined the channel [02:34] boehm has joined the channel [02:35] wangbus-work has left the channel [02:36] edude03 has joined the channel [02:37] zilch has joined the channel [02:37] brianseeders has joined the channel [02:41] zilch has joined the channel [02:42] shipit has joined the channel [02:43] matyr has joined the channel [02:44] zilch has joined the channel [02:45] dshaw_ has joined the channel [02:46] patrickjst has joined the channel [02:46] zilch has joined the channel [02:48] skm has joined the channel [02:49] ben___ has joined the channel [02:50] zilch has joined the channel [02:51] Tick-Tock has left the channel [02:53] towski has joined the channel [02:53] jerrysv has joined the channel [02:53] Zebra12_: bradleymeck: i've looked into the http-proxy lib, but noticed one limitation. i proxy a path as well? 'localhost/whynot': 'google.com/chrome' [02:54] zilch has joined the channel [02:55] bradleymeck: you dont have to, but you could [02:56] Zebra12_: doesn't seem like i can [02:56] zilch has joined the channel [02:56] arpunk has joined the channel [02:56] Zebra12_: if i use something like 'localhost/chrome': 'google.com' it passes ok [02:57] Zebra12_: i guess that kind of makes sense tho. hrm [02:57] bradleymeck: you cant do it like that, basic domain routing must be combined with actual request.url checks if you want to do that [02:57] bradleymeck: this isnt a proxytable like apache [02:59] andersonfreitas has joined the channel [02:59] tristanseifert has joined the channel [03:01] andersonfreitas has joined the channel [03:01] harthur has joined the channel [03:01] zilch has joined the channel [03:02] aoberoi has joined the channel [03:03] shipit has joined the channel [03:05] joeytwiddle has joined the channel [03:06] zilch has joined the channel [03:11] zilch has joined the channel [03:12] dshaw_1 has joined the channel [03:12] smus has joined the channel [03:12] Marak has joined the channel [03:13] zdwalter has joined the channel [03:14] kavla has joined the channel [03:14] srid has joined the channel [03:14] srid has joined the channel [03:14] zilch has joined the channel [03:16] neilk_ has joined the channel [03:18] kenperkins has joined the channel [03:19] zilch has joined the channel [03:21] zilch has joined the channel [03:26] zilch has joined the channel [03:26] luke` has joined the channel [03:26] pen has joined the channel [03:26] jakehow_ has joined the channel [03:26] jakehow has joined the channel [03:27] luke`_ has joined the channel [03:27] kylefox has joined the channel [03:27] kylefox has left the channel [03:30] kawaz_h has joined the channel [03:31] soapyillusions has joined the channel [03:31] zilch has joined the channel [03:33] matyr has joined the channel [03:35] zilch has joined the channel [03:37] anti has joined the channel [03:37] whoops has joined the channel [03:37] tristanseifert has joined the channel [03:37] zpao_ has joined the channel [03:37] zilch has joined the channel [03:38] matthijs has joined the channel [03:38] zorzar has joined the channel [03:38] Kai` has joined the channel [03:39] Spion_ has joined the channel [03:39] zilch has joined the channel [03:40] JasonSmith has joined the channel [03:42] ajsie has joined the channel [03:42] shiawuen has joined the channel [03:42] mattly has joined the channel [03:43] zilch has joined the channel [03:44] brianloveswords has joined the channel [03:44] spetrea: is Ms. for married women and Mrs. for not-yet-married women ? [03:45] daleharvey has joined the channel [03:45] footyfish has joined the channel [03:46] chilts: spetrea: usually the other way around [03:46] chilts: but Ms can be used for a lot of things now, so it's not always a rule [03:46] DrPizza: Ms is for when their marital status is indeterminate [03:46] spetrea: how about if I do not know if she's married or not ? what if it's a cover letter to some recruiter who happens to be a woman ? [03:46] chilts: or if it's preferred to be used [03:46] DrPizza: Ms. [03:47] skm has joined the channel [03:47] chilts: yeah, that's probably best [03:47] spetrea: Ms. ? [03:47] chilts: yup [03:47] DrPizza: although I still regard Ms as tantamount to lesbianism [03:47] spetrea: thanks :) [03:47] DrPizza: Perhaps I am just oldfashioned. [03:48] _sri has joined the channel [03:48] nail_ has joined the channel [03:48] zilch has joined the channel [03:48] arlolra has joined the channel [03:49] roidrage has joined the channel [03:51] zilch has joined the channel [03:51] tylergillies has joined the channel [03:51] tylergillies has joined the channel [03:51] _ralph has joined the channel [03:52] blissdev has joined the channel [03:52] pixel13 has joined the channel [03:53] Hosh has joined the channel [03:53] dscape has joined the channel [03:53] ditesh|cassini has joined the channel [03:53] jerrysv has joined the channel [03:54] zilch has joined the channel [03:55] tanepiper has joined the channel [03:56] ncb000gt has joined the channel [03:56] Marak: DrPizza: Ahh a good old fashioned! [03:56] zanes has joined the channel [03:57] JoshC1 has joined the channel [03:57] niftylettuce has joined the channel [03:58] atmos has joined the channel [03:58] nym has joined the channel [04:01] dnyy has joined the channel [04:03] tomh- has joined the channel [04:04] JakeyChan has joined the channel [04:05] jtsnow has joined the channel [04:06] iFire has joined the channel [04:07] bradwright has joined the channel [04:10] andrewfff has joined the channel [04:10] goshakkk has joined the channel [04:11] piscisaureus has joined the channel [04:12] meso_ has joined the channel [04:13] [[zz]] has joined the channel [04:14] brianloveswords has joined the channel [04:15] zilch has joined the channel [04:16] nodokodo has joined the channel [04:17] raidfive has joined the channel [04:17] piscisaureus has joined the channel [04:17] chickamade has joined the channel [04:17] zilch has joined the channel [04:18] tbranyen has joined the channel [04:18] tbranyen: chrisdickinson: git.js is kind of slow :-/ [04:19] unlink has joined the channel [04:19] unlink has joined the channel [04:19] zivester has joined the channel [04:22] mikeal has joined the channel [04:22] binaryjohn has joined the channel [04:24] tim_smart: tbranyen: Has someone bound to http://libgit2.github.com/ ? [04:25] pen__ has joined the channel [04:25] tim_smart: https://github.com/libgit2/node-gitteh <- Seems they have [04:25] chickamade has left the channel [04:29] zeade has joined the channel [04:31] Charuru has joined the channel [04:32] dherman has joined the channel [04:32] jrhizor has joined the channel [04:33] Bogh has joined the channel [04:35] jesusabdullah: What's libgit2? [04:36] jesusabdullah: Huh! nvm :) [04:37] zilch has joined the channel [04:39] ckknight has joined the channel [04:40] zilch has joined the channel [04:40] eboyjr has joined the channel [04:41] luke` has joined the channel [04:41] devongovett has joined the channel [04:42] zilch has joined the channel [04:43] fangel has joined the channel [04:44] markatto has joined the channel [04:44] zilch has joined the channel [04:47] Destos has joined the channel [04:47] matyr_ has joined the channel [04:47] zilch has joined the channel [04:48] chrisdickinson: tbranyen: yeah, i'm working on it [04:48] chrisdickinson: tim_smart: re: libgit2, it's cool, but i'd really like an in-browser / native js git, and git.js seems to fit the bill [04:49] tim_smart: chrisdickinson: Gotcha [04:50] chrisdickinson: tbranyen: suspect number one for slowness is deflate/inflate; unfortunately i haven't found a suitable node package that implements raw inflate / deflate the way git's expecting it [04:50] mhausenblas has joined the channel [04:50] chrisdickinson: the groundwork for dropping in an async zlib is there now, though [04:50] mhausenblas_ has joined the channel [04:51] zilch has joined the channel [04:51] losing has joined the channel [04:52] joshontheweb has joined the channel [04:53] zilch has joined the channel [04:55] zilch has joined the channel [04:56] jspiros_ has joined the channel [04:58] zilch has joined the channel [05:01] zilch has joined the channel [05:01] sivy has joined the channel [05:02] clifton has joined the channel [05:03] versicolor has joined the channel [05:03] torsd has joined the channel [05:03] joshontheweb has joined the channel [05:03] zilch has joined the channel [05:06] zilch has joined the channel [05:07] balaa has joined the channel [05:08] jzacsh has joined the channel [05:09] zilch has joined the channel [05:10] spetrea: yesssssssssssssSSSSSSSSSSSSSSSSSSS !!!!!!!!!!!!!!!! [05:11] zilch has joined the channel [05:11] curtischambers has joined the channel [05:11] tktiddle has joined the channel [05:13] charleyd has joined the channel [05:13] sourcode has joined the channel [05:14] freeformz has joined the channel [05:14] physpeters has joined the channel [05:14] zilch has joined the channel [05:15] tktiddle: hi Im haveing a little trouble compiling node, can anyone help? http://fpaste.org/svck/ [05:16] zilch has joined the channel [05:17] seivan has joined the channel [05:19] tktiddle has joined the channel [05:20] brokenjames has joined the channel [05:20] losing has joined the channel [05:20] zilch has joined the channel [05:23] isaqual has joined the channel [05:24] zilch has joined the channel [05:24] japj has joined the channel [05:24] joshontheweb has joined the channel [05:25] k1ttty has joined the channel [05:26] zilch has joined the channel [05:26] dherman has joined the channel [05:27] tktiddle: can anyone help compile node? http://fpaste.org/svck/ [05:29] japj: tktiddle: which version of node are you trying to compile? [05:30] daithi44 has joined the channel [05:32] booo has joined the channel [05:32] pen has joined the channel [05:33] pen has joined the channel [05:33] japj: tktiddle: it could be you are hit by the following issue https://github.com/joyent/node/issues/1355 [05:34] pen has joined the channel [05:37] brokenjames: How do you guys feel about Mootools [05:37] Peniar has joined the channel [05:38] brokenjames: If I wrote a nice tool but you saw I was using the OO Mootools and you had to use it to extend my tool would you just be like fuck it [05:38] kriszyp has joined the channel [05:41] gregoryigelmund has joined the channel [05:42] charleyd has joined the channel [05:42] pen has joined the channel [05:44] statico has joined the channel [05:44] charleyd1 has joined the channel [05:45] statico: any ideas on how i could figure out why my node script suddenly stops printing output mid-line, takes 100% cpu, and begins to eat up ram? [05:46] statico: other than line-by-line debugging and commenting, of course [05:46] mikeal has joined the channel [05:46] zilch has joined the channel [05:47] mscdex: ugh pdfkit uses binary strings instead of Buffers >< [05:49] iFire` has joined the channel [05:49] zilch has joined the channel [05:50] temp01 has joined the channel [05:50] depywork has joined the channel [05:52] rurufufuss has joined the channel [05:53] zilch has joined the channel [05:53] ironlad has joined the channel [05:57] zilch has joined the channel [06:00] tktiddle: japj: spot on. [06:01] tktiddle: thnls [06:01] tktiddle: ! thanks [06:02] jamonkko has joined the channel [06:02] abraxas: mscdex: binary strings? in javascript, what the hell does that mean? :) [06:03] zilch has joined the channel [06:03] xAt has joined the channel [06:04] SamuraiJack has joined the channel [06:04] mraleph has joined the channel [06:06] iFire has joined the channel [06:06] stephank has joined the channel [06:07] matyr has joined the channel [06:11] justinTNT: anyone here got good mongoose? [06:13] AvianFlu has joined the channel [06:14] hekkwan has joined the channel [06:17] mscdex: abraxas: node has a legacy string encoding called 'binary' which was used before Buffer was available [06:18] liar has joined the channel [06:18] jesusabdullah: I'd almost forgotten about that [06:18] jesusabdullah: pre-buffer, I mean [06:22] tktiddle has joined the channel [06:23] zilch has joined the channel [06:23] zilch: apart from the status of free memory decreasing over time ... I know nothing ! as what part of the code is responsible for the leaks [06:24] zilch_ has joined the channel [06:24] versicolor has joined the channel [06:25] FireFly|n900 has joined the channel [06:25] zilch has joined the channel [06:26] xeodox has joined the channel [06:26] abraxas: mscdex: oh really? i guess that didn't work out too well? [06:26] xeodox: how do I make cookies work across subdomains (in Express) [06:27] parshap has joined the channel [06:27] mscdex: abraxas: it works, but it's a hack [06:27] meso__ has joined the channel [06:30] zilch_ has left the channel [06:31] asabil has joined the channel [06:31] cjm has joined the channel [06:31] zilch has joined the channel [06:33] tomb| has joined the channel [06:35] matyr_ has joined the channel [06:36] simenbrekken has joined the channel [06:39] tilgovi has joined the channel [06:39] asabil has joined the channel [06:40] temp01 has joined the channel [06:41] meso__ has joined the channel [06:42] dob_ has joined the channel [06:42] zilch has joined the channel [06:44] matyr has joined the channel [06:45] Country has joined the channel [06:45] yozgrahame has joined the channel [06:47] bergie has joined the channel [06:47] zilch has joined the channel [06:49] tristanseifert_ has joined the channel [06:50] luke` has joined the channel [06:50] NetRoY has joined the channel [06:51] zilch has joined the channel [06:51] shapeshed has joined the channel [06:53] guidocalvano has joined the channel [06:53] meso___ has joined the channel [06:54] guidocalvano__ has joined the channel [06:54] zilch has joined the channel [06:56] burningdog has joined the channel [06:57] zilch has joined the channel [06:57] meso__ has joined the channel [06:59] simenbrekken has joined the channel [07:01] ttpva has joined the channel [07:01] zilch has joined the channel [07:02] NetRoY has joined the channel [07:02] bripkens has joined the channel [07:02] cognominal_ has joined the channel [07:02] bergie has joined the channel [07:03] torsd has joined the channel [07:04] raphdg has joined the channel [07:04] zilch has joined the channel [07:05] emattias has joined the channel [07:06] tobeytailor has joined the channel [07:06] akujin- has joined the channel [07:06] zilch has joined the channel [07:06] fangel has joined the channel [07:07] ablomen has joined the channel [07:09] zilch has joined the channel [07:09] dob_ has joined the channel [07:09] tktiddle: Hi im having trouble getting some code to run with node, has anyone got any suggestions on what I could try? http://fpaste.org/BwCU/ [07:10] skm has joined the channel [07:10] Yoric has joined the channel [07:10] margle has joined the channel [07:11] chjj: tktiddle: what are you trying to do there>? [07:11] zilch has joined the channel [07:12] mosen has joined the channel [07:13] hekkwan has joined the channel [07:14] chjj: jesusabdullah: you update gists like crazy [07:17] hybsch has joined the channel [07:19] mscdex: tktiddle: we need to see code, it's hard to tell just by that error [07:19] emattias_ has joined the channel [07:19] temp01 has joined the channel [07:20] davidbanham has joined the channel [07:20] acedrew: anybody had a chance to play with smartos? [07:21] jbpros has joined the channel [07:21] topaxi has joined the channel [07:21] ironlad has joined the channel [07:22] mscdex: acedrew: is that a mentos knockoff? [07:22] tktiddle: its the sixth line here crashing out http://pastie.org/2379291 and giving this error http://fpaste.org/BwCU/ (updated) [07:23] tktiddle: This is the first time ive used node, im trying to run a project from git hub so excuse me for not knowing what Im doint here [07:23] AvianFlu: tktiddle: looks like you need some mime [07:23] AvianFlu: try 'npm install' from the project dir [07:23] tktiddle: do I have to install mime? [07:23] zilch has joined the channel [07:23] chjj: tktiddle: two different paste sites? ;p [07:24] mscdex: tktiddle: which project is it? [07:24] tktiddle: https://github.com/automata/osc-web [07:25] zilch has joined the channel [07:25] chjj: tktiddle, im very confused now, it says youre trying to require a module with the filename of 'osc-web-server.js' [07:26] mscdex: it looks like that project needs to be updated [07:26] mscdex: it's still using require.paths [07:26] mscdex: :/ [07:26] chjj: i dont see that in your code [07:26] tktiddle: o dear [07:26] tktiddle: perhaps its time for me to learn some node [07:27] chjj: always a good idea [07:28] AvianFlu: tktiddle++ [07:28] tktiddle: thanks for the help guys [07:28] AvianFlu: well what the fuck, no bots!? [07:28] AvianFlu: no problem, anytime! [07:28] zilch has joined the channel [07:28] jesusabdullah: chjj: like a boss [07:28] chjj: haha [07:28] JoshC1 has joined the channel [07:29] chjj: i look at my newsfeed, its all "jesusabdullah" everywhere [07:29] mscdex: tktiddle: it may be worth creating an issue on that project's repo [07:29] chjj: jesusabdullah updated gist: 1147916 August 16, 2011 [07:29] mscdex: tktiddle: the author may be able to help you [07:29] chjj: thats all i see [07:30] misterm has joined the channel [07:31] `3rdEden has joined the channel [07:32] altamic has joined the channel [07:33] zilch has joined the channel [07:33] cosmincx has joined the channel [07:34] chjj: mmm, my markdown parser is now a monster [07:34] Xano has joined the channel [07:35] jesusabdullah: my deltas are the best [07:37] zilch has joined the channel [07:38] matyr has joined the channel [07:38] shapeshed has joined the channel [07:38] zilch has joined the channel [07:39] chjj: how is showdown actually supposed to be used? instantiate a converter every time or reuse the same one? from looking at the code it looks like reusing it can cause problems [07:39] chjj: im trying to figure out the "fairest" way of benchmarking against it [07:39] chjj: https://github.com/chjj/marked/blob/master/test/bench.js [07:39] chjj: its so damn strangely written [07:39] chjj: i cant tell [07:40] mscdex: stranger than non-fiction? [07:41] chjj: i suppose so [07:41] zilch has joined the channel [07:41] JKarsrud has joined the channel [07:43] brokenjames has joined the channel [07:44] burningdog_ has joined the channel [07:44] iFire has joined the channel [07:44] ohtogo has joined the channel [07:44] zilch has joined the channel [07:47] zilch has joined the channel [07:47] DrDetroit has joined the channel [07:48] pickels has joined the channel [07:50] zilch has joined the channel [07:50] whitman has joined the channel [07:53] uchuff has joined the channel [07:53] zilch has joined the channel [07:56] zilch has joined the channel [07:57] ccare has joined the channel [07:58] andree has joined the channel [07:58] zilch has joined the channel [07:59] zeiris has joined the channel [07:59] industrial: Anyone use Mongoose? I keep getting schema errors :s [07:59] industrial: https://gist.github.com/9bfcfc72fc5a60eec47c [07:59] industrial: on the delete [08:00] dherman has joined the channel [08:00] industrial: CastError: Cast to non_object_property_load failed for value "" [08:00] industrial: theres not supposed to be a value [08:00] industrial: .. [08:01] klaustsen has joined the channel [08:01] zilch has joined the channel [08:01] __class__ has joined the channel [08:02] mpavel has joined the channel [08:03] emattias has joined the channel [08:03] zilch has joined the channel [08:03] jasonmog has joined the channel [08:04] jasonmog: how do i include external dependencies with Vows? [08:05] industrial: jasonmog: require? [08:06] jasonmog: tru dat? [08:06] zilch has joined the channel [08:07] mikl has joined the channel [08:07] mikl has joined the channel [08:07] robhawkes has joined the channel [08:07] andree has joined the channel [08:08] markwubben has joined the channel [08:08] jasonmog: can i include non-node.js javascript? [08:08] zilch has joined the channel [08:09] shinuza has joined the channel [08:11] jasonmog: i think so [08:11] zilch has joined the channel [08:13] iaincarsberg has joined the channel [08:15] SamuraiJack has joined the channel [08:15] zilch has joined the channel [08:17] dob_ has joined the channel [08:18] jasonmog: okay importing sencha touch isn't going to work in server-side javascript [08:18] meso__ has joined the channel [08:18] jasonmog: expects too many browser provided identifiers [08:19] zilch has joined the channel [08:20] newy has joined the channel [08:21] hwinkel has joined the channel [08:22] Esteb has joined the channel [08:22] zilch has joined the channel [08:24] yozgrahame has joined the channel [08:24] rio{ has joined the channel [08:26] hellp has joined the channel [08:26] zilch has joined the channel [08:27] damiano has joined the channel [08:27] damiano: hello everybody [08:28] damiano: i'm using nodemailer to send email (plain)...i also need to save the IP address of the email that the user sends [08:28] damiano: i do [08:28] damiano: body: text + '\n\n-------------------------\n' + 'IP: ' + req.socket.remoteAddress [08:28] damiano: \n\n <--- seems are not interpreted [08:28] tomb has joined the channel [08:28] damiano: what is wrong? [08:28] tristanseifert has joined the channel [08:29] TomY has joined the channel [08:29] zilch has joined the channel [08:32] zilch has joined the channel [08:33] markwubben has joined the channel [08:33] Nexxy has joined the channel [08:33] Sebastien-L has joined the channel [08:36] nickbruun has joined the channel [08:38] nickbruun has joined the channel [08:38] zilch has joined the channel [08:43] zilch has joined the channel [08:43] |Freeman| has joined the channel [08:43] blup has joined the channel [08:44] mc_greeny has joined the channel [08:45] meso__ has joined the channel [08:49] Polysics has joined the channel [08:49] Polysics: hello [08:49] Polysics: anyone using socket.io? [08:49] Polysics: i have an environment where the only allowed HTTP ports for traffic are 80 and 443 [08:49] Polysics: very restrictive proxy [08:49] zilch has joined the channel [08:49] Polysics: and was looking for a solution, maybe a reverse proxy? [08:52] Drakonite has joined the channel [08:53] meso has joined the channel [08:53] zilch has joined the channel [08:54] |Freeman|: Polysics: if your question is socket.io related you can ask on #socket.io if you didn't allready [08:54] Polysics: |Freeman|, sorry, i didn't think there was a channel for that [08:54] stbuehler has joined the channel [08:55] |Freeman|: Polysics: no problem, i was just saying one more place where you could find an answer [08:56] Polysics: i am seeing everywhere that the general consensus is not to reverse proxy node [08:56] beawesomeinstead has joined the channel [08:56] Polysics: but usually to use node AS the reverse proxy [08:57] hekkwan has joined the channel [08:57] zilch has joined the channel [08:58] philippkueng has joined the channel [09:00] StepanKuzmin has joined the channel [09:00] [AD]Turbo has joined the channel [09:01] dSebastien has joined the channel [09:01] markwubben has joined the channel [09:02] chunhao has joined the channel [09:02] zilch has joined the channel [09:03] mehlah has joined the channel [09:05] philippk_ has joined the channel [09:07] zilch has joined the channel [09:08] pickels has joined the channel [09:09] theCode has joined the channel [09:10] theCode: any reviews of node_redis? [09:10] zilch has joined the channel [09:10] astropirate has joined the channel [09:10] hekkwan has joined the channel [09:12] bzinger has joined the channel [09:12] sgimeno has joined the channel [09:13] zilch has joined the channel [09:16] fangel has joined the channel [09:17] zilch has joined the channel [09:17] jetienne has joined the channel [09:22] damiano: body: text + '\n\n-------------------------\n' + 'IP: ' + req.socket.remoteAddress [09:22] damiano: \n\n <--- seems are not interpreted [09:22] damiano: i'm using nodemailer to send email (plain) [09:22] damiano: do i have to use " instead of ' [09:22] damiano: ? [09:23] tim_smart has joined the channel [09:23] zilch has joined the channel [09:23] altamic has joined the channel [09:23] JakeyChan_ has joined the channel [09:23] tomb| has joined the channel [09:25] daglees has joined the channel [09:26] mikl has joined the channel [09:26] mikl has joined the channel [09:26] zilch has joined the channel [09:27] Swizec has joined the channel [09:29] zilch has joined the channel [09:29] blax has joined the channel [09:30] hekkwan: Hi all, Im building a SMS gateway on Node, and one of the requirements is to create filters that detect abuse of the service before processing inbound SMS. I have built a object that represents the message, and I want to chain functions together that get called on the object before it gets processed. The trick is that the Sequalize node module uses callbacks (obviously) for non-blocking IO, so I think there wont be a way to control the flow [09:30] hekkwan: of the chain. Is my idea just not the right way to approach this kind of problem in Node? [09:30] dnjaramba has joined the channel [09:30] infynyxx has joined the channel [09:33] Clex: hekkwan: how is asynchronism a problem? [09:33] jetienne_ has joined the channel [09:34] abraxas has joined the channel [09:35] digitalsabre has joined the channel [09:35] robhawkes has joined the channel [09:36] kulor-uk has joined the channel [09:37] mscdex: damiano: maybe try the emailjs module [09:37] blax: hi there, could anyone suggest quick and right way to do mixed http and https support without too much code duplication (i want same routes to be available through both protocols, only some of them limited to https)? [09:37] losing has joined the channel [09:37] mscdex: blax: easy, just write your event handlers as named functions instead of anonymous and have the http and https servers use the same functions [09:37] damiano: mscdex, is not a " --> ' problem? [09:38] mscdex: damiano: never use nodemailer, so i don't know [09:38] mscdex: er [09:38] mscdex: *i've never used nodemailer [09:39] Kami_ has joined the channel [09:39] damiano: ok [09:39] damiano: i will look at emailjs module [09:39] andrewfff has joined the channel [09:41] __doc__ has joined the channel [09:42] blax: mscdex: but if I want to use express, that means I still have to bind every single handler to every route two times using get function? [09:42] blax: mscdex: or am I missing something obvious [09:43] hwinkel has joined the channel [09:43] jetienne: hi [09:43] tbassetto has joined the channel [09:45] mpavel has joined the channel [09:46] sebastianedwards has joined the channel [09:47] mscdex: blax: here's one way: https://gist.github.com/1051583 [09:47] JakeyChan has joined the channel [09:47] blax: mscdex: thanks a lot! [09:47] Poetro has joined the channel [09:47] Poetro has joined the channel [09:48] mscdex: blax: and fwiw here's the related github issue: https://github.com/visionmedia/express/issues/617 [09:48] zilch has joined the channel [09:48] stonebranch has joined the channel [09:50] zilch has joined the channel [09:50] sebastianedwards: Hi guys. I'm kind of new to the async way of thinking. I'm running into an issue where I have a method which gives out auto-incrementing ID's but I'm finding that I'm getting giving duplicate ID's if I ask for a few at once. I sort of understand why it is happening but not sure what to do about it. [09:52] infynyxx1 has joined the channel [09:52] TheJH has joined the channel [09:52] TheJH has joined the channel [09:52] Kami_ has joined the channel [09:52] garrensmith: sebastianedwards: what is your question? [09:52] bnoordhuis has joined the channel [09:53] zilch has joined the channel [09:53] JakeyChan_ has joined the channel [09:53] shapeshe1 has joined the channel [09:54] sebastianedwards: garrensmith: how can I make sure the method is called sequentially and unique ID's are given? [09:55] garrensmith: could I see some code as an example of what your problem is [09:55] trotter has joined the channel [09:55] balupton has joined the channel [09:55] TheJH: ryah, in case you're here, what do you think about putting "If you have questions about your code, gist it" or so in the topic? [09:57] hekkwan has joined the channel [09:58] fangel has joined the channel [09:58] zilch has joined the channel [09:59] temp01 has joined the channel [09:59] dSebastien has left the channel [09:59] iivvoo has joined the channel [10:00] iivvoo: hi [10:00] robotmay has joined the channel [10:00] cypres has joined the channel [10:01] robotmay has left the channel [10:02] andreyvit has joined the channel [10:02] zilch has joined the channel [10:02] robotmay has joined the channel [10:04] metamind has joined the channel [10:04] tristanseifert has joined the channel [10:04] andreyvit: Hey. Any v8 gurus here? I'm running out of memory trying to process a bunch of Apache files. I've stripped down my example to a few lines, which fail consistently on my MacBook Pro (with 8 Gb of RAM). Here: https://gist.github.com/1148761 [10:05] japj: I think currently there is a 1Gb max v8 limit [10:06] andreyvit: Heap max of 1 Gb would be consistent with the experiment, but it's crazy. Do you know of any way to raise it? [10:06] zilch has joined the channel [10:07] bnoordhuis: andreyvit: play around with --max_old_space_size=x where x is a value in MBs [10:07] japj: see also http://code.google.com/p/v8/issues/detail?id=847 [10:07] bnoordhuis: andreyvit: there are still some other hard limits in effect though [10:08] andreyvit: Thanks guys. [10:09] zilch has joined the channel [10:11] bbrandon has joined the channel [10:12] sebastianedwards: okay here it is: https://gist.github.com/1148778 [10:12] zilch has joined the channel [10:12] sebastianedwards: it's in coffeescript and has a bit of zeromq noise around it but hopefully is clear enough [10:13] zorzar: is anybody aware of a postgres library for node that is capable of doing stored procedures? [10:14] sebastianedwards: my issue is I have multiple processes calling getNewID though handleMessage at the same time. I'm ending up with duplicate ID's and am not sure why [10:15] zilch has joined the channel [10:15] sebastianedwards: Shouldn't the single-threaded nature of node prevent this? [10:16] ttpva has joined the channel [10:17] zilch has joined the channel [10:17] losing has joined the channel [10:18] andreyvit: Looks like 1.2 Gb is the maximum I can squeeze out of Node. Very sad. Thanks again for your help. [10:18] blueadept: anyone here use postgres with node? [10:20] Abacab: I was going to ask how people use node [10:20] Abacab: I mean - all respect [10:20] Abacab: but to understand - what IS the big deal ? [10:20] Abacab: async socket handling ? [10:20] zilch has joined the channel [10:20] Abacab: I am missing something probable. [10:20] Abacab: probably. [10:21] blueadept: it's actually not a bad function language [10:21] Abacab: SURE is a lot of interesting. [10:21] Abacab: er, interest in it. [10:21] blueadept: closures [10:21] Abacab: how is it used, and where ? [10:21] jetienne has joined the channel [10:21] blueadept: it's also highly optimized with the v8 engine [10:22] blueadept: really fast [10:22] iivvoo: hi.. if I understand correctly, the common way to deploy node.js with apache is to use some sort of proxying and run/manage the node process separately (eg using supervisor)? [10:22] hekkwan has joined the channel [10:22] iivvoo: no mod_wsgi / mod_passenger like thingies [10:22] dfsfdf has joined the channel [10:22] jomoho has joined the channel [10:22] jetienne: iivvoo: correct [10:22] Abacab: well [10:22] Abacab: if anyone wants to [10:22] blueadept: livvoo: yeah i use https://github.com/nodejitsu/node-http-proxy [10:22] Abacab: what would be a real world situation [10:23] garrensmith: Abacab: have you tried it yourself? [10:23] Abacab: where someone goes 'the solution is node.js' [10:23] seivan has joined the channel [10:23] Abacab: I'm not anti-node [10:23] Abacab: just trying to get my arms around what it's about [10:23] Abacab: or why it's so attractive- and it seems to be [10:23] blueadept: it's just a programming language [10:23] Abacab: something about async io [10:23] blueadept: i would try to make something [10:23] Abacab: oh, it's a language ok - [10:23] Abacab: I thought it was a javascript library [10:23] Abacab: for async io [10:23] blakmatrix has joined the channel [10:23] jetienne: Abacab: code it for a day, this will give you a better answer [10:23] Abacab: for js [10:24] Abacab: primarily wbe based. [10:24] iivvoo: it's like twisted for javascript, sorta, am I right? [10:24] framlin: Abacab: if you want to use the same prog-language for web-client and web-server .... -> NODEJS [10:24] iivvoo: if that means anything to you [10:24] blueadept: well [10:24] zilch has joined the channel [10:24] garrensmith: sebastianedwards: no idea it should just work. How are you running that code [10:24] blueadept: ok, it's javascript [10:24] blueadept: thats the language [10:24] blueadept: but it's server side [10:24] Abacab: well still though [10:24] Abacab: what does it do in a real world server scenario ? [10:24] jetienne: no real world [10:24] framlin: Abacab: Jav [10:24] Abacab: and again - ALL respect- just asking... to understand better. [10:24] iivvoo: right, and that's special - you can do js on client and server [10:25] framlin: JavaScript ... for both [10:25] blueadept: you can make a lighweight servers very easily [10:25] garrensmith: Abacab: probably best to try it and then see [10:25] jetienne: Abacab: real world is php [10:25] Abacab: I'm not getting an answer yet - but that's okay [10:25] Abacab: real world is NOT php [10:25] Abacab: I will not- and do not use php [10:25] jetienne: Abacab: go out and check [10:25] Abacab: I want freedom FROM php [10:25] Abacab: php to me is a hack [10:25] jetienne: Abacab: or better go code something [10:25] iivvoo: javascript is a hack :) [10:25] jetienne: iivvoo: this is true :) http://wtfjs.org [10:26] Abacab: but - is node.js something that I could use OTHER than php ? or say- asp ? or asp.net ? [10:26] framlin: Abacab: If you highliy distributed system with diffrent kinds of "server" tcp, socket, http, telnet .... -> nodejs [10:26] Abacab: or some cgi solution ? PERL based etc? [10:26] jetienne: Abacab: not really [10:26] Abacab: framlin - you are closest perhaps - that's kind of what I thought. [10:26] blueadept: Abacab: http://www.quora.com/Node-js/What-companies-are-using-Node-js-in-production [10:26] Abacab: was just looking to nail what it is and what it isn't [10:26] framlin: Abacab: nodejs is optimized fpr networking [10:26] Abacab: thank you blue [10:26] blueadept: thats a decent list of some companies using node exclusively [10:26] Abacab: I will explore that link [10:26] Abacab: and I think I'll get my answer [10:27] mike5w3c has joined the channel [10:27] zilch has joined the channel [10:27] jetienne: more seriously the stability of the library prevent serious usage, as in i want it to still run in 3years [10:27] jbpros_ has joined the channel [10:27] Abacab: I WOULD love a real world example though [10:27] Abacab: of when someone would say- ah- node.js is what we want OVER X, Y or Z [10:27] jetienne: Abacab: what is the real world you keep talking about [10:27] framlin: http may be called a "first class prototcoll" for nodejs, but netrworking in general and passing/piping data from net-node to net-node ist THE node-feature .... if you like JavaScript ... ;) [10:27] Abacab: jet- lol [10:28] jetienne: Abacab: i was serious [10:28] blueadept: Abacab: here's a cool realtime aution dashboard written all in node: http://labs.metamx.com/ [10:28] Abacab: no lol Jet- I mean production environment [10:28] Abacab: if you didn't make that jump [10:28] blueadept: i'm working on something like this [10:28] Abacab: least I didn't say unreal world [10:28] Abacab: but I suppose I didn imply - and introduce a polarity [10:28] arpunk has joined the channel [10:28] jetienne: Abacab: node == super hard to find good dev + bad doc + very few libraries [10:28] blueadept: anyone here using postgres for node, i have a question about inserting huge statements for schema creation [10:29] framlin: Abacab: and with node comes a "new paradigm" non-blocking-async-evet-driven-architcture [10:29] Abacab: I mean, you EXPLICITLY say 'real world' you IMPLY - some unreal world exists. [10:29] jetienne: Abacab: my advice is dont use it :) [10:29] jetienne: much easier to find dev in ruby/php than javascript. [10:29] blueadept: well here's the thing, with other languages, it's hard to find libs that are written in a non-blocking fashion [10:29] Abacab: framlin - I DO get the event driven aspect - inherited from js [10:29] Abacab: thanks for sharing that insight though [10:29] jetienne: so not production ready [10:29] blueadept: with node, everything is non-blocking [10:29] zilch has joined the channel [10:30] jetienne has left the channel [10:30] Abacab: so, node is heavily connected to 'non blocking' [10:30] blueadept: well yeah [10:30] Abacab: I DID see Ryan's google tech talk [10:30] bicranial has joined the channel [10:30] Abacab: was neat to see someone use the term 'asshole' in a public conference. [10:30] framlin: Abacab: yes, so you know it from the browser - or maybe, from other systems like Delphi was in earlier days; [10:30] blueadept: you dont have to wait for operations to finish to go on to the next piece of code [10:30] Abacab: but it worked- all geek in Ryal aside. [10:30] blueadept: which is create for lots of highly concurrent connections and such [10:30] blueadept: create*great [10:31] framlin: Abacab: but with node, you may take this architecture/pardigm and move it to the server [10:31] Abacab: so's0rs- asynch is a critical piece of node. ok [10:31] Abacab: real world - er, production environment [10:31] Abacab: when might I use that ? [10:31] Abacab: simple page requests ? [10:31] blueadept: its the style of how you write the code [10:31] Abacab: SOUNDS like node can help me skip php [10:31] Abacab: and go server side js [10:31] framlin: you may build a system of nodes, that solve problems in a distributed way and communicate over tcp/ip to "syncronize" their async tasks vie events [10:31] blueadept: its the nature of a functional language like javascript [10:32] Abacab: framlin - thanks [10:32] Abacab: that helped [10:32] blueadept: yeah it's event driven programming [10:32] Abacab: so, it's event oriented programming [10:32] Abacab: er, oh - blueadept already said that [10:32] Abacab: ok [10:32] Abacab: but the focus is server side [10:32] Abacab: now, what about node.js on client side ? [10:32] zilch has joined the channel [10:32] Abacab: or is not much making sense ? [10:33] Abacab: when I see .js I think - package or library - is node 'just' that ? a library ? [10:33] Abacab: sounds like in essence- it's some async wrapper [10:33] Abacab: but for what types of i/o ? [10:33] framlin: event-driven object-functional oriented programming ... [10:33] blueadept: ^ [10:33] Abacab: or does node is essence provide some framework for event handling ? [10:33] Abacab: to make it easier [10:34] framlin: nodejs on the client would be like using chrome without any sandbox ;) [10:34] Abacab: kind like - say JQuery does for GUI [10:34] blueadept: yeah people write npm's, or node libs, that deal with specific types of events you want to do [10:34] blueadept: like express helps with http requesting [10:34] Abacab: I have to digest that one framlin - it will stick with me for weeks [10:34] Abacab: well thank you [10:34] Abacab: for insights - I'm closer [10:34] Abacab: n00b [10:34] Abacab: here [10:35] blueadept: Abacab: https://github.com/joyent/node/wiki/modules [10:35] Abacab: I'd say framlin and blue put it well [10:35] blueadept: that list of modules contains all the popular libs that people use in conjuction with node [10:35] zilch has joined the channel [10:35] dfsfdf: i'd like to see a browser written in js :) [10:36] SubStack: more comprehensive node modules list: http://search.npmjs.org [10:36] blueadept: ^ that too [10:36] Abacab: blue- that's the answer [10:36] Abacab: thanks [10:36] Abacab: I'm scouring that page- [10:36] Abacab: under SMTP - I see 'full server' etc - ok ok [10:36] Abacab: that link shows enough real world uses [10:37] blueadept: there just like ruby gems more or less [10:37] framlin: dfsfdf: what I would like to see is a text-oriented browser (like lynx) that is able to eval JavaScript to be able to let "modern" sites runing via console. that should be possible with nodejs [10:37] Abacab: I'm STILL a little blury on what's 'node' centric' [10:37] Abacab: I guess it uses a piece of code that's 'node.js' ? [10:37] Abacab: and that core piece ? [10:37] Abacab: is code that wraps async event handling ? [10:37] zilch has joined the channel [10:37] Abacab: in a useful manner ? [10:37] CStumph has joined the channel [10:37] Abacab: am I 20% close there ? or 80% ? [10:38] dfsfdf: framlin: interesting idea [10:38] blueadept: 80% [10:38] mfussy has joined the channel [10:38] Abacab: ok - great- [10:38] Abacab: you're probably privately thinking - more like 53% pal ! [10:38] Abacab: jk jk [10:38] blueadept: hey i'd just start go makign something [10:38] blueadept: like whatever it might be [10:39] blueadept: i like node because of the programming style [10:39] Abacab: hmm- I came into the www with lynx from VMS [10:39] blueadept: some people dont like that, and use ruby or python [10:39] Abacab: reading framlin's comment [10:39] blueadept: i'm just glad there's a way to program on the server side using a function type language with as much as support as node has right now [10:39] zilch has joined the channel [10:39] Abacab: ah [10:39] Abacab: I see [10:39] Abacab: so bye bye php- bye bye asp / asp.net perl cgi [10:40] Abacab: hello server side js [10:40] Abacab: why does node seem to have cornered that ? [10:40] blueadept: yeah i think windows just got support actually [10:40] Abacab: why isn't it just called server side js ? [10:40] blueadept: so we're going to start to see more former asp programmingers moving to node perhaps [10:40] Abacab: OI [10:40] blueadept: there's been other server side javascript [10:40] blueadept: but they never did really well [10:40] Abacab: I'm a former asp developer - lol [10:40] Abacab: I WAS happy with the five base objects I had to work with [10:41] blueadept: node.js is the first servier side javascript language to catch on [10:41] Abacab: I WAS happy with ISAPI mapping. [10:41] Abacab: blue- that's just it though [10:41] Abacab: I am not sure to call it a language [10:41] Abacab: just a package [10:41] Abacab: or library [10:41] Abacab: seems it USES js [10:42] dfsfdf: so what's the single most important advance that led to node? v8? libevent? a new philosophy? [10:42] Abacab: but -is a base class library for asycn i/o [10:42] blueadept: v8 was huge i think [10:42] blueadept: plus more and more people are writing real-time applications [10:42] Abacab: I don't see how v8 comes into node [10:42] Abacab: v8 is v8 [10:42] Abacab: and v8 was in of itself - a great success I think [10:42] Abacab: but I'm not sure how node inherits any glamour from v8 [10:43] Abacab: would be to short the functionality of node [10:43] Abacab: and that brings me BACK to my original questions [10:43] Abacab: what IS IT about node [10:43] blueadept: i know but it's javascript -> machine code [10:43] Abacab: that makes it so attractive ? [10:43] Abacab: that wasn't out there already ? [10:43] Abacab: oh, I don't want to get into v8 JIT etc. [10:43] dfsfdf: imo it's a compelling combination of ideas that were out there already [10:43] Abacab: but - I just am curious about what it IS about node [10:43] Abacab: that makes it [10:44] Abacab: quite literally- that makes it [10:44] blueadept: like i said, make some stuff and see how you like it. i've found myself building most of all my new projects in node [10:44] Abacab: I COULD predicate with 'makes it what it is' [10:44] iivvoo: abacab: first of all, its the hype in general, that cannot be always explained. I think [10:44] Abacab: blue- so - you're saying - node will provide me with a framework [10:44] iivvoo: also, serverside async javascript. It's something new but also well known [10:44] Abacab: LIKE ASP [10:44] iivvoo: people already know javascript [10:44] Abacab: that I can accomplish server side issues [10:44] Abacab: http etc [10:44] Abacab: all with node ? [10:44] blueadept: abacab: people have built lightweight frameworks for all sorts of things using node.js [10:44] benvds has joined the channel [10:45] iivvoo: node.js can't do anything other systems can't either - it's all turing complete systems [10:45] Abacab: I may have just passed the 80% mark ! [10:45] iivvoo: it's just the way how to do it [10:45] zilch has joined the channel [10:45] blueadept: ^ [10:45] Abacab: how 'alive' is node ? [10:45] Abacab: does the framework grow ? [10:45] Abacab: will it 'be' ? [10:45] Abacab: or is it a fluke that will die ? [10:45] blueadept: there's a lot of people in this channel as you can see [10:46] Abacab: SOUNDS like it will or can replace php [10:46] blueadept: 600 is the average per day, everyday [10:46] Abacab: good point there - 619 lol [10:46] SubStack: every language dies eventually [10:46] blueadept: and there are a lot of prolific contributors [10:46] Abacab: SubStack - well- true [10:46] Abacab: that's something Crockford would say lol [10:46] SubStack: every corporation, every person, every great work of literature [10:46] blueadept: i'm sure in 5 or 10 years another language will come along. but right now javascript is getting a lot of support [10:47] blueadept: abacab: http://expressjs.com/ [10:47] blueadept: take a look at that framework for http functions [10:47] zilch has joined the channel [10:47] blueadept: its something i use a lot in most of all my projects, but its a lightweight way of building http servers for instance [10:48] framlin: Abacab: I can only tell it for me. I code JS as my daily languange on large FAt-Clients (XUL/JS). Now there is a simple to use "application-server" that runs on linux and gives me access to the whole system using my alldays favourite language JavaScript [10:48] fyskij has joined the channel [10:48] mfussy has left the channel [10:49] framlin: so I do not have to go to the shelf looking for my perl-cookbook or remember my Java-knowledge to do som little things on my machine [10:49] blueadept: node.js has also other great projects building on it, like nowjs for instance [10:50] maushu has joined the channel [10:50] blueadept: which is a great way of doing remote functions from client to server [10:50] framlin: before nodejs I used a mix of awk, sed, perl php scripts to do that thnings, now I use nodejs becaus it gives me acces to the system and JavaScript [10:50] maushu: I have news! [10:50] igl: give news! [10:50] maushu: I was able to interpret the first package of the ssh protocol! Yay! [10:50] guybrush_ has joined the channel [10:50] maushu: The first of many... the first of many... [10:50] igl: ..and in sports? [10:50] SubStack: MaSch: package? [10:51] SubStack: *maushu [10:51] maushu: SubStack, the key exchange one. [10:51] SubStack: you got diffie-helman working? [10:51] SubStack: *hellman [10:51] coffeecup has joined the channel [10:51] maushu: No, I still haven't answered it. [10:51] SubStack: oh [10:51] maushu: Besides, isn't crypto going to help me there? [10:51] SubStack: maushu: check out how far I got: https://github.com/substack/node-ssh-server [10:52] SubStack: and https://github.com/substack/node-ssh [10:52] SubStack: only the server side of things however [10:52] maushu: http://nodejs.org/docs/v0.5.4/api/crypto.html#diffieHellman.generateKeys [10:52] blueadept: nice [10:52] blueadept: i might use this [10:52] mehtryx has joined the channel [10:52] maushu: blueadept, it doesn't work. :p [10:52] blueadept: ahshiz [10:52] kriszyp has joined the channel [10:52] maushu: SubStack, I'm trying to go pure javascript. [10:53] SubStack: hey when did node yet those‽ [10:53] SubStack: maushu: node-ssh-server is pure javascript save the bigint stuff [10:53] maushu: You need to pay attention to changelog! [10:53] maushu: SubStack, huh, what about libssh? [10:53] blup: anyone experienced with bin packing algorithms? [10:54] noder1 has joined the channel [10:54] noder1: hello [10:55] noder1: anyone here using nodemailer to send emails ? trying to make an email form to send emails with attachments from web [10:55] noder1: formidable gets the file uploads nicely, but nodemailer expects Buffer in attachment list [10:55] noder1: and formidable only gives a File with a WritableStream attached.. [10:56] maushu: http://pastebin.com/raw.php?i=7gGyL77d [10:56] maushu: ahahahahaha [10:56] noder1: what's the easiest way to solve this? (thought of hacking formidable to open a ReadableStream at the same time, but then need to convert the Stream into Buffer) [10:56] cl0udy has joined the channel [10:56] cl0udy: express comes with http://expressjs.com/guide.html#route-param pre-conditions right? [10:57] cl0udy: then whats express-params for? https://github.com/visionmedia/express-params [10:57] cl0udy: is it for additional regexp? [10:58] meso has joined the channel [10:59] bbrandon has left the channel [10:59] [[zz]] has joined the channel [10:59] hekkwan has joined the channel [11:03] Abacab: so, wish MS ASP - this ISAPI is built in - but with node.js ? I put node.js on the server ? [11:03] Abacab: and it's similar ? [11:03] Abacab: I can start to handle requests and responses ? [11:03] Abacab: using node.js ? is that a big part of it ? [11:03] Abacab: that it's a server side 'handling' solution for a web server ? [11:03] Abacab: I am guessing I'm 90% on that one [11:04] Abacab: but just asking that general question [11:04] Abacab: and btw- Substack- very neat you chimed in there- I consider you to be one of the ones that gets many things ! [11:04] Abacab: I know you from that virtual OS chan [11:04] Abacab: #stackvm I think it is [11:04] framlin: Abacab: developing an static-webserver with nodejs is a about 20 lines progrmm [11:04] Abacab: and THAT stuff is damned neat [11:05] igl: just watch this first http://www.youtube.com/watch?v=jo_B4LTHi3I [11:05] Abacab: framlin- if you put it THAT way- ok [11:05] AAA_awright: Abacab: Perhaps the most entertaining talk I've seen is Linus's Git talk [11:05] framlin: AAA_awright: thats right! [11:06] Abacab: I JUST made that youtube video my start page. [11:06] Abacab: why do you say that about Linus ? [11:06] framlin: "I thought I could do that much better in two weeks and I did it" ;) [11:06] Abacab: and his GIT talk ? [11:06] emattias_ has joined the channel [11:06] Abacab: to me - GIThub is a great portal to great intellectual offerings. [11:06] AAA_awright: Only two people in the world have egos the size of the universe AND can pull it off, Linus Torvalds and Zaphoid Beeblebrox. And the latter isn't even a real person. [11:06] Abacab: so community oriented. [11:07] AAA_awright: Or even human. [11:07] Abacab: I never did get far in that text adventure [11:07] Abacab: I managed to put the fish in the slot [11:07] Abacab: some robot would come along - Zaphod [11:07] Abacab: :) - but I don't join you on Linus with ego [11:07] Abacab: SCO ripoff artist at best ? [11:07] ablomen: AAA_awright, are we sure Linus is human? [11:08] zilch has joined the channel [11:08] Abacab: he merely reported SCO [11:08] Abacab: in my view [11:08] Abacab: er, re-ported [11:08] AAA_awright: Now that you mention it, I don't know of any other "humans" who write perfect code the first time through [11:08] Abacab: but didn't nearly come as close to the hard work for those that put UNIX together [11:08] Abacab: AAA_Wright- Douglad Crockford shares no one has ever put forth even a legal html document [11:08] Abacab: first try [11:09] Abacab: I did actually code in COBOL once and have it compile first time- lol - SCARY SPUD there- [11:09] AAA_awright: Abacab: HTTP is just one protocol that Node.js implements because it's so widely used, the essence of Node.js is also it's motto: Evented I/O [11:09] Abacab: I'm amazing there is ALWAYS human error involved. My case - it's USUALLY syntactically - not logic. [11:09] Abacab: but those logic errors are harder to track indeed. [11:09] Abacab: only with experience does one make progress there I think. [11:09] jarek has joined the channel [11:09] jarek has joined the channel [11:10] maushu_ has joined the channel [11:10] Abacab: and these days- with multiple processors - parallel loops etc... gets even tougher. [11:10] Abacab: alas some attraction TO the event driven model- perhaps it's the only SANE approach. [11:10] Abacab: events - callbacks - leave it at that. [11:10] Abacab: well- safer. [11:11] Abacab: no racing issues if done well. [11:11] Renegade001 has joined the channel [11:11] Xano has joined the channel [11:11] rio{ has joined the channel [11:11] Abacab: all to at BEST model the human intellect responsible for the entire collective of bugs I suppose in the end. [11:11] Abacab: makes me wonder if we are bug inherent ! as a species. lol [11:11] zilch has joined the channel [11:11] Abacab: could explain nuclear weapons. ? [11:12] Abacab: or at worst - indifferentness to draw need or wanton to use nuclear weapons. [11:12] AAA_awright: Race conditions are just hard to mistakenly do because you can know exactly how many callbacks are being waited on [11:12] Abacab: wrong chan - ok ok [11:12] Abacab: AAA- right right- new requirements in proper design necessary. [11:12] bicranial_ has joined the channel [11:12] Abacab: for i=1 to 10 - no longer can we count on i being 5 before 2 [11:12] AAA_awright: Abacab: You can tab-complete my nickname you know [11:13] Abacab: AAA- lol- yes, I know, a flaw in my first use of IRC 1987 out of Helsinki ways. [11:13] Abacab: well IRC 1459 - IN 1987 I mean - heh.. [11:13] AAA_awright: Mine's like the easiest one to tab complete, , , move one key over [11:13] Abacab: GREAT support here to offer up how node.js is used, what it is- thanks everyone. [11:14] Abacab: ok ok AAA- hear ya. [11:14] zilch has joined the channel [11:14] AAA_awright: :p [11:14] Abacab: alright I'll do it AAA_awright ! [11:14] Abacab: tabbed that one ! [11:14] Abacab: just a bad habit I don't do that. [11:15] AAA_awright: Well gnight #node.js [11:15] Abacab: before realzing the bonus of event driven JS - I was living in a small world with Eric and Guy from Fortress dev. :) [11:16] meso_ has joined the channel [11:18] Abacab: I get an email a week from Guy -ZERO from Douglas- and in his old age- I'd consider things complete if I was part of Whitfields life ! lol -I think at a global political level - Whitfield Diffie is underread- underrated- and I'm sure the US NSA wished he never came about. [11:18] Abacab: On that - I am with AAA_awright (TABBED) - [11:19] Abacab: checking out. thanks everyone for spelling out what node.js - isn't - how it's used etc. [11:19] Abacab: just a lost old timer ! [11:19] Abacab: wish you the best in your careers - no doubt - most of you are pretty damned talented. [11:19] Abacab has left the channel [11:20] scott_gonzalez has joined the channel [11:20] zilch has joined the channel [11:21] chia has joined the channel [11:24] Fabryz has joined the channel [11:24] Fabryz: heya, where do I find all the format parameters of express.logger? [11:24] kriszyp has joined the channel [11:24] cosmincx has joined the channel [11:24] tomb has joined the channel [11:25] zilch has joined the channel [11:25] temp01 has joined the channel [11:27] eyesUnclouded has joined the channel [11:28] zilch has joined the channel [11:31] eee_c has joined the channel [11:32] zilch has joined the channel [11:32] emattias has joined the channel [11:33] bripkens has joined the channel [11:35] JoshC1 has joined the channel [11:36] zilch has joined the channel [11:37] Fabryz: found http://senchalabs.github.com/connect/middleware-logger.html [11:38] louissmit has joined the channel [11:39] pickels has joined the channel [11:39] zilch has joined the channel [11:41] justinTNT has joined the channel [11:42] zilch has joined the channel [11:46] daithi44 has joined the channel [11:46] azeroth_ has joined the channel [11:46] zilch has joined the channel [11:49] zilch has joined the channel [11:50] aheckmann has joined the channel [11:51] matomesc has joined the channel [11:52] bicranial__ has joined the channel [11:55] brianseeders has joined the channel [11:57] depywork: Node.js seems to grow really quick.. there's almost one new library a day.. :) [11:57] andree has joined the channel [11:58] zilch has joined the channel [11:59] TheJH: ugh... just thought, "if the JS in the node binary was minified, node would maybe startup faster..." WRONG. maybe because of automatic semicolon insertion or so. 46ms -> 53ms (1000 times average) :( [11:59] SubStack: depywork: there are about 10 new libraries each day [11:59] SubStack: and about 100 updates to existing libraries [11:59] TheJH: hehe [12:00] astropirate: I write javascript for a living :S never thought that would happen :p [12:00] TheJH: do you guys think it would be possible to include precompiled JS or so in the node binary? [12:00] zilch has joined the channel [12:01] TheJH: if writing the code in a different way (uglify) increases startup time by 15% (!), precompiled JS should reduce it dramatically [12:01] descipher_ has joined the channel [12:02] versicolor has joined the channel [12:02] zilch has joined the channel [12:03] kulor-uk has joined the channel [12:03] astropirate: TheJH, Node uses V8. V8 uses a Just In Time compiler. my knowlage in this area is limited. But it examines the code and compiles the code the most efficient way depending on how its being used [12:03] astropirate: so I don't think precompiled code would work the way it works with PHP [12:04] TheJH: Astro, I think that v8 will first compile the code and then apply optimizations later (but I could well be wrong, I don't know how it actually works) [12:05] astropirate: TheJH, http://www.youtube.com/watch?v=hWhMKalEicY [12:05] piscisaureus has joined the channel [12:05] goshakkk has joined the channel [12:05] indutny has joined the channel [12:06] jtrudeau has joined the channel [12:06] zilch has joined the channel [12:07] framlin: TheJH: as far as I know is crankshaft an optimizing compiler [12:08] zilch has joined the channel [12:09] zilch has joined the channel [12:12] Fabryz: to remove a module I already have under node_modules, can I "rm -rF blabla" or there's some sort of npm uninstall? [12:13] zilch has joined the channel [12:13] depywork: Is v8 + node.js faster than apache + php? [12:13] Astro: of course it is :-) [12:13] TheJH: Fabryz, just rm -rf it [12:13] depywork: I know it has better troughput, how about execution? [12:14] TheJH: depywork, php recompiles your code on every page access, I think [12:14] Astro: it executes well :-) [12:14] Fabryz: depywork http://www.slideshare.net/marcgear/server-side-scripting-smack-down-nodejs-vs-php [12:15] Fabryz: npm uninstall worked fine [12:15] misterm: TheJH: I don't think it's quite that bad, though I think it depends on what you're using [12:15] cccaldas has joined the channel [12:16] misterm: TheJH: I'm pretty sure PHP has bytecode caching, though I don't know if it's pn by default or what [12:16] okuryu has joined the channel [12:17] zilch has joined the channel [12:17] TheJH: misterm, akaik, facebook wrote a bytecode cacher, but it's not included in a standard php installation [12:17] dfsfdf: you can get opcode caching with php with an extension [12:17] dfsfdf: e.g. eaccelerator going for years [12:17] misterm: TheJH: hm maybe, I don't really use PHP much [12:17] TheJH: misterm, me neither [12:18] postwait has joined the channel [12:18] chjj: oh, v8 implemented typeof null === 'null' with a harmony flag [12:19] chjj: cool [12:19] pickels has joined the channel [12:19] misterm: fun [12:19] rio{: whats a harmony flag? =) sounds fun [12:20] tbranyen: did they fix typeof /d/ === 'function' yet [12:20] chjj: im not sure, the v8 commit is kind of vague [12:20] rio{: sounds like something used in a gay parade [12:20] tbranyen: its a build flag for v8 [12:20] chjj: tbranyen: regexes *are* functions! :) [12:20] misterm: I think it's a compile flag [12:20] tuhoojabotti: .. typeof /d/ [12:20] catb0t: 'function' [12:20] tuhoojabotti: :u [12:20] zilch has joined the channel [12:20] tbranyen: chjj: not according to spec and every other implementation [12:20] tuhoojabotti: interesting. [12:20] tbranyen: it was a mistake in v8 [12:20] chjj: im wondering though, if harmony is going to be breaking backward compatibility like that, what the hell are they going to do [12:20] tbranyen: and javascriptcore which has since been fixed [12:21] andree has joined the channel [12:21] chjj: so many scripts rely on typeof null === 'object' [12:21] Guest8043 has joined the channel [12:21] tbranyen: do they? [12:21] chjj: tbranyen: i know, but technically they are functions, theyre callable objects [12:21] materialdesigner has joined the channel [12:22] tbranyen: chjj: not in every implementation [12:22] tbranyen: afaik its just v8 now [12:22] asabil has joined the channel [12:22] tbranyen: i think that too was a misunderstanding of the spec [12:22] chjj: no, im pretty sure theyre callable, ive called regexes in IE before i think [12:23] misterm: chjj: I believe they plan to make harmony opt-in, I'm not sure if it's set how yet [12:23] tbranyen: callable in presto and v8, not in spidermonkey from my testing [12:23] chjj: yeah, i figured [12:23] misterm: chjj: I think maybe a script attribute, or maybe something similar to strict mode [12:23] chjj: if theyre going to break backward compat like that [12:23] chjj: they have to [12:23] eyesUnclouded has joined the channel [12:23] TheJH: argh, I'm stupid. misread the output of my performance test. uglified JS is faster, not slower. [12:24] chjj: script attribute would be terrible [12:24] thalll has joined the channel [12:24] zilch has joined the channel [12:24] misterm: chjj: my guess is that would be optional, I don't think they'd rely just on that [12:24] pquerna has joined the channel [12:25] misterm: if they do it at all I mean, I know it's something that was discussed, but honestly I haven't followed that aspect much [12:25] bentruyman has joined the channel [12:25] kriss has joined the channel [12:25] bradleymeck has joined the channel [12:26] cypres has joined the channel [12:26] chjj: i dont think theres any way it will be a script attribute, html doesnt have to be JS' host language [12:26] chjj: if thats the case something went wrong there [12:26] visnup has joined the channel [12:27] Kami_ has joined the channel [12:28] chjj: hm, apparently weakmaps were slightly broken [12:28] chjj: damn, i wanted to try writing something with them, because i can [12:28] misterm: chjj: well like I said, I think if they did do it it would be one option for setting harmony compat, I'm pretty sure the idea was floated, I don't recall how seriously it was taken, I haven't been following harmony too closely [12:28] zilch has joined the channel [12:28] daithi44 has joined the channel [12:29] chjj: well it would also mean they would have to bring the proposal before the whatwg [12:29] scas has joined the channel [12:29] chjj: they cant just add an attribute because they said so [12:29] yept has joined the channel [12:29] daithi44 has joined the channel [12:30] chjj: then wed have 3 standards organizations fighting over control of html, which would be interesting [12:30] misterm: the browser vendors set the whole script type="jscript" etc deal didn't they? [12:30] DennisRas has joined the channel [12:30] zilch has joined the channel [12:30] misterm: the haven't always been great about following the standards, but yea I'd agree it's not ideal [12:30] misterm: I'd much prefer "use harmony"; [12:31] chjj: oh, you mean a content type attr? yeah that would make more sense [12:31] chjj: type="application/ecmascript-harmony" [12:31] misterm: chjj: yea either mime type or perhaps a new script type etc [12:32] DennisRas: I've been using node and npm for a LONG time and that basically meant I had old versions. Now I want to update them and that failed badly so I decided to reinstall. Got node installed now but npm just wont install. getting errors every single time :/ any help here with npm or should I look elsewhere? (yes I did google for about 5 hours now) [12:32] chjj: well, if theyre doing that, i want them to get it right, i want them to go all the way and break backward compat like crazy [12:32] TheJH: DennisRas, gist your errors, please [12:32] DennisRas: gist a pastey? [12:32] chjj: if its going to be that big of a change [12:32] TheJH: !@DennisRas mem gist [12:32] jhbot: DennisRas, Gist is kind of a pastebin. Every paste is a git repo. https://gist.github.com/ [12:33] chjj: typeof null was a good change though [12:33] zilch has joined the channel [12:33] misterm: chjj: I like a lot of the ideas for harmony [12:33] CIA-65: libuv: 03Ben Noordhuis 07master * r358d89a 10/ Makefile : [12:33] CIA-65: libuv: build: fix build on systems where `ld --as-needed` is the default [12:33] CIA-65: libuv: Fixes unresolved symbol linker errors from -lm and -lrt. - http://bit.ly/nQcL6c [12:34] eee_c has joined the channel [12:35] chjj: though, i guess typeof null is actually pretty close to not breaking backward compatibility [12:35] chjj: but guaranteed it will for some things somewhere [12:35] hwinkel has joined the channel [12:36] misterm: You can bet for every little nook and cranny in JS somebody out there has a bit of code depending on it [12:36] chjj: well, in fact, i do [12:37] chjj: i wrote a json stringifier that absolutely depends on typeof null === 'object' [12:37] bripkens has joined the channel [12:37] zilch has joined the channel [12:37] DennisRas: TheJH: https://gist.github.com/1148970 (Error installing NPM with Cygwin) [12:37] chjj: it was just efficient to have all possible outcomes of typeof === 'object' under one conditional [12:38] chjj: so after that, just check if (!foo) return 'null'; [12:38] chjj: etc [12:38] Yoric has joined the channel [12:38] S1r10n has joined the channel [12:38] chjj: so thats one example in my own code i can think of off the top of my head [12:39] TheJH: DennisRas, can't help you with that, soory :( [12:39] chjj: as long as harmony doesnt hurt my precious v8, im okay with it [12:39] bicranial has joined the channel [12:39] DennisRas: TheJH: :( [12:39] chjj: as long as it doesnt inhibit performance at all [12:39] zilch has joined the channel [12:39] misterm: oh, it probably won't [12:39] DennisRas: TheJH: Know where I can get help? [12:40] fly-away has joined the channel [12:40] misterm: in fact it might help [12:40] JakeyChan has joined the channel [12:40] TheJH: DennisRas, look at http://github.com/isaacs/npm/issues , if your problem isn't there, file a new issue [12:41] hippich has joined the channel [12:41] fumanchu182 has joined the channel [12:41] zilch has joined the channel [12:42] bnoordhuis: chjj: talking about the latest changes in v8? [12:43] chjj: yeah [12:43] chjj: saw the weakmap fix, and the commit for typeof null === 'null' [12:43] DennisRas: TheJH: Actually found a similar issue (didn't last time I checked). hopefully getting a response soon [12:44] DennisRas: NPM just makes it easier to install modules aye? how do I install them manually? [12:44] DennisRas: just place them in node_modules? [12:45] chjj: bnoordhuis: did ArrayBuffers land in 0.5.4? [12:45] bnoordhuis: chjj: typed arrays? yes [12:45] TheJH: DennisRas, yes. but if the module has dependencies, you have to download them in node_modules/someModule/node_modules [12:45] DennisRas: uhm [12:46] DennisRas: any alternative to npm? [12:46] chjj: bnoordhuis: very nice [12:46] TheJH: DennisRas, there is a simple python-based npm replacement for people with windows issues, I think [12:46] shipit has joined the channel [12:46] ben__ has joined the channel [12:46] bnoordhuis: DennisRas: https://github.com/japj/ryppi [12:47] tobeytailor has joined the channel [12:48] ben__ has joined the channel [12:50] liquidproof has joined the channel [12:52] CIA-65: node: 03Antranig Basman 07master * rc05936c 10/ (3 files in 3 dirs): [12:52] CIA-65: node: vm: fix incorrect dispatch of vm.runInContext for argument "filename" [12:52] CIA-65: node: Adds test case and documentation for vm.runInContext and vm.createContext. [12:52] CIA-65: node: Fixes #1140. - http://bit.ly/mPtJGz [12:53] patrickjst has joined the channel [12:53] metaverse has joined the channel [12:55] soapyillusions has joined the channel [12:57] Wizek has joined the channel [12:58] febits has joined the channel [12:59] AaronMT has joined the channel [12:59] galaxywatcher has joined the channel [12:59] bicranial_ has joined the channel [13:00] isaqual has joined the channel [13:00] TheJH: https://github.com/joyent/node/issues/1538 "Startup time: Uglify JS included in the node binary: 10% less time needed" [13:00] postwait has joined the channel [13:00] zilch has joined the channel [13:00] random123 has joined the channel [13:01] SubStack: TheJH: wow that is some crazy stuff [13:01] random123 has joined the channel [13:01] TheJH: SubStack, makes me wonder how fast it would be with precompiled code... [13:02] dob_ has joined the channel [13:02] TheJH: SubStack, but please measure for yourself, as always with benchmarks [13:02] neilk_ has joined the channel [13:02] SubStack: nah I can't be bothered [13:03] TheJH: :D [13:03] eyesUnclouded has joined the channel [13:03] colinclark has joined the channel [13:03] misterm: gah, why are there no websites which can display slides in a decent way [13:04] chjj: TheJH: thats very interesting [13:05] hippich has left the channel [13:05] gtramont1na has joined the channel [13:05] gtramont1na_ has joined the channel [13:06] fdenbow has joined the channel [13:06] tuhoojabotti: TheJH: What about closure compiler? :u [13:06] TheJH: tuhoojabotti, is it better? [13:06] tuhoojabotti: Dunno. [13:07] tuhoojabotti: That's what I'm asking. :P [13:07] zilch has joined the channel [13:07] bnoordhuis: last time i checked uglifyjs did a better job [13:07] ttpva has joined the channel [13:07] bnoordhuis: probably depends on the input [13:07] tuhoojabotti: Surprisingly. [13:07] TheJH: tuhoojabotti, I know that uglifyjs isn't veery good because I was able to make it generate smaller code (switch statements, ...) [13:07] SoulRaven has joined the channel [13:07] TheJH: there are 2 or 3 open pull requests from me [13:08] Destos has joined the channel [13:08] mehtryx has joined the channel [13:08] Sembiance: ACTION will stick with YUICompressor for the time being. [13:10] SubStack: I've been releasing a package every 4.5 days for the past 208 days [13:10] SubStack: wooo node [13:10] baudehlo has joined the channel [13:10] zilch has joined the channel [13:11] SubStack: .. (new Date('August 16, 2011') - new Date('January 20, 2011')) / 1000 / 60 / 60 / 24 / (62 - 16) [13:11] catb0t: 4.520833333333334 [13:12] chjj: haha [13:12] Sembiance: SubStack: I've seen your github, it's an insane number of modules ;) [13:12] rio{ has joined the channel [13:12] chjj: damn catb0t, wheres the real bot [13:12] catb0t: wheres the intro damn [13:12] chjj: v8: '' [13:12] chjj: :( [13:12] jetienne has joined the channel [13:13] zilch has joined the channel [13:14] fairwinds has joined the channel [13:15] sivy has joined the channel [13:15] zilch has joined the channel [13:16] albertosheinfeld has joined the channel [13:16] misterm: Does Uglify do inlining? [13:16] TheJH: misterm, I don't think so [13:17] misterm: ah, that's one of the things I like about closure compiler [13:17] malkomalko has joined the channel [13:17] Wizek-other has joined the channel [13:19] javaanse_jongens has joined the channel [13:19] zilch has joined the channel [13:22] ralphholzmann: heyo, anyone know how to set the max number of connection sockets that node can use? [13:23] zilch has joined the channel [13:23] ralphholzmann: or rather, my ubuntu server at large [13:23] rfay has joined the channel [13:23] ralphholzmann: I reach a certain number of connections and my servers slows to a halt, then aborts the process [13:24] Sembiance: ulimit -a [13:24] micheil has joined the channel [13:24] Sembiance: You'll be limited by the number of available open files I believe, since each connection is a socket is a file, I think. [13:25] Sembiance: So: ulimit -n [13:25] misterm: ralphholzmann: out of curiousity, how many connections are you getting? [13:25] mhauri has joined the channel [13:25] ianward has joined the channel [13:26] ralphholzmann: misterm: like 20k [13:27] misterm: ralphholzmann: what's the server specs like, how many node instances? not to be nosey, just curious [13:27] arthurdebert has joined the channel [13:28] ralphholzmann: misterm: Im not using as many servers as I should be, thats for sure [13:28] ralphholzmann: its a linode 512 [13:28] ralphholzmann: http://www.linode.com/index.cfm [13:28] TheJH: can I stash a change, checkout another version, and unstash it? cause I can't get it to work [13:28] zilch has joined the channel [13:28] Davo84 has joined the channel [13:29] dguttman has joined the channel [13:29] Davo84: hrello [13:29] ksheurs has joined the channel [13:29] pen has joined the channel [13:30] CodeProstitute has joined the channel [13:31] pives has joined the channel [13:31] CodeProstitute: ACTION is building a site for Madonna's birthday in node.js. :> [13:31] Davo84: ACTION likes madonna [13:32] ts__ has joined the channel [13:32] koo6 has joined the channel [13:32] sansn0m: ACTION sleeps with Madonna records. [13:32] ksheurs has joined the channel [13:32] Fabryz: ralphholzmann is it easy to setup your nodejs app on linode? [13:33] ralphholzmann: Fabryz: um, yeah [13:33] ralphholzmann: I mean, easy as [13:33] ralphholzmann: git clone [13:33] Fabryz: good [13:33] zilch has joined the channel [13:35] Fabryz: meh nothing less than linode 512 [13:35] lesterc1 has joined the channel [13:35] lesterc1: hello world! [13:36] Poetro has joined the channel [13:38] zilch has joined the channel [13:39] colinclark has joined the channel [13:40] zeissoctopus has joined the channel [13:42] Yoric has joined the channel [13:42] zilch: What are the best practices with respect to git based deployment ... when developing on node ? Is anybody using such sorta platform ? [13:42] jsj has joined the channel [13:42] hij1nx has joined the channel [13:43] jetienne has joined the channel [13:43] zilch has joined the channel [13:48] azeroth__ has joined the channel [13:48] dshaw_ has joined the channel [13:50] zilch has joined the channel [13:51] jakehow has joined the channel [13:52] jakehow_ has joined the channel [13:53] sivy has joined the channel [13:54] Kami_ has joined the channel [13:54] EyePulp has joined the channel [13:54] ncamacho has joined the channel [13:54] versicolor has joined the channel [13:55] bradleymeck has joined the channel [13:55] zilch has joined the channel [13:57] kenperkins has joined the channel [13:57] zilch has joined the channel [13:58] dob_ has joined the channel [13:58] ncamacho has joined the channel [13:58] jvduf has joined the channel [14:00] brianc has joined the channel [14:00] zilch has joined the channel [14:01] GottZ has joined the channel [14:02] cognominal_ has joined the channel [14:03] losing has joined the channel [14:03] CrisO has joined the channel [14:04] mbrochh]2 has joined the channel [14:05] zilch has joined the channel [14:06] brolin has joined the channel [14:07] zilch has joined the channel [14:07] sivy has joined the channel [14:09] socketio\test\89 has joined the channel [14:09] devongovett has joined the channel [14:10] butu5 has joined the channel [14:10] zilch has joined the channel [14:10] TheJH: can someone have a look at my pull request https://github.com/joyent/node/pull/1540 "Improve startup time for "process.stdin;process.stdout" by 0.7%"? It makes two tests fail and I can't see how. [14:10] explodes has joined the channel [14:10] kmiyashiro has joined the channel [14:11] mfussy has joined the channel [14:11] mfussy has left the channel [14:12] zeissoctopus has joined the channel [14:13] industrial: it feels like I'm the only one that uses Mongoose areound here [14:13] Sembiance: heh [14:13] Sembiance: funny you mention that [14:13] industrial: and I keep bumping into nondescriptive error messages [14:14] industrial: TypeError: Cannot read property 'constructor' of undefined [14:14] industrial: my whole schema is defined, and what is undefined there is a mongoose innard thing. [14:14] Sembiance: So I've used node.js and redis in the past. It powers worldofsolitaire.com Love redis. [14:14] Sembiance: But a project I'm starting, I chose to try out mongodb+node.js [14:14] djazz has joined the channel [14:14] brez_ has joined the channel [14:15] progme has joined the channel [14:15] industrial: I have a 60+ object model so I chose an ORM [14:15] industrial: I have no idea why I'm even using a key/value store [14:15] hybsch has joined the channel [14:15] Sembiance: I first discovered mongoose but upon learning that it forces you to make a schema, I was disgusted that I needed a schema to use a schemaless database. I eventually realized the mongoose is NOT a mongodb client, but a whole ORM layer. Since I just wanted a mongodb client, I started using node-mongolian, and I've recently ditched that for the pure native mongodb module [14:16] dkris has joined the channel [14:16] Sembiance: The IRONIC thing, is that I ended up using json-schema and the node module 'jsv' to validate my json documents before I put them into mongodb rofl [14:16] jtsnow has joined the channel [14:16] Sembiance: so in the end I used schemas anyways rofl [14:16] industrial: wherever you have an API, you could use a schema to validate the data [14:17] tbranyen: i don't understand using a schema in a schema-less environment [14:17] JJMalina has joined the channel [14:17] fschuindt has joined the channel [14:17] yellowbean has joined the channel [14:17] industrial: tbranyen: would you rather check arguments in API URI handlers separately? [14:18] industrial: you can just push them through a schema sieve and if its correct do something with the data, if not report so, done [14:18] industrial: the problem is that there's no mature ORM yet [14:18] zilch has joined the channel [14:18] nibblebot: there's no ORM [14:18] nibblebot: mongo is not a relational database [14:19] industrial: if i have an Object ID stored from another document in the current [14:19] industrial: thats damn relational to me [14:19] soapyillusions_ has joined the channel [14:19] industrial: i just have to fetch myself [14:19] nibblebot: but abstracting that as a subdocument does not have the same effect as it does in relational DBs [14:19] nibblebot: yeah [14:19] boehm has joined the channel [14:20] nibblebot: you have to run more queries so you would limit your use of that pattern [14:20] industrial: so the fetching could be automated, tadah ORM [14:20] brez_ has left the channel [14:21] CoinOpeBoy has joined the channel [14:21] industrial: I do limit myself but some data you just cant group together [14:21] nibblebot: so to join docs of type A to type B you'd have to run 101 queries no? [14:21] aconbere has joined the channel [14:21] moshe_ has joined the channel [14:22] moshe_ has left the channel [14:22] GottZ: ACTION wantz remoteAddress in the windows binary [14:22] nibblebot: or 2 and do the joining application side, which could be expensive in node? [14:22] nibblebot: sorry [14:22] nibblebot: 100 docs of type A to type B* [14:22] industrial: well, I do the joining only WHEN its needed, emphasis on when [14:22] zilch has joined the channel [14:22] industrial: since the client is also async [14:23] industrial: also, if you fetch all data to the client you can join there even [14:23] apoc has joined the channel [14:23] sylvinus has joined the channel [14:23] tbassetto has joined the channel [14:23] nibblebot: so where does the ORM come in? [14:23] Sembiance: industrial: what sort of data are you storing in these '60+' objects you mention? an example? [14:23] industrial: cant [14:23] kriss has joined the channel [14:24] visnup has joined the channel [14:24] cypres has joined the channel [14:25] GrooveJuiced has joined the channel [14:25] industrial: but given the choice again I'd not have gone for a key/value store [14:26] bradleymeck: even if the key/value store supported batch queries? [14:26] Sembiance: industrial: well, key/value might not have been a fit for the type of data you wanted to store. or more likely, the data model wasn't modified to fit a key/value store :) [14:26] zilch has joined the channel [14:27] Kami_ has joined the channel [14:27] tmcw has joined the channel [14:27] Yuffster has joined the channel [14:27] neilk_ has joined the channel [14:27] yellowbean: Hi is someone there that has experience with node + visual studio? I have a question regarding extensions [14:27] Sembiance: industrial: so, given the choice again... you'd go with? [14:27] industrial: SQL [14:28] Sembiance: industrial: maybe your data would fit well in a graph database, like neo4k. It's tough to know without knowing the data :) [14:28] industrial: hmm [14:28] Sembiance: err neo4j [14:29] Sembiance: Like 'for example' if I had to model rooms of a role playing game, and each room was connected to other rooms, and each room had a bunch of objects that may be in the room, or players that may be in the room, a graph database is a perfect fit for that data [14:29] ohtogo has joined the channel [14:29] softdrink has joined the channel [14:29] bradleymeck: lies, there is but one true query language and MSSQL is its Database [14:29] Sembiance: trying to shove that into mongodb or even redis would be more painful [14:30] zilch has joined the channel [14:30] Sembiance: although redis would be blazingly fast ;) [14:30] Sembiance: just make sure it fits in RAM hehe [14:30] cognominal___ has joined the channel [14:30] bradleymeck: and that you can stand losing recent stuff if it has to restart [14:31] Sembiance: well, that too :) [14:32] igl1 has joined the channel [14:32] colinclark has joined the channel [14:32] Sembiance: my redis server has been up for 104 days now and has processed 5,670,178,172 commands [14:33] EyePulp: impressive [14:33] EyePulp: what's its memory footprint? [14:33] tobeytailor has joined the channel [14:34] Sembiance: EyePulp: currently using 9.9GB of RAM [14:34] geetarista has joined the channel [14:34] i42n has joined the channel [14:34] hookdump has joined the channel [14:35] zilch has joined the channel [14:35] hookdump has joined the channel [14:35] jonaslund_ has joined the channel [14:36] Davo84 has left the channel [14:37] baudehlo: Sembiance: what happens if you get a power cut? [14:37] goshakkk has joined the channel [14:38] AaronMT has joined the channel [14:39] explodes: http://pastie.org/2380710 My vows test is saying callback was never fired, but I'm returning a topic, not using a callback... What do I do :/ [14:40] Sembiance: baudehlo: you lose whatever data was in there since the last time it flushed to disk [14:40] smus has joined the channel [14:40] baudehlo: I assume none of that is vital then? [14:40] Sembiance: baudehlo: for http://worldofsolitaire.com this is no big deal. I wouldn't use redis for a banking database ;) [14:40] sivy has joined the channel [14:40] baudehlo: no, fair enough. How often does it flush to disk? [14:42] Sembiance: baudehlo: you can configure that. You specific how many minutes must pass and how many operations must have taken place. So you could save every minute if at least 1,000 transactions took place. You can specificy multiple criteria, so you could also say save every 15 minutes if at least 1 transaction took place, etc. [14:42] Sembiance: baudehlo: I'm currently saving every 15 minutes. [14:42] baudehlo: and can you force a write? [14:42] Sembiance: baudehlo: yup [14:42] baudehlo: presumably some sort of safe shutdown also writes to disk? [14:42] Sembiance: baudehlo: writes are background processes, they don't block the server, so they are pretty painless to do [14:43] zilch has joined the channel [14:43] Sembiance: baudehlo: yup, 'SHUTDOWN' will flush to disk then close the server [14:43] baudehlo: cool. [14:43] baudehlo: sorry for all the Q's. I'm curious about redis but a bit scared to think about using an in-memory database for anything I wouldn't want to lose. [14:44] Sembiance: yah, if it's important that no data be lost, then don't store it in redis. but I think for many websites, there is a lot of data that isn't critical. [14:44] losing has joined the channel [14:44] tktiddle: Hi Im just getting started with node, im just trying to get an app i found on github running, Im getting this error: http://fpaste.org/qRT9/ I tried "npm install path" but it didn't fix the problem , can anyone recommend anything else I can try? [14:44] voodootikigod has joined the channel [14:45] TheJH: tktiddle, that app uses an outdated API [14:45] ablomen has joined the channel [14:45] Sembiance: tktiddle: sounds like the app you found was made for an earlier version of node. [14:45] zilch has joined the channel [14:45] sreeix has joined the channel [14:47] explodes: http://pastie.org/2380710 My vows test is saying callback was never fired, but I'm returning a topic, not using a callback... I must be missing something. My topic IS returning a value which means it shouldn't be relying on this.callback. [14:47] dob__ has joined the channel [14:48] astropirate has joined the channel [14:48] tktiddle: hhm, so require.('path') is no longer used, whats the work arround then? [14:49] tktiddle: i think this is the offending line require.paths.unshift(__dirname + '/node-osc/lib'); [14:49] beawesomeinstead has joined the channel [14:50] matthijs has joined the channel [14:50] tktiddle: i just move node-osc/lib to node_modules/node-osc? and then replace the line with require.('node-osc') ? [14:50] niftylettuce has joined the channel [14:50] Bogh has joined the channel [14:50] dnyy has joined the channel [14:50] jakehow has joined the channel [14:50] jakehow_ has joined the channel [14:51] ironlad has joined the channel [14:51] fatjonny has joined the channel [14:52] tktiddle: heres the offending code: [14:52] tktiddle: https://github.com/automata/osc-web/blob/master/osc-web-server.js [14:53] zilch has joined the channel [14:54] wlkh has joined the channel [14:54] TheJH: tktiddle, change `var osc = require('osc');` to `var osc = require('./lib/osc');`, remove the unshift line and npm install jspack in the main directory of ocs-web [14:55] chjj: uhoh [14:55] chjj: https://github.com/v8/v8/commit/a5a36f4a916c466d23a88db64c12eb7d7fb853e9 [14:56] Sembiance: hrm. [14:56] clifton has joined the channel [14:57] scott_gonzalez has joined the channel [14:57] FearTheCowboy has joined the channel [14:58] FireFly|n900 has joined the channel [14:58] zilch has joined the channel [14:59] ravenk15 has joined the channel [14:59] andersonfreitas has joined the channel [14:59] gazumps has joined the channel [15:01] CIA-65: node: 03koichik 07master * r8293bb8 10/ (26 files in 3 dirs): [15:01] CIA-65: node: test: refactored http test. [15:01] CIA-65: node: Many http tests had used legacy http.Client. [15:01] CIA-65: node: This refactored it to use modern API. [15:01] CIA-65: node: Fixes #1528. - http://bit.ly/nLhELf [15:01] Bogh has joined the channel [15:01] brianloveswords has joined the channel [15:04] GrooveJuiced: Why node.js sucks: node is not defined [15:04] bradleymeck: C# doesnt define C# therefore C# is Node [15:04] brianloveswords has joined the channel [15:04] djazz has left the channel [15:04] bradleymeck: GrooveJuiced, why do you want that defined? and what would it do? [15:04] sfoster has joined the channel [15:05] robertfw has joined the channel [15:05] Sembiance: GrooveJuiced: are you reverse-trolling? :) [15:06] explodes: Can someone please help me debug this vows suite? Something isn't happening right and I don't know why. [15:06] GrooveJuiced: I want node.exit() :( [15:06] eejaydubya has joined the channel [15:06] bradleymeck: process.exit [15:06] bradleymeck: read the docs [15:06] GrooveJuiced: Ah, okay ;p [15:06] GrooveJuiced: Thanks bradleymeck and Sembiance [15:07] cnu has joined the channel [15:08] TooTallNate has joined the channel [15:08] maushu__ has joined the channel [15:09] yellowbean: Is there a way of building C++ node extentions with visual studio? [15:09] BillyBreen has joined the channel [15:09] GrooveJuiced: Does anyone know what Lars Bak's position is on node.js? [15:09] zilch has joined the channel [15:09] GottZ: the windows client crashs when flooding http connections to the socket.io chat example :/ [15:10] smtlaissezfaire has joined the channel [15:10] GottZ: *server [15:10] binaryjohn has joined the channel [15:10] maushu has joined the channel [15:10] GottZ: actully nose.exe [15:10] jonaslund: GrooveJuiced: i know some people on the V8 team are here and they see it as a good way to catch bugs [15:10] TheJH: hmm, did someone already do macros for JS? [15:11] tktiddle: so im just wondering, this "require.paths has been removed" error is coming up alot, if I have a line like "exports.OscArgument = require('./datatypes');" it is still legat and if not what should it be changed to? [15:11] TheJH: tktiddle, looks legit [15:11] tmcw has left the channel [15:11] GottZ: its just that require.path doesnt work anymore [15:11] bradleymeck: yellowbean no, windows' loader does not function the same so support for C++ addons in windows is not done (might be done in 0.6.x?) [15:12] GottZ: the chat example of socket.io has this line: require.paths.unshift(__dirname + '/../../lib/'); [15:12] GottZ: and when i comment it out it works fine [15:13] zilch has joined the channel [15:13] kevwil has joined the channel [15:13] bnoordhuis: yellowbean: not right now, add-on loading is not implemented on windows yet [15:13] bnoordhuis: oh, bradleymeck beat me to it [15:13] bradleymeck: whachow! [15:14] jonaslund: yellowbean: It was quite recently that they started making proper project files for MSVC, but how to handle modules was not defined at that point [15:14] yellowbean: So the only way of extending node functions on the windows side is by compiling it in to the source? [15:14] jonaslund: bnoordhuis: has there been any discussions about native modules on windows? [15:14] Bogh has joined the channel [15:14] bnoordhuis: jonaslund: yes - the conclusion was that it's difficult [15:15] bradleymeck: yellowbean for now, but id recommend you just use a different os if possible (in a vm even) [15:15] bnoordhuis: not impossible but something we're punting on for the time being [15:15] rfay has joined the channel [15:15] igl has joined the channel [15:16] iammerrick has joined the channel [15:16] zilch has joined the channel [15:17] JacobSingh has joined the channel [15:17] newy has joined the channel [15:17] JacobSingh: Hey folks. What tools are there for building JS files (i.e. taking a bunch of files and minifying them / slapping them into one file) [15:17] butu5: I would like to dump some mustache template code in