[00:00] lzskiss: Brandon_R, this guys came from the alien starship? [00:00] lzskiss: :D [00:00] tonymilne has joined the channel [00:00] willwhite has joined the channel [00:00] ryah: perezd: yep - see the configure options [00:01] perezd: cool, if I vendor node into an app, I want to avoid needing to be root. [00:01] ryah: perezd: compiling into android NDK for v0.4 is prohibitably difficult [00:01] perezd: ie: making root filesystems [00:01] perezd: ryah: any advice/pointers/articles I can research? [00:01] ryah: perezd: no - but i've spent some time looking into this last year [00:02] ryah: any work you do should be using master [00:02] perezd: its easier with 0.6? [00:02] bnoordhuis: perezd: check out paddybyers's work on github [00:02] Brandon_R: ryah, what college did you go to? [00:02] perezd: bnoordhuis: link? [00:02] bnoordhuis: perezd: https://github.com/paddybyers/node [00:03] perezd: awesome thanks [00:03] ryah: Brandon_R: ucsd and university of rochester [00:03] ryah: Brandon_R: why? [00:03] Brandon_R: i was watching the node history interview on youtube [00:03] ryah: oh okay [00:05] derpeter has joined the channel [00:07] perezd: bnoordhuis: this is awesome, I just need a real read me now [00:08] bnoordhuis: perezd: paddy hangs out on freenode, he probably won't mind if you ping him [00:08] perezd: where? [00:09] bnoordhuis: in #libuv [00:10] WeezzZ: re hi everyone, does anyone knows if it is possible to "serialize" object to FS or DB, and then load it again into variable in node.js ? [00:10] AaronMT has joined the channel [00:11] jesusabdullah: WeezzZ: json [00:11] joshsmith: jerrysv: actually, I *can* use ready.js for its aggregation capabilities, and then use uglify as a post-aggregation step to minify/obfuscate [00:12] WeezzZ: jesusabdullah: json, yes that was exactly that I was meaning, but how to ? Is there a specific way ? a good sample or tutorial I should know ? [00:12] jerrysv: joshsmith: if you want an aggregator, maybe look at https://github.com/JerrySievert/servitude [00:12] Spion has joined the channel [00:12] Guest57356: does anyone know how to tell the node installer to prioritize ./deps/v8/src over /usr/local/include? [00:13] jerrysv: joshsmith: just released, so no real following yet (i haven't really promoted it either), but it does dom injection of css and js [00:13] jerrysv: plans are for on-the-fly minification via filters, as well as good if-modified-since 304 handling [00:14] joshsmith: jerrysv: well, I like that jslint is part of ready.js [00:14] joshsmith: but this is cool [00:14] nibblebot has joined the channel [00:14] joshsmith: ima watchu [00:14] criswell has joined the channel [00:14] jerrysv: servitude won't do jslint for you :) [00:14] jesusabdullah: WeezzZ: JSON.parse and JSON.stringify, the fs module, and couchdb [00:14] jerrysv: or, even the better jshint [00:15] jesusabdullah: There's no real magic to it [00:15] joshsmith: yeah, I would love if readyjs had hint [00:15] replore_ has joined the channel [00:15] replore has joined the channel [00:15] EvRide has joined the channel [00:15] jesusabdullah: flatiron/utile has some helpers for reading and writing json files that are kinda handy [00:15] joshsmith: I should just fork it and replace closure compiler with uglify and lint with hint [00:15] joshsmith: jesusabdullah: pimping flatiron! I like [00:16] WeezzZ: jesusabdullah: u rocks, thx [00:16] jesusabdullah: hah [00:16] insin: jesusabdullah: are there any isomorphic example apps yet? *holds out empty cup* [00:16] jesusabdullah: well, I like utile :) It's a bit grabbaggy but it has some good stuff in it [00:16] brianseeders has joined the channel [00:16] jerrysv: joshsmith: it's part of his job description: code, pimp our wares, code [00:18] jesusabdullah: insin: Not sure tbh, but if not I think there will be some soon :) [00:18] joshsmith: now it's time to write a pre-commit hook for this [00:18] insin: Need to start playing with tools for them over the xmas break. Kanso & derby.js too [00:18] shapeshed has joined the channel [00:19] flat has joined the channel [00:19] jesusabdullah: I need to experiment with git hooks [00:19] jesusabdullah: I think there's some good stuff there [00:19] jimubao has joined the channel [00:19] joshsmith: jesusabdullah: indeed there is [00:19] joshsmith: have you seen reviewth.is? [00:20] jesusabdullah: nope! [00:20] TheFuzzball has joined the channel [00:20] jesusabdullah: brb smoke break (I'll look at it when I get back) [00:20] joshsmith: it is fantastic [00:20] joshsmith: clicky when you do: http://reviewth.is/ [00:21] jesusabdullah: Oh, that's cool [00:21] jesusabdullah: not a bad idea :) [00:21] [[zz]] has joined the channel [00:21] joshsmith: indeud [00:22] TheFuzzball: 3. Profit! [00:23] kurtzhong has joined the channel [00:25] Poetro has joined the channel [00:25] mikeal has joined the channel [00:26] admc has joined the channel [00:26] monokrome has joined the channel [00:27] shinuza has joined the channel [00:36] TimTim: would someone good with upstart be so kind as to tell me why this upstart script doesn't work? loads redis but not node... here's a pastebin of 4 things i've tried: http://pastebin.com/N0rss4ky [00:36] jerrysv: TimTim: what port does your node app start on? [00:37] TimTim: 8080, but i have iptables rerouting it to 80 [00:37] jerrysv: just checking the dumb stuff :) [00:37] TimTim: :) [00:38] jerrysv: maybe separate out to another startup script just for the node app, and make sure that starts up fine, then call that from the upstart script? [00:38] jxson_ has joined the channel [00:39] sshaginyan has joined the channel [00:41] a_suenami has joined the channel [00:43] gtramontina has joined the channel [00:43] jimt has joined the channel [00:44] DTrejo: oy: I tried to switch from fs.watchFile to fs.watch on mac osx, and I got a Error: watch EMFILE. :| [00:44] coderarity has joined the channel [00:46] devaholic has joined the channel [00:47] GrizzLyCRO has joined the channel [00:47] TimTim: jerrysv, for some reason upstarting node by itself works fine... but after creating a separate upstart for redis, i have to manually start node [00:48] TimTim: i think it might have to do with the order of the upstarts (node needs redis) [00:48] bnoordhuis: DTrejo: bump `ulimit -n` [00:48] TimTim: which is why i did it like you see in the pastebin with the "&& [00:48] jerrysv: TimTim: that's odd. i tend to start up my services separately though [00:49] TimTim: ACTION tries a sleep command. [00:49] TimTim: jerrysv, can i do "exec sleep ; sudo -u etc..." [00:49] jerrysv: the && should have taken care of it [00:49] TimTim: er sleep(5) [00:50] lz has joined the channel [00:51] jerrysv: unless you have to exec .... && exec .... [00:52] jerrysv: TimTim: why not one upstart script for redis, one for your app? [00:53] bicranial has joined the channel [00:55] bluebit has joined the channel [00:56] willwhite has joined the channel [00:56] TimTim: that's what i meant when i mentioned the race condition [00:56] overra_ has joined the channel [00:57] ly- has joined the channel [00:58] bicranial| has joined the channel [00:59] jerrysv: TimTim: unless i misunderstand upstart, you can have the node app start after redis -- http://upstart.ubuntu.com/cookbook/#start-depends-on-another-service [00:59] cognominal has joined the channel [00:59] huntero has joined the channel [01:01] coreb has joined the channel [01:01] Sample has joined the channel [01:02] mike5w3c_ has joined the channel [01:02] EhevuTov has joined the channel [01:03] TimTim: jerrysv that looks like exactly what i need [01:03] TimTim: ACTION crosses fingers. [01:03] jerrysv: TimTim: awesome [01:05] holzp: which node library should be used for mysql? [01:05] holzp: node-mysql doesnt seem to work very well [01:06] neoesque has joined the channel [01:06] jeromegn has joined the channel [01:07] TimTim: AWESOME thank you so much jerrysv [01:07] DTrejo: thank you bnoordhuis, my mac doesn't have that tho, sadly. Question: on windows my users are reporting that fs.watchFile does not work, but then on mac fs.watch is broken. Should I detect windows vs mac and use different code? [01:07] TimTim: i looked for something like that but i misleadingly read somewhere that the upstart pages on ubuntu.com were lacking... maybe what i read was just out of date [01:07] DTrejo: or rather, windows vs anything else [01:08] jerrysv: TimTim: np. sometimes i miss the old sysvinit [01:08] nibblebot has joined the channel [01:09] criswell has joined the channel [01:09] Leemp: Question: Is Object.keys() valid in nodejs? Mine doesn't seem to have it, but i assume that's because the version i am using is horribly old.. so i'm just checking to make sure [01:09] cmr: Leemp: Not here I don't, 0.6.6 [01:10] cmr: I take it back, 0.6.5 [01:10] AvianFlu: Object.keys() should be there [01:10] cmr: Guess I haven't 'make install' yet [01:10] cmr: I take it back. [01:10] Ownatik has joined the channel [01:10] cmr: I was doing Object().keys, my bad. [01:11] Leemp: Oh duh, my bad. Object.x always throws me for a loop. I assume "Object.whatever means all objects, including my own, will have that property. Eg: console.log(myObject.keys()). Instead it should be Object.keys(myObject) [01:12] Leemp: Why is that anyway? Isn't Object the root of all objects? So why have the format of Object.keys(myObject) when you could have the format of myObject.keys()? [01:12] ovaillancourt has joined the channel [01:12] rabidmachine9 has joined the channel [01:13] boehm has joined the channel [01:13] bradleymeck has joined the channel [01:13] jxson has joined the channel [01:13] hcchien has joined the channel [01:13] Lingerance: Leemp: because that isn't how it works [01:14] Leemp: Lingerance: Please explain (JS noob here) [01:14] Lingerance: Object is a function (which can act like an object if you need it to) [01:14] alejandromg: Leemp: Object.keys it's ES5, nothing to do with node ;) To read: https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object/ [01:14] Lingerance: Whereas all objects will get Object's prototype which is Object.prototype [01:14] Leemp: Lingerance: Ah right [01:14] Lingerance: Thus: Object.prototype.keys = Object.keys; // this will make x.keys() work [01:14] Leemp: Lingerance: Still getting used to prototypical inheritance [01:15] Lingerance: HOWEVER. You should not be extending Object.prototype. [01:15] Lingerance: Which is why those things are on Object [01:16] shiawuen has joined the channel [01:16] rabidmachine9: Hello I keep geting this Error: Cannot find module 'base64' [01:16] bradleymeck: npm install base64 ? [01:17] rabidmachine9: here is the code https://gist.github.com/6ea224f646ed91ac42ae/659565c85e08aa936ec45b4c8ce9b08adde55418 [01:17] rabidmachine9: I have installed base64 several times [01:17] rabidmachine9: no luck [01:17] rabidmachine9: globaly and on the project... [01:18] DTrejo: rabidmachine9: I don't see the require [01:19] langworthy has joined the channel [01:19] Tobsn has joined the channel [01:20] DTrejo: is there a way to detect that node is running on windows?? [01:20] skunkape has joined the channel [01:21] Brandon_R has joined the channel [01:21] rabidmachine9: DTrejo: I don't think it's require [01:21] Brandon_R: hey ryah [01:21] devongovett has joined the channel [01:21] Brandon_R: don;t take this the wrong way but i'm glaf you dropped out of college :P [01:21] rabidmachine9: DTrejo: open your comand line and write node [01:21] Brandon_R: glad [01:22] kazupon has joined the channel [01:22] DTrejo: rabidmachine9: you can use the Buffer to convert things to base64 [01:22] jerrysv: DTrejo: i think there is -- there are a couple of internal checks for windows that throw errors when calling some methods. trying to remember which i saw [01:22] jerrysv: it was almost offensive :) [01:22] bradleymeck: DTrejo, process.platform? [01:22] DTrejo: :| [01:22] DTrejo: ooh [01:23] DTrejo: rabidmachine9: http://nodejs.org/docs/latest/api/buffers.html [01:23] btipling has joined the channel [01:23] DTrejo: thanks bradleymeck, looking into it [01:23] flat: DTrejo: Check process.arch [01:23] fzzzy has joined the channel [01:23] flat: DTrejo: Check process.platform I mean [01:23] btipling has left the channel [01:23] jerrysv: yeah, that [01:23] defunctzombie has joined the channel [01:24] DTrejo: will it just be 'windows' ? [01:24] Brandon_R: hey guy [01:24] Brandon_R: s [01:24] Brandon_R: i have school tomorrow [01:24] DTrejo: anyone running windows right now that can check it for me? [01:24] DTrejo: well, I suppose I should just fire up my vm [01:24] lzskiss: im on liniux box [01:24] bradleymeck: anyone have a good idea on how to check when a socket.bufferSize is decreasing without a timeout [01:24] DTrejo: don't worry about, thanks for the help everyone [01:25] bradleymeck: and / or a way to throttle it to a size [01:25] idefine has joined the channel [01:27] davidbanham has joined the channel [01:28] admc has joined the channel [01:34] aliem has joined the channel [01:35] napperjabber_ has joined the channel [01:37] perezd: rauchg: is this still accurate? http://www.ranu.com.ar/2011/11/redisstore-and-rooms-with-socketio.html [01:37] QiBol has joined the channel [01:37] perezd: keep getting this error: Error: Redis connection to 127.0.0.1:[object Object] failed - EAFNOSUPPORT, Address family not supported by protocol family [01:37] perezd: trying to figure out why [01:38] rauchg: perezd [01:38] rauchg: maybe change 'url' [01:38] rauchg: with your url [01:38] rauchg: :D [01:38] rauchg: yeah that looks good [01:38] perezd: yeah I've done that [01:38] perezd: wtf ughhh [01:38] rauchg: obviously you have a problem connecting to redis, not socket.io related [01:39] perezd: well its how socket.io is configuring it [01:39] perezd: if i understand correctly [01:41] kitt has joined the channel [01:41] CarlosC has joined the channel [01:42] Brandon_R: hey raouchg [01:42] kazupon has joined the channel [01:42] Brandon_R: i love your work [01:42] Brandon_R: engine.io is awesome [01:43] Brandon_R: rauchg [01:44] rauchg: Brandon_R [01:44] rauchg: thanks [01:45] Brandon_R: what's next, if you don't mind me asking? [01:45] rauchg: universe.io [01:45] icewhite has joined the channel [01:46] Brandon_R: cool [01:46] Brandon_R: what does it do? [01:47] rauchg: not done yet :P [01:47] Brandon_R: :D [01:47] aaroninfidel has joined the channel [01:47] aaroninfidel: hi there, can someone explain to me how the fs.read function works? [01:47] Brandon_R: Are you going to register an X.io domain for all these apps? it's great for a brand. works nicely for socket.io [01:48] rauchg: a lot of them are taken nowadays [01:48] aaroninfidel: I'm using it like this fs.read(data, buf, 0, 128, data.length - 129, callback); but its saying I'm passing bad arguments [01:48] rauchg: I'm glad i have barr.io [01:49] Brandon_R: nice catch [01:51] shedinja_ has joined the channel [01:51] aaroninfidel: on fs.read what is the fd argument? [01:52] aaroninfidel: its a buffer correct? [01:52] Leemp: Can anyone explain to me the JS/Node equivalent of Python's "if __name__ == '__main__' "? [01:52] Leemp: It's a check to see if that file was ran directly from the executable, rather than imported. Eg, python myfile.py, or node some.js [01:52] indexzero has joined the channel [01:52] DTrejo: Leemp: if (require.main === module) { [01:52] DTrejo: [01:52] DTrejo: } [01:52] Leemp: (Sorry if this is more of a JS than Node question, but ##javascript didn't seem to know heh) [01:52] Leemp: DTrejo: Perfect, ty :) [01:52] DTrejo: np :) [01:53] tonymilne: http://stackoverflow.com/questions/4981891/node-js-equivalent-of-pythons-if-name-main [01:53] Vespakoen has left the channel [01:54] Leemp: tonymilne: Any reason if i should use one over another? require.main === module seems more readable [01:54] Leemp: Though, !parent makes plenty of sense, just not directly towards the point of the code [01:54] nibblebot has joined the channel [01:54] perezd: rauchg: so this thing doesn't work at all [01:54] perezd: function RedisClient(stream, options) { [01:55] perezd: is the internal constructor [01:55] perezd: and its being treated like the public signature: [01:55] perezd: exports.createClient = function (port_arg, host_arg, options) { [01:55] aaroninfidel: Leemp: was that answer directed to me? [01:56] perezd: this.pub = redis.createClient(opts.redisPub); [01:56] Leemp: aaroninfidel: Nope, it was directed at tonymilne, as he was directing a comment towards me.. was your question directed at me? This is getting confusing. [01:56] perezd: rauchg [01:56] aaroninfidel: Leemp: haha no, sorry. [01:57] Leemp: aaroninfidel: haha [01:57] Leemp: Also, there are too many "aa"'s in the chat. Jesus. [01:57] perezd: ah. 0.8.7 patches this. [01:57] aaroninfidel: can someone give me an example if I want to read in the last 128 bytes of an mp3 file and parse that data into an object aka artist/title/etc what would this entail? [01:58] djbell has joined the channel [01:58] admc has joined the channel [01:59] bradleymeck: aaroninfidel, fs.stat(path).size and http://nodejs.org/docs/latest/api/fs.html#fs.read [01:59] bradleymeck: after that it really depends on what format the data is in [02:00] bradleymeck: in 0.6 you get a lot of nice Buffer methods to read data, but you can use node-buffers for older support [02:01] brianloveswords has joined the channel [02:01] Brandon_R: hey [02:03] kurtzhong has joined the channel [02:05] chrisvwebdev has joined the channel [02:05] criswell has joined the channel [02:08] meso has joined the channel [02:09] fermion has joined the channel [02:15] pik has joined the channel [02:16] chrisvwebdev has joined the channel [02:17] Ownatik has left the channel [02:18] tommyvyo has joined the channel [02:19] devdazed has joined the channel [02:19] broofa has joined the channel [02:19] k1ttty has joined the channel [02:21] thalll has joined the channel [02:22] shiawuen has joined the channel [02:23] bicranial has joined the channel [02:23] bartt has joined the channel [02:24] MarkMenard has joined the channel [02:25] chadskidmore has joined the channel [02:25] TimTim has joined the channel [02:27] jacobolus has joined the channel [02:28] dwhittle has joined the channel [02:28] jamescarr has joined the channel [02:28] aaroninfidel has left the channel [02:30] Metal3d has joined the channel [02:31] clu3 has joined the channel [02:32] JakeyChan has joined the channel [02:35] bluebit has joined the channel [02:35] nibblebot has joined the channel [02:35] tkaemming has joined the channel [02:35] bicranial| has joined the channel [02:36] nicholasf has joined the channel [02:36] josephg has joined the channel [02:39] joshsmith: is there still no way to do Travis with a private project? [02:40] hij1nx has joined the channel [02:42] descipher has joined the channel [02:43] Metal3d has joined the channel [02:44] jaequery has joined the channel [02:44] bradleymeck: joshsmith, correct, you will need to run your own travis for now [02:45] joshsmith: are there plans to do that in the future? [02:45] bradleymeck: ask #travis [02:47] pradeebv has joined the channel [02:49] gigafied has left the channel [02:51] Charuru has joined the channel [02:53] TimTim has joined the channel [02:56] bicranial has joined the channel [02:58] neurodrone has joined the channel [02:58] jocafa has joined the channel [02:59] JaKWaC has joined the channel [02:59] chadskidmore has joined the channel [03:00] jeromegn has joined the channel [03:01] CrypticSwarm has joined the channel [03:02] bartt has joined the channel [03:02] chrisvwebdev has joined the channel [03:05] torm3nt has joined the channel [03:06] jxson_ has joined the channel [03:06] JJMalina has joined the channel [03:09] dthompso99 has joined the channel [03:09] andrewfff has joined the channel [03:13] astropirate has joined the channel [03:17] sshaginyan: HI can anyone tell why I don't see "Hello" after every 2 seconds? http://pastie.org/3055481 [03:17] cmr: sshaginyan: You need to do setInterval(test, 2000); [03:18] cmr: sshaginyan: setInterval's first argument is a function, not 'undefined' (which is what test() returns) [03:18] ovaillancourt has joined the channel [03:18] cmr: At line 5 you are /calling/ test, not passing it in. [03:18] josefig has joined the channel [03:18] papachan has joined the channel [03:19] sshaginyan: cmr: As for the "undefined" is there anythign I can return in the function to make it work? [03:20] sshaginyan: cmr: Maybe return this; [03:20] cmr: sshaginyan: Why would you want to do that? [03:20] cmr: So test() gets called right off? [03:20] sshaginyan: cmr: Just learning and experimenting [03:20] cmr: I would do setInterval(function() {test(); return test;}, 2000) [03:21] cmr: Err, function() {test(); return test;}() [03:23] sshaginyan: cmr: ty [03:24] sshaginyan: cmr: Would there be anyway to pass a parameter to test? [03:24] cmr: sshaginyan: From where? The set interval? [03:24] Me1000 has joined the channel [03:25] chrisvwebdev has left the channel [03:25] cmr: For that, the pattern is setInterval(function() { test(arg); }, 2000) [03:25] sshaginyan: setInterval(walk(Here), 2000); Yes my walk function is going to be recursive [03:25] sshaginyan: sorry test function is recursive [03:26] bulatshakirzyano has joined the channel [03:27] tshpaper has joined the channel [03:28] chadskid_ has joined the channel [03:29] tahu has joined the channel [03:29] cmr: sshaginyan: Can you see how you can use the anonymous function to do lots of neat things? [03:29] sshaginyan: cmr: Yes I love em :) [03:30] gavin_huang has joined the channel [03:30] neurodrone has joined the channel [03:31] captain_morgan has joined the channel [03:33] DTrejo has joined the channel [03:35] JakeyChan_ has joined the channel [03:35] Sorella: sshaginyan, you probably should take a deeper look into closures, currying, partial application and general higher-order functions. They'll improve your program structure and modularity a lot :3 [03:35] WeezzZ: What would prefer ? MongDb or CouchDb ? Wich one is the most integrated with node.js ? [03:36] sshaginyan: Sorella: Thanks. What about this? http://addyosmani.com/resources/essentialjsdesignpatterns/book/ [03:36] Spion_ has joined the channel [03:36] Spion_ has joined the channel [03:37] krazyj has joined the channel [03:37] cmr: sshaginyan: My personal belief is that design patterns are naturally occuring and when you need them, they will occur naturally as good code design. [03:37] cmr: Thus making book irrelevant. [03:37] krazyj: hey all… does anyone have any suggestions on a simple localhost HTTP server that will echo HTTP REST request content? [03:38] krazyj: for testing REST calls and such [03:38] dr0id has joined the channel [03:39] cmr: But that's just me. [03:39] Sorella: sshaginyan, I don't know that article, but most "design patterns for JS" that I've seen were trying to mimick Java design patterns, which just doesn't work since the languages have not the slightest close semantics. Java suffers from problems that JS doesn't, and vice-versa, so you need different mindsets to attack problems. [03:40] Sorella: sshaginyan, again, I think a high functional programming background and a knowledge of prototypical inheritance are the key to writing better JS programs. As cmr said, patterns should come naturally for each context. [03:41] Sorella: what matters is knowing the underlying concept, now which workaround to use in everywhich case, imho. [03:41] fizx has joined the channel [03:41] cmr: Agree completely, much better put than me. [03:41] sshaginyan: Sorella: Yeah, I'm having a lot of probelms with organization [03:42] JaKWaC has joined the channel [03:42] devaholic has joined the channel [03:42] Sorella: .g sicp @ sshaginyan [03:42] catb0t: sshaginyan: Welcome to the SICP Web Site @ http://mitpress.mit.edu/sicp/ [03:42] sshaginyan: Sorella: Or the flow of a program. Where it starts and ends [03:42] Charuru has joined the channel [03:43] Sorella: sshaginyan, I recommend reading that book, as it explains the core concepts of program organisation in a functional language. How to compose building blocks to achieve modularisation and stuff. [03:43] JaKWaC has joined the channel [03:44] wiwillia has joined the channel [03:45] boltR has joined the channel [03:47] tommyvyo has joined the channel [03:47] theycallmeswift has joined the channel [03:48] Sample has joined the channel [03:48] Sample has joined the channel [03:48] macav has joined the channel [03:51] marcello3d: what's the correct way to branch code for v0.4 vs 0.6? [03:52] tonymilne has left the channel [03:52] bradleymeck: marcello3d, generally make a branch for 0.4 and just backport critical updates, i would not recommend maintaining full backport [03:53] marcello3d: the only difference is support for 'hex' encoding [03:53] mandric has joined the channel [03:53] marcello3d: I don't want to deal with backporting for such a trivial difference [03:53] cmr: Could you use a helper function that falls back when there is no support? [03:54] cmr: Or monkeypatch it [03:54] cmr: Not sure if most correct, but it's what comes to mind. [03:54] kazupon has joined the channel [03:55] lwille has joined the channel [03:55] subbyyy has joined the channel [03:55] marcello3d: that's what I'm thinking [03:56] marcello3d: I don't want to do the exception catch every time but I could do it once to determine what function to pass around [03:56] cmr: I suppose in JS you call a monkeypatch a polyfill. [03:56] cmr: marcello3d: Yeah, that's what I was thinking. [04:00] bambanx has joined the channel [04:00] bambanx: hi [04:01] windsurf_ has joined the channel [04:01] wedtm has joined the channel [04:02] windsurf_: I guess connecting to a REST service over SSL is more secure than a remote mysql call using the mysql module eh? [04:02] zodiak has joined the channel [04:02] kriszyp has joined the channel [04:04] IrishGringo has joined the channel [04:04] sharkbird has joined the channel [04:04] sharkbird_ has joined the channel [04:06] marcello3d: working on the new mongolian branch [04:09] gigafied has joined the channel [04:09] ttilley has joined the channel [04:10] mrryanjohnston has joined the channel [04:11] neurodrone_ has joined the channel [04:14] marcello3d: ugly, but works: https://github.com/marcello3d/node-buffalo/commit/654d7bedb5665ce8e358b0f4aeb46467290801f1 [04:15] kenperkins has joined the channel [04:15] sebastianedwards has joined the channel [04:17] josefig has joined the channel [04:17] josefig has joined the channel [04:17] insin: wow, things get pretty epic when you decide to care about the err on every callback :) [04:17] dreamdust has joined the channel [04:18] chakrit has joined the channel [04:19] fbartho has joined the channel [04:20] vlixes has joined the channel [04:24] jerrysv has joined the channel [04:24] Wizek has joined the channel [04:26] GriffenJBS has left the channel [04:27] Wa has joined the channel [04:32] dilvie has joined the channel [04:35] brianthecoder has joined the channel [04:35] bartt has joined the channel [04:36] joshsmith has joined the channel [04:37] JaKWaC has joined the channel [04:38] htoothrot has joined the channel [04:42] jstash has joined the channel [04:42] kerang: isaacs: is there any plan to configure global dependencies via npm package.json? [04:45] Wizek has joined the channel [04:46] ditesh|cassini has joined the channel [04:46] harthur has joined the channel [04:46] marcello3d: nice, passes tests and run on 0.4 and 0.6 :D https://github.com/marcello3d/node-mongolian/tree/buffalo . http://travis-ci.org/#!/marcello3d/node-mongolian [04:47] cmr: marcello3d: is travis as nice as it looks, because it looks pretty amazing (not the visual style, my impression of it (but the visual style is nice too)) [04:47] marcello3d: yes [04:47] marcello3d: travis is great [04:47] marcello3d: no reason not to use it [04:48] cmr: Wonderful [04:48] cmr: ACTION adds travis to his list of tools [04:48] marcello3d: it's also easy to use [04:48] marcello3d: it even supports databases [04:48] k1ttty has joined the channel [04:49] mike5w3c has joined the channel [04:51] cmr: I see it uses 'npm test', but how does it tell if tests pass or fail, and which? I cannot find it in the docs [04:51] marcello3d: process return code I believe [04:52] marcello3d: for example (a failed build): http://travis-ci.org/#!/marcello3d/node-mongolian/jobs/423515 [04:52] marcello3d: and successful: http://travis-ci.org/#!/marcello3d/node-mongolian/jobs/423518 [04:52] cmr: Ah, so it just gives you the output of your test suite. [04:52] cmr: Without fanciness applied. [04:52] cmr: I like it. [04:52] marcello3d: yup [04:52] marcello3d: it's super simple but effective [04:53] cmr: Yeah [04:53] marcello3d: and supports colors :D [04:53] nicholasf has joined the channel [04:53] jakehow has joined the channel [04:53] sshaginyan has joined the channel [04:53] marcello3d: and they give you a little widget you can put on your github readme [04:54] bradleymeck: kerang, is there a reason they cannot be included as local? [04:54] cmr: Yeah, I saw that. Really nice. [04:54] cmr: It was my first introduction to travis. [04:54] kerang: bradleymeck: command line tools [04:54] bradleymeck: kerang, node_modules/.bin/name-of-tool [04:54] brianthecoder: what argument do you pass to the connect logger to get it to log to a file? [04:54] fizx has joined the channel [04:54] brianthecoder: do you have to implement something or can you pass a file name or file instance? [04:55] kerang: bradleymeck: fair enough... was hoping to use name-of-tool directly [04:55] bradleymeck: kerang, npm doesnt do aliasing for subshells, doubt it ever will [04:55] kerang: bradleymeck: ic.. thanks [04:56] jzacsh has joined the channel [04:56] kishoreyekkanti has joined the channel [04:57] confoocious has joined the channel [04:57] madhums has joined the channel [04:57] bradleymeck: kerang, basically if windows *cant* support it it wont be a first class citizen, i was worried about npm link for the longest time [04:58] kerang: bradleymeck: totally forgot about windows :).. makes sense [05:01] OmidRaha has joined the channel [05:02] schristo has left the channel [05:03] mike5w3c has joined the channel [05:04] mattgifford has joined the channel [05:05] bradleymeck has joined the channel [05:05] carlyle has joined the channel [05:11] fangel has joined the channel [05:12] jzacsh has joined the channel [05:12] Waha has joined the channel [05:13] monokrom_ has joined the channel [05:14] brianthecoder: how do you make the express logger write to a file or actually use it? [05:16] braoru has joined the channel [05:18] bradleymeck: brianthecoder, use a process manager that makes logs (or just pipe console), or use a different middleware that gives you a logger like winston [05:21] monokrome has joined the channel [05:24] CrypticSwarm has joined the channel [05:24] merb has joined the channel [05:26] ambroff has joined the channel [05:26] te-brian2: what would you guys recommend if I hate Unity? lol was trying out Xubuntu this morning.. its alright [05:27] insin: I went to Xubuntu, liking it [05:28] monokrom_ has joined the channel [05:28] BillyBreen has joined the channel [05:28] chakrit: Anyone using homebrew with nvm ? [05:29] te-brian2: what are your must-have apps... what launcher do you use for example? [05:30] te-brian2: because Xubuntu is much more lean out-of-the-box right? [05:33] insin: I usually use Launchy, but haven't installed anything else yet - the default faux-launcher and menu bar are workable OOTB because it doesn't come bundled with a load of crapware [05:34] monokrome has joined the channel [05:34] subbyyy has joined the channel [05:38] insin: Resisting the urge to use var that = this... [05:40] mara has joined the channel [05:43] lwille has joined the channel [05:49] phluffy has joined the channel [05:52] isaacs has joined the channel [05:55] caffine has joined the channel [05:58] norviller has joined the channel [06:00] huntero has joined the channel [06:00] EyePulp has joined the channel [06:03] joshontheweb has joined the channel [06:06] joshontheweb has joined the channel [06:06] chakrit has joined the channel [06:10] kishoreyekkanti_ has joined the channel [06:11] joshontheweb has joined the channel [06:17] flat has joined the channel [06:19] joshontheweb has joined the channel [06:19] joshfinnie has joined the channel [06:21] SamuraiJack has joined the channel [06:21] pronam has joined the channel [06:22] superjudge has joined the channel [06:25] superjudge has joined the channel [06:25] joshontheweb has joined the channel [06:27] joshontheweb has joined the channel [06:28] wilmoore has joined the channel [06:28] josefig has joined the channel [06:29] jxson has joined the channel [06:30] ceej has joined the channel [06:31] AD7six has joined the channel [06:33] jaitaiwan has joined the channel [06:37] salva has joined the channel [06:38] AD7six has joined the channel [06:42] joshontheweb has joined the channel [06:43] xeodox has joined the channel [06:44] houston has joined the channel [06:45] joshontheweb has joined the channel [06:45] xeodox: whats the difference between now.js and socket.io? [06:46] lulzilla has joined the channel [06:47] houston: hi all [06:47] houston: i just downloaded nodejs 0.6.6 [06:47] houston: using windows msi installer [06:47] houston: i cant seems to run anything, not even example.js [06:47] houston: any clue? [06:47] houston: when i typed in node [06:48] ditesh|cassini has joined the channel [06:48] N0va` has joined the channel [06:48] houston: it returns me ReferenceError : node is not defined [06:48] mantooth has joined the channel [06:52] joshontheweb has joined the channel [06:54] bradleymeck: xeodox, socket.io is a transport protocol, now.js is a syncing method built ontop of it [06:54] xeodox: bradleymeck: if you have now.js, do you still need socket.io? [06:55] xeodox: (i know its built on top of it, but would you still need to use socket.io alone?) [06:55] bradleymeck: no npm will handle the dependencies for you [06:56] xeodox: i know..i meant…in my code [06:56] xeodox: so…now.js basically does everything socket.io does + more, riht? [06:57] bogomips2_ has joined the channel [06:57] bradleymeck: xeodox, it does things using socket.io that are non-trivial, but it may be less suitable than just socket.io [06:57] bradleymeck: in your code if you use nowjs you only need to require nowjs [06:58] AD7six has joined the channel [07:00] josh-k has joined the channel [07:01] joshontheweb has joined the channel [07:02] NetRoY has joined the channel [07:03] mike5w3c has joined the channel [07:06] ppcano has joined the channel [07:06] bergie_ has joined the channel [07:07] joshontheweb has joined the channel [07:08] kuebk has joined the channel [07:08] buttface has joined the channel [07:09] sshaginyan has joined the channel [07:10] kuebk has left the channel [07:11] davidbanham has joined the channel [07:14] joshontheweb has joined the channel [07:16] jxie_ has joined the channel [07:17] jmmills has joined the channel [07:17] jmmills: Simple npm question [07:18] jmmills: doing a git hook deploy script for a dev project, did an npm install $clonedir - now I want it to update that package to pick up any changes to it's package.json [07:18] jmmills: do an npm update $projectname and it wants to find the $projectname in the registry [07:18] jmmills: which it doesn't exist in because it's a private module [07:19] jmmills: little stuck as the man page doesn't give any clues [07:19] addisonj has joined the channel [07:19] isaacs: jmmills: just install it again [07:19] jmmills: tried that, doesn't update [07:19] joshontheweb has joined the channel [07:19] jmmills: do I need to nuke to install dir first? [07:19] isaacs: jmmills: not `npm install`. specify the thing you want installed. [07:19] isaacs: jmmills: `npm install ` [07:20] jmmills: ACTION tries [07:20] isaacs: it'll clobber it [07:20] isaacs: jmmills: also: you should check out link. [07:20] isaacs: (assuming your'e not on windows) [07:20] isaacs: i'm off. good night, good luck :) [07:21] replore has joined the channel [07:21] replore_ has joined the channel [07:23] ajpiano has joined the channel [07:24] jmmills: negative on the clobber :( [07:24] joshontheweb has joined the channel [07:26] thalll has joined the channel [07:28] AD7six has joined the channel [07:28] gigafied has joined the channel [07:29] joshontheweb has joined the channel [07:29] dharmesh has joined the channel [07:29] k1ttty has joined the channel [07:30] herbySk has joined the channel [07:30] davidbanham has joined the channel [07:32] raydeo has joined the channel [07:33] shapeshed has joined the channel [07:34] joshontheweb has joined the channel [07:39] joshontheweb has joined the channel [07:41] `3rdEden has joined the channel [07:42] fangel_ has joined the channel [07:44] joshontheweb has joined the channel [07:45] AD7six has joined the channel [07:48] dilvie has joined the channel [07:49] joshontheweb has joined the channel [07:51] rendar has joined the channel [07:52] brianthecoder has joined the channel [07:54] joshontheweb has joined the channel [07:55] LeMike has joined the channel [07:57] petrjanda has joined the channel [07:59] joshontheweb has joined the channel [08:01] stalled has joined the channel [08:01] wmage has joined the channel [08:02] joshontheweb has joined the channel [08:02] mike5w3c_ has joined the channel [08:03] AD7six has joined the channel [08:04] stagas has joined the channel [08:05] DTrejo has joined the channel [08:07] joshontheweb has joined the channel [08:07] bergie_ has joined the channel [08:10] fangel has joined the channel [08:10] tnlogy has joined the channel [08:12] ccare has joined the channel [08:13] joshfinnie has joined the channel [08:14] dgathright has joined the channel [08:15] ablomen has joined the channel [08:16] loob2 has joined the channel [08:16] petrjanda has joined the channel [08:18] Morkel has joined the channel [08:18] joestein has joined the channel [08:23] ger^kallisti has joined the channel [08:23] icebox has joined the channel [08:23] bogomips2_ has joined the channel [08:24] neshaug has joined the channel [08:24] HT has joined the channel [08:27] astropirate has joined the channel [08:29] Salam has joined the channel [08:29] malkomalko has joined the channel [08:29] AD7six has joined the channel [08:30] kliff has joined the channel [08:30] hipsters_ has joined the channel [08:34] erikzaadi has joined the channel [08:35] beevits has joined the channel [08:36] kishoreyekkanti_ has joined the channel [08:37] Druid_ has joined the channel [08:38] triptec has joined the channel [08:39] bshumate has joined the channel [08:39] alnewkirk has joined the channel [08:40] tvw has joined the channel [08:41] JakeyChan has joined the channel [08:41] metalball2 has joined the channel [08:42] CIA-109: node: 03Shannen 07v0.6 * ref65919 10/ (4 files in 3 dirs): [08:42] CIA-109: node: docs: use "Level 1" HTML5 features [08:42] CIA-109: node: Since we're using an HTML doctype we might as well use "Level 1" HTML5 features. [08:42] CIA-109: node: See more: http://mathiasbynens.be/notes/html5-levels#level-1 [08:42] CIA-109: node: Fixes #2386. - http://git.io/dZ89-g [08:42] CIA-109: node: 03Seong-Rak Choi 07v0.6 * r892ba87 10/ doc/template.html : [08:42] CIA-109: node: docs: fix javascript error on document page [08:42] CIA-109: node: `highlight()` is called twice. It causes following javascript error. [08:42] CIA-109: node: > Uncaught Found
 element with class="sh_sourcecode",
[08:42] CIA-109: node: > but no such language exists
[08:42] CIA-109: node: Fixes #2393. - http://git.io/i-qgbA
[08:44] superjudge has joined the channel
[08:44] vl4kn0 has joined the channel
[08:45] Luffha has joined the channel
[08:47] p1d has joined the channel
[08:47] whitman has joined the channel
[08:48] insin has joined the channel
[08:48] superjudge has joined the channel
[08:49] mange has joined the channel
[08:49] JakeyChan: hey ?
[08:50] ryan_stevens has joined the channel
[08:50] Renegade001 has joined the channel
[08:50] ditesh|cassini has joined the channel
[08:52] JakeyChan: who knows bones ? here https://github.com/developmentseed/bones
[08:54] Bird_ has joined the channel
[08:54] ryan_stevens: does anyone know a good way to install a module globally without registering it with npm?
[08:54] JakeyChan_ has joined the channel
[08:56] __doc__ has joined the channel
[08:58] ger^kallisti has joined the channel
[09:00] mpavel has joined the channel
[09:02] jetienne has joined the channel
[09:03] stagas has joined the channel
[09:04] hipsters_ has joined the channel
[09:05] dannyamey has joined the channel
[09:06] spolu has joined the channel
[09:07] icebox: ryan_stevens: copying the files of the module in the global directory (be aware with the dependencies)?
[09:08] ph^ has joined the channel
[09:09] Bird_: Hi people. Anyone here familiar with contextify on windows?
[09:09] djcoin has joined the channel
[09:09] Bird_: I've googled around and found various suggestive solutions, but no dice so far
[09:09] eldios has joined the channel
[09:10] icebox: Bird_: well... I installed it and it works nice so far
[09:10] Bird_: did you install with npm?
[09:10] eldios: hey guys.. do you have any good TDD/BDD link related to NodeJS?
[09:10] Bird_: I tried using the steps here: http://stackoverflow.com/questions/8451842/node-js-on-windows-add-package-from-build-node
[09:10] Bird_: with the precompiled windows fork
[09:11] Bird_: but it refuses to recognize it
[09:11] mc_greeny has joined the channel
[09:11] mpavel has left the channel
[09:11] icebox: Bird_: no... I cloned the project in node_modules: https://github.com/Benvie/contextify/
[09:12] Bird_: so just clone the whole thing to c:/myproject/node_modules ?
[09:12] icebox: Bird_: yep... it contains build dir containing the compiled bindings
[09:13] skm has joined the channel
[09:14] baudehlo has joined the channel
[09:14] insin: Anyone know of any examples of using ntwitter to authenticate a user to use your app?
[09:14] AD7six has joined the channel
[09:15] insin: s/authenticate/authorize/
[09:15] LeMike has joined the channel
[09:15] Bird_: icebox: I'm getting this error atm: "Internal Contextify ERROR: Make sure Contextify is built with your current Node version."
[09:15] Bird_: I'm using node 0.6.6 which the compile should be for
[09:16] Glenjamin: Bird_: try running npm rebuild
[09:16] vl4kn0 has joined the channel
[09:16] insin: aaargh, never did I think "did you mean?" would turn into such a menace. Just search for my frigging terms, google!
[09:16] Bird_: Glenjamin: from within the contextify folder?
[09:16] Bird_: and mind you, I'm on windows which can't compile it - hence I need the precompiled
[09:17] icebox: Bird_: Once I get the same error... Clean the cache, check if there is only one contextify module
[09:18] icebox: Bird_:  did you do git clone https://github.com/Benvie/contextify.git in myproject/node_modules dir?
[09:18] Bird_: I grabbed the zipball, shouldn't that be the same?
[09:19] icebox: Bird_: maybe... I am saying you what I did :)
[09:19] Bird_: Might as well try, hang on!
[09:20] Glenjamin: Bird_: ah, dunno about windows
[09:20] icebox: Glenjamin: :) it happens :)
[09:20] jimt has joined the channel
[09:21] adambeynon has joined the channel
[09:21] Bird_: same thing
[09:21] icebox: Bird_: doing npm ls do you see a contextify module?
[09:21] Bird_: I'm install cygwin now, should that allow me to compile it?
[09:21] icebox: Bird_: yes, but with 0.4.x node
[09:22] Bird_: ah, that's no good
[09:22] icebox: Bird_: patience... it should work
[09:22] Bird_: icebox: yes, there is indeed a contextify
[09:22] Bird_: at the wrong version (0.0.6)
[09:22] icebox: Bird_:  ok... npm rm contextify
[09:23] icebox: Bird_: why wrong? Benvie's contextify is 0.0.6
[09:23] _baton_ has joined the channel
[09:23] icebox: Bird_: it is not the new one 0.0.7
[09:23] Bird_: oh, hmm, let me check if the dependancy is wrong
[09:24] Bird_: removed it now btw
[09:24] Bird_: git clone again then?
[09:24] icebox: Bird_: yep
[09:25] DTrejo has joined the channel
[09:25] Bird_: icebox: getting the same "Internal Contextify ERROR: Make sure Contextify is built with your current Node version." message
[09:26] Bird_: any way to verify my node version?
[09:26] icebox: Bird_: node -v
[09:26] Bird_: v0.6.6
[09:26] Bird_: so should be right
[09:26] Bird_: (afaik)
[09:26] icebox: Bird_: yes... but it is not that the problem
[09:27] icebox: Bird_: I am not using my laptop at the moment and I cannot check my configuration about contextify
[09:28] icebox: Bird_: thinking...
[09:29] Bird_: icebox: No worries, I appreciate the assistance!
[09:30] prssn has joined the channel
[09:30] mc_greeny has joined the channel
[09:30] icebox: Bird_: np... I get the same error, but at the moment I don't remember what I did... it is very straightforward the solution :) if I would remembered it :)
[09:30] [AD]Turbo has joined the channel
[09:30] icebox: Bird_: *remember
[09:31] [AD]Turbo: hi there
[09:32] Bird_: icebox: Yeah I imagine so, since browsing the web for a solution always returns to the same few sites, all of which have not yielded results for me
[09:33] icebox: Bird_: give me 5 mins I have been writing an email... then I will check in the issues of contextify project and in the Benvie's fork
[09:33] stonebranch has joined the channel
[09:33] bergie_ has joined the channel
[09:33] Bird_: icebox: Cool, thanks :)
[09:36] AndreasMadsen has joined the channel
[09:38] icebox: Bird_: installing node on my machine and trying to install contextify... so I can replicate my steps :)
[09:38] wmage has joined the channel
[09:38] triptec has joined the channel
[09:39] stonebra_ has joined the channel
[09:39] Bird_: icebox: awesome! :)
[09:39] fff has joined the channel
[09:40] robhawkes has joined the channel
[09:40] admc has joined the channel
[09:40] erujolc has joined the channel
[09:40] erujolc: can someone recommend a mongodb library that isnt trying to be an ORM?
[09:41] fff has left the channel
[09:41] meso has joined the channel
[09:43] fson_ has joined the channel
[09:43] icebox: Bird_: ok... here it works...
[09:43] icebox: Bird_: what did I do? :)
[09:44] Bird_: icebox: weird
[09:44] icebox: Bird_: How much? :)
[09:44] icebox: Bird_: joking
[09:44] eldios: `3rdEden, you there?
[09:44] icebox: Bird_: so... https://github.com/Benvie/contextify/downloads
[09:45] icebox: Bird_:  I downloaded Benvie-contextify-v0.0.6-3-g3a8d35f.zip
[09:45] icebox: Bird_: correct?
[09:45] Shrink has joined the channel
[09:45] Bird_: Yup
[09:45] icebox: Bird_: unzip
[09:45] iRoj has joined the channel
[09:45] Bird_: icebox: roger!
[09:45] `3rdEden: eldios yes/no/ish
[09:45] mmalecki has joined the channel
[09:46] icebox: Bird_: there is a folder: Benvie-contextify-3a8d35f
[09:46] Bird_: yup
[09:46] icebox: Bird_: copy that folder in your node_modules
[09:46] icebox: Bird_: rename Benvie-contextify-3a8d35f in contextify
[09:46] Bird_: done
[09:46] eldios: lulz
[09:46] eldios: may I query aminute?
[09:47] lzskiss has joined the channel
[09:47] stonebranch has joined the channel
[09:47] icebox: Bird_: now... in parent folder of node_modules (I suppose you project dir): npm ls
[09:47] icebox: Bird_: and you see contextify@0.0.6 module
[09:47] Bird_: icebox: yup, I see it
[09:48] icebox: Bird_: execute node
[09:48] icebox: Bird_: and type: require("contextify")
[09:48] Bird_: Internal Contextify ERROR: Make sure Contextify is built with your current Node version. To rebuild, go to the Contextify root folder and run 'node-waf distclean && node -waf configure build'.
[09:49] icebox: Bird_: :)
[09:49] icebox: Bird_: there is something broken in your configuration
[09:49] cjroebuck has joined the channel
[09:49] Bird_: icebox: appears so
[09:49] icebox: Bird_: I did a frsh installation and it works nice
[09:49] Bird_: icebox: I already did a clean install of nodejs
[09:50] Bird_: icebox: maybe I should just uninstall everything completely and try again
[09:50] Bird_: or just get a mac or something
[09:50] stonebranch has joined the channel
[09:50] icebox: Bird_: let's try something different
[09:51] icebox: Bird_: please, create a new dir
[09:51] aaronmcadam has joined the channel
[09:51] icebox: Bird_: then create a subdir node_modules
[09:51] Bird_: done
[09:51] stonebranch has joined the channel
[09:51] icebox: Bird_: then follow the steps to copy contextify folder
[09:52] icebox: Bird_: and repeat the check
[09:52] icebox: Bird_: if it doesn't work... npm ls -g
[09:54] Bird_: c:\Git\clean>npm ls -g npm WARN npm-debug.log * Unmet dependency in C:\Users\KMA.AGNITIO\AppData\Roamin g\npm C:\Users\KMA.AGNITIO\AppData\Roaming\npm ├── cssom@0.2.1 └── UNMET DEPENDENCY npm-debug.log *  c:\Git\clean>npm ls c:\Git\clean └── contextify@0.0.6  c:\Git\clean>
[09:54] Bird_: oh wow, sorry for that horrible paste
[09:55] icebox: Bird_: doesn't it work?
[09:55] xer0x has joined the channel
[09:56] Bird_: icebox: doing node -> require('contextify') throws the same error
[09:56] xer0x: dear node, i don't care if they say you aren't good at looping over fibonacci. i still love you
[09:56] icebox: Bird_:  ehehe you have a contextify global module
[09:56] icebox: Bird_: npm rm -g contextify
[09:56] Bird_: nope, no global, I just pasted both the local and the global ls
[09:56] icebox: Bird_: use a paste service.... I cannot read that
[09:57] Bird_: yup, hang on
[09:57] icebox: Bird_: windows box?
[09:57] bogomips2_ has joined the channel
[09:58] sshaginyan has joined the channel
[09:58] Bird_: lenovo laptop running win7  64bit
[09:59] icebox: Bird_: ok... the same at home... at work (here) windows xp
[09:59] Bird_: http://pastebin.com/zRZErUFz
[10:00] Bird_: icebox: ah crap, I have a meeting now
[10:00] Bird_: icebox: afk for 15ish :(
[10:00] icebox: Bird_: go to C:\Users\KMA\AppData\Roaming\npm and check if there is a contextify dir... I would delete all, if you can
[10:01] icebox: Bird_: see you :)
[10:03] level09 has joined the channel
[10:06] soulraven has joined the channel
[10:09] murugaratham_ has joined the channel
[10:10] mike5w3c has joined the channel
[10:12] kishoreyekkanti_ has joined the channel
[10:13] kazupon has joined the channel
[10:14] mehlah_ has joined the channel
[10:16] TomY has joined the channel
[10:18] glen has joined the channel
[10:18] glen: nodejs 0.6 seems to contain npm as well. i'm distribution packager, should i package npm from nodejs sources or from standalone, what's the recommendation?
[10:19] Lingerance: From nodejs
[10:19] mmalecki: glen: standalone, bundled one is Alpha
[10:20] Lingerance: Oh?  Then ^
[10:20] mpavel has joined the channel
[10:20] dob_ has joined the channel
[10:20] mpavel has left the channel
[10:20] zomg: Yay, gonna get to do some nodejs stuff for work :D
[10:20] mmalecki: https://github.com/joyent/node/blob/master/deps/npm/package.json#L5
[10:20] PEM has joined the channel
[10:20] noobnoder has joined the channel
[10:20] noobnoder: yo peeps
[10:21] noobnoder: i am trying to use https://github.com/kriszyp/multi-node this module and it saz
[10:21] noobnoder: unkown module "net"
[10:21] mmalecki: anyone seen Ben Noordhuis today?
[10:22] mmalecki: ircretary will prolly know
[10:22] ircretary: mmalecki: I'm not sure what to do with that command.  Ask for help in PM.
[10:22] soulraven has joined the channel
[10:22] mmalecki: ircretary: when bnoordhuis
[10:22] ircretary: mmalecki: bnoordhuis was last seen at 2011-12-22T02:55:23.822Z, quit: Ping timeout: 248 seconds #libuv
[10:22] mmalecki: ircretary: thanks :)
[10:22] ircretary: mmalecki: I'll inform :) of your appreciation.
[10:22] mmalecki: ircretary: thank you.
[10:22] ircretary: mmalecki: You're welcome :)
[10:23] mmalecki: yeah.
[10:24] MittRomney2012 has joined the channel
[10:24] jbpros has joined the channel
[10:24] AndreasMadsen: noobnoder: this module is made for v0.4
[10:24] AndreasMadsen: noobnoder: The module use process.binding("net") and that do no longer exist in v0.6
[10:25] noobnoder: AndreasMadsen: so how can i rewrite this to work with 0.6.6?
[10:25] jetienne has joined the channel
[10:26] AndreasMadsen: noobnoder: You don't. You the buildin cluster module: http://nodejs.org/docs/latest/api/cluster.html 
[10:26] versicolor has joined the channel
[10:26] noobnoder: AndreasMadsen wow there is a builtin module? 
[10:26] noobnoder: AndreasMadsen nice
[10:27] AndreasMadsen: noobnoder: Yes it nice, but it's usefullness stops petty quickly, there will be a new cluster module in v0.8 
[10:28] noobnoder: AndreasMadsen what do you mean by that? Should i use it then in production?
[10:28] AndreasMadsen: noobnoder: You should use the v0.6 in production yes!
[10:29] buttface has joined the channel
[10:29] AndreasMadsen: noobnoder: I'm the write of the next generation cluster module, so perhaps I'm a little opiniated...
[10:29] noobnoder: AndreasMadsen yea you could be biased then, but could you explain me why doest it sucks now?
[10:30] AndreasMadsen: noobnoder: But when using the on('message') event you will get a internal 'online' message that you should not rescive :)
[10:31] piscisaureus_ has joined the channel
[10:31] markwubben has joined the channel
[10:31] AndreasMadsen: noobnoder: Also its very difficulte to build modules / plugins on top of it. But there is no big problem if you just use it yourself.
[10:32] `3rdEden has joined the channel
[10:33] noobnoder: AndreasMadsen I will use it then. I dont want anything else just forking 4-8 versions of the same soft and load balance round robin between them :)
[10:34] odyniec has joined the channel
[10:34] AndreasMadsen: noobnoder: the API won't change much so it should be easy to convert to the new one.
[10:34] noobnoder: AndreasMadsen I'm not that concerned about changes. I just want to make it work now :D
[10:35] AndreasMadsen: noobnoder: I know but process.binding("net") was a change right ;)
[10:36] noobnoder: AndreasMadsen :-D Yea. I just meant i will use the current cluster module and will be happily convert to your new one when the time comes :-D
[10:39] fly-away has joined the channel
[10:40] luke` has joined the channel
[10:40] AndreasMadsen: mmalecki: how can the changes between 6029127 (v0.6) and 892ba87 (v0.6) inflict anything. I think there is an unstable testcase: http://travis-ci.org/#!/joyent/node/builds
[10:40] piscisaureus_ has joined the channel
[10:40] mmalecki: AndreasMadsen: yeah, it has a race condition somewhere, I think
[10:41] AndreasMadsen: Oh, http://travis-ci.org/ just whet down perhaps that why.
[10:45] arcanin has joined the channel
[10:45] joshgillies has joined the channel
[10:46] AD7six has joined the channel
[10:47] Tom___ has joined the channel
[10:47] Tom___: Anyone done sentiment analysis in Javascript?
[10:52] Cromulent has joined the channel
[10:52] Druid_ has joined the channel
[10:53] hank has joined the channel
[10:57] Druide_ has joined the channel
[11:00] Neil__ has joined the channel
[11:01] harthur has joined the channel
[11:01] stonebranch has joined the channel
[11:02] MrTopf has joined the channel
[11:02] kurtzhong_ has joined the channel
[11:03] cesconix has joined the channel
[11:05] kazupon has joined the channel
[11:05] NARKOZ has joined the channel
[11:06] AAA_awright has joined the channel
[11:07] skm has joined the channel
[11:08] Blorb has joined the channel
[11:09] jhchabra1 has left the channel
[11:11] p6 has joined the channel
[11:11] p6 has joined the channel
[11:13] Poetro has joined the channel
[11:14] chakrit has left the channel
[11:15] LeMike has joined the channel
[11:15] level09_ has joined the channel
[11:15] satyr has joined the channel
[11:18] xjiujiu has joined the channel
[11:18] broofa has joined the channel
[11:18] NStojan has joined the channel
[11:19] NStojan has joined the channel
[11:21] kurtzhong has joined the channel
[11:23] k1ttty has joined the channel
[11:23] slaskis has joined the channel
[11:25] felixge has joined the channel
[11:25] felixge has joined the channel
[11:28] jaitaiwan has joined the channel
[11:28] jimmysparkle has joined the channel
[11:28] Shrink has joined the channel
[11:28] xjiujiu has joined the channel
[11:30] ger^kallisti has joined the channel
[11:32] stagas has joined the channel
[11:33] Luffha has joined the channel
[11:34] k1ttty has joined the channel
[11:34] zomg: Is there docs on what to put in a package.json somewhere?
[11:35] zomg: ah right, npm help json
[11:35] mmalecki: zomg: or http://package.json.nodejitsu.com/
[11:35] zomg: Ah, that's better =)
[11:35] zomg: thanks
[11:38] skm has joined the channel
[11:40] Glenjamin: mmalecki: the page doesn't handle ~1000px of width very well :(
[11:41] burningdog has joined the channel
[11:42] bosphorus has joined the channel
[11:49] Salam has joined the channel
[11:49] d0k has joined the channel
[11:51] jimt has joined the channel
[11:51] wmage has joined the channel
[11:51] stagas has joined the channel
[11:51] luke`_ has joined the channel
[11:52] NARKOZ: how can I rewrite this cakefile in order to minify outfile with uglifyjs? http://pastie.org/3056913
[11:52] thalll has joined the channel
[11:53] foxinni has joined the channel
[11:53] foxinni: Hey
[11:54] foxinni: I'm playing around and setting up a node server on Amazon ec2
[11:54] foxinni: following this tut: http://cuppster.com/2011/05/12/diy-node-js-server-on-amazon-ec2/
[11:54] sylvinus has joined the channel
[11:55] foxinni: any advice as to what linux i should install for it
[11:55] foxinni: there are quite a few options
[11:56] noobnoder_ has joined the channel
[11:56] NARKOZ: centos
[11:56] NARKOZ: or amazon ami
[11:56] noobnoder_: AndreasMadsen are you still here?
[11:56] boltR has joined the channel
[11:56] AndreasMadsen: noobnoder_: yes
[11:56] NARKOZ: 64x
[11:56] noobnoder_: AndreasMadsen very nice :)
[11:56] AndreasMadsen: noobnoder_: What is nice?
[11:57] TimTim has joined the channel
[11:57] tdegrunt has joined the channel
[11:58] noobnoder_: AndreasMadsen Its nice you are here. I tried the node cluster module and apache benchmarked my server
[11:58] noobnoder_: AndreasMadsen It is 20% slower than with only one instance
[11:58] cmr: I use the debian ami from rightscale
[11:58] boltR has joined the channel
[11:58] noobnoder_: AndreasMadsen: I made 10000 reqs both with 1 and 1000 concurrency, the result was same
[11:59] noobnoder_: AndreasMadsen It was at least 20 percent slower :(
[11:59] noobnoder_: AndreasMadsen And i was like wtf?
[11:59] noobnoder_: AndreasMadsen :D
[11:59] AndreasMadsen: noobnoder_: Care to share, I have not benchmark the cluster module, the focus has been the API.
[11:59] pyparadigm has joined the channel
[12:00] noobnoder_: AndreasMadsen I have nto benchmarked a simple program but my whole site
[12:00] noobnoder_: AndreasMadsen So cant really share
[12:00] AndreasMadsen: noobnoder_: cloud you try out the cluster2 module then: https://github.com/AndreasMadsen/node-1/
[12:01] noobnoder_: AndreasMadsen I just found it strange. What is even more strange, my whole team tested manually the site and they percieved the site to be faster when using 8 instances, even when the benchmark does not prove that.
[12:01] cmr: noobnoder_: did they know you were using 8 instances?
[12:02] IrishGringo has joined the channel
[12:02] noobnoder_: AndreasMadsen It was not placebo trust me
[12:02] noobnoder_: cmr*
[12:02] noobnoder_: sorry :D
[12:02] Glenjamin: with 8 instances, even if the page took 20% of 0.5 seconds longer to load
[12:02] Glenjamin: there should have been less chance of having to wait for a slot
[12:02] AndreasMadsen: noobnoder_: But this is something we will have to look intro. Until we have assumed more cores is faster.
[12:03] Glenjamin: more cores is usually slower, because you have to alter your algorithms for concurrency
[12:03] Glenjamin: but it allows you to handler more at once
[12:03] Morkel has joined the channel
[12:03] rob___ has joined the channel
[12:04] noobnoder_: 1 instance finished the -n 10 000 -c 1000 56 secs and 8 instances finished 72 secs
[12:04] AndreasMadsen: Glenjamin: right perhaps I misunderstood noobnoder_, will read the log again.
[12:04] einaros- has joined the channel
[12:04] Glenjamin: :o
[12:05] Glenjamin: noobnoder how many cores on the system?
[12:05] rob___ has left the channel
[12:05] noobnoder_: dual core
[12:05] AndreasMadsen: noobnoder_: It is strange, the balancing sharing is done by the OS, what do you use. 
[12:06] AndreasMadsen: noobnoder_: ^ remove(sharing)
[12:06] noobnoder_: Windows :(
[12:06] noobnoder_: lol
[12:06] Glenjamin: right, so 8 instances on 2 cores
[12:06] Glenjamin: isn't going to help
[12:06] noobnoder_: ohh soz
[12:06] AndreasMadsen: noobnoder_: You should make 2 instances
[12:07] Glenjamin: especially if ab is on the same box
[12:07] noobnoder_: Win 7
[12:07] Glenjamin: since you now have 8 nodes and an ab process contending for 2 cpus
[12:07] noobnoder_: i try with two instances and report back
[12:07] AndreasMadsen: noobnoder_: Greate
[12:08] shiawuen has joined the channel
[12:08] Neil__ has joined the channel
[12:09] AndreasMadsen: noobnoder_: just to be clear, you should have one master and 2 workers. cluster.fork(); cluster.fork();
[12:09] joshfinnie has joined the channel
[12:10] noobnoder_: i have one master and two children yea
[12:10] noobnoder_: okay finished it again
[12:11] AndreasMadsen: hi
[12:11] noobnoder_: 1 instance: 57 sec, 173 req/sec, longest request: 7040
[12:11] noobnoder_: 2 instances: 43 sec, 230 req/sec, longest req: 5471
[12:11] Glenjamin: the general rule is 1 instance per cpu
[12:12] noobnoder_: Glenjamin: yea, it seems like :)
[12:12] AndreasMadsen: noobnoder_: Greate I'm not sure that the expected result is, but this is not bad 
[12:12] brianloveswords has joined the channel
[12:12] noobnoder_: AndreasMadsen, not bad at all :)
[12:13] noobnoder_: I am happy bunny now, lol :)
[12:13] AndreasMadsen: noobnoder_: There will be a autoFork function in cluster2 so people won't make the same mistake. I will also respawn workers if the die :)
[12:14] AndreasMadsen: noobnoder_: there is still a .fork method, but why care about that 
[12:15] mc_greeny has joined the channel
[12:15] bnoordhuis has joined the channel
[12:15] noobnoder: AndreasMadsen That would be nice, do you sense how many cores on the machine?
[12:15] sylvinus_ has joined the channel
[12:16] noobnoder: AndreasMadsen And autofork according to that?
[12:16] AndreasMadsen: require('os').cpus().length
[12:16] TheJH has joined the channel
[12:17] AndreasMadsen: so: var i = require('os').cpus().length; while (i--) {cluster.fork()}. but I do a lot more
[12:17] amigojapan has joined the channel
[12:17] AndreasMadsen: noobnoder: ^
[12:18] erikzaadi has left the channel
[12:18] erikzaadi has joined the channel
[12:18] noobnoder: AndreasMadsen wow :D
[12:18] noobnoder: AndreasMadsen very cool
[12:19] noobnoder: AndreasMadsen i gotta go now, thanks for your help guys
[12:19] noobnoder: AndreasMadsen node is awesome ^
[12:19] noobnoder: ^^
[12:20] JakeyChan has joined the channel
[12:24] madhums has joined the channel
[12:25] ppcano has joined the channel
[12:25] Renegade001 has joined the channel
[12:25] Multiply has joined the channel
[12:27] NARKOZ has left the channel
[12:27] erikzaadi has joined the channel
[12:28] mange has joined the channel
[12:28] mmalecki: felixge: hey, you around?
[12:31] garrensmith has joined the channel
[12:33] tnlogy has joined the channel
[12:36] Glenjamin: mmalecki: see my note earlier about page width?
[12:36] mmalecki: Glenjamin: what's up?
[12:36] ppcano has joined the channel
[12:37] Glenjamin: http://package.json.nodejitsu.com/ doesn't render on ~1000px page width
[12:37] mmalecki: Glenjamin: mind taking a screenshot?
[12:37] mmalecki: I don't really have that wide monitor around
[12:37] mmalecki: I'll when I get back home
[12:38] Glenjamin: the page is too wide for my screen
[12:38] mmalecki: Glenjamin: so we should use some fixed width?
[12:38] Glenjamin: i'm not sure, it looks like it is using a fixed width, but its larger than my screen
[12:39] Multiply: It renders fine for me.
[12:39] Multiply: Even when the window is less than or around 1000px :P
[12:40] xetorthio has joined the channel
[12:41] Glenjamin: http://oi43.tinypic.com/23m3sp4.jpg
[12:42] Multiply: Seems like it renders fine for you too. :P
[12:42] buttface has joined the channel
[12:42] Glenjamin: well no
[12:43] Glenjamin: there's a horizontal scroll bar, and i can't see all the content
[12:43] Glenjamin: despite there being little enough content that it could quite happily fit
[12:43] Multiply: It still rendered correctly.
[12:43] Glenjamin: then my original phrasing was unclear :)
[12:44] Multiply: But you're right. There should be some sort of fluid-ish container to the right.
[12:44] pandeiro has joined the channel
[12:44] Multiply: Instead of a fixed one, that is.
[12:44] Glenjamin: amusingly, it's a widescreen monitor - it's just rotated 90 degrees
[12:45] Multiply: Simply remove "width: 500px" from the .hint in the CSS
[12:46] Multiply: Or even, set it to max-width: 500px
[12:46] Multiply: So it'll look like it does now, when you've got more than 1000px width :P
[12:47] Glenjamin: .container has margin-left: 100px and margin-right: auto;
[12:47] Multiply: Don't mind the container.
[12:47] mmalecki has joined the channel
[12:47] halfh: :D
[12:47] Multiply: .hint should have "width" changed to "max-width" and it'll be fine.
[12:47] halfh: sorry wrong window
[12:47] Multiply: It is in chrome anyway.
[12:48] Multiply: halfh: Okay, don't be happy in here, then. >:3
[12:49] johnnywengluu_ has joined the channel
[12:49] Brandon_R has joined the channel
[12:49] Brandon_R: hey guys
[12:49] ppcano has joined the channel
[12:50] CrisO has joined the channel
[12:50] ppcano has joined the channel
[12:50] mmalecki: Glenjamin: hm, I see, thanks for the heads-up :)
[12:50] mmalecki: Glenjamin: we should prolly change the CSS a bit
[12:51] Brandon_R: working on anything mmalecki?
[12:51] Brandon_R: what are your thoughts on engine.io?
[12:52] mmalecki: Brandon_R: haven't seen it yet, what is that?
[12:53] Brandon_R: a low level socket.io
[12:53] Brandon_R: made by the same person who made socket.io
[12:53] `3rdEden: I wouldn't call it a low level socket.io
[12:53] `3rdEden: See it more as socket.io's new internals
[12:53] `3rdEden: that we have seperated out of the socket.io
[12:53] Brandon_R: https://github.com/LearnBoost/engine.io
[12:53] `3rdEden: it's basically all the fallback transports that socket.io is using
[12:54] `3rdEden: same counts for websocket.io which is a copy of the socket.io websocket parsers
[12:54] `3rdEden: socket.io 1.0~ will be build upon those modules.
[12:54] Brandon_R: kool
[12:54] Brandon_R: agile
[12:54] Brandon_R: scrum
[12:55] Multiply: mmalecki: Did you see my stuff about the CSS changes?
[12:55] vvo has joined the channel
[12:55] mmalecki: `3rdEden: so, you're guys modulify socket.io?
[12:55] Brandon_R: basically
[12:55] `3rdEden: mmalecki yup
[12:55] mmalecki: Multiply: ah
[12:56] mmalecki: Multiply: yeah, we probably should do that, thanks :)
[12:56] Multiply: mmalecki: No problems. ;)
[12:56] zhenguang has joined the channel
[12:56] Brandon_R: hey, why is it called engine.io but the require is just engine?
[12:56] `3rdEden: And socket.io will be providing additional stuff on top of that, like reconnect, events, namespaces etc
[12:56] zhenguang: Is it possible to run node.js in ChromeOS? 
[12:56] TomY has joined the channel
[12:57] abraxas has joined the channel
[12:58] dmonty has joined the channel
[12:58] ablomen: zhenguang, it's linux, so why not? as long as you have terminal access and can install build tools
[12:59] braoru has joined the channel
[13:00] robhawkes has joined the channel
[13:01] CIA-109: node: 03Ben Noordhuis 07v0.6 * r4b39a07 10/ (4 files in 2 dirs): 
[13:01] CIA-109: node: timers: revert 098fef6, f2f3028 and 348d8cd
[13:01] CIA-109: node: Revert the following commits:
[13:01] CIA-109: node:  348d8cd timers: remove _idleTimeout from item in .unenroll()
[13:01] CIA-109: node:  f2f3028 timers: fix memory leak in setTimeout
[13:01] CIA-109: node:  098fef6 timers: remember extra setTimeout() arguments when timeout==0
[13:01] CIA-109: node: Fixes a 5-7% performance regression in the http_simple benchmark. - http://git.io/Tubv5A
[13:01] trose has joined the channel
[13:01] Brandon_R: what is a good js game library to write games in
[13:01] mmalecki: bnoordhuis: ping?
[13:02] bnoordhuis: mmalecki: pong
[13:02] TheJH: Brandon_R, there are many kinds of games
[13:02] Brandon_R: 2d shooter games
[13:02] mmalecki: bnoordhuis: so, you're free in April?
[13:02] Brandon_R: i have box2d
[13:03] Brandon_R: for physics stuff
[13:03] bnoordhuis: mmalecki: so far, yes
[13:03] mmalecki: bnoordhuis: re web-5
[13:03] scott_gonzalez has joined the channel
[13:04] kulor-uk has joined the channel
[13:04] mmalecki: bnoordhuis: k, awesome. what was your topic, again?
[13:04] bnoordhuis: mmalecki: didn't have one yet :)
[13:04] mmalecki: bnoordhuis: ah :)
[13:05] `3rdEden: oh bnoordhuis so you are going / speaking as well?
[13:05] bnoordhuis: `3rdEden: well, maybe
[13:05] mmalecki: `3rdEden: we're not sure yet, but there is a possibility :P
[13:05] Juan77 has joined the channel
[13:05] mmalecki: just making sure he's free then :)
[13:06] tuhoojabotti: Brandon_R: three.js for rendering
[13:06] `3rdEden: \o/
[13:06] jetienne: cool :)
[13:07] Zhenguang has joined the channel
[13:09] pronam_ has joined the channel
[13:10] neurodrone has joined the channel
[13:10] ShinyDarkness has joined the channel
[13:11] enmand has joined the channel
[13:11] Brandon_R: we
[13:12] Brandon_R: internet doesn't support webgl
[13:12] Brandon_R: internet explorer
[13:12] ciju has joined the channel
[13:13] mmalecki: btw, anyone going to meetjs summit, perchance?
[13:15] tobmaster has joined the channel
[13:16] shapeshed has joined the channel
[13:17] kurtzhong has joined the channel
[13:17] Brandon_R: hey mmalecki
[13:17] Brandon_R: will the meetjs be recorded?
[13:17] Brandon_R: and videos put on the internet for all to see?
[13:17] jomoho has joined the channel
[13:18] erichynds has joined the channel
[13:19] mmalecki: Brandon_R: no idea.
[13:19] mmalecki: SubStack: you around?
[13:20] CarterL has joined the channel
[13:20] Brandon_R: oh
[13:21] mmalecki: SubStack: ah, nvm. had a problem with pushover, turns out I was an idiot
[13:22] ovaillancourt has joined the channel
[13:23] mmalecki: SubStack: hm, no, actually, I still have a problem
[13:24] braoru has joined the channel
[13:24] shiawuen has joined the channel
[13:24] emattias has joined the channel
[13:25] josh-k has joined the channel
[13:25] buttface has joined the channel
[13:25] k1ttty has joined the channel
[13:27] mmalecki: SubStack: when I use pushover with union and push things, git hangs on Total: blah blah and server prints out "fatal: The remote end hung up unexpectedly"
[13:27] mmalecki: SubStack: https://gist.github.com/783ee7112f5ce9847362
[13:28] mmalecki: SubStack: mind looking at it when you wake up?
[13:29] ppcano has joined the channel
[13:29] Glenjamin: is that a unciode arrow as a shell prompt?
[13:29] mmalecki: Glenjamin: yes. oh-my-zsh
[13:30] mmalecki: it's a bit too fancy for me but I didn't care enough to change it
[13:30] JakeyChan_ has joined the channel
[13:32] Multiply: tuhoojabotti: I found http://www.omiod.com/games/fastkat.php by looking up three.js. Pretty impressive. xD
[13:32] tuhoojabotti: it's nice
[13:32] tuhoojabotti: Multiply: Damn, I have never played that 60fps before, it's hard. :D
[13:33] tuhoojabotti: (because weird vsync issue on chrome)
[13:33] Multiply: tuhoojabotti: I have no trouble here. It runs perfectly.
[13:33] Multiply: I'm addicted. :P
[13:33] tuhoojabotti: it works 60fps now, but Chrome used to cap rendering to 30fps in maximized windows
[13:34] subbyyy has joined the channel
[13:34] Multiply: Ah. I read it wrong the first time. :P
[13:35] jetienne: three.js +1
[13:35] Multiply: +100
[13:35] dodo__ has joined the channel
[13:36] Multiply: My hi-score is only 4487 tho :/
[13:36] tuhoojabotti: Multiply: According to your nick *100
[13:37] Multiply: tuhoojabotti: True that. :)
[13:40] kriszyp has joined the channel
[13:41] pradeebv has joined the channel
[13:43] jetienne_ has joined the channel
[13:43] christophsturm has joined the channel
[13:46] jbpros has joined the channel
[13:47] kyonsalt has joined the channel
[13:48] fumanchu182 has joined the channel
[13:50] CIA-109: node: 03Ben Noordhuis 07v0.6 * rd8c178b 10/ lib/timers.js : (log message trimmed)
[13:50] CIA-109: node: timers: fix performance regression
[13:50] CIA-109: node: Fix a 5-7% performance regression in the http_simple benchmark that was
[13:50] CIA-109: node: introduced by the following commits:
[13:50] CIA-109: node:  348d8cd timers: remove _idleTimeout from item in .unenroll()
[13:50] CIA-109: node:  f2f3028 timers: fix memory leak in setTimeout
[13:50] CIA-109: node:  098fef6 timers: remember extra setTimeout() arguments when timeout==0
[13:50] kurtzhong_ has joined the channel
[13:52] astropirate: what are the cool kids using these days for mongodb drivers?
[13:54] cognominal has joined the channel
[13:55] subbyyy has joined the channel
[13:59] slaskis: is there any fun code bots in here?
[13:59] slaskis: like v8 
[14:00] superjudge has joined the channel
[14:01] camperking has joined the channel
[14:01] slaskis: why doesn't this work? Array(5).map(function(){console.log(arguments)})
[14:01] N0va` has joined the channel
[14:02] lduros has joined the channel
[14:02] lzskiss has joined the channel
[14:03] Rob- has joined the channel
[14:04] AaronMT has joined the channel
[14:05] pkrumins: just blogged about JSONStream node.js module http://www.catonmat.net/blog/nodejs-modules-jsonstream/
[14:06] hellp has joined the channel
[14:08] konobi: any belfast folk around?
[14:08] mongrelion: isn't Belfast a Mago de Oz' album?
[14:09] konobi: it's also a large city =0)
[14:09] halfh has joined the channel
[14:09] zungmou has joined the channel
[14:09] lazyshot has joined the channel
[14:10] hipsters_: rather large
[14:10] hipsters_: i'm about 176.4 miles away if that helps konobi 
[14:10] hipsters_: :v
[14:11] zungmou has left the channel
[14:11] arnee has joined the channel
[14:11] konobi: heh... not really... looking for an office to crash at for a while... trying to work from my parents place is just way too distracting
[14:12] napperjabber has joined the channel
[14:12] mongrelion: konobi: what about a cafe?
[14:12] hipsters_: well konobi if you're a java developer i might be able to get you a job and an office ...
[14:12] hipsters_: note the lack of 'script' on java there though
[14:13] konobi: mongrelion: yeah... free wifi runs out after a while though
[14:13] mc_greeny1 has joined the channel
[14:13] chrisvwebdev has joined the channel
[14:13] OmidRaha has left the channel
[14:13] JasonJS has joined the channel
[14:13] mongrelion: konobi: :/
[14:14] mongrelion: there's a name for this kind of spaces. I just can't remember the name to start googling it
[14:14] mongrelion: workshop no, workspace neither...
[14:14] mongrelion: ACTION nods
[14:15] konobi: co-working
[14:15] willwhite has joined the channel
[14:16] tytsim has joined the channel
[14:17] MarkMenard has joined the channel
[14:17] ly- has joined the channel
[14:17] Dmitrijus: mongrelion: hacker space?
[14:20] mc_greeny has joined the channel
[14:21] mongrelion: Dmitrijus: mmmm no
[14:21] mongrelion: damn, and this thing is so popular in the USA
[14:22] hipsters_: wasn't konobi right with co-working there?
[14:22] hipsters_: that's what i've always known it as
[14:24] hipsters_: anyway konobi http://loosecubes.com/workspaces/belfast/belfast-business-centre £225 pm … not too bad
[14:25] liar has joined the channel
[14:26] Swizec_ has joined the channel
[14:29] fermion has joined the channel
[14:29] esmevane has joined the channel
[14:30] Cromulent has joined the channel
[14:33] larssmit has joined the channel
[14:34] shinuza has joined the channel
[14:34] lzskiss has joined the channel
[14:36] herbySk has joined the channel
[14:38] jxie has joined the channel
[14:38] N0va` has joined the channel
[14:38] astropirate: "Important! Mongoose buffers all the commands until it's connected to the
[14:38] astropirate: database" curious, why doesn't it just provide a callback? for syntax?
[14:39] jxie has joined the channel
[14:40] rachet has joined the channel
[14:41] mc_greeny has joined the channel
[14:41] Nathan has joined the channel
[14:42] jxie has joined the channel
[14:42] jstash has joined the channel
[14:43] patcito has joined the channel
[14:43] minerale has joined the channel
[14:44] gflarity has joined the channel
[14:44] snuglepuss has joined the channel
[14:46] Morkel has joined the channel
[14:46] megalomix has joined the channel
[14:46] megalomix: hello everybody
[14:47] qbit_: hi megalomix 
[14:48] megalomix: hi
[14:48] jxie has joined the channel
[14:48] megalomix: qbit_, do you use express ?
[14:48] Wizek has joined the channel
[14:48] qbit_: megalomix: yep
[14:49] megalomix: ok, i have to "export" a var to use it with EJS
[14:49] qbit_: you need to pass it to render()
[14:49] megalomix: yes exactly
[14:49] megalomix: but can i pass it before?
[14:50] megalomix: i mean... i pass an object to the render
[14:50] megalomix: but i would like to have this object accessible from each view
[14:50] megalomix: i don't want to pass all the time to render()
[14:50] thomblake has joined the channel
[14:50] megalomix: can i set it with a middleware before?
[14:50] snuglepuss has joined the channel
[14:50] qbit_: megalomix: http://expressjs.com/guide.html see "View Rendering"
[14:51] prssn has joined the channel
[14:51] kevwil has joined the channel
[14:51] thomblake has left the channel
[14:51] megalomix: qbit_, i mean HELPERS
[14:51] megalomix: i found it.
[14:51] megalomix: thank you 
[14:51] OneOfOne has joined the channel
[14:52] OneOfOne has joined the channel
[14:52] qbit_: ah
[14:52] jxie has joined the channel
[14:52] qbit_: np :) 
[14:54] jimt has joined the channel
[14:55] megalomix: qbit_, :) yes with helpers i can save a variable and then i can use it in EJS
[14:55] megalomix: without passing it again and again using re.srender()
[14:55] megalomix: *res.render()
[14:55] qbit_: ah
[14:55] qbit_: cool :D 
[14:56] Brandon_R has joined the channel
[14:57] Brandon_R: Hey guys
[14:58] skm has joined the channel
[14:59] megalomix: Hello Marlon
[14:59] megalomix: :)
[15:00] arnee has joined the channel
[15:00] FireFly has left the channel
[15:00] tvw has joined the channel
[15:00] alexkehayias has joined the channel
[15:02] LeMike has joined the channel
[15:03] FireFly has joined the channel
[15:03] brianc1 has joined the channel
[15:03] felixge has joined the channel
[15:04] ChrisMatthieu has joined the channel
[15:04] Swizec has joined the channel
[15:05] jmar777 has joined the channel
[15:05] Poetro has joined the channel
[15:06] gflarity has joined the channel
[15:07] c4milo has joined the channel
[15:08] tytsim_ has joined the channel
[15:09] trose has joined the channel
[15:09] level09 has joined the channel
[15:10] avih_ has joined the channel
[15:10] adrianF has joined the channel
[15:11] CarlosC has joined the channel
[15:12] carlyle has joined the channel
[15:15] dshaw_ has joined the channel
[15:16] BillyBreen has joined the channel
[15:16] deedubs has joined the channel
[15:16] d_low has joined the channel
[15:17] plutoniix has joined the channel
[15:17] ChrisMatthieu has joined the channel
[15:21] kazupon has joined the channel
[15:25] jxie has joined the channel
[15:25] herbySk has joined the channel
[15:26] jxie has joined the channel
[15:27] jxie has joined the channel
[15:28] aheckmann has joined the channel
[15:29] icebox has joined the channel
[15:29] jxie has joined the channel
[15:34] konobi: no belfast folks about?
[15:35] synkro has joined the channel
[15:35] cthulhu_lovecraf has joined the channel
[15:36] mnutt has joined the channel
[15:36] mandric has joined the channel
[15:36] salva has joined the channel
[15:39] rsterner has joined the channel
[15:41] fermion has joined the channel
[15:42] nibblebot has joined the channel
[15:42] stefpb has joined the channel
[15:42] konobi: bah... i swore there were a couple about
[15:43] erikzaadi-phone has joined the channel
[15:45] erikzaadi-phone has joined the channel
[15:47] rwaldron has joined the channel
[15:48] erichynds has joined the channel
[15:48] colinclark has joined the channel
[15:48] josh-k has joined the channel
[15:49] ChrisMatthieu has joined the channel
[15:51] mmalecki has joined the channel
[15:54] chasefarmer has joined the channel
[15:57] Heisenmink_ has joined the channel
[15:57] CIA-109: node: 03Dave Irvine 07v0.6 * r045bfe0 10/ doc/api/crypto.markdown : docs: document 'encoding' arg of hash.update() - http://git.io/VxtE6w
[15:59] KiNgMaR: what do you guys use in place of an enum in JS? a number of const XYZ = 123s?
[15:59] jarek has joined the channel
[15:59] jarek has joined the channel
[15:59] bnoordhuis: KiNgMaR: var ALL_CAPS_NAME = 42
[16:00] KiNgMaR: why "var" instead of "const"? :)
[16:01] bnoordhuis: KiNgMaR: v8 doesn't (or didn't used to) like consts
[16:01] pauls1 has joined the channel
[16:02] KiNgMaR: oh. I think I remember using them ok, but I'll check it out
[16:02] lperrin has joined the channel
[16:02] bnoordhuis: KiNgMaR: they work but v8 doesn't optimize them
[16:03] drudge has joined the channel
[16:03] bnoordhuis: or not as well. and this may have changed but i don't think so
[16:04] KiNgMaR: oh. I would have thought they'd be easier to optimize even
[16:04] KiNgMaR: heh ok
[16:04] marcello3d has joined the channel
[16:07] xer0x has joined the channel
[16:08] ritch has joined the channel
[16:08] _unary has joined the channel
[16:09] CIA-109: libuv: 03Paddy Byers 07master * rabf9654 10/ (6 files in 4 dirs): 
[16:09] CIA-109: libuv: unix: create separate eio result queue per loop
[16:09] CIA-109: libuv: Makes the eio "done" callback run in the thread that submitted it. Makes it safe
[16:09] CIA-109: libuv: to use libeio from multiple event loops. - http://git.io/2lKkMA
[16:09] CIA-109: libuv: 03Ben Noordhuis 07master * rec8c500 10/ AUTHORS : Update AUTHORS and .mailmap - http://git.io/-vjSCQ
[16:09] CIA-109: libuv: 03Ben Noordhuis 07master * r271aa18 10/ src/unix/uv-eio.c : unix: eio_init() is not thread-safe, run atomically - http://git.io/mkSXhA
[16:09] CIA-109: libuv: 03Ben Noordhuis 07master * rd6a06b8 10/ (test/test-list.h test/test-thread.c): test: eio callbacks should run in their owning threads - http://git.io/l7Do2w
[16:09] tuhoojabotti: http://tuhoojabotti.com/r/prsc/colors.png Awesome logging is awesome :D
[16:09] CIA-109: node: 03Ben Noordhuis 07isolates2 * re2c90af 10/ (9 files in 6 dirs): uv: upgrade to d6a06b8 - http://git.io/2_8A0g
[16:09] dmportella has joined the channel
[16:09] mike5w3c_ has joined the channel
[16:10] lzskiss has joined the channel
[16:12] versicolor has joined the channel
[16:13] Robdor has joined the channel
[16:13] Pritchard has joined the channel
[16:14] Pritchard has left the channel
[16:14] trose: is there a standard way to test an express server using faked requests? I'm looking at expresso but it doesn't seem to have that functionality. I don't know much about unit testing so go easy on me if this is a dumb question.
[16:14] dmportella: hi guys i am working on a high profile project, building a node application. trying for 10.000 concurrent users at the moment we are load testing our server usign ab with 10000 requests on 1000 concurrents. current we are not getting a great response time. with 300 request/second. we have a rackspace server with 4 cores and 8gb of mem.
[16:15] joestein has joined the channel
[16:15] slaskis: trose: yah, have a look at express own tests: https://github.com/slaskis/express/tree/examples/test/acceptance
[16:15] dmportella: any suggestions on what we could do to find out what the problem might be?
[16:15] trose: slaskis, thanks :)
[16:16] firebalrog has joined the channel
[16:16] tjholowaychuk has joined the channel
[16:16] dmportella: we are using the cluster module (the inbuilt module recently added)
[16:16] postwait has joined the channel
[16:16] maritz has joined the channel
[16:17] deedubs: dmportella: what does the server look like under load? maxed processor? filling swap?
[16:17] lzskiss has joined the channel
[16:17] dmportella: processor is fine very low percentage.
[16:17] dmportella: let me get the actuals
[16:19] swaj: does the built-in node cluster module actually set affinity on the workers you fork, or do you need to do that manually?
[16:19] ovaillancourt has joined the channel
[16:19] dmportella: ab from remote to server on 10k request and 1000 concurrent was 10% to 20%
[16:19] flip_digits has joined the channel
[16:19] dmportella: ab from local to localhost on 1.000.000 requests with 1000 concurrents we have 60%
[16:19] CIA-109: libuv: 03Ben Noordhuis 07v0.6 * r39481b7 10/ LICENSE : docs: add c-ares license note - http://git.io/Fl6eqA
[16:21] criswell has joined the channel
[16:21] wilmoore has joined the channel
[16:22] confoocious has joined the channel
[16:22] Emmanuel` has joined the channel
[16:22] dmportella: yeah deedubs the processor is not under any stress
[16:23] lz has joined the channel
[16:23] dmportella: the app consists of a rest api built on express with redis for session storage.
[16:24] lzskiss has joined the channel
[16:24] dmportella: we have a web socket too but that is not being tested yet
[16:25] swaj: you're not doing anything silly like hitting a database (other than redis) for these tests, right?
[16:26] aelien27 has joined the channel
[16:26] louissmit has joined the channel
[16:26] dmportella: we built the rest api with dummy methods only the express routes and the session part done so client can dev agaisnt it
[16:26] Glenjamin: if the processor isn't maxed out, and you're running the same number of processes as cores, there's no gain to running more
[16:26] dmportella: we are using the cluster module added to nodejs on 0.6
[16:26] Glenjamin: your app is limited by some other factor
[16:27] swaj: yeah the bottleneck has to be something else.
[16:27] swaj: maybe disk io or database dependecies
[16:27] dmportella: not sure the same app running on my local on 1million requests with 1000 concurrents does 12k request a sec
[16:27] Glenjamin: the cluster module is essentially the same as running a reverse proxy, and 4 processes listening on different ports
[16:27] bshumate has joined the channel
[16:27] bshumate has joined the channel
[16:27] Glenjamin: rackspace is virtualised?
[16:27] burningdog has joined the channel
[16:27] dmportella: the longest request was 182ms
[16:28] chasefarme has joined the channel
[16:28] TimTimTim has joined the channel
[16:28] jakehow has joined the channel
[16:28] dmportella: but on the server was 21230 ms
[16:28] Glenjamin: it could be cpu cache, ram bus speed, disk access speed
[16:28] devinus has joined the channel
[16:28] Glenjamin: something other than the processor is clearly contended
[16:28] dmportella: let me ask the engineers
[16:28] swaj: on a virtual host, you've got contention with others
[16:28] dmportella: see what the IO was like
[16:29] dmportella: that is something we are thinking about it
[16:29] mmalecki has joined the channel
[16:31] jocafa has joined the channel
[16:31] madhums has joined the channel
[16:32] hipsters_ has joined the channel
[16:33] dubenstein has joined the channel
[16:34] CarterL has joined the channel
[16:34] dmportella: jsut runnign the test again
[16:34] monokrome has joined the channel
[16:36] dmportella: running 100k with 1k concunrrents at the moment
[16:36] dmportella: checking io, network io and cpu
[16:36] TheFuzzball: Is there a cross-platform directory watch module?
[16:36] CIA-109: node: 03Ju-yeong Park 07v0.6 * r5976d58 10/ (lib/net.js test/simple/test-net-write-after-close.js): net: raise exception when the socket is closed - http://git.io/dM4kzQ
[16:36] CIA-109: node: 03Ben Noordhuis 07v0.6 * rb261e37 10/ test/simple/test-net-write-after-close.js : test: ensure callback is executed - http://git.io/eUq4iQ
[16:37] chrisvwebdev has joined the channel
[16:38] rauchg has joined the channel
[16:38] alvaro_o has joined the channel
[16:42] sshaginyan has joined the channel
[16:42] jamescarr has joined the channel
[16:44] dmportella: glenjamin, swaj, deedubs it seems we have a network problem
[16:44] jaequery has joined the channel
[16:44] churp has joined the channel
[16:44] bartt has joined the channel
[16:44] dmportella: running the tests again and watching the network interface, disk io, cpu etc. 
[16:44] dmportella: only the network flakes
[16:45] dmportella: it is doing 20Mb/s
[16:45] geekbri has joined the channel
[16:45] Glenjamin: ouch
[16:45] brianloveswords has joined the channel
[16:45] ChrisMatthieu has joined the channel
[16:45] trose: slaskis, hmm i don't think the testing stuff is in the npm version yet is it?
[16:46] dmportella: that was 1mil request with 1k concurrents
[16:46] storrgie has joined the channel
[16:46] dmportella: on rack space server with 4 cores and 8gb of ram
[16:46] dmportella: with clustering of 8 node processes
[16:46] herbySk has joined the channel
[16:46] ChrisMatthieu_ has joined the channel
[16:46] jarek__ has joined the channel
[16:48] dmportella: i think we might downgrade to 16 servers with 1gb ram which is equal to 2 8gb servers we were planning to use
[16:48] luke`_ has joined the channel
[16:48] dmportella: in price
[16:48] brianthecoder has joined the channel
[16:48] slaskis: trose: ni don't think so, but you could just copy that one
[16:49] trose: yeah
[16:49] Glenjamin: dmportella: can you tell if the network bottleneck is on their side or yours?
[16:50] dmportella: runnign the same test 1mil on the from local to loopback address returns 3.3k requests a sec.
[16:50] dmportella: running from a server on the same network in rackspace does 900 request a sec
[16:51] dmportella: from remote is abysmal 280 request a sec on 10k request 1000 concurrent
[16:51] mrryanjohnston has joined the channel
[16:51] dmportella: going to isntall bmon to check the bandwidth
[16:52] JJMalina has joined the channel
[16:52] devongovett has joined the channel
[16:53] mmalecki has joined the channel
[16:53] malletjo has joined the channel
[16:55] luke` has joined the channel
[16:56] stephank has joined the channel
[16:57] JasonJS has joined the channel
[16:57] GrizzLyCRO has joined the channel
[16:58] Poetro has joined the channel
[17:00] mmalecki: does anyone know how does git do basic auth?
[17:00] EyePulp has joined the channel
[17:01] mc_greeny1 has joined the channel
[17:01] mmalecki: when I respond with 401, it asks for a password, but I have no idea how does it send the password
[17:01] dmportella: we are doing tx topping at 600kib with rx at 764 from db server to app server with 10k requests but bailing out on 9k requests
[17:01] dmportella: that is the network bandwidth 
[17:02] dmportella: using bmon for that
[17:03] broofa has joined the channel
[17:04] lzskiss has joined the channel
[17:05] snearch has joined the channel
[17:06] herbySk has joined the channel
[17:07] aconbere has joined the channel
[17:07] pizthewiz has joined the channel
[17:08] xer0x has joined the channel
[17:08] bnoordhuis: mmalecki: basic auth is basic auth right?
[17:08] dmportella: glenjamin, swaj, deedubs: We are thinking to is the network at their end. there is one test let for us to do. we are going to host a static file on nginx and run the ab test from insede their network like we have been doing to see what we get.
[17:08] mmalecki: bnoordhuis: nope :/
[17:09] mmalecki: bnoordhuis: it doesn't even send header in the next request :/
[17:09] bradleymeck has joined the channel
[17:09] trose: slaskis, I don't understand what line #6 in http.js is doing... it says methods = require('../../').methods What is that doing exactly?
[17:10] ryan_stevens has joined the channel
[17:11] dmportella: it loads the index.js file from two folder below the current one i think
[17:11] Glenjamin: mmalecki: http:// or git:// ?
[17:11] mmalecki: Glenjamin: http://
[17:12] Glenjamin: i've always just put it into the url string
[17:12] Glenjamin: username:password@host
[17:12] mmalecki: Glenjamin: yeah, it doesn't get sent anyway
[17:12] mmalecki: at least I can't see it in req.headers
[17:12] ritch: mmalecki: are you working on stagecoach? 
[17:12] mmalecki: ritch: what's stagecoach?
[17:13] mmalecki: (no, I don't think I do XD)
[17:13] ritch: substack's CI git http server
[17:13] ritch: he's needs git http auth is why i asked
[17:14] markdaws has joined the channel
[17:14] lz has joined the channel
[17:14] lz has joined the channel
[17:15] mmalecki: ritch: no, I'm trying to put together something similar
[17:16] binaryjohn has joined the channel
[17:16] nickp666 has joined the channel
[17:17] luke` has joined the channel
[17:17] toddysm has joined the channel
[17:19] markdaws has joined the channel
[17:19] dmportella: glenjamin, swaj, deedubs: yeah it seems it is network, even nginx serving a static file is slow so slow that it bails out on 1.5k requests of 10k
[17:19] dmportella: we are going to talk to rackspace engineers this will not do
[17:19] d_low-linux has joined the channel
[17:19] shripadk has joined the channel
[17:20] metalball2 has joined the channel
[17:21] jj0hns0n has joined the channel
[17:21] thalll has joined the channel
[17:21] slaskis: those it requires a list of available http methods (like get post etc)
[17:21] mnutt has joined the channel
[17:21] yhahn has joined the channel
[17:23] aconbere has joined the channel
[17:24] slaskis: uhm
[17:24] slaskis: trose
[17:24] ritch has left the channel
[17:24] malkomalko has joined the channel
[17:25] jerrysv has joined the channel
[17:25] trose: hm okay
[17:27] dmojoryder has joined the channel
[17:27] EhevuTov has joined the channel
[17:27] kenperkins has joined the channel
[17:28] jarek__ has joined the channel
[17:28] eeemsi_: hm… http://isaacs.iriscouch.com/ returns {"couchdb":"Welcome","version":"1.1.0"}
[17:29] jarek has joined the channel
[17:29] eeemsi_: but a newer account returns {"couchdb":"Welcome","version":"1.1.1"}
[17:30] dgathright has joined the channel
[17:30] akter has joined the channel
[17:31] jbpros has joined the channel
[17:31] ryan_stevens has joined the channel
[17:31] pronam has joined the channel
[17:32] eeemsi_: hasn't there been some fixes for continuous replication after a reboot?
[17:33] FIQ has joined the channel
[17:33] mattgifford has joined the channel
[17:33] mmalecki: turns out I have to respond with a header WWW-Authenticate: Basic realm="GitHub"
[17:33] mmalecki: s/GitHub/whatever/
[17:33] dmportella: thx for the help guys we are going to hassle the rackspace engineers we think it is their crap network :P
[17:33] brianseeders has joined the channel
[17:34] mmalecki: dmportella: good luck with them
[17:34] dmportella: thank you
[17:34] dmportella: kinda wasted a entire day messign around with this good think we did at the start of the project
[17:34] dmportella: merry xmas ppl
[17:35] dmportella: until next year
[17:35] pronam has joined the channel
[17:36] jxson has joined the channel
[17:36] luke` has joined the channel
[17:38] pronam has joined the channel
[17:39] r04r has joined the channel
[17:39] `3rdEden has joined the channel
[17:40] pronam has joined the channel
[17:40] pquerna: jslatts: heya
[17:40] Brandon_R has joined the channel
[17:40] Brandon_R: hey guys
[17:40] Brandon_R: i have a question
[17:40] Brandon_R: how do i install nowjs on windows?
[17:40] Brandon_R: it says make not found
[17:40] ChrisMatthieu has joined the channel
[17:41] tuhoojabotti: lol
[17:41] tuhoojabotti: Brandon_R: 1. install a proper os
[17:41] tuhoojabotti: 2. profit
[17:41] mmalecki: tuhoojabotti++
[17:41] catb0t: tuhoojabotti now has 1 beer
[17:42] Brandon_R: i do have linux
[17:42] tuhoojabotti: y u no use it
[17:42] Brandon_R: but i want to do some node coding on my laptop
[17:42] Brandon_R: and windows is a first class citizen in node :P
[17:42] tjfontaine: ssh -> sanity
[17:42] Brandon_R: laptop :)
[17:42] tuhoojabotti: ssh.
[17:42] tjfontaine: also I've never seen Brandon_R say something that wasn't a troll
[17:42] JaKWaC has joined the channel
[17:42] pronam has joined the channel
[17:42] Brandon_R: what does that mean?
[17:42] nickp666 has left the channel
[17:42] tuhoojabotti: I see what he did there.
[17:43] djQuery has joined the channel
[17:43] JaKWaC has joined the channel
[17:43] insin: http://blog.nowjs.com/running-nowjs-natively-on-windows
[17:43] jstash: insin++
[17:43] jstash: for not feeding the trolls.
[17:44] tuhoojabotti: insin++
[17:44] Glenjamin: run an ubuntu VM
[17:44] tuhoojabotti: for using Google.
[17:44] insin: if he's a troll and you pull the OS elitism card, he wins. if he's a troll and you provide a link which answers the question, you win. if he's not a troll and you provide a link which answers the question, everybody wins.
[17:44] tuhoojabotti: (I'm acutally using Windows myself)
[17:44] jstash: same thing. "let me google that for you" is feeding the trolls, providing a link isn't.
[17:44] r04r has joined the channel
[17:45] jstash: insin wins.
[17:45] pronam has joined the channel
[17:45] redir_ has joined the channel
[17:46] Brandon_R: how am i a troll?
[17:46] Glenjamin: windows is a fine OS, but loads of node modules assume POSIX, so i'd stick with a linux flavour / os x
[17:46] Brandon_R: i don't live under a bridge
[17:46] redir_ has joined the channel
[17:47] jesusabdullah: It's a legit question. I mean, we have to ask this for most if not all compiled modules we want to run on windows
[17:47] jesusabdullah: and honestly, as a linux user, I wouldn't even know where to start.
[17:47] Glenjamin: with wubi :D
[17:47] tuhoojabotti: jesusabdullah: Google is a good bet always.
[17:48] IrishGringo has joined the channel
[17:48] tuhoojabotti: Glenjamin: Wubi is no good, it just broke boot for me. :D
[17:48] jesusabdullah: Maybe. I mean, if you're lucky you'll find a blog post or a stack overflow
[17:48] tbranyen: tbqh i'd much rather write node modules in visual studio than in eclipse or any other linux c++ ide
[17:48] jesusabdullah: but if you're not lucky you'll find a bunch of forum posts where some guy is like
[17:48] jesusabdullah: post 1: how I nowjs on windows
[17:48] jesusabdullah: post 2: nvm figured it out
[17:48] zeade has joined the channel
[17:49] tuhoojabotti: How could nvm figure it out. :O
[17:49] joshsmith has joined the channel
[17:49] r04r has joined the channel
[17:49] r04r has joined the channel
[17:49] jstash: lol
[17:49] jesusabdullah: I don't know! There isn't another post to explain!
[17:49] jesusabdullah: That's how this works
[17:49] jesusabdullah: lol
[17:49] omry has joined the channel
[17:49] tuhoojabotti: And some one please explain why I can't get newer node with nvm than 0.6.4
[17:49] d_low-linux: do i need to worry about the security implications of storing a json object with a cookie string in plain text on the node server?
[17:50] omry: hi, what version of libv8 is actually needed by 0.6.6? 
[17:50] shinuza has joined the channel
[17:50] Brandon_R: now where did i put my ubuntu boot cd
[17:50] tuhoojabotti: d_low-linux: Depends on the information you store in the cookies?
[17:50] d_low-linux: or is v8 suffecient enough to ensure that's not going to be a risk
[17:50] d_low-linux: im not creating the cookies, im retrieving them
[17:51] d_low-linux: its a login response
[17:51] d_low-linux: a session string
[17:51] jjj_ has joined the channel
[17:51] ChrisMatthieu has joined the channel
[17:52] jstash: d_low-linux: not sure what security implications you're implying
[17:52] d_low-linux: what i would like to do is just pass the session on to the client and not store it on the server at all
[17:52] jesusabdullah: There's no special security considerations, if that's what you're asking. That is, you have the same security considerations as with any other tech stack
[17:52] d_low-linux: well im coming from c, where someone could look at the memory and and get the information that way
[17:52] jstash: if that's what you want then don't decode/decrypt the cookie
[17:53] jstash: it's the same problem as any other server
[17:53] pronam has joined the channel
[17:53] jstash: there's no "secure" memory (i.e. you can't say "don't page out to swap this buffer")
[17:53] d_low-linux: i realize this
[17:54] r04r has joined the channel
[17:54] d_low-linux: but is there a recommended way to store sensitive information server side
[17:54] jstash: so what are you concerned about? the obfuscation of V8's memory structure?
[17:54] jesusabdullah: i think if someone has that direct access to your server's memory then you have bigger problems
[17:54] d_low-linux: whether someone could spy on the process and get the string
[17:54] jstash: i'd recommend "don't store it; pass it through"
[17:54] jstash: (don't decrypt or decode it)
[17:55] d_low-linux: well it's a plantext response from the server im sending the request to
[17:55] jstash: d_low-linux: someone can spy on the process and get any string. code accordingly
[17:55] Brandon_R: what os do you guys program on?
[17:55] d_low-linux: it's just a session string
[17:55] colinclark_ has joined the channel
[17:55] d_low-linux: you could turn around and use that session to impersonate the user if you wanted
[17:55] jesusabdullah: Brandon_R: unbuntuo
[17:55] ismell has joined the channel
[17:55] Brandon_R: can i make a node.js all on a ubuntu live cd?
[17:56] Brandon_R: i don't want to mess up my hdd
[17:56] jstash: d_low-linux: a common problem with cookies, not matter what tech stack.
[17:56] pronam has joined the channel
[17:56] jocafa: does anyone know of anything like browserbuild but that uses/supports AMD?
[17:56] tjfontaine: if they can spy on a process and see memory they can do more than impersonate a user via session string
[17:56] d_low-linux: jstash: ok, im thinking about just passing it on to the client and having the client keep track of all the session stuff
[17:56] Brandon_R: it should work no matter the processor jocafa
[17:56] jstash: jocafa: there was a nodejs group thread on this recently
[17:56] d_low-linux: just never store it to begin with
[17:56] tjfontaine: if they can get so far as to see memory they could make the session themselves
[17:57] jstash: right, you need root to spy on memory
[17:57] d_low-linux: tjfontaine: this is a response from a request
[17:57] d_low-linux: im not creating the session
[17:57] tjfontaine: also, aslr and memory address space, it takes a long time to find that stuff
[17:57] d_low-linux: and im not storing passwords
[17:57] jocafa: ACTION joins the google group
[17:57] trotter has joined the channel
[17:57] Brandon_R: i'm on the google group
[17:58] d_low-linux: ok, so am i being paranoid or should i go with the idea of just passing it on to the client and having it managed locally
[17:58] d_low-linux: just send the session info in the client requests each time
[17:58] tkaemming has joined the channel
[17:58] d_low-linux: i wish this site supported openid
[17:59] jstash: jocafa: sorry, it was nodejs-dev https://groups.google.com/group/nodejs-dev/browse_thread/thread/6644f1d5e87a91a3/1f1e6111bdd400ef
[17:59] pronam_ has joined the channel
[17:59] jocafa: ah, thanks jstash
[17:59] stonebra_ has joined the channel
[18:00] TooTallNate has joined the channel
[18:00] JJMalina has joined the channel
[18:00] Brandon_R: what is that program called again to run ubuntu on windows?
[18:01] Brandon_R: vmware or something
[18:01] jstash: d_low-linux: IMHO unless you're using OpenToken or something like that there's no way to "secure" cookies
[18:01] jstash: (not openid)
[18:01] dilvie has joined the channel
[18:01] d_low-linux: jstash: ok, that's good to know. At least everything is done over ssl i guess
[18:02] d_low-linux: i assume i minimize risk by not storing anything on the server
[18:02] MrTopf has joined the channel
[18:02] futini has joined the channel
[18:02] pronam has joined the channel
[18:02] jstash: yes, it's minimized, but you still get stringy remnants in memory. It's the best you can do without getting really paranoid.
[18:02] ben_alman: is there a preferred way to install nodejs on osx?
[18:02] tjfontaine: you minimize risk by pulling the plug on the server
[18:03] tjfontaine: everything else mitigation
[18:03] rendar: node.js uses always google.v8 as js engine, right?
[18:03] gkatsev: rendar: yes
[18:03] Fr4n has joined the channel
[18:03] rendar: ok
[18:03] jstash: ben_alman: homebrew is a good start
[18:03] windsurf_ has joined the channel
[18:04] erichocean: any ideas why require("dns").resolve4("localhost") would err?
[18:04] gkatsev: what's the error?
[18:04] Robdor has joined the channel
[18:04] mehlah has joined the channel
[18:04] jocafa: is there a good explanation somewhere of what happens during a require()?
[18:05] mnutt has joined the channel
[18:05] pronam has joined the channel
[18:05] gkatsev: jocafa: the source? :3
[18:05] erichocean: { [Error: queryA ENOTFOUND] code: 'ENOTFOUND', errno: 'ENOTFOUND', syscall: 'queryA' }
[18:05] cole_gillespie has joined the channel
[18:05] tjfontaine: malformed hosts file
[18:06] tuhoojabotti: heh, it takes a long time to rm -rf node src
[18:07] ryanrolds_w has joined the channel
[18:07] tuhoojabotti: from .nvm/src
[18:07] erichocean: tjfontaine: https://gist.github.com/22de0845569da90348db
[18:07] erichocean: there's a tab between 255 and broadcasthost, if that matters
[18:07] pronam has joined the channel
[18:07] erichocean: otherwise, all spaces
[18:08] tjfontaine: oh, resolve4 always does dns, doesn't do the hosts lookup, I remember that now
[18:08] erichocean: this is the code I'm running https://gist.github.com/c7d418afd93ce645a562
[18:10] erichocean: right, but shouldn't dns be looking in /etc/hosts?
[18:11] tjfontaine: that's not really how it works, there is a "gethostbyname" style which will do the normal libc check hosts file, if not found check dns, and then there is the avoid hosts style all together and go straight to dns
[18:11] pronam has joined the channel
[18:11] djQuery: hmmmm when running node.exe test.js   am getting that node.exe is not revognized even though none.exe is in the path
[18:11] erichocean: tjfontaine: so I'm gathering from that that 'localhost' will never work
[18:12] erichocean: and I should handle it specially
[18:12] tjfontaine: erichocean: well, lookup() does the /etc/hosts dance, but resolve* doesn't
[18:12] Juan77 has joined the channel
[18:12] tjfontaine: erichocean: also, some upstream dns will publish localhost records, but not all do, for instance google dns doesn't
[18:13] erichocean: tjfontaine: bingo, lookup() is the solution
[18:13] bergie has joined the channel
[18:13] erichocean: (this is someone else's code that broke, just trying to fix it)
[18:13] erichocean: yeah, I'm using google DNS. go figure.
[18:13] tjfontaine: erichocean: I wrote an implementation of the dns stack for node in js, you can see how I tackled it https://github.com/tjfontaine/node-dns/blob/master/lib/client.js
[18:13] joshfinnie has joined the channel
[18:13] pronam has joined the channel
[18:14] erichocean: tjfontaine: wow, cool
[18:14] tjfontaine: erichocean: I make no claim to warranty :P
[18:14] [[zz]] has joined the channel
[18:15] skript has joined the channel
[18:16] pronam has joined the channel
[18:16] fzzzy has joined the channel
[18:16] hipsters_ has joined the channel
[18:18] pronam has joined the channel
[18:20] defunctzombie has joined the channel
[18:20] defunctzombie has left the channel
[18:22] synkro has joined the channel
[18:22] pronam has joined the channel
[18:22] ditesh|cassini has joined the channel
[18:23] addisonj has joined the channel
[18:24] jmoney has joined the channel
[18:24] lzskiss has joined the channel
[18:26] lperrin has joined the channel
[18:26] LeMike has joined the channel
[18:26] pronam has joined the channel
[18:26] Morkel has joined the channel
[18:29] TheJH: uh, this is weird... can anyone give me a hint on why https://github.com/thejh/node-nacl/blob/master/node_nacl.cc still compiles on node v0.6.6, but is only loadable in node v0.4.12?
[18:29] sickfisher has joined the channel
[18:29] eeemsi_: is there an easy way for couchdb to show me entries that are older then 150days?
[18:30] TheJH: eeemsi_, couchdb is for distributed systems where clock data might be completely wrong
[18:30] devinus has left the channel
[18:30] pronam has joined the channel
[18:30] TheJH: eeemsi_, I'm pretty sure there's no way to do that unless you put the time into the documents
[18:31] overthemike has joined the channel
[18:31] TheJH: eeemsi_, and then, you'll need a custom view or so
[18:31] flip_digits has joined the channel
[18:32] eeemsi_: TheJH: i just replicated the couchdb from isaacs on iriscouch.com so the time difference should not be that heavy
[18:32] pronam has joined the channel
[18:32] TheJH: eeemsi_, the registry?
[18:33] TheJH: eeemsi_, well, it has modification dates, but you'll still need a custom view
[18:33] eeemsi_: TheJH: yes, the registry ;)
[18:33] spolu has left the channel
[18:34] malletjo has joined the channel
[18:34] TheJH: eeemsi_, something like `if (doc.time && doc.time.modified) emit(doc.time.modified)`
[18:34] cognominal has joined the channel
[18:34] StanlySoManly has joined the channel
[18:35] TheJH: nobody here who can tell what's wrong in those 125 lines of simple C++ code?
[18:35] dudeinthemirror has joined the channel
[18:36] luc_ has joined the channel
[18:36] pronam has joined the channel
[18:37] tjfontaine: TheJH: what's said when you try and load the module?
[18:38] TheJH: tjfontaine, I'm rebuilding it with node v0.6.6 now, one sec...
[18:38] TheJH: (it does benchmarks on compile (not my idea), so it needs 10m)
[18:38] jetienne_: :)
[18:38] jetienne_: eror wroing channel
[18:39] pronam has joined the channel
[18:39] tuhoojabotti: :D
[18:40] bneil_ has joined the channel
[18:41] lduros has joined the channel
[18:42] TheJH: tjfontaine, the error is "Error: Unable to load shared library /home/jann/gitty/node-nacl/build/Release/node_nacl.node"
[18:43] tjfontaine: there's no missing symbol or any such error?
[18:43] TheJH: tjfontaine, that's all it prints
[18:43] TheJH: and the file exists:
[18:43] TheJH: -rwxrwxr-x. 1 jann jann 238275 22. Dez 19:39 /home/jann/gitty/node-nacl/build/Release/node_nacl.node
[18:43] tjfontaine: sure that could be any sort of thing, though it generally relates to the dlopen() failing in my experience
[18:43] bradleymeck: TheJH use node_module macro?
[18:44] nibblebo_ has joined the channel
[18:44] TheJH: bradleymeck, hmm? I'm a total novice regarding all C++ land stuff, so could you link me to some explaination or so?
[18:45] TheJH: bradleymeck, no idea what that macro is
[18:45] CrypticSwarm has joined the channel
[18:46] bradleymeck: thejh http://nodejs.org/docs/latest/api/addons.html , instead of using init to export you would use NODE_MODULE, an example is on that page
[18:47] pronam has joined the channel
[18:47] TheJH: bradleymeck, oh, thanks :)
[18:47] tjfontaine: ah that is newer, ya, that's certainly related to the dlopen finding the right symbol
[18:47] snearch has joined the channel
[18:49] RobWC has joined the channel
[18:51] cce__ has joined the channel
[18:53] joshontheweb has joined the channel
[18:54] kyonsalt_tLHmQ has joined the channel
[18:54] jxson_ has joined the channel
[18:54] Fr4n has joined the channel
[18:54] pronam has joined the channel
[18:58] maushu has joined the channel
[18:58] wmage1 has joined the channel
[18:58] redir_ has joined the channel
[19:01] GrizzLyCRO1 has joined the channel
[19:01] joshontheweb has joined the channel
[19:01] xSmurf has joined the channel
[19:01] xSmurf: moin moin
[19:01] gigafied has joined the channel
[19:01] pronam has joined the channel
[19:02] mc_greeny has joined the channel
[19:02] TheJH: bradleymeck, like this? https://gist.github.com/1511425 - because that doesn't work either :(
[19:02] TheJH: xSmurf, moin
[19:03] TheJH: oh, I guess "HandleScope scope;" in "init" is wrong
[19:04] TheJH: nah, doesn't work either :(
[19:05] tjfontaine: TheJH: you require('node_nacl') or 'nacl'?
[19:05] Brandon_R has joined the channel
[19:05] Brandon_R: hey guys
[19:06] Brandon_R: who here thinks i'm a troll?
[19:06] jerrysv: me
[19:06] tjfontaine: qed
[19:06] xSmurf: I don't know you but I assume if you actually have to ask....
[19:06] Aikar: sup troll
[19:06] TheJH: tjfontaine, I require the index.js which does require('./build/Release/node_nacl')
[19:07] Brandon_R: why do you guys think that?
[19:07] Brandon_R: i can change
[19:07] tjfontaine: TheJH: ok
[19:07] Brandon_R: if you tell me the problem
[19:07] Aikar: i think most of us are kidding
[19:07] Aikar: ive not seen you troll
[19:07] Brandon_R: lol
[19:07] Brandon_R: that's what i thought
[19:07] TheJH: Aikar, that's the most important thing for a troll :D
[19:07] Aikar: /lastlog Brandon_R 
[19:08] Aikar: [12:40:40pm] < Brandon_R> how do i install nowjs on windows?
[19:08] cce has joined the channel
[19:08] cce has joined the channel
[19:08] tjfontaine: Aikar: just reinforces my opinion, even without conversation context
[19:08] Aikar: that question does seem like trolling
[19:08] xSmurf: ;)
[19:08] Aikar: since theres a very clear windows installer on the homepage
[19:09] maxogden: Brandon_R: you dont seem trolly you just seem really n00b
[19:09] jerrysv: ^
[19:11] Brandon_R: are you guys excited for the new version of now.js?
[19:12] jerrysv: more than you could ever believe
[19:12] joshontheweb has joined the channel
[19:12] pronam has joined the channel
[19:12] xSmurf: I think jerrysv jizzed his pants
[19:13] xSmurf: or more than that? ;P
[19:13] jerrysv: maxogden: nice place :)
[19:13] Brandon_R: what are you going to do with it?
[19:13] eddanger has joined the channel
[19:13] maxogden: jerrysv: thanks. its a mother-in-law cabin technically
[19:14] jerrysv: Brandon_R: i don't use now.js, actually
[19:15] jerrysv: i use a combination of socket.io and eventreactor
[19:15] LuckySMack has joined the channel
[19:16] wmage1 has joined the channel
[19:17] `3rdEden: I hear new nowjs, but I don't see anything new
[19:17] `3rdEden: vaporware
[19:17] tedsuo has joined the channel
[19:17] jerrysv: `3rdEden: are you using mongohq?
[19:17] tuhoojabotti: tubberware
[19:17] `3rdEden: jerrysv yup
[19:17] TheJH: and I want to know when they fix the 1-message DoS
[19:17] jerrysv: `3rdEden: liking it?
[19:18] `3rdEden: jerrysv the support is amazing
[19:18] jerrysv: `3rdEden: awesome
[19:18] TheJH: https://github.com/Flotype/now/issues/157 HAHAHA
[19:18] `3rdEden: but its getting a bit to expensive for my scale
[19:18] jerrysv: `3rdEden: might be worth asking to negotiate
[19:18] TheJH: nearly one month since I publicly told them
[19:19] `3rdEden: jerrysv: joyent also released a mongodb smart machine
[19:19] TheJH: still no fix for that critical issue
[19:20] KBM has joined the channel
[19:21] springmeyer has joined the channel
[19:21] mAritz has joined the channel
[19:21] TheJH: maybe I should threaten them with publically releasing the exploit?
[19:21] agnat_ has joined the channel
[19:22] `3rdEden: TheJH just spam them on twitter
[19:22] joshontheweb has joined the channel
[19:24] hotchkiss has joined the channel
[19:24] joshontheweb has joined the channel
[19:25] pronam has joined the channel
[19:25] Aikar: TheJH: "threaten" is not a good word to use. but youve done your part in trying to get it resolved w/o posting it publicly, and theyve showed activity in the past month, so would be no foul from you if you did release it
[19:26] TheJH: `3rdEden, mhm, done: https://twitter.com/#!/tehjh/status/149933561422692352
[19:27] `3rdEden: TheJH give @DShankar  a poke and @reallyez
[19:27] fangel has joined the channel
[19:27] edy_1234 has joined the channel
[19:27] jxson has joined the channel
[19:28] hotchkiss has joined the channel
[19:28] stonebranch has joined the channel
[19:29] TheJH: `3rdEden, mhm, done
[19:29] `3rdEden: :p
[19:29] KBM has left the channel
[19:31] tomyan has joined the channel
[19:32] mmalecki: TheJH: full disclosure.
[19:32] mmalecki: I'm not even trolling
[19:34] Skoo has joined the channel
[19:34] joshontheweb has joined the channel
[19:34] secoif has joined the channel
[19:34] omry: is waf a tool specific to nodejs build?
[19:35] Aikar: no
[19:35] Aikar: but waf is going away
[19:35] secoif has joined the channel
[19:35] omry: trying to build a deb for 0.66. and I hit this : http://fpaste.org/Skh0/
[19:35] omry: any idea?
[19:35] omry: going away in which version?
[19:35] omry: master is already clean of it?
[19:35] Aikar: wut & mkdir -p .
[19:36] Aikar: no, .7 is
[19:36] Aikar: its switching to GYP (another python based tool)
[19:36] omry: dunno man, I`m basing it on an existing debian package
[19:36] Aikar: but GYP works on windows
[19:36] langworthy has joined the channel
[19:36] Skoo has joined the channel
[19:36] omry: mkdir -p .  is harmless enough :)
[19:36] rabidmachine9 has joined the channel
[19:36] omry: any idea what that waf is waffing about?
[19:36] Aikar: no clue whats wrong with your build, maybe one of the other .deb maintainers can help?
[19:37] Aikar: it gave an error about ev
[19:37] omry: yeah, I see. its installed
[19:37] omry: when I just configure && make it works
[19:37] Aikar: line # has a --shared-libev flag
[19:38] Aikar: i guess nodes configure script doesnt support that?
[19:38] omry: yeah, for the life of me - I don't know where it came from (greped for it, nothing)
[19:38] Aikar: line 3*
[19:38] omry: yeah
[19:38] omry: so the altenrative is to use it statically?
[19:38] Aikar: can you remove the --shared-libev from line 3?
[19:38] Aikar: yes node prefers to compile stuff in statically so its simply a single binary
[19:39] omry: I like that
[19:39] omry: will try to figure out where its pulling that shared tihng in
[19:39] Aikar: windows ver = nothing but node.exe
[19:39] Skoo has joined the channel
[19:39] Aikar: linux ver is essentially same
[19:39] Aikar: well + doc files/.h files
[19:39] Aikar: but runtime is just the exe
[19:40] ChrisMatthieu has joined the channel
[19:40] omry: hmm, can't figure out where it pulls that parameter from
[19:41] Aikar: grep -R "--shared-libev" .
[19:41] Skoo has joined the channel
[19:41] Aikar: :P
[19:41] omry: no shit sherlock :)
[19:41] omry: tried that
[19:41] omry: hmm
[19:42] omry: this is what I get for using fucking ack-grep
[19:42] omry: btw - you can't grep for things that starts with --
[19:42] omry: grep things its a parameter :)
[19:42] omry: thinks
[19:42] rabidmachine9 has left the channel
[19:43] Aikar: \-\-shared-libev ? :P
[19:43] Skoo has joined the channel
[19:43] jerrysv: nope
[19:43] jerrysv: "\-\-shared-libev" works though
[19:43] rabidmachine9 has joined the channel
[19:43] jerrysv: as long as you quote
[19:43] Aikar: i meant with quote
[19:43] jerrysv: uh huh
[19:43] sorensen__ has joined the channel
[19:43] jerrysv: revisionist :)
[19:44] xi_ has joined the channel
[19:44] Skoo has joined the channel
[19:44] rabidmachine9: anybody experienced with everyauth ? http://stackoverflow.com/questions/8608074/facebook-authentication-locally-with-everyauth
[19:44] omry: :)
[19:44] Aikar: hey i typed it that way first, and didnt type full command the 2nd time :P
[19:44] jerrysv: anyone have a chance to play with hoganjs?
[19:44] pronam has joined the channel
[19:45] Aikar: does it make heroes?
[19:45] jerrysv: no, but it is rather hulky
[19:45] insin: it rips its shirt off and pops veins at you, hoooo yeah
[19:46] admc has joined the channel
[19:46] colinclark has joined the channel
[19:47] jerrysv: then it has a spectacular divorce
[19:47] jerrysv: before its life is ended after a huge sex addiction catches up
[19:48] omry: Aikar, removed that, it gets further now. till this : http://fpaste.org/iOcL/
[19:48] omry: any idea?
[19:49] omry: mm, cant find v9
[19:49] omry: v8. let me check that
[19:49] pronam_ has joined the channel
[19:50] gigafied has joined the channel
[19:50] jstash: i wanted to post this to node.js jobs, but it won't allow Canadians since we don't have zip-codes: goinstant is hiring http://goinstant.theresumator.com/apply/
[19:51] ianl`: ^^ :)
[19:52] jeromegn_ has joined the channel
[19:53] Cromulent has joined the channel
[19:54] fangel has joined the channel
[19:54] jj0hns0n has joined the channel
[19:54] pickels_ has joined the channel
[19:55] Skola has joined the channel
[19:56] AndreasMadsen has joined the channel
[19:56] JesusRosso has joined the channel
[19:57] secoif: using process as an event bus, is this a good idea?
[19:57] jstash: create a different global EventEmitter instead?
[19:58] secoif: jstash do people really sit on that couch or is that just for show
[19:58] fangel has joined the channel
[19:58] jstash: yeah, gavin's there most of the time
[19:58] ianl`: im sitting on the couch right now
[19:58] joshontheweb has joined the channel
[19:58] bradleymeck: secoif, make an eventemitter, do not attach stuff to globals, if anyone uses your app as a lib (unit tests usually) globals will be painful
[19:58] colinclark has joined the channel
[19:59] bradleymeck: ACTION wishes globals were readonly
[19:59] secoif: thanks jstash bradleymeck. I need to share this emitter with a bunch of objects that don't have a central place they are generated.
[20:00] `3rdEden has joined the channel
[20:00] secoif: ianl` epic.
[20:00] Bonuspunk: could Object.freeze(global) work?
[20:00] bradleymeck: secoif look into a plugin system like flatiron/broadway
[20:01] redir_ has joined the channel
[20:01] bradleymeck: basically you want a place that aggregates source, if you don't :(
[20:01] pronam has joined the channel
[20:01] bradleymeck: Bonuspunk, nah, i just want the predefined ones frozen. but it slows down all property access right now :(
[20:02] theo has joined the channel
[20:02] `3rdEden has joined the channel
[20:03] secoif: bradleymeck thanks, looking into broadway
[20:04] camperking has joined the channel
[20:05] napperjabber_ has joined the channel
[20:05] colinclark has joined the channel
[20:05] nanreh_ has joined the channel
[20:07] nanreh_: node module question. how does this work in chrome but not in node?
[20:07] nanreh_: !(function(exports) {   exports.is = {};   is.version = '0.1.4'; }(this)); 
[20:07] nanreh_: @see https://github.com/onirame/is
[20:07] nanreh_: that module is busted afaict
[20:08] nanreh_: ReferenceError: is is not defined 
[20:09] colinclark_ has joined the channel
[20:09] CoverSlide: nanreh_: how are you using it?
[20:10] nanreh_: npm install;  require('is')
[20:10] omolina has joined the channel
[20:10] omolina: hi all
[20:10] omolina: I try coding on nodejs with socket.io but appear the following message
[20:10] omolina: client not handshaken client should reconnect
[20:10] omolina: find on internet but I dont have the solution
[20:10] omolina: please I can help me
[20:10] wmage1 has joined the channel
[20:10] omolina: sorry for my english
[20:10] omolina: xD!
[20:11] Lingerance: nanreh_: Because "this" isn't the global in node.js
[20:11] Lingerance: But it is when using a browser's JS
[20:11] wmage1: Hi, anybody tried turning an async function into synchronous one?
[20:11] nanreh_: @Lingerance thx. i'll try to wrap my head around that.  that module needs fixing for node then.
[20:12] nanreh_: 
[20:12] DTrejo has joined the channel
[20:12] Lingerance: Do: (function(exports) { var is = exports.is = {}; is.version = '0.1.4' })(this)
[20:13] nanreh_: @Lingerance Awesome. thank you.
[20:13] nibblebot has joined the channel
[20:13] secoif: jstash goinstant is pretty cool
[20:13] secoif: i dig it.
[20:14] jstash: thanks :)
[20:14] secoif: wmage1 what do you mean?
[20:14] pronam has joined the channel
[20:14] CoverSlide: unfortunately, i think the intent of the module is to add `is` to the global object
[20:14] jimubao has joined the channel
[20:15] wmage1: secoif: Call a function passing it a callback and wait for the callback to be called. Then return it.
[20:15] CoverSlide: which could be easily done
[20:15] CoverSlide: using this inside the function call
[20:16] secoif: wmage1 that somewhat defeats the purpose of using an evented environment. you might want to look into promises though
[20:16] CoverSlide: by the way, what is the context of a require'd file, just a blank anonymous object?
[20:16] rauchg has joined the channel
[20:16] wmage1: secoif: I know, I'm not gonna do it, I just wanna know how would it be done :)
[20:17] TheJH: CoverSlide, context as in "what instance of the globals"?
[20:17] tbranyen: yo rauchg sorry i haven't gotten to that patch yet.  been so busy :( i think i'll have time to quickfix nodegit tomorrow tho
[20:17] CoverSlide: `this` context
[20:17] theo:  Hi! I'm trying to use http-proxy module but when I redirect them It shows(in the browser) the URI that I redirected them to.
[20:17] theo:  Hm maybe I'm doing it wrong? =)
[20:17] TheJH: CoverSlide, ah, I wouldn't call that "context"
[20:18] CoverSlide: what would you call that?
[20:18] omolina: anyone know this erro "client not handshaken client should reconnect
[20:18] omolina: "
[20:18] rauchg: tbranyen
[20:18] rauchg: no problem man!
[20:19] tbranyen: =) i'm not used to managing a project as large as nodegit
[20:19] tbranyen: smaller stuff like backbone plugins i can handle
[20:19] `3rdEden: rauchg OMG WHY DOES YOUR BLOG RUN ON PHP AND NOT NODEJS
[20:19] bartt has joined the channel
[20:19] `3rdEden: ;$
[20:19] AAA_awright: Because there's no good blogs for Node.js
[20:19] AAA_awright: JUST WAIT
[20:19] `3rdEden: I just had to that, in public
[20:20] tbranyen: AAA_awright: i've been working on one
[20:20] binaryjohn has joined the channel
[20:20] tbranyen: my blog runs on it
[20:20] TheJH: CoverSlide, I don't really know a name for that, but afaik, "context" usually refers to "what globals and stuff does this have"
[20:20] tbranyen: http://tbranyen.com
[20:20] tbranyen: pulls from git, auto updates when i push to my github repo
[20:20] `3rdEden: Let's just fork Wordpress, rewrite it in node and make a pull req
[20:20] tbranyen: all markdown and metadata
[20:20] mmalecki: `3rdEden: win.
[20:20] mmalecki: AAA_awright: soon.
[20:21] `3rdEden: mmalecki or just converting PHP with emscripten and run it on node.js (h)?
[20:21] secoif: tbranyen I don't like having to click to view your articles.
[20:21] mmalecki: `3rdEden: YES PLEASE
[20:21] lazyshot has joined the channel
[20:21] CoverSlide: i would like to open your articles telepathically
[20:21] tbranyen: secoif: i'm sorry
[20:21] rauchg: `3rdEden: well i'm gonna run just varnish
[20:21] AAA_awright: I'm working on a "real" CMS so let's see how that works out.. the way a CMS should work, imo
[20:21] rauchg: :D
[20:22] CoverSlide: ^ what every cms author says
[20:22] tbranyen: No really guys my template engine solved all problems!!!
[20:22] `3rdEden: lol
[20:22] tbranyen: :(
[20:22] mmalecki: http://xkcd.com/927/ relevant
[20:22] CoverSlide: I'm making my `insert type of project herre` they way they SHOULD work!
[20:22] AAA_awright: Naw I really think this is the way it's philosophically supposed to work
[20:24] captain_morgan has joined the channel
[20:24] AAA_awright: http://magnode.org/doc I've throughly researched it. Now to make it understandable by the layman...
[20:25] bradleymeck: CMS < WebDav
[20:25] AAA_awright: WebDAV? The HTTP standard?
[20:25] AAA_awright: No reason it couldn't work, but that's largely a non-starter for all the things one wants to do with a website
[20:25] jaha has joined the channel
[20:26] pronam has joined the channel
[20:26] benlyn has joined the channel
[20:27] AAA_awright: bradleymeck: Why?
[20:27] bradleymeck: maybe, but letting people work in excel on stuff and push it back makes me not have to teach them things (and a lot of retail companies ive worked with in the past had terrible CMS systems... uggg...) we just ended up finding excel / csv is easier than maintaining a cms
[20:27] bradleymeck: when working with non-tech people
[20:27] AAA_awright: What's the task?
[20:28] AAA_awright: Excel and CMS usually aren't uttered in the same sentence
[20:28] jesusabdullah: AAA_awright: non-tech people are dumb. They only know MS Word and MS Excel
[20:28] bradleymeck: ^
[20:28] bradleymeck: POS, and report tracking
[20:28] jesusabdullah: When I worked for my university's department office, our IT department rolled out gmail accounts for everybody
[20:28] jesusabdullah: and my boss got SO confused
[20:28] nanreh_: @CoverSlide this in a module === exports 
[20:28] jesusabdullah: by **gmail**
[20:29] jesusabdullah: I spent *hours* trying to help her do basic shit like "set up an address book"
[20:30] insin: yay, my first node/ntwitter Twitte app sorta works
[20:30] insin: s/Twitte/Twitter/ <- what it does
[20:31] djcoin has joined the channel
[20:31] context: insin: regular expression substitution
[20:31] jaha: anyone used node with appcelerator titanium?
[20:33] insin: a poem to .bind(this)
[20:34] pauls1_ has joined the channel
[20:35] joshontheweb has joined the channel
[20:36] bradleymeck: jaha, they are different things?
[20:36] joshontheweb has joined the channel
[20:38] LuckySMack: what would be the best route to take if I wanted to use node to be used as more of a site management platform. i work at a web development company and want to make a platform with node to manage all the sites we have. Not manage/manipulate content. Also maybe to do something like let it throw up a new site (such as wordpress) with the given settings. What would be the best way to go about this using node?
[20:38] context: thats a rather vague and broad question
[20:39] context: with a LOT of variables unknown
[20:39] LuckySMack: should I just use express or would I get any benefits from a framework on top of node such as railway.js (or any other of the mvc frameworks out there)
[20:39] joshontheweb has joined the channel
[20:40] jaha: @bradleymech I am looking to implement the wonderful features of node and NowJS with Titanium (native mobile and desktop apss built on JS)
[20:41] whenrik has joined the channel
[20:42] pronam has joined the channel
[20:43] sharkbird has joined the channel
[20:43] sharkbird_ has joined the channel
[20:43] heavysixer has joined the channel
[20:44] context: luckysmack: try both and see which works better for you?
[20:44] bradleymeck: jaha, well NowJS would need a lot of shims to work (namely faked window object and XMLHttpRequest polyfill) but its doable pretty easily
[20:45] rurufufuss has joined the channel
[20:45] TheJH: jaha, ugh, nowjs? They have an open one-message DoS issue since Nov 30, no fix yet
[20:45] TheJH: jaha, like, I send one little message to your server and it grinds to a halt
[20:46] context: nice
[20:46] LuckySMack: context: yea im going to, but as I get into it, not having used either before, Im just wondering what some of the pros and cons might be of the differences. I don't want to try something and have it just completely not work out (not that I wouldnt learn anything, and not that they both wont work because I'm sure they both would). 
[20:46] mmalecki: TheJH: do a full disclosure on this issue.
[20:46] mmalecki: they ignored you for a month
[20:46] mmalecki: you can do that.
[20:46] LuckySMack: just kind of curious about a broad generalized overview of the benefits of using one or the other.
[20:46] TheJH: mmalecki, if they don't make a fix in the next two weeks
[20:46] context: well you have used mvc before right?
[20:47] context: thats what railway is giving you
[20:47] context: they are both express...
[20:47] jaha: i am open to other socket.io / web socket solutions, i mean socket.io doesnt seem much more dificult
[20:47] pksunkara has joined the channel
[20:47] TheJH: jaha, I'd recommend dnode
[20:47] LuckySMack: yea i have used a few mvc frameworks with php.
[20:47] jaha: i guess the problem is with the fallbacks since i think the mobile sdk of titanium supports web sockets but the desktop sdk doesnt
[20:47] pksunkara has left the channel
[20:48] context: Faye does fallbacks
[20:48] TheJH: jaha, dnode and nowjs both use socket.io under the hood
[20:48] bradleymeck: jaha, socket.io has a lot of fallbacks
[20:48] bradleymeck: a lot...
[20:48] jaha: yea thats what i understood
[20:48] jaha: dont know much about dnode
[20:49] bradleymeck: dnode is just rpc over socket.io
[20:49] TheJH: jaha, dnode runs on top of socket.io and allows circular references in messages and callbacks
[20:49] tvw has joined the channel
[20:49] Luffha has joined the channel
[20:50] jesusabdullah: You can turn off socket.io's fallbacks if you need to
[20:50] jesusabdullah: I've done that before
[20:50] cmr: Why would one need to do that?
[20:50] TheFuzzball: I'm getting a bit confused with all of this asynchronous stuff… I never know where to put my code in order to ensure that the variable will be populated before it's executed. So far I'm trying to use a callback - http://pastebin.com/DAtYHU52 but I need some good design patterns for this.
[20:50] jesusabdullah: In my case, I was testing websockets
[20:51] jesusabdullah: turning off the fallbacks made it more obvious when websockets were breaking
[20:51] TheFuzzball: Mainly I'm getting stuck with sqlite3, it's rife with race conditions.
[20:51] cmr: Ew code style.
[20:51] cmr: jesusabdullah: I can see that
[20:52] bradleymeck: cmr, if you don't want to use various things (jsonp, flash, etc)
[20:53] bradleymeck: jsonp for xss, flash... for flash...
[20:54] chrisvwebdev has joined the channel
[20:56] pronam has joined the channel
[20:57] sylvinus has joined the channel
[20:57] cmr: TheFuzzball: That code looks fine to me. What's the problem?
[20:58] TheFuzzball: cmr I missed out end(); after db.each(). If it were called, this.collection_path would be undefined.
[20:59] DTrejo has joined the channel
[20:59] cmr: TheFuzzball: this.collection_path isn't defined *anywhere*. Is that a sqlite3 built-in thing?
[20:59] pronam has joined the channel
[21:00] TheFuzzball: cmr this[row.id] = row.setting; should populate it.
[21:01] cmr: TheFuzzball: So 'collection_path' is an id somewhere in the settings table? That would have been nice to know!
[21:01] TheFuzzball: Sorry, I should have mentioned that :(
[21:02] skunkape has joined the channel
[21:03] nibblebo_ has joined the channel
[21:04] rwaldron has joined the channel
[21:04] cmr: TheFuzzball: https://github.com/developmentseed/node-sqlite3/wiki/API
[21:05] cmr: TheFuzzball: See Database#each
[21:05] cmr: There is a third parameter you pass, a function that gets called when the 'each' is done. You want to put 'end' there
[21:06] MarkMenard has joined the channel
[21:06] TheFuzzball: Brilliant, thanks :)
[21:07] TheFuzzball: This async stuff hurts my head sometimes :P
[21:08] chia has joined the channel
[21:08] TheJH: "@NowJsTeam @tehjh fix is on the way, in the next 24 hours /cc @DShankar @reallyez"
[21:08] thax has joined the channel
[21:09] bradleymeck: TheFuzzball, functional programming will do that to ya first few rounds
[21:09] slaskis has joined the channel
[21:11] jerrysv: TheJH: congrats
[21:11] cmr: TheFuzzball: Yeah, it does take some getting used to. I think it's great.
[21:11] TheFuzzball: It is a lot of fun :)
[21:13] slaskis has joined the channel
[21:14] salva has joined the channel
[21:15] pickels_ has joined the channel
[21:15] TheFuzzball: If I have a function which has a variable (test) declared within the constructor as this.test = 123, how do I access test from within the method?
[21:16] TheFuzzball: "this" within the method will refer to the method itself.
[21:16] insin: only if someone massively ballsed up calling it! :)
[21:17] deedubs has joined the channel
[21:22] arcanis has joined the channel
[21:25] monokrome has joined the channel
[21:27] chrisvwebdev has left the channel
[21:31] ben_alman: question: brew tells me that npm isn't installed with nodejs. 0.6.6. i thought npm was included by default now?
[21:32] deedubs has joined the channel
[21:32] tuhoojabotti: It ought to be
[21:33] TheFuzzball: ben_alman Nope. brew does give you a command to install it though.
[21:33] ben_alman: is this a brew thing or a node thing?
[21:33] ben_alman: like
[21:33] ben_alman: if i install node on a ubuntu box
[21:33] tuhoojabotti: I would say brew.
[21:33] ben_alman: will i still have to install npm after?
[21:34] TheFuzzball: It's a brew thing, the recipe configures node with --without-npm
[21:35] jaha has left the channel
[21:35] TheFuzzball: Yes, you will have to install npm after, but it's not too much bother as brew gives you the command to install npm with in its comments.
[21:36] ben_alman: np
[21:37] Edy: ping
[21:37] tbranyen: yet another reason why i always use the pkg installer :-p
[21:37] tbranyen: works perfectly every time
[21:37] trose: anyone know how to see recent activity with npm?
[21:37] ben_alman: pkg?
[21:37] trose: i updated it a short while ago and one of the updates screwed up my code
[21:37] tbranyen: the os x pkg file thats available when you click download on nodejs.org
[21:37] trose: i'm not sure which though
[21:38] ben_alman: gotcha
[21:38] sebastianedwards has joined the channel
[21:38] ben_alman: homebrew seems to work great
[21:38] trose: and i have no record of the old versions
[21:38] tbranyen: ben_alman: aside from not installing npm :-/
[21:38] ben_alman: trivial to fix really
[21:38] TheFuzzball: You can make your own recipe
[21:38] tbranyen: TheFuzzball: or just install the pkg file heh
[21:39] TheFuzzball: Does the pkg come with an uninstaller?
[21:39] tbranyen: which node | xargs sudo rm
[21:39] tbranyen: =)
[21:40] TheFuzzball: haha, that's not deleting it :)
[21:41] TheFuzzball: http://cl.ly/Co9z
[21:41] TheFuzzball: That's only a snippet of the files it installs, and without an uninstaller.
[21:42] TheFuzzball: I don't want that kind of muck, brew is better.
[21:42] ben_alman: is there any way with npm to just get a list of the packages you've installed (and not their deps)?
[21:43] andrew12: anyone wanna explain to me why people seem to like to put commas at the beginning of their lines rather than the end?
[21:43] tbranyen: andrew12: style and contrived issues :-p
[21:44] CoverSlide: it's easier to append to a comma-separated list that way
[21:44] CoverSlide: i.e. the last element cannot had a comma
[21:44] tbranyen: unless its in an object/array literal
[21:44] CoverSlide: so to add to it, you have to add a comma to the last element, then your next element
[21:44] ben_alman: anyone?
[21:44] TheFuzzball: ben_alman npm ls?
[21:44] CoverSlide: tbranyen: true, except ie throws a fit
[21:44] jesusabdullah: ben_alman: ls node_modules ? :v
[21:45] ben_alman: TheFuzzball: nope
[21:45] CoverSlide: so that practice extends to front-end stuff
[21:45] ben_alman: global modules
[21:45] ben_alman: ?
[21:45] jesusabdullah: ah
[21:45] ben_alman: npm ls -g (less pretty, no deps)
[21:45] tbranyen: CoverSlide: node.js doesn't work in IE =)
[21:45] Ergo^ has joined the channel
[21:46] Ergo^: hello im trying to build dojotoolkit with node.js
[21:46] Ergo^: im getting this exception
[21:46] Ergo^: ReferenceError: location is not defined
[21:46] CoverSlide: true, but still, leaving hanging commas isn't great either, and if you have a var declaration, you can't end on a comma
[21:46] Ergo^: it worked on node 0.4.9 , but seems to fail on 0.6.6
[21:46] andrew12: i suppose you could say that it makes it more compact too
[21:46] CIA-109: node: 03Ryan Dahl 07isolates2 * r2ac02f4 10/ (15 files): 
[21:46] CIA-109: node: Add node::Loop() and don't inc node_isolate.h in *.cc
[21:46] CIA-109: node: node::Loop() replaces the NODE_LOOP macro. This avoids hitting
[21:46] CIA-109: node: v8::Isolate::GetCurrent() for each loop lookup when HAVE_ISOLATE==0 - http://git.io/eXysSg
[21:46] TheFuzzball: ben_alman Where did you find that? there was nothing in man npm.
[21:47] Ergo^: is there anything i could change on my own to make build system work?
[21:47] philipd has joined the channel
[21:47] ben_alman: "$(npm config get prefix)/lib/node_modules"/"* does it
[21:47] messju has left the channel
[21:47] CoverSlide: npm -g ls
[21:47] joshgillies has joined the channel
[21:47] CoverSlide: but you get the deps
[21:48] ben_alman: npm -g ls is too much
[21:48] ben_alman: what i just posted works
[21:48] ben_alman: i have an extra "
[21:48] ben_alman: but you get the idea
[21:48] zeade has joined the channel
[21:49] darshanshankar has joined the channel
[21:49] andrew12: so... what do people who love node call themself? like, there's "rubyists" and "perl hackers"... what are we?
[21:49] lz1 has joined the channel
[21:49] TimTimTim: the hippest hipsters
[21:49] TimTimTim: :D
[21:49] jesusabdullah: noders
[21:49] jesusabdullah: I've heard
[21:49] TimTimTim: noodlers!
[21:49] Edy: nodists
[21:49] jesusabdullah: I always liked "nodies"
[21:50] jesusabdullah: hehe
[21:50] TimTimTim: LOL
[21:50] cmr: heh, nodists
[21:50] cmr: I like it.
[21:50] Ergo^: nudists ;-)
[21:50] andrew12: lol
[21:50] TimTimTim: but in all seriousness, maybe someone can save me a little time searching if you know it off the top of your head... how do i retrieve the server_name in node?
[21:50] cmr: Yes that was the joke, Ergo^.
[21:50] TimTimTim: i'm gonna start coding node in the nude
[21:50] andrew12: lol
[21:51] TimTimTim: by server_name i mean i want like "domain.com" or "www.domain.com"
[21:51] andrew12: noding nude
[21:51] TimTimTim: or better yet, a good function that verifies that referrer == domain
[21:51] TimTimTim: i already have a function that i'm converting to node but perhaps someone knows something better :|
[21:53] TimTimTim: nvm tj's helping me in #express like the awesome guy he is
[21:53] spolu has joined the channel
[21:55] Morkel has joined the channel
[21:55] torm3nt has joined the channel
[21:57] herbySk has joined the channel
[22:00] herbySk has joined the channel
[22:01] ChrisMatthieu has joined the channel
[22:02] tk: hrm... is there a changeset list anywhere that lists changes between node versions? trying to track down why a node process breaks in latest release
[22:03] tk: nm between trac work and this, mixed up my search terms, changelog vs changeset :P
[22:03] terite: I'm lazy. Will someone verify that this is a bug and file it for me? https://gist.github.com/1512054
[22:05] terite: I've tested it as far as f4e34f1b76fcfb2a9112998b54c46ce2978a0deb
[22:05] chadskidmore has joined the channel
[22:05] SamWhited has joined the channel
[22:05] xemium99 has joined the channel
[22:06] CrypticSwarm: If any of you all are interested, just wrote up an article as an argument against comma first when you like to pipe an editors buffer into the REPL.  (http://crypticswarm.com/argument-against-comma-first)
[22:07] cmr: That's the xmonad style, I can't say I like it.
[22:09] tjholowaychuk: comma-first really only looks best for var
[22:09] lduros has left the channel
[22:09] bnoordhuis: benvie: https://github.com/joyent/node/pull/2360#issuecomment-3254283 <- does that mean that PR can be closed?
[22:09] tjholowaychuk: they line up nice with 2 spaces
[22:11] CrypticSwarm: tjholowaychuk, and in the article the way I was using it var is pretty much the only situation that it breaks
[22:11] Ergo^ has left the channel
[22:13] salva has left the channel
[22:15] neilk_ has joined the channel
[22:16] megalomix has joined the channel
[22:16] megalomix: hello
[22:16] michaelhartau has joined the channel
[22:16] megalomix: someone use EJS template engine ?
[22:17] megalomix: how can I do a check and print directly without close/open again the brackets ?
[22:17] Ksugzulut has joined the channel
[22:17] megalomix: i mean something like:          <% if(value){ PRINT HERE} %>         without doing:  <% if(value) { %> <%= value %> <% } %>
[22:19] mike5w3c has joined the channel
[22:20] malkomalko has joined the channel
[22:21] dbsps has joined the channel
[22:21] bartt has joined the channel
[22:22] megalomix: ?
[22:23] arcanin has joined the channel
[22:24] level09 has joined the channel
[22:25] jbpros has joined the channel
[22:26] insin has joined the channel
[22:26] DTrejo: "Powerfull"
[22:26] DTrejo: oops, wrong window
[22:26] jaequery: anyone know how i can turn a postive number into a negative number?
[22:27] tjholowaychuk: -n
[22:27] andrew12: +1
[22:27] mc_greeny has joined the channel
[22:28] CIA-109: node: 03Phil Sung 07v0.6 * rcf2513e 10/ lib/buffer.js : buffer: don't pollute global namespace in buffer.readInt* - http://git.io/O1kO4g
[22:28] jerrysv: or if you really want to get fancy: ~n+1
[22:29] cmr: Heh
[22:29] DTrejo: jerrysv++
[22:29] catb0t: jerrysv now has 1 beer
[22:29] cmr: catb0t--
[22:29] cmr: Doesn't work on itself :(
[22:29] jerrysv: heh, but i always run out of beer after a while
[22:29] shanez has joined the channel
[22:29] Wa has joined the channel
[22:30] insin: the node process I was running survived a hibernate and continued polling my Twitter account... zombie Node
[22:30] pquerna: be careful of node zombies, they tend to run quicker than standard zombies
[22:31] jesusabdullah: Tell me about it
[22:31] napperjabber has joined the channel
[22:32] bnoordhuis: pquerna: but they can do only one thing at a time - stalk or groan but not both
[22:32] idiotic_idioms has joined the channel
[22:32] pquerna: lol
[22:32] eeemsi_: pquerna: n1
[22:32] jaitaiwan has joined the channel
[22:33] synkro has joined the channel
[22:37] joshsmith has joined the channel
[22:38] liar has joined the channel
[22:38] Sorella has joined the channel
[22:39] igl1 has joined the channel
[22:40] Cogito_Ergo_Sum has joined the channel
[22:40] Cogito_Ergo_Sum: hi
[22:40] Cogito_Ergo_Sum: is there a way to install node.js without having to install libdev-ssl ?
[22:41] aliem has joined the channel
[22:41] adrianmg has joined the channel
[22:41] adrianmg has left the channel
[22:43] Heisenmink_ has joined the channel
[22:43] strevat has joined the channel
[22:43] brianseeders has joined the channel
[22:43] yhahn has left the channel
[22:44] pauls1 has joined the channel
[22:46] chjj: isnt openssl bundled now?
[22:48] Cogito_Ergo_Sum: anyway i downloaded it
[22:49] Cogito_Ergo_Sum: not for linux i think
[22:51] Cromulent has joined the channel
[22:51] elijah-mbp has joined the channel
[22:53] Renegade001 has joined the channel
[22:56] neilk_ has joined the channel
[22:58] pronam has joined the channel
[22:58] jacobolus has joined the channel
[22:58] kerigan has joined the channel
[22:59] kerigan: hello. anyone knows how to do MapReduce with node-mongodb-native?
[23:00] skm has joined the channel
[23:00] tk has joined the channel
[23:01] Hamms: kerigan, there's a mapReduce function defined on collection
[23:02] tvw has joined the channel
[23:02] thax_ has joined the channel
[23:02] wilmoore_ has joined the channel
[23:02] Hamms: https://github.com/christkv/node-mongodb-native/blob/master/lib/mongodb/collection.js#L987
[23:02] kerigan: can i just pass javascript functions?
[23:03] chadskidmore has joined the channel
[23:03] mongrelion: Dmitrijus: coworking spaces! XDDD
[23:03] Hamms: kerigan, yep
[23:03] mongrelion: almost forgot haha
[23:03] kerigan: ok ill try to get it to work then :)
[23:07] lzskiss has joined the channel
[23:07] tbranyen: ryah: if i'm rewriting a native lib, is there anything other than waf i can use right now?
[23:07] tbranyen: seems like it would suck to rewrite for something that will be deprecated
[23:08] wedtm has joined the channel
[23:10] eastc has joined the channel
[23:10] CarterL has joined the channel
[23:11] eastc: as a matter of interest, can node.js effectively replace php and nginx?
[23:11] Hamms: eastc, yep
[23:11] eastc: so I can completely switch over to node.js
[23:11] eastc: wow
[23:11] tjholowaychuk: almost anything CAN replace php
[23:11] tjholowaychuk: WILL is another question
[23:11] tjfontaine: monkeys and typewriters for instance
[23:11] eastc: by will you mean what is popular?
[23:12] shaggydog97 has joined the channel
[23:12] eastc: or the 'standard'
[23:12] tjholowaychuk: popularity. php blows but it's popular
[23:12] jerrysv: i think you're being nice to php
[23:12] jerrysv: too nice
[23:12] Hamms: it also depends on what you mean by "replace"
[23:13] tk has joined the channel
[23:13] Hamms: if you mean can node replace php in your office or as far as what you do is concerned, then definitely
[23:13] eastc: can do all the functions of php in an equivalent or better fashion and more
[23:13] eastc: or feature wise
[23:13] tjholowaychuk: eastc yeah, but so can ruby, python, lisp, haskell, erlang, js, *most other langs here*
[23:14] tjfontaine: hey you forgot 
[23:14] eastc: so php is basically old news and node.js is the new thing as an all-in--one web stack sans a relational databse or something like that
[23:14] cmr: nodejs isn't an all-in-one web stack.
[23:14] andrew12: node.js is just a platform
[23:14] jerrysv: but javascript can be
[23:14] tjfontaine: eastc: the amount of existing code bases out there for php hardly make it old news, anymore than cobol
[23:15] andrew12: with a different model from any other programming language
[23:15] jerrysv: browser+node+couchdb/mongo/pg&v8
[23:15] langworthy has joined the channel
[23:15] andrew12: which is why it's "perfect for data-intensive real-time applications that run across distributed devices"
[23:15] andrew12: http://nodejs.org/ is a pretty cool site, yo
[23:15] alexis has left the channel
[23:17] TimTimTim: any recommendations for SSL? are the free ones reliable (the few that are trusted by major browsers)? or should i just spend the money and get something "good"?
[23:17] Dmitrijus: well, dunno about node.js, but the ideas are going here to stay
[23:17] andrew12: TimTimTim: are you talking about certificates? just generate your own
[23:17] cmr: TimTimTim: What are your requirements?
[23:17] TooTallNate: TimTimTim: i've used StartSSL for the free one
[23:18] TooTallNate: TimTimTim: https://tootallnate.net/setting-up-free-ssl-on-your-node-server
[23:18] eastc: so if a website's focus is nearly all realtime based then the server side communication to a mysql databse for instance and the client side javascript possibly eliminating requirements to use server-side php or any other server-side language other than node and various modules to connect to it. right?
[23:18] TimTimTim: andrew12, if i generate my own, will visitors to the site see any warning message or anything?
[23:18] tk has joined the channel
[23:18] cmr: TimTimTim: Probably.
[23:18] TimTimTim: yes, eastc that's the best way to go imo
[23:18] TooTallNate: TimTimTim: generating your own will display a warning message
[23:18] CoverSlide: there is cacert
[23:18] andrew12: TimTimTim: they will see something along the lines of "this certificate isn't verified!"
[23:19] TimTimTim: yeah i don't want users to see any warning message
[23:19] braoru has joined the channel
[23:19] andrew12: then you'llhave to pay
[23:19] CoverSlide: but i dont think any borwsers have it
[23:19] andrew12: probably
[23:19] eastc: i see
[23:19] CoverSlide: i think it's the same with startssl
[23:19] TooTallNate: CoverSlide: what's the same?
[23:19] lightcap has joined the channel
[23:19] TimTimTim: startssl is the free one i was considering
[23:19] TooTallNate: I'm using them for tootallnate.net, there's no warning message
[23:19] eastc: is node much more difficult to learn for server-side scripting as related to php or any other language?
[23:19] eastc: relatively speaking
[23:19] jesusabdullah: Not difficult, just different
[23:20] TimTimTim: eastc, if you know javascript, you're good to know
[23:20] TimTimTim: *good to go
[23:20] wedtm has joined the channel
[23:20] ChrisMatthieu has joined the channel
[23:20] andrew12: ssl is lame anyways
[23:20] andrew12: :p
[23:20] TimTimTim: i'm pretty sure i read somewhere recently that startssl trusted by all major browsers
[23:20] TimTimTim: *is trusted
[23:20] CoverSlide: really?
[23:20] TimTimTim: man i'm making entirely too many typos these days
[23:20] TooTallNate: TimTimTim: i've never had any problems
[23:20] TimTimTim: yeah
[23:20] CoverSlide: well that's cool
[23:20] eastc: anyone know where to start for just learning node and building an entire website from it
[23:21] eastc: the basics and how the modules fit in i guess
[23:21] cmr: eastc: Well, do you know javascript?
[23:21] eastc: yea
[23:21] CoverSlide: oh startssl you get the first year free?
[23:21] eastc: but i mean the syntax for node
[23:21] cmr: That's a good question. I've just used the API docs directly, don't know if there are tutorials/walkthroughs/books (I'm not a fan of them)
[23:21] TooTallNate: CoverSlide: they have a completely free version
[23:21] cmr: Node is javascript, it uses v8 (also used by chrome)
[23:21] TimTimTim: i mean i'll do some research now but i figured there's enough people in here that if there was something good/trusted/free out there one of you would know :)
[23:21] eastc: where can i find the node api?
[23:21] eastc: :)
[23:22] cmr: http://nodejs.org/docs/latest/api/index.html
[23:22] cmr: Available on the front page of nodejs.org ...
[23:22] TimTimTim: eastc, there are tons of examples for pretty much everything you'd ever need to do
[23:22] TimTimTim: especially if you're coming from php
[23:22] TooTallNate: TimTimTim: are like the last 5 mentionings of startssl not enough?
[23:22] CoverSlide: i wish google would index docs/latest instead of 0.3.1 or whatever
[23:23] cmr: CoverSlide: I've started to see latest creep in slowly.
[23:23] fwg has joined the channel
[23:23] TimTimTim: lol TooTallNate startssl is what i was gonna go with to begin with, but thank you for confirming :)
[23:23] TooTallNate: np
[23:23] cmr: But yeah, I was working off of 0.1 docs or something like that before I realized what version it was, and I was wondering why *nothing* worked.
[23:23] CoverSlide: i wonder which sites are referring to the 0.3.x docs
[23:23] CoverSlide: we should ddos them until google re-indexes
[23:23] andrew12: that won't work if their servers are using node
[23:24] andrew12: :P
[23:24] TooTallNate: CoverSlide: if you just google "node fs" then you'll get results for older node versions
[23:24] andrew12: why doesn't it just always use /latest
[23:24] andrew12: heh
[23:24] cmr: Using /latest is pretty meh, IMO.
[23:24] CoverSlide: TooTallNate: Which is exactly the problem I'm complaining about
[23:24] cmr: As it changes. If you're referencing something in a blog post, you don't want your reference to change on you.
[23:24] TimTimTim: eastc, i actually just started working with node < 2 weeks ago and it only took me like 6-7 days to convert the original backend from php to node
[23:24] cmr: (depending on the reference, I guess)
[23:25] tilgovi has joined the channel
[23:25] andrew12: http://nodejs.org/docs/latest/api/all.html - wow
[23:25] TimTimTim: and i'm already loving it way more than any work i've done in other web-oriented languages
[23:25] jaitaiwan has joined the channel
[23:25] TooTallNate: CoverSlide: well you can't ddos google, lol
[23:25] TimTimTim: i've gotten into the habit of googling v0.6.6
[23:26] TimTimTim: or just leave the v0.6.6 all tab open
[23:26] smathy has joined the channel
[23:27] CoverSlide: it just seems that there's a huge volume of sites that refer to the 0.3.7 docs if google is indexing those higher
[23:27] kerigan: hm can't get map reduce to work, is there anything obvious wrong with this code: http://pastebin.com/JWjY5vMc ?
[23:27] fwg has joined the channel
[23:27] jbpros has joined the channel
[23:28] CoverSlide: kerigan: why isn't map returning anything?
[23:28] andrew12: so... what do you guys recommend for someone who wants to write a p2p protocol using node?
[23:29] kerigan: no seems to be empty result
[23:29] Hamms: map doesn't need to return anything
[23:29] andrew12: use underscore!
[23:29] CoverSlide: shouldn't it?
[23:30] CoverSlide: also, what is `emit`
[23:30] Hamms: emit is the function map needs to call
[23:31] Cogito_Ergo_Sum: guys ctrl-c doesn't seemt to work on linux for interrupting a node.js script
[23:31] Cogito_Ergo_Sum: what do i have to do
[23:31] Hamms: kerigan, the only thing that looks weird is calling findOne with {'_id':1}
[23:31] cmr: Cogito_Ergo_Sum: works here.
[23:31] kerigan: hm found that here: https://github.com/christkv/node-mongodb-native/blob/master/test/map_reduce_test.js
[23:31] kerigan: line 271
[23:32] Cogito_Ergo_Sum: cmr i'm from putty
[23:32] Hamms: kerigan, you'll notice he creates two objects on line 265
[23:32] cmr: Cogito_Ergo_Sum: I don't know what weird stuff, if any, putty does. Pretty sure they just bundle xterm.
[23:33] Hamms: kerigan, I'd change line 19 on your pastebin to collection.find({}, function(err, res){
[23:33] kerigan: oh ok
[23:34] Dmitrijus: andrew12: hm, what exactly do you want to write? :) i was very much eager to do some p2p stuff with node myself
[23:35] tedsuo has joined the channel
[23:35] andrew12: well before I actually made it do anything I wanted to be able to have a bunch of clients connect to each other to create a sort of mesh network, and whenever it has a message to send it sends it to every client it is connected to, and they send it to every client they're connected to until everyone has the message
[23:36] andrew12: of course you'd have to send a nonce, timestamp, and checksum with the messages too unless you trust the network (nonces will definitely be needed though so nothing gets received and emitted more than once)
[23:36] jlank has joined the channel
[23:37] Dmitrijus: andrew12: well, you can take a look at zeromq
[23:37] Dmitrijus: at least, for the transport :)
[23:38] andrew12: this looks interesting
[23:38] andrew12: ACTION watches a talk
[23:38] Dmitrijus: link? :)
[23:39] andrew12: http://vimeo.com/20605470
[23:39] andrew12: woooo another hour long tech talk
[23:39] cmr: It'
[23:39] cmr: It's a fast hour though (at least, it usually is for me)
[23:40] andrew12: yeah :P
[23:40] Dmitrijus: i kinda dislike watching tech videos
[23:41] Dmitrijus: i much prefer just to try it out myself istead! 
[23:41] andrew12: I love it, I just need a bigger screen so I can watch it and actually try the examples it has
[23:41] andrew12: damn laptops :p
[23:43] cjm has joined the channel
[23:43] kerigan: w00t works now
[23:43] kerigan: can i do a map reduce query overtime someone visits my site or will that destroy my database?
[23:43] kerigan: *everytime
[23:44] neilk_ has joined the channel
[23:45] JaKWaC has joined the channel
[23:46] aconbere has joined the channel
[23:47] bemson has joined the channel
[23:47] bemson: should one bother with setTimeout in node? and if so, should I not specify the "window" object or "this" when calling setTimeout?
[23:48] bemson: I usually pass "this" to my auto-executing closures, which I then reference as "window"… will that work in node?
[23:49] adrianF has joined the channel
[23:49] andrew12: node doesn't have a window
[23:50] fwg has joined the channel
[23:51] bemson: andrew12: I know that - I said that I pass "this" to my closures as an argument, and *call* it "window"
[23:51] tvw has joined the channel
[23:51] andrew12: then yeah that'll work
[23:51] andrew12: it should, at least
[23:51] bemson: I'm asking if "this.setTimeout" would work in node - when executed in the global scope
[23:51] strevat has joined the channel
[23:51] andrew12: you can just do setTimeout
[23:51] bemson: because node has special keywords - like "require" wherein "this.require" doesn't work
[23:52] bemson: andrew12: thx, that'll do
[23:52] andrew12: they're globals
[23:52] andrew12: global.require
[23:53] bemson: andrew12: so there is a "global" object containing require, etc?
[23:53] andrew12: yes.
[23:53] chjj: require is not a global
[23:53] andrew12: chjj: according to my node it is.
[23:54] andrew12: type 'global.require' in node, there it is
[23:54] chjj: andrew12: something is broken with your node then
[23:54] andrew12: chjj: uh...
[23:54] chjj: read lib/module.js - require is not a global
[23:54] chjj: it cant be, because its relative to each module
[23:55] andrew12: hmm
[23:55] cmr: Dmitrijus: I agree! I feel the same way about books and tutorials. I like node-tap, isaacs give a descriptive example file showing off tap that you can play with.
[23:55] flip_digits has joined the channel
[23:55] chjj: andrew12: https://github.com/joyent/node/blob/master/src/node.js#L531
[23:55] chjj: see that wrapper?
[23:55] cmr: There are a few good talks though. There was an amusing one by knuth that I liked.
[23:55] andrew12: ah
[23:56] chjj: require is no more a global than "exports" and "module"
[23:56] andrew12: maybe it just puts it in global too or something? heh
[23:56] chjj: node -e "console.log(global.require)"
[23:56] chjj: "undefined"
[23:57] andrew12: ah
[23:57] andrew12: in the REPL it isn't undefined
[23:57] andrew12: probably because the REPL can't have that wrapper
[23:58] chjj: dont trust the repl, its a completely different environment
[23:58] wilmoore has joined the channel
[23:58] andrew12: that wrapper explains how the magic __dirname and __filename work though :P
[23:58] chjj: every module is just a wrapped function
[23:58] Dmitrijus: cmr: glad to hear :) i will check out the node tap :)