[00:00] dnunes has joined the channel [00:02] isaacs has joined the channel [00:05] Charuru has joined the channel [00:09] zilch has joined the channel [00:09] visnup: isaacs: how goes the no.de stuff? [00:09] visnup: isaacs: do you hate me yet? [00:10] isaacs: i could never hate you. [00:10] visnup: dshaw half-hates me now. created more work for him too. :) [00:10] daithi44 has joined the channel [00:11] visnup: isaacs: did emily tell you yet that we want _two_ blog posts from you? [00:11] __sorin__ has joined the channel [00:11] nerdfiles has joined the channel [00:11] nerdfiles has left the channel [00:11] misterm has joined the channel [00:15] __sorin__ has joined the channel [00:16] JumpMast3r has joined the channel [00:21] quackquack has joined the channel [00:22] quackquack: how can i redirect http requests to https on the same port? [00:22] quackquack: (using expressjs) [00:22] zilch has joined the channel [00:23] davidwalsh has joined the channel [00:23] MUILTFN has joined the channel [00:23] devongovett has joined the channel [00:24] masutu has joined the channel [00:27] zilch has joined the channel [00:27] MikeMakesIt has joined the channel [00:28] mikeal has joined the channel [00:29] amerine has joined the channel [00:29] tylergillies_: whats the best way to do var fo = { someVar: "somevalue" } where someVar is an actual variable? [00:29] tylergillies_: or do i have to do fo[someVar]? [00:29] tbranyen: fo[someVar] [00:30] tbranyen: tylergillies_: or you can use Object.defineProperty [00:30] tbranyen: but urgh [00:30] tbranyen: just do hash notation [00:30] tylergillies_: ok [00:30] tylergillies_: thnx [00:30] tbranyen: np [00:35] blup has joined the channel [00:35] clifton has joined the channel [00:35] edude03 has joined the channel [00:36] bazookatooth has joined the channel [00:36] maushu has joined the channel [00:39] zilch has joined the channel [00:39] [[zz]] has joined the channel [00:39] hybsch has joined the channel [00:39] replore_ has joined the channel [00:39] replore has joined the channel [00:41] losing has joined the channel [00:42] tprice: is there a better way to do "hasOwnProperty" or should i keep using it? [00:42] xastey` has joined the channel [00:43] systemfault: tprice: Depends why you use it [00:44] systemfault: If you want to iterate on an object's properties Object.keys(theObject) will give you all its "own properties" [00:44] overra has joined the channel [00:46] hybsch has left the channel [00:46] tprice: i want to test the for a property in an object. i could to value in obj or obj[value] or obj.hasOwnProperty(value) [00:46] Crshman has joined the channel [00:46] tprice: i use the hasOwnProperty every time but just wondering if there is a safer way of doing it [00:46] tbranyen: value is a misnomer there [00:46] tbranyen: you mean key [00:46] Crshman: hey all, so I have a server daemon running and all is right in the world....but I want to write a cli interface to grab/set parameters for that running daemon [00:46] tbranyen: in which you could do key in obj [00:46] Crshman: what's the best way to go about that? [00:47] tprice: lol yeah key [00:47] mscdex: Crshman: repl? [00:47] zilch has joined the channel [00:47] mscdex: Crshman: or something like ncurses? :-D [00:47] Crshman: nothing that complex haha [00:48] Crshman: well it would be something like $ proxy --add-backend="new backend" [00:48] Crshman: or $proxy --list-backends [00:48] JoshC1 has joined the channel [00:48] Crshman: right now the app stores all of it's runtime configs in ram [00:49] SubStack: Crshman: you could have a control service that listens on a port for commands [00:49] SubStack: easy to do with dnode too [00:49] tprice: tbranyen> so i should use key in obj? [00:49] Crshman: hmm [00:49] Crshman: yeah that's an idea, didn't think of that one [00:51] tbranyen: tprice: you can use whatever you want [00:51] tbranyen: thats just another option [00:53] temp02 has joined the channel [00:54] tprice: whats best practice when it comes to it is what im asking. [00:54] misterm: tprice: those options are all slightly distinct, so you would use the one appropriate for what you need [00:55] misterm: tprice: [00:55] AaronMT has joined the channel [00:55] misterm: "in" just checks for the existence of the key...it could be a prototype property, hasOwnProperty check's, as you might imagine, only own properties [00:56] misterm: doing obj[propname] is useful if you need to check the actual value [00:57] misterm: I'd also note that the former check for the actual existence of the property, while the last doesn't [00:57] jspiros has joined the channel [00:57] tprice: misterm> thanks hasOwnProperty is what im looking for [00:59] gazumps has joined the channel [01:01] jomoho has joined the channel [01:01] zilch has joined the channel [01:03] dnunes has left the channel [01:03] dodger_: stupid question but when is the async version of a script better than a sync version other than for explicit multi threaded handling? [01:03] dodger_: whati mean i i notice there are 2 sets of calls in the api, function X and function Xsync [01:04] JoshC1 has joined the channel [01:05] AAA_awright: dodger_: The sync versions are provided for use at startup only, you don't want to call them at runtime [01:05] clifton: its always better unless you're loading config files and dont want your whole app in a callback [01:05] cconstantine_ has joined the channel [01:05] clifton: ^ [01:05] materialdesigner has joined the channel [01:05] brianseeders has joined the channel [01:05] AAA_awright: post-startup runtime I guess [01:05] AAA_awright: dodger_: There's only a single thread, too [01:06] AAA_awright: Node.js is evented not threaded [01:06] cconstantine_: does anyone have emacs syntax highlighting for ejs? [01:06] aoberoi has joined the channel [01:10] AD7six has joined the channel [01:10] cying has joined the channel [01:10] zilch has joined the channel [01:10] quackquack: how can i redirect http requests to https w/ expressjs? [01:12] okuryu has joined the channel [01:14] CIA-65: libuv: 03Ben Noordhuis 07master * r5899192 10/ src/eio/config_linux.h : eio: fix HAVE_SYNC_FILE_RANGE heuristic on linux - http://bit.ly/nvcmSf [01:15] Libra102 has joined the channel [01:15] CIA-65: node: 03Ben Noordhuis 07master * rbfc2982 10/ (deps/uv/AUTHORS deps/uv/src/eio/config_linux.h): uv: upgrade to 5899192 - http://bit.ly/pMP32L [01:16] SubStack: quackquack: try this: [01:16] SubStack: http.createServer(function (req, res) { res.code = 301; res.setHeader('location', 'https://' + req.headers.host + req.url); res.end() }).listen(80) [01:17] AAA_awright: req.headers.host isn't guarenteed to be defined, may want to add a default domain there [01:17] SubStack: s/code/statusCode/ [01:18] quackquack: ty SubStack! [01:18] AAA_awright: http.createServer(function (req, res) { res.statusCode = 301; res.setHeader('location', 'https://' + (req.headers.host||"example.com") + req.url); res.end() }).listen(80) [01:18] SubStack: oh yeah also if you're running the server on a non-80 port you'll want to scrub out the port from the req.headers.host [01:18] zilch has joined the channel [01:19] AAA_awright: I didn't know it provides the port number to Host: [01:20] jspiros has joined the channel [01:20] AAA_awright: Huh guess it does [01:21] AAA_awright: SubStack: And unfortunately because the IETF became brain-dead sometime around writing the ipv6 spec you have to parse it for square brackets too [01:23] zilch has joined the channel [01:24] fr33think3r has joined the channel [01:24] AvianFlu: !insult Oohaboogersbaked [01:24] AvianFlu: lol oops wrong channel [01:25] jesusabdullah: :D [01:25] davidbanham has joined the channel [01:26] dodger_: AAA_awright: gotcha, so lets just say i'm using node.js to automate some tasks (like just regular shell scripting stuff) - i probbaly want to be using the sync versions of the api to cut down on the time wait, right? [01:26] balaa has joined the channel [01:26] AvianFlu: dodger_: that's a bad way to think about it [01:27] mrryanjohnston has joined the channel [01:27] devongovett has joined the channel [01:27] AAA_awright: dodger_: There's no wait, the difference is the sync versions are blocking, nothing else will be executed while they are [01:27] AvianFlu: synchronous means that your process will wait until the sync operation is complete [01:27] AvianFlu: asynchronous means that your process is free to execute other JS until the callback comes back [01:27] AvianFlu: so if you have a bunch of stuff to do at once, asynchronous will take less time [01:32] edude03 has joined the channel [01:32] zilch has joined the channel [01:33] mpoz2 has joined the channel [01:34] rfay has joined the channel [01:34] Nexxy has joined the channel [01:34] Nexxy has joined the channel [01:35] balaa has left the channel [01:36] eliziario has joined the channel [01:40] zilch has joined the channel [01:41] justmoon has joined the channel [01:42] eyesUnclouded has joined the channel [01:44] vikstrous has joined the channel [01:44] fr33think3r: I'm getting this error "An error has occurred: {"stack":"Error: ECONNREFUSED, Connection refused\n at Socket._onConnect (net.js:601:18)\n at IOWatcher.onWritable [as callback] (net.js:186:12)","message":"ECONNREFUSED, Connection refused","errno":111,"code":"ECONNREFUSED","syscall":"connect"}" when I'm trying to run an application on nodester [01:44] fr33think3r: earlier i was trying to listen for socket.io requests on a different port and http on a different port [01:44] fr33think3r: i thought that was causing the error [01:45] fr33think3r: but I changed that so that both would listen on the port assigned by nodester [01:45] fr33think3r: but i still get the same error [01:45] bazookatooth has joined the channel [01:46] bazookatooth has joined the channel [01:46] Anton_ has joined the channel [01:47] zilch has joined the channel [01:48] bazookatooth has joined the channel [01:49] skoom has joined the channel [01:50] vikstrous has joined the channel [01:54] fr33think3r: well figured it out, i was missing a module 'redis' [02:00] skm has joined the channel [02:01] fr33think3r has left the channel [02:02] losing has joined the channel [02:02] zilch has joined the channel [02:02] CIA-65: libuv: 03Ben Noordhuis 07master * r035fd5b 10/ src/eio/config_linux.h : eio: future-proof glibc version detection - http://bit.ly/rbEcgV [02:10] wookiehang0ver has joined the channel [02:10] R4md4c: What is better do I create a new sqlite handle for each request or use the same sqlite handle for any requests ? (Using sqlite-node) [02:11] materialdesigner has left the channel [02:11] zilch has joined the channel [02:12] CIA-65: node: 03Thomas Shinnick 07master * ra5d90c4 10/ lib/path.js : (log message trimmed) [02:12] CIA-65: node: path.js: correct three harmless .length typos [02:12] CIA-65: node: lib/path.js routines normalizeArray() and resolve() have for loops that [02:12] CIA-65: node: count down from end of an array. The loop indexes are initialized using [02:12] CIA-65: node: "array.length" rather than "array.length-1". The initial array element [02:12] CIA-65: node: accessed is always beyond the end of array and the value is 'undefined'. [02:12] CIA-65: node: Strangely, code exists that acts to ignore undefined values so that the [02:14] theRevIsNotDead has joined the channel [02:17] devongovett has joined the channel [02:21] zilch has joined the channel [02:22] hassox_ has joined the channel [02:24] hassox_ has joined the channel [02:25] hassox_ has joined the channel [02:26] boehm has joined the channel [02:29] JoshC1 has joined the channel [02:30] zilch has joined the channel [02:30] dexter_e has joined the channel [02:37] gazumps has joined the channel [02:43] galaxywatcher has joined the channel [02:43] zilch has joined the channel [02:43] hkjels_ has joined the channel [02:43] AvianFlu_ has joined the channel [02:44] k1ttty has joined the channel [02:44] hkjels has joined the channel [02:46] hkjels has joined the channel [02:47] hkjels has joined the channel [02:47] cafesofie has joined the channel [02:49] indexzero has joined the channel [02:49] sheenobu has left the channel [02:50] skm has joined the channel [02:51] bazookatooth has joined the channel [02:52] unomi has joined the channel [02:53] unlink has joined the channel [02:53] unlink has joined the channel [02:56] towski has joined the channel [02:57] zilch has joined the channel [02:57] xastey has joined the channel [02:58] airportyh has joined the channel [03:00] sebastianedwards has joined the channel [03:00] tilgovi has joined the channel [03:00] tilgovi has joined the channel [03:02] sebastianedwards has joined the channel [03:02] skm has joined the channel [03:03] bazookatooth has joined the channel [03:04] zzo has joined the channel [03:04] cconstantine_ has joined the channel [03:05] sebastia_ has joined the channel [03:06] zilch has joined the channel [03:08] zzo1 has joined the channel [03:11] sebastianedwards has joined the channel [03:13] kenperkins has joined the channel [03:13] zilch has joined the channel [03:19] JoshC1 has joined the channel [03:21] CIA-65: node: 03Peter Bright 07master * r16788f4 10/ (14 files in 8 dirs): (log message trimmed) [03:21] CIA-65: node: Rename gyp files to produce useful solution names. [03:21] CIA-65: node: Hoist common settings into common.gypi. [03:21] CIA-65: node: Restrict v8's common.gypi to v8 projects. [03:21] CIA-65: node: Ensure v8 doesn't use /MP in debug builds. [03:21] CIA-65: node: Add basic settings for other platforms. [03:21] CIA-65: node: Make uv import common.gypi properly. [03:21] MUILTFN has joined the channel [03:23] zanes has joined the channel [03:24] Peniar has joined the channel [03:27] CIA-65: libuv: 03Peter Bright 07master * r2942f5a 10/ (common.gypi gyp_uv all.gyp deps/pthread-win32/build/all.gyp): GYP upates - http://bit.ly/nHdasz [03:28] zilch has joined the channel [03:29] CIA-65: libuv: 03Ryan Dahl 07pound-fixes * r99abfd3 10/ (test/benchmark-pound.c test/echo-server.c): Improve pound benchmark by reconnecting in close_cb - http://bit.ly/ruurA2 [03:31] srid has joined the channel [03:31] srid has joined the channel [03:32] igl has joined the channel [03:34] mike5w3c_ has joined the channel [03:35] arpunk has joined the channel [03:35] zilch has joined the channel [03:36] dexter_e has joined the channel [03:36] patcito has joined the channel [03:37] akshatj has joined the channel [03:38] skoom has joined the channel [03:39] neorab has joined the channel [03:39] Spion_ has joined the channel [03:42] mscdex: SubStack: what were you planning on doing with that ANSI stuff the other day? [03:45] avalanche123 has joined the channel [03:45] zilch has joined the channel [03:46] AvianFlu_: mscdex: he made http://github.com/substack/node-charm [03:46] AvianFlu_: I, for one, approve [03:47] SubStack: it works over http [03:47] SubStack: that's what I'm concerned about right now [03:47] Guest82260 has joined the channel [03:47] Guest82260: if I wanna install npm as a user rather than root, what's the easiest way to do that ? [03:47] SubStack: mscdex: next up is progress bars [03:48] SubStack: but multiple progress bars at once [03:48] isaacs: Guest18468: sure. [03:48] isaacs: SubStack: Do that! <3 [03:48] isaacs: SubStack: i need this for npm. [03:48] SubStack: yes sir [03:48] isaacs: SubStack: i want to have every download managed with a nice little stack of progress bars. [03:48] SubStack: isaacs: turns out, ansi codes are wicked simple [03:48] AvianFlu_: SubStack: I was totally picturing npm doing that but can't execute such a thing! [03:48] zilch has joined the channel [03:48] isaacs: SubStack: yeah [03:48] SubStack: and the problem that ncurses solves doesn't really exist anymore [03:49] SubStack: that being terminal incompatibility [03:49] SubStack: since ansi won like 20 years ago [03:49] AvianFlu_: 2011 ftw [03:49] isaacs: Guest18468: sure. just install node in a place that isn't root-owned (like ~/local or something) or specifically set that as your `prefix` config in ~/.npmrc [03:49] isaacs: Guest18468: npm help config, search for "prefix" [03:49] SubStack: 25 years ago really [03:49] SubStack: once BBSes took off [03:50] Ned_: isaacs: yeah, the prefix is the bit I was failing at I think [03:50] isaacs: SubStack: does ncurses support Windows? [03:50] SubStack: no idea [03:50] isaacs: SubStack: i think the windows cli is not ansi [03:50] SubStack: but plenty of windows programs support vt100 and/or ansi [03:50] isaacs: SubStack: cmd.exe [03:50] tbranyen: use something like mintty? [03:51] jesusabdullah: is there a native windows cli curl? [03:51] jesusabdullah: or curl-like tool? [03:51] mscdex: there's wget for windows [03:51] mscdex: heh [03:51] Ned_: isaacs: okay, it's claiming my prefix dir doesn't exist ... but it just created it :_( [03:51] AvianFlu_: I was just gonna say that, I've used wget for windows [03:51] jesusabdullah: huh [03:51] SubStack: isaacs: cmd.exe /A does I guess? [03:52] SubStack: looking at http://ss64.com/nt/cmd.html [03:52] Ned_: ah ha [03:52] Ned_: okay, a rampage-style removing of all the old cruft I could find seems to have fixed it [03:52] kmiyashiro has joined the channel [03:52] AvianFlu_: rampage... [03:53] AvianFlu_: someone needs to re-make that game [03:53] Ned_: heh [03:53] mscdex: i remember playing that game on the Amiga [03:54] mscdex: good times [03:54] AvianFlu_: NES for me [03:54] mscdex: SubStack: awesome, i was going to write something like node-charm if you hadn't already [03:54] mscdex: SubStack: how far are you planning on expanding this module? [03:55] SubStack: mscdex: not very far, only enough to do what I need it to do [03:55] mscdex: SubStack: i might write a windowing layer for it [03:55] mscdex: :-D [03:55] SubStack: yeah that would be cool [03:55] SubStack: as a separate module using charm would be a good way to do it [03:55] SubStack: lots of ways to do windowing [03:56] mscdex: yeah ideally i'd like to have a shim over node-charm to match the node-ncurses api [03:56] SubStack: basic ansi is really simple, it only took me a few hours to get everything working [03:56] SubStack: that would be nifty [03:57] MUILTFN has joined the channel [03:58] mscdex: someone contacted me today about getting their node-ncurses-based game over tcp and since ncurses only deals directly with terminals, having a compatible api for something that can do the same thing over the network would be awesome [03:58] AvianFlu_: that would be pretty sweet [03:58] SubStack: just require('charm')(stream) [03:59] SubStack: works with http even [03:59] SubStack: the response object [03:59] mscdex: yeah [03:59] AvianFlu_: streams FTFW [03:59] SubStack: of course you can only query the cursor position if you provide a readable stream [04:00] zilch has joined the channel [04:00] SubStack: but it works with just a writable stream [04:02] mscdex: right [04:02] AvianFlu_: I'm totally gonna use it to improve the cli clients for hookio/irc and hookio/twitter [04:09] zilch has joined the channel [04:12] iyanski has joined the channel [04:14] kenperkins has joined the channel [04:15] devian has joined the channel [04:16] SubStack: I want node to have tell [04:16] SubStack: would make this so much easier [04:16] AvianFlu: I'm not familiar with `tell` [04:17] SubStack: man ftell [04:17] SubStack: also perldoc -f tell [04:17] SubStack: The ftell() function obtains the current value of the file position indicator for the stream pointed to by stream. [04:17] zilch has joined the channel [04:17] BulletBob has joined the channel [04:18] AvianFlu: I could have sworn I saw something like that in the fs docs [04:19] SubStack: seems like something {Read,Writ}able streams should have [04:19] AvianFlu: yeah, no [04:19] AvianFlu: I agree, but I was wrong about the docs [04:21] SubStack: maybe fstat could return the file pos [04:21] AvianFlu: sounds like time to open a node issue to me [04:21] dexter_e has joined the channel [04:21] SubStack: it could even be a function, that'd be fine [04:21] SubStack: AvianFlu: mind filing it on my behalf? [04:21] SubStack: I got some modules to write yo [04:21] AvianFlu: I'm down [04:21] SubStack: rawk [04:22] ryanallenbobcat has joined the channel [04:22] Ned_: isaacs: so err, if I specify my own prefix [04:22] Ned_: is there an easy way to specify an alternate bin location ? [04:24] SubStack: AvianFlu: so I'm not sure where tell() should be, I just want it :p [04:25] AvianFlu: I'd vote stream method, but I'm gonna make it an open-ended feature request [04:25] SubStack: sounds good [04:25] SubStack: it could be just a pos attribute too depending [04:26] zilch has joined the channel [04:26] dshaw_ has joined the channel [04:31] kenperkins has joined the channel [04:32] Dreamer3 has joined the channel [04:34] shipit has joined the channel [04:35] abpin has joined the channel [04:35] zilch has joined the channel [04:37] jakehow has joined the channel [04:37] jakehow_ has joined the channel [04:37] isaacs: Ned_: the bin location is prefix/bin [04:38] isaacs: Ned_:at least, the global bin location [04:39] dherman has joined the channel [04:39] Ned_: right [04:39] Ned_: I was curious if you could override it [04:39] misterm has joined the channel [04:39] Ned_: it's okay, I just added the bin location to my path ... [04:39] Ned_: :-) [04:46] tylergillies_: its ironic that javascript object notation you need " around everything, yet in javascript, to make an object you can do {foo:"bar"} [04:46] zilch has joined the channel [04:46] progrock: hmm, so whats the defense to the old "you can't extensively automate testing of a program made in a dynamic typed, mutable, non compiledd language as compared to static typed, non mutable, compiled langauge?" [04:46] SubStack: why is that ironic? [04:46] progrock: just asking since my coworkers are all scala developers, while I'm the front end javascript developer [04:46] tylergillies_: because it gets its name from javascript, but in javascript you don't have to do that, hence, irony [04:47] SubStack: but you can do that in javascript [04:47] SubStack: in fact you must for some keys like "function" [04:47] SubStack: or anything with spaces [04:47] tylergillies_: yeah, but you don't have to, whereas in json you do [04:47] aho: the quotes were made mandatory to make it simpler [04:47] SubStack: or any other sort of punctuation [04:47] progrock: tylergillies_: in fact, I think peoples usually conside it good standard to put quotes around keys [04:47] aho: (reserved words) [04:47] tylergillies_: im not saying its wrong [04:47] tylergillies_: im just saying there is some irony [04:47] SubStack: special cases for barewords aren't a very good thing to bake into a data exchange format [04:48] newy has joined the channel [04:48] mundanity has joined the channel [04:48] SubStack: it's just a subset of javascript [04:48] tylergillies_: irony == good imho [04:48] SubStack: makes sense to me [04:48] progrock: tylergillies_: again, not really.. JSON is not just for javascript... definitely easier for it to be universally used usin the quotes [04:49] aho: iirc es5 (5.1?) actually fixed that [04:49] aho: you can use reserved words w/o quotes there [04:50] tylergillies_: regardless of if its used solely for javascript or not, its ironic. http://chzb.gr/bSj5xt [04:51] progrock: ehh, i dont find it to be [04:51] progrock: in javascript you can define functions, in json you cant... thats not ironic to me either... it makes complete sense [04:52] progrock: a javascript object and a json object are 2 different data types [04:52] tbranyen: well unless you do what couch does, and stores them as strings [04:52] tbranyen: but yeah they are still strings, not functions [04:52] progrock: exactly [04:52] devrim has joined the channel [04:52] progrock: but again, makes sense, lol.. wold be fucking retarded if they tried to make some universal way to define code in json [04:53] progrock: lol... way beyond the 1 paragraph explanation of everything in JSON [04:53] devrim: does anyone point me to a good html encoder for nodes ? [04:53] devrim: *nodejs [04:53] tylergillies_: how does something being ironic automatically mean it doesn't make sense? [04:53] devrim: *can [04:54] AAA_awright: tbranyen: Ironic implies a reverse of what you expected... JSON is just a subset of Javascript, {"foo":"bar"} is perfectly a valid Javascript expression [04:54] rurufufuss has joined the channel [04:55] AAA_awright: v8: {"foo":"bar"} [04:55] v8bot_: AAA_awright: SyntaxError: Unexpected token : [04:55] AAA_awright: damnit [04:55] AAA_awright: Not helping my case here, v8bot_ [04:55] tbranyen: AAA_awright: why you telling me that? [04:55] progrock: tbranyen: probably wrong name by accident [04:56] AAA_awright: tbranyen: I have no clue, tab-completion error [04:56] tbranyen: i'm flattered never-the-lesss [04:56] AAA_awright: v8: ({"foo":"bar"}); [04:56] v8bot_: AAA_awright: {"foo": "bar"} [04:56] AAA_awright: v8: {"foo":"bar"}; [04:56] v8bot_: AAA_awright: SyntaxError: Unexpected token : [04:56] AAA_awright: hmm [04:56] progrock: on the otherhand tylergillies_ , yeah, ironic tings are more oe less usually opposites combined.. or close to... thatsnot even close [04:57] tylergillies_: opposites combined i would more attribute to the word "oxymoron" [04:57] tylergillies_: (which literally means sharp/dull) [04:57] progrock: Noun: The expression of one's meaning by using language that normally signifies the opposite, typically for humorous or emphatic effect. [04:58] progrock: I guess combinednot the right wording [04:58] zilch has joined the channel [04:59] cha0s has joined the channel [05:00] progrock: so, which mongo driver should I likely use for node?.. just noticed one o my favorite JS developers forked node-mongodb-native... tho I gotta see why he forked it [05:04] tbranyen: because its good [05:04] csanz_ has joined the channel [05:04] Nexxy has joined the channel [05:04] Nexxy has joined the channel [05:05] progrock: while I suppose I see my coworkers reasoning on using scala for our platforms backend, for the 'ease' of exhaustive testing of all the calculations, etc.... I'm kinda liking the whole no context switching with using Javasrcript for my fontend, server side, and even database... in other words.. model, view, and controller [05:05] zilch has joined the channel [05:07] dshaw_1 has joined the channel [05:08] ironlad has joined the channel [05:10] progrock: Tho, I'm also dying to mess around with Hakyll.. which is a haskell framework for creating a static website... I coul dliterall y host 99.9999 % of the site on a CDN, andprobably scale to Million+ request/hour on a 256mb vps running nginx, and serving ust the minimal index.html [05:10] daithi44 has joined the channel [05:11] seivan has joined the channel [05:11] bentkus: engine engine number nine [05:11] cying has joined the channel [05:11] progrock: probably the easiest/quickest (potentially cheapest) way to set up a HA site in minutes [05:13] newy has joined the channel [05:14] zilch has joined the channel [05:15] jakehow has joined the channel [05:15] jakehow_ has joined the channel [05:15] loob2 has joined the channel [05:17] devian has joined the channel [05:24] skm has joined the channel [05:24] chrisbjr has joined the channel [05:25] zilch has joined the channel [05:29] zanes: Anyone familiar with zappa? [05:29] systemfault: Frank? [05:29] systemfault: :/ [05:29] zanes: In his honor: https://github.com/mauricemach/zappa [05:31] systemfault: Looks nice, thanks for showing :) [05:32] zanes: Haha. Don't get too excited. I can't get some of the examples working. [05:32] zanes: Was wondering whether it was just me. [05:32] skoom has joined the channel [05:35] davidbanham has joined the channel [05:39] zilch has joined the channel [05:44] sivy has joined the channel [05:45] unlink has joined the channel [05:45] unlink has joined the channel [05:45] zilch has joined the channel [05:46] SoulRaven has joined the channel [05:47] Libra102 has joined the channel [05:49] Yuffster has joined the channel [05:49] MUILTFN has joined the channel [05:50] zilch has joined the channel [05:55] Bogh has joined the channel [05:56] Bogh has left the channel [05:56] Bogh has joined the channel [05:56] CIA-65: libuv: 03Ryan Dahl 07master * re89f54e 10/ (deps/pthread-win32/pthread-win32.gyp uv.gyp): Add forgotten gyp files - http://bit.ly/pj25ql [05:56] xAt has joined the channel [05:57] pen has joined the channel [05:58] towski has joined the channel [06:00] zilch has joined the channel [06:00] skm has joined the channel [06:02] MUILTFN has joined the channel [06:02] skm has joined the channel [06:02] vikstrous: Is there anyone awake who uses mustache? [06:03] infynyxx has joined the channel [06:24] cying has joined the channel [06:25] zilch has joined the channel [06:27] necrodearia has joined the channel [06:28] chrisbjr has joined the channel [06:30] confoocious has joined the channel [06:30] confoocious has joined the channel [06:32] devian has joined the channel [06:32] visnup has joined the channel [06:39] zilch has joined the channel [06:42] zilch has joined the channel [06:45] zilch has joined the channel [06:45] Dreamer3 has joined the channel [06:48] madsleejensen has joined the channel [06:48] zilch has joined the channel [06:51] kenperkins has joined the channel [06:53] tristanseifert has joined the channel [07:02] zilch has joined the channel [07:04] k1ttty has joined the channel [07:04] seivan has joined the channel [07:05] vikstrous has joined the channel [07:05] Anton_ has joined the channel [07:13] Charuru has joined the channel [07:13] zilch has joined the channel [07:13] ryah has joined the channel [07:20] perezd has joined the channel [07:21] zilch has joined the channel [07:25] joeytwiddle has joined the channel [07:27] amerine has joined the channel [07:28] zilch has joined the channel [07:28] joeytwiddle has joined the channel [07:28] dob_ has joined the channel [07:29] vikstrous has joined the channel [07:32] meandi2 has joined the channel [07:33] |Freeman| has joined the channel [07:33] plutoniix has joined the channel [07:34] Yoric has joined the channel [07:35] zilch has joined the channel [07:42] zilch has joined the channel [07:46] meandi has joined the channel [07:46] zilch has joined the channel [07:49] liquidproof has joined the channel [07:50] zilch has joined the channel [07:50] aoberoi has joined the channel [07:50] nodokodo has joined the channel [07:52] chrisbjr: loving node.js with express :) [08:02] systemfault: s/with express//g [08:02] zilch has joined the channel [08:07] zilch has joined the channel [08:08] visnup has joined the channel [08:10] zilch has joined the channel [08:12] Bogh has joined the channel [08:13] Bogh has joined the channel [08:13] Nuck has joined the channel [08:13] zilch has joined the channel [08:18] rickharrison has joined the channel [08:19] rissicay has joined the channel [08:20] zilch has joined the channel [08:25] bogdan_ has joined the channel [08:26] zilch has joined the channel [08:28] fille has joined the channel [08:28] fly-away has joined the channel [08:29] __doc__ has joined the channel [08:31] fille: hallo [08:32] boehm has joined the channel [08:33] zilch has joined the channel [08:34] herbySk has joined the channel [08:35] `3rdEden has joined the channel [08:36] piscisaureus has joined the channel [08:36] Nexxy has joined the channel [08:36] Nexxy has joined the channel [08:37] mscdex: hola [08:39] simenbrekken has joined the channel [08:39] fille: whats the story [08:40] zilch has joined the channel [08:43] Marak has joined the channel [08:44] temp01 has joined the channel [08:44] zilch has joined the channel [08:44] Marak: anyone know an easy way to "force" the writing of a file regardless of directory existence. as in, i want to create /foo/beep/bird/boop.txt and if any of those dirs dont exist, just create them [08:45] devian has joined the channel [08:46] zomgbie has joined the channel [08:47] zilch has joined the channel [08:48] jesusabdullah: I used mkdirp the other day [08:48] rurufufuss has joined the channel [08:49] adam_ has joined the channel [08:49] zilch has joined the channel [08:52] Marak: is that what that does [08:53] Marak: lol dammit [08:53] Marak: im an idiot [08:53] Marak: https://github.com/substack/node-mkdirp [08:54] dgathright has joined the channel [08:56] Marak: jesusabdullah: looks like no sync API for make derp, should add that using fs.mkdirSync [08:57] zilch has joined the channel [08:58] zastaph has joined the channel [09:01] booo has joined the channel [09:02] zilch has joined the channel [09:02] tomb has joined the channel [09:03] cognominal_ has joined the channel [09:05] lmorchard has joined the channel [09:06] zilch has joined the channel [09:07] mikl has joined the channel [09:07] mikl has joined the channel [09:07] Marak: https://raw.github.com/gist/1144603/4be46cfd342754d66b7c37b62f155c2cc91191d7/mkdirp-sync.patch [09:07] Marak: there it is [09:14] davidcoallier has joined the channel [09:15] thalll has joined the channel [09:16] zilch has joined the channel [09:20] Yoric has joined the channel [09:23] JoshC1 has joined the channel [09:23] zilch has joined the channel [09:24] blueadept: anyone know how i can insert this redirect into the router statement? http://pastie.org/private/jfdtwxl5es2y80a4wjrhpw [09:24] k1ttty has joined the channel [09:27] Nuck: I think tomorrow [09:27] zilch has joined the channel [09:27] Nuck: I'm gonna add oAuth 2 to my API stuff [09:27] Nuck: :B [09:28] liquidproof has joined the channel [09:30] icebox has joined the channel [09:33] zilch has joined the channel [09:35] shinuza has joined the channel [09:35] lng has joined the channel [09:36] mehlah has joined the channel [09:39] dexter_e has joined the channel [09:39] zilch has joined the channel [09:39] confoocious has joined the channel [09:42] mike5w3c has joined the channel [09:43] FireFly has joined the channel [09:43] NetRoY has joined the channel [09:44] lng has joined the channel [09:44] zilch has joined the channel [09:45] lng: hi! I thougt this script should reuse DB connection, but it doesn't: http://pastie.org/private/nypk66gfhgladyia2yjma [09:45] lng: I used ad tool [09:46] lng: and the number concurrent request were issued was equal the number connections in PROCESS LIST statement [09:46] lng: why? [09:48] piscisaureus has joined the channel [09:48] zilch has joined the channel [09:54] dexter_e_ has joined the channel [09:54] jetienne has joined the channel [09:55] zilch has joined the channel [09:57] mraleph has joined the channel [09:59] zilch has joined the channel [09:59] icebox: lng: http://groups.google.com/group/nodejs/browse_thread/thread/04c24f5b9e7ae260?fwc=1 [10:00] lng: icebox: thanks! [10:06] zilch has joined the channel [10:09] blueadept: anyone know how to pass an array to connect ? http://pastie.org/private/r6rjctvgjn7ztevjqalrma [10:09] zilch has joined the channel [10:14] zilch has joined the channel [10:14] mc_greeny has joined the channel [10:15] EvRide has joined the channel [10:16] davidcoallier has joined the channel [10:16] zilch has joined the channel [10:17] shipit has joined the channel [10:19] lng: icebox: how can I get resultset with node-pool? [10:20] zilch has joined the channel [10:21] mike5w3c has joined the channel [10:22] jomoho has joined the channel [10:24] EvRide has joined the channel [10:24] daglees has joined the channel [10:27] zilch has joined the channel [10:28] markwubben has joined the channel [10:28] EvRide has joined the channel [10:31] zilch has joined the channel [10:32] TruPpp has joined the channel [10:34] ttpva has joined the channel [10:37] zilch has joined the channel [10:39] rtward has left the channel [10:39] dob_ has joined the channel [10:41] daithi44 has joined the channel [10:41] zilch has joined the channel [10:41] replore has joined the channel [10:41] dexter_e has joined the channel [10:41] replore_ has joined the channel [10:42] pongwon has joined the channel [10:42] EvRide has joined the channel [10:42] random123 has joined the channel [10:45] zanes has joined the channel [10:45] barbosu has joined the channel [10:45] tobmaster has joined the channel [10:45] zilch has joined the channel [10:46] sebastianedwards has joined the channel [10:46] barbosu has left the channel [10:48] ryanallenbobcat has joined the channel [10:49] gausby has joined the channel [10:49] fairwinds has joined the channel [10:51] zilch has joined the channel [10:51] EvRide1 has joined the channel [10:55] JoshC1 has joined the channel [10:58] zilch has joined the channel [11:01] FireFly|n900 has joined the channel [11:04] TheJH_phone has joined the channel [11:04] TheJH_phone has joined the channel [11:05] zilch has joined the channel [11:06] Wizek has joined the channel [11:08] zilch has joined the channel [11:12] dexter_e has joined the channel [11:13] eyesUnclouded has joined the channel [11:14] zilch has joined the channel [11:15] EvRide has joined the channel [11:16] Tom has joined the channel [11:16] Tom: Inside an express route, why does res.socket.on('end') or 'close' never emit? I am trying to figure out when the http connection ended. [11:17] SubStack: try req.connection [11:19] Tom: SubStack: great, that works. Though I am confused about the difference [11:19] Tom: Thanks a lot [11:20] zilch has joined the channel [11:22] EvRide1 has joined the channel [11:22] SubStack: I have no idea either [11:25] zilch has joined the channel [11:28] zilch has joined the channel [11:29] hkjels_ has joined the channel [11:31] hkjels_ has joined the channel [11:32] hkjels_ has joined the channel [11:33] blup has joined the channel [11:33] topaxi has joined the channel [11:34] ttpva_ has joined the channel [11:34] hkjels_ has joined the channel [11:35] hkjels_ has joined the channel [11:36] damiano has joined the channel [11:36] damiano: hello [11:36] hkjels has joined the channel [11:37] blueadept: sup [11:38] damiano: i have a problem with Express..... i have the "index" page(visible to the user) and the login (that check if the user exists) if the user doesnt exists i have to print an error (but i want to print that error to "index" not to "login" page, because it doesnt show nothing. [11:38] damiano: how can i do it? [11:38] hkjels_ has joined the channel [11:40] hkjels_ has joined the channel [11:41] hkjels_ has joined the channel [11:41] blueadept: you want to print an error that the users does not exist? [11:41] blueadept: on the index page? [11:41] jakehow_ has joined the channel [11:41] jakehow has joined the channel [11:42] damiano: yes [11:42] damiano: exactly [11:42] damiano: this /login page is called from a FORM [11:43] damiano: