[00:00] gen: since it's all single threaded [00:00] isaacs: industrial: ie, it's easier to miss one at the end of every line, when every other line has one, but easier to spot a lone ( or [, if those are not allowed, at the start of the line. starts of lines are more visible, and oft-repeated tokens are harder to spot when they're missing, because you become numb to them [00:00] isaacs: gen: they wait. [00:00] isaacs: gen: use the child_process to run long-running CPU-bound tasks in a separate process [00:00] mikeal has joined the channel [00:01] isaacs: gen: in practice, such tasks are rare, and not really node's strong suit anyway. it's best for IO-intensive tasks, where you're normally io-bound [00:01] isaacs: eg, almost all web/networking tasks [00:01] adambrault has joined the channel [00:01] gen: isaacs: allright, thanks [00:01] isaacs: np [00:03] adambrault has left the channel [00:05] devongovett has joined the channel [00:05] ngs has joined the channel [00:07] cirpo_ has joined the channel [00:08] cjm has joined the channel [00:08] dherman has joined the channel [00:09] jbrokc: can anyone help me out? the following read / write isn't substituting what I think it should… it writes fine, but the substitution doesn't happen. https://gist.github.com/06486b7b7177da66cd67 [00:09] AAA_awright_ has joined the channel [00:12] bnoordhuis: jbrokc: maybe coffeescript interpolates the $1? the regex works fine in regular javascript [00:12] bnoordhuis: to wit: [00:12] bnoordhuis: v8: ''.replace(//gi, '') [00:12] cpetzold has joined the channel [00:12] v8bot_: bnoordhuis: "" [00:13] industrial: isaacs: having a lot of fun with http://ejohn.org/apps/learn, thanks for this :) [00:14] [[zz]] has joined the channel [00:15] devdazed has joined the channel [00:15] devdazed has left the channel [00:15] jbrokc: bnoordhuis: the regex happens in the coffeescript repl with $, but the write doesn't [00:16] ngs has joined the channel [00:17] bnoordhuis: jbrokc: String.replace() returns a new string, it doesn't modify in-place [00:17] jbrokc: bnoordhuis: ah i have to save it.. [00:18] jbrokc: bnoordhuis: thanks :) [00:19] bnoordhuis: jbrokc: my pleasure :) [00:19] jbrokc: is there any way to do a in place version of replace? [00:19] bnoordhuis: jbrokc: no, javascript strings are immutable [00:19] bnoordhuis: v8: s = "abc"; s[0] = "x"; s [00:19] v8bot_: bnoordhuis: "abc" [00:19] bnoordhuis: see? doesn't work [00:20] jbrokc: bnoordhuis: ah, okay. my code looks like https://gist.github.com/83c7e18f746692af0602 and i even tried putting a comma after the first expression but that failed [00:20] sechrist: oh neat, I didn't know that [00:20] sechrist: I never tried, but I assumed you could set string characters by index since you could get them [00:20] wookiehangover has joined the channel [00:22] eastender has joined the channel [00:23] cjm has joined the channel [00:23] willwhite has joined the channel [00:26] JoshC1 has joined the channel [00:29] NGremlin has joined the channel [00:29] Nexxy has joined the channel [00:29] greg has joined the channel [00:31] Laurent1 has joined the channel [00:32] Eber has left the channel [00:32] cafesofie has joined the channel [00:32] jbrokc: hey if i wanted to get input from stdin in a node program do i just use process.stdin with a prompt, resume it, and then pause it afterwards and to resume my program? [00:32] akshatj has joined the channel [00:33] technoweenie has joined the channel [00:34] bnoordhuis: jbrokc: check out the built-in repl and readline modules [00:34] jbrokc: bnoordhuis: could i get a link please? [00:34] Laurent1 has joined the channel [00:34] cafesofie has joined the channel [00:35] gazumps has joined the channel [00:35] bnoordhuis: jbrokc: http://nodejs.org/docs/latest/api/ [00:36] unomi has joined the channel [00:36] jbrokc: bnoordhuis: thanks [00:36] jbrokc: bnoordhuis: wow - that's awesome :D [00:37] AvianFlu has joined the channel [00:37] jacobolus has joined the channel [00:37] unlink has joined the channel [00:38] losing has joined the channel [00:38] wutwutyes` has joined the channel [00:38] jbrokc: tjholowaychuk: is there any prepending statement for dom elements in jade, like hamls' % ? [00:38] tjholowaychuk: nope [00:38] tjholowaychuk: h1 title [00:38] tjholowaychuk: etc [00:39] cafesofi_ has joined the channel [00:41] CIA-65: libuv: 03Ryan Dahl 07master * r6cdf8cc 10/ src/uv-unix.c : Remove assert that is broken on darwin - http://bit.ly/nPT5JU [00:41] threecreepio has joined the channel [00:42] brianseeders has joined the channel [00:42] CIA-65: libuv: 03Igor Zinkovsky 07master * rfb2a66d 10/ (src/win/internal.h src/win/pipe.c): windows: fix req refcount for uv_pipe_connect - http://bit.ly/oKQflv [00:42] CIA-65: libuv: 03Igor Zinkovsky 07master * r9a3c6eb 10/ src/uv-unix.c : Merge branch 'master' of https://github.com/joyent/libuv - http://bit.ly/oiGc2Z [00:43] jMerliN has joined the channel [00:43] andrewfff has joined the channel [00:44] tetsuharu: http://nodejs.org/docs/v0.5.0/api/http.html#http.request [00:44] tetsuharu: is this really the best I have for doing a server-to-server POST request? [00:47] racar has joined the channel [00:47] yept has joined the channel [00:47] maqr has joined the channel [00:47] bnoordhuis: tetsuharu: there are lots of third-party libs with spiffier interfaces [00:48] CIA-65: libuv: 03Ryan Dahl 07master * r4ca8930 10/ src/uv-unix.c : Remove assert that is broken on darwin - http://bit.ly/nEScPB [00:48] CIA-65: libuv: 03Igor Zinkovsky 07master * rcc14331 10/ (src/win/internal.h src/win/pipe.c): windows: fix req refcount for uv_pipe_connect - http://bit.ly/oYKFxx [00:49] ruprict has joined the channel [00:49] matyr has joined the channel [00:50] devdazed has joined the channel [00:51] AvianFlu has joined the channel [00:54] kavla has joined the channel [00:54] bksf: hey everyone, just a question vs. removing then trying the different aspects of my app - if im using express, do i need to require() sys, querystring and http? [00:55] tjholowaychuk: not unless you're using them directly [00:55] tjholowaychuk: it require()s them [00:56] bksf: ok cool. i thought so wasnt sure [00:56] bksf: thanks a lot tjholowaychuk for the help the past few days i have a working mongodb/node.js/express app [00:56] bksf: just going through code :P [00:56] mape: tjholowaychuk: when using res.send, should I be able to send an image buffer there or does it work magic on it that might cause something to break? [00:56] brez_ has joined the channel [00:57] tjholowaychuk: bksf np [00:57] Eber has joined the channel [00:57] tjholowaychuk: mape: yup buffers are fine [00:57] mape: k great [00:57] Eber: where can I find info about the exports variable and module object? [00:57] tjholowaychuk: res.contentType('png').send(buf) etc [00:57] Eber: oh, I guess I found @ the docs :) never mind! [00:58] racar_J has joined the channel [00:58] mape: tjholowaychuk: Object image/jpeg has no method 'send' ? [00:58] mape: contentType doesn't chain? [00:58] tjholowaychuk: oh [00:58] tjholowaychuk: fuck [00:58] tjholowaychuk: i think older verions didnt [00:58] brolin has joined the channel [00:59] tjholowaychuk: 2.4.4 should for sure [00:59] mape: ah k [01:00] qcom_ has joined the channel [01:00] qcom_: select(name='guardian') [01:00] qcom_: option(value='none') none [01:00] qcom_: if I have jade like this [01:01] qcom_: how should I access the select element's value from a post request? [01:01] qcom_: req.body. ? [01:01] c4milo1 has joined the channel [01:01] tjholowaychuk: qcom_ yeah you could expose that via dynamicHelpers [01:02] tjholowaychuk: app.dynamicHelpers({ body: function(req){ return req.body } }) [01:02] tjholowaychuk: for example [01:02] tjholowaychuk: body.name blah blah [01:02] qcom_: ok, sexy [01:02] qcom_: thanks [01:03] Eber: question... why this line? aren't exports and module.exports the same object? "exports = module.exports = connect.middleware;" [01:03] mape: hmm, using request, "The third is the response body buffer." does it really return a buffer? seems more like a strong [01:03] mape: *string [01:04] wadey: Eber if you reassign one of them, then they aren't any more [01:04] wadey: they start off being the same though [01:04] Eber: wadey: but to prevent that, you just need to define one of them, or not? [01:04] konobi: exports is a reference to module.exports, but exports is scope limited to the module [01:05] Bonuspunk has joined the channel [01:05] wadey: yeah, so just doing exports = connect.middleware won't work [01:05] wadey: doing just module.exports = connect.middleware works [01:06] wadey: but then you lose the shortcut of using "exports" in the rest of the file [01:06] wadey: that is why that line is doing both [01:06] Eber: uhmm, that was going to be my next question :) [01:06] tjholowaychuk: Eber yeah conceptually you're stuffing props on exports all the time [01:07] tjholowaychuk: regardless of what the first-class export is [01:09] Swizec has joined the channel [01:10] Nuck has joined the channel [01:10] matyr_ has joined the channel [01:11] ericmuyser has joined the channel [01:12] harthur has joined the channel [01:12] mundanity has joined the channel [01:15] ericmuyser has joined the channel [01:15] R4md4c has joined the channel [01:15] bnoordhuis: wow... http://www.reuters.com/article/2011/08/06/usa-downgrade-sp-idUSN1E7741TJ20110806 [01:16] bnoordhuis: you guys just lost your triple a credit rating [01:16] mape: wow [01:16] airportyh has joined the channel [01:17] d0k has joined the channel [01:17] R4md4c: I was writing a server program using node under Linux and was using node-sqlite for handling sqlite databases I want to make my friend use my server program where he uses Windows but when he tries to use node.exe it says error in require("sqlite") is there a node-sqlite for windows if not how can I the server execute at his machine ? [01:21] unlink has joined the channel [01:21] andrewfff has joined the channel [01:21] airportyh_ has joined the channel [01:21] newy has joined the channel [01:21] boehm has joined the channel [01:23] jerrysv has joined the channel [01:23] Eber: R4md4c he can use cygwin I guess... I once was happy to make it work, maybe it will with node-sqlite [01:23] CIA-65: libuv: 03Igor Zinkovsky 07master * ra706a66 10/ (4 files in 2 dirs): accept benchmark - http://bit.ly/qAyER0 [01:24] k1ttty has joined the channel [01:24] R4md4c: Eber: Is there a straight guide for him to use cygwin ? [01:25] Eber: R4md4c yes, here https://github.com/joyent/node/wiki/Building-node.js-on-Cygwin-%28Windows%29 [01:25] devongovett has joined the channel [01:26] newy has joined the channel [01:26] airportyh__ has joined the channel [01:28] Sami_ZzZ____ has joined the channel [01:31] Aria has joined the channel [01:31] Eber: tjholowaychuk so basically, you use exports instead of module.exports just for the sake of shortness? [01:31] tjholowaychuk: Eber basically [01:31] tjholowaychuk: and because conceptually you still just want to export things [01:32] tjholowaychuk: it doesnt matter if module.exports is a function, object, etc [01:32] tjholowaychuk: youl could decide you want require('stream') instead of require('stream').Stream [01:32] Eber: tjholowaychuk right :) [01:32] tjholowaychuk: and then have to go change everything [01:32] willwhite has joined the channel [01:33] Eber: oh, I see... [01:33] eee_c has joined the channel [01:34] cying has joined the channel [01:35] jacobolus has joined the channel [01:36] dreamdust2 has joined the channel [01:36] jbrokc has joined the channel [01:37] airportyh_ has joined the channel [01:38] ciezr has joined the channel [01:38] adrianmg1 has joined the channel [01:39] bnoordhuis: isaacs: ping [01:41] JumpMast3r has joined the channel [01:41] isaacs: bnoordhuis: yo [01:41] bnoordhuis: hey isaacs, question about #1453 [01:41] bnoordhuis: specifically, what's the issue with numeric keys? [01:42] isaacs: they're enumerated first, and in numeric order. [01:42] davidbanham has joined the channel [01:42] odie5533: How far along is Windows support for compiling addon c++ modules? [01:42] isaacs: bnoordhuis: instead of enumerating in the order in which they're added [01:42] bnoordhuis: odie5533: absent [01:43] bnoordhuis: odie5533: or non-existing [01:43] odie5533: right now sure, but I read in a blog comment it was being worked on. [01:43] bnoordhuis: isaacs: okay, but is that an issue with module loading? [01:43] odie5533: What are the priorities currently for Windows support? [01:43] bnoordhuis: isaacs: or would a file.json be preempted by file.1? [01:44] bnoordhuis: odie5533: first priority: get node itself working [01:44] isaacs: bnoordhuis: yes, "file.0" will come before "file.js" [01:44] isaacs: bnoordhuis: but only if you have a require.extensions["0"] function [01:44] isaacs: bnoordhuis: which *would* be really odd [01:44] odie5533: bnoordhuis: can you be a bit more specific? :) [01:44] bnoordhuis: isaacs: right, talk about an unlikely corner case [01:44] isaacs: bnoordhuis: that seems to be what i'm good at :) [01:45] bnoordhuis: odie5533: we're working on porting node to windows [01:45] bnoordhuis: odie5533: once that's stable, we'll set up some kind of build farm that produces pre-compiled binaries [01:45] isaacs: bnoordhuis: but also, i've kind of had it out for extensionless module loading forever. [01:45] bnoordhuis: odie5533: the two can run in tandem of course but porting has prio 1 [01:45] bnoordhuis: isaacs: hah, why? [01:46] isaacs: i fought against it being added to the commonjs spec, and then i resisted it going into node, and then managed to sneak back in the *ability* to put extensions in the require() call. [01:46] odie5533: bnoordhuis: sorry, I meant to ask what were the priorities within the porting effort at this point [01:46] isaacs: bnoordhuis: it's unnatural! if you want a file, you shoudl specify the filename. [01:46] bnoordhuis: isaacs: windows disagrees with you [01:46] bnoordhuis: ACTION runs [01:47] Drakonite has joined the channel [01:47] isaacs: bnoordhuis: oh, because it adds ".exe" when you type a command name? [01:47] langworthy has joined the channel [01:47] bnoordhuis: odie5533: well... right now, we have tcp and child processes working [01:47] isaacs: i mean, yeah, but windows is a jerk. [01:47] AvianFlu: windows also mandates file extensions, which *nix doesn't [01:47] bnoordhuis: odie5533: next up is udp, console, repl, etc. [01:48] liquidproof has joined the channel [01:48] odie5533: Was just curious. ty [01:48] cpetzold has joined the channel [01:49] bnoordhuis: isaacs: i suppose the uber-correct solution is to make the load order configurable [01:49] bnoordhuis: but really, it's such a corner case... [01:49] bnoordhuis: let's just wait until the first bug report comes in :) [01:50] isaacs: bnoordhuis: shigeki's patch reserves js, node, and json as the first extensions to be searched, always. [01:50] isaacs: bnoordhuis: but numeric keys still trump everything else. [01:50] isaacs: let's just document it, and go back to not caring. [01:50] isaacs: :) [01:50] Laurent1 has joined the channel [01:51] mscdex: windows is always a jerk! [01:51] bnoordhuis: isaacs: right [01:51] bnoordhuis: isaacs: but i'd like to keep [.js, .node, etc.] as the default [01:52] bnoordhuis: too much will break if we change that [01:52] isaacs: sure, but i mean, we can just document that if you add a numeric extension, that'll cause odd behavior. [01:52] isaacs: and otherwise, it'll just keep doing what it does now [01:53] dgathright has joined the channel [01:53] bnoordhuis: right, sounds like a plan [01:55] halfhalo-work has joined the channel [02:00] ruprict has joined the channel [02:01] Eber has left the channel [02:01] luke`_ has joined the channel [02:01] random123 has joined the channel [02:01] Sorella has joined the channel [02:02] hij1nx has joined the channel [02:02] alnewkirk has joined the channel [02:03] youtubeGirl has joined the channel [02:03] rickharrison has joined the channel [02:03] captain_morgan has joined the channel [02:03] youtubeGirl: Has there been past efforts integrating MediaWiki with node? [02:03] nightshift has joined the channel [02:05] bnoordhuis: youtubeGirl: not that i know of. what do you have in mind? mediawiki markup parsing? [02:06] youtubeGirl: bnoordhuis: Yeah. Parsing and displaying the content, and then adding a layer of js on top. [02:07] bnoordhuis: youtubeGirl: i don't think such a thing exists right now [02:07] sridatta has joined the channel [02:07] jokil has joined the channel [02:07] youtubeGirl: bnoordhuis: Thanks. I guess I'll just have to build it myself. [02:08] jesusabdullah: youtubeGirl: sounds interesting [02:08] youtubeGirl: jesusabdullah: Any particular thoughts come to mind? [02:09] jesusabdullah: Not really [02:09] zemanel has joined the channel [02:09] AvianFlu: mediawiki is such an unbelievable resource hog [02:09] jesusabdullah: I'd love a lightweight wiki written in node though :3 [02:09] AvianFlu: yeah, seriously [02:09] AvianFlu: re-do mediawiki instead of using it, lol [02:09] youtubeGirl: Yes. I'd agree with you guys [02:09] JoshC1 has joined the channel [02:09] AvianFlu: I was involved in a site years ago where we tried to make a mediawiki that everyone could always edit [02:09] bnoordhuis: there are a couple wikis written in node already [02:09] bnoordhuis: *couple of [02:09] AvianFlu: "internetfactsite.com" it wa [02:10] jesusabdullah: are there? Cool [02:10] andrewfff has joined the channel [02:10] AvianFlu: such great fun - but it annihilated the server after a hundred concurrents or so [02:10] bnoordhuis: jesusabdullah: yeah, you can find them on the... er, wiki [02:11] bnoordhuis: AvianFlu: should be simple to scale though, right? it's just php backed by mysql [02:12] AvianFlu: at the time, we had one actual dedicated server [02:12] AvianFlu: and mediawiki is a resource hog [02:12] AvianFlu: and the one machine could only handle 100 concurrents, and we had no money [02:12] AvianFlu: as it was just a side project for lulz [02:12] jesusabdullah: bnoordhuis: XD [02:12] AvianFlu: so I mean, I'm sure someone could scale it [02:12] AvianFlu: but it wasn't us in 2009 [02:13] JumpMast3r has joined the channel [02:13] deadman87 has joined the channel [02:13] deadman87: hey everyone! [02:13] jesusabdullah: suup? [02:13] deadman87: jeezaaaas!!! [02:14] Me1000 has joined the channel [02:14] deadman87: nm.. just scratching my head.. bit confused abt node.js on a vps [02:14] jesusabdullah: jayzusss! [02:15] deadman87: basically i am running a node.js/socket.io app.. listening on port 80. Everything is fine except web/flashsockets [02:15] deadman87: jeezaaas is how africans say it ;) [02:15] ironlad has joined the channel [02:15] deadman87: i'm getting a "warn - websocket connection invalid" [02:16] deadman87: can you maybe help sir jesus the servant of god? [02:18] kriszyp has joined the channel [02:20] dgathright has joined the channel [02:22] mscdex: anyone here develop node.js stuff on webos? [02:24] chapel: deadman87: what browser and version? [02:24] deadman87: Windows Chrome throws Websocket Connection Invalid [02:24] chapel: using dev or above? [02:24] chapel: canary maybe? [02:25] deadman87: Windows Firefox throws Flashsocket connection invalid [02:25] deadman87: using Node v0.5.3 [02:25] deadman87: and socket.io from npm [02:25] deadman87: think its 0.7 [02:25] chapel: well I know that chrome with anything > 13 uses new websockets, and causes problems [02:25] deadman87: yeah I read that [02:25] micheil: chapel: chrome 14-dev uses draft-10 [02:25] skohorn has joined the channel [02:25] chapel: yes I know micheil [02:25] deadman87: but i'm having issues with all the browsers [02:26] micheil: which makes node-websocket-server and socket-io break [02:26] deadman87: XHR works awesome [02:26] micheil: the only implementation I know of that supports draft-10 is worlize's [02:26] chapel: micheil: yep, I learned the long way, before asking, I thought it was a code issue :( [02:27] micheil: (as a side note, pusher supported draft-10 with 2 days of chrome-14 dev being released with them [02:32] deadman87 has left the channel [02:34] maqr has joined the channel [02:34] maqr has joined the channel [02:34] maqr_ has joined the channel [02:35] jacobolus has joined the channel [02:36] chapel: is anything open source from pusher? [02:36] Swizec has joined the channel [02:37] jesusabdullah: What's pusher? [02:37] ecin has joined the channel [02:37] jesusabdullah: I'm sorry :( [02:37] maqr has joined the channel [02:37] chapel: the company micheil works for [02:37] micheil: yeah [02:37] chapel: http://pusher.com/ [02:37] micheil: we do WebSockets as Infrastructure / Service [02:37] jesusabdullah: Huh [02:38] micheil: chapel: there's sorta of some stuff that's opensource from us, we will be releasing more stuff soon though [02:38] chapel: cool [02:38] chapel: just was curious [02:38] micheil: chapel: currently our open-source projects mainly relate to ruby (em-hiredis, em-websocket) [02:38] chapel: having internal support is one thing [02:38] chapel: yeah [02:38] chapel: is the full stack ruby, or do you use node there too? [02:38] micheil: and we'll be releasing a testing framework for javascript soon, called cognac [02:39] micheil: (I'm going to be talking at London JS #4 about this on the 15th of August) [02:39] nicoreed has joined the channel [02:39] tjholowaychuk: moar test frameworks [02:39] chapel: test frameworks, the new hello world [02:39] nicoreed has left the channel [02:40] jumpmast3r_ has joined the channel [02:40] cpetzold has joined the channel [02:41] kavla: if only someone would finish one [02:41] kavla: instead of starting another [02:41] tjholowaychuk: kavla touche [02:41] tjholowaychuk: they are too boring [02:41] tjholowaychuk: i think that's why [02:41] tar_ has joined the channel [02:41] kavla: hehehe TJ absolutely [02:41] Nican_ has joined the channel [02:42] chapel: testling looks promising [02:42] kavla: and the hard parts are really boring [02:42] tjholowaychuk: i think the key thing is that no test framework suites all problems even remotely [02:42] towski has joined the channel [02:43] kavla: I think that in general is one of the biggest issues in the node universe [02:43] kavla: generally [02:43] tjholowaychuk: my latest test frameworks consist of like 8 lines of bash [02:43] tjholowaychuk: yay [02:43] kavla: that is; the patterns have not yet full emerged and there are so many ways to skin a cat it's hard to build tooling [02:43] kavla: hehehe [02:43] tjholowaychuk: yeah [02:44] chapel: build your own [02:44] chapel: thats all that matters [02:44] tjholowaychuk: they are just different too. testing cluster is different than stylus, stylus different than some app, some app different than express [02:44] guillermo has joined the channel [02:44] chapel: different apps have different approaches [02:44] temp01 has joined the channel [02:46] kavla: certainly and nothing wrong with it at all. Just a pain to tool [02:46] k1ttty_ has joined the channel [02:46] tjholowaychuk: it's usually nicer/easier than trying to get your test framework of choice to bend [02:46] tjholowaychuk: from what i've experienced at least [02:47] tjholowaychuk: but some apps/libs/whatever fit the mold fine [02:47] k1ttty has joined the channel [02:52] clifton has joined the channel [02:52] fraserkillip has joined the channel [02:54] kavla: your framework is actually pretty good for my needs on the backend [02:54] kavla: could use a cleaner sync/async system [02:54] kavla: and I didn't look deeply but it seemed to be missing setup and teardown for async [02:54] tjholowaychuk: expresso? [02:54] kavla: yep [02:55] tjholowaychuk: yeah it was not really designed for testing apps [02:55] tjholowaychuk: i never really intended on that to be honest haha [02:55] rabidsnail: How do I create a domain socket pair in node? There doesn't seem to be an equivalent to socketpair() [02:56] rabidsnail: Calling createConnection on a new path raises ENOENT [02:56] kavla: It's still pretty solid for it, and using async tests to simulate multiple users interacting works pretty well [02:56] kavla: The one that really makes me sad is Zombie [02:56] kavla: the headless browser which falls down accessing google and facebook [02:57] kavla: turns out zombies really are easy to kill [02:57] newy has joined the channel [03:00] kavla: (by pretty well, I mean for unit test cases, not full stack) [03:01] EyePulp has joined the channel [03:04] Aria: Which parser are you using? [03:06] unomi has joined the channel [03:09] bnoordhuis: rabidsnail: net.createServer().listen('/path/to/socket') [03:10] bnoordhuis: rabidsnail: and for clients: net.createConnection('/path/to/socket') [03:10] tetsuharu: alright I give up on this [03:10] tetsuharu: are there any good http request libraries out there [03:10] tetsuharu: for sending out https requests [03:13] MetaMucil has joined the channel [03:13] kenperkins has joined the channel [03:17] rickharrison has joined the channel [03:19] tmpvar has left the channel [03:21] kab3wm has joined the channel [03:24] bksf: i wish someone had told me about mongoose [03:24] bksf: amazing. [03:24] bksf: any other gems i should know about? [03:25] necromancer has left the channel [03:27] fairwinds has joined the channel [03:27] jtsnow has joined the channel [03:28] rurufufuss has joined the channel [03:29] deadman87 has joined the channel [03:29] deadman87: good morning gentlemen [03:30] unlink has joined the channel [03:30] unlink has joined the channel [03:31] kriszyp has joined the channel [03:32] matyr has joined the channel [03:32] qcom has joined the channel [03:33] Nican_ has joined the channel [03:34] mwhooker has joined the channel [03:35] zackattack has joined the channel [03:36] adrianmg has joined the channel [03:40] dexter_e has joined the channel [03:41] Sami_ZzZ_____ has joined the channel [03:41] kenperkins has joined the channel [03:42] wookiehangover has joined the channel [03:43] sivy has joined the channel [03:44] cafesofie has joined the channel [03:44] sridatta has joined the channel [03:45] confoocious has joined the channel [03:45] confoocious has joined the channel [03:47] micheil has joined the channel [03:49] newy has joined the channel [03:51] AvianFlu has joined the channel [03:52] cha0s has joined the channel [03:52] cha0s has joined the channel [03:54] jasong_at_apache has joined the channel [03:55] mape: isaacs: just a fyi, people from the netherlands hate people calling their country holland :P [03:55] mape: it's like calling the US "texas" [03:55] isaacs: orly? [03:55] isaacs: sorry, i had no idea. [03:55] baoist has joined the channel [03:55] isaacs: the article called it by that name, so i figured they knew better than i [03:55] mape: I hurt some feelings some time ago doing the same :P [03:56] deadman87: lol but during the world cup most people in South Africa called it Holland [03:57] deadman87: some even wore Holland T-Shirts :P [03:57] isaacs: exonyms are weird [03:57] isaacs: we all call japan "japan" [03:57] isaacs: and germany "germany" [03:57] deadman87: Isnt Japan Nippon? [03:58] isaacs: not in english, it ain't. [03:58] isaacs: ;) [03:58] deadman87: lol [03:58] isaacs: really, it makes not a lot of sense [03:58] deadman87: indeed [03:58] deadman87: like in English we say India.. the locals call it Hindustan [03:59] isaacs: seriously? [03:59] ryanfitz has joined the channel [03:59] deadman87: Yup [03:59] isaacs: (or am i that gullible) [03:59] deadman87: lol u can google it! [03:59] mape: holland is really just a part of the netherlands, a couple of provices, like the states in the US more or less [03:59] isaacs: i see [04:00] deadman87: Wasn't Holland an independent state before? [04:00] eee_c1 has joined the channel [04:00] adambrault has joined the channel [04:02] matyr_ has joined the channel [04:02] dgathright has joined the channel [04:02] ekryski has joined the channel [04:03] mynyml has joined the channel [04:03] kenperkins has joined the channel [04:03] newy has joined the channel [04:04] blaenk has joined the channel [04:04] blaenk has joined the channel [04:04] AvianFlu_ has joined the channel [04:05] blaenk: does anyone know how to use docco [04:07] AAA_awright: blaenk: It's a hundred lines long just read the source [04:07] blaenk: AAA_awright: yeah just figured that out [04:07] AAA_awright: :p [04:07] AAA_awright: Oh I forgot it's coffee [04:07] AAA_awright: Forget it, try something else [04:07] EyePulp has joined the channel [04:07] blaenk: AAA_awright: what's wrong with coffee? [04:08] AAA_awright: If I want to write Javascript what's the point in writing in something besides Javascript [04:09] blaenk: I don't think coffee's target audience is people who want to write javascript though [04:09] mynyml: AAA_awright: same can be said for C code. just write asm directly. [04:09] AAA_awright: Unless you're actually trying to write programs that aren't a hassle to setup [04:10] AAA_awright: Unless you're purposefully avoiding trying to write programs that aren't a hassle to setup [04:10] AAA_awright: yeah. [04:10] AAA_awright: mynyml: No, because that's not C [04:10] seivan has joined the channel [04:10] blaenk: why's it a hassle to setup up programs written in coffee (curious, was thinking about using coffee) [04:10] AAA_awright: There is in fact abstraction that happens between C and bytecode, believe it or not [04:11] slifty has joined the channel [04:14] Croms has joined the channel [04:14] Tick-Tock has joined the channel [04:14] csm has joined the channel [04:15] tristanseifert has joined the channel [04:17] micheil_mbp has joined the channel [04:18] dshaw_ has joined the channel [04:18] micheil has joined the channel [04:19] qcom: if I have "select(name='myElementName')" [04:19] qcom: and "option(value='myValue')" [04:19] qcom: and "option(value='myValue2')" [04:19] qcom: how should I access what option was selected on post request? [04:21] ekryski has left the channel [04:21] deadman87: are you using post_handler? [04:21] paulwe has joined the channel [04:22] qcom: what do you mean? [04:23] deadman87: In node.js you should use the function called post_handler.. for example: post_handler(request, function(data) { console.log(data.myElementName);}); [04:23] adambrault has joined the channel [04:24] edude03 has joined the channel [04:24] qcom: ah, I'm sorry - I should have mentioned I'm using expressed [04:24] deadman87: mmm [04:24] deadman87: I havent used express yet... lemme see what I can google for u [04:25] ironlad has joined the channel [04:26] qcom: haha, thanks man [04:26] deadman87: http://stackoverflow.com/questions/4295782/node-js-extracting-post-data [04:26] deadman87: there is an example in express there [04:26] deadman87: check it out ;) [04:26] systemfault: Guys, is inheriting from EventEmitter somehow... evil since emit is not "private" and therefore violates encapsulation? [04:27] xerox: no [04:27] xerox: inheriting from EventEmitter is nice [04:28] systemfault: Good argument.. [04:28] xerox: thanks [04:28] systemfault: So... I can create a http server and call.. .emit('connect') 10 times on it. [04:29] oJshua has joined the channel [04:29] AvianFlu: I'm pretty sure it goes to 11, too [04:29] xerox: wow. [04:30] qcom: deadman87: cool brah, much appreciated [04:30] dominictarr: systemfault: that might be useful for testing [04:30] deadman87: ur welcome qcom :) [04:31] systemfault: As much as simply make all method of a class public in other programming languages.. [04:31] nightshift has joined the channel [04:31] mike5w3c has joined the channel [04:32] guillermo has joined the channel [04:32] kenperkins has joined the channel [04:33] srid has joined the channel [04:33] srid has joined the channel [04:34] matyr has joined the channel [04:35] isaiah_ has joined the channel [04:36] simenbrekken has joined the channel [04:37] davidbanham has joined the channel [04:39] kavla1 has joined the channel [04:45] kavla has joined the channel [04:46] hij1nx_ has joined the channel [04:46] crodas has joined the channel [04:49] newy has joined the channel [04:54] dexter_e has joined the channel [04:54] adambrault has joined the channel [04:54] butu5 has joined the channel [04:56] cying has joined the channel [04:58] rickharrison has joined the channel [05:00] jumpmast3r_ has joined the channel [05:03] AvianFlu has joined the channel [05:05] smtlaissezfaire has joined the channel [05:06] mike5w3c_ has joined the channel [05:07] febits has joined the channel [05:11] dguttman has joined the channel [05:13] Drakonite2 has joined the channel [05:13] Sami_ZzZ_____ has joined the channel [05:14] rchavik has joined the channel [05:14] beawesomeinstead has joined the channel [05:15] ^^rcaskey has joined the channel [05:15] mif86 has joined the channel [05:15] mike5w3c has joined the channel [05:16] dnyy has joined the channel [05:16] H4ns` has joined the channel [05:16] Nican has joined the channel [05:16] keeto has joined the channel [05:17] tomh- has joined the channel [05:17] tomh- has joined the channel [05:17] tomh- has joined the channel [05:17] SvenDowideit has joined the channel [05:17] boaz has joined the channel [05:17] Alex_R has joined the channel [05:17] deoxxa has joined the channel [05:17] doki_pen has joined the channel [05:17] nphase has joined the channel [05:18] ajsie has joined the channel [05:18] niftylettuce has joined the channel [05:18] mrryanjohnston has joined the channel [05:18] xerox has joined the channel [05:19] romainhuet has joined the channel [05:19] ncb000gt has joined the channel [05:19] [[zz]] has joined the channel [05:19] whoops_ has joined the channel [05:20] temp01 has joined the channel [05:21] daleharvey has joined the channel [05:23] _ralph has joined the channel [05:25] jerrysv has joined the channel [05:25] sivy has joined the channel [05:26] mike5w3c has joined the channel [05:28] cpetzold has joined the channel [05:29] Aco- has joined the channel [05:29] nerdfiles1 has joined the channel [05:30] beawesomeinstead has joined the channel [05:30] jojohess has joined the channel [05:35] nerdfiles1 has left the channel [05:37] mattcodes has joined the channel [05:38] Ginlock has joined the channel [05:39] sivy has joined the channel [05:39] ecin has joined the channel [05:43] amiller has joined the channel [05:44] hacksparrow has joined the channel [05:44] jerrysv has joined the channel [05:49] jhurliman has joined the channel [05:50] random123: I used util.inspect on Express "app" which you normally call app.get on, why doesn't it seem to be inside the object? [05:50] random123: There is no "get" member in "app"? [05:50] nerdfiles1 has joined the channel [05:50] cpetzold has joined the channel [05:50] nerdfiles1 has left the channel [05:53] zackattack has joined the channel [05:56] deadman87 has joined the channel [06:03] CIA-65: node: 03Tony Huang 07master * r891a6f2 10/ doc/api/path.markdown : add the document of the new api routine: path.relative - http://bit.ly/qzyuuP [06:03] matyr has joined the channel [06:06] kjeldahl_ has joined the channel [06:08] dexter_e has joined the channel [06:13] squeese has joined the channel [06:16] AvianFlu has joined the channel [06:16] cafesofie has joined the channel [06:17] newy has joined the channel [06:20] enherit has joined the channel [06:21] zomgbie has joined the channel [06:23] thalll has joined the channel [06:28] CIA-65: node: 03koichik 07master * rbbb38b8 10/ README.md : [06:28] CIA-65: node: [doc] add link to npm search in Readme.md [06:28] CIA-65: node: Fixes #1459. - http://bit.ly/qO0ZjB [06:29] aoberoi has joined the channel [06:30] dominictarr has joined the channel [06:32] JakeyChan has joined the channel [06:34] guillermo has joined the channel [06:35] sivy has joined the channel [06:37] openpercept has joined the channel [06:50] TheJH has joined the channel [06:51] Fandekasp has joined the channel [06:57] booo has joined the channel [06:57] dherman has joined the channel [07:06] loob2 has joined the channel [07:06] dherman has joined the channel [07:10] keyle has joined the channel [07:10] arpunk has joined the channel [07:11] dherman has joined the channel [07:12] rickharrison has joined the channel [07:16] meandi has joined the channel [07:19] ttpva has joined the channel [07:19] AvianFlu has joined the channel [07:21] Vertice has joined the channel [07:24] cying has joined the channel [07:26] anushsh_ has joined the channel [07:28] TheJH: whoah, there's "const" in JS? do old browsers support it, too? [07:29] dgathright has joined the channel [07:29] TheJH: aww, IE can't handle it :( [07:30] CIA-65: libuv: 03Ryan Dahl 07master * r52e1a9e 10/ (11 files in 2 dirs): Upgrade eio (it has better msvs support) - http://bit.ly/qqtDXI [07:30] CIA-65: libuv: 03Ryan Dahl 07gyp * r6471faa 10/ build/all.gyp : gyp: Add configurations (+6 more commits...) - http://bit.ly/oicsjI [07:30] CIA-65: libuv: 03Bert Belder 07multiplicity * ra603a6c 10/ (19 files in 2 dirs): Multiplicity - http://bit.ly/qGnb0R [07:30] CIA-65: libuv: 03Ryan Dahl 07multiplicity * r68f66a5 10/ (uv-unix.c uv-unix.h uv.h): unix multiplicity (incomplete) - http://bit.ly/qBJNcj [07:32] matyr_ has joined the channel [07:32] digman543 has joined the channel [07:39] __tosh has joined the channel [07:42] shanebo has joined the channel [07:42] deadman87 has left the channel [07:44] aoberoi has joined the channel [07:51] demerzel3 has joined the channel [07:54] SamuraiJack has joined the channel [07:57] test has joined the channel [07:59] CIA-65: libuv: 03Ryan Dahl 07gyp * r2600d9a 10/ (.gitignore build/gyp_uv Makefile configure): Add Makefile all build files go into out/ - http://bit.ly/puE5y4 [07:59] mraleph has joined the channel [08:01] scas_ has joined the channel [08:01] seivan has joined the channel [08:05] SneakyNinjas has joined the channel [08:07] dexter_e has joined the channel [08:07] mwhooker has joined the channel [08:10] aoberoi has joined the channel [08:10] Wizek has joined the channel [08:10] odie5533: Is there any way to store and operate on 64 bit numbers in Node.JS? [08:12] skm has joined the channel [08:14] FireFly has joined the channel [08:14] SubStack: odie5533: you can use bigint [08:14] SubStack: https://github.com/substack/node-bigint [08:15] mikeal has joined the channel [08:15] SubStack: all the bits you can eat [08:15] odie5533: ah, requires C =/ [08:15] odie5533: <-- on Windows [08:15] SubStack: should work on windows [08:16] odie5533: erm.. can you compile modules on Windows? [08:16] SubStack: just install a build environment [08:16] odie5533: I have MinGW [08:17] odie5533: but I believe addon compiling would only work in Cygwin. [08:17] SubStack: then install cygwin? [08:17] SubStack: why do you believe that? [08:17] kab3wm has joined the channel [08:18] odie5533: because node-waf doesn't really work on Windows, I think [08:21] liquidproof has joined the channel [08:22] JakeyChan: hi, is there have good host for node app ?? [08:22] JakeyChan: like nodester :DD [08:24] shanebo: JakeyChan, check out: http://www.duostack.com/ [08:25] odie5533: shanebo: thanks for the link [08:25] shanebo: yw [08:25] JakeyChan: odie5533: oh, thank me too :DD [08:25] odie5533: pff [08:25] JakeyChan: :D [08:27] kulor-uk has joined the channel [08:27] unlink has joined the channel [08:29] delian66 has joined the channel [08:34] hacksparrow has joined the channel [08:37] jbpros has joined the channel [08:37] rvb has joined the channel [08:40] hacksparrow has joined the channel [08:42] versicolor has joined the channel [08:43] zomgbie has joined the channel [08:43] hybsch has joined the channel [08:43] fille has joined the channel [08:43] fille: alloha [08:45] mscdex: hola [08:45] kunicki has joined the channel [08:47] zan_ has joined the channel [08:48] fly-away has joined the channel [08:50] hwinkel has joined the channel [08:50] zan_: hi there, i got a node script which uses a lot of cpu. how should i go about optimising it for better performance? [08:50] TheJH: zan_, could you gist it? [08:51] zan_: oh its pretty long and spns multiple files [08:51] zan_: i'm looking for a general direction on how to do optimisation [08:51] TheJH: zan_, ok [08:52] TheJH: zan_, are there heavily nested loops? if so, try to optimize those parts of the code first [08:52] fille: anyone have problem with the node-waf thing [08:52] fille: forever module [08:52] zan_: ok [08:52] TheJH: something like iterating through the pixels of an image or so [08:52] zan_: no, its mainly calling external apis and querying the db [08:53] TheJH: zan_, maybe cache db query results if your db abstraction layer doesn't do it [08:53] zan_: right, good idea [08:54] michaelhartau has joined the channel [08:55] SubStack: zan_: profiling it is a good place to start [08:55] SubStack: then you can figure out which parts are taking up all the cpu [08:55] zan_: i tried profiling, but couldn't make sense of the logs [08:55] SubStack: can you gist those logs? [08:55] zan_: that was a few months ago [08:55] zan_: not too sure if things changed now? [08:55] zan_: i mean the profiling support [08:55] CIA-65: libuv: 03Ryan Dahl 07gyp * r6d33bf4 10/ (build/gyp_uv create-msvs-files.bat): Add create-msvs-files.bat - http://bit.ly/rljEbr [08:56] zan_: i'll try profiling again. [08:56] zan_: but in general, what could cause a cpu spike? [08:56] SubStack: anything and everything [08:56] SubStack: there is no "in general" [08:57] zan_: ok, thats true [08:59] AvianFlu has joined the channel [09:01] admc has joined the channel [09:02] rurufufuss has joined the channel [09:04] hacksparrow has joined the channel [09:04] Swizec has joined the channel [09:07] CIA-65: libuv: 03Ryan Dahl 07gyp * r1066150 10/ build/gyp_uv : Fix gyp_uv for windows - http://bit.ly/p0mpT1 [09:11] jetienne has joined the channel [09:12] `3rdEden has joined the channel [09:12] febits has joined the channel [09:13] fille: i dont have an /etc/init/ [09:13] fille: on my debian [09:13] hybsch has left the channel [09:13] dnjaramba has joined the channel [09:13] jbrokc has joined the channel [09:15] skohorn has joined the channel [09:15] dnjaramba has joined the channel [09:18] CIA-65: libuv: 03Ryan Dahl 07master * ra30a733 10/ (14 files in 4 dirs): Build with gyp - http://bit.ly/nmY49C [09:20] mscdex: fille: why do you mention that? [09:20] fille: i dont know, want to implement the startup script for ubuntu [09:21] btipling has joined the channel [09:21] mscdex: fille: use upstart [09:21] fille: http://kevin.vanzonneveld.net/techblog/article/run_nodejs_as_a_service_on_ubuntu_karmic/ [09:22] Xano has joined the channel [09:23] mscdex: fille: here's a simple one i generally use: https://gist.github.com/753111 [09:23] mscdex: upstart script [09:23] mehlah has joined the channel [09:23] fille: thats cool where shall i put it [09:24] mscdex: fille: /etc/init/ [09:24] fille: but i dont have a init folder 0( [09:24] fille: :( [09:24] mscdex: fille: then you don't have ubuntu? [09:25] fille: i said debian [09:25] fille: :( [09:25] mscdex: oh, you said ubuntu before :-) [09:25] rurufufuss has joined the channel [09:25] fille: but i can use the nuhup command? [09:25] fille: nohup* [09:25] mscdex: for non-ubuntu you'd probably use /etc/init.d/ [09:26] fille: but the script wont work ? [09:27] mscdex: init.d scripts are different than upstart [09:28] fille: i guess i need to read then [09:29] mscdex: fille: here's a gist of an init.d script for running a node service from someone who commented on that article: https://gist.github.com/715255 [09:29] mscdex: fwiw [09:29] TheJH: fille, which debian version? [09:30] TheJH: fille, I think that lenny still used classic init.d while newer ones use some parallelized stuff [09:30] stephank has joined the channel [09:31] fille: okej thanks for all the support, will try to figure it out [09:32] fille: dont know the debian version [09:34] TheJH: fille, gist the contents of /etc/apt/sources.list [09:35] fille: okej [09:35] mscdex: there's probably something in /etc that stores the debian version i'd imagine [09:36] mscdex: like ubuntu and rhel do [09:37] fille: http://www.mindgamemedia.net/list.txt [09:37] fille: this is what i got [09:38] hacksparrow has joined the channel [09:38] fille: https://gist.github.com/1129224 [09:40] mscdex: ok, so 6.0/Squeeze [09:40] thalll has joined the channel [09:41] fille: the init.d script is really huge [09:42] fille: i will try it later [09:43] mscdex: ok, it looks like there's a package for upstart in debian 6 [09:43] mscdex: so you could `apt-get install upstart` and see how that works [09:44] mscdex: otherwise use that init.d script i'd say [09:45] TheJH: mscdex, debian squeeze doesn't use classical init anymore by default [09:45] __doc__ has joined the channel [09:45] mscdex: really? [09:45] dhaivat has joined the channel [09:46] mscdex: the upstart script directory is different then i guess... ? [09:46] TheJH: mscdex, when I updated from lenny to squeeze, it complained about my custom init.d script and said that I had to upgrade to the new init thing manually [09:46] TheJH: after altering/removing my script [09:46] AvianFlu has joined the channel [09:47] aliem has joined the channel [09:47] fyskij has joined the channel [09:47] threecreepio has joined the channel [09:49] fille: the apt-get upstart script really warns me [09:49] fille: i need to type a prase [09:49] fille: sysvinit will be removed [09:49] fille: :S [09:50] mscdex: TheJH: i dunno, i just did `dpkg --get-selections | grep upstart` and got nothing on a fresh debian 6 vm [09:50] mscdex: TheJH: and there's no /etc/init/ [09:50] TheJH: mscdex, but it's also no classical init [09:50] dhaivat: Hi everyone. I'm thinking of an idea of a node.js for lua. Same thing, same idea, same async stuff, same function pointers, just with luajit. [09:51] mscdex: TheJH: right, it's not. sysvinit scripts are in /etc/init.d/, upstart scripts are in /etc/init/ [09:52] mscdex: i have to do `apt-get install upstart` to get it install on fresh debian 6, which gives the prompt fille is talking about [09:53] fille: hrm... [09:53] TheJH: mscdex, what do the headers of the files in /etc/init.d look like? [09:53] mscdex: TheJH: sysvinit script headers :-) [09:54] mscdex: fille: maybe you could try upgrading to upstart in a vm first if you want to make sure it won't do anything crazy? [09:55] TheJH: mscdex, why do that? I'd just cancel [09:55] kulor-uk has joined the channel [09:55] mscdex: fille: but i'd probably just go with the init.d script [09:56] mscdex: TheJH: just a preference, plus upstart allows faster startup times and has easier init scripts [09:56] TheJH: mhm, ok [09:56] mendel_ has joined the channel [09:57] mscdex: the gist for that sample init.d script was huge compared to an upstart script [10:01] Brandonn has joined the channel [10:02] seivan has joined the channel [10:03] jetienne has joined the channel [10:06] ohtogo has joined the channel [10:07] skm has joined the channel [10:07] CIA-65: node: 03Ryan Dahl 07master * rc3ccbea 10/ (7 files in 2 dirs): Upgrade http_parser to 965f91bc76b2d1601e23 - http://bit.ly/r15XoC [10:12] CIA-65: node: 03Ryan Dahl 07gyp * rbd270b4 10/ (183 files in 12 dirs): Remove scons (+13 more commits...) - http://bit.ly/pEEYD3 [10:12] japj has joined the channel [10:17] okuryu has joined the channel [10:18] replore has joined the channel [10:18] japj: ryah: can you still build libuv on mingw? it seems it doesnt build for me anymore with the gyp changes. it might have to do with having a 'normal' python (a non mingw one), but I am not sure (I see slashes toggled the wrong way during CC(target) out/Debug/obj.target/uv/src\uv-common.o) [10:18] replore_ has joined the channel [10:19] japj: ryah: libuv also doesnt build on cygwin anymore (eio.c tries to include linux header files) [10:21] ryah: japj: mingw we need a separate makefile [10:21] ryah: japj: doesn't work with gpy [10:21] ryah: gyp [10:21] ryah: im not interested in maintaining strict cygwin compat through dev [10:21] ryah: we can fix that easly before the 0.6 release [10:22] jetienne: http://documentcloud.github.com/backbone/docs/todos.html i want to do source anotation like this one, which tool support it ? [10:22] japj: also got unresolved externeals for the pound test functions during msvc build [10:23] ryah: japj: please fix [10:23] TheJH: jetienne, looks like docco [10:24] deadman87 has joined the channel [10:24] TheJH: jetienne, http://jashkenas.github.com/docco/ [10:24] jetienne: TheJH: thx [10:24] arnee has joined the channel [10:26] japj: ryah: '../test/benchmark-pound.c' needs to be added to the sources section for 'run-benchmarks' in build\all.gyp [10:27] topaxi has joined the channel [10:27] mscdex: jetienne: could be https://github.com/visionmedia/dox too ? [10:28] mscdex: :S [10:28] hippich has joined the channel [10:29] mscdex: ah, they are similar, but it looks like backbone's docs does use docco [10:29] jetienne: yep, and all that is to publish a webgl tutorial :) so the tool is cool as long as im sure it works :) [10:30] deadman87: hey guys :) [10:30] deadman87: I need some help testing my node.js app :) anyone willing to help a bit? [10:31] deadman87: just deployed it on my vps.. need to see if it can be accessed from outside [10:31] TheJH: deadman87, link? [10:31] deadman87: http://shuffle.im [10:32] mscdex: webgl ftw [10:32] TheJH: deadman87, works [10:32] mscdex: i've been doing a lot of work with osgjs [10:32] mscdex: and it performs really well [10:33] deadman87: what browser u on TheJH? [10:33] matyr has joined the channel [10:33] TheJH: deadman87, google chrome [10:33] deadman87: niice [10:33] sirdancealot has joined the channel [10:33] jetienne: mscdex: and dox is better organized. it assume a lot less on the underlying structure [10:33] japj: deadman87: it is connecting for me atm, can not chat yet (firefox 5) [10:33] deadman87: wait japj.. lemme disconnect and reconnect.. I should find u next [10:34] TheJH: deadman87, you can do cross-brower-testing at http://browserling.com/ [10:34] deadman87: thanks TheJH.. didnt knw that site existed [10:34] deadman87: lol [10:34] SubStack: it's true [10:34] mscdex: deadman87: hrmm, no love on chromium 14 [10:34] TheJH: deadman87, it fails immediately on IE5.5 [10:34] mscdex: oh there it connected [10:34] mscdex: too a long time :S [10:34] SubStack: TheJH: plus, something even crazier is in the works bwahaha [10:34] deadman87: I couldnt get websocket/flashsocket to work all day [10:35] deadman87: lol IE5.5 :P [10:35] TheJH: SubStack, any details? or is it secret? [10:35] deadman87: mscdex: its a 1 on 1 chat [10:35] mscdex: deadman87: ah, i see [10:35] deadman87: the more users there are.. more quicker u will connect [10:36] SubStack: TheJH: well you'll be able to write a test.js and curl it at testling.com [10:36] SubStack: and it will run your test.js accross all the browsers [10:36] mscdex: deadman87: just a suggestion, maybe have some kind of status message letting the user know if it's connecting or waiting for someone [10:36] mscdex: deadman87: in case of connection issues [10:36] Twelve-60: anyone have a good reference for how to properly use prototypal inheritance (can you call super methods etc?) [10:36] deadman87: excellent idea mscdex.. Lemme implement that [10:36] CIA-65: libuv: 03Ryan Dahl 07master * r60e9731 10/ build/all.gyp : Add pound benchmark. - http://bit.ly/p6cRsW [10:36] CIA-65: libuv: 03Ryan Dahl 07master * r48877ed 10/ build/gyp_uv : Work around GYP bug - use absolute paths - http://bit.ly/qT95M6 [10:36] TheJH: SubStack, and the test.js can do stuff like browser.loadSite("http://foo.bar/")? [10:36] SubStack: yep! [10:37] deadman87: brb ppl [10:37] deadman87: :) [10:37] deadman87 has left the channel [10:37] TheJH: SubStack, wooah! [10:37] mscdex: Twelve-60: require('util').inherits(MyObj, ObjToInheritFrom); [10:38] japj: ryah: damn, I just send a pull request, nvm [10:38] Twelve-60: mscdex: I see, is there a way to call a super method? [10:38] jacobolus has joined the channel [10:38] SubStack: TheJH: and much more fanciness than just that, but I'll let that be a pleasant surprise once it goes live [10:39] mscdex: Twelve-60: you just call it on the instance. if ObjToInheritFrom or any of its parents have a function called 'foo', you'll have access to that on instances of MyObj [10:39] TheJH: SubStack, :) [10:39] SubStack: so once that comes out nobody will have an excuse for not writing browser unit tests [10:39] mscdex: Twelve-60: just make sure you call .inherits() before you start adding to the object's prototype though [10:40] Twelve-60: mscdex: but say you override it, can you call the parents from within (e.g. override the constructor with extra functionality and then call the basic parents contructor) [10:40] Twelve-60: e.g. this.super() in java/classical [10:40] mscdex: Twelve-60: yes, you actually have to do that manually iirc in js. it doesn't call the parent constructor automatically [10:41] Twelve-60: mscdex: fair enough, any idea how? :D or something to read on it [10:42] jacobolus has joined the channel [10:42] dexter_e has joined the channel [10:42] mscdex: Twelve-60: so, inside MyObj's constructor: ObjToInheritFrom.call(this); [10:42] Twelve-60: i see [10:42] skm has joined the channel [10:43] mscdex: and if you need to pass in arguments, you can do that too, or use .apply depending on your needs [10:43] jbrokc has left the channel [10:44] Twelve-60: mscdex: thanks :) [10:44] mscdex: np [10:44] Sami_ZzZ_____ has joined the channel [10:46] matyr_ has joined the channel [10:47] robi42 has joined the channel [10:48] CIA-65: node: 03Peter Bright 07gyp * r13d6a1f 10/ (10 files): Basic VC++ compatibility work. - http://bit.ly/nWmzqA [10:48] CIA-65: node: 03Ryan Dahl 07gyp * r88afc40 10/ (25 files in 8 dirs): Upgrade libuv to 48877ed - http://bit.ly/oFjlb9 [10:48] CIA-65: node: 03Ryan Dahl 07gyp * r610436f 10/ deps/http_parser/http_parser.gyp : clean merge scabs - http://bit.ly/omHSLY [10:48] CIA-65: node: 03Ryan Dahl 07gyp * r3ebbf6e 10/ src/node_net.cc : Complete eio upgrade - http://bit.ly/oO2jfF [10:49] Sami_ZzZ_____ has joined the channel [10:50] whitman has joined the channel [10:53] japj: ryah: it seems the MSVC debug build does not contain debug symbols for debugging. does that ring a bell? [10:54] ryah: japj: no [10:54] ryah: japj: libuv? [10:54] japj: ryah: I had to manuall go to the linker settings and enable generate debug info. yes libuv [10:55] ryah: japj: there's probably some flag we can set... [10:55] japj: I dont know if gyp is supposed to do that or that you need to do it manually [10:55] Sami_ZzZ______ has joined the channel [10:55] simenbrekken has joined the channel [10:55] H4ns`` has joined the channel [10:58] metaverse has joined the channel [10:58] jbrokc has joined the channel [10:58] jbrokc: why the hell do people use tags for buttons? [10:59] Twelve-60: mscdex: any idea if util.inherits is similar to Object.create() [11:00] Wa has joined the channel [11:00] `3rdEden has joined the channel [11:01] japj: ryah: I'm looking at the chromium v8 gyp file, and it contains a section called VCLinkerTool with a GenerateDebugInformation boolean setting [11:01] mikeal1 has joined the channel [11:01] japj: I'll have a go and see if that works [11:01] markwubben has joined the channel [11:01] mscdex: Twelve-60: https://github.com/joyent/node/blob/master/lib/util.js#L463 [11:01] Xano has joined the channel [11:01] Twelve-60: i see [11:01] Twelve-60: lol [11:01] mscdex: ;-) [11:03] metaverse: I'm writing a proxy server using node where I simply forward data from one end to another. Doing this from client to server I can avoid this by slicing the relevant data in a packet to client and directly sending it to server. I'm able to avoid copying the buffer by using buffer.slice. Is there any way to avoid memory copying when sending data with headers back to client? [11:03] ryah: japj: put it in the configurations -> Debug section [11:03] metaverse: Maybe I could use two writes? [11:03] metaverse: one for headers and one for the data? [11:03] Sami_ZzZ______ has joined the channel [11:04] M_ has joined the channel [11:04] metaverse: sorry, I can avoid memory copy* [11:04] japj: ryah: in chromium it seems to be in a common.gypi with a certain hierarchy of settings, I'm not entirely sure where it needs to end up in all.gyp [11:05] TheJH: metaverse, you probably could [11:06] TheJH: metaverse, but the speed advantage won't be very big unless you're handling very big buffers, and in that case, you're doing something wrong [11:06] TheJH: (imo) [11:06] metaverse: I'm not sure if I'm doing premature optimizations or not.. Maybe I should do some benchmarks and find out? [11:07] metaverse: TheJH: I won't handle huge buffers as I'm working with TCP data I assume. [11:07] TheJH: metaverse, you should build the whole thing the easy, but slow way and then profile the code [11:07] metaverse: TheJH: Ok thanks [11:08] japj: ryah: http://code.google.com/p/v8/source/browse/trunk/build/common.gypi#125 [11:10] odie5533: Is there a way to lazily get the first element of a split()? Should I use indexOf and substring if I only need one part? [11:11] broofa has joined the channel [11:12] TheJH: odie5533, use coffeescript :) : `[firstElement] = str.split delimiter` [11:12] odie5533: I'd rather boil my eyeballs in acid. [11:12] TheJH: heh [11:12] TheJH: why? [11:13] odie5533: It would be far less painful than having to look at coffeescript. [11:13] metaverse: lol!!! [11:14] TheJH: odie5533, why don't you like coffeescript like everyone should? :( [11:14] odie5533: No one uses cs anyways. [11:15] TheJH: odie5533, what? not true. also, how would you write this in JS? !~(type is wanted for [type] in typelist).indexOf false [11:16] odie5533: What form of witchcraft is this?! [11:16] oliland: loll [11:16] Aiden has joined the channel [11:19] TheJH: odie5533, in JS, I'd write this, which is somewhat more: result=true; for (var i=0; i - http://bit.ly/obYm68 [12:50] S1r10n has joined the channel [12:50] S1r10n: Hi [12:51] TheJH: hello S1r10n [12:51] S1r10n: I have trouble retrieving remote_user with node... I can't find anything like basic auth for node [12:51] TheJH: S1r10n, uhm, what is remote_user? [12:52] S1r10n: if you type user:password@url the part before the @ [12:52] S1r10n: I dumped the whole req of my http connection but can't find a match [12:54] TheJH: S1r10n, it's in the headers [12:54] TheJH: S1r10n, look for "basic http auth" or so on english wikipedia [12:54] S1r10n: I have the logged headers right in front of me [12:55] TheJH: S1r10n, do they contain "Authorization"? [12:55] S1r10n: so node is definitely capable and it is really just that I need to require them or smth? [12:55] bradleymeck: Authorization should be set [12:55] bradleymeck: ive used it [12:55] bradleymeck: what version of node? [12:55] S1r10n: 0.5.4-pre [12:56] S1r10n: cloned git about 4 days ago [12:56] TheJH: S1r10n, can you see a "Authorization" header? [12:56] bradleymeck: ACTION goes to pull it master [12:56] S1r10n: no [12:56] brolin has joined the channel [12:56] TheJH: S1r10n, maybe your browser only sends that header after he got a "HTTP/1.1 401 Authorization Required" response with "WWW-Authenticate: Basic realm="Secure Area"" or so [12:57] S1r10n: maybe I just need to "reuire" them... ? [12:57] S1r10n: hm... [12:57] S1r10n: gonna try that (and different browsers) [12:59] jbpros has joined the channel [13:01] xandrews has joined the channel [13:02] bradleymeck: S1r10n : node -e "require('http').createServer(function(req,res){console.dir(req);res.end()}).listen(1337)" works when i use, curl http://bmeck:test@127.0.0.1:1337/pathgoeshere [13:02] S1r10n: thx [13:04] boehm has joined the channel [13:04] industrial: Doing a checkout of node, this command fails; git checkout origin/v0.5.3 [13:04] industrial: error: pathspec 'origin/v0.5.3' did not match any file(s) known to git. [13:05] industrial: How can I see which branches in origin there are? [13:05] Bonuspunk: git tag [13:05] k1ttty has joined the channel [13:06] c4milo1 has joined the channel [13:06] industrial: ok so just git checkout v0.5.3 then ? [13:06] TheJH: industrial, yes [13:07] S1r10n: hmmmmm you are right it works using curl just not with chrome (and firefox, for a different reason) [13:09] TheJH: S1r10n, you have to tell the browser: "No, you DON'T get this without authorization, just send me your password" [13:10] S1r10n: yeah I'm at it just need some time to check the header syntax of node [13:10] S1r10n: wether to send it in the firsst writeHeader or not... [13:11] bradleymeck: S1r10n chrome seems to be stripping them, you have to do the WWW-Authenticate before it will let it happen (and you get a dumb popup) [13:11] TheJH: S1r10n, there's only one call to writeHeader per response [13:11] S1r10n: yeah [13:11] industrial: TheJH: kay, edited the wiki. [13:14] matyr has joined the channel [13:15] aruns has joined the channel [13:15] S1r10n: so I send them away with 401 if they aint have auth credentials and when they return with auth I return 200 ? ... what if I want to have that optional and not strictly required? (strangely I can just pull the auth from a chrome connection on apache/php) [13:15] xandrews has joined the channel [13:16] S1r10n: I'm gonna wireshark this gonna be back when I got it working [13:17] S1r10n has left the channel [13:18] jarek has joined the channel [13:18] jarek has joined the channel [13:18] jarek: Hi [13:19] jarek: which module would be most suitable for getting data from section of any website on the net? [13:19] jarek: so far I have found https://github.com/chriso/node.io, but it seems to be an overkill [13:21] materialdesigner has joined the channel [13:21] sonnym has joined the channel [13:22] d1m1tr1s has joined the channel [13:22] kriszyp has joined the channel [13:22] bradleymeck: jarek you looking for the DOM or just the text? [13:22] aruns: how is node.js using v8 ? is it as a library, or is node.js code a customized version of v8 ? [13:23] bradleymeck: aruns using statically linked lib in standard install [13:23] jarek: if there is this link in head section: "blah" then I would like to retrieve the "blah" text [13:24] metaverse: How can I print info about a caught exception? For example, if I try this: try{ } catch(ex){ console.log(ex); } I get output: {} [13:24] jarek: so I guess it would be enough for me to have just plain text (I can search the value with regExps) [13:24] markwubben has joined the channel [13:24] bradleymeck: jarek node.io or spider, that requires a full xml parse and selectors, avoid regexp with xml, html comments / nesting can f it up [13:25] japj: jarek: you want to parse the html? [13:25] bradleymeck: metaverse, are you looking for the stack trace? ex.stack [13:25] japj: jarek: I think you can use jsdom with jquery for that [13:25] aruns: bradleymeck, thanks. so it implements its own js interpreter with its api on top of v8 ? [13:25] jarek: japj: but parsing the whole document is going to be slow, right? [13:26] metaverse: bradleymeck: Thanks :) [13:26] jarek: is it possible to download just the section? [13:26] gerard0 has joined the channel [13:27] bradleymeck: aruns nope, just bootstraps stuff inside of v8, with some c++ bindings [13:27] bradleymeck: jarek nope [13:27] japj: jarek: I dont think so [13:27] Metal3d has joined the channel [13:27] bradleymeck: jarek if you want you could look into some sax parsing, which would be a little tougher but still pretty workable [13:28] jarek: I think I will just implement this thing on the client side [13:28] jarek: and then send the path to server with websockets [13:29] aruns: thanks bradleymeck [13:31] S1r10n has joined the channel [13:31] aruns: well it looks like what i wanted to customize v8 for is already in node.js. i somehow got the impression that node.js only had server side io - sockets etc. didn't realize they have such an extensive api [13:33] matyr_ has joined the channel [13:34] S1r10n: well I was wrong it's the same deal with php ... and it works :D [13:35] bradleymeck: so you get the authorization in php but not in node when using chrome? [13:37] S1r10n: no I was wrong on php it sends a 401 first too and chrome dosnt send it without getting 401 first either [13:38] TheJH has joined the channel [13:38] TheJH has joined the channel [13:43] jakehow has joined the channel [13:43] akshatj has joined the channel [13:45] hacksparrow has joined the channel [13:45] craigm has joined the channel [13:45] malkomalko has joined the channel [13:50] devongovett has joined the channel [13:50] ironlad has joined the channel [13:51] matyr has joined the channel [13:53] braddunbar has joined the channel [13:58] randal has joined the channel [13:58] bshumate has joined the channel [14:01] pt_tr has joined the channel [14:02] zhujo01 has joined the channel [14:05] jtsnow has joined the channel [14:11] altamic has joined the channel [14:12] mike5w3c_ has joined the channel [14:13] willwhit_ has joined the channel [14:14] hacksparrow has joined the channel [14:15] berak has joined the channel [14:15] SuMarDi has joined the channel [14:15] braddunbar: I get this error http://pastie.org/2330146 when i run "coffee -o lib src on a large amount of files (~350). Is this a node.js error or something that should be handled in user land? [14:16] dexter_e has joined the channel [14:16] svenlito has joined the channel [14:20] zzo has joined the channel [14:22] Sorella has joined the channel [14:23] zzo has left the channel [14:25] aruns: i'm trying to install sqlite3 module using npm install sqlite3. but i'm getting a - /src/database.cc:4:25: fatal error: node_events.h: No such file or directory, how can i tell npm where my node header files are ? [14:26] ryanfitz has joined the channel [14:26] aruns: when the script runs it says node path not found, and node prefix shows ~/local/node . echo $NODE_PATH shows ~/local/node:~/local/node/lib/node_modules [14:26] S1r10n: is the name property of a socket intended for anything or free to use (for a chat app for example) ? [14:27] aruns: named sockets in unix ? [14:27] S1r10n: no [14:27] S1r10n: sockets of socket.io [14:28] aruns: just taking a guess, i'm new to node.js myself. but could it refer to the named sockets in unix [14:28] mike5w3c_ has joined the channel [14:28] S1r10n: don't think so [14:28] mapleman has joined the channel [14:28] S1r10n: they all have their unique id as identifier [14:29] S1r10n: and name is usually blank [14:30] S1r10n: as in the string value is empty [14:33] S1r10n: actually this is the wrong chat [14:34] S1r10n: for my question [14:35] aruns: does anyone know where node_events.h is ? i'm searching for it in the sources and i can't locate it [14:36] brianseeders has joined the channel [14:39] CIA-65: node: 03Logan Smyth 07v0.4 * r3056c2c 10/ doc/api/tls.markdown : [14:39] CIA-65: node: Add documentation for SecurePair and its 'secure' event. [14:39] CIA-65: node: Fixes #1443. - http://bit.ly/opqyCe [14:39] bradleymeck: S1r10n dont mess w/ other interfaces objects, just wrap it, encapsulation and whatnot [14:39] hippich has joined the channel [14:40] S1r10n: I'm trying to understand socket.io I'm not voluntarily messing with it but trying to understand it's features [14:41] bradleymeck: aruns in newer node's eventemitter got put in as pure js not C++ so it doesnt exist anymore i think [14:42] aruns: thanks again bradleymeck, so does that mean that i will have to wait for the modules like sqlite3 that use eventemitter to be updated before i can use them ? [14:43] smus has joined the channel [14:45] xandrews has joined the channel [14:46] Locke23rus has joined the channel [14:49] bradleymeck: aruns i doubt it, most were using it from js, but if they were tying directly in with C++ then yes, so idk what modules are affected [14:50] matyr has joined the channel [14:50] cying has joined the channel [14:52] shanebo has joined the channel [14:54] sivy has joined the channel [14:54] mynyml has joined the channel [14:56] stinnes has joined the channel [14:58] mcmx84 has joined the channel [15:00] mcmx84: Hey, i got a problem with install npm, "graceful-fs" not found. I'm running node 4.10, it seams to have started with a failed update of npm that i interupted. Any ideas? [15:00] SuMarDi has joined the channel [15:01] CIA-65: libuv: 03Ben Noordhuis 07master * r351a332 10/ build/gyp_uv : build: don't assume python lives at /usr/bin/python - http://bit.ly/oJnixq [15:01] CIA-65: libuv: 03Ben Noordhuis 07master * r62d1c57 10/ src/uv-unix.c : uv-unix: fix warning: passing argument 1 of ‘eio_custom’ from incompatible pointer type - http://bit.ly/ooOXma [15:02] elzr has joined the channel [15:04] elzr: hi all, I'm toying with a silly idea: using JSON files for storage [15:04] elzr: not a JSON-based NOSQL like mongodb [15:04] elzr: but actual plain-text JSON files [15:04] telemachus: elzr: just raw objects [15:04] telemachus: lua does it, I believe, why not [15:05] elzr: telemachus: so what would be a good way to go about it? I mean, I figure node.js being javascript would be able to read the files directly [15:05] elzr: telemachus: but how would I save my JS objects to files and back again [15:05] elzr: telemachus: I mean, is there any framework for working this way? [15:06] telemachus: elzr: http://nodejs.org/docs/v0.4.10/api/fs.html [15:06] telemachus: though there are probably already better abstraction layers [15:06] telemachus: I don't know well enough to recommend one or another though, sorry [15:06] elzr: telemachus: ah! beautiful, thanks for the pointer... let me play with this (I'm extremely new to Node.js) [15:06] davidcoallier has joined the channel [15:07] telemachus: cool, good luck [15:08] zastaph: do I put -g for npm update too if its for a global package? [15:08] D3Vito has joined the channel [15:08] mynyml: elzr: http://nodejs.org/docs/v0.5.2/api/all.html#executing_JavaScript [15:08] chapel: elzr: https://github.com/sleeplessinc/ds << there is an example if you want to take a look or use it [15:09] mcmx84: any ideas on this missing graceful-fs? Its a bit urgent, thanks [15:10] dhaivat has joined the channel [15:10] openpercept has joined the channel [15:10] Brian` has joined the channel [15:10] jkreeftmeijer__ has joined the channel [15:10] elzr: oh boy, all these pointers look great, thanks, I'm tempted to blow away the whole weekend pursuing this... [15:11] firedfox has joined the channel [15:17] jkreeftmeijer__ has left the channel [15:19] hippich has joined the channel [15:19] hippich has joined the channel [15:20] SoulRaven has joined the channel [15:21] mcmx84: no? [15:21] mcmx84: ok then [15:23] catb0t has joined the channel [15:24] catb0t has joined the channel [15:26] jhbot has joined the channel [15:27] TheJH: this is a test, please ignore, and I have problems installing npm because of some graceful-fs error [15:27] jhbot: TheJH, if you have problems installing npm because of some 'graceful-fs not found' error, your node.js version is outdated. [15:27] TheJH: :) [15:27] slifty has joined the channel [15:31] tobmastr has joined the channel [15:32] kenperkins has joined the channel [15:33] piscisaureus has joined the channel [15:33] matyr_ has joined the channel [15:35] jerrysv has joined the channel [15:37] newy has joined the channel [15:37] slifty has joined the channel [15:38] andrewvos has joined the channel [15:39] xandrews has joined the channel [15:41] mehlah has joined the channel [15:41] kriszyp has joined the channel [15:42] c4milo1 has joined the channel [15:44] diogoneves has joined the channel [15:45] cafesofie has joined the channel [15:48] hkjels_ has joined the channel [15:48] dan84a has joined the channel [15:48] FM has joined the channel [15:49] FM: hi.. greeting to all node peeps [15:49] FM: can someone assist me on brunch? [15:49] liquidproof has joined the channel [15:50] TheJH: FM, assist you with what? [15:50] cying has joined the channel [15:51] TheJH: FM, also, don't ask "may I ask" or "can someone assist me", just state your actual question [15:52] fille has joined the channel [15:52] FM: i tried to scaffold application using 'brunch' [15:52] fille: alloha [15:52] FM: but no luck running the server js [15:52] TheJH: FM, what is "brunch"? [15:52] TheJH: FM, are you talking about "git branch"? [15:54] unlink has joined the channel [15:54] unlink has joined the channel [15:54] dan84a: can anyone help me sort out npm. It says "graceful-fs" is not found when i tried to update it, after uninstalling all my modules! [15:54] jhbot: dan84a, if you have problems installing npm because of some 'graceful-fs not found' error, your node.js version is outdated. [15:54] TheJH: dan84a, what my bot said :) [15:54] dan84a: ?im running 0.4.10 [15:54] FM: not git branch [15:55] newy: brunch: http://brunchwithcoffee.com/ [15:55] FM: https://github.com/brunch/brunch [15:55] FM: yep [15:55] FM: thanks newy [15:55] TheJH: dan84a, are you sure? are you using "sudo" to install npm? [15:55] dan84a: im doing it as root [15:55] newy: FM: what is the command you're using to run the server? coffee server.coffee? [15:56] TheJH: dan84a, what does "node -v" as root say? [15:56] TheJH: *as root* [15:56] dan84a: v0.4.10 [15:56] TheJH: huh? [15:56] TheJH: dan84a, that's really weird [15:57] FM: i'm trying node server.js (after compile it) [15:57] FM: but it can't locate middleware/modules [15:57] TheJH: dan84a, can you gist the output of your attempt to update it? [15:57] dan84a: what happened was i did the normal install of npm to update it and it froze on "node cli.js rm npm -g -f --loglevel error" i run that command seperately i get the missing error [15:57] dan84a: i used the script [15:58] dan84a: updated node from .8 to .10 then npm [15:58] TheJH: dan84a, could you gist the output? [15:58] eastender has joined the channel [15:58] dan84a: gist? [15:59] bksf has joined the channel [15:59] TheJH: !@dan84a mem gist [15:59] jhbot: dan84a, Gist is kind of a pastebin. Every paste is a git repo. https://gist.github.com/ [15:59] simenbrekken has joined the channel [15:59] necrodearia has joined the channel [16:00] kenperkins has joined the channel [16:01] fille: anyone on from @hacknight.se [16:01] fille: here+ [16:01] dan84a: TheJH git://gist.github.com/1129462.git [16:02] TheJH: dan84a, you originally did the curl|sh thing, right? [16:02] dan84a: yeah now i tried the tarball [16:02] pickels has joined the channel [16:03] TheJH: dan84a, could you gist the output of the curl|sh thing? [16:04] dan84a: TheJH: git://gist.github.com/1129465.git [16:05] ns5 has joined the channel [16:05] TheJH: dan84a, it says that you already have 1.0.22 installed [16:06] spathi has joined the channel [16:06] newy: FM: i believe the right way to use brunch is with "brunch watch" and "brunch build" [16:06] TheJH: dan84a, for updating versions newer than 0.x, you should AFAIK do "npm update npm" anyway [16:06] dan84a: i know, however it isn't npm does is command not found [16:07] ns5: How many tcp connections can node.js maintain at the same time? Since node.js is single process and file descriptor is an integer, I assume it's 32767? I could be wrong. But I'm really curious [16:07] newy: i just tired it myself works fine. brunch watch for localhost preview, then brunch build compiles to html/js [16:07] TheJH: dan84a, calling "npm" says "command not found"? [16:07] dan84a: TheJH, yes [16:08] dan84a: TheJH, can i clean npm off, its finding something somewhere [16:08] TheJH: dan84a, hmm... does "/usr/local/bin/npm -v" work? [16:08] FM: newy: can you assist how to run server file on brunch. should $node server.js [16:08] dan84a: TheJH,nope, i grepped find npm and its no where on the system [16:09] newy: FM: use "brunch watch" instead. you don't start the server directly [16:10] TheJH: dan84a, https://github.com/isaacs/npm/blob/master/doc/removing-npm.md , section "More Severe Uninstalling" could help [16:11] FM: newy: i've already 'brunch watch .' . but when tried to run $ node server.js.. it cant file modules (e.g: express). tried to npm install express inside brunch folder, but failed [16:11] TheJH: dan84a, which OS/distribution are you using? [16:12] dan84a: Debian 6.0 and running through those commands didn't help [16:12] dan84a: sorry deb 5.0 [16:12] newy: FM: ok if brunch watch works, then run brunch build. it will generate a html file in /build. you just open it in browser. [16:12] TheJH: dan84a, is that etch or squeeze? [16:12] dan84a: etch [16:13] matyr has joined the channel [16:14] tylergillies has joined the channel [16:14] tylergillies: whats the name of the javascript testing page where theres like 4 boxes one for html, one for javascript, etc [16:14] tylergillies: called jsflurry or something similar [16:14] tylergillies: can't remember exact name [16:15] TheJH: dan84a, maybe you have to reinstall node or so? I really have no idea, but maybe it helps. I remember successfully running npm on squeeze, but that was 0.2.something [16:15] FM: newy: owh, by it's mean that i dont have to run node to start the app? [16:15] dan84a: i have tried removing node using make uninstall [16:16] c4milo1 has joined the channel [16:16] p6 has joined the channel [16:16] TheJH: anyone here who uses node and npm on debian etch? [16:16] FM: tylergillies: jsfiddle? jsbin? [16:16] newy: FM: correct [16:16] mendel_ has joined the channel [16:17] tylergillies: FM: jsfiddle!!!! thats it thanx [16:17] dan84a: Think im really stuck :S [16:18] FM: newy: but how do i run this: https://github.com/brunch/example-todos/ inside my local? no need to run brunch/server/main.js? [16:18] TheJH: dan84a, maybe you have to update to squeeze? [16:18] dan84a: possible, altho this is a production server [16:18] TheJH: dan84a, aww :( [16:19] dan84a: maybe i should retry installing the older version of everything [16:19] dan84a: i was running npm 0.3 i think [16:20] mendel_ has joined the channel [16:21] TheJH: dan84a, you could wait for isaacs to come online or write him a mail or so [16:21] bradleymeck: anyone know if there is a way for uglifyjs to include comments in its ast? [16:21] dan84a: yeah, ill hang about a bit and try and have a chat with him [16:22] TheJH: bradleymeck, what do you want that for? [16:22] dan84a: i see what the problem is, node isn't looking in node_modules [16:22] tmzt_ has joined the channel [16:23] dan84a: of the running directory [16:23] bradleymeck: messing around w/ type tracing still [16:23] newy: FM either brunch build and open up build/index.html or brunch watch and go to localhost:8080 [16:23] Xano has joined the channel [16:23] TheJH: dan84a, node >= 0.4 does that [16:23] dan84a: i just tried 0.3 of npm and semvar can't be found and thats in the node_modules folder [16:24] dan84a: there isn't a reason why it might not do that? [16:25] diogosnows: :quit [16:25] diogosnows: ups, wrong window :) [16:25] diogosnows has left the channel [16:26] TheJH: bradleymeck, uglify seems to attach a "comments_before" property to tokens [16:27] bradleymeck: mmm im not seeing it, but maybe i need to do something w/ the parse function... [16:27] TheJH: bradleymeck, you need to patch "walk" to copy properties, I think [16:28] TheJH: bradleymeck, every walk destroys attached stuff by default [16:28] bradleymeck: ugg [16:28] TheJH: :D [16:32] steffan_ has joined the channel [16:33] ryanfitz has joined the channel [16:39] thinkt4nk has joined the channel [16:43] WarriorSl has joined the channel [16:44] Swizec has joined the channel [16:45] charleyd has joined the channel [16:45] jbrokc has joined the channel [16:48] arnee has joined the channel [16:48] webben has joined the channel [16:48] webben has joined the channel [16:48] meandi2 has joined the channel [16:50] adambrault has joined the channel [16:50] fille: trying to get this deamon working [16:51] dan84a: TheJH fixed it. Install done 0.5.3 which allowed me to get npm installed, then reinstall 0.4.10. my apps up and running now :) [16:52] fille: what [16:52] tprice has joined the channel [16:53] mendel__ has joined the channel [16:53] dan84a: i should punctuate that.. [16:53] matyr_ has joined the channel [16:53] dan84a: TheJH, i managed to fix it. I installed node 0.5.3 which allowed me to get npm installed, then reinstall 0.4.10. my apps up and running now :) [16:54] tprice: hey all hope we are doing well. im trying to install "node-mongodb-native" and im getting this error https://gist.github.com/1129510 [16:54] tprice: any advice? [16:55] tprice: and im running debian 6 with node v0.5.3-pre [16:55] bradleymeck: tprice the move from eventemitter to pure js rather than C++ means node-mongodb-native must be updated for node 0.5.x [16:56] MooGoo: as with many other nodejs modules [16:56] tprice: my version is "v0.5.3-pre" should it not be a pre version? [16:57] MooGoo: use .4.x [16:57] tprice: crap [16:57] tprice: ok [16:57] kriszyp has joined the channel [16:58] jbrokc has joined the channel [16:58] tprice: what about hummingbird that should run on .5.x? [17:02] boaz has joined the channel [17:02] jetienne has joined the channel [17:03] jMerliN has joined the channel [17:05] TheJH: tprice, sure that it needs 0.5.x? [17:05] sivy has joined the channel [17:06] fille: so if i install upstart on a debian system [17:09] tprice: TheJH dont really know [17:09] tprice: i tried mongoosejs but dont like it to much [17:10] dambalah has joined the channel [17:10] TheJH: tprice, https://github.com/mnutt/hummingbird says node.js v0.2.0 [17:11] FireFly|n900 has joined the channel [17:13] slifty has joined the channel [17:13] jeromegn has joined the channel [17:14] xerox: tprice: why not node-mongodb-native [17:14] tprice: yeah i think i might install .4.x [17:14] tprice: same issue here http://groups.google.com/group/node-mongodb-native/browse_thread/thread/9cee9a2fcb10e226 [17:14] maushu has joined the channel [17:16] xandrews has joined the channel [17:16] tprice: 0.4.10 should work with node-mongodb-native? [17:18] cying has joined the channel [17:20] tprice: lol well we will find out [17:21] losing has joined the channel [17:23] alnewkirk has joined the channel [17:24] matomesc has joined the channel [17:24] towski has joined the channel [17:24] hippich has left the channel [17:25] towski has joined the channel [17:25] jeromegn: Having quite a bit of trouble with express.js right now. Used to work fine. I practically copied over code from another project, but now it won't parse my body on a post request. I have bodyParser() in there, but req.body is always undefined. [17:26] tprice: ok now a new error https://gist.github.com/1129541 [17:26] tprice: i thought that node-mongodb-native was top notch [17:26] tprice: does not seems so [17:27] mikeal has joined the channel [17:27] fille_ has joined the channel [17:32] chalaschek has joined the channel [17:39] Isaiah has joined the channel [17:41] necrodearia has joined the channel [17:45] tprice: has anyone used https://github.com/amark/mongous for mogodb? [17:45] fson_: how can I install express with node v0.5.3-pre? [17:45] mraleph1 has joined the channel [17:46] fson_: I tried npm install express, but got "Not compatible with your version of node/npm" [17:47] materialdesigner: fson_: https://github.com/visionmedia/express/blob/master/package.json [17:47] materialdesigner: that's because it's not compatible with 0.5.x [17:51] X_LoLka has joined the channel [17:52] jbrokc has joined the channel [17:52] X_LoLka has left the channel [17:53] fyskij has joined the channel [17:55] davidascher has joined the channel [17:56] tuhoojabotti: :D [17:56] tuhoojabotti: Innovative topic [18:04] dgathright has joined the channel [18:05] smtlaissezfaire has joined the channel [18:06] slifty has joined the channel [18:06] ryanfitz has joined the channel [18:09] visudo has joined the channel [18:09] jakehow has joined the channel [18:11] piscisaureus has joined the channel [18:12] rfay has joined the channel [18:13] matyr has joined the channel [18:14] spathi has joined the channel [18:14] wookiehangover has joined the channel [18:15] odie5533: Do MongoDB and Redis run as a daemon application? or are they started with node? [18:15] TheJH: odie5533, afaik, they're deamons that you have to run seperately [18:19] AvianFlu has joined the channel [18:20] Me1000 has joined the channel [18:22] racar: odie5533, Yes it's a deamon aka "redis-server" [18:23] versicolor has joined the channel [18:24] Aiden_ has joined the channel [18:26] FM: have anyone use connect-access-control? [18:27] blup has joined the channel [18:28] CrabDude has joined the channel [18:28] tar_ has joined the channel [18:28] draginx has joined the channel [18:29] draginx: What's the best way to get a node app to take in authentication from a ruby app/sinatra? [18:30] vengeancex32 has joined the channel [18:31] materialdesigner: parse request data? [18:31] materialdesigner: or Authentication headers? [18:31] draginx: uhm [18:31] draginx: well my situation is that I have multiple teams and each team has a chatroom [18:32] sonnym has joined the channel [18:32] draginx: I essentially dont want players from Team B to be able to read from Team A's chatroom… so whichever system works best for that O_o [18:32] agnat_ has joined the channel [18:32] materialdesigner: is the chatroom coded in ruby? [18:32] draginx: It's an incredibly basic socket.io chatroom besides the authentication part which I would like to build somehow O_o [18:33] draginx: Uhh no, but the players will be viewing the website thats coded in ruby (the actual pub/sub would be socket.io and the actual pushing and pulling of data would be node) [18:33] mikedeboer has joined the channel [18:33] draginx: Does that make sense? :S [18:36] materialdesigner: I believe so [18:36] madsleejensen has joined the channel [18:36] materialdesigner: do you have some form of "User system" ? [18:36] materialdesigner: or is it just "go to this link" ? [18:36] draginx: yeah [18:36] draginx: i mean in ruby [18:37] draginx: user system [18:37] materialdesigner: you can try adding in user information in cookies [18:37] steffan_ has joined the channel [18:38] socketio\test\67 has joined the channel [18:39] rickharrison has joined the channel [18:39] neorab has joined the channel [18:40] Aiden has joined the channel [18:40] vid__ has joined the channel [18:41] perezd has joined the channel [18:42] hybsch has joined the channel [18:42] matyr has joined the channel [18:43] langworthy has joined the channel [18:46] fson_: which version of node should I install to use express? [18:46] japj: 0.4.10? [18:46] japj: 0.4.x is the stable series [18:46] materialdesigner: 0.4.9 [18:47] japj: 0.5.x is currently the development tree, so not all libraries support it yet (some of the node API is changing in 0.5.x) [18:47] materialdesigner: 0.4.10 isn't under package.json for express [18:47] materialdesigner: https://github.com/visionmedia/express/blob/master/package.json [18:47] japj: ok, atleast it is a 0.4.x one ;) [18:47] materialdesigner: oh wait, maybe that's the other direction [18:47] materialdesigner: lol [18:47] materialdesigner: nvm [18:51] guillermo has joined the channel [18:53] odie5533: Does Node.JS have a goto statement? [18:54] odie5533: If not, it should add one. [18:54] csm has joined the channel [18:55] mynyml: odie5533: https://developer.mozilla.org/en/JavaScript/Reference/Statements/label [18:55] TheJH: odie5533, "do { ... break; ... } while(false);" should work for many cases :D [18:55] TheJH: odie5533, but really, goto shouldn't be necessary [18:55] TheJH: odie5533, could you gist your code? [18:55] mynyml: odie5533: node.js is not language syntax, javascript is [18:56] odie5533: TheJH: hah not a chance. I don't need everyone else laughing at my code. Having myself laugh is enough. [18:56] dguttman has joined the channel [18:58] brainproxy: odie5533: javascript supports block labels and in looping code you can make use of "break" and "continue" [18:58] `3rdEden has joined the channel [18:58] brainproxy: also, you can logical sections of code into functions [18:58] brainproxy: and then in your branching logic, execute whatever function is appropriate [18:59] odie5533: I do that already. But I felt like using a goto in one of my deep loops. I'll try the label break instead. [18:59] brainproxy: you can *organize logical... [18:59] brainproxy: you might find switch/case helpful too [19:00] muhqu_ has joined the channel [19:00] mikeal has joined the channel [19:00] PatrickC has joined the channel [19:00] PatrickC has left the channel [19:02] brainproxy: also, in javascript functions are first class objects, so you can pass them around: as arguments in other functions, as the return value of functions, etc. [19:05] adrianmg has joined the channel [19:05] bradleymeck has joined the channel [19:06] TheFuzzball has joined the channel [19:07] dambalah has joined the channel [19:07] dguttman has joined the channel [19:08] fille_: ee got some problem started node like node ./myproxy.js | tee -a node.log & [19:08] fille_: how do i end it [19:08] brainproxy: fille_: you need the pid [19:09] brainproxy: try: ps ax | grep -i node [19:09] fille_: i have a pid [19:09] xerox: or you can use some library for logging, like winston [19:09] fille_: but how do i kill a process with pid [19:10] brainproxy: fille_: kill command [19:10] brainproxy: kill pid [19:10] fille_: aa greate ! [19:10] ericmuyser has joined the channel [19:10] patcito has joined the channel [19:10] fille_: thanks mate! [19:11] brainproxy: yw :) [19:11] odie5533 has left the channel [19:13] CIA-65: libuv: 03Jeroen Janssen 07master * rd9b0534 10/ (build/gyp_uv build/common.gypi): [19:13] CIA-65: libuv: gyp: enable debug symbols with MSVC [19:13] CIA-65: libuv: Fixes #130. - http://bit.ly/r5S8Kb [19:13] CIA-65: libuv: 03Andrea Lattuada 07master * r6c32055 10/ src/uv-unix.c : [19:13] CIA-65: libuv: Remove uv_flag_* functions in favor of manual bit twiddling [19:13] CIA-65: libuv: Fixes #121 [19:13] CIA-65: libuv: Fixes #129 - http://bit.ly/pdbqxf [19:13] tilgovi has joined the channel [19:13] Stythys has joined the channel [19:13] tilgovi has joined the channel [19:14] xandrews has joined the channel [19:15] Anton_: bnoordhuis: are you here? [19:17] reid has joined the channel [19:17] aoberoi has joined the channel [19:18] aoberoi has joined the channel [19:19] tracker1 has joined the channel [19:20] tphummel has joined the channel [19:21] dguttman_ has joined the channel [19:22] mehlah has joined the channel [19:24] matyr has joined the channel [19:28] meandi has joined the channel [19:28] fille_: http://www.mynodejs.com/ [19:28] fille_: lol [19:29] fille_: lol cunt fucker [19:30] fille_: thats the best u got?" [19:31] materialdesigner: and twatwaffle [19:31] materialdesigner: also not allowed :( [19:31] fille_: saw everything [19:31] fille_: :( [19:31] materialdesigner: not letting me verify my passphrase [19:31] materialdesigner: ACTION is sad [19:32] fille_: its a real mud [19:32] fille_: im just proxying it [19:32] materialdesigner: lol [19:32] materialdesigner: so you can netmonitor it? [19:32] materialdesigner: doucheeee [19:33] kenperkins has joined the channel [19:33] fille_: well thats not the plan [19:33] fille_: https://github.com/fille/node-mume [19:33] smus_ has joined the channel [19:34] clifton has joined the channel [19:40] Dohsane has joined the channel [19:42] admc has joined the channel [19:42] dohsane_ has joined the channel [19:43] dambalah has left the channel [19:44] boaz has joined the channel [19:44] galaxywatcher has joined the channel [19:45] Cromulent has joined the channel [19:47] chjj has joined the channel [19:49] orijnal has joined the channel [19:50] jhurliman has joined the channel [19:50] fille_: how is spamming me [19:50] fille_: who [19:54] isaacs has joined the channel [19:55] shadow_s has joined the channel [19:55] zivester has joined the channel [19:55] chjj has joined the channel [19:56] aoberoi has joined the channel [19:56] symbel has joined the channel [19:57] dgathright has joined the channel [20:01] smtlaissezfaire has joined the channel [20:01] AvianFlu has joined the channel [20:01] temp01 has joined the channel [20:01] pixelhandler has joined the channel [20:02] pixelhandler: anyone use brew to update node to 0.4.10 ? [20:06] Laurent1 has joined the channel [20:06] mike5w3c has joined the channel [20:09] Destos has joined the channel [20:10] McMAGIC--Copy has joined the channel [20:10] blueadept has joined the channel [20:10] blueadept has joined the channel [20:10] Guest62714 has joined the channel [20:11] jbpros has joined the channel [20:12] zomgbie has joined the channel [20:13] FMJag has joined the channel [20:16] ghost has joined the channel [20:16] draginx: Is there an equivalent of datamapper for nodejs? [20:18] boaz has joined the channel [20:18] Xano has joined the channel [20:19] randallagordon has joined the channel [20:23] dguttman has joined the channel [20:24] VeXii has joined the channel [20:26] DrLou_ has joined the channel [20:26] DrLou_ has left the channel [20:26] mikeal has joined the channel [20:27] DrLou has joined the channel [20:27] freewil: ACTION is away: I'm away [20:28] DrLou: hello, node-ers! [20:28] DrLou: trying to build - getting some libv8 errors [20:28] jbomb has joined the channel [20:28] parshap has joined the channel [20:29] DrLou: getting task failed (err #2): {task: libv8.a SConstruct -> libv8.a} -- looks a bit pythonic to me. Any ideas? [20:29] jbomb: The command 'npm update node' is not updating my Node version to the latest (0.4.10). How can I do that from the command line? [20:29] materialdesigner: use a version manager? [20:29] atmos has joined the channel [20:29] skm has joined the channel [20:29] jbomb: nvm? [20:29] materialdesigner: or n [20:30] jbomb: I can't just grab the latest node from npm? [20:30] bksf has joined the channel [20:30] TooTallNate has joined the channel [20:30] materialdesigner: ... [20:30] jbomb: Helpful. [20:31] VeXii: think you have to build it youre self each time [20:32] atmos: is there a constant i can easily check to get the verion of node that's running ? [20:33] atmos: nm, process.version seems to work [20:33] jbomb has joined the channel [20:33] jbomb has left the channel [20:33] DrLou: speaking of versions, anybody want to offer build advice - particularly for multiple versions? IE, layout suggestions, best practices, etc.? [20:33] materialdesigner: atmos: separate from node --version? [20:34] lazybean has joined the channel [20:34] materialdesigner: ah from within code [20:34] jbomb has joined the channel [20:35] jbomb: Sorry, I am a bit confused. NPM is for packages, but not base Node, whereas NVM is Node version management? [20:35] isaacs: jbomb: yes, that's what nvm is [20:35] materialdesigner: correct [20:35] isaacs: jbomb: there's also nave, nodeenv, and n [20:36] jbomb: Ok thank you. I previously had installed Node via NPM, which is why I was a bit confused. It is still listed if I 'npm list'. [20:36] materialdesigner: isaacs: you can't install any of those via npm, can you? [20:36] materialdesigner: I remember the github commit message being something like "nvm doesn't belong as an npm module" [20:36] febits has joined the channel [20:37] bnoordhuis: Anton_: i am now - are you? [20:38] robhawkes has joined the channel [20:39] Anton_: bnoordhuis: yep [20:40] Anton_: bnoordhuis: I wanted to talk about segfault bug I had couple days age, do you remember? [20:40] Anton_: I think I know the reason of that segfault [20:40] bnoordhuis: Anton_: yes? [20:40] Anton_: it looks like when you intensively use http [20:40] Anton_: and have a lot of long living requests [20:41] Anton_: like timeouted, or with huge bodies [20:41] Anton_: objects, created within those requests survive garbage collection [20:41] Anton_: and stays there forever [20:42] Anton_: and amount of that objects grow and grow [20:42] Anton_: and eventually V8's GC fails [20:42] Anton_: i've made a test app [20:42] bnoordhuis: cool, can i see it? [20:42] Anton_: on the server with nginx [20:42] wookiehang0ver has joined the channel [20:42] Anton_: i send request to localhost [20:42] Anton_: intensively [20:42] Anton_: it works fine [20:43] Anton_: but when i artificially throttle nginx [20:43] Anton_: those undestroyed objects appear [20:43] Anton_: i see them throug profile [20:43] Anton_: heap snapshot [20:43] Anton_: https://gist.github.com/1129725 [20:44] Anton_: that's the code I used [20:44] Anton_: to reproduce [20:45] bnoordhuis: Anton_: that's the client end of the test case? [20:45] Anton_: bnoordhuis: so, you understood the idea of test? [20:45] Anton_: the other end is nginx [20:45] Anton_: which serves index.html [20:46] bnoordhuis: Anton_: to recap: you have a node.js script that fetches a static file served by nginx [20:46] Anton_: yep [20:46] bnoordhuis: and the script eventually fails with an out of memory error? [20:46] Anton_: 1 test - let nginx work in full speed [20:46] Anton_: 2 test - artificially slow nginx [20:46] Anton_: yes, in 2nd case node fails with segdault [20:46] Anton_: _segfault [20:47] bnoordhuis: Anton_: this was on i386 linux right? what version of node? [20:47] Anton_: any version of node [20:47] Anton_: x32 and x64 [20:47] Anton_: i've tested 0.4.10, 0.5.2, 0.5.3, 0.5.4-pre [20:47] bnoordhuis: and how long does it take? [20:48] dev_ has joined the channel [20:48] dev_: hi [20:48] Anton_: I think it takes about an hour [20:48] Anton_: but it can depend on the machine [20:48] Anton_: i've tested on the vps with 600Mgz cpu and 1GB ram [20:48] bradleymeck has joined the channel [20:48] bnoordhuis: okay. when you say slow down nginx, how much / in what way is it slowed down? [20:49] davidascher has joined the channel [20:49] dev_: Does anyone know if there is any good file severing module with gzip support? (no express, connect. because my program doesnt support restful) [20:49] dguttman has joined the channel [20:49] ryanfitz has joined the channel [20:50] Anton_: i used limit_req_zone module for nginx (goes with nginx >=0.7) [20:50] dev_: m.. is there any module for Nodejs? [20:50] Anton_: limit_req_zone $binary_remote_addr zone=one:10m rate=47r/s; [20:50] Anton_: and in server/location zone 'limit_req zone=one burst=49;' [20:51] Anton_: that was enough to see how the amount of garbage objects starts to grow [20:51] jarek has joined the channel [20:51] jarek has joined the channel [20:51] bnoordhuis: Anton_: er, what does that mean? 47 requests/s? [20:51] febits has joined the channel [20:51] Anton_: bnoordhuis: test app does 50 requests per second [20:51] Anton_: we throttle it to 47 [20:52] bnoordhuis: ah right, i get it [20:52] mikeal has joined the channel [20:52] bnoordhuis: so you get a backlog [20:52] simenbrekken has joined the channel [20:52] Anton_: you can try to play with those numbers [20:52] shanebo has joined the channel [20:52] Anton_: to get it faster [20:52] dev_: Does anyone know if there is any good file severing module with gzip support for Nodejs? (no express, connect. because my program doesnt support restful) [20:52] Anton_: 'backlog' you mean stack trace? [20:52] Anton_: it fails in different places [20:52] dguttman has joined the channel [20:53] bnoordhuis: Anton_: no, a backlog of pending requests [20:53] Anton_: ah, yes [20:53] Anton_: so some request get longer to be served [20:54] bnoordhuis: Anton_: do you know if nginx accepts the extra connections? [20:54] bnoordhuis: i suppose it should or you'd run into the os's backlog limit [20:54] Anton_: no [20:54] bnoordhuis: Anton_: no as in 'nginx rejects them'? [20:54] xandrews has joined the channel [20:55] Anton_: hm, I don't think I completely understand you :) [20:55] markdaws has joined the channel [20:55] Anton_: we just send request to nginx, it serves them very fast [20:55] Anton_: but then we say nginx 'slow down buddy, not so fast' [20:55] bnoordhuis: Anton_: think i found the answer: The directive specifies the zone (zone) and the maximum possible bursts of requests (burst). If the rate exceeds the demands outlined in the zone, the request is delayed, so that queries are processed at a given speed. Excess requests are delayed until their number does not exceed a specified number of bursts. In this case the request is completed the code "Service unavailable" (503). By d [20:55] bnoordhuis: efault, the burst is zero. [20:55] Anton_: and some request get served longer [20:56] Anton_: ye, i've set burst to 49 [20:56] Anton_: i didn't dig in it, I just got it working :) [20:56] Anton_: and it shows the problem [20:57] Anton_: nginx is just a technicality, you can use whatever you want [20:57] Anton_: node part is what important [20:57] bnoordhuis: right, but i need to understand what nginx does with the incoming requests [20:57] Tacoman has joined the channel [20:58] Anton_: some request don't get to be served as fast as it was in the first test case [20:58] Anton_: bnoordhuis: it's pretty obvious when you look in the profile [20:59] bnoordhuis: Anton_: yeah, i'm not surprised that it eventually errors out [20:59] Anton_: but I think you know how to use node-inspector&v8-profiler? :) [20:59] Kingdutch has joined the channel [20:59] bnoordhuis: a 10 mb zone translates to 160,000 pending requests [20:59] Tacoman: tottally [20:59] pixelhandler: i used homebrew to install node and my current version is 0.4.5 ; anyone know how to update to 0.4.10 ? [20:59] arpunk has joined the channel [21:00] bnoordhuis: Anton_: i'm not surprised that it bails out with an OOM error [21:00] bnoordhuis: wait i said that [21:00] Tacoman: so true [21:00] Anton_: bnoordhuis: who bails out with OOM? [21:00] Anton_: nginx? [21:00] bnoordhuis: Anton_: no, node [21:01] Anton_: i don't think it's OOM [21:01] draginx has left the channel [21:01] Anton_: there's more memory on the server when it fails [21:01] bnoordhuis: Anton_: yes, but v8's heap is limited to 1 GB [21:01] Anton_: and that's less than 1 GB [21:01] fly-away has joined the channel [21:02] Tacoman: 12313 [21:02] Tacoman: 1 [21:02] Tacoman: 321 [21:02] Tacoman: 13 [21:02] Tacoman: 1 [21:02] Tacoman: 3123121451 [21:02] Tacoman: 1 [21:02] Tacoman: 3151 [21:02] Tacoman: 10. [21:02] VeXii: ACTION slaps Tacoman around a bit with a large trout [21:02] Tacoman: 2233 [21:02] Tacoman: 13 [21:02] Tacoman: 1 [21:02] Tacoman: 31 [21:02] Tacoman: 31 [21:02] Tacoman: 31 [21:02] Tacoman: 31 [21:02] Tacoman: 1 [21:02] Tacoman: 1 [21:02] Tacoman: 231321 [21:02] Tacoman: 0101000010101 [21:02] Tacoman: 0100101111101010000111101010101 [21:03] bnoordhuis: konobi or ryah, step in please [21:03] Tacoman: 10101010100011110101010111000101010 [21:03] Anton_: bnoordhuis: by the way, I didn't encounter that error on windows. But it was another machine with less load [21:03] Anton_: i tested for 2 days [21:03] MooGoo: .. parseInt(10101010100011110101010111000101010, '2') [21:03] catb0t: 1 [21:03] MooGoo: argh [21:03] bnoordhuis: Anton_: what's the exact error you get? ALLOC_FAILED? [21:03] MooGoo: .. parseInt('10101010100011110101010111000101010', 2) [21:03] catb0t: 22892162602 [21:04] Anton_: SEGMENTATION_FAULT [21:04] Tacoman: 2.30 [21:04] Anton_: and it's not node that fails [21:04] Anton_: V8 does [21:04] Anton_: inside garbage collection [21:04] bnoordhuis: Anton_: ah right, my bad - that shouldn't happen no [21:04] Tacoman: V8 V Fusion? [21:04] Tacoman: like the drink? [21:05] digman543 has joined the channel [21:05] gazumps has joined the channel [21:05] Anton_: bnoordhuis: i don't actually know how to solve that problem [21:06] Tacoman: what problem? [21:06] Anton_: i used the way with restarting node each 20000 requests [21:06] Tacoman: request VETOED! [21:06] bnoordhuis: Anton_: i'll see if i can reproduce it [21:06] Anton_: k [21:06] odie5533 has joined the channel [21:06] bnoordhuis: Anton_: if you can produce a core dump with latest master on a x64 machine, that'd help too [21:07] AvianFlu has joined the channel [21:07] Tacoman: yeah it will [21:07] bnoordhuis: Anton_: that's `ulimit -c unlimited` [21:07] Tacoman: I wonder how you spell tabasco? TABASCO! [21:07] odie5533: I have tiny work amounts and I want to run them using some kind of worker pool. Can anyone recommend a queueing/worker pool to accomplish both queueing the work and consuming it using a pool? [21:08] Anton_: bnoordhuis: k, i'll try if you can't reproduce [21:08] Anton_: bnoordhuis: you'r gonna try it now? [21:08] Tacoman: reproduce what exactly? [21:08] shanebo: it would suck to be a taco [21:08] davidcoallier has joined the channel [21:08] Tacoman: yeah it would [21:08] Tacoman: well it depends if your a soft or hard shelled taco [21:08] mynyml: shanebo: you wouldn't know you're a taco [21:08] rachelderp: Is there any way to use nodejs with a gui on windows? [21:09] bnoordhuis: easy to /ignore [21:09] Tacoman: nope [21:09] rachelderp: Like to minimize to tray, etc [21:09] Tacoman: nope [21:09] Tacoman: naw [21:09] odie5533: rachelderp: yes [21:09] Tacoman: negatory [21:09] dev_: Does anyone know if there is any good file severing module with gzip support for Nodejs? (no express, connect. because my program doesnt support restful) [21:09] Tacoman: niet [21:09] Tacoman: nipe [21:09] Tacoman: nope [21:09] Tacoman: nope [21:09] Tacoman: d [21:09] Tacoman: sf [21:09] Tacoman: df's [21:09] Tacoman: df [21:09] Tacoman: sdf [21:09] Tacoman: sd [21:09] rachelderp: hi odie5533, how would I do that? [21:09] Tacoman: fs [21:09] shanebo: mynyml true [21:09] rachelderp: Tacoman: quit being an arab [21:09] dev_: Does anyone know if there is any good file severing module with gzip support for Nodejs? [21:09] odie5533: rachelderp: https://github.com/niklasf/node-ui-gtk/blob/master/examples/counter.js [21:09] lazybean: hi [21:10] Tacoman: hi [21:10] rachelderp: thanks! [21:10] odie5533: np [21:10] theCole has joined the channel [21:10] bnoordhuis: Anton_: not now but tomorrow or later this week [21:10] brolin has joined the channel [21:11] odie5533: What sites/feeds do you guys read for Node.JS news/talks/modules? [21:11] admc has joined the channel [21:11] Anton_: bnoordhuis: k, i'll be here [21:11] dev_: Does anyone know if there is any good file severing module with gzip support for Nodejs? Can anyone give me some recommendations? [21:11] lazybean: I have a question about events. [21:11] jarek has joined the channel [21:12] Tacoman has left the channel [21:12] lazybean: can an EventEmitter instance only listen to a even it can emit? [21:12] bnoordhuis: dev_: have you checked the wiki? there are a number of gzip modules [21:12] bnoordhuis: lazybean: no, it can listen to anything [21:12] fmeyer has joined the channel [21:13] bastayahijo has joined the channel [21:14] bastayahijo: if I have a plain .html that I want to render with express, how do I tell the route not to use the jade rendering engine and just spit out the view in html [21:14] bradleymeck: put it in the static folder for the static middleware since its not really a view its just html [21:15] smtlaissezfaire has joined the channel [21:15] dail has joined the channel [21:15] dail: hello [21:15] ckknight has joined the channel [21:15] dail: is there a software for a blog in node.js? [21:16] lazybean: then, what distinguishes a event 'connection' from a http.server from the event'connection' of a io.socket? for exemple? [21:16] dail: like wordpress [21:16] TheJH: dail, "wheat" is a blog engine, I think [21:16] bradleymeck: dail not one with so many plugins / themes [21:16] TheJH: !@dail npm search blog [21:16] jhbot: dail, packages (short format): node-gravatar, rumba, wheat, metaweblog, typhoon, nozzle, resig-class, nlog, looseleaf, blo, nabe, reed, pingback, tumblr, pop [21:16] jesusabdullah: wheat is a blog engine, yes [21:17] jesusabdullah: It works! [21:17] odie5533: Is the bot written in Nodejs? [21:17] jesusabdullah: prombably [21:17] jesusabdullah: node.js is the best for irc bots [21:17] TheJH: it's written in coffe and runs on node.js [21:17] TheJH: *coffee [21:17] dail: is not important the plugin...at the momenti only have to manage categories and simple articles [21:17] jhbot: that's true [21:18] bastayahijo: so I have my test.html in the /public directory and I used app.use(express.static(__dirname + '/public')); [21:18] telemachus: dail: https://github.com/balupton/docpad [21:18] bastayahijo: now how do I get it to display? [21:18] telemachus: I just saw that today - it's a static site generator built in node [21:18] telemachus: looks interesting [21:18] dail: i see [21:18] telemachus: (I prefer static generators for simple sites - faster and more secure than logging in to edit a blog) [21:18] fmeyer has joined the channel [21:19] telemachus: I haven't tried docpad itself, but I'm a big fan of nanoc, if you're willing to try Ruby. :) [21:19] mcluskydodallas has joined the channel [21:20] fairwinds has joined the channel [21:20] dail: good [21:20] dail: ok [21:20] dail: thank you [21:20] TooTallNate has joined the channel [21:23] broofa has joined the channel [21:26] Laurent1 has left the channel [21:28] pordy has joined the channel [21:28] joshthecoder has joined the channel [21:28] mertimor has joined the channel [21:28] pordy: Does anyone have a basic tutorial on how to make a connect module that does some basic filtering on static resources? [21:29] ag4ve has joined the channel [21:30] freewil: ACTION is back (gone 01:02:48) [21:30] losing has joined the channel [21:33] josdehar has joined the channel [21:34] josdehar has joined the channel [21:34] josdehar has joined the channel [21:37] kavla has joined the channel [21:37] Realistic_Man has joined the channel [21:38] cccaldas has joined the channel [21:38] tilgovi has joined the channel [21:38] tilgovi has joined the channel [21:38] D3Vito has joined the channel [21:39] theCole: i have a question. say i have a server and i want that server to continually be fetching some json every 10 seconds or so to see if it updated or not. how can i make it do that on server start vs when a user hits the server from a browser [21:39] dail: guys i know is not a node.js questions but what linux distro do you advice me? with graphical interface (gnome or kde) [21:40] theCole: i use ubuntu or debian [21:40] TheJH: dail, are you beginner, intermediate or expert? [21:40] chjj: debian + openbox [21:40] chjj: forget DE's [21:40] chjj: theyre all bloat [21:40] fmeyer has joined the channel [21:40] bastayahijo: what are DEs [21:40] TheJH: theCole, setInterval and the "request" library? [21:41] dail: intermediate... [21:41] TheJH: dail, maybe debian then? [21:41] dail: i walyes used ubuntu but sometime it make me angryyyyyyy [21:41] dail: :D [21:41] TheJH: dail, because of what? [21:41] dail: debian is update [21:41] chjj: bastayahijo: de - desktop environment [21:41] dail: i remember it has old versions [21:41] dail: no? [21:42] skmp: dail: tilting window managers are nice [21:42] skmp: dwm, awesome, etc [21:42] langworthy has joined the channel [21:42] TheJH: dail, yes, debian software is quite stable, and stable means "little bit old" [21:42] bastayahijo: oh we're talking about servers huh [21:43] dail: ok [21:43] chjj: well, you can always try debian wheezy [21:43] dail: i heard about MINT [21:43] theCole: TheJH: i have the set interval part working, i am just not sure how to have it continually ping my service as soon as i start my server [21:43] dail: ok [21:43] dail: last things [21:43] dail: openbox is better then KDE? [21:43] TheJH: dail, I'm currently using fedora - newer software (e.g. gnome 3), but the x driver fails every few days [21:43] chjj: dail: theyre different things [21:44] chjj: openbox is a window manager, kde is a desktop environment [21:44] TheJH: theCole, just do a http request when the interval fires? [21:44] chjj: personally, i dont use any kind of desktop environment, i just install openbox and then get whatever i need on top of that [21:45] theCole: TheJH: i created a function called "fetchMedia" and i do call that when the interval fires [21:45] dail: oook [21:45] dail: perfect [21:45] dail: thank you guys [21:45] AAA_awright_ has joined the channel [21:45] theCole: the problem is, if 20 people hit my site at the same time it fires 20 times every 10 seconds [21:45] theCole: TheJH: so i just need a way for the setInterval to only be called once [21:45] ryah has joined the channel [21:46] theCole: and then have it fire every 10 seconds and call my fetch media function [21:46] TheJH: theCole, put it in your main application file, at the top level? [21:46] theCole: did that [21:46] theCole: i tried putting it instide of my createServer [21:46] TheJH: theCole, then it wouldn't behave that way [21:47] theCole: but it does behave that way [21:47] TheJH: theCole, can you gist your code? [21:48] theCole: yes [21:48] AAA_awright__ has joined the channel [21:50] zackattack has joined the channel [21:51] theCole: TheJH: https://gist.github.com/1129783 [21:51] TheJH: theCole, well, there it fires on every request [21:51] theCole: mhm [21:52] TheJH: theCole, put it at the top level. with no indent. none. [21:52] theCole: what do you mean by top level? [21:52] theCole: above everything else [21:52] TheJH: theCole, put "setInterval ( fetchMedia, 2000 );" in the line after server.listen or so [21:53] sabaton has joined the channel [21:56] theCole: TheJH: no luck [21:56] odyniec_ has joined the channel [21:56] ringomanatee has joined the channel [21:57] TheJH: theCole, could you gist the changed file? [21:57] CIA-65: libuv: 03Ben Noordhuis 07master * r7dda111 10/ (4 files): test, bench: add --list option to runners, prints available tests - http://bit.ly/piV7cY [21:57] cjm has joined the channel [21:58] seanbeausoleil has joined the channel [21:59] mscdex: theCole: try something like this: https://gist.github.com/1129796 [22:00] mscdex: theCole: that way you can stop polling whenever you want by calling clearInterval(polling); [22:00] TooTallNate has joined the channel [22:00] theCole: cool, trying that [22:01] mscdex: theCole: just make sure to set polling to undefined or null after doing clearInterval though [22:01] theCole: clearInterval(polling); [22:01] theCole: polling = null [22:01] theCole: ? [22:01] csm has joined the channel [22:02] tilgovi_ has joined the channel [22:02] R4md4c has joined the channel [22:02] devongovett has joined the channel [22:03] mscdex: theCole: or heck, since iirc clearInterval returns undefined, you could just do: polling = clearInterval(polling); [22:03] materialdesigner has joined the channel [22:04] brez_ has joined the channel [22:04] theCole: awesome mscdex and TheJH thank you for the help [22:04] TheJH: mscdex++ [22:04] v8bot_: TheJH has given a beer to mscdex. mscdex now has 3 beers. [22:04] catb0t: mscdex now has 1 beer [22:05] theCole: that worked very well, exactly what i needed [22:05] mscdex: cool :-) [22:07] xandrews has joined the channel [22:07] matyr_ has joined the channel [22:07] CIA-65: node: 03Ben Noordhuis 07master * r3e9d000 10/ deps/uv/src/uv-unix.c : Cherry-pick of bnoordhuis/libuv@ae6bd75 - http://bit.ly/n6c5L9 [22:07] CIA-65: node: 03Ben Noordhuis 07master * rd8086fe 10/ Makefile : [22:07] CIA-65: node: build: don't try to `ls -lh` executables that don't exist [22:07] CIA-65: node: Avoids `ls: cannot access build/debug/node_g: No such file or directory`. [22:07] CIA-65: node: Not an actual error but it confuses people. - http://bit.ly/nm0t81 [22:08] SuMarDi has joined the channel [22:09] CIA-65: node: 03Ben Noordhuis 07master * rad31e5a 10/ Makefile : [22:09] CIA-65: node: build: don't try to `ls -lh` executables that don't exist [22:09] CIA-65: node: Avoids `ls: cannot access build/debug/node_g: No such file or directory`. [22:09] CIA-65: node: Not an actual error but it confuses people. - http://bit.ly/qRUQSG [22:10] mcluskydodallas has joined the channel [22:12] brez_ has joined the channel [22:14] TooTallNate has joined the channel [22:17] R4md4c: Hello, After I issue a request from the browser to the server and the server response is issued correctly an error Error: ECONNREFUSED, Connection refused [22:17] R4md4c: at Socket._onConnect (net.js:601:18) [22:17] R4md4c: at IOWatcher.onWritable [as callback] (net.js:186:12) is throw I Why is that happening and How can I solve it ? [22:18] ohtogo has joined the channel [22:20] squeese has joined the channel [22:21] kkaefer: aruns: node 0.5.x is an unstable beta version [22:21] kkaefer: aruns: I'll update sqlite3 once node 0.6 (stable) nears completion or is released [22:22] gkmngrgn has joined the channel [22:22] davidcoallier has joined the channel [22:23] Aiden__ has joined the channel [22:26] R4md4c: http://pastebin.com/vmJiYvfU Here is the code that is executed when the server received the request [22:29] sabaton has left the channel [22:30] clifton has joined the channel [22:30] odie5533: Are there other places to find modules besides the npm registry? [22:33] mscdex: odie5533: https://github.com/joyent/node/wiki/modules [22:33] odie5533: yeah I'm on there as well [22:35] brolin has joined the channel [22:37] mynyml has joined the channel [22:38] seanbeausoleil has joined the channel [22:38] euforic has joined the channel [22:39] tilgovi has joined the channel [22:39] tilgovi has joined the channel [22:41] seanbeausoleil_ has joined the channel [22:43] mscdex: odie5533: that's about it [22:46] matyr has joined the channel [22:46] Ginlock has joined the channel [22:47] kriszyp has joined the channel [22:47] ryanfitz has joined the channel [22:47] Aiden__ has joined the channel [22:50] harthur has joined the channel [22:52] CStumph has joined the channel [22:53] ^robertj has joined the channel [22:53] seanbeausoleil_ has joined the channel [22:53] seanbeausoleil_ has left the channel [22:54] smtlaissezfaire has joined the channel [22:56] aoberoi has joined the channel [22:56] cjm has joined the channel [22:58] seivan has joined the channel [23:00] nerdfiles1 has joined the channel [23:00] xandrews has joined the channel [23:01] nerdfiles1 has left the channel [23:01] ericmuyser has joined the channel [23:02] brianseeders has joined the channel [23:05] wookiehangover has joined the channel [23:05] harth has joined the channel [23:07] jesusabdullah: isaacs: Way to tell it like it is on the mailing list. I wish I never replied to that fibers thread :( [23:07] isaacs: hahaha [23:07] isaacs: i would actually like to see a fibrous rimraf [23:07] isaacs: it's a very simple function [23:07] isaacs: and i have a high appreciation for esthetic beauty in code [23:08] pixelhandler has left the channel [23:09] isaacs: it's not easy to shift one's esthetic away from "it's pretty" and towards "it takes less time to understand". [23:09] dgathright has joined the channel [23:09] jchris has joined the channel [23:09] isaacs: especially since there's so much overlap [23:10] Me1000 has joined the channel [23:11] ^robertj: how hard is it to reliabily kill a memory hogging subprocess before you get into real trouble? [23:12] ^robertj: I've always been facinated by the MUSH family of games because they let users run their own game code and was trying to figure out a way to replcate that with javascript [23:12] rickharrison has joined the channel [23:14] aoberoi has joined the channel [23:15] bnoordhuis: ^robertj: check out `ulimit -v` [23:17] ryan[WIN] has joined the channel [23:17] aoberoi_ has joined the channel [23:20] aoberoi_ has joined the channel [23:21] dgathright has joined the channel [23:21] Anton_ has joined the channel [23:21] newy has joined the channel [23:23] Qbix1 has joined the channel [23:23] Qbix1: hey guys [23:23] Qbix1: what's new with node.js? [23:23] chjj: ryan is rewriting core in coffeescript [23:24] aoberoi has joined the channel [23:25] Qbix1: yeah right :) [23:25] Qbix1: seriously? [23:25] shanebo_ has joined the channel [23:25] harthur has joined the channel [23:25] chjj: :) [23:26] jhurliman has joined the channel [23:27] VeXii has joined the channel [23:28] Qbix1: yo [23:29] aoberoi_ has joined the channel [23:29] euforic has left the channel [23:31] ^robertj: bnoordhuis, how does a subprocesses' overhead compare to a new context's overhead? [23:31] bnoordhuis: ^robertj: well... do you want a blanket statement? [23:32] ^robertj: yeah [23:32] bksf has joined the channel [23:32] bnoordhuis: contexts are faster [23:32] bnoordhuis: so if you spin up a lot of short-running scripts you'd go with contexts [23:33] bksf: hey everyone, i have an outdated version of some express/node/dropbox code. i've gotten the example to stop throwing errors by updating to the current language api. one thing i cant find is this line is throwing an error no method getMetaData : ...req.session.db.getMetadata(req.params[1] || '', function (err, metadata) { [23:34] smtlaissezfaire has joined the channel [23:35] blueadept: would anyone know why this code cannot assign a value property to a text area? http://pastie.org/private/n8uwjzqngtugmd7cara [23:35] ^robertj: bnoordhuis, that sounds right. But if the context goes memory-crazy how do I kill it? [23:35] skohorn has joined the channel [23:36] cccaldas has joined the channel [23:36] bnoordhuis: ^robertj: you can't currently so that's when you'd use child_process.fork() [23:37] ^robertj: bnoordhuis, any way to put a debug hook in? [23:37] bksf: anyone on the getMetaData session error? [23:37] blueadept: wait nevermind [23:37] blueadept: i got it [23:38] mynyml has joined the channel [23:38] bnoordhuis: ^robertj: you mean in a context? [23:38] ^robertj: bnoordhuis, yeah [23:38] bnoordhuis: ^robertj: not in any way that a clever script couldn't circumvent [23:38] odie5533: When searching for node.js apis on google it returns results for old versions of node. Perhaps a single directory for the most current api should exist, and the older versions be kept as is but given a rel="canonical" link in their head tag? [23:39] bbrandon has joined the channel [23:40] Qbix1: who uses coffeescript here [23:40] odie5533: *crickets* [23:40] jonaslund: odie5533: It's a good suggestion [23:41] fmeyer has joined the channel [23:41] odie5533: Here's the link to rel="canonical" http://www.google.com/support/webmasters/bin/answer.py?answer=139394 [23:41] harth has joined the channel [23:41] jonaslund: odie5533: i think you should file it as an bug report with the info [23:42] odie5533: bug report to where? [23:42] jonaslund: github [23:42] odie5533: https://github.com/joyent/node/issues/941 [23:42] odie5533: someone already brought it up. [23:42] isaacs: ^robertj Check out burrito or bunker, from SubStack. [23:43] isaacs: ^robertj: You can inject a little checker function at every point that will throw if the time is up. it's not cheap, though. you may be better off just using a child process and killing it [23:43] blueadept: anyone know of a good form validator that works with jade? [23:44] dgathright has joined the channel [23:44] bksf: anyone on the replacement i guess this is deprecated? req.session.db.getMetadata [23:46] ^robertj: isaacs, won't the injected checker never be reached bya blocking function? [23:46] R4md4c: How can I stop needless request from a browser like the "/favicon.ico" request that come from Chrome ? Do I use regex to trap unwanted urls? or is there a better way ? [23:47] zemanel has joined the channel [23:48] jonaslund: R4md4c: well if you actually serve the file it'd be cached [23:49] jonaslund: (yeah not ideal but.. :P ) [23:49] jonaslund: it appears that chrome doesn't even use favicon [23:49] jonaslund: FF does though [23:50] R4md4c: jonaslund, No I don't serve any files :) I just receive requests with a specific url expression that changes with the change of the requested method [23:51] guillermo has joined the channel [23:51] yhahn has joined the channel [23:52] sys3nt3r has joined the channel [23:54] harthur has joined the channel [23:55] ^robertj: isaacs, are there just really not any non-async operations in the core? [23:56] mike5w3c_ has joined the channel [23:56] [[zzz]] has joined the channel [23:56] sys3nt3r has left the channel [23:57] tilgovi has joined the channel [23:57] tilgovi has joined the channel [23:57] matyr_ has joined the channel [23:59] digman543 has joined the channel