[00:00] echosystm: hm [00:00] torvalamo: NemesisD, not sure how that qualifies as you needing to call exit from the exit event [00:00] [[zz]] has joined the channel [00:00] NemesisD: torvalamo: i don't and do not want to [00:00] torvalamo: then don't :p [00:00] NemesisD: i wont! [00:00] torvalamo: great [00:00] NemesisD: but i need to know how to set up my exit status without explicitly calling exit [00:01] NemesisD: reason being some libraries this project depends on suck and don't provide me the necessary callbacks to determine when they are done working [00:01] devrim has joined the channel [00:02] echosystm: hmmm, i seem to have the same problem tanepiper [00:02] echosystm: files stop above 680kb or so [00:02] echosystm: gah! [00:02] NemesisD: i want to do something like process.on("exit", function() { this.exitStatus = 1; }); [00:03] isaacs: mscdex: what was the resolution for that mkdir 0777 issue? i'm bumping into it now as well. [00:03] tanepiper: echosystm: yea, it's an issue with the SSL dual stream stuff, but i;ve already moved onto 0.3.x in prep for 0.4 [00:04] echosystm: tanepiper: it could be because connect will try to use sendfile() [00:04] echosystm: i think that isnt compatible with ssl [00:04] dgathright has joined the channel [00:04] mscdex: isaacs: https://gist.github.com/794254 [00:04] isaacs: mscdex: ok [00:04] isaacs: mscdex: patch sent ot the list? [00:05] isaacs: (for now i can just mkdir+chmod) [00:05] mscdex: isaacs: sent it to ryan's email [00:05] isaacs: kk, awesome [00:05] torvalamo: NemesisD, call process.reallyExit(code) [00:06] torvalamo: that skips the emitting of the event [00:06] torvalamo: and can be called from inside the event [00:06] torvalamo: though i suspect that is a nasty hack [00:06] tjholowaychuk: echosystm: connect does not use sendfile() [00:06] isaacs: yes, reallyExit is not a gread thing to do [00:06] tjholowaychuk: if you were referring to the connect framework [00:06] hornairs has joined the channel [00:07] NemesisD: torvalamo: so is this whole project. i want to slap the guy i forked this from [00:07] cronopio has joined the channel [00:07] torvalamo: great, go for it [00:07] tilgovi has joined the channel [00:07] isaacs: torvalamo, NemesisD: though, that's fine, really. the exit listener is about to call reallyExit anyway [00:07] torvalamo: that's what i was thinking [00:07] torvalamo: src\node.js:735 for the code btw [00:08] torvalamo: 0.2.6 [00:09] tanepiper: tjholowaychuk: any eta on when it'll be able to use https server? [00:09] NemesisD: woo thanks guys [00:09] tjholowaychuk: tanepiper: shortly after 0.4.0 is out hopefully [00:09] tjholowaychuk: I will have tons to do though [00:09] zzak: NemesisD: sup bro :) [00:09] echosystm: tjholowaychuk: what is the issue with ssl at the moment? [00:10] tjholowaychuk: echosystm: I have not tried it with 0.3.x [00:10] echosystm: i mean with 0.2.6 [00:11] tjholowaychuk: did ssl in general even work back then? we are just using stunnel right now [00:11] echosystm: it seems to be [00:11] NemesisD: zzak: raging [00:11] torvalamo: back then? [00:12] torvalamo: :/ [00:12] davidc_ has joined the channel [00:12] tanepiper: tjholowaychuk: any idea on the api for it, i.e. connect.createSecureServer ? i can maybe have a bash at starting it, as i need to start looking at SSL implementation in our app shortly [00:12] zzak: NemesisD: :( i found a hack around that interval issue i was having! [00:13] tjholowaychuk: tanepiper: yeah tough call, will have to be something like that [00:13] pquerna: piscisaureus: ping [00:13] bpedro has joined the channel [00:13] tjholowaychuk: since createServer() accepts a bunch of middleware [00:13] tjholowaychuk: but i was never a fan of that anyway [00:13] nichdiekuh has joined the channel [00:13] piscisaureus: pquerna: pong [00:14] tanepiper: cool, i'll pull a copy and see if i can provide some patches to start off with [00:14] tjholowaychuk: createServer({ options }) would be better IMO [00:14] tjholowaychuk: or connect.createServer(layer, layer, layer).secure({ options }).listen() [00:14] NemesisD: zzak: cool. hit me up on gtalk so we aren't bothering these fine folks [00:15] nichdiekuh has joined the channel [00:15] zzak: wizard [00:15] tanepiper: that would at least be non-breaking :) [00:15] tjholowaychuk: but node's api is not progressive (AFAIK) you have to pass it to createServer() [00:15] tjholowaychuk: or copy whatever it is doing internally there [00:15] mirkok has joined the channel [00:15] m64253 has joined the channel [00:16] tjholowaychuk: ah it has setOptions [00:16] tjholowaychuk: that will work then [00:19] torvalamo: NemesisD, do note that reallyExit will cancel any additional exit listeners that haven't been called yet, if you have several assigned [00:19] NemesisD: that'll have to work [00:20] aconbere has joined the channel [00:22] charlenopires has joined the channel [00:22] torvalamo: if you need that, then your only option is to rewrite src/node.js process.exit definition to fit your needs [00:22] torvalamo: :P [00:23] nejucomo has joined the channel [00:23] pzich has joined the channel [00:26] tanepiper: can anyone on 0.3.6 check to see if process.addListener('uncaughtException' has been removed? [00:27] Coal has joined the channel [00:27] tanepiper: i'm throwing a test exception and it doesn't seem to be getting caught in this, i just get the usual stack trace [00:29] torvalamo: doesn't seem to be removed (node.cc around line 1600+) [00:30] torvalamo: as mentioned i can't compile it so i can't test [00:30] gregotri has joined the channel [00:30] gregotri: hello [00:30] shiawuen has joined the channel [00:30] gregotri: i need help with setting vmware+node.js on mac os x [00:31] gregotri: i installed x-window-less debian [00:31] gregotri: on vwmare [00:31] Frush3 has joined the channel [00:32] zzak: tanepiper: i think its under here: https://github.com/ry/node/blob/master/lib/events.js#L70 [00:32] torvalamo: tanepiper, i think it would have said so in the changelog if uncaught was removed [00:32] torvalamo: it's a commonly used feature [00:33] gregotri: i can ssh to vmware machine, i can start nginx on vmware and reach nginx on host (it displays page that server is running) [00:33] spetrea_ has joined the channel [00:33] gregotri: but node example.js isn't available on host [00:34] jpld has joined the channel [00:34] torvalamo: run 'node example.js' in the console [00:34] tanepiper: torvalamo: yea, but in 0.3.6 httpClient.setTimeout was removed by accident and i noticed that too :) [00:34] tanepiper: regressions bugs will happen, which is why i'd like a sanity check [00:34] torvalamo: removing uncaught can not be by accident, it has about 50 lines of code relating to it [00:36] torvalamo: well it can [00:36] matt_c has joined the channel [00:36] torvalamo: but the person doing it would have to be blind [00:37] tanepiper: you know what, it might be the cli lib I am using [00:37] tanepiper: i moved the exception to a different part, and now it's throwing it differently, as a cli error [00:38] jimt has joined the channel [00:38] tanepiper: hmm, https://github.com/chriso/cli/blob/master/cli.js#L84 [00:38] ryah_: tanepiper: it did not get removed [00:38] ericnakagawa has joined the channel [00:38] tanepiper: however i haven't enabled that plugin [00:39] clarkfischer has joined the channel [00:39] gregotri: torvalamo: Server running at http://127.0.0.1:8124/ [00:40] torvalamo: open that [00:40] pieterv has joined the channel [00:40] ryah_: and there are tests for uncaughtException [00:40] willwhite has joined the channel [00:40] gregotri: ifconfig shows than vmware machine has addres 172.16.189.128. When i run nginx, this address is reachable from host [00:41] gregotri: i can open that in vmware because debian is installed without x.org [00:41] ryah_: mscdex: i dont want to reset the umask [00:42] ryah_: mscdex: i think the umask is expected to be applied [00:42] ryah_: but thanks for looking into that [00:42] tanepiper: ryah_: yea, it seems cli for some reason it catching it, even though i haven;t enabled it to [00:42] gregotri: ok, elinks opened it and displays 'Hello World' [00:42] mw has joined the channel [00:42] tanepiper: and even when i specifically disable it [00:42] opengeard has joined the channel [00:44] asimismo has joined the channel [00:45] ryanfitz has joined the channel [00:45] asimismo: I'm sure I'm visiting a well-trod path, but I'm a bit new so please forgive me, but... What's the state of XML parsing in node? Is there a favored (and actively maintained) module? [00:46] Aikar: lol ryah_, the fix for test-cli-eval was just not passing the parent object like I did. going to make a test case for this and resend pull req, I redid my fork so the other pull req died. [00:46] brainproxy: ryah_: so 'data' events are guaranteed to fire in the order representing the beginning -> end structure of the resource they represent, e.g. for a post/put request? [00:47] mscdex: ryah_: what about calling chmod afterwards instead then? [00:47] mscdex: ryah_: or will that not work? [00:48] astoon has joined the channel [00:49] evl has joined the channel [00:49] gregotri: have to go [00:49] gregotri: cya [00:49] gregotri has left the channel [00:50] ryah_: brainproxy: yes [00:50] ryah_: mscdex: no - people should know what umask does [00:51] hunterloftis: Anybody here using requireJS right now? [00:52] tanepiper: hunterloftis: yes [00:52] hunterloftis: tanepiper: How do you solve the problem of traditional libraries? ex: knockoutJS requires jquery.tmpl, which requires jquery [00:52] hunterloftis: tanepiper: So if I just load them all with a require([...]), knockoutJS will error out because jquery.tmpl doesn't exist [00:52] tanepiper: hunterloftis: either just hard code those libs in, or do multiple require callbacks [00:53] m64253 has joined the channel [00:53] hunterloftis: tanepiper: ok cool, I'm doing nested requires right now, which seemed ghetto, just checking [00:53] prettyrobots has joined the channel [00:53] tanepiper: had major issues with ExtJS because of it, it wouldn't always load first [00:54] prettyrobots: Is there some way to launch an interactive shell in node? [00:54] tanepiper: i only use it to load specific types now, and include my lib files as