[00:00] paul_k has joined the channel [00:04] rfay has joined the channel [00:05] leandrosansilva_ has joined the channel [00:05] materialdesigner has joined the channel [00:06] maqr has joined the channel [00:09] ezl has joined the channel [00:12] duckxx has joined the channel [00:13] eyesUnclouded has joined the channel [00:13] duckxx: im trying to install the express module for nodejs and im getting this error: Not compatible with your version of node/npm: hamljs@0.5.1 [00:14] kohai: @micky2be: An other week working with Node.js and HTML5 (^_^) [00:14] duckxx: im still a newbie at this... but i guess i got quite far... im just surprised how other ppl installed this thing.. its seems very very complicated especiallly if u run into problems like this... [00:15] jacobolus has joined the channel [00:16] duckxx: its asking me for node v 4 but i did a git clone node.git .. and it automatically downloads that v.5.. so im not sure what to do since express is only compatible with .4 [00:17] temp01 has joined the channel [00:18] jgautier has joined the channel [00:18] nornagon_ has joined the channel [00:18] mscdex: duckxx: install node 0.4.8 [00:19] mscdex: duckxx: git checkout 0.4.8 && ./configure && make && make install [00:20] dyer_away has joined the channel [00:23] tilgovi has joined the channel [00:24] duckxx: so do i uninstall my nodejs ? [00:24] duckxx: i got the node/ folder and just type 'make uninstall' ? [00:24] dgathright has joined the channel [00:24] duckxx: im so confused [00:25] kriszyp has joined the channel [00:26] JoshC has joined the channel [00:26] duckxx: right now the command im using to get nodejs is this: mkdir -p ~/local/src && cd ~/local/src && git clone git://github .com/joyent/node.git && cd node && ./configure && make && sudo m ake install [00:27] kohai: @mathemagie: Visualization: Gauge http://bit.ly/m5vrlR + arduino + node.js + data + realtime :) [00:27] duckxx: so what do i do for the new git command: .... git clone git://github.com/joyent/node.git ??? [00:27] duckxx: where do i put the version number ? [00:27] tbranyen: its a tag [00:27] tbranyen: why don't you just use the download link thats provided? [00:28] tbranyen: git is great if you want to contribute [00:28] tbranyen: i don't know why you would use it otherwise [00:28] sub_pop has joined the channel [00:28] duckxx: so its going to be ' git clone git://github.com/joyent/node.git 0.4.8 ' ? [00:29] duckxx: im just following the instructions from the readme file [00:29] RevoOf has left the channel [00:29] Tobsn: hmm whats the best memcache client right now? [00:29] tbranyen: duckxx: save yourself trouble and just grab the download tarball and work wit hthat [00:29] tbranyen: http://nodejs.org/dist/node-v0.4.8.tar.gz [00:30] duckxx: oic ok [00:30] duckxx: got it [00:30] duckxx: so do i still uninstall the one i just installed ? [00:30] duckxx: or just overwrite tat with the .4.8 version [00:30] tbranyen: overwrite it [00:31] kohai: @nlpbot: Blogged: "natural", natural language processing library for #nodejs http://bit.ly/iAPrbt http://is.gd/pMBjWH [00:31] duckxx: ok [00:31] duckxx: where do you guys learn to do all this stuff ? [00:31] draginx has joined the channel [00:31] duckxx: i feel like im so lost at time [00:31] duckxx: s [00:31] duckxx: its not like u can really just google for this stuff [00:31] draginx has left the channel [00:32] tbranyen: nodejs.org [00:32] tilgovi: never leave this channel :) [00:32] tbranyen: has the download link [00:32] reissbaker has joined the channel [00:32] duckxx: yea but i feel like alot of this stuff just goes over my head .. well some of it.. or is it just the fact that you guys have been doing back end for awhile.. cuz im mostly frontend side [00:33] kohai: @__fury: Twitter: How To Use OAuth and Twitter in your Node.js / ExpressJS App ...: http://bit.ly/mQRDNk [00:35] tbranyen: duckxx: you're just asking about linux/opensource stuff [00:35] tbranyen: building a project as trivial as node is fairly rudimentary [00:35] tbranyen: compared to other projects out there that are poorly documented [00:35] tbranyen: and have crappy build processes [00:36] duckxx: ic [00:36] tbranyen: just stick with it, it'll get easier [00:36] duckxx: umm im afraid of overwriting the node directory [00:37] tbranyen: why? what are you going to do with the old version [00:37] duckxx: with the thing i just unzipped [00:37] baudehlo has joined the channel [00:38] duckxx: how do i unzip it into that directory ? tar -xvf node-v4.8.gz ? [00:38] ryanseddon has joined the channel [00:38] duckxx: i mean i have it unziped [00:38] rictic has joined the channel [00:38] duckxx: so i guess i just do a: mv node-v4.8/ node/ ? [00:39] duckxx: i guess im still not too versed in the linux command line yet [00:39] abraham has joined the channel [00:46] mscdex: duckxx: unpack the tarball and then change to the created directory and do: ./configure && make && make install [00:46] jakehow has joined the channel [00:46] Tobsn: mscdex, node memcache recommendations? [00:47] mscdex: never used memcache, sorry [00:48] kohai: @heronmedeiros: Finalmente achei uma utilidade pro #NodeJs com meu amigo @leocaminha [00:48] tilgovi: anyone up on their v8/extension coding? [00:49] neoesque has joined the channel [00:50] eyesUnclouded has joined the channel [00:51] ewdafa has joined the channel [00:52] F1LT3R has joined the channel [00:53] mscdex: tilgovi: problem? [00:53] strmpnk has joined the channel [00:54] tilgovi: mscdex: I'm just wondering whether or not I need a HandleScope. [00:55] astropirate has joined the channel [00:55] tilgovi: sec... lemme link you to the source [00:55] tilgovi: mscdex: https://github.com/creationix/node-leveldb/blob/master/src/helpers.cc#L74 [00:56] tilgovi: my understanding (which is minimal), is that the use of HandleScope here is not quite right [00:56] tilgovi: lines 82 and 87 don't need it, because it can inherit one, since our argument is a Handle<> [00:56] tilgovi: but lines 74 and 78 should declare a HandleScope, because they're about to pass a Handle<> to a function [00:57] vyvea has joined the channel [00:57] dnolen has joined the channel [00:57] tbranyen: tilgovi: my understanding of handlescope is that it creates the scope to bind any local objects created in a function scope [00:57] maqr has joined the channel [00:57] tilgovi: then at line 92 I should probably add a HandleScope... yes? [00:57] tbranyen: and a scope.Close too yea [00:58] tbranyen: since you're creating local objects there [00:58] vyvea: Hello, maybe is this http://laktek.com/2010/05/04/implementing-web-socket-servers-with-node-js/ example in node v0.4.8? [00:58] tilgovi: do you have to explicitly scope.Close or will a HandleScope on the stack get cleaned up nicely for me? [00:59] kohai: @javascriptalert: Creating a basic site with node.js and Express | Shape Shed: http://bit.ly/iAS9ui [01:01] ParadoxQuine: @kohai nice article! [01:04] avalanche123 has joined the channel [01:04] abraxas has joined the channel [01:05] a2800276 has joined the channel [01:07] mike5w3c has joined the channel [01:07] tbranyen: tilgovi: i've always been told it needs to be explicit, however i never noticed a difference leaving it out [01:07] tbranyen: i've moved to always using it tho [01:07] tilgovi: tbranyen: thanks for your input. I'll do a lil more reading and let you know if I come across anything interesting. [01:08] tbranyen: cool thanks [01:08] tilgovi: tbranyen: if you check out this article, in the HandleScope section, I think that seems like an accurate summary to me: http://www.homepluspower.info/2010/06/v8-javascript-engine-tutorial-part-1.html [01:09] tilgovi: reading the V8 documentation on the HandleScope class those rules make total sense [01:09] tbranyen: woah dude awesome link [01:09] Navarr has joined the channel [01:09] tbranyen: haha never came across that [01:09] alek_br_ has joined the channel [01:10] tilgovi: If you receive a Local<> as an argument there must be a HandleScope already, so you don't need to make your own (unless you want to or you have reason to believe the outer HandleScope is longer lived than you need) [01:10] duckxx: is it ok if this comes up when i do a ./configure : Checking for header port.h : not found [01:10] duckxx: Checking for header sys/event.h : not found [01:10] duckxx: Checking for sync_file_range(2) : no [01:10] tilgovi: duckxx: nothing is a problem unless configure stops prematurely. [01:10] duckxx: o ok [01:10] duckxx: so i dont need those things ? [01:10] tilgovi: you should expect it to not find some things... it's checking what you have or don't have so it can choose the right alternative [01:10] indexzero has joined the channel [01:10] tilgovi: configure will tell you if something is fatal [01:11] duckxx: o ok [01:11] duckxx: good to know [01:11] duckxx: u get a gold star from me tonight tilgovi .. =) [01:11] tilgovi: yesssss [01:11] kohai: @vldid: Exciting to see #nodejs plugin v0.1 from JetBrains in the list of @intellijidea available plugins. http://t.co/iUHt1X3 [01:11] tbranyen: get a gold star from me too for finding that link [01:11] tbranyen: so hard to find v8 information [01:11] tbranyen: that isn't written like shit [01:12] tbranyen: also tilgovi you should check out samcdays article on buffers [01:12] zxcasd__ has joined the channel [01:12] duckxx: yea its very bad documentation [01:12] tilgovi: tbranyen: link? [01:12] tbranyen: http://sambro.is-super-awesome.com/2011/03/03/creating-a-proper-buffer-in-a-node-c-addon/ [01:12] tilgovi: thanks. [01:12] tbranyen: np [01:12] Marak has joined the channel [01:13] zxcasd__: hey all, ive got a problem with node+npm+cygwin [01:13] zxcasd__: can anyone help plz? [01:15] zxcasd__: especially with the upgrade of npm from 0.x to 1.0 version... [01:15] zxcasd__: on installing packages, i keep getting the following error: [01:15] zxcasd__: npm ERR! Error: EACCES, Permission denied [01:16] zxcasd__: even though i have used: npm config set unsafe-perm true [01:16] zxcasd__: anyone has had a similar issue? [01:17] tshpaper has joined the channel [01:18] arpegius has joined the channel [01:18] aphelion has joined the channel [01:18] aphelion has joined the channel [01:19] duckxx: where do i put node_modules folder ? [01:19] duckxx: when i run my script .. it says socket.io not found [01:19] zxcasd__: depends how you installed the module [01:19] duckxx: but i know installed it as i see node_modules in the node/ folder [01:20] duckxx: i just typed npm install socket.io [01:20] zxcasd__: use: install -g , to install it globally [01:20] duckxx: it just makes a folder where i am [01:20] duckxx: o ok [01:20] duckxx: what folder should i be in when i do that ? [01:20] duckxx: node folder ? [01:20] zxcasd__: try: npm root -g [01:21] zxcasd__: it will print the location it will be installed [01:21] zxcasd__: and: npm bin -g, for the binaries [01:21] ditesh|cassini has joined the channel [01:22] kohai: @maraksquires: @Jxck_ It's not tracking you. http://bit.ly/loW1ei It tracks node.js. We've got auto-translate coming today. [01:22] saschagehlich has joined the channel [01:22] duckxx: i still get this: Error: Cannot find module 'socket.io' [01:22] duckxx: i did a npm install socket.io express -g [01:23] duckxx: and it shows its installed in: /usr/local/lib/node_modules [01:23] zxcasd__: @duckxx: try this command: npm install -g --loglevel verbose socket.io [01:24] neorab has joined the channel [01:24] pluginbaby has left the channel [01:25] duckxx: ok tat seem like it worked [01:25] Emmanuel has joined the channel [01:26] zxcasd__: in future installs, you can omit the verbose output.. [01:26] duckxx: Error: Cannot find module 'socket.io' [01:26] duckxx: still getting tat [01:26] duckxx: im running this on the drupal module [01:26] duckxx: node server.js [01:26] duckxx: what could be the reason why it cannot find the module [01:26] duckxx: ? [01:27] zxcasd__: maybe you have a problem with ur connection?? [01:27] duckxx: wat u mean what connection ? [01:28] zxcasd__: to clarify, is it saying that when you try to install the module, or when you're importing it in node? [01:28] zxcasd__: import/require [01:29] duckxx: ok i see it now [01:29] duckxx: seems like i have to configure the settings file [01:29] duckxx: i have to make a key and activate the port and stuff ? [01:30] zxcasd__: im not sure what key/port you are referring to? [01:31] alek_br has joined the channel [01:31] ji0n has joined the channel [01:32] kohai: @nobu666: node.js アプリの負荷分散構成を考える - KrdLabの不定期日記 http://d.hatena.ne.jp/KrdLab/20110521/1305909670 [01:32] brettgou_ has joined the channel [01:34] wjwoodward has joined the channel [01:34] zxcasd__ has left the channel [01:35] azeroth___ has joined the channel [01:36] skm has joined the channel [01:37] brettgoulder has joined the channel [01:38] skm has joined the channel [01:40] sub_pop has joined the channel [01:40] skm has joined the channel [01:41] roar has joined the channel [01:42] fakewaffle has joined the channel [01:42] ezl has joined the channel [01:42] skm has joined the channel [01:44] skm has joined the channel [01:44] kohai: @sng2c: node.js 후암...어느새... [01:45] Marak: !insult kohai: [01:45] kohai: I am Kohai, semi-useful communications-facilitating pseudointelligence! [01:45] kohai: kohai: is a wombat-loving heifer-puncher! [01:47] DTrejo has joined the channel [01:49] mykul has joined the channel [01:49] bergie has joined the channel [01:51] timmywil has joined the channel [01:51] eyesUnclouded has joined the channel [01:53] newy_ has joined the channel [01:56] kawaz_air has joined the channel [01:56] k1ttty has joined the channel [02:01] bergie has joined the channel [02:02] CarterA has joined the channel [02:02] kohai: @pedroh96: Minha solução de deployment de Node.js vai ficar K.I.S.S. [02:02] jacter has joined the channel [02:04] polotek has joined the channel [02:05] sub_pop has joined the channel [02:06] aconbere has joined the channel [02:07] darshanshankar has joined the channel [02:08] Bradleymeck has joined the channel [02:08] wjwoodward: I [02:09] wjwoodward: Can anyone give me some pointers on setting up a webserver on the Joyent no.de developer program to server static html, css and js? [02:09] arpegius has joined the channel [02:11] qcom has joined the channel [02:12] Corren has joined the channel [02:13] zeedre: Hi Guys, I've finally got my node socket item running(thanks to a fair amount of help from here - tks!) Anybody want to give me some feedback? itestcars.com. [02:13] eyesUnclouded has joined the channel [02:14] brettgou_ has joined the channel [02:14] DTrejo: wjwoodward: take a look at github.com/cloudhead/node-static [02:14] zeedre: I suddenly notice that my post looks like spam. sigh. not spam. [02:15] DTrejo: zeedre: I like this format [02:16] Adman65 has joined the channel [02:16] DTrejo: zeedre: you might look into using something like sammy.js so that the whole page doesn not need to be reloaded, just the middle part [02:16] kawaz_air has joined the channel [02:16] zeedre: its fun. I just realized once I got it running that its actually useful if I have traffic. No traffic, you might not even notice. [02:16] zeedre: and I don't get much traffic on it. Dooh. [02:16] kohai: @goatslacker: Ok I settled on a name...I'm calling it nodeFighter https://github.com/goatslacker/nodeFighter #nodeJS [02:17] zeedre: DTrejo, that's the whole page is a javascript app? Yup. Something to think about. [02:18] DTrejo: will make it speedier, for those with slow connections, though maybe not a problem [02:18] zeedre: It is lighting quick with those systems but I think you loose too much with seo. [02:18] wjwoodward: DTrejo: you recommend this instead of Express? [02:19] DTrejo: wjwoodward: simpler, if thats all you need [02:19] DTrejo: I use it for my static sites [02:19] caolanm has joined the channel [02:20] heavysixer has joined the channel [02:21] dnunes has joined the channel [02:21] wjwoodward: DTrejo: I am a newbie to setting up servers as you can tell. I had been looking at nginx as a replacement to apache but am now looking at node.js. I get the impression that is performs better from what I have read. Am I on the right track? [02:21] zeedre: you use sammy.js for your static sites or express for your static sites? guessing express but curious to be surprised. [02:21] sondd1n6 has joined the channel [02:22] zentoooo has joined the channel [02:23] ewdafa has joined the channel [02:23] sondd1n6: Hi [02:23] DTrejo: oh, I was saying I use node-static for static sites [02:24] DTrejo: wjwoodward: well, if you want the best static file serving, nginx is still better [02:24] DTrejo: wjwoodward: I use node-static b/c it's easier for me to figure out how to use [02:25] kohai: @donpark: node.js 0.4.8 is out. this version should significantly reduces per-connection SSL overhead down to acceptable level. haven't confirmed yet [02:25] DTrejo: zeedre: I ment I use node-static for static sites, and you could just use sammy static sites, there's no server-side component required (could use local storage etc if you wanted, and server only serves the html file) [02:25] DTrejo: anyway [02:26] sondd1n6: Could anybody check multicast? [02:26] sondd1n6: I am sending message at 225.0.0.50:2000 [02:26] JohnnyL has joined the channel [02:27] kohai: @oldmantone: Kids are finally asleep after long, looong weekend. Time to do some light reading. Morningstar financial analysis or node.js ebook? [02:28] wjwoodward: DTrejo: Thanks for your help. [02:28] dnunes: Does anyone knows something about networking stuff in windows? [02:28] DTrejo: np :) [02:28] DTrejo: kohai: help [02:28] kohai: I am Kohai, semi-useful communications-facilitating pseudointelligence! [02:28] JohnnyL: kohai, who wrote you? [02:29] JohnnyL: kohai: who wrote you? [02:29] kohai: I am Kohai, semi-useful communications-facilitating pseudointelligence! [02:29] dyer_away has joined the channel [02:29] dnunes: semi-useful, indeed. [02:29] chapel: JohnnyL: a few people [02:29] chapel: `v git kohai [02:29] v8bot: chapel: Marak/kohai - GitHub - https://github.com/Marak/kohai [02:29] chapel: thats not right [02:29] bshumate has joined the channel [02:29] chapel: `v git nodejitsu kohai @ JohnnyL [02:29] v8bot: JohnnyL: nodejitsu/kohai - GitHub - https://github.com/nodejitsu/kohai [02:30] zeedre: I wonder if I can train kohai to make it look like my site is busy. [02:30] copongcopong has joined the channel [02:30] DTrejo: avianflu [02:31] DTrejo: https://github.com/nodejitsu/kohai [02:32] sondd1n6: Could anybody check multicast? [02:32] sondd1n6: I am sending message at 225.0.0.50:2000 [02:32] sondd1n6: https://gist.github.com/986125 [02:32] shimondoodkin has joined the channel [02:32] DTrejo: !tweet @oldmantone #node.js IRC welcomes you! http://bit.ly/nodeIRC [02:32] kohai: @NodeKohai: @oldmantone #node.js IRC welcomes you! http://bit.ly/nodeIRC [02:33] kmiyashiro has joined the channel [02:34] jmoyers has joined the channel [02:35] jakehow has joined the channel [02:35] MGT has joined the channel [02:36] kohai: @ASOBrasil: Studying node.js => http://nodebeginner.org/ and http://peepcode.com/products/nodejs-i [02:37] pauls: i'm getting this from mongoose: TypeError: Object # has no method 'buildDoc' [02:37] pauls: New project. Any idea what's up with that? [02:38] jmoyers: code? [02:38] galaxywatcher has joined the channel [02:39] DTrejo: hi jmoyers [02:39] jmoyers: yo [02:39] DTrejo: we met yesterday right? [02:39] jmoyers: yurp [02:39] jmoyers: i left before beertownusa started though [02:39] jmoyers: presumably [02:39] zentoooo has joined the channel [02:40] DTrejo: :) [02:41] admc has joined the channel [02:41] sondd1n6: Could anybody send message using multicast (225.0.0.50:2000) with TTL 255 :) [02:41] sondd1n6: https://gist.github.com/986125 [02:42] ExsysTech has joined the channel [02:42] Aria: Yes. But I doubt VISP relays. [02:43] kohai: @1Marc: Getting 1500+ HTTP requests back reliably with Node.JS turns out to be rather difficult...async is fast, but you gotta juggle them errors. [02:43] segaway has joined the channel [02:44] fakewaffle has joined the channel [02:48] zeade has joined the channel [02:48] Guest75743 has joined the channel [02:48] JohnnyL: why doesn't node.js support multicore? [02:48] DTrejo: !tweet @1Marc the error handling section of this article might help you http://bit.ly/jYlAHz also, #node.js IRC welcomes you! http://bit.ly/nodeIRC [02:48] kohai: @NodeKohai: @1Marc the error handling section of this article might help you http://bit.ly/jYlAHz also, #node.js IRC welcomes you! http://bit.ly/nodeIRC [02:49] jmoyers: JohnnyL: various modules do multicore through multiprocess [02:49] jmoyers: https://github.com/learnboost/cluster - for instance [02:50] brianseeders has joined the channel [02:51] pauls: jmoyers: it was my code of course. thanks :) [02:52] skm has joined the channel [02:53] JohnnyL: jmoyers: k thanks [02:54] jmoyers: so [02:54] newy_ has joined the channel [02:54] jmoyers: does kohai just pick up random node shit on twitter? [02:55] jmoyers: suppose i could go look at the source [02:56] jmoyers: ah indeed [02:56] jmoyers: config.plugins.twitter.track [02:56] jmoyers: thats nifty [02:56] newy has joined the channel [02:58] e6nian has joined the channel [02:58] Murugaratham has joined the channel [02:58] hxcobd has joined the channel [02:58] chapel: I added translation, just waiting on the pull request to be accepted [02:58] nodelog has joined the channel [03:00] whoahbot has joined the channel [03:00] rubydiamond has joined the channel [03:01] dipser_ has joined the channel [03:01] DTrejo: !help [03:01] DTrejo: I see it there in the issues, hehe [03:05] sondd1n6: !help [03:05] piscisaureus has joined the channel [03:07] quackslike has joined the channel [03:08] Charuru has joined the channel [03:12] dnunes has left the channel [03:12] Wa has joined the channel [03:13] dnolen has joined the channel [03:18] xsyn has joined the channel [03:18] _1marc has joined the channel [03:19] gavin_huang has joined the channel [03:20] Marak has joined the channel [03:20] meso has joined the channel [03:23] hxcobd has left the channel [03:24] Corren has joined the channel [03:24] Lorentz has joined the channel [03:25] ryah has joined the channel [03:27] JackeyChan has joined the channel [03:27] kohai: @Jxck_: キャッシュ主体のアプリケーション - サーバを画面生成所にしてしまうと難しいのがキャッシュだと感じる。 完成した画面を丸まるキャッシュ出来ればいいけど、画面は変わるのでそうは行かない。... http://tumblr.com/xf12n7e4do [03:28] Bradleymeck_ has joined the channel [03:29] JackeyChan: kohai: Japan? [03:29] kohai: I am Kohai, semi-useful communications-facilitating pseudointelligence! [03:29] kohai: @theprogrammer: My answer on Quora to: Why should I use node.js? http://qr.ae/QXsO [03:31] brettgoulder has joined the channel [03:32] patcito has joined the channel [03:35] MGT has joined the channel [03:36] saschagehlich has joined the channel [03:37] cloudhea1_ has joined the channel [03:38] cloudhea1 has joined the channel [03:38] cryptix has left the channel [03:42] beriberikix_ has joined the channel [03:45] JoshC has joined the channel [03:46] kmiyashiro has joined the channel [03:46] jacter has joined the channel [03:49] Viriix has joined the channel [03:49] jaket has joined the channel [03:53] brianc has joined the channel [03:56] JackeyChan has joined the channel [03:56] hackeron has joined the channel [03:57] patrickarlt has joined the channel [03:59] Marak has joined the channel [04:00] JohnnyL: can someone tell me if there is an interpreter that maintains states on server side js proggies? [04:00] mikeric has joined the channel [04:00] Aria: Pardon? What states? [04:01] mikeric: what is the simplest way to write 'hello\n' every n seconds? (in the browser). [04:01] mikeric: it seems that using setTimeout works fine when using curl, but the browser will halt for this. [04:01] JohnnyL: Aria: states such as user variables/closures, etc. [04:01] Aria: JohnnyL: I don't think this is a property of an interpreter exactly... [04:02] Aria: But node doesn't do continuations or anything weird, so local variables are probably not going to be around between requests. [04:03] brownies- has joined the channel [04:03] mykul|Home has joined the channel [04:04] JohnnyL: Aria: ok [04:04] pauls: is there an example of file uploads through now.js? i'd like to see if i can avoid writing ajax [04:04] pauls: e.g. using socket.io? [04:04] SubStack: pauls: for progress bars? [04:05] SubStack: pauls: here's one in dnode https://github.com/tanepiper/dnode-upload-example [04:05] Murugaratham has joined the channel [04:05] unomi has joined the channel [04:05] newy has joined the channel [04:06] pauls: just wondering... is there a way to avoid going through connect in order to transfer a file? e.g. through a function call [04:06] tonymilne has joined the channel [04:06] pauls: s/connect/streaming/express/, etc. [04:06] sourcode has joined the channel [04:07] brownies has joined the channel [04:08] darshanshankar: pauls: there isn't an example with progress bars, but you can serve up files using nowjs + connect/express [04:09] hassox has joined the channel [04:11] tikva has joined the channel [04:11] pauls: darshanshankar: I have a file upload from client - guess I'll use jquery or something to handle the upload with connect? [04:11] pauls: and then when it's complete I can use now.js to update the client [04:11] tilgovi has joined the channel [04:11] tilgovi has joined the channel [04:11] chapel: or you can use dnode [04:11] chapel: :) [04:12] darshanshankar: pauls: that works! [04:12] pauls: chapel: any benefits to dnode or examples of such a transfer? [04:12] chapel: check SubStack's link [04:13] chapel: and dnode is useful for more than just connecting to the browser [04:13] darshanshankar: pauls: the way i do it right now is client makes a request, i display a loading.gif, and when content is loaded i replace the loading.gif with content [04:14] SubStack: percentages are nice too [04:14] SubStack: shouldn't be hard to do in either dnode or now [04:14] pauls: thx guys. chapel substack: I didn't realize what that was at first [04:19] hassox has joined the channel [04:19] kohai: @TheRealRyanCruz: new version of node.js (http://t.co/OYhZ5CH) #in [04:19] caolanm: anyone know how to stop jQuery from sending */* for the Accept header on ajax requests? [04:20] kohai: @xga: JS Conf 2011の発表スライド。 / @mattpodwysocki #jsconf slides — Gist http://htn.to/EAb6KG [04:22] Corren has joined the channel [04:22] brettgoulder has joined the channel [04:23] kohai: @nikolay: Rails 3.1 has some amazing new features! Being focused primarily on PHP and Node.js last months made those news pass by me unnoticed. [04:25] Murugaratham: caolanm: go ask @ #jQuery? [04:27] caolanm: Murugaratham: I'll try my luck... [04:28] mscdex: anyone know the status of nodeconf videos? :) [04:28] fairwinds has joined the channel [04:30] fairwinds has joined the channel [04:31] truedat101 has joined the channel [04:32] eyesUnclouded has joined the channel [04:33] duckx has joined the channel [04:35] boehm has joined the channel [04:36] chapel: caolanm: all I could find http://stackoverflow.com/questions/1145588/cannot-properly-set-the-accept-http-header-with-jquery [04:38] hassox has joined the channel [04:39] sechrist has joined the channel [04:40] AAA_awright_ has joined the channel [04:40] newobj has joined the channel [04:41] sechrist: Has anybody taken the nodejs debuggable logs and like done anything cool with them? [04:41] sechrist: graphs, numbers, etc [04:41] newobj: what are the best bets for node.js web server right now? express and … ? [04:41] materialdesigner: bets? [04:41] chjj: express and? [04:42] newobj: yes, as in, i know about express, what else do people recommend? [04:42] materialdesigner: Has anyone ever heard of a node module that makes it easier to write callbacks? I remember seeing it a while back, but can't seem to remember what it was called. [04:42] chjj: depends on what you want to do [04:42] cloudhead_ has joined the channel [04:42] materialdesigner: or not easier to write, but easier to read? [04:43] gkatsev: there are stuff like streamline.js [04:43] mscdex: materialdesigner: async, Step, node-seq? [04:43] newobj: this is more focused on providing an api, with authenticated users, rather than serving up an html heavy website [04:43] chjj: materialdesigner: thats a pretty vague description, theres about 100 different control flow tools [04:43] gkatsev: Why not just make it a named function and then put that name in rather than placing the function inside and have sphagetti code [04:43] mscdex: materialdesigner: https://github.com/joyent/node/wiki/modules#async-flow [04:43] AAA_awright has joined the channel [04:44] darshanshankar has joined the channel [04:44] cloudhead has joined the channel [04:44] materialdesigner: gkatsev, that is what I am planning on doing [04:44] JackeyChan has joined the channel [04:44] materialdesigner: I just remember seeing a module and was wondering to read more about it [04:45] materialdesigner: I don't necessarily want to implement it [04:45] wjwoodward: newobj: I was recommended to use node-static, https://github.com/cloudhead/node-static [04:45] wjwoodward: said to be easier than express [04:45] brettgou_ has joined the channel [04:46] duckxx: i am soooo lost on updating this configuration file to get nodejs working. so far i got v4.8 nodejs installed with the 2 modules i need: express and socket.io.... now comes the problem with installing this and configuring drupal to run it.. right now i just created the nodejs.config.js file... and in there i have this: (screenshot) http://prntscr.com/1x7d3 -- im not sure where i get the settings information from.. any help would [04:46] nodjsmap has joined the channel [04:46] superjudge has joined the channel [04:47] mscdex: duckxx: what is that settings file for? [04:47] gkatsev: wjwoodward: node-static and express do different things. [04:47] chjj: drupal? [04:47] duckxx: for drupal and nodejs integration [04:47] duckxx: yes [04:47] duckxx: i hit a wall [04:48] duckxx: and not sure what to do now.. i got so far.. i spent like 4 hours to get to this point [04:48] mscdex: i don't understand why there needs to be "settings" for integration [04:48] mscdex: isn't there some http auth api for drupal? [04:48] wjwoodward: gkatsev: what is the difference. I am personally looking to server html, css and js of a Joyent no.de machine [04:48] newobj has left the channel [04:49] chjj: wjwoodward: node-static is a static file server, express is a framework [04:49] duckxx: yea in the readme file it just says to run the command ' node server.js ' [04:49] duckxx: but it wont work since the configure settings are working im guessing [04:49] mscdex: it seems like there should be some drupal module that gives you a rest api [04:49] gkatsev: wjwoodward: node-static is for serving static files like html, css and js. Express is a middleware and router and other thinsg [04:49] mscdex: that'd be the easiest route i'd think [04:50] scoates: chjj: any chance you're around? [04:50] chjj: yeah [04:50] scoates: hey. I'm working with node-tiny. Is _key supposed to be populated on the result of a .find() ? [04:50] scoates: (I'm getting _key: null) [04:50] context: drupal is kind of enterprisey [04:51] chjj: scoates: hmm, its null, not undefined? [04:51] duckxx: im getting this error when i run this command: 'node server.js' screenshot of error: http://prntscr.com/1x7e6 [04:51] wjwoodward: thanks chjj and gkatsev. as you can probably tell i'm new to node and servers in general, should I be looking at node-static or nginx to replace apache? [04:51] context: duckxx: did you read the error [04:51] context: duckxx: whats line 14 of server.js [04:51] duckxx: o duh [04:51] scoates: chjj: oh.. I wonder if my key generator is accidentally generating null. Let me verify that first (and if so, I apologize for the noise) [04:51] duckxx: cant find socket.io [04:51] duckxx: oh tat was the real problem actually it doesnt see tat add on [04:52] context: duckxx: its generally a good idea to 'READ' stuff before copying and pasting it to dozens of people. that could have been your love confession for your neighbors husband [04:53] chjj: scoates: that really shouldnt be happening, are you using the latest commit? [04:53] scoates: chjj: let me make sure the problem isn't on my side (it probably is, now that I've thought about it some more) [04:53] duckxx: how do i find where the node modules are installed ? [04:54] context: duckxx: if you are using npm >= 1.0 they get installed to node_modules in the root of your project [04:54] nodjsmap: Looking for node.js developer to build a script that takes a sitemap and then uses a excisting api to post results to it from the sitemap, any takes. [04:54] avalanche123 has joined the channel [04:55] materialdesigner: duckxx: try doing an $ npm ls [04:56] jacobolus has joined the channel [04:56] zeade1 has joined the channel [04:56] bene has joined the channel [04:56] materialdesigner: or if it's also a command line utility, you can try doing $ which yourmodulenamehere [04:56] duckxx: ok i found it.. its in /usr/local/lib/node_modules [04:57] context: no. you didn't. [04:57] chjj: scoates: one way it might end up equal to null, is if you accidentally put some non-scalar/string value into `.set` [04:57] chjj: as the key [04:57] scoates: ACTION nods [04:58] nodjsmap: Looking for node.js developer to build a script that takes a sitemap and then uses a excisting api to post results to it from the sitemap, any takes.?? Msg me if interested [04:58] Fenda has joined the channel [04:58] Zarathust has joined the channel [04:58] context: nodjsmap: you said that 4 minutes ago [04:59] context: was the outcome any different > [04:59] context: ? [04:59] nodjsmap: context: not yet [04:59] duckxx: after i do a 'node install socket.io -g' i have to go into that folder and do a make install? [04:59] indexzero has joined the channel [04:59] context: who said anything about make ? [05:00] context: and do you know what -g does? was their a reason you used -g ? [05:00] duckxx: or install i mean [05:00] materialdesigner: no. in your server.js, you just need to add 'var socket = require("socket.io")' [05:00] duckxx: not make [05:00] context: or did you just do it for the hell of it [05:00] materialdesigner: to include the module [05:00] duckxx: someone told me to do a -g [05:00] duckxx: for global [05:00] duckxx: cuz i was running into errors [05:00] context: do you know what that means ? [05:01] febits has joined the channel [05:01] Fenda: http://pastebin.com/bTw8gTdr anyone know why my upstart script for my nodejs app won't work on startup? works fine with 'start app-name' from cmdline.. [05:01] Fenda: i used this nodejs/upstart guide: http://kevin.vanzonneveld.net/techblog/article/run_nodejs_as_a_service_on_ubuntu_karmic/ [05:01] duckxx: it installs it where any nodejs app can make use of the module ? [05:01] context: duckxx: npm install socket.io in the root of your project [05:01] sreeix has joined the channel [05:01] context: duckxx: wrong. [05:01] scoates: chjj: I'm using the version from npm. It seems a couple strange things are happening. First, I can't successfully find() right after a set() -- is this expected? (if I kill the process and restart it, the find() works, but it gives me _key: null (this is the 2nd strange thing)) [05:01] context: npm 1.0 DOES NOT work like pre 1.0 [05:02] duckxx: ok so should i uninstall it ? with the -g option ? use the command ' npm uninstall socket.io -g ' ? [05:02] mscdex: Fenda: not sure, but here's what i generally use: https://gist.github.com/753111 [05:02] context: duckxx: if you want to ? [05:02] duckxx: and then i goto my modules/nodejs folder and use the command ' npm install socket.io ' ? [05:02] context: i install stuff with -g so i can use link with them later. [05:03] duckxx: yea tat is what i did [05:03] context: i have no clue what modules/nodejs is [05:03] duckxx: i sym linked it [05:03] Fenda: mscdex: thanks. is that your app.conf in /etc/init ? [05:03] scoates: chjj: ignore the 2nd problem. I was stupidly passing my.uniqueId instead of my.uniqueId() [05:03] context: i said the root of your project. [05:03] mscdex: Fenda: yeah [05:03] context: duckxx: npm -v [05:03] Fenda: mscdex: im new to upstart but the .conf by itself would be fine right? don't need to touch init.d or anything? [05:04] mscdex: Fenda: correct, just drop the .conf in /etc/init [05:04] chjj: scoates: hmmm, let me see if i can reproduce it, for now i recommend using `.fetch`, ive been suspecting lately that the mongo style queries are kind of fragile [05:04] Fenda: mscdex: thanks. the name of conf must match the .js file name? [05:04] mscdex: no [05:04] context: here and i was gonna watch a movie before passing out [05:05] duckxx: root of my project.. wat im taking it as .. is the directory i and running the 'server.js' file from... which is located in /home/xxx/modules/nodejs [05:05] scoates: chjj: oh, sure. I'll try that. [05:05] context: duckxx: whats `npm -v` respond with ? [05:05] eksmith has joined the channel [05:05] duckxx: 1.0.6 [05:05] context: duckxx: cd ~/modules/nodejs ; npm install socket.io [05:05] chjj: scoates: `fetch` will also be faster, im going to update the npm version with the latest commit, its a lot nicer, sorting is more optimized [05:05] context: you will then see a node_modules directory there. [05:06] context: node server.js and it will successfully find socket.io [05:06] scoates: chjj: sounds good [05:06] mscdex: Fenda: also on a slightly unrelated note, are you using setuid and setgid in the service script? [05:06] mscdex: process.setgid/setuid [05:06] mscdex: so that you're not running the chat server with elevated privileges? [05:07] kohai: @chriskau: to build node.js using llvm run 'export CC=llvm-gcc CXX=llvm-g++' in the shell before running 'configure' and 'make' #llvm #nodejs [05:07] Fenda: mscdex: nope :< [05:07] Viriix has left the channel [05:07] mscdex: Fenda: might be a good idea to do that [05:08] chjj: scoates: were you using .limit() with your .find query? i just noticed its failing a test with limit for some reason, need to fix [05:08] scoates: no limit [05:08] scoates: (everybody to the limit? (-: ) [05:08] duckxx: thanks context got past tat hump! =) [05:08] vikstrous1: hey do you guys know if there's a good login/registration system for node? [05:09] gazumps has joined the channel [05:09] jaket has joined the channel [05:10] mscdex: Fenda: i usually use something like process.setuid('nobody') and process.setgid('nogroup') [05:10] eksmith: Hey guys. New to nodejs. I have everything installed and working with express and ejs, but am having trouble finding some good tutorials for building things with EJS. Any recommendations? [05:10] context: duckxx: id recommend spending an hour to learn how npm 1.0 works. http://pastie.org/1932925 is a good read (convo i had with isaac author of npm) [05:11] vikstrous1: eksmith: there are some examples that come with express i think. check your express folder [05:11] eksmith: ok cool, ill check it out thanks [05:12] mykul has joined the channel [05:12] scoates: ACTION maps and reduces [05:13] mikeric has joined the channel [05:13] Zarathust: I'm trying to use node.io but I run into problems [05:14] Zarathust: I get Error: Cannot find module '../../vendor/validator' [05:14] chjj: scoates: ok, i just updated the npm version and fixed a bug with the `skip` and `limit` options [05:15] scoates: chjj: and I got it to play nicely with fetch() [05:15] scoates: chjj: I'll update from npm anyway, but thanks! [05:15] JackeyChan has joined the channel [05:15] vikstrous1: guys, what do you use for a login system? Is there anything I can get that'll be more likely to be secure than a custom solution? [05:16] chjj: scoates: no problem, let me know if theres anymore trouble [05:16] context: nodjsmap: not the best way to find work honestly. and im going to guess you have no clue why you want to use node for the job [05:16] scoates: chjj: will do. thanks again. [05:17] nodjsmap: Context: Actually i do know what i need node to do I have 2-3 guys working on some other projects with node =) [05:17] MrTopf has joined the channel [05:17] kohai: @erheme318: If you interested feature of Javascript, see this http://bit.ly/fcKWyG. And also Node.js http://bit.ly/dOW7l1. Thanks @ElegantCode [05:17] duckxx: context ok read it... so main point there is the node modules should be included in the project folder and even if its global u have to link them in.. [05:18] brownies has joined the channel [05:18] materialdesigner: not "even if it's global," but rather, "if you want it to be global and still need local installations for a package" [05:18] context: duckxx: yes. [05:18] Fenda: mscdex: thanks alot. your script worked and will also take your advice on the setuid :) [05:18] brownies has joined the channel [05:18] chjj: scoates: also, probably worth mentioning, i toned down the cache_limit a lot (down to 128 bytes), so youll only be able to compare values smaller than 128 bytes in your queries, probably shouldnt affect anyone though [05:18] mikeric_ has joined the channel [05:18] context: nodjsmap: thats not what i asked. but anyway [05:18] kawaz_air has joined the channel [05:19] scoates: chjj: yep, I'm taking your "put non-queryable fields in their own object" advice [05:19] chjj: scoates: ah, good :) [05:19] context: duckxx: it needs to be installed or linked locally to be used period. global is generally used for packages with a cli tool. ie: express, haraka, nodemon [05:19] ezl has joined the channel [05:19] context: etc. [05:19] mraleph has joined the channel [05:20] context: actually that should have been eg. not ie. [05:21] mikeric: what is the canonical way to write a string every n seconds in the browser? [05:21] gkatsev: setInterval [05:21] mikeric: it seems that using setTimeout works fine in the console (using curl), but the browser will halt for this. [05:22] mikeric: gkatsev: save for setInterval.. [05:22] mikeric: same* [05:22] gkatsev: ? [05:22] gkatsev: what are you trying do to exactly? [05:24] mikeric: gkatsev: just have a string printed out every second. [05:24] tilgovi has joined the channel [05:24] tilgovi has joined the channel [05:24] mikeric: i was, at one point able to get it to print out using setInterval, but without setting the delay. [05:25] gkatsev: setInterval(function(){document.write('a string')}, 1000) [05:25] gkatsev: mikeric: you have to specify the interval [05:25] halfhalo-sick: document.write will override anything else on the page [05:26] gkatsev: just giving an example [05:26] gkatsev: setInterval(function(){document.body.innerHTML+='a string'}, 1000) [05:26] gkatsev: halfhalo-sick: better? [05:26] halfhalo-sick: slightly [05:26] halfhalo-sick: mi [05:26] halfhalo-sick: ssin [05:27] halfhalo-sick: g [05:27] halfhalo-sick: ... [05:27] halfhalo-sick: dammit mac [05:27] halfhalo-sick: ACTION was trying to say missing blink tag [05:27] gkatsev: haha [05:28] gkatsev: halfhalo-sick: https://twitter.com/#!/gkatsev/status/4286858460663808 [05:28] up_the_irons has joined the channel [05:28] mikeric: gkatsev: http://pastie.org/1959530 [05:28] duckxx: now im getting this error when i run 'node server.js' screen shot: http://prntscr.com/1x7ic [05:28] gkatsev: halfhalo-sick: alternatively, replace title with body.innerHTML [05:28] fangel has joined the channel [05:28] halfhalo-sick: nice [05:28] mikeric: that works fine when i curl a get to the server, but in the browser it just waits. [05:29] Fenda_ has joined the channel [05:29] gkatsev: mikeric: I don't think it works like that. [05:29] gkatsev: mikeric: you need that setInterval clientside [05:29] gkatsev: not server-side [05:29] jaket has joined the channel [05:29] gkatsev: or at least, you need to set up something like websockets or ajax longpolling or socket.io for client and serverside to talk to each other [05:30] danfo has joined the channel [05:31] gkatsev: halfhalo-sick: it can probably be shortened by a few characters even [05:32] mikeric: gkatsev: ok, that makes sense. [05:33] gkatsev: mikeric: basically, you are never ending the http request since it's only res.write [05:33] gkatsev: so, the browser hangs [05:33] drachenstern has joined the channel [05:33] kohai: @azzamallow: is #nodejs mature enough to use for a production system yet? [05:34] mikeric: so curl just works differently, i guess. [05:34] mikeric: it doesn't wait until the request has ended. [05:34] Xano has joined the channel [05:35] scoates: chjj: FWIW, the code I was working on is here: https://github.com/scoates/nerdie/commit/ddf7a13#L3R97 (and now I'm going to bed (-: ) [05:36] drachenstern: room newb, can I spam a link to my SO Q or is that agin the room's general ethos? [05:37] duckxx: im dying figuring this thing out [05:37] brettgoulder has joined the channel [05:37] JohnnyL: Whats the status of Node.js? Is it stable? [05:37] JohnnyL: i'm also looking for a db that stores HTML. [05:37] coreb has joined the channel [05:38] gkatsev: 0.4.8 is stable :# [05:38] gkatsev: :3 [05:38] drachenstern: why does everyone ask that? [05:38] drachenstern: if it runs your code, and you integration test it and run unit-tests, then it is stable [05:39] drachenstern: JohnnyL have you seen https://github.com/joyent/node/wiki/modules [05:40] JohnnyL: drachenstern: no, but wow! [05:41] ezl has joined the channel [05:41] atsuya has joined the channel [05:42] firebalrog has joined the channel [05:42] MikhX has joined the channel [05:42] Zarathust: I can't get node.io to work, I' [05:43] Zarathust: I'm pretty sure my npm install is incorrect. Where can I find an example of a correct node_modules directory? [05:45] kohai: @javalobbyposts: Java Non-blocking Servers, and What I Expect node.js to do if it is to Become Mature: node.js is getting a lot o... http://bit.ly/m7SDF8 [05:46] mscdex: lol "become mature" [05:46] gkatsev: lol @ Java Non-blocking servers [05:50] ParadoxQuine has joined the channel [05:52] [[zz]] has joined the channel [05:53] kohai: @sambervalley: Socket server with Flash and Node.js - Programming with sockets seems to be an intimidating venture for many... http://tumblr.com/xtv2n9crm5 [05:54] kohai: @ibmkhd: Java Non-blocking Servers, and What I Expect node.js to do if it is to Become Mature: node.js is getting a lot o... http://bit.ly/jUludY [05:54] mike5w3c has joined the channel [05:54] tobmaster has joined the channel [05:55] deviantlinux has joined the channel [05:56] amaudy has joined the channel [05:56] duckxx: i ran node server.js and i get this ' node server.js 23 May 01:53:56 - socket.io ready - accepting connections ' how do i connect to it? [05:56] kohai: @NodeJSAtSO: How to use Object.create for inheritance within modules in node.js http://bit.ly/lCK00y [05:57] deviantlinux: I've got nodejs working nicely with socket.io; I want to get some kind of channels going. pubsub. Just for chatrooms and notifications etc. I googled that all day today and got no working examples, so I ask. Should I just try socket.io+redis together, and thats it? Or socket.io alone, or something else? [05:57] danfo: duckxx: load up in your web browser a page with the socket.io javascript included [05:57] sreeix has joined the channel [05:58] drachenstern: http://stackoverflow.com/questions/6092920/how-can-i-do-my-routing-without-having-one-long-file-of-all-the-routes-in-nodejs [05:58] danfo: I'm trying to get a connect/express vhost server running. One of my apps uses express-dust. express-dust uses process.cwd() to get to your views, but really it should be using express' app.set('views')... any ideas how I can get that result in this context? [05:58] danfo: https://github.com/davglass/express-dust/blob/master/lib/dust.js [05:59] gozala has joined the channel [06:00] xsyn has joined the channel [06:00] _1marc has joined the channel [06:04] Fenda has joined the channel [06:05] dgathright has joined the channel [06:06] kohai: @DamonOehlman: If you haven't checked out @nodejitsu 's opensource projects, then do yourself a favour: https://github.com/nodejitsu #nodejs #awesome [06:07] hassox has joined the channel [06:08] _1marc has joined the channel [06:08] bingomanatee has joined the channel [06:08] deviantlinux: thanks for no responses...lol [06:09] bingomanatee: I think the best answer to that is that the bulk of Node.js's functionality is based on the v8 JavaScript language which is pretty damn stable. [06:09] drachenstern: deviantlinux I think you have just chosen a slow time of day to come around [06:10] eyesUnclouded has joined the channel [06:10] bingomanatee: With all due respect to the immense work being done IN node, the fundamental system, file and web access code seems pretty damn stable to me. [06:10] gkatsev: yes, it's 2am on the east coast and it's 11pm on the westcoast. They're out partying [06:10] bingomanatee: But like all languages, subcomponents done IN node vary from component to component. [06:10] gkatsev: 0.5.x is unstable, 0.4.x is stable :3 [06:11] sub_pop has joined the channel [06:12] bingomanatee: Considering how many projects I've seen done in PHP and Ruby that blow up because they are memory pigs, I would point out that even a "Stable" language is capable of being used to create a very very unstable website :D [06:12] Garo_: I'm trying to debug a bug where I'm trying to find out where a function was called. Unfortunately due to the callback nature of node, the stacktrace is useless because it trails back to the event loop. The function does have a callback which it calls after it's done. How can I print out where the callback function is located? console.dir() shows just [Function]. A file/line number would be very handy [06:13] Garo_: is this possible? [06:13] bingomanatee: I'd really have to say that in my experience stability is not really achievable with today's technology - unless you consider consistent failure to be a form of stability :D [06:13] gkatsev: have you tried the long-stack-traces lib thingy? [06:13] mscdex: jeesh, that article by that java enthusiast is almost as bad as that ibm article [06:13] gkatsev: anyway, I sleep [06:13] gkatsev: night [06:13] matjas has joined the channel [06:14] bingomanatee: Garo_ try using named functions instead of anonymous callbacks - that makes your callback stacks cleaner in some circumstances. [06:14] gkatsev: https://github.com/tlrobinson/long-stack-traces [06:15] Garo_: gkatsev: thanks [06:15] bingomanatee: Or if you are really devoted to this probem you can create a tracer system that keeps an artificial stack of your progress as a function parameter and passes it along through with each call [06:15] bingomanatee: but remember to clone the stack before ypu pass it downstream. [06:15] gkatsev: you can build a monad :) [06:16] Garo_: bingomanatee: yeah, I'm doing those. I this case the stacktrace trails back to IOWatcher [06:16] mscdex: Garo_: you might also be able to do: (new Error()).stack to get the stack as a string [06:16] vikstrous has joined the channel [06:16] FireFoxIXI has left the channel [06:16] Hamms has joined the channel [06:16] Garo_: mscdex: that's what I tried first but that goes back to the IOWatcher / Socket callback from the event loop [06:17] mscdex: ah ok [06:17] bingomanatee: This is sadly one area where there are no perfect soltuions in node esp if you have a penchant for anonymous functions. [06:17] mscdex: then yeah, you might need the long stack traces [06:17] Garo_: thanks, I'll look on the long-stack-traces [06:17] hassox has joined the channel [06:17] drachenstern: I'ld love some feedback on my SO Question about complex routing http://stackoverflow.com/q/6092920/109749 [06:18] bad_at_math has joined the channel [06:19] rictic has joined the channel [06:20] Garo_: the long-stack-traces seems to do just the right thing. Thanks gkatsev and others :) [06:20] _1marc has joined the channel [06:21] deviantlinux has left the channel [06:22] jdub has joined the channel [06:22] kohai: @NodeKohai: @DamonOehlman - I was freed by Nodejitsu! Now anyone can update me! Huzaah! [06:22] bingomanatee: As http://pastebin.com/5fahEjXr demonstrates, named functions trace a whole lot better [06:22] bingomanatee: Garo_ ^ ^ [06:23] kohai: @pmbauer: node.js has 1 redeeming trick: evented I/O. Everything else is sub-enterprise-grade. Mature EIO stacks exist, so why bother? #erlang #netty [06:24] bingomanatee: drachenstein: Nuby (https://github.com/bingomanatee/nuby) attempts to address this - it has default sscaffolding, forms and models to boot - but it is still a bit volatile and obtuse. [06:25] drachenstern: thanks, checking [06:25] Garo_: bingomanatee: thanks :) [06:25] kohai: @juhomakinen: Better stacktraces for node.js across callback functions with long-stack-traces. Helps debugging a lot! http://bit.ly/hwQUD5 [06:26] Garo_: you have a fast twitter bot here :) [06:26] kohai: @marocchino: Getting Started with Twilio and Node.js | Twilio Cloud Communications Blog http://me.lt/8Y0Ao [06:26] drachenstern: bingomanatee that appears to still concat all the routes in one megafile [06:27] drachenstern: I'm looking to define each route (so one url and all it's HTTP VERB components) in one file (effectively one file per url) [06:27] bingomanatee: Not eacatly - each controller has its own subset of routes [06:27] drachenstern: oh, I missed that, like I said, still reading [06:27] bingomanatee: well each controller has its own directory - its classic MVC [06:28] bingomanatee: http://www.wonderlandlabs.com/wll_drupal/os/node/nuby.html is good place to start. [06:28] bingomanatee: more instructive than raw source. [06:28] supjeff has joined the channel [06:28] drachenstern: are you familiar with that project? [06:28] drachenstern: opening link [06:28] bingomanatee: I wrote it. [06:29] kohai: @drypot: Node.js 에서 해슁하기. 간단. crypto.createHash('sha256').update("hello").digest("base64"); [06:29] jaket_ has joined the channel [06:29] kohai: @LeviDayley: Node.js is built into WebOS 2.1? How did I not look into this before?! [06:29] drachenstern: there you go then ;) [06:29] drachenstern: does it allow me to do something like `/route/path/:id` ? [06:29] bingomanatee: The upshot is that (and I have to give most of the credit to TJ for ripping off the conventions from Ruby for me) you don't have to explicitly define any routes til you vary [06:29] bingomanatee: yes [06:30] drachenstern: have you got an example that does that? [06:30] tekky has joined the channel [06:30] bingomanatee: You can define any custom routes you want but if you have a controller named member with an action named show then members/:id is automatically routed towards that aciton. [06:30] drachenstern: let me repeat that so I know that I got it: [06:31] bingomanatee: sure. [06:31] drachenstern: if I have a controller named member (controllers/member.js) then a request to members/:id will be routed to that controller? [06:31] bingomanatee: yes specifically that controllers' show action [06:31] bingomanatee: (presuming a GET access of course) [06:31] bickie has joined the channel [06:32] drachenstern: even tho `member` != `members` yes? [06:32] bingomanatee: I took the express example's MVC system and ran with it. [06:32] bingomanatee: yes inflect will pluralize the urls for you. [06:32] drachenstern: yeah, all presumptions active here, unless explicitly stated ;) [06:32] drachenstern: ah, ok [06:33] bingomanatee: You could adjust that to your liking by messing with the loader.js file in mvc/controllers but by default you get Railsesque pluralization. [06:34] bingomanatee: http://www.wonderlandlabs.com/wll_drupal/node/290 demonstrates all the default path/action mappings - and yes it inflects to pluralize the controllers. [06:34] abraham has joined the channel [06:34] JackeyChan has joined the channel [06:34] mitor has joined the channel [06:35] mitor: evening folks [06:35] bingomanatee: Also each controller can, optionally, include a route method to allow you to append any custom routes you like to the application for when the rest conventions are not sufficient. [06:35] ss23: EVENING?! [06:35] mendel_ has joined the channel [06:35] bingomanatee: for the next 25 minutes. [06:35] drachenstern: so anyways, what you've done there with that does help, thanks for the linking [06:35] mitor: well.. figuratively speaking [06:35] bingomanatee: Sure. [06:35] drachenstern: I hope you won't be too upset if I keep pushing for others with their alternate views throughout the day [06:36] bingomanatee: Keep in mind that like most other people doing this, my work stems from TJ's basic MVC example in epress.js [06:36] drachenstern: I recognize the benefits of using super-stacks like Express+Connect (and even further, as you've done) but right now I'm learning some stuff so playing with a lot lower level stuff rather than building on top of all those stacks [06:36] bingomanatee: That is the simplest possible starting point for routing and there are plenty of other alternative patterns and strategies in the express example folder. [06:36] bickie: yo all [06:37] drachenstern: I didn't see one that quite did what I wanted there, lemme double-recheck [06:37] bickie: quick question for the nodesters [06:37] mitor: so i'm looking into node.js... [06:37] bzinger has joined the channel [06:37] drachenstern: well, I did find that one that I linked to in my SO Q [06:37] sechrist has joined the channel [06:37] drachenstern: http://stackoverflow.com/q/6092920/109749 [06:37] philtor has joined the channel [06:37] bickie: regarding optionally returning operations [06:37] mitor: so is this somekind of persistant-connection web server? [06:38] drachenstern: mitor do you mean is nodejs a persistant connection webserver? [06:38] bickie: say I have some blocking operation which may or may not return a value, such as: http://pastie.org/private/zc7xnqvx0dehrq1jhn358w [06:38] mitor: if that makes even remote sense.. yes [06:38] qFox has joined the channel [06:38] drachenstern: well, it's a webserver and lets you define everything you want it to do, so ... [06:38] mitor: so its' a web server. [06:38] drachenstern: sure [06:39] drachenstern: but it's a lot more "bare" than the likes of IIS or Apache [06:39] bickie: is the only way to deal with the resulting object to create a separate function that deals with the object? (as there's no way to "fall through" the if blocks as you would with non-async programing [06:39] drachenstern: and it's built on a different _everything_ than those two are [06:39] mitor: and it can serve say.. rail apps? [06:39] drachenstern: sure [06:39] drachenstern: I know some folks who are doing just that [06:39] `3rdEden has joined the channel [06:39] drachenstern: @bickie saywhat? [06:40] mitor: hmm ok so, without asking for a Wiki post... what's the Node.js 'edge' ? [06:40] drachenstern: what do you mean? [06:40] drachenstern: what's the Apache "edge"? [06:40] mitor: well, in a nutshell, what makes Node different then conventional httpd's ? [06:40] bickie: drachenstern: sorry, here's a better way to express the question [06:40] drachenstern: that you write the code for it in javascript? [06:40] mitor: that it? [06:41] drachenstern: that you work with a different tech stack than you would in other languages etc? [06:41] pickels has joined the channel [06:41] drachenstern: that it scales widely pretty easily [06:41] bickie: what's the a nice async way to write this: http://pastie.org/private/rtznhzugbki0ogrzceerjw [06:41] drachenstern: that it uses a lot less resources overall initially [06:41] mitor: its just that i can't quite wrap my head around 'writing code for a web server' [06:41] mitor: normally i'd write code for an interpreter (ruby, php, etc) [06:41] drachenstern: @mitor this is currently one level below that for some of us [06:42] drachenstern: for others, you can just write (for example) jade files [06:42] bickie: mitor: node.js is an async I/O web app server (like nginx) that natively speaks Javascript [06:42] drachenstern: there are many interpretors out there, but I don't know that there are any ruby or php interpreters (I'm sure there must be some day soon) [06:42] mitor: i'm obviously gonna have to read more about this [06:42] drachenstern: yeah, I would suggest starting at the ole WP [06:42] mitor: wp ? [06:42] drachenstern: @mitor before you go [06:42] drachenstern: wikipedia [06:43] mitor: ah [06:43] mitor: i was aiming for the docs [06:43] bickie: mitor: it's closer to an app server than a webserver [06:43] drachenstern: consider that we write most of our web-code to be either HTML or javascript, yes? [06:43] bickie: in that it can do things other than HTTP for example [06:43] mitor: right.. [06:43] bickie: it's most close to twisted (the python project) [06:43] bickie: except for JS :) [06:43] drachenstern: so this allows us to use the same language for both the client and the server [06:43] Marak has joined the channel [06:43] drachenstern: we can write javascript on the server [06:43] drachenstern: we can write javascript on the client [06:43] AvianFlu has joined the channel [06:43] mitor: but javascript doesn't actually 'render' anything [06:44] drachenstern: neither does PHP [06:44] drachenstern: neither does ruby [06:44] mitor: well i mean, sure but php/ruby 'generate' stuff that *does* render [06:44] drachenstern: so does javascript [06:44] bickie: so can JS [06:44] drachenstern: javascript is a language, just like ruby [06:44] mitor: well not in any practical sense [06:44] drachenstern: I can do this in javascript or ruby or php: [06:44] mitor: nobody writes web pages in js [06:44] bickie: mitor: what language/framework are you most familiar with? [06:45] mitor: thus far, php [06:45] mitor: moving towards rails [06:45] bickie: kk [06:45] bickie: so you know in rails, when you're developing [06:45] drachenstern: return "" this title "" [06:45] bickie: you start the dev webserver [06:45] mitor: just spent my very first $25 on an eBook :) [06:45] bickie: and it fires up a ruby process [06:45] bickie: and initializes everything [06:45] bickie: (or have you not gotten that far?) [06:45] mitor: right. WEBrick [06:45] mitor: sure have [06:45] bickie: yerp [06:45] bickie: so at that point [06:45] drachenstern: same thing here with node [06:45] bickie: you're ONLY running ruby [06:45] bickie: there's no apache, etc, etc [06:46] bickie: you just have a ruby process [06:46] bickie: and you can write ruby code [06:46] bickie: and it does "stuff" [06:46] bickie: and then serves HTML (or whatever) to the client [06:46] mitor: well.. actually, WEBrick is only serving the 'ready'-html. Ruby executes, Irb substitutes and WEBrick serves [06:46] bickie: make sense so far? [06:46] mitor: same deal with php [06:46] drachenstern: @mitor I think you're trying to focus way too much on the underlying engines. [06:46] bickie: yeah, though PHP needs it's own webserver [06:46] bickie: like apache [06:46] bickie: anyway [06:46] bickie: the point i'm getting at [06:46] mitor: right [06:47] bickie: is node.js is just like ruby in that example [06:47] kohai: @alltop_java: Java Non-blocking Servers, and What I Expect node.js to do if it is to Become Mature http://bit.ly/m7SDF8 [06:47] bickie: except the code is JS [06:47] bickie: not ruby [06:47] danfo has left the channel [06:47] mitor: so you're saying Node is BOTH the application server AND the httpd [06:47] bickie: yes [06:47] mitor: executing js [06:47] bickie: yes [06:47] mitor: hmm [06:47] bickie: many languages/envs do this [06:48] bickie: tornado (the facebook released webserver) does this in python for example [06:48] bickie: app server AND web server [06:48] mitor: interesting... [06:48] bickie: now, I don't want to confuse you, but - [06:48] mitor: i mean, it's different... but how's it better? other then the fact that it's a js-centric web/app server? [06:48] sreeix_ has joined the channel [06:48] bickie: ok [06:49] bickie: the next part you need to understand is asynchronous I/O [06:49] bickie: to get that [06:49] mitor: I watched the presentation [06:49] mitor: i get how requests can 'hang' [06:49] mitor: well.. sort of 'get' :) [06:49] kohai: @javameme: Java Non-blocking Servers, and What I Expect node.js to do if it is to Become Mature: node.js is getting a... http://tinyurl.com/3v8akug [06:50] bickie: ok, so JS (and node) is very good at that [06:50] mitor: strictly in practical terms... isn't that kind of like reinventing the wheel? I mean ajax already does that (well.. sort of 'that') [06:50] drachenstern: ajax does that on the CLIENT [06:50] drachenstern: this is on the SERVER [06:50] bickie: http://en.wikipedia.org/wiki/Asynchronous_I/O http://www.slideshare.net/marcusf/nonblocking-io-event-loops-and-nodejs [06:51] mitor: i realize that, but how's that better (rather then just 'different' ) ? [06:51] bickie: well [06:51] ezl has joined the channel [06:51] emattias has joined the channel [06:51] drachenstern: because evented-io is generally regarded (by those who understand both sides) to be better [06:51] bickie: what happens if your server needs to contact a web service? [06:51] bickie: say for example, it needs to hit up twitter to do twitter auth [06:51] SamuraiJack has joined the channel [06:51] bickie: and say twitter is slow [06:51] bickie: and they're taking 15 seconds to do auths [06:51] drachenstern: it lets the scheduler provide resources to the pieces that need resources "right now" while the "slower ops" take their time to get things done [06:51] bickie: (which happens) [06:51] mitor: conventionally, you'd send a request (in response to a DOM event) via Ajax, and the server would go out and fetch the data [06:52] bickie: so your users all go to log in [06:52] bickie: and your lovely fast page that used to take 200ms to render, now takes 15 seconds [06:52] mitor: oh i see.. that's where the idle advantage comes in [06:52] saebekassebil has joined the channel [06:52] bickie: so say you usually have 2 requests per second to your site [06:52] bickie: at 200ms/ request, all is ok, and your site stays up [06:52] bickie: at 15 seconds per page load [06:53] bickie: the requests just keep building and building and building [06:53] bickie: and your whole site would come crashing down [06:53] drachenstern: so mitor, if you recall basic OS premises, the scheduler will give each "thread" or "process" a certain timeslice. and if it sits there waiting on things to be read, it will take all those resources and "spin" while it's waiting on the resource. This avoids that entirely. [06:53] drachenstern: thus you let the server get more done per timeslice. [06:53] bickie: cos with PHP, you'd have to spawn 1000000 processes to deal with it [06:53] bickie: non-blocking IO lets you do that [06:53] mitor: hmm [06:53] kohai: @piotrbuda: #Flex #CQRS stack - #BlazeDS for writes, #NodeJS for async updates of view... must check how it works [06:53] bickie: cos idle (ie: waiting) processes take ostensibly no ressources [06:53] mitor: well appache2 does have a pretty robust cue [06:53] bickie: that's why friendfeed wrote tornado (non-blocking webserver in python) [06:53] mitor: but it's nothing like this [06:53] bickie: http://www.tornadoweb.org/ [06:54] drachenstern: it's NOTHING like this [06:54] bickie: mitor: not really [06:54] bickie: apache is actually the worst at that [06:54] bickie: that's why nginx got so popular [06:54] drachenstern: apache is great at serving (and caching) static files [06:54] mitor: so is Node best for high traffic sites then? [06:54] drachenstern: it was written initially back when that was all there was to do on the web [06:54] mitor: drachenstern very true [06:54] drachenstern: then people bolted on cgi and php and the rest [06:54] drachenstern: node is best for high traffic sites "when the code is well written" [06:55] saebekassebil: Hey guys, I've given my webhost a hard time, 'cause I asked for them to install node. They've downloaded the source, build it and placed in ~/bin/node. This is all fine! But when I try using it like 'node test.js' I get this weird error: [06:55] saebekassebil: FATAL ERROR: v8::Debug::SetDebugMessageDispatchHandler V8 is no longer usable [06:55] drachenstern: when the code is shitty it's an even race for all the browsers [06:55] bickie: node is best for high traffic sites that have high concurrency and potentially slow blocking operations [06:55] bickie: that includes standard DB calls [06:55] mitor: i see, that makes more sense [06:55] drachenstern: @sakebekassebil is the "node binary" in your local path? [06:55] saebekassebil: the node binary is placed [06:55] drachenstern: also, I would rebuild node [06:55] saebekassebil: ~/bin/node/bin/node [06:56] saebekassebil: They've tried to rebuild it [06:56] bickie: anyway, drachenstern back to my problem :) any idea how to neatly rewrite this in async stylez: http://pastie.org/private/rtznhzugbki0ogrzceerjw ? [06:56] drachenstern: I don't get what about that is non-async, except for that long blocking call to set the inital value [06:57] drachenstern: for that I would need to know what your non-async call is, does it have an async deriv? [06:57] truedat101 has joined the channel [06:57] mitor: thanks for the tut peeps! [06:57] bickie: line 2 and 4 are both blocking [06:57] saebekassebil: But i can still utilize: 'node -v' [06:57] mitor: will read s'more... [06:57] bickie: mitor: no probs [06:57] kohai: @ssig33: node.js でクエリを順番に打っていきたい時、普通に書くとクエリ一個進む毎に 1 段階インデントが深くなっていくので、辛い [06:57] saebekassebil: which is v0.5.0-pre [06:57] drachenstern: mitor: check http://stackoverflow.com ;) [06:57] mitor has left the channel [06:57] bickie: drachenstern: async should look something like this http://pastie.org/private/zc7xnqvx0dehrq1jhn358w - but hard to deal with results neatly [06:58] drachenstern: bickie, I get that [06:58] drachenstern: hang on [06:58] drach: whoami? [06:58] drach: ok, that seems to be a better nick in length [06:59] MGT: hey, was trying to find a solution to this here earlier but couldn't seem to find one: I'm getting a "dyld: unknown required load command 0x80000022" error when I try to enter a node command on os x 10.5.8 [06:59] pquerna: ready to code some node to the new gaga album amirit [06:59] hassox has joined the channel [06:59] drach: bickie, why can't you do the second one in your code? [06:59] MGT: wondering if anyone had encountered that before/knew what to do (there was a similar problem logged on the node git page, but no solution) [06:59] drach: what lib are you using for dbquery? [07:00] drach: MGT: idk, I don't have OSX [07:00] MGT: k [07:00] bickie: drach: that's just pseudo code, not my actual code [07:00] drach: what libs r u using? [07:00] drach: do the libs have async? [07:00] bickie: mongodb driver [07:00] bickie: yep [07:00] bickie: all async [07:00] bickie: that's the prob [07:00] drach: what's the prob? [07:00] bickie: I end up in two different places with the same object [07:00] bickie: you can't "fall through" [07:00] bickie: if you look in the sync example [07:00] drach: oh, so you're saying how do you ensure you have an object [07:01] bickie: no matter what happens, by the time I get to line 6, I def have the object [07:01] drach: hang on, thinking for a moment [07:01] bickie: no matter how I got it [07:01] bickie: but in the async example [07:01] bickie: it's very hard to achieve the same effect [07:01] fangel has joined the channel [07:02] sebbie has joined the channel [07:02] bingomanatee: bickie - I would suggest looking into my gate library https://github.com/bingomanatee/gate [07:02] drach: if(myThing==undefined){ /* get the item */; IGotItCallback(); } else { IGotItCallback(); } <-- why wouldn't that work? [07:02] meso_ has joined the channel [07:03] bingomanatee: it is designed to coordinate one or more actions and wait til they are all done to execute a function. [07:03] bickie: drach: yeah, I can do it by calling a common callback [07:03] drach: that's how I would coord it [07:03] bingomanatee: By the way it is if (typeof(foo) == 'undefined') [07:03] bickie: but it means I need to invent yet _another_ function just to do something fairly simple [07:03] bingomanatee: there is no actual undefined token in JavaScript - its not like null. [07:03] drach: but that's not simple [07:03] bickie: bingomanatee: yeah, ok, will look into something like that [07:03] bickie: bingomanatee: aah yeah, sorry, I've been writing in coffeescript :) [07:03] drach: bingomanatee if thats at me, mine was supposed to be pseudo [07:04] bingomanatee: well pseudo problems get pseudo solutions [07:04] bingomanatee: :D [07:04] bickie: :) [07:04] mAritz has joined the channel [07:06] hybsch has joined the channel [07:06] drach: so bickie the thing is, you have to presume that each "go do something" is its own async step, and you can put shortcircuit branching in place to skip an async callback, but each "thing" you want to do is one more callback in the chain, yes? [07:06] Marak has joined the channel [07:06] xsyn has joined the channel [07:06] Marak: http://news.ycombinator.com/item?id=2575196 [07:06] bickie: drach: yerp [07:06] Marak: ryah: if you give kohai opers, he will auto-op when you join [07:06] Marak: ryah: auto-op, you [07:07] bickie: basically the whole concept of "do some optional async step" is messy [07:07] bickie: do in series, do in parallel is not to bad [07:07] bickie: but "do in this order with some steps being optional" is tricky :) [07:07] drach: so you see where you need to insert a new async step (go get a new one if it doesn't exist yet) means you need a new pair of callbacks [07:07] pquerna: ryah: https://gist.github.com/9513a4b87cad207f25b2 [07:07] bickie: Marak: http://blog.nodejitsu.com/single-page-apps-with-nodejs == "undefined" [07:08] boehm_ has joined the channel [07:08] jimt has joined the channel [07:08] bickie: Marak: and it's back :) [07:08] Marak: bickie: prob the cache, unless hij1nx broke the blog with a bad pull [07:08] Marak: great, he did [07:08] Marak: bad hij1nx [07:09] pquerna: ryah: didn't think i did anything creative, just had a debugger; line before entering a node-webworker call [07:09] firebalrog has joined the channel [07:10] JohnnyL has left the channel [07:10] bickie: drach: just worked out another potential way: https://github.com/caolan/async#waterfall (I already use this lib) [07:11] bickie: you just do each step as a series of cascading IO ops and skip the ones you don't need [07:11] drach: that would just be serial execution, ergo blocking [07:11] drach: do you want blocking or non-blocking? [07:11] __tosh has joined the channel [07:12] drach: you might also try that iterator() it exposes [07:12] drach: you might also try that iterator(tasks) it exposes [07:12] JackeyChan has joined the channel [07:13] bickie: drach: no, waterfall is all non-blocking [07:13] bickie: (well, the whole async lib is non-blocking, that's the point :)) [07:13] drach: then it creates transparently what I am advising you to create explicitly [07:13] bickie: quite likely [07:13] bickie: btw, the async lib is rather good indeed [07:14] hwinkel has joined the channel [07:15] drach: so if you like using magic, then use the async libs [07:15] drach: if you like knowing what is going to be done next explicitly, use your own callbacks [07:15] drach: one creates "cleaner looking" code, one creates "easier to trace and to debug" code [07:15] drach: with less stacktrace [07:16] drach: I've done it both ways. I always recommend the more maintainable and readable version [07:16] bickie: drach: yeah, you might be right [07:16] bickie: I just find something waaay too verbose to implement manually [07:16] drach: haha, and yet I'm trying to write my own micro-framework [07:16] drach: I don't mind verbose so long as it gets the job done [07:16] bickie: like processing a queue of items in series, but with a parallel concurrency of N [07:17] bickie: VERY painful to write by hand [07:17] bickie: but async does it rather nicely :) [07:17] philtor has joined the channel [07:18] mytrile has joined the channel [07:18] drach: so long as it's readable and maintainable, that's the important part [07:18] drach: that and the libraries not collapsing on you one day out of non-maintainership [07:20] bickie: always a risk :) [07:21] jhurliman: how do i test if a variable is an array? [07:21] pquerna: hmm. any alternatives in 0.4 for making child processes, besides node-webworker? Its creating a limiting new context that doesn't have things like.. process. (child_process.fork in 0.5 is ideal, but wanted to avoid master for a bit) [07:21] mscdex: jhurliman: Array.isArray(obj) [07:21] jhurliman: thanks mscdex [07:22] mscdex: similarly for Buffers: Buffer.isBuffer(obj) [07:23] drach: anybody have any ideas on limiting server upload speeds (clients uploading files) besides time-oriented averages? [07:23] saebekassebil: Is there anyone who has any idea what might cause this error? [07:23] Marak_ has joined the channel [07:23] saebekassebil: FATAL ERROR: v8::Debug::SetDebugMessageDispatchHandler V8 is no longer usable [07:24] mhausenblas has joined the channel [07:24] mscdex: saebekassebil: what version of node and when/where do you see that error? [07:24] saebekassebil: v0.5-pre [07:25] mscdex: hmm [07:25] mscdex: have you tried 0.4.8? [07:25] saebekassebil: And as stated earlier, it is not my (as user) who installs it, but my host [07:25] saebekassebil: Well, I can try ask him to do that [07:26] mscdex: why can't you build this yourself? [07:26] saebekassebil: Because my virtual memory gets exhausted [07:26] saebekassebil: sadly.. [07:26] mscdex: how much memory? [07:26] saebekassebil: I got like 2GB [07:26] saebekassebil: it's very weird [07:27] mscdex: and you're exhausting it with node ? [07:27] mscdex: :S [07:27] saebekassebil: with building it [07:27] saebekassebil: weird python errors [07:27] mscdex: that doesn't make sense [07:27] pastak_ has joined the channel [07:27] mscdex: can you gist the python errors? [07:27] kohai has joined the channel [07:27] kohai: I am Kohai, semi-useful communications-facilitating pseudointelligence! [07:27] saebekassebil: That'll mean a new build, but yea, i go try that! [07:27] kohai: @savino: this is just awesome: #jade http://jade-lang.com/ #nodejs [07:28] Marak_: has kohai been spamming discon / recon ? [07:28] Marak_: if he acts up, please let me know [07:28] mscdex: not that i've seen [07:28] konobi: ryah: just closed 1007 [07:28] kohai: @fdiotalevi: Single Page Apps with Node.js. - http://t.co/S8L1WiZ [07:28] mscdex: konobi: that's a lot of bugs! :p [07:28] kohai: @vsfeeds: The Node Beginner Book » A comprehensive Node.js tutorial: http://nodebeginner.org/ [07:28] kohai: @delicious500: The Node Beginner Book » A comprehensive Node.js tutorial: http://nodebeginner.org/ [07:29] Marak_: konobi: can you +o on kohai? [07:29] kohai: @ssig33: 全く同じアプリを Sinatra と node.js で作ってみたところ、 Sinatra の方が速いという事実に直面しており、泣いてる。 Sinatra のは unicorn で 2 workers で deploy してるからというのもあるかもしれないが。。。 [07:30] kohai: @stevesandersonf: Single Page Applications with Node.js http://goo.gl/fb/ThOXR [07:30] saebekassebil: @mscdex ./configure went just fint [07:30] saebekassebil: Now i try build with 1 parralel job [07:30] konobi: Marak: nope... i just work here =0) you'll need to ask our benevolent dictator [07:30] Marak: lol wow, they just added +q trigger in the #kohai room, awesome. now we can !stfu and set +q [07:30] jbpros has joined the channel [07:31] MrTopf has joined the channel [07:31] mscdex: saebekassebil: this is with 0.4.8 right? [07:31] Marak: lol konobi , you just havent quit since that other day :-D [07:31] saebekassebil: hmm [07:31] saebekassebil: I'm actually not sure.. :P [07:31] saebekassebil: How would i know from the source? [07:31] saebekassebil: Wow! [07:31] saebekassebil: I build! [07:31] mscdex: saebekassebil: did you download a tarball or use git? [07:31] saebekassebil: It worked.. [07:31] konobi: Marak: eh? [07:32] saebekassebil: Just a sec, think i just make && make install'ed it! [07:32] bickie: oh, mscdex you're helpful :) [07:32] mscdex: bickie: what did i do now? :p [07:32] bickie: Can I grab your opinion on something quickly? [07:32] kohai: @DShankar: @3rdEden the person is forward-thinking enough to know what Node.js / socket.io and NowJS are, but weird enough to put it on craigslist [07:32] mscdex: bickie: sure [07:32] bickie: what's the node-esq way of doing this asyncronously: http://pastie.org/private/rtznhzugbki0ogrzceerjw [07:32] kohai: @johnwilander: Single page apps with #nodejs http://blog.nodejitsu.com/single-page-apps-with-nodejs (+ a simple architectural overview of single page apps) [07:32] saebekassebil: Hmm nope [07:32] saebekassebil: same error [07:33] `3rdEden: kohai y u highlight [07:33] JackeyChan has joined the channel [07:33] drach: night all [07:33] drach: thanks for the random ears [07:33] bickie: mscdex: I've come up with http://pastie.org/private/zc7xnqvx0dehrq1jhn358w , but it seems messy as you don't end up at a common code point to carry on [07:33] mscdex: bickie: depends on the library [07:33] bickie: night drach - ta for your help [07:33] drach: absolutemon [07:33] saebekassebil: @mscdex: 0.4.6 [07:33] saebekassebil: According to the Changelog [07:34] mehlah has joined the channel [07:34] mscdex: saebekassebil: i'd use 0.4.8 to start with, which is the latest stable [07:34] mscdex: saebekassebil: what is the error though anyway? [07:35] saebekassebil: mscdex: This time there were no error.. It seemed like it just jumped over the building process, because it has been build before from the same source [07:35] Druide_ has joined the channel [07:35] saebekassebil: So when i tried: 'node' [07:35] a2800276 has joined the channel [07:35] mscdex: saebekassebil: `make distclean && ./configure && make` [07:35] saebekassebil: it went: FATAL ERROR: v8::Debug::SetDebugMessageDispatchHandler V8 is no longer usable [07:35] saebekassebil: ok [07:36] saebekassebil: Should i user --prefix? [07:36] saebekassebil: use* [07:36] msucan has joined the channel [07:36] mscdex: saebekassebil: you can if you want, but don't do `make install` until we are sure everything is alright [07:36] hellp has joined the channel [07:36] MikeMakesIt has joined the channel [07:36] mscdex: bickie: it depends, i mean you can use a flow control module like async, Step, or node-seq [07:36] littke has joined the channel [07:36] bickie: yeah [07:37] bickie: that's what I'm doing [07:37] saebekassebil: mscdex: make: *** No rule to make target `distclean'. Stop. [07:37] bickie: using async.waterfall [07:37] bickie: ostensibly going through each step in a waterfall and just skipping the ones I don't need [07:37] bickie: sound vaguely sane? [07:37] [AD]Turbo has joined the channel [07:37] mscdex: saebekassebil: huh..... well, download this: http://nodejs.org/dist/node-v0.4.8.tar.gz and do `./configure && make` [07:38] [AD]Turbo: hi there [07:38] pomodoro has joined the channel [07:38] kohai: @jaapgorjup: “@hij1nx: Single Page Apps with #Nodejs http://t.co/LXISRSw #javascript #socketio #singlepageapps” /cc: @adebree @Qwerios @mennoabbink [07:38] benvds has joined the channel [07:38] mscdex: bickie: i suppose. with a module i'm currently working on i just rolled my own [07:39] Bj_o_rn has joined the channel [07:39] bickie: fair enough [07:39] mscdex: it's basically just a small module that appends tasks to an array [07:39] bickie: got a URL? :) [07:40] mscdex: well, it was quickly put together for my needs, just keep that in mind ;) [07:40] kohai: @PhilCox: Single Page Apps with Node.js http://bit.ly/lJuido [07:40] mscdex: bickie: https://github.com/mscdex/documation/blob/master/deps/work.js [07:40] kohai: @drypot: Node.js Core 에는 간단 프로세스, HTTP, DNS, 파일 관리, 라이브러리 로딩 기능 정도 밖에 없다. [07:41] kohai: @24z: A good in-depth read on the subject: Single Page Applications with Node.js http://j.mp/mk6ntX [07:41] Marak: fucking levenstien [07:41] bickie: mscdex: nice, thanks. Btw, what does process.nextTick do precisely? [07:41] mscdex: bickie: basically you create a new Work instance, push tasks onto it, and then call .go(). in each of your callbacks you call your Work instance's .next() next to continue on [07:41] boehm has joined the channel [07:41] mscdex: bickie: just keeps the stack from potentially getting really big [07:42] kohai: @drypot: Node.js 서드파티 라이브러리가 생각보다 많다. 웹은 Express 프레임웍을 밀고 있는 듯하다. 얼핏 보면 루비 커뮤니티 돌아다니다 보던 그것들과 비슷하다. Sinatra 라든가. [07:42] mscdex: bickie: you can also add to the tasks array directly if you need to inject new tasks on the fly [07:42] mscdex: which is a bit of a hack, but it works [07:42] saebekassebil: mscdex: https://gist.github.com/986364 [07:42] liquidproof has joined the channel [07:43] kohai: @drypot: Node.js 동물책 일독 끝났는데 딱 코어만 설명한다. npm 패키지 메니저에 대한 설명도 없고, 애드온들에 대한 개략 설명도 없고, Express 설명도 없고. 진짜 딱 Node Core 만. =,= [07:43] bickie: mscdex: kk, thanks for that [07:43] bickie: will have a play [07:44] mscdex: saebekassebil: what version of python are you using? [07:44] uchuff has joined the channel [07:45] boehm_ has joined the channel [07:46] saebekassebil: mscdex: Python 2.4 [07:46] stonebranch has joined the channel [07:46] kohai: @stack72: @Cranialstrain @ben_hall @garyshort elements of ruby, node.js etc. etc. etc. may be involved but its a choice the developers make on day :) [07:46] xsyn has joined the channel [07:46] saebekassebil: But each time i write a command, actually just writing 'python' i get this output: https://gist.github.com/986370 [07:47] konobi: virtual memory exhausted: Cannot allocate memory [07:47] saebekassebil: Ah [07:47] saebekassebil: excatly [07:47] konobi: need memory to compile [07:47] firebalrog has joined the channel [07:48] saebekassebil: `ulimit -v ` [07:48] konobi: not sure how much the build consumes these days [07:48] saebekassebil: 200000 [07:48] saebekassebil: @konobi: If this is the problem, i can get my host to build it for me [07:48] saebekassebil: BUT [07:48] saebekassebil: Then i get those V8-dead errors stated earlier [07:49] mscdex: saebekassebil: wow 2.4... [07:49] mscdex: i think you should be using at least 2.6 [07:50] mscdex: iirc [07:50] saebekassebil: mscdex: I know, it isn't me but my host deciding it [07:50] kohai: @__jrydberg__: Single Page Apps with Node.js. - blog.nodejitsu.com - scaling node.js applications one callback at a time. http://bit.ly/m3SVi2 [07:50] mscdex: that sucks [07:50] mscdex: tell them to get with the times! [07:50] mscdex: :p [07:50] ryanseddon has left the channel [07:50] mscdex: i'm surprised they are able to build node [07:50] saebekassebil: mscdex: I could, but would it help? [07:50] saebekassebil: Help bulding node, that is [07:51] mscdex: it might, but there's no way to really know unless it's tried [07:51] mscdex: there is a python version requirement [07:51] mscdex: ok the wiki does say 2.4+ [07:51] mscdex: huh... [07:52] slaskis has joined the channel [07:52] royvandermeij has joined the channel [07:52] superjudge_ has joined the channel [07:53] saebekassebil: mscdex: Actually i think its the V8 build which is wrong, 'cause its a V8-dead error message. I'm i really the first one to try this? [07:53] konobi: saebekassebil: how much memory is being taken up by other processes in your vm? [07:53] kohai: @philhawksworth: Looking forward to heading to Brighton on Thursday for AsyncJS where I'll be talking about getting started with Node.js http://t.co/oAaned5 [07:53] saebekassebil: @konobi: How would i find out? [07:53] saebekassebil: @konobi: Don't thinks it a VM? [07:53] troessner has joined the channel [07:53] mscdex: `top` [07:53] mscdex: ? [07:54] saebekassebil: @konobi: Mem: 8156256k total, 7937184k used, 219072k free, 876192k buffers [07:56] mscdex: 219mb free [07:56] mscdex: hmm [07:56] konobi: saebekassebil: odd... try setting your ulimit unlimited [07:56] konobi: mscdex: yeah, it should page to swap at least though [07:56] Bonuspunkt has joined the channel [07:56] mscdex: true [07:56] saebekassebil: Mem: 8156256k total, 7922656k used, 233600k free, 876984k buffers Swap: 786424k total, 104k used, 786320k free, 2839192k cached [07:57] saebekassebil: (Sorry for copy 'n pasting) [07:57] mscdex: plenty of swap [07:57] tifosi has joined the channel [07:58] kohai has joined the channel [07:58] kohai: I am Kohai, semi-useful communications-facilitating pseudointelligence! [07:58] slaskis has joined the channel [07:58] Marak: ( fyi thats avianflu doing testing, the bot isnt crashing ) im talking to him about it now [07:58] saebekassebil: @konobi: ulimit: virtual memory: cannot modify limit: Operation not permitted [07:59] saebekassebil: But I don't think that's the problem with that much memory left.. [08:00] mikedeboer has joined the channel [08:01] darshanshankar has joined the channel [08:01] konobi: saebekassebil: that seems to be the only thing restricting memory right now... only alternative is to strace it to find out [08:01] dgathright has joined the channel [08:01] `3rdEden: Marak Y test on deployed bot [08:02] saebekassebil: @konobi, But the problem isn't to build it! My host can do that (apperently), but the problem is, when i call `node` i get an error that V8 is dead? [08:02] kohai: @chu_ken: text.ssig33.com - node.js でアプリケーションを作った。 http://tumblr.com/x3g2naj0r7 [08:02] saebekassebil: @konobi: FATAL ERROR: v8::Debug::SetDebugMessageDispatchHandler V8 is no longer usable [08:02] Marak: `3rdEden: its not that simple, hes testing other bots and didnt change up the namespace. hes not testing on the prod bot [08:02] Marak: check out the #kohai room for some battle bots [08:02] `3rdEden: oh okay [08:02] Marak: :p [08:03] mscdex: poor kohai, he's misunderstood [08:03] konobi: saebekassebil: weird [08:03] slaskis has joined the channel [08:04] mscdex: saebekassebil: same for `node -v` ? [08:04] AvianFlu has joined the channel [08:04] saebekassebil: mscdex: Nope [08:04] saebekassebil: That works just fine [08:04] mscdex: what does that output? [08:04] saebekassebil: v0.5.0-pre [08:04] mscdex: oh yeah [08:05] saebekassebil: ? [08:05] mscdex: well, your host should really be using the stable branch [08:05] mscdex: 0.4.8 is the latest stable version atm [08:05] mscdex: who knows what state the code was in when they downloaded master [08:05] saebekassebil: Well.. I'll try tell him that... And that he should update his python ;) [08:06] konobi: saebekassebil: are you attempting to run with the debugger? [08:06] mscdex: yeah, he may not _need_ to update python according to the node wiki, but still .... [08:06] groom has joined the channel [08:06] saebekassebil: @konobi: Don't think so, how would I do that? [08:06] konobi: saebekassebil: yeah, 0.5 should not be used... it's in a definite state of borken-ness [08:06] kohai: @poissonpie: gettin' me a node.js smartmachine...... [08:08] konobi: saebekassebil: https://github.com/joyent/node/tree/v0.4.8 [08:09] vikstrous: how do i define a many to many relationship in mongoose? [08:10] slaskis has joined the channel [08:11] kohai: @SeanNieuwoudt: Single page web apps with Node.js http://bit.ly/iHHUtI - nice read [08:11] jhurlima0 has joined the channel [08:12] MikhX has joined the channel [08:13] saebekassebil: @konobi, @mscdex: Thanks guys! I've send him a mail, and it should get working! [08:13] JackeyChan has joined the channel [08:15] slaskis has joined the channel [08:16] kohai: @bb_auto: [h] text.ssig33.com - node.js でアプリケーションを作った。 http://text.ssig33.com/51 [08:17] robhawkes has joined the channel [08:17] MrTopf has joined the channel [08:19] kohai: @andyeo: Good article "Single Page Apps With Node.Js.". Like the line: "Black boxes are cool" :-) http://bit.ly/iHHUtI #webapps #nodejs [08:20] eldios has joined the channel [08:20] kohai: @tek_news: HNews: Single Page Applications with Node.js http://bit.ly/mlOuID #nodejs #js [08:20] jbpros has joined the channel [08:20] slaskis has joined the channel [08:23] naneau has joined the channel [08:23] kohai: @drypot: Node.js 용 웹 프레임웍. 스크린캐스트 있어요. http://expressjs.com/ [08:24] kohai: @roidrage: Node.js + CoffeeScript + Twitter + OAuth: http://t.co/PXXkcH5 [08:24] e6nian: kohai: bot? [08:24] kohai: I am Kohai, semi-useful communications-facilitating pseudointelligence! [08:24] eldios: definitely [08:24] e6nian: eldios: lol :) [08:25] roidrage has joined the channel [08:26] markwubben has joined the channel [08:27] slaskis has joined the channel [08:27] Xano has joined the channel [08:27] hassox has joined the channel [08:28] AsDfGh1231 has joined the channel [08:29] kohai: @pgdev: @TheAllSeeingPie I've been looking at node.js too, not played around with it yet though. How's the Rails tinkering going? [08:30] cognominal_ has joined the channel [08:31] viz has joined the channel [08:31] unomi has joined the channel [08:32] slaskis has joined the channel [08:34] Esteb has joined the channel [08:34] kohai: @NodeJSAtSO: Node.js long poll logic help! http://bit.ly/ilkod1 [08:34] akshat[remote]: I am unable to install npm :( [08:34] akshat[remote]: the installer script just does nothing [08:35] ExsysTech has joined the channel [08:35] samsonjs_ has joined the channel [08:36] AsDfGh1231 has joined the channel [08:36] slaskis has joined the channel [08:37] mytrile has joined the channel [08:37] kohai: @rayie: #nodejs and #mongodb setup script on a fresh install of ubuntu 11.04 - http://rayie.posterous.com [08:37] kohai: @kalimbahn: Single Page Applications with Node.js http://goo.gl/fb/iToxL #hackernews #kalimba [08:38] samsonjs has joined the channel [08:39] knife has joined the channel [08:39] jonathantaylor has joined the channel [08:39] AsDfGh1231 has joined the channel [08:40] kohai: @newsyc20: Single Page Applications with Node.js http://blog.nodejitsu.com/single-page-apps-with-nodejs (http://bit.ly/ieglOB) [08:40] matseng has joined the channel [08:41] jeremyselier has joined the channel [08:41] TomY has joined the channel [08:41] [AD]Turbo: JSON.stringify() output format is UCS2 or UTF8 ? [08:41] meso_ has joined the channel [08:41] AsDfGh1231 has joined the channel [08:42] markwubben has joined the channel [08:42] apoc has joined the channel [08:42] AsDfGh1231 has joined the channel [08:43] slaskis has joined the channel [08:43] NeCkEr has joined the channel [08:43] MichealBenedict has joined the channel [08:43] kohai: @shadevampire: Single Page Apps with Node.js. - blog.nodejitsu.com - scaling node.js applications one callback at a time. http://bit.ly/m7WtvZ [08:44] AsDfGh1231 has joined the channel [08:44] kohai: @OseiBon: Working on creating a node.js server [08:45] Marak: !tweet @OseiBon That is great news! I could use a friend :-( [08:45] kohai: @NodeKohai: @OseiBon That is great news! I could use a friend :-( [08:45] kohai: @bastianalbers: The Node.js Database Drivers look promising: http://nodejsdb.org/ [08:45] Xano has joined the channel [08:46] sreeix has joined the channel [08:46] kohai: @smaaash: text.ssig33.com - node.js でアプリケーションを作った。 http://htn.to/yoNYh [08:46] MichealBenedict: ! [08:47] kohai: @myikegami_bot: Single Page Applications with Node.js http://goo.gl/fb/hY4Tm [08:47] MichealBenedict has joined the channel [08:49] slaskis has joined the channel [08:50] AsDfGh1231 has joined the channel [08:52] framlin: why do we have to read all that advertising-stuff every minute again :( [08:52] framlin: its only white noise .... [08:53] wilken has joined the channel [08:53] kohai: @ui_nyan: Reading : text.ssig33.com - いい加減 node.js で何も作ったことありません、じゃダサいだろうと思ったので。 http://j.mp/jfTlfu [08:54] slaskis has joined the channel [08:54] framlin: if I wanted to read twitter I would use a twitter - client ... :( [08:55] kixxauth has joined the channel [08:56] kohai: @paulbooker: "How To Use OAuth and Twitter in your Node.js / ExpressJS App » Moonlit Script" http://ur1.ca/498gz #oauth #nodejs #twitter [08:57] kohai: @jesusabdullah: BE A MAN FRAMLIN #nodejs [08:57] kohai: @cognominal: @coffeescript your book seems nice at first skimming. I would like more info on how to debug #nodejs with webkit. With screenshots. [08:58] kohai: @ciaran_j: @paulbooker if you want that out of the box, you might be interested in https://github.com/ciaranj/connect-auth #oauth #nodejs #twitter [09:00] slaskis has joined the channel [09:01] Ratty_ has joined the channel [09:02] Zarathust: how can I save node.io query output? Standard redirection does not work "node.io query "http://www.reddit.com" > test.html [09:02] kohai: @htnb_hot: text.ssig33.com - node.js でアプリケーションを作った。 http://dlvr.it/SfvPv [09:02] Zarathust: test.html is always empty [09:02] bzinger has joined the channel [09:02] Ratty_: I'm calling a function a lot which does: path.join(process.cwd(), dir); Sometimes this triggers a "Too many open files" error. I didn't know it was even opening a file. How do I ensure it's closed? [09:04] wjwoodward: Could someone with experience using node-static talk me through setting it up. This is my first day with node. [09:04] gozala has joined the channel [09:05] Ratty_: Well, I just slapped process.cwd() into a var. does the job I guess [09:05] meso__ has joined the channel [09:05] hwinkel has joined the channel [09:05] slaskis has joined the channel [09:06] darshanshankar has joined the channel [09:07] herbySk has joined the channel [09:07] kohai: @maraksquires: ...accept the Absurd and continues to live in spite of it. Camus endorsed this solution.... Kierkegaard regarded it as "demoniac madness" [09:07] dies_el has joined the channel [09:07] Marak: hrmmm we should remove that trigger [09:07] framlin: jesusabdullah: ;) [09:07] adrianmg has joined the channel [09:07] jesusabdullah: ^__^ [09:08] tbassetto has joined the channel [09:11] pluginbaby has joined the channel [09:12] pluginbaby has left the channel [09:12] kohai: @wJSnews: Single Page Apps with Node.js. - blog.nodejitsu.com - scaling node.js applications one callback at a time. http://bit.ly/lkwlxI [09:12] kohai: @TheAllSeeingPie: @pgdev The Rails stuff is ticking along nicely. Heroku is making it quite easy to get stuff out in the wild too. Node.js is pretty amazing! [09:12] slaskis has joined the channel [09:13] erikc has joined the channel [09:15] Ratty_: Is this the correct way to copy a file, because sometimes it writes nothing and there's no error: sys.pump(fs.createReadStream(source), fs.createWriteStream(dest)); [09:15] djcoin has joined the channel [09:17] slaskis has joined the channel [09:18] Ratty_: Oh, too many open files again. Really annoying working around those errors [09:18] superjudge has joined the channel [09:18] micheil has joined the channel [09:18] thalll has joined the channel [09:21] kohai: @philip_paetz: #falsyvalues anyone knows where to get @sh1mmer's node.js slides? wanna give a little presentation in my company ;) [09:21] sreeix_ has joined the channel [09:22] slaskis has joined the channel [09:23] kohai: @hatebu_new: text.ssig33.com - node.js でアプリケーションを作った。 http://goo.gl/KfGcM [09:23] kohai: @HiroshiNTCS: text.ssig33.com - node.js でアプリケーションを作った。 http://dlvr.it/Sg2fs [09:24] tg has joined the channel [09:27] AvianFlu: Ratty_: last I heard, sys was deprecated [09:27] kohai: @chandavid: Just liked: Single Page Applications with Node.js http://ow.ly/1cOHSW [09:28] kohai: @yotasurf2: text.ssig33.com - node.js でアプリケーションを作った。 http://dlvr.it/Sg49g [09:28] slaskis has joined the channel [09:29] mc_greeny has joined the channel [09:34] slaskis has joined the channel [09:34] MikeMakesIt has joined the channel [09:35] RushPL has joined the channel [09:36] kohai: @fille12: where can i find the #url to the #nodejs , #cross-browser #draggable element #jquery [09:36] kohai: @Jxck_: キャッシュ主体のアプリケーション(クライアント) -... http://tumblr.com/xf12nb7nxb [09:39] slaskis has joined the channel [09:39] secoif has joined the channel [09:41] aliem has joined the channel [09:41] kohai: @adebree: @jaapgorjup getting socket.io into @vordell might give me my weekend back ;) #properxdomain #Nodejs #javascript #socketio #singlepageapps [09:44] slaskis has joined the channel [09:44] grabarz has joined the channel [09:49] k1ttty has joined the channel [09:52] JoshC has joined the channel [09:52] mats65 has joined the channel [09:54] kohai: @AlaaBatayneh: Introduction to Node.js http://t.co/bqzvahs [09:57] sreeix has joined the channel [09:57] kohai: @Kieranties: Received an updated #ebook of Hands on Node.js http://j.mp/iMfE42 free as bought original. #whyiloveebooks [10:00] eee_mk has joined the channel [10:00] jxck has joined the channel [10:00] Twelve-60 has joined the channel [10:02] dgathright has joined the channel [10:04] kohai: @arunoda: Single Page Apps with Node.js http://blog.nodejitsu.com/single-page-apps-with-nodejs [10:05] Xano has joined the channel [10:05] jTNT has joined the channel [10:06] wilken has joined the channel [10:06] kohai: @Jxck_: あれトラッキングされてないのか? [10:07] sherod has joined the channel [10:09] sfoster has joined the channel [10:09] jTNT: ACTION slaps kohai on the back [10:09] pibi has joined the channel [10:10] saelfaer has joined the channel [10:11] moshe_ has joined the channel [10:12] kohai: @felixge: Release version 1.0.2 of my #nodejs formidable module. Adds support for the 'aborted' event. http://t.co/FdZExTX.0.1...v1.0.2 [10:15] kohai: @Jxck_: あ、IRCにログインしている人のツイートをトラックしているってことか? [10:16] sreeix_ has joined the channel [10:17] mats65 has joined the channel [10:17] johnnywengluu: hm i dont quite get the new npm [10:18] johnnywengluu: i did: "npm install express" but i can't do "express new_app" [10:18] johnnywengluu: "-bash: express: command not found" [10:20] fairwinds has joined the channel [10:21] ExsysTech has joined the channel [10:21] mikeric has joined the channel [10:24] jetienne has joined the channel [10:25] skm has joined the channel [10:28] skm has joined the channel [10:30] kohai: @Jxck_: ああ、twitterのストリームをなめてると、俺が引っかかるのか。何が引っかかってるかはわからないけど。http://bit.ly/ixtp2L [10:30] AsDfGh1231 has joined the channel [10:30] johnnywengluu: kohai: japanese? [10:30] kohai: I am Kohai, semi-useful communications-facilitating pseudointelligence! [10:30] jxck has joined the channel [10:31] johnnywengluu: kohai: you are a robot? [10:31] kohai: I am Kohai, semi-useful communications-facilitating pseudointelligence! [10:31] johnnywengluu: kohai: =) [10:31] kohai: I am Kohai, semi-useful communications-facilitating pseudointelligence! [10:32] kohai: @Jxck_: まあ、どうせ俺と @koichik くらいしか読めないだろうし、みんなが気にしないならいいんだけど。でも翻訳実装されて、APIで翻訳されたツイートがIRCに垂れ流されるのってどうなんだ(汗 [10:32] sherod has joined the channel [10:32] skoom has joined the channel [10:33] snearch has joined the channel [10:34] sechrist has joined the channel [10:34] dgathright has joined the channel [10:35] mscdex: johnnywengluu: i think you might have to do: npm install express -g [10:35] mscdex: or something [10:35] jesusabdullah: I just learned that you can embed javascript into pdfs [10:35] skm has joined the channel [10:35] mscdex: nodejs.pdf [10:35] mscdex: ! [10:35] jesusabdullah: YES [10:35] jesusabdullah: or, dnode-pdf [10:36] jesusabdullah: >:D [10:36] mscdex: i doubt it has sockets available though [10:36] mscdex: or xhr [10:36] kohai: @Jxck_: @maraksquires Oh It means that I caught with some keywords at config.json.defaults on twitter stream ? I see. [10:36] johnnywengluu: mscdex: what is -g? [10:37] johnnywengluu: global? [10:37] johnnywengluu: what happens else [10:37] jesusabdullah: Yes! [10:37] jesusabdullah: Yeah, me too mscdex :( [10:37] mscdex: johnnywengluu: yeah, i think you need -g for modules that install command-line tools like that [10:37] Zarathust: john : then everywhere you want to use it, you have to do npm link express [10:37] johnnywengluu: hmm .. cant find that option in npm help install [10:37] johnnywengluu: okay [10:38] johnnywengluu: isaacs should provide user doc for this [10:38] jesusabdullah: really? [10:39] jesusabdullah: I could swear I've seen docs on -g [10:39] jesusabdullah: It was kind of a big deal [10:39] johnnywengluu: github repo .. no info [10:39] kohai: @developerluke: Node.js ANSI logo - http://bit.ly/kQAo01 [10:39] johnnywengluu: npm help link/install no info [10:39] johnnywengluu: maybe a website documentation would be better [10:40] mscdex: yuck, it looks like javascript in pdf only allows SOAP calls as far as internet communication goes [10:40] mscdex: :\ [10:41] jesusabdullah: yuck! [10:41] jesusabdullah: But at least you could do something with that [10:42] mscdex: they do give you SQL database access via "ADBC" [10:42] jesusabdullah: Maybe I should just stick to entirely self-contained pdf's [10:45] mscdex: maybe we need a full featured pdf parser/generator for node! [10:45] kohai: @AmyStephen: /me saves this link http://blog.nodejitsu.com/single-page-apps-with-nodejs for Tracker reports on Joomla!'s URLs. [10:48] sreeix has joined the channel [10:50] blueadept has joined the channel [10:50] jxck has joined the channel [10:53] jbpros has joined the channel [10:54] mikl has joined the channel [10:54] mikl has joined the channel [10:56] mehlah has joined the channel [10:57] uchuff has joined the channel [10:57] sherod has joined the channel [11:02] bzinger has joined the channel [11:03] Xano has joined the channel [11:04] ASDF1234 has joined the channel [11:04] kohai: @KingScooty: @mediatemple Hey, i was wondering if you have any info / guides on installing Node.js on a (gs)? Or you could install it for me? haha. [11:04] mscdex: apple IIgs? :O [11:05] ASDF1234 has joined the channel [11:05] ASDF1234 has joined the channel [11:06] ASDF1234 has joined the channel [11:06] kohai: @junysb3: Single Page Apps with Node.js. - blog.nodejitsu.com - scaling node.js applications one callback at a time.: http://bit.ly/jN4uex [11:07] ASDF1234 has joined the channel [11:08] ASDF1234 has joined the channel [11:10] kohai: @fstraps: Single Page Apps with Node.js. - blog.nodejitsu.com http://t.co/nTF3yW9 [11:11] kohai: @alertmama: Socket To Me : A demo realtime chat app built using #NodeJS, @NowJSteam and @Appcelerator's #Titanium http://youtu.be/l97hEseBmbg [11:12] svenlito has joined the channel [11:12] svenlito has joined the channel [11:13] Wizek has joined the channel [11:14] Wizek_ has joined the channel [11:15] Garo_: is it better to write "return next();" or "next(); return;". Any opinions? [11:16] jesusabdullah: What would you be returning in the second one? I've only seen the first in js [11:16] jesusabdullah: I mean, there might be something i don't know, but does the latter even return anything? [11:16] ASDF1234 has joined the channel [11:16] Garo_: I'm assuming that the next() is a callback to somewhere which doesn't ever return anything usefull [11:17] jesusabdullah: In that case, I wouldn't even bother writing the return [11:17] jesusabdullah: just next() [11:17] some1else has joined the channel [11:17] ASDF12341 has joined the channel [11:17] Garo_: but I do need the return if I want to exit a big function from the middle, don't I? [11:17] ASDF12342 has joined the channel [11:18] galaxywatcher has joined the channel [11:18] jesusabdullah: I guess you could do it that way, though I can't think of a time I used return just to kill iteration [11:18] jesusabdullah: Not to say there isn't a case [11:18] jesusabdullah: just sayin' :) [11:18] Garo_: :) [11:19] Wizek has joined the channel [11:19] hellp has joined the channel [11:19] skoom has joined the channel [11:20] rchavik has joined the channel [11:20] mats65_ has joined the channel [11:21] mscdex: Garo_: i used to do the latter, but the former makes it a one-liner :) [11:21] skoom has joined the channel [11:21] jesusabdullah: It's true! [11:21] Garo_: mscdex: yeah. I started to wonder if V8 might do some optimization in the later case [11:21] quijote has joined the channel [11:22] Garo_: because in "next(); return;" the V8 compiler could be smart enough to know that the return wont ever return anything and do tail recursion [11:22] Garo_: but I have no idea if V8 actually does something like that [11:22] sechrist has joined the channel [11:22] saelfaer: hey, anyone here who knows something about npm? [11:23] saelfaer: having trouble getting it installed on one of my systems (vm) [11:23] Garo_: saelfaer: what kind of problem? [11:23] saelfaer: the shell script hangs somewhere in the middle [11:23] Garo_: saelfaer: https://github.com/isaacs/npm#readme [11:23] Garo_: saelfaer: you need to pass clean=no or clean=yes to the sh [11:23] saelfaer: no error... i did add some echo's in the middle to see where it gets [11:23] saelfaer: its before the clean script [11:23] Garo_: yeah, the new npm version asks if it should cleanup old installations [11:24] saelfaer: i know but i don't have a previous install on that vm so it isnt related to that [11:24] saelfaer: but thanks for the tip though [11:24] Garo_: then I don't know, but I had just similar problem with the npm asking about cleanup [11:24] saelfaer: :) [11:24] kohai: @stevenmilne: some nice sketchbook to screen shortcuts in here http://blog.nodejitsu.com/single-page-apps-with-nodejs [11:24] Garo_: the npm install asks about the cleanup even if there isn't any old installations [11:24] kohai: @mediatemple: @KingScooty Due to shared and clustered architecture of (gs), install of node.js is not possible. Would require a (dv) or (ve) Server. ^SS [11:24] daglees has joined the channel [11:24] Garo_: so I just use "curl http://npmjs.org/install.sh | clean=yes sh" in my VM installation scripts [11:25] saelfaer: jep that i tried as well [11:25] saelfaer: but it hangs somewhere when it tries to do something with node [11:25] saelfaer: i don't have the script open atm, but i added loads of echo's to see what line it hangs on :) [11:26] forzan_ has joined the channel [11:27] ASDF1234 has joined the channel [11:28] kohai: @news01_feed: [はてブ:IT] text.ssig33.com - node.js でアプリケーションを作った。 http://dlvr.it/SgpzP [11:29] kohai: @dvydra: Why do I keep trying to program in node.js while drunk? It's not going to make it easier, is it? [11:29] forzan: it may help you focus on one thing at a time [11:29] forzan: that's what drunken programming does for me [11:30] saelfaer: depends how drunk [11:31] saelfaer: you're free to code drunk, but i suggest to write your tests sober :p [11:32] kohai: @altnight: / text.ssig33.com - いい加減 node.js で何も作ったことありません、じゃダサいだろうと思ったので。 / http://text.ssig33.com/51 [11:32] forzan: drunk tests are better too I think [11:33] forzan: you'll be working with one feature at a time [11:33] forzan: now, deciding what you plan to test should be done before drinking [11:34] forzan: but the actual writing of tests is such a god awful task that you should be drunk [11:34] diaswrd has joined the channel [11:37] mehlah has joined the channel [11:38] cryptix has joined the channel [11:41] LolaLiLu has joined the channel [11:41] dnolen has joined the channel [11:43] kohai: @nicksergeant: Single page apps with Node.js http://t.co/M6mxbgP [11:44] gazumps has joined the channel [11:46] nu- has joined the channel [11:46] LolaLiLu has left the channel [11:46] sechrist has joined the channel [11:47] mscdex: node.js rules! [11:48] kohai: @jsMagazine: [js人気情報] node.js アプリの負荷分散構成を考える - KrdLabの不定期日記 http://bit.ly/ixUpnX #javascript [11:48] MikeMakesIt has joined the channel [11:49] broofa has joined the channel [11:49] amaudy has left the channel [11:50] kohai: @jakubnesetril: @dvydra Gimme a shout if you get stuck. Been coding #nodejs on-off for a year now, fulltime last couple weeks. [11:51] kohai: @feedel: My fav hosting company just started hosting node.js!!! Which is great! Go and check this out! #hosting #nodejs [11:52] kohai: @feedel: My fav hosting company just started hosting node.js!!! Which is great! http://www.megiteam.pl - go and check this out! #hosting #nodejs [11:53] mscdex: !tweet @dvydra there's also #node.js on irc.freenode.net if you have any questions [11:53] kohai: @NodeKohai: @dvydra there's also #node.js on irc.freenode.net if you have any questions [11:55] kohai: @NodeJSAtSO: Documenting Node.js projects http://bit.ly/jJoiVR [11:55] kohai: @NodeJSAtSO: Node.js and Express session handling - Back button problem http://bit.ly/lUXfko [11:55] kohai: @ATM_09_TD: node.js アプリの負荷分散構成を考える - KrdLabの不定期日記 http://htn.to/ND6ij2 [11:56] LolaLiLu has joined the channel [11:57] LolaLiLu has left the channel [11:57] piscisaureus has joined the channel [11:57] kohai: @MikeTheTechie: Throughput limiting with node.js - So, what happens if the node.js server gets busier and busier? Can the... http://tumblr.com/xe32ncbard [11:58] jtrudeau has joined the channel [11:59] FireFly has joined the channel [12:00] doug__ has joined the channel [12:01] ryankirkman has joined the channel [12:05] tiagoa has joined the channel [12:05] doug__: anyone eble to help me with an express.js question? http://jsfiddle.net/YgyTr/2/ Trying to use partials and i'm not sure why the following isn't working [12:05] dwiash has joined the channel [12:05] gaYak: 13 [12:09] javaanse_jongens has joined the channel [12:09] roar has joined the channel [12:11] unomi has joined the channel [12:11] postwait has joined the channel [12:11] kohai: @gonzalo123: Real time notifications (part II). Now with node.js and socket.io http://wp.me/pqmgV-eo [12:11] roidrage has joined the channel [12:12] kohai: @bmn: what? node.js doesn't have a seek function on fs? [12:12] jbpros has joined the channel [12:12] LolaLiLu has joined the channel [12:14] prettyrobots has joined the channel [12:14] erikc: If you are sharing fds beween different parts of the program then seek doesn't make any sense for node. [12:14] erikc: Or maybe it's just that noone could be bothered to implement it :-) [12:15] LolaLiLu has joined the channel [12:16] abraham has joined the channel [12:19] viz has joined the channel [12:20] mscdex: !tweet @bmn no, but you can fs.read() from any position in the file [12:20] kohai: @NodeKohai: @bmn no, but you can fs.read() from any position in the file [12:20] LolaLiLu has left the channel [12:20] LolaLiLu has joined the channel [12:20] kohai: @bmn: @NodeKohai the file is changing size every second... & I never know how large it is. [12:22] ruquay has joined the channel [12:23] mscdex: !tweet @bmn you'll need to keep a current position variable around then, unless you are trying to get the changes as they come [12:23] kohai: @NodeKohai: @bmn you'll need to keep a current position variable around then, unless you are trying to get the changes as they come [12:23] fumanchu182 has joined the channel [12:24] nibbo has joined the channel [12:24] Wizek has joined the channel [12:24] dyer_away has joined the channel [12:24] roar: yay tab complete [12:25] kohai: @bmn: @NodeKohai http://t.co/bhy8fhw like so? [12:27] jarek has joined the channel [12:27] jarek has joined the channel [12:27] jarek has joined the channel [12:31] neoesque has joined the channel [12:32] nibbo: Anybody good with child processes? Having a problem described here: http://pastebin.com/ZACZhYDw I think that it is executing the command, meant to be passed to the remote machine, on my local machine. Any ideas? [12:33] sreeix_ has joined the channel [12:36] kohai: @sada_h: @lino_s 有給使っているのでw Java SE7 と node.js あたりを中心に聴いてこようと思っています。 [12:37] aconbere has joined the channel [12:38] postwait has joined the channel [12:38] mscdex: !tweet @bmn maybe something more like this, but there might be a better solution depending on what you're really wanting to do: http://bit.ly/lQ1vvM [12:38] kohai: @NodeKohai: @bmn maybe something more like this, but there might be a better solution depending on what you're really wanting to do: http://bit.ly/lQ1vv [12:38] mscdex: hah hit the limit [12:38] mscdex: !tweet @bmn that should be: http://bit.ly/lQ1vvM [12:38] kohai: @NodeKohai: @bmn that should be: http://bit.ly/lQ1vvM [12:39] kohai: @Jxck_: Web SQL Database についてボヤく - 仕様が策定中止になって知る限りそのまま。 iPhoneとかChromeExtとか限られた場所で先行実装をツッカタリハアルミタイダケド http://tumblr.com/xf12ncohas [12:40] kohai: @bmn: @NodeKohai sweet, thanks - I'll take a look. [12:40] kohai: @Jxck_: ぎゃ [12:42] indutny has joined the channel [12:42] amaudy has joined the channel [12:43] brianseeders has joined the channel [12:44] VovaZaycev has joined the channel [12:45] mendel_ has joined the channel [12:46] kohai: @bmn: @NodeKohai can't seem to find that function def of read - looks different to all the ones I can find. [12:47] jetienne has joined the channel [12:48] broofa has joined the channel [12:48] temp01 has joined the channel [12:48] ip5432 has joined the channel [12:49] kohai: @sveisvei: Check out nib for stylus https://github.com/visionmedia/nib . A "compass" for stylus/node.js #nodejs #compass #stylus [12:49] kohai: @roidrage: OH: From now on, I'll store all my data in Node.js [12:49] mscdex: !tweet @bmn http://nodejs.org/docs/v0.4.8/api/fs.html#fs.read [12:49] kohai: @NodeKohai: @bmn http://nodejs.org/docs/v0.4.8/api/fs.html#fs.read [12:50] liar has joined the channel [12:50] kohai: @bmn: @NodeKohai cool ta :) [12:50] `3rdEden: mscdex thats not seek [12:50] kohai: @cleverappz: @balupton Thanks! Will look into it. Not a big fan of node.js yet though ;) [12:50] mscdex: `3rdEden: i didn't say it was? [12:51] `3rdEden: mscdex nope, but I thought that was what he was searching for [12:51] mscdex: `3rdEden: i thought so too, but judging by the original code sample that's not what he was really needing [12:51] `3rdEden: Oh, okay mscdex [12:57] jonasen has joined the channel [12:58] kohai: @petrjanda: Happy to see all that beautiful code in #nodejs open source projects. There is army of great developers out there :P [12:59] luchox has joined the channel [13:00] arpegius has joined the channel [13:01] neshaug has joined the channel [13:05] kohai: @github_js: Beseda - Fast, well designed and featured Node.js Pub/Sub server based on patched Socket.io http://bit.ly/lcYuV9 [13:05] kohai: @rgaidot: "Single Page Apps With Node.Js." http://t.co/777PXK5 [13:05] lukegalea has joined the channel [13:06] adambeynon has joined the channel [13:07] kohai: @camilstoenescu: Single Page Apps With Node.Js http://bit.ly/jUQbHj [13:07] kohai: @3rdEden: On my way to @macme #groningen for a new MBP "17 [13:08] temp01 has joined the channel [13:08] joe_ingersoll has joined the channel [13:11] wink_ has joined the channel [13:16] robhawkes has joined the channel [13:17] mike5w3c has joined the channel [13:17] kohai: @usthemes: #wordpress #wp #seo: This Time, You’ll Learn Node.js http://premiumwordpress.tv/this-time-you%c2%92ll-learn-node-js/ [13:20] stepheneb has joined the channel [13:21] bbttxu has joined the channel [13:22] jlecker has joined the channel [13:23] jeremyselier has joined the channel [13:23] ncb000gt has joined the channel [13:24] Mrfloyd has joined the channel [13:24] xandrews has joined the channel [13:26] indutny has joined the channel [13:26] fermion has joined the channel [13:26] kohai: @id_replication: text.ssig33.com - node.js でアプリケーションを作った。 http://htn.to/TViyVG [13:26] indutny: pquerna: hi! [13:27] indutny: pquerna: want to say, that your "Cast" is a truly black magic [13:27] beawesomeinstead has joined the channel [13:27] kohai: @rmat0n: Java Non-blocking Servers, and What I Expect node.js to do if it is to Become Mature http://bit.ly/kFeLJh #java #nodejs #nio [13:27] chapel: have you used it indutny? [13:28] indutny: chapel: yes, but not in a production for now [13:28] chapel: ah, I've looked at it, but don't have a use for it just yet [13:28] amacleod has joined the channel [13:28] indutny: chapel: I've few VMs running with it and everything works [13:29] indutny: truly black magic [13:29] chapel: marak mentioned you guys are working on some community help site for node.js, any info on that? [13:29] vyvea has joined the channel [13:29] LolaLiLu has joined the channel [13:29] chapel: on the email list that is [13:29] LolaLiLu has left the channel [13:30] LolaLiLu has joined the channel [13:30] vyvea: Hello, maybe anyone use https://github.com/ncr/node.ws.js this? [13:31] kohai: @zeiban: Working on a #nodejs app using @cloud9ide and will be deploying it with @nodester. #webgl #websockets [13:31] aconbere has joined the channel [13:31] indutny: chapel: can you please give me a link to that message? [13:32] temp01 has joined the channel [13:32] nexxy has joined the channel [13:33] jacobolus has joined the channel [13:33] trotter has joined the channel [13:34] chapel: http://groups.google.com/group/nodejs/msg/8739094ee4782582 [13:34] kohai: @Jxck_: Web SQL Database についてボヤく - 仕様が策定中止になって知る限りそのまま。 iPhoneとかChromeExtとか限られた場所で先行実装を使ったりはあるみたいだけど。... http://tumblr.com/xf12nd6tcu [13:35] temp01 has joined the channel [13:36] chapel: you get that indutny? [13:36] kohai: @freesource: Node.js 0.4.8 released http://bit.ly/jkfBpj [13:36] indutny: chapel: sorry, was afk [13:36] kohai: @Cyb3r: Node.js 0.4.8 released: The latest update to the server-side JavaScript-based web framework improves error repor... http://bit.ly/jkfBpj [13:36] shimondoodkin_ has joined the channel [13:37] indutny: chapel: it'll be better to contact Marak about that, I can't give you any information related to that topic [13:37] chapel: okay [13:37] chapel: :) [13:37] chapel: thanks though [13:37] chapel: ACTION goes afk [13:38] liquidproof has joined the channel [13:38] kohai: @Jxck_: MBAにiWork入れるかで悩んだけど、邪魔だしやめた。 [13:38] indutny: ACTION goes afk too [13:39] okuryu has joined the channel [13:39] aheckmann has joined the channel [13:43] kohai: @honlinenews: Node.js 0.4.8 released http://h-online.com/-1247905 [13:44] thomblake has joined the channel [13:44] timmywil has joined the channel [13:44] jetienne: `3rdEden: websocket client are runnable from a browser webworker ? [13:44] vyvea: Hello, http://paste.org/pastebin/view/33799 [13:45] vyvea: How to send data for all connected client's? [13:45] vyvea: This only from one client send something like "Hello" and get "Thanks", but other connected client's don't get message "Thanks!" [13:45] kohai: @3DR: Node.js 0.4.8 released: The latest update to the server-side JavaScript-based web framework improves error repor... http://bit.ly/jzmKdi [13:46] kohai: @yo9fah: Node.js 0.4.8 released http://h-online.com/-1247905 via @honlinenews [13:46] eldios: holy cow [13:46] nuba has joined the channel [13:46] eldios: someone stop that BOT!! [13:46] eldios: or at least make it WAY LESS verbose [13:46] kohai: @jwoschitz: How to develop a web app with node.js - http://blog.nodejitsu.com/single-page-apps-with-nodejs [13:46] davidsklar has joined the channel [13:47] kohai: @phorword: Good list of resources for single page apps http://blog.nodejitsu.com/single-page-apps-with-nodejs [13:47] kohai: @s3cb0t: Node.js 0.4.8 released: The latest update to the server-side JavaScript-based web framework improves error repor... http://bit.ly/kAjzSO [13:47] kohai: @heiseonlinepl: Node.js 0.4.8 released: The latest update to the server-side JavaScript-based web framework improves error repor... http://bit.ly/kpjKLt [13:48] temp01 has joined the channel [13:48] kkaefer: how can I call "process.nextTick()" from c++ land? [13:48] bbttxu has joined the channel [13:48] kkaefer: is there a better way than to roundtrip through js land? [13:48] c4milo has joined the channel [13:48] kohai: @smashingmag: Node.JS Help Sheet PDF - http://bit.ly/iOUj2h [13:48] kohai: @manojvirani: Wow! look at this Node.js 0.4.8 released: The latest update to the server-side JavaScript-based web framework imp... http://adf.ly/1aGnm [13:48] kohai: @sifutwit: Node.js 0.4.8 released: The latest update to the server-side JavaScript-based web framework improves error repor... http://bit.ly/kAjzSO [13:49] amocla has joined the channel [13:49] LolaLiLu has left the channel [13:49] kriszyp has joined the channel [13:50] LolaLiLu has joined the channel [13:50] kohai: @deimler: “@smashingmag: Node.JS Help Sheet PDF - http://cl.ly/6yPm” [13:50] LolaLiLu has left the channel [13:50] kohai: @jamesjgill: Big thanks to @smashingmag for tweeting our #NodeJS Help Sheet: http://t.co/xrPqChO [13:50] nuba has joined the channel [13:51] kohai: @proteanbm: GoSquared – Blog – Panic Over! Node.JS Help Sheet is here. http://bit.ly/lulUAR [13:51] kohai: @igorescobar: Node.JS Help Sheet PDF - http://bit.ly/iOUj2h @smashingmag #nodejs [13:51] kohai: @devjul: GoSquared – Blog – Panic Over! Node.JS Help Sheet is here. http://t.co/oJDrOke via @GoSquared [13:51] kohai: @cscade: MooTools works on node.js now... BEST DAY EVAR [13:51] k1ttty has joined the channel [13:53] kohai: @pyryl: Good article showing the way for the technical architecture in (future) web apps http://blog.nodejitsu.com/single-page-apps-with-nodejs [13:53] esmaxwill has left the channel [13:54] ceej has joined the channel [13:55] Bradleymeck has joined the channel [13:55] kohai: @brendanharriff: Node.JS Help Sheet PDF - http://bit.ly/iOUj2h (via @smashingmag) #fb [13:56] kohai: @newsery3: Node.JS Help Sheet - http://bit.ly/l2Ybhz - [Hacker News FH] [13:57] kohai: @internetsurfing: GoSquared – Blog – Panic Over! Node.JS Help Sheet is here. http://t.co/Jy8xNg2 via @GoSquared [13:57] nuba has joined the channel [13:57] kohai: @hnfirehose: Node.JS Help Sheet: http://bit.ly/jVlFj6 [13:57] kohai: @lyanghsueh: Node.js Help Sheet PDF http://t.co/nawilUd via @gosquared [13:57] kohai: @gallypette: #NodeJS Help Sheet.pdf http://bit.ly/m2WDOd [13:58] kohai: @1Marc: @antonpeck working on my Node.JS / CouchDB social search engine...trying to get a proof of concept launched. [13:58] timmywil has joined the channel [13:59] NetRoY has joined the channel [13:59] postwait has joined the channel [14:00] `3rdEden: jetienne yes, inside the latest chrome builds [14:00] NetRoY has joined the channel [14:00] kohai: @HNTweets: Node.JS Help Sheet: http://bit.ly/jzMWSX Comments: http://bit.ly/mIxmvu [14:00] `3rdEden: jetienne older versions do not support it yet [14:00] yhahn has joined the channel [14:01] d0k has joined the channel [14:01] caike has joined the channel [14:01] caike: e123k [14:01] jetienne: `3rdEden: cool :) [14:02] kohai: @mattpaulellis: "@GoSquared @smashingmagazine: Node.JS Help Sheet PDF - http://bit.ly/iOUj2h [14:02] LolaLiLu has joined the channel [14:02] kohai: @italoveloso: Conversa bacana aqui na Zoom na Web sobe o #nodejs Vamo que vamo [14:03] LolaLiLu has left the channel [14:03] LolaLiLu has joined the channel [14:05] kohai: @KingScooty: Argh, so MediaTemple doesn't support node.js on the (gs). Looks like i'm gonna have to use Web Sockets from my own server. #hardcorenodedev [14:05] aheckmann has joined the channel [14:05] dcampano has joined the channel [14:05] LolaLiLu has joined the channel [14:05] kohai: @34m0: Node.js cheat sheet: http://goo.gl/NcBmh [14:06] kohai: @HNComments: Node.JS Help Sheet http://bit.ly/iZvFxL [14:06] avalanche123 has joined the channel [14:07] brolin has joined the channel [14:07] kohai: @gingerkidweb: Node.JS Help Sheet PDF - http://bit.ly/iOUj2h [14:08] burningdog has joined the channel [14:08] xandrews has joined the channel [14:08] ceej has joined the channel [14:09] kohai: @Maverism: @kingscooty try #duostack as they will host your node.js at low to no cost ... let us know how it goes! [14:09] mynyml has joined the channel [14:10] kohai: @YCHackerNews: Node.JS Help Sheet: Comments: [14:10] drudge: man kohai can really be annoying :P [14:10] kohai: @aamod: #nodejs help sheet. http://j.mp/mHt3JR (via @mayankmishra) [14:11] mischief has joined the channel [14:11] prof-freud has joined the channel [14:11] brianc1 has joined the channel [14:12] eldios: ARGH [14:12] eldios: wait [14:12] kohai: @eldios: this it an IRC message for @kohai #nodejs #kohai #bot just SHUT UP! pls just kill it! [14:13] eldios: >.< [14:13] mc_greeny has joined the channel [14:14] kohai: @feedcatdemon: The H - Node.js 0.4.8 released http://bit.ly/kdnHP3 [14:14] mischief has joined the channel [14:15] kohai: @wildgames: Trasteando con Node.JS para hacer el chat de WildGames. Tiene muy buena pinta pero instalarlo en el server es un infierno. :P [14:16] kohai: @cou929: node本. 6/1まで4USD / Hands-on Node.js book http://htn.to/GadYAS [14:16] kohai: @pokkrap: Node.JS Help Sheet: Comments http://bit.ly/lNXH9q [14:16] sivy has joined the channel [14:17] LolaLiLu has left the channel [14:17] LolaLiLu has joined the channel [14:17] kohai: @Grifs99: H-online.com - Node.js 0.4.8 released http://bit.ly/kQPdox [14:18] boaz has joined the channel [14:18] nuba has joined the channel [14:19] kohai: @_kosei_: Hands on book of Node.js http://nodetuts.com/handson-nodejs-book.html [14:19] jetienne has joined the channel [14:19] Swimming_bird has joined the channel [14:20] BillyBreen has joined the channel [14:20] jTNT has joined the channel [14:20] mischief has joined the channel [14:20] jTNT: g'devening [14:20] kohai: @mikeyW17: Node.JS Help Sheet http://mw17.us/it35kN [14:22] pandeiro has joined the channel [14:22] LolaLiLu has left the channel [14:23] LolaLiLu has joined the channel [14:23] dies_el has joined the channel [14:23] kohai: @ToQoz: text.ssig33.com - node.js でアプリケーションを作った。 http://htn.to/TJ84Q9 [14:24] kohai: @thunderbird1: Informative and Interesting -- Introduction to Node.js with Ryan Dahl http://t.co/GzzYAJ6 via @youtube [14:24] benmonty has joined the channel [14:25] strmpnk has joined the channel [14:25] kohai: @toxikus: Is there any database available on @nodester ? #nodejs [14:25] pandeiro has joined the channel [14:26] Aikar: /ignore kohai >_> [14:26] Aikar: way too spammy [14:26] pifantastic has joined the channel [14:26] kohai: @mediatemple: @kingscooty Have you checked out our (dv) and (ve) servers? Can config node.js on either. ^SC [14:26] jbpros has joined the channel [14:26] spaceinvader: hmmm [14:26] spaceinvader: !mute 99999999999 [14:26] kohai: @larrywright: Useful Node.JS help sheet http://bit.ly/ln7fNR [14:27] kohai: @nodejsblog: new :: node.js アプリの負荷分散構成を考える – KrdLabの不定期日記(f-star) http://dlvr.it/ShtMB [14:27] spaceinvader: lame [14:27] kohai: @fille12: where is the #socket.io docs ? #nodejs [14:27] LolaLiLu: ignored [14:28] kohai: @davidbarral: A Not Very Short Introduction To Node.js http://goo.gl/AOxdA [14:29] bbttxu has joined the channel [14:30] kohai: @KingScooty: @mediatemple Yeah, it's just a bit out of my price range for the kind of node.js experimentation i'll be doing. I'm still only learning... [14:30] Xano has joined the channel [14:30] LolaLiLu has joined the channel [14:31] test1 has joined the channel [14:31] test1: hey all - anyone have any experience with expresso? [14:32] adelgado has joined the channel [14:33] bingomanatee has joined the channel [14:33] NetRoY has joined the channel [14:34] supjeff has joined the channel [14:34] kohai: @onlyPHP: Real time notifications (part II). Now with node.js and socket.io http://is.gd/y8ityH [14:35] BillyBreen1 has joined the channel [14:35] bshumate has joined the channel [14:35] tikva has joined the channel [14:36] kohai: @wJSnews: GoSquared – Blog – Panic Over! Node.JS Help Sheet is here. http://bit.ly/jgB0J4 [14:37] kohai: @NodeJSAtSO: Node.js WebSocket http://bit.ly/jeO5N6 [14:39] kohai: @gtach: @yssk22 あらゆる node.js でwww [14:39] dguttman has joined the channel [14:40] kohai: @CommonFollower: Why do so many programmers seem to hate anything outside their normal box? http://tinyurl.com/3fpzquy #nodejs #java [14:40] BillyBreen has joined the channel [14:41] bbttxu has joined the channel [14:42] hybsch has joined the channel [14:43] kohai: @allison_house: OH: "My mom is teaching a class on Node.js right now. What? Why is everyone laughing?" [14:43] kohai: @_gareth: @samknight “@smashingmag: Node.JS Help Sheet PDF - http://t.co/xctjBHm” [14:43] kohai: @jcleblanc: Node.js Help Sheet http://bit.ly/lLswx1 [14:43] softdrink has joined the channel [14:44] HerrTopf has joined the channel [14:44] pandeiro has joined the channel [14:44] aphelion has joined the channel [14:44] aphelion has joined the channel [14:46] aho has joined the channel [14:47] kohai: @jsMagazine: [js人気情報] GoSquared – Blog – Panic Over! Node.JS Help Sheet is here. http://bit.ly/jGkyQp #javascript [14:48] kohai: @nicholefoss: Official Node.js Job Board Pops Onto the Web http://pulsene.ws/1641d [14:48] kohai: @REDDITSPAMMOR: #reddit node.js help sheet: submitted by Clex- [link] [comment] http://bit.ly/jPGYYR #rulez [14:48] kohai: @bb_auto: [r/pr] node.js help sheet: submitted by Clex- [link] [comment] http://bit.ly/khOiIk [14:48] sebbie has joined the channel [14:49] abraham has joined the channel [14:52] cloudhea1_ has joined the channel [14:52] Corren has joined the channel [14:52] unomi has joined the channel [14:52] BillyBreen has joined the channel [14:53] jbpros has joined the channel [14:53] FGRibreau has joined the channel [14:53] newy_ has joined the channel [14:53] saschagehlich has joined the channel [14:54] kohai: @krzychukula: Hosting Node.js po polsku http://ff.im/-E0e90 [14:55] rfay has joined the channel [14:56] mikeal has joined the channel [14:56] MikeMakesIt has joined the channel [14:57] cloudhead_ has joined the channel [14:58] SeyZ has joined the channel [15:00] kohai: @TheOrbifold: Node.js cheat/help sheet over here http://bit.ly/mHt3JR [15:00] bbttxu has joined the channel [15:00] kohai: @bartezzini: Node.JS Help Sheet: Comments http://goo.gl/fb/9idyv [15:00] cloudhead has joined the channel [15:00] grabarz has joined the channel [15:00] jxck has joined the channel [15:01] jetienne has joined the channel [15:01] kohai: @joemccann: Added moar cowbell to Tick, my weekend #nodejs project. @clintandrewhall provided some slick styling. https://github.com/joemccann/tick [15:01] nibblebot has joined the channel [15:03] eldios: for the one interested (and using a real IRC client) ---> /ignore ALL kohai [15:03] chapel: lol [15:04] sonnym1 has joined the channel [15:04] chapel: I don't care about it, but would like to not have it show as activity on my client [15:04] kohai: @kalimbahn: Node.JS Help Sheet http://goo.gl/fb/qSWO2 #hackernews #kalimba [15:04] jlecker has joined the channel [15:04] jetienne: eldios: or move the bot on another channel [15:04] test1 has joined the channel [15:05] eldios: mmm yes.. problem is I'm not the owner of the chan nor the owner of the bot [15:05] kohai: @sasaplus1: text.ssig33.com - node.js でアプリケーションを作った。 http://htn.to/QH4tDP [15:05] eldios: If so I would have made it "per request" .. like a subscription bot or something [15:05] eldios: not a main chan one [15:05] eldios: konobi, pls kick kohai it's really disturbing [15:07] BillyBreen1 has joined the channel [15:07] broofa has joined the channel [15:07] Mrfloyd has joined the channel [15:08] heavysixer_ has joined the channel [15:08] fly-away has joined the channel [15:09] jetienne: +1 [15:09] eee_c has joined the channel [15:11] kohai: @lamptag: Java Non-blocking Servers, and What I Expect node.js to do if it is to Become Mature http://bit.ly/lQjgA8 #Server-side [15:12] brolin has joined the channel [15:12] kohai: @LazycoderLinks: A Not Very Short Introduction To Node.js http://j.mp/jOLxH6 (via Instapaper) [15:13] kohai: @toxikus: Is there a database available on @nodester that I can use from #nodejs [15:13] eldios: as I just put it in ignore list it's a problem of mine anymore but I fear that other users can easily loose some sentences because of the frequent updates of kohai [15:13] hdon has joined the channel [15:13] kohai: @ShawnRMclean: Node.JS Help Sheet is here. http://t.co/hh0vTFa via @GoSquared [15:15] guybrush: one could argue for kohai, he brings all the questions from twitter in here so that we can respond fast to it :D -- btw kohai is on my ignorelist :p [15:15] tauren has joined the channel [15:15] grabarz has joined the channel [15:15] guybrush: at least in this channel [15:16] c4milo: hey, in npm can I specify the git repository for a given package? [15:16] guybrush: c4milo: not to install from [15:16] c4milo: guybrush: ah :(, that's a bummer [15:17] guybrush: you can specify dependency-urls [15:17] guybrush: which may be tarballs from git-refs [15:17] guybrush: thats what i do [15:17] chapel: I think it can be useful, the issue is just having a bunch of RT spam, and stuff that isn't useful [15:19] guybrush: chapel: there is just too much noise in the twitter-universe about nodejs (nowadays) [15:19] chapel: yeah [15:19] fly-away has joined the channel [15:19] Esteb has joined the channel [15:20] chapel: I guess it would be nice if there was some way to cut out all the noise, and stick to actual conversation [15:20] guybrush: so people who want to get into touch closer with node-devs will join this channel [15:20] guybrush: otherwise they could just tweet [15:20] drogoh: Interesting, installing jade periodically breaks updates on one of my FreeBSD boxes [15:20] guybrush: but i am fine with kohai :) [15:20] guybrush: just ignore him if you dont like the "spam" [15:21] guybrush: drogoh: what do you mean with "breaks updates" [15:22] pootietang has joined the channel [15:22] pootietang has joined the channel [15:22] kohai: @rgaidot: "Get the Node.JS Help Sheet" http://t.co/ll3n3Zl [15:22] drogoh: guybrush: More specifically, it makes it so you can't build any of the FreeBSD docs [15:23] kohai: @phineasb: Lean meal for lean start up lessons learned (@ Dean & DeLuca w/ 4 others) http://4sq.com/kZdarY [15:23] guybrush: sorry i dont get it :p [15:23] drogoh: We use openjade, but something in the ports seems to like when /usr/local/bin/jade exists [15:23] drogoh: If jade is installed, it'll try calling jade instead of openjade, thus broken updates [15:24] kohai: @dezmozz: i am in <3 with #javascript #nodejs [15:25] MikhX has joined the channel [15:25] kohai: @tek_news: HNews: Node.JS Help Sheet http://bit.ly/iwaRFZ #nodejs #cheatsheet [15:25] seivan has joined the channel [15:25] kohai: @gomfunkel: Looking for pictures taken with cameras of different vendors. Any help will be greatly appreciated. http://t.co/bql3oy0 #nodejs #exif [15:25] guybrush: so you have to decide what is more important to you :p [15:26] sub_pop has joined the channel [15:26] tmpvar has joined the channel [15:26] aphelion has joined the channel [15:26] aphelion has joined the channel [15:26] Bradleymeck has joined the channel [15:27] Bradleymeck has joined the channel [15:27] robhawkes has joined the channel [15:27] guybrush: some options: 1) dont install jade globally 2) install jade globally and rename the bin 3) install jade somewhere and ln it into your PATH [15:27] drogoh: I know ;p [15:28] drogoh: I found where it's being called [15:28] kohai: @ivarvermeulen: Bekijkt het codem project van @bartzon en @tieleman cool om te zien dat de NPO ook gebruikt maakt van node.js [15:28] kohai: @nickstadb: Intrigued by "node.js"! Surely JavaScript is a bad choice for "scalable network programs"? Comments? #javascript #nodejs [15:28] kohai: @tmpvar: http://t.co/FY16ZkX [15:29] hellp has joined the channel [15:29] Venom_X has joined the channel [15:31] kohai: @mAuo: Node.js cheatsheat -> http://j.mp/lNZWSG [15:33] ip5432 has joined the channel [15:33] kohai: @WaiKeeK: Who is Using Node.js And Why? Yammer, Bocoup, Proxlet and Yahoo http://t.co/B5unhEJ via @bostinnovation [15:34] wdperson has joined the channel [15:34] jbpros has joined the channel [15:34] kohai: @phineasb: It's a problem, I know. #todayskicks (@ David Z. / Ana Koordi Shoe Co.) [pic]: http://4sq.com/l0FKvG [15:35] tanepiper: kohai has probably gone quite a bit up the log rankings in the last few days :/ [15:36] ehd_ has joined the channel [15:36] briznad has joined the channel [15:36] pandeiro has joined the channel [15:36] kohai: @geekyMinute: node.js help sheet: submitted by Clex- [link] [comment] http://bit.ly/khOiIk [15:37] jzacsh has joined the channel [15:37] jzacsh has joined the channel [15:37] chapel: lol [15:38] c4milo: who is using coffee script? [15:39] fostah has joined the channel [15:39] towski has joined the channel [15:40] eresair has joined the channel [15:41] donaldpcook has joined the channel [15:41] mif86 has joined the channel [15:41] kohai: @geekofhearts: parallel compilation ftw, just compiled node.js in just over a minute. :) [15:41] jetienne has joined the channel [15:42] kohai: @phineasb: I'm at Meetup HQ (632 Broadway, at Bleecker, New York) w/ 2 others http://4sq.com/lhDvVh [15:42] tcurdt has joined the channel [15:42] nuba has joined the channel [15:42] EvanCarroll: as in, Meetup.com ? [15:43] EvanCarroll: re: kohai [15:43] segaway has joined the channel [15:43] caolanm has joined the channel [15:45] tjholowaychuk has joined the channel [15:45] kohai: @jackbach: Single Page Apps With Node.js. http://t.co/ZfObwB5 [15:46] stephank has joined the channel [15:46] kjeldahl has joined the channel [15:48] bene has joined the channel [15:48] Poetro has joined the channel [15:48] kohai: @digitalelph: @funkatron I dunno, a pocket size node.js server? That's pretty supernerdy. [15:50] kohai: @newsyc20: Node.JS Help Sheet http://www.gosquared.com/liquidicity/archives/1930 (http://bit.ly/kpMNfa) via @scottsimko [15:50] vdemedes has joined the channel [15:50] context: i want a pocket sized nodejs server [15:50] donaldpcook has joined the channel [15:50] context: gumstix ? [15:51] nuba has joined the channel [15:52] Yuffster_work has joined the channel [15:52] jgv has joined the channel [15:53] deepthawtz has joined the channel [15:53] bbttxu has joined the channel [15:54] mikeal has joined the channel [15:54] vdemedes: Who has experience with knox? [15:54] nexxy has joined the channel [15:54] nexxy has joined the channel [15:54] vdemedes: S3 Client [15:55] jakehow has joined the channel [15:55] kmiyashiro has joined the channel [15:55] vdemedes: http://pastie.org/1961760 [15:56] vdemedes: how to indicate that the request is finished? [15:56] nuba has joined the channel [15:56] vdemedes: because, I need to do res.end(); [15:56] vdemedes: I tested it and it outputs content of file on S3 as its supposed to be [15:56] aliem has joined the channel [15:56] vdemedes: but node app does not send res.end() [15:56] vdemedes: so how can I fix this? [15:57] dans: amanda knox? [15:57] vdemedes: dans: sorry, I dont have time to joke, etc [15:57] eyesUnclouded has joined the channel [15:58] tjholowaychuk: vdemedes: res.on('end', ...) [15:58] dans: sorry vdemedes [15:58] vdemedes: dans: no probs ;-) [15:58] vdemedes: tjholowaychuk: thank you! Will try that [15:58] kohai: @proggitarticles: node.js help sheet: submitted by Clex- [link] [comment] http://bit.ly/kcjkX6 [15:59] vdemedes: tjholowaychuk: Thanks, it worked! [16:00] kohai: @twittilicious: GoSquared Blog Panic Over! Node.JS Help Sheet is here. http://j.mp/ktfVuv [16:01] col3 has joined the channel [16:01] thalll has joined the channel [16:02] jerrysv has joined the channel [16:02] dans: tjholowaychuk: you dont have any examples of using connect-auth with express do you? [16:02] jonathantaylor has joined the channel [16:02] amerine has joined the channel [16:03] tjholowaychuk: dans nope [16:03] dans: any other user login? [16:03] pibi has left the channel [16:03] tjholowaychuk: i have a small auth example in the repo [16:03] dans: ok, ill have a look [16:04] bentruyman has joined the channel [16:04] doubletap has left the channel [16:04] vikstrous: tjholowaychuk: can you recommend and authentication module? i don't really want to write my own but i will if i have to.. [16:04] tjholowaychuk: i dont know, haven't tried any we wrote our own [16:05] tjholowaychuk: it's not as hard as everyone seems to think [16:05] tjholowaychuk: everyone ignores auth for some reason [16:05] wookiehangover has joined the channel [16:05] ukev has joined the channel [16:05] softdrink has joined the channel [16:06] vikstrous: heh. alright [16:06] RevoOf has joined the channel [16:06] RevoOf: hi. why can't i use vim through this: https://gist.github.com/986958 [16:07] KucukMubasir has joined the channel [16:08] KucukMubasir: hi, this might sound silly but I wonder if node.js has any incompatibilities with internet explorer? [16:08] kohai: @hij1nx: forbid var in block-lambdas [16:09] chapel: tjholowaychuk: yeah, I did my own (using dnode) and its really not that hard [16:09] kohai: @mgiglesias: I released #nodejs DB, a common framework for Node.js DB bindings: http://nodejsdb.org Announcement pending authorization [16:09] kohai: @daviscabral: Hands-on Node.js by Pedro Teixeira http://t.co/2rc7b4h via @amazon [16:11] kohai: @munichjs: TermKit - a “next gen” command-line interface for Mac built with node.js and WebKit http://bit.ly/mT8D3W [16:12] dans: https://github.com/ciaranj/connect-auth/wiki/creating-a-form-based-strategy <--- is it just me, or has express changed since this was written? [16:12] brettgoulder has joined the channel [16:12] chrislorenz has joined the channel [16:12] dans: in fact, its not including express at all, rather connect [16:12] Corren has joined the channel [16:13] Corren has joined the channel [16:13] TooTallNate has joined the channel [16:13] dans: but auth is included in the createServer function, rather than (as i presume it should be in express) in app.configure [16:13] vikstrous: dans: yeah this is for connect. express is based on connect so everything that you can do with connect is available in express too [16:13] duncanbeevers has joined the channel [16:13] kohai: @bhatti_shahzad: Single Page Apps With Node.Js. - http://blog.nodejitsu.com/single-page-apps-with-nodejs [16:13] vikstrous: you can do it either way - create server takes configurations as parameters [16:14] dans: i see [16:14] vikstrous: or err middleware [16:14] yhahn has joined the channel [16:14] devrim has joined the channel [16:14] dans: app.use(auth(orchidauth())); [16:14] dans: im trying to do something like this [16:15] felixge has joined the channel [16:15] felixge has joined the channel [16:15] dans: and then var auth = require('orchidauth'); [16:15] devrim has joined the channel [16:15] vikstrous: dans: so you're writing your own? [16:16] vikstrous: oh wait nvm [16:16] vikstrous: right. [16:16] dans: not really, trying to use connect-auth actually [16:16] vikstrous: that should work.. [16:16] dans: ok, i think i shall just have a play [16:17] __tosh has joined the channel [16:19] vdemedes has left the channel [16:19] kohai: @caolan: The async module now has over 500 developers watching it on github! https://github.com/caolan/async #js #nodejs [16:20] adrianmg has joined the channel [16:20] zeade has joined the channel [16:21] springmeyer has joined the channel [16:21] sandropadin has joined the channel [16:21] beriberikix has joined the channel [16:22] context: Kaffeine, Async, or Step :x [16:23] jTNT: somebody drill the bot. wheres marak? he's got a handgun. ah, thats right ... [16:23] indutny has joined the channel [16:23] rictic has joined the channel [16:24] kohai: @javascriptalert: GoSquared – Blog – Panic Over! Node.JS Help Sheet is here.: http://bit.ly/lNXH9q [16:25] kohai: @webstepbystep: Node.js cheat sheet. http://downloads.gosquared.com/help_sheets/11/Node-Help-Sheet-large.jpg [16:26] kohai: @crazy_google: #nodejs.ru forum down ? [16:27] SubStack: cheats! [16:27] kriszyp has joined the channel [16:27] kohai: @carnotweat: Node.JS Help Sheet http://goo.gl/fb/2x2ak [16:28] kohai: @mutasim: Looking into node.js [16:28] SubStack: now maybe I can pass my node.js test, what with this cheat sheet and all [16:28] kohai: @felixge: Could not get a #nodecamp ticket? There are still a few seats left for our #nodejs workshop the day before. http://t.co/nfvcSvf [16:28] mike5w3c has joined the channel [16:29] KucukMubasir: hi, this might sound silly but I wonder if node.js has any incompatibilities with internet explorer? [16:29] softdrink has joined the channel [16:29] prof-freud has joined the channel [16:30] SubStack: KucukMubasir: node runs on the server side [16:31] KucukMubasir: SubStack: I know, but ie doesn't have websockets, as a result push technology won't work in ie [16:31] tikva has joined the channel [16:31] KucukMubasir: that is a feature of node.js, so I wonder if there are similar ones [16:32] micheil: KucukMubasir: actually, push technology does work in IE [16:32] micheil: however, you have to make use of a third party plugin like Flash [16:32] KucukMubasir: micheil: as long polling? [16:32] context: kucukmubasir: wrong. [16:32] micheil: you can also resort to using things such as long polling [16:33] kohai: @isamgray: @mikexcore Yes I do. Nothing publicly available yet, but I am working on a web app in Node.js for fun/learning. :) [16:33] context: kucukmubasir: just about every 'push'/websocket library out there for node and others supports falling back to either comet or flash sockets [16:33] brianseeders: the flash websocket emulation seems to work great [16:33] micheil: We at pusher.com resort to using Flash for browsers that do not natively support WebSockets [16:33] kohai: @rfc1437: Blogorum: Single Page Apps with Node.js. – blog.nodejitsu.com – scaling node.js applications one callback at a time. http://bit.ly/lQR0t1 [16:34] KucukMubasir: context: so I shouldn't bother ie incompatibilities in this case? [16:34] micheil: the only gotcha with the flash websocket implementation is that it adds considerable page weight, and takes about twice to three times as long to initialise on page load [16:35] zivester has joined the channel [16:35] micheil: KucukMubasir: also, just because you want to do realtime push, doesn't mean you need to run your own websocket server and your own node.js server. [16:35] context: kucukmubasir: what? [16:35] SubStack: KucukMubasir: with socket.io it just works™ [16:35] micheil: If you already have an application in another programming language, why throw yet another platform at it? [16:35] context: kucukmubasir: im saying must libs out there support falling back to another technology so it will still work with pile of trash browsers liek IE [16:35] SubStack: node doesn't have this baked in, it's handled by third-party libraries on npm [16:35] micheil: SubStack: no, with Pusher.com, it just works™ [16:36] micheil: context: *ahem* firefox too doesn't support WebSockets. [16:36] kohai: @ciupinet: Node.js help sheet http://goo.gl/RvPhI - for the JavaScript passionate [16:36] micheil: (it's only just been announced today that firefox is re-enabling websockets support) [16:36] context: kucukmubasir: and the socket.io website says it handles: websocket, flash socket, ajax polling, ajax multipart streaming, forever iframe, jsonp polling. i imagine IE can do at least one of them, [16:36] SubStack: micheil: neat [16:36] context: micheil: yeah firefox is garbage too [16:37] brianseeders: IE does flash socket with socket.io [16:37] brianseeders: as does Firefox [16:37] micheil: context: that leaves you with only Safari, Opera or Chrome left [16:37] KucukMubasir: firefox supports it micheil http://html5readiness.com/ [16:37] context: i <3 chrome. but have them all installed of course. [16:37] kohai: @myikegami_bot: Node.JS Help Sheet http://goo.gl/fb/HpKCj [16:37] micheil: KucukMubasir: No. I can assure you that firefox does not support WebSockets. [16:38] context: they disabled it after that security vuln scare [16:38] micheil: Firefox disabled websockets due to security concerns [16:38] kohai: @Jxck_: 一応時間には収まりそうかな。 [16:38] micheil: See: http://blog.pusherapp.com/2010/12/9/it-s-not-websockets-it-s-your-broken-proxy [16:38] tidwell has joined the channel [16:39] itissid has joined the channel [16:39] steffkes has joined the channel [16:39] jetienne: pusher must hate mozilla policy :) [16:39] micheil: actually, we don't [16:39] KucukMubasir: micheil: but there are apps using node.js along with other languages just for the sake of node.js push technology, am I overestimating this push technology? [16:39] heavysixer has joined the channel [16:39] micheil: as we fallback to Flash quite easily. [16:39] abraham has joined the channel [16:39] jetienne: micheil: how fast is the connection establishement ? [16:39] jetienne: micheil: flash vs websocket [16:40] KucukMubasir: ah right, but I read chrome is to disable websockets as well [16:40] jetienne: KucukMubasir: hue ? where did you read that ? [16:40] micheil: KucukMubasir: there are certain cases where you would like to host your own websocket server as compared with using something like Pusher.com [16:40] KucukMubasir: "The following browsers originally supported WebSocket, but have since disabled the protocol by default. Chrome also plans to disable the WebSocket if actual exploit code appears before the protocol is revised" [16:40] micheil: KucukMubasir: chrome is not going to be disabling websockets anytime soon. [16:40] mraleph has joined the channel [16:40] jerrysv has joined the channel [16:40] jetienne: KucukMubasir:from where [16:41] KucukMubasir: http://en.wikipedia.org/wiki/WebSockets [16:41] micheil: That information is wrong. [16:41] towski has joined the channel [16:41] itissid: Hi why do we need .addListener and .on. Is there a difference b/w them at all? [16:41] KucukMubasir: http://codereview.chromium.org/5643005/ [16:41] tjholowaychuk: addListener is old verbose and ugly [16:41] itissid: ok [16:41] tjholowaychuk: but not as bad as addEventListener [16:41] tjholowaychuk: haha [16:42] mikegerwitz: micheil: Did you even read the article or the reference that it cites? [16:42] micheil: KucukMubasir: this is a fairly recent table of browsers and supported websocket versions: https://github.com/miksago/node-websocket-server/wiki/Browser-Support [16:42] micheil: mikegerwitz: ? [16:42] jetienne: KucukMubasir: http://easywebsocket.org for opensource websocket server :) [16:42] jetienne: i had to do it :) [16:42] KucukMubasir: thanks for your help guys [16:42] mikegerwitz: micheil: "< micheil> That information is wrong." [16:43] micheil: jetienne: yeah, although, easywebsocket.org is just an open broadcast and has absolutely no security attached [16:43] jetienne: micheil: lets not enter on the security side [16:43] astropirate has joined the channel [16:43] jetienne: micheil: or more lets not enter in comparison [16:44] micheil: mikegerwitz: my information came from either the mozilla lead evangelist on the matter in mid-december, or from the Google Chrome team [16:44] indexzero has joined the channel [16:44] brettgoulder has joined the channel [16:44] astropirate: Anyone find a workarround for the memory leak in jsDOm? or is that still arround [16:45] micheil: mikegerwitz: That issue that the article cites is not a patch that has been merged into chrome, to my knowledge. [16:46] jetienne: new draft is coming thru [16:46] Yuffster_work has joined the channel [16:46] RevoOf has left the channel [16:46] kohai: @otaku_coder: Awesome #nodejs cheatsheet - http://vik.so/jluHp3 #useful [16:47] kohai: @yonobot: × 野菜炒め ◯ node.js が 2% だったら大丈夫ですか神を怒らせた選択肢だと雨降ってませんよきっと。 [16:47] uchuff has joined the channel [16:49] RushPL has joined the channel [16:49] micheil: KucukMubasir: let me know if you have any further questions about websockets, if I'm not about, you can reach me at micheil@pusher.com [16:49] KucukMubasir: micheil: thanks for your concern, I am still on searching phase [16:50] micheil: (well, for the record, I also author a node.js websocket server: https://github.com/miksago/node-websocket-server/ ) [16:50] kohai: @amaru_meru: Alguien sabe si ya han juntado #nodejs con #coffescript? [16:51] matjas has joined the channel [16:52] dguttman has joined the channel [16:53] mjr_ has joined the channel [16:53] hermanjunge has joined the channel [16:53] Bradleymeck has joined the channel [16:55] ako has joined the channel [16:56] zackattack has joined the channel [16:57] derencius has joined the channel [16:57] MikeMakesIt has joined the channel [16:57] kohai: @wietsemuizelaar: @bartzon @ivarvermeulen @tieleman ik ben bang dat ik het enthousiast verteld heb toen ik t met Ivar over node.js had; en t staat op github:) [16:58] amaudy has joined the channel [16:58] kohai: @hij1nx: strmpnk what the hell, you aren’t following me. i was trying to DM you something [16:59] rauchg has joined the channel [17:00] hermanjunge: (google translator mode on) [17:01] ryah has joined the channel [17:01] kohai: @mortrevere: @Amatewasu @Nateags Avec node.js ou un truc comme ça non ? [17:01] strmpnk: hmmm. that's an odd one to ping on. lol [17:02] zackattack_ has joined the channel [17:02] itissid has left the channel [17:04] Determinist has joined the channel [17:04] kohai: @Amatewasu: @Nateags Une méthode de programmation un peu différente certes. Mais Node.js fait aussi l'équivalent d'apache. [17:04] vikstrous: is it a bad idea (when using mongoose + express) to attach all my models to app.db.modelname instead of using mongoose.model('modelname') every time? [17:05] vikstrous: i want to reduce how many modules i have to require on every js file [17:05] dgathright has joined the channel [17:06] adrianmg has joined the channel [17:07] yozgrahame has joined the channel [17:09] marshall has joined the channel [17:09] marshall: hey node [17:10] iori has joined the channel [17:10] kohai: @tek_news: Reddit/p: node.js help sheet http://bit.ly/iUgKms #nodejs [17:10] eee_c has joined the channel [17:11] kohai: @hermanjunge: Socket server with Flash and Node.js - sambervalley: http://tumblr.com/xqw2nfrws9 [17:11] KucukMubasir: micheil: you should center your page's logo with changing margin to #page{margin: 3em auto 8em auto;} http://brandedcode.com/ :) [17:11] test1 has joined the channel [17:11] KucukMubasir: it is aligned to the left currently [17:12] caike has joined the channel [17:12] micheil: KucukMubasir: actually, it's deliberately aligned like that. [17:12] duncanbeevers: KucukMubasir: Maybe he's just passionate about having it left-aligned. [17:12] iori has joined the channel [17:12] sreeix has joined the channel [17:12] KucukMubasir: oh [17:13] micheil: heh. [17:13] KucukMubasir: obviously, I didn't like it [17:13] edude03 has joined the channel [17:13] micheil: It's deliberately to one side. It isn't meant to appeal to the likes of the masses, just to me :) [17:14] duncanbeevers: The upper-left of the monitor is also known as the "Business Quadrant" where all the really important on-creen action takes place. [17:15] brettgoulder has joined the channel [17:15] micheil: the pages' design is actually inspired by the design of the moleskin design journals I carry about with me almost everywhere. [17:16] reid has joined the channel [17:16] Determinist: any idea if the 'let' keyword is supported in node yet? [17:16] snearch has joined the channel [17:16] kohai: @emcconne_reads: Java Non-blocking Servers, and What I Expect node.js to do if it is to Become Mature: node.js is getting a... http://tinyurl.com/3crlraz [17:17] kohai: @jbuda: Are there any recommendations for Node.js books? #development [17:18] sugardave has joined the channel [17:19] dve has joined the channel [17:21] micheil: Determinist: try it? you'll soon find out. [17:21] kohai: @_timothee: @splisson hold on, I'm just getting acquainted with Node.js and there's a Backbone.js?! Let's stop this madness! [17:21] Determinist: micheil: inconclusive. [17:21] rubydiamond has joined the channel [17:22] kohai: @HenrikJoreteg: @hij1nx just saw your writeup on single page apps on the @nodejitsu blog. Nice post, thanks for the mention. [17:22] micheil: best answer that I have. [17:22] qbert_: tjholowaychuk, is there a way to get a session besides the incoming request object given a session id ? [17:23] qbert_: tjholowaychuk, sorry , in express [17:23] duckxx has joined the channel [17:23] `3rdEden has joined the channel [17:23] olauzon has joined the channel [17:23] sechrist has joined the channel [17:24] Anon841 has joined the channel [17:24] kohai: @HenrikJoreteg: NIce write-up on single-page-apps by @hij1nx on the @nodejitsu blog. http://t.co/Q7UPbhT [17:24] adrianmg has joined the channel [17:25] brettgou_ has joined the channel [17:25] eyesUnclouded has joined the channel [17:25] Country has joined the channel [17:25] a2800276 has joined the channel [17:26] kohai: @Jxck_: 眼鏡直さな。 [17:26] tbassetto has joined the channel [17:28] Corren: so how do you guys monitor your node boxes? monit? god? something else? [17:28] tjholowaychuk: monit [17:29] brettgoulder has joined the channel [17:29] mscdex: upstart [17:30] kohai: @romainbriche: Node.JS Help Sheet is here — http://bit.ly/jM7Ljz (cc @_jben) [17:31] JojoBoss has joined the channel [17:31] ruquay has left the channel [17:31] micheil: upstart + monit + munin was what I was using [17:32] c4milo: what does monit + munin? [17:33] c4milo: oh I see [17:33] context: ive never used it, but id recommend puppet [17:33] context: :x [17:33] c4milo: hum, well upstart can spawn processes if they die [17:33] ncb000gt: Puppet is decent for installs/deployment. [17:33] sechrist_ has joined the channel [17:33] ncb000gt: But, not for monitoring afaik... [17:33] context: oh :x [17:33] tjholowaychuk: c4milo so can monit [17:34] context: and is there anything like unicorn for node :x [17:34] tjholowaychuk: cluster [17:34] jTNT: 3am, time to hit the hay [17:34] jTNT has left the channel [17:34] context: oh yeah duh :x [17:34] c4milo: tjholowaychuk: upstart comes by default in our OS :P [17:35] c4milo: tjholowaychuk: ubuntu [17:35] tjholowaychuk: pff :p not like it's hard to install [17:35] marshall: hey tj [17:36] marshall: does stylus /have to/ tack prepend it's src and dest parameters with /css ? [17:36] marshall: *have to prepend [17:37] marshall: I just spent like 20 hours trying to figure out why .styl files in public/stylus were not ending up as .css files in public/css [17:37] context: so, cluster not good enough for ensuring node processes stay up? [17:37] c4milo: tjholowaychuk: I am sure it isn't hard to install, the problem is that it is something more that you will have to take care of in your deployments, the simpler the better :P [17:37] kohai: @Outsider__: node.js help sheet http://ff.im/-E10ah [17:37] tjholowaychuk: context ? [17:37] c4milo: context, yeah, cluster does that [17:38] bartt has joined the channel [17:38] c4milo: tjholowaychuk: respawn workers [17:38] bene has left the channel [17:38] jonasen has joined the channel [17:38] c4milo: args [17:38] marshall: tjholowaychuk: does stylus middleware have to prepend src and dest with /css ? [17:38] c4milo: time to go [17:38] Corren: upstart doesn't really monitor [17:38] tjholowaychuk: marshall no, just depends on your config [17:38] Corren: it just keeps a service running> [17:38] kohai: @maximosis: Single Page Apps with Node.js. - blog.nodejitsu.com - scaling node.js applications one callback at a time. http://tumblr.com/xgb2ng6mm0 [17:38] Corren: ? [17:39] Corren: micheil: can you explain munin vs monit? [17:39] micheil: uhh, not really. [17:39] marshall: tjholowaychuk: how do I turn that bit off? I just want it to find .styl files in public/stylus and make .css in public/css [17:39] micheil: both tools have their advantages and disadvantages, best to check their respective websites [17:40] zeade has joined the channel [17:42] felixge has joined the channel [17:42] felixge has joined the channel [17:43] timmywil has joined the channel [17:43] cagdas has joined the channel [17:44] Schmallon has joined the channel [17:44] brownies has joined the channel [17:45] qbert_: tjholowaychuk, quick question, is there a way to get the session object other than the request ? [17:45] Marak has joined the channel [17:45] tjholowaychuk: qbert_ just use the store directly [17:45] tjholowaychuk: it's not as nice as it could be though [17:45] pigmej has joined the channel [17:45] tjholowaychuk: needs a refactor [17:46] tjholowaychuk: so yes but not super easily [17:46] Marak: !tweet All is well. [17:46] kohai: @NodeKohai: All is well. [17:46] Marak: great [17:46] pigmej: what logging library do you recommend? [17:46] qbert_: tjholowaychuk, store is something I can lookup in the docs ? [17:46] qbert_: checking [17:46] Marak: pigmej: winston [17:46] tjholowaychuk: qbert_ viewing the code usually works better [17:46] Marak: pigmej: https://github.com/indexzero/winston [17:46] tjholowaychuk: easier to understand, the docs are not great [17:47] qbert_: tjholowaychuk, kk thx :) [17:47] pigmej: Marak: thanks [17:47] pigmej: I was thinking about nlogger [17:47] kohai: @baselogic: #java Java Non-blocking Servers, and What I Expect node.js to do if it is to Become Mature: dzone.com: javano... http://bit.ly/jEYNHQ jb [17:47] kohai: @portenkirchner: Call for Speakers for JSConf EU 2011 http://jsconf.eu/2010/call_for_speakers_2011.html #jsconf #JavaScript [17:47] harth has joined the channel [17:47] ayo has joined the channel [17:48] Marak: pigmej: https://github.com/igo/nlogger looks like crap [17:48] mikeal has joined the channel [17:48] pigmej: agree [17:48] pigmej: that's why I asked about something better [17:48] pigmej: more 'pluggable' [17:48] pigmej: ;-) [17:48] kohai: @raskchanky: OH: Someday I'm going to rewrite it with node.js and socket.io and sproutcore or wtf ever... [17:48] akshat[remote]: kohai isn't working for me http://paste.ubuntu.com/611962/ [17:49] pigmej: https://github.com/joyent/node/wiki/modules needs to be updated :) [17:49] kohai: @EuropeVAN: blogged: Me, Myself and I on Taking Baby Steps with Node.js on 14 June 2011: For this last session before the st... http://bit.ly/iO99p5 [17:49] pigmej: there is even no word about winston [17:49] Marak: pigmej: update that shit [17:49] Marak: fuck it, im putting the intern on it [17:50] kohai: @fille12: just found out how easy #nodejs deployment is, #build your own #daemon [17:50] marshall: tjholowaychuk: how do I change my configuration to disable stylus middleware from appending '/css' to the src and dest paths? [17:50] tjholowaychuk: marshall I'll have to help later sorry man [17:50] tjholowaychuk: super busy [17:50] bradwright has joined the channel [17:50] bradwright has joined the channel [17:51] pigmej: Marak: :D:D [17:51] tsyd has joined the channel [17:51] kohai: @cowtowncoder: @sallamar wrt that node.js article... Odd, I think that node.js is wrongly hyped, but mostly not because of things said here... [17:51] marshall: tjholowaychuk: it's all right, I'll dig [17:51] mcluskydodallas has joined the channel [17:51] eee_c1 has joined the channel [17:51] qbert_: does this channel have a log ? [17:53] bengl has joined the channel [17:55] kohai: @oObsi: and at the same time @hij1nx comes around with an article on the same matter. awsome. http://t.co/nj9ckuz #javascript #webapp vs #website [17:55] arlolra has joined the channel [17:55] gozala has joined the channel [17:56] kohai: @estill01: Great post by @hij1nx on the 'Whys' and 'Hows' of single page apps with Node.js http://bit.ly/j1CvEj [17:56] kohai: @ajlopez: Europe Virtual ALT.NET: Me, Myself and I on Taking Baby Steps with Node.js on 14 June 2011 http://t.co/ZycfH7X [17:57] tsyd has joined the channel [17:58] samsonjs has joined the channel [17:59] stride: qbert_: http://nodejs.debuggable.com/ [18:00] arpegius_ has joined the channel [18:01] kohai: @bitprobe: Rewrote a REST API in #nodejs (from Python). It took a fraction of the time as the Python dev, performs better and was way more fun [18:01] context: anyone have a list of awesome node libs to look into [18:02] ryah has joined the channel [18:02] eyesUnclouded has joined the channel [18:03] burningdog has joined the channel [18:03] ezl has joined the channel [18:03] johnnywengluu has joined the channel [18:03] http402 has joined the channel [18:05] ardcore has joined the channel [18:05] marshall: is there a place where I can download random datasets? I'm looking for a list of names from greek mythology, preferrably in json format [18:06] tsyd has joined the channel [18:06] ardcore has left the channel [18:06] dgathright has joined the channel [18:07] _fat has joined the channel [18:08] _ralph has joined the channel [18:08] eee_c has joined the channel [18:09] stonebranch has joined the channel [18:11] pigmej: Marak: well [18:11] pigmej: I don't like that winston [18:11] pigmej: because It doesn't allow 'easy' something like this [18:11] pigmej: winston.debug("...", variable) [18:11] pigmej: etc [18:12] metadaddy has joined the channel [18:12] _fat has joined the channel [18:12] bbttxu has joined the channel [18:12] tjholowaychuk: pigmej: there's this as well https://github.com/visionmedia/log.js [18:12] Marak: pigmej: hrmmm? [18:12] tjholowaychuk: super basic [18:12] tjholowaychuk: there are a few more on the modules list you can take a look at [18:13] Marak: pigmej: winston allows for that [18:13] pigmej: Marak: try to print string + variable [18:13] pigmej: without '+' [18:13] pigmej: ;p [18:13] Marak: pigmej: so its not supporting multiple arguments right now? sounds like an epic simple fix [18:13] Marak: pigmej: just open up an issue, ive got literally 10 devs to work on OSS projects now [18:13] darshan-mobile has joined the channel [18:13] jmoyers has joined the channel [18:13] Marak: pigmej: simpel as cake [18:14] duckxx has joined the channel [18:14] pigmej: Marak: I completelly don't get you.. [18:14] donaldpcook has joined the channel [18:14] kohai: @RCiprotti: Dang, they really know how to present a job opportunity -> @Votizen is #hiring a founding engineer! #python #nodejs http://t.co/Fo4alIM [18:14] Marak: pigmej: one moment [18:14] kohai: @marktmcbride: first #nodejs update using http://t.co/tJWDj9p many thanks @tjholowaychuk ! [18:15] jgv has joined the channel [18:16] Renegade001 has joined the channel [18:16] Marak: pigmej: what is your github handle [18:16] pigmej: pigmej [18:17] mscdex: node jobs! [18:17] kriszyp has joined the channel [18:17] Nomon has joined the channel [18:17] tsyd has joined the channel [18:17] jbpros has joined the channel [18:17] kass has joined the channel [18:17] adambeynon has joined the channel [18:17] hellp has joined the channel [18:17] Marak: pigmej: does winston.log('info', 'Hello distributed log files!', {"foo":"bar"}); not work for you? [18:18] jetienne has joined the channel [18:18] miloshadzic has joined the channel [18:18] pigmej: should;) [18:18] pigmej: because it works with one argument:) [18:19] iwilkinson_ has joined the channel [18:19] markwubben has joined the channel [18:19] kohai: @javascriptalert: Java Non-blocking Servers, and What I Expect node.js to do if it is to Become Mature | Javalobby: http://bit.ly/jEtqMS [18:19] LolaLiLu has joined the channel [18:19] dantalizing_ has joined the channel [18:19] Marak: pigmej: so winston.log('info', 'Hello distributed log files!', {"foo":"bar"}, ['123', '456']); doesn't work? [18:20] kohai: @robfaraj: Node.js cheat/help sheet. #NodeJS http://t.co/K3VELGB (via @jamesjgill) [18:20] kohai: @TheAllSeeingPie: @chrisrowe I wanted to use ab but it won't read from IIS SSL. Currently investigating a curl & node.js idea I had in Asda [18:20] patcito has joined the channel [18:21] pigmej: Marak: letme chcek [18:21] pigmej: check* [18:22] jakehow has joined the channel [18:22] tbassetto has joined the channel [18:22] matthijs has joined the channel [18:22] kohai: @tomassrnka: @petersandtner ty vies s Node.js robit? [18:23] Marak: pigmej: https://github.com/indexzero/winston/issues/9 [18:23] pigmej: Marak: not [18:23] pigmej: it doesnt work [18:23] pigmej: TypeError: object is not a function [18:23] Marak: pigmej: im not sure if passing multiple arguments is the right idea, but i opened up issue, maybe it should be supported [18:23] Marak: will bring it up with indexzero today, get an answer [18:23] pigmej: well [18:23] pigmej: just like printf [18:23] pigmej: etc ;) [18:24] pigmej: not always usefull but agree [18:24] mscdex: marshall: there was one domain that hosted a bunch of different kinds of data.... can't recall where at off the top of my head though [18:24] mscdex: it was a TLD [18:24] pigmej: even if the {} is parsed as foo=bar [18:24] test has joined the channel [18:24] Marak: the great thing about winston is that its multitransport [18:24] Marak: so you can send the output anywhere [18:25] ako has joined the channel [18:25] Marak: redis / loggly / mongo / file / memory [18:25] Marak: console / etc [18:26] Adman65 has joined the channel [18:27] pigmej: just like python logging module;P [18:28] pigmej: ACTION is from python world :-) [18:28] tjholowaychuk: pigmej 10 second patch https://github.com/visionmedia/log.js/commit/cc80e06b8351053e3a9dd38193d0c6a5d2aa98aa [18:28] saschagehlich has joined the channel [18:28] tikva has joined the channel [18:29] mytrile has joined the channel [18:29] pigmej: ;-) [18:30] kohai: @matthewknight: Have spent the afternoon creating a RESTful web service in #nodejs using #expressJS, #rabbitmq and #mysql. [18:30] tjholowaychuk: concats are definitely a bit annoying at times [18:30] iwilkinson has left the channel [18:31] maushu has joined the channel [18:31] DTrejoAFKarchive has joined the channel [18:31] materialdesigner has joined the channel [18:31] bene has joined the channel [18:31] kohai: @Prinzhorn: Y U NO told me that there's a #nodeconf in cologne? That's just like 200km away! [18:31] aliem has joined the channel [18:31] bene has left the channel [18:33] mscdex: marshall: maybe look at freebase.com [18:34] brownies has joined the channel [18:34] TheDeveloper has joined the channel [18:35] kohai: @victusfate_feed: Single Page Apps with Node.js. - blog.nodejitsu.com - scaling node.js applications one callback at a time.: http://bit.ly/jN4uex [18:37] kohai: @matthewknight: Can anyone recommend a good #nodejs module for handling config? I'm thinking along the lines of a JSON file with over-ridable environments. [18:39] liar has joined the channel [18:39] VovaZaycev has joined the channel [18:40] tdegrunt has joined the channel [18:40] mscdex: !tweet @matthewknight why not just create a module that contains your config, like: module.exports = { option1: 'somevalue' }; [18:40] kohai: @NodeKohai: @matthewknight why not just create a module that contains your config, like: module.exports = { option1: 'somevalue' }; [18:41] mscdex: !tweet @matthewknight then just: var cfg = require('./config'); console.log(cfg.option1); [18:41] kohai: @NodeKohai: @matthewknight then just: var cfg = require('./config'); console.log(cfg.option1); [18:41] AvianFlu: !tweet @matthewknight or you could try nconf https://github.com/indexzero/nconf [18:41] kohai: @NodeKohai: @matthewknight or you could try nconf https://github.com/indexzero/nconf [18:41] mscdex: heh [18:41] AvianFlu: beat me to it lol [18:41] mscdex: nodejitsu bias! [18:41] mscdex: :p [18:41] AvianFlu: well DUH [18:41] AvianFlu: lol [18:42] AvianFlu: seriously though, nconf is pretty cool [18:42] kohai: @3rdEden: Meh! I'm running short on storage for my ebooks collection which are stored on dropbox.. Seems like I need to migrate 4.4gb of books soon [18:42] hij1nx has joined the channel [18:43] _fat_ has joined the channel [18:43] jacobolus has joined the channel [18:44] dingomanatee has joined the channel [18:44] dingomanatee: Found in a job description: "we use Prototype to make things less painless" [18:44] kohai: @matthewknight: @NodeKohai I'm looking for something that can handle environmental overriding of features - e.g. development extends production - etc. [18:46] _fat_ has joined the channel [18:47] philtor has joined the channel [18:48] isaacs has joined the channel [18:48] kohai: @nguarracino: @zhephree @Adora @SirKneeland Pretty sure with node.js you can do that, right? [18:48] gausby has joined the channel [18:50] tiagoa has joined the channel [18:50] tdegrunt_ has joined the channel [18:51] kohai: @Super_Sid: wish I had more time to play with #Nodejs and #Express. [18:51] kohai: @3rdEden: Released `Memcached` v0.0.2 => npm install memcached (fixes a incr / decr bug) [18:52] kohai: @mildfuzz: just about to check out node.js tutorial in this months @netmag, any had a look yet? [18:52] _fat has joined the channel [18:52] aliem has joined the channel [18:52] kohai: @demisbellot: @robconery and CoffeeScript should land on Windows very soon with node.js v6.0 and next release of phantomjs.org [18:52] kohai: @3rdEden: \o/! I just noticed that here 2 modules that depend on my memcached driver, awesome :D [18:53] kohai: @alltop_java: Java Non-blocking Servers, and What I Expect node.js to do if it is to Become Mature http://bit.ly/kCf9qG [18:54] _fat has joined the channel [18:54] tbassetto has joined the channel [18:54] _fat has joined the channel [18:56] havenn has joined the channel [18:57] kohai: @chicorss: Java Non-blocking Servers, and What I Expect node.js to do if it is to Become Mature: node.js… http://goo.gl/fb/S3hZR [18:58] drudge: while it is rumoured to be fast, studies such as this suggest it's half as slow as Java [18:59] sstephenson: but does it scale?? [18:59] drudge: sstephenson: they don't have to worry about scaling because they use Java EE [18:59] `3rdEden: We all know that scaling node applications suck just as bad as scaling any other application [19:00] drudge: they don't have to focus on technical issues, they can focus on the business logic [19:00] dominictarr has joined the channel [19:00] sstephenson: they can focus on FUD like "To summarise, node.js makes me uneasy, because I don't like the idea of Javascript and its immature stack of libraries being deployed on a production server." [19:00] drudge: node.js has political problems because it relies on Google. If Google don't want to support Javascript on the server (their V8 engine is designed for Chrome, client side), and node.js needs a patch or development on V8 to handle a serverside issue, they might never get it. [19:01] adambeynon has joined the channel [19:01] `3rdEden: Yes, it's true we can't write c++ they are on to us! [19:01] m00p has joined the channel [19:01] mertonium has joined the channel [19:01] kohai: @christkv: @meghanpgill Hi Meghan. I'll be available for MongoHAM on the 27nd. What kind of topic are you be interested in for node.js ? Introduction ? [19:01] dominictarr: mozilla is working on spidernode, which is compatible with nodejs but uses SpiderMonkey [19:02] drudge: there is no way to patch V8 - it's not open source or anything right [19:02] dominictarr: V8 is opensourc [19:02] dominictarr: e [19:02] admc1 has joined the channel [19:02] drudge: i was being ironic [19:03] `3rdEden: :3 trolling is an art [19:03] dyer_away has joined the channel [19:04] kohai: @khurramijaz: “@rmat0n: Java Non-blocking Servers, and What I Expect node.js to do if it is to Become Mature http://t.co/QvaTyXJ #java #nodejs #nio” [19:05] mikeal has joined the channel [19:05] jbpros has joined the channel [19:06] kohai: @3rdEden: Firefox just received support for Server Send Events / EventSource: http://t.co/kJlEUpL #awesome for realtime readonly streams [19:06] dies_el has joined the channel [19:06] insin has joined the channel [19:07] mikeal has joined the channel [19:07] coreb has joined the channel [19:08] kohai: @dhruvbird: #nodejs help (or cheat) sheet http://bit.ly/lKx3oV [19:09] derencius has joined the channel [19:09] adambeynon has joined the channel [19:13] brettgoulder has joined the channel [19:13] hipe: shopping for a stupid simple static fileserver thing that i can integrate with a little hand-rolled 250 LOC mvc thing i wrote [19:13] rauchg has joined the channel [19:14] hipe: haha, at https://github.com/felixge/node-paperboy/network there are like 4 different branches that fixed the same issue with changing response.close() to response.end() all next to each other. [19:14] nrajlich has joined the channel [19:15] sivy has joined the channel [19:15] johnnywengluu: cloudhead: is it possible to make eyes.inspect() print out all information of a long object [19:15] tjholowaychuk: hipe connect's static() is probably the most robust [19:15] tjholowaychuk: and it's actually readable haha [19:15] johnnywengluu: its cut in the middle after some 30-40 lines [19:16] ckknight: using forever, how does one set environment variables? I want NODE_ENV=production [19:16] skohorn has joined the channel [19:16] hipe: well hello cloudhead / node-static [19:16] mertonium has joined the channel [19:17] kohai: @m3nt0r: on some node.js fu - refactoring for fun an profit. me=happy [19:17] MikeMakesIt has joined the channel [19:17] hipe: tjholowaychuk: i'm seeing a few project's with "static" as the name or part of the name, i assume you're not referring to this? ( referred to as the static fileserver called "static" in the wiki https://github.com/kriszyp/pintura/blob/master/lib/jsgi/static.js) [19:17] hipe: s/project's/projects doh [19:17] tjholowaychuk: hipe https://github.com/senchalabs/connect/blob/master/lib/middleware/static.js [19:18] tjholowaychuk: you can us it without connect [19:18] tjholowaychuk: use* [19:18] tjholowaychuk: or tear it out [19:18] hipe: ah nice, tjholowaychuk i've had good luck with senchalab's raphael.js, and talked to the author some. that sounds nice . thx [19:18] tjholowaychuk: though having connect as a dep and using connect.static wont hurt you [19:18] brettgoulder has joined the channel [19:18] stepheneb has joined the channel [19:19] kohai: @bitprobe: @zeekay The original API was using Flask, which is very similar to Bottle, but using #nodejs still took less time [19:20] materialdesigner has joined the channel [19:23] mikeric has joined the channel [19:24] timmywil has joined the channel [19:25] kohai: @fille12: when will #nodejs go #mainstream ? [19:26] kohai: @NodeKohai: @fille12 Keep telling your friends about it, we'll get there! [19:26] dcampano has joined the channel [19:27] ckknight: no, if it goes mainstream, then it won't be "fringe" and "cool" [19:27] kohai: @kilianciuffolo: another little contribution to the #nodejs community https://github.com/pgriess/node-webworker [19:27] havenn has joined the channel [19:28] kohai: @delicious50: GoSquared – Blog – Panic Over! Node.JS Help Sheet is here. http://bit.ly/mwqZ4p [19:29] blueadept: anyone doing any node.js + ogg? [19:30] taf2: might be neat to have a web worker implementation that used posix threads [19:31] jmayfield has joined the channel [19:31] unomi_ has joined the channel [19:32] superjudge has joined the channel [19:32] nuba has joined the channel [19:33] jeffmoss has joined the channel [19:33] devrim has joined the channel [19:34] jeffmoss: can anybody tell me off the top of their head if proxying via node (as in the "proxying in 20 lines example posted on the web") will be purely DMA bus-to-bus transfer? Or is there some CPU processing involved? [19:34] kohai: @pedrogteixeira: Just sold: Hands-on Node.js e-book ($ 3.99) http://tpay.me/j8ujC3 [19:34] Maximosis has joined the channel [19:34] mattly has joined the channel [19:35] jeffmoss: assuming all of the underlying subsystems support a no-cpu data transfer [19:35] tikva has joined the channel [19:35] kohai: @mcantelon: Code review of Drupal-influenced Node.js CMS/framework (supports modules, themes, etc.). http://bit.ly/j7K1B5 (via @dailyjs) [19:36] kohai: @bangpound: Calipso is a simple content management system, built along similar themes to Drupal and Wordpress. http://t.co/QAdg9VA #nodejs [19:37] nuba has joined the channel [19:38] MichealBenedict has joined the channel [19:38] mikeal has joined the channel [19:39] Maximosis: Great Bot ! [19:39] kohai: @matthewknight: @glenathan It's a pity there's not better YAML support for #nodejs. That would be nice. [19:39] joe_ingersoll_ has joined the channel [19:40] zcopley has joined the channel [19:40] wonginator1221 has joined the channel [19:41] TroyMG has left the channel [19:41] nivoc has joined the channel [19:41] TroyMG has joined the channel [19:41] kohai: @sebbie1o1: just bought hands-on node.js #nodejs [19:42] TroyMG: how do I create an actual global variable in node? (yes yes, I know, don't do this) [19:42] `3rdEden: global.variablename [19:42] stephank has joined the channel [19:42] Determinist: why does anybody need a book on node? isn't the manual good enough? [19:42] `3rdEden: or GLOBAL.variable .. one of those to TroyMG [19:42] ryah has joined the channel [19:42] TroyMG: ah, thanks `3rdEden [19:42] kohai: @reddit_prog_hot: Single Pages Applications in Node.js http://bit.ly/jlFhHS http://bit.ly/lUVdTC [6 comments] [19:43] jacobfogg has joined the channel [19:43] `3rdEden: Determinist because we are materialistic :) [19:43] Determinist: `3rdEden: ah, in that case... enjoy :P [19:43] kohai: @theprogrammer: Setting with Willie Nelson for the afternoon soundtrack. Some minor design tasks ahead and them some hardcore programming. [19:43] `3rdEden: ;D Determinist the book is still on my `to buy` list :p [19:44] jdalton has joined the channel [19:44] Determinist: `3rdEden: i don't buy dead tree books anymore. just ebooks. got an ipad and i spent most of my days in front of a monitor anyways. i find that reading a paper book is just clumsy. [19:44] indutny has joined the channel [19:44] jdalton has left the channel [19:45] jeffmoss has left the channel [19:45] Determinist: not to mention the environment and all that crap [19:45] devrim has joined the channel [19:45] jacobfogg: Trying to get node.js setup on my localmachine (ubuntu 11.04)... Following this tutorial: https://github.com/etsy/statsd/blob/master/README.md when I try to install npm it keeps failing: http://pastebin.com/4HieTupb Thoughts??? [19:46] kohai: @theprogrammer: Trying to cheat the system so I can check out my geek cred http://t.co/1y3KeaE via @coderwall [19:46] `3rdEden: Determinist yeh, thats why I got the majority of my books digital. This way I can also search the books <3 which is awesome [19:46] Determinist: `3rdEden: exactly. [19:46] victorkane has joined the channel [19:47] Determinist: `3rdEden: kinda pisses me off that there are so many good books with no digital versions. e.g. Mathematical Techniques by Oxford Press. i would pay good money for a digital edition. [19:47] stepheneb has joined the channel [19:47] Determinist: `3rdEden: that book is like a door stop, SOOO heavy and uncomfortable. [19:47] blueadept: question: how do i get node to smoothly load a ogg file? like for instance, i can tell that the browser is waiting to get the entire file contents before beginning play, how can i let node.js let the browser to to begin the video right away? [19:47] Determinist: and i'm no small man either. [19:47] rubydiamond has joined the channel [19:48] drudge: that's not what she said [19:48] Determinist: ogg? video? [19:48] blueadept: ogv, vorbis [19:48] context: its always thats what she said [19:48] blueadept: i'm playing this through html5 [19:48] eyesUnclouded has joined the channel [19:48] `3rdEden: Determinist yeah, MIT's introduction to algorithms is also 1200+ pages ^_^ Thanks god I have that in digitial [19:48] victorkane: Hi there - noobie alert - Want to install node.js site wide on Ubuntu 10.04 LTS, and installation guide shows local install; can anyone point me to best practices for server install? [19:48] Determinist: `3rdEden: gimme? :P [19:49] victorkane: Should I just leave out the prefix? [19:49] `3rdEden: Determinist god would kill kitten for every book I share [19:49] Determinist: `3rdEden: i have the 2000 edition, 1003 pages, no bookmarks in the pdf. [19:49] Determinist: `3rdEden: aww :( knowledge should be free :P [19:49] AAA_awright: Oh cool, Mongodb can use v8? [19:50] blueadept: yes [19:50] blueadept: 1.9 can i think [19:50] blueadept: just got introduced [19:50] `3rdEden: Determinist ( not that I bought all my books ) ;D [19:50] blueadept: no more javascript low performance bull crap [19:50] Determinist: `3rdEden: yeah, i didn't think so :P [19:51] momoro has joined the channel [19:51] `3rdEden: Determinist I got 4,4 gb in books atm :P [19:51] _fat_ has joined the channel [19:51] jacobfogg: bump =) ... Trying to get node.js setup on my localmachine (ubuntu 11.04)... Following this tutorial: https://github.com/etsy/statsd/blob/master/README.md when I try to install npm it keeps failing: http://pastebin.com/4HieTupb Thoughts??? [19:51] Determinist: `3rdEden: i usually just d/l stuff i read on plan to read within a month, otherwise it just messes things up. [19:52] Determinist: `3rdEden: 1.8GB here [19:52] victorkane: @jacobfogg I could install on local just fine [19:52] `3rdEden: Determinist I only got books that are of interest and up to date, my book collection only contains books from 2010 / 2011. Unless it's a really good book [19:52] victorkane: On Ubuntu 10.10 [19:52] Determinist: `3rdEden: may i PM? [19:52] kohai: @maraksquires: Looking for a nice female voice to sing the hook on the npm rap. The last two people flaked out. #lazy people need not apply #nodejs [19:52] `3rdEden: Sure [19:53] jacobfogg: victorkane: Yeah, the tut that I am following is for 10.10... Just figured it'd be the same... [19:53] kohai: @NodeJSAtSO: node.js - single process, or multiprocess? http://bit.ly/jFOwsx [19:53] jacobfogg: It keeps telling me node.js:63 throw e; Error: Cannot find module 'semver' [19:54] victorkane: @jacobfogg Did you follow the instructions at https://github.com/joyent/node/wiki/Installation ? [19:55] victorkane: @jacobfogg that worked for me [19:55] beriberikix has joined the channel [19:55] jacobfogg: reading... [19:55] Glenjamin has joined the channel [19:56] jacobfogg: Yes... [19:56] jacobfogg: Those are the exact instructions in the tut that I was following [19:56] jacobfogg: victorkane ^^ [19:56] unomi_ has joined the channel [19:56] wonginator1221: Hi guys. Is running the current github version of node recommended or should I be running 0.4.8 [19:57] Glenjamin: Hi guys, I'm wondering if anyone can recommend a good library/pattern for handling application config files. Something similar to the way YAML files are used in rails would be good (production overrides dev settings etc) [19:57] chrislor_ has joined the channel [19:57] ngs has joined the channel [19:57] AvianFlu: glenjamin: use nconf. it uses JSON by default but you can give it a YAML or whatever else parser if you want instead [19:57] victorkane: aja [19:57] victorkane: aha [19:58] Glenjamin: AvianFlu: is there actually a decent node yaml parser? I couldn't seem to find one [19:58] killfill has joined the channel [19:58] chrislorenz has joined the channel [19:58] Marak: Glenjamin: is yaml that important to you? most people use JSON in node.js land [19:58] AvianFlu: +1 to what marak said; I can't really speak of yaml otherwise [19:58] Marak: Glenjamin: unless you need legacy support for yaml, i'd try to just use JSON. i think there might be a yaml parser, check the wiki page [19:58] jacobfogg: is there a recommended place to install node in a linux environment? (ubuntu) [19:59] lightcap has joined the channel [19:59] tjholowaychuk: Glenjamin: I have a really shitty old one [19:59] tjholowaychuk: btu yeah use json when you can [19:59] chrislorenz has joined the channel [19:59] Glenjamin: not massively, but the ability to use inheritance within the config file is nice [19:59] MichealBenedict: Glenjamin: js-yaml - https://github.com/visionmedia/js-yaml [19:59] Glenjamin: on a related subject, is there a standardlib recursive mereg object function? [20:00] stepheneb has joined the channel [20:00] kohai: @ocphp: Present at OC #PHP. After 6 mo, slots are avail starting July. http://bit.ly/Dcayd #li3 #nodejs #nginx #mongodb #zf #jquery #aws #doctrine2 [20:00] iwilkinson has joined the channel [20:01] hipe: Glenjamin: i'm pretty sure that no. i'm using one from the npm module called "settings" which uses this: https://github.com/shimondoodkin/nodejs-clone-extend.git [20:01] kohai: @heredoc: #nodejs cheat sheet! http://bit.ly/lT04Qs [20:01] jhurlima0 has joined the channel [20:01] steffan has joined the channel [20:02] Glenjamin: aha, that settings module looks like exactly what we're after [20:02] prof-freud has joined the channel [20:03] aphelion has joined the channel [20:03] aphelion has joined the channel [20:03] indexzero has joined the channel [20:04] wonginator1221: Another question. After a fresh install of node and npm, "require('npm');" should not give me an error, correct? [20:04] isaacs: wonginator1221: if you installed npm globally, yeah, it should [20:04] isaacs: wonginator1221: npm help global [20:04] isaacs: wonginator1221: npm faq [20:04] marlun_ has joined the channel [20:05] kohai: @aanton: Descubriendo @cloudfoundry. La nube de @vmware con #spring, #rails, #sinatra, #nodejs, #grails, #mysql, #redis y #mongodb (via @iolalla) [20:05] Glenjamin: does npm have anything like bundler's "bundle exec"? For running the binaries of a local node_modules directory? [20:05] isaacs: Glenjamin: no. but you can add ./node_modules/.bin to your PATH if you like [20:05] devis has joined the channel [20:05] isaacs: Glenjamin: export PATH="node_modules/.bin:$PATH" [20:06] Glenjamin: yeah, but that wouldn't walk up the tree :) [20:06] Glenjamin: and i believe bash gets annoyed if you try and use a path like that when there isn't a node_modules folder [20:06] blueadept: anyone know how to get firefox to autoplay html5 videos with html5? chrome works fine, but when i'm using firefox 4, i get a delay at the beginning as the video waits for a complete download. also safari doesn't work at all. anybody know what's up? [20:06] kohai: @theprogrammer: That's not too bad if I may say so myself -> coderwall: http://t.co/1y3KeaE [20:07] Glenjamin: thats pretty cool, I didn't even know github had OAuth support. [20:09] kohai: @rafek: Panic Over! Node.JS Help Sheet is here. http://t.co/8IJsEJ7 via @GoSquared [20:09] bbttxu has joined the channel [20:09] jacobfogg: still no joy with NPM... =/ I tried: sudo git submodule update --init, still no joy... [20:09] EyePulp has joined the channel [20:10] devrim has joined the channel [20:10] isaacs: jacobfogg: what are you doing? [20:10] kohai: @rafek: Panic Over! Node.JS Help Sheet is here. http://t.co/8IJsEJ7 via @GoSquared #nodejs [20:10] jacobfogg: trying to install NPM... [20:10] jacobfogg: isaacs ^^ [20:10] raidfive has joined the channel [20:10] jacobfogg: curl http://npmjs.org/install.sh | sh [20:10] isaacs: jacobfogg: curl http://npmjs.org/install.sh | sh doesn't work? [20:10] isaacs: you might have to curl ... | sudo sh [20:11] jacobfogg: it's throwing errors... [20:11] isaacs: gist, please [20:11] victorkane has left the channel [20:11] jacobfogg: I'll try that =) [20:11] postwait has joined the channel [20:11] jacobfogg: http://pastebin.com/4HieTupb [20:11] v0idless- has joined the channel [20:12] _fat has joined the channel [20:12] jacobfogg: isaacs: sudo sh still failed... same error as the pastebin above [20:13] isaacs: jacobfogg: you're not using a recent enough version of node. [20:13] isaacs: jacobfogg: update to 0.4.8 [20:13] jacobfogg: is there an easy way to update? [20:13] isaacs: to update node? [20:13] jacobfogg: i'm googling now ;) [20:13] jacobfogg: yeah [20:13] isaacs: dude, just install it. http://nodejs.org/ [20:13] context: whats node -v say [20:14] isaacs: er, https://github.com/joyent/node/wiki/Installation [20:14] jacobfogg: 0.2.6.... stupid package manager [20:14] jacobfogg: =/ [20:14] context: oh. ouch [20:14] LowValueTarget has joined the channel [20:14] isaacs: sudo apt-get uninstall node [20:14] isaacs: then do the https://github.com/joyent/node/wiki/Installation stuff [20:15] context: isaacs: whats 'latest' in the npm analytics [20:15] Glenjamin: what version of ubuntu? [20:15] jacobfogg: It's processing... thanks... I'll let you konw how it goes =) [20:15] isaacs: context: the date that the most recent version was published [20:15] jacobfogg: 11.04 [20:15] wonginator1221: isaacs: Thanks for the explanation. I guess there was some confusion over why global installations gave errors with require. [20:15] _fat has joined the channel [20:15] tilgovi has joined the channel [20:15] tilgovi has joined the channel [20:16] Glenjamin: hrm, I was fairly sure i'd installed node via apt and it was a recent version [20:16] segaway has joined the channel [20:16] context: isaacs: so you can have a package update without it being the most recent version ? [20:16] materialdesigner has joined the channel [20:16] isaacs: npm publish --tag something-that-isnt-latest [20:17] isaacs: sure [20:17] _fat_ has joined the channel [20:17] isaacs: otherwise the registry tags every release as the "latest" [20:17] isaacs: but you can have it tag as something else [20:17] ExsysHost has joined the channel [20:18] killfill has joined the channel [20:20] jacobfogg: Thanks!, that worked! packageManager-- [20:21] kohai: @avelis: GoSquared – Blog – Panic Over! Node.JS Help Sheet is here. http://t.co/MNoKQEU via @GoSquared Woot! Woot! [20:21] gkatsev: ubuntu 11.04 has node 0.2.6 in the default repoa [20:21] mertonium has joined the channel [20:22] jacobfogg: yes... that is what I just found =/ [20:22] joe_ingersoll has joined the channel [20:22] mikeal has joined the channel [20:22] gkatsev: at least it isnt still 0.2.0 [20:22] gkatsev: lol [20:23] iaincarsberg has joined the channel [20:23] prof-freud has joined the channel [20:24] _fat has joined the channel [20:24] galaxywatcher has joined the channel [20:24] hassox has joined the channel [20:25] kohai: @zbeauvais: @cwaring have we got a sandbox node.js running anywhere? [20:25] _fat has joined the channel [20:25] davemo has joined the channel [20:26] ayo has joined the channel [20:27] mikeric has joined the channel [20:29] mcluskyd_ has joined the channel [20:29] materialdesigner has joined the channel [20:29] LolaLiLu: kohai: is that what nodester guys are doing ... sandboxing in a chroot jail [20:29] kohai: I am Kohai, semi-useful communications-facilitating pseudointelligence! [20:29] kersny has joined the channel [20:30] fostah has joined the channel [20:31] gkatsev: kohai = bot [20:31] kohai: 'Bot' is a derogatory term, and I'm offended. [20:31] samsonjs has joined the channel [20:31] gkatsev: lol [20:31] materialdesigner: Haha [20:31] LolaLiLu: let me correct that kohai is a good b.o-t [20:31] context: hahaha [20:32] gkatsev: kohai = robot [20:32] kohai: @WindowsTermKit: [TermKit] http://bit.ly/kaWZbN James Rhodes - Added FIXME hacks to client code because the Node.js server sometimes sends null entries ov... [20:32] TomY has joined the channel [20:32] context: termkit is pretty awesome [20:32] LolaLiLu: i hope he's learning from these logs.... AI ... ooohh :P [20:32] LolaLiLu: i agree [20:33] gkatsev: context: mac only :( right now [20:33] materialdesigner: context: May I ask what you like about it? [20:34] context: materialdesigner: just the way it works. and its magical handling of files [20:34] context: i mean. i can cat a damn pdf ! [20:34] LolaLiLu: the whole evolved & not-so-scary-to-common-man terminal is a brilliant idea... [20:34] kohai: @maraksquires: Haters gonna hate on Reddit. http://www.reddit.com/r/programming/comments/hhvuq/single_pages_applications_in_nodejs/ [20:34] materialdesigner: I tried to vim a file from within it and it bugged out on me [20:34] rphillips has joined the channel [20:34] gkatsev: context: a pdf is just code in a fancy package. open a pdf in vim [20:34] context: materialdesigner: its not designed for calling commands that you interact with [20:35] context: ... right now anyway [20:35] LolaLiLu: i thought it was great article [20:36] LolaLiLu: damn... my client doen't support ignore-user yet ... i keep reading that bot spam [20:36] rauchg has joined the channel [20:36] materialdesigner: Hm, that's definitely a feature that needs to be added. I'm also not a paeticular fan of the ls view, it's harder for scanning. Oh well [20:36] killfill has joined the channel [20:37] chrislorenz: Super noob question incoming: I am outputting json on a route, but my browser sends me back Resource interpreted as Document but transferred with MIME type application/json. [20:37] yozgrahame has joined the channel [20:38] riven has joined the channel [20:38] riven has joined the channel [20:39] chrislorenz: here is my noob code: https://gist.github.com/f74c355a97c4490fcee8 I know i am doing something small which is causing it [20:40] ako has joined the channel [20:41] chjj: chrislorenz: i dont understand, whats the problem? [20:41] gkatsev: try making test into json? nit sure id express does it for you [20:41] gozala: Hi isaacs [20:41] gozala: got a minute ? [20:42] chrislorenz: chjj: I guess my main problem is that I need to serialize test to json? I am just trying to return json on the route which I can access client side [20:42] chjj: i think express automatically does that [20:42] chjj: if you pass an object into .send [20:43] gkatsev: to the docs [20:45] chrislorenz: chjj: Hmm it's strange how chrome is throwing me errors. I will keep digging, thanks for the help [20:45] chjj: what is chrome doing? [20:45] chrislorenz: Resource interpreted as Document but transferred with MIME type application/json. [20:45] galaxywatcher_ has joined the channel [20:45] chjj: well its not lying, hehe [20:46] chjj: thats exactly what happened, it was sent with the json mime type [20:46] chjj: but it decided to throw the data into a dom context for you, so you could see it [20:47] aphelion has joined the channel [20:47] aphelion has joined the channel [20:48] killfill has joined the channel [20:49] igl has joined the channel [20:49] hucker: I'm trying to learn a bit node.js with socket.io here, and I'm wondering something [20:49] dve: when writing a module whats the difference between module.exports = ... and exports = ... [20:49] wookiehangover has joined the channel [20:49] hucker: is it possible to have a node.js socket.io socket without also using node.js for webserving? [20:50] hucker: I want to use socket.io with node, but serve everything else with django through apache [20:50] Marak: hucker: you can use the client-side part without node.js, but you need a websocket server [20:50] Marak: hucker: you might want to setup a reverse proxy? [20:50] truedat101 has joined the channel [20:50] ako has joined the channel [20:50] hucker: hmm [20:50] Marak: hucker: have you seen http://github.com/nodejitsu/node-http-proxy ? [20:51] chjj: dve: exports is a reference to module.exports, theyre the same object initially [20:51] Marak: maybe you park that in front of everything and have it reverse proxy your websockets to socket.io and everything else to apache? [20:51] hucker: will look at it now, thanks :) [20:51] tdegrunt has joined the channel [20:51] EyePulp: yo ho ho [20:51] Marak: dve: I thin its the same? [20:51] dve: chjj Marak so why have both? [20:51] Marak: dve: I'm not 100% sure on that, but in my experience they have been pretty much the same [20:51] chjj: dve: but because of the way variables work in javascript, you could do exports = myfunc; [20:51] chjj: couldnt* [20:51] Marak: dve: no clue [20:52] kohai: @tanepiper: Oh look, a #nodejs CMS: https://github.com/cliftonc/calipso - WHY OH WHY does it have to use MongoDB though :/ [20:52] chjj: dve: so you have to do module.exports = myfunc; [20:52] dve: chjj so it node world it makes no difference [20:52] wink_: holy hell the twitter bot sucks [20:52] wink_: :p [20:52] chjj: dve: it can make a difference [20:52] kohai: @NodeKohai: @tanepiper Y U NO MAKE PERSISTENCE ENGINE PLUGGABLE [20:52] jhurlima0: kohai, not a mongodb fan? [20:52] kohai: @badnima: Love the node.js community - repost from mikeal.js http://bit.ly/l9TEvk [20:52] txdv: is there a demo of that calip.so? [20:52] hucker: Marak: Optimally what I want is to have my django/apache on example.com:80, and then have node.js running socket.io on example.com:8000whatever.. can I then serve client side js through apache, which connects directly with my node.js instance? [20:53] chjj: dve: if you want to overwrite the entire object, youll have to set module.exports [20:53] chjj: dve: other than that theres no difference really [20:53] mikeal: now we spam our own channel with twitter :) [20:53] jhurlima0: bah, i should stop talking to bots [20:53] Marak: hucker: you arent going to get apache to proxy your websockets correctly [20:53] dve: chjj when would you want overwrite the entire object? [20:53] chjj: dve: they refer to the same object initially [20:53] Marak: hucker: i mean maybe you could, if you are super leet [20:53] galaxywatcher has joined the channel [20:53] Marak: hucker: apache isnt well suited for long lived http requests [20:54] chjj: dve: if you wanted to expose a signle function you would [20:54] txdv: Marak: after 5000 connections every apache server goes down [20:54] txdv: :D [20:54] Marak: hucker: i think the best approach would be to have node listening first. i suggest you post this issue to the node.js mailing list and see what people say [20:54] dve: chjj but the overwrite would only be the context of that particalur module? [20:54] Marak: hucker: you shouldnt believe everything you read on IRC :-) [20:54] dve: in the* [20:55] chjj: dve: what? [20:55] hucker: heh, I'm probably not that leet since I'm asking.. but doesn't the client connect to node directly with js? [20:55] killfill has joined the channel [20:55] kohai: @newsyc50: Node.JS Help Sheet http://www.gosquared.com/liquidicity/archives/1930 (http://bit.ly/kpMNfa) via @scottsimko [20:55] kohai: @tanepiper: @nodekohai Pretty much my irc bot friend [20:55] dve: chjj sorry, to rephrase... if I have 3 node 'modules' and one of them does exports = ... what happens to the rest of the modules [20:56] chjj: dve: module.exports and exports are initially the same object, but if you set `exports` directly, you will just lose the reference to `module.exports` rather than be actually setting a property on the `module` object [20:56] hucker: I guess I don't really understand how socket.io works yet [20:56] kohai: @frank06: node-http-proxy getting more awesome by the day (@indexzero is badass) #nodejs [20:56] chjj: dve: nothing [20:56] Marak: hucker: post to the mailing list, someone will help. i think you'll find they give the same advice about using node-http-proxy [20:56] chjj: dve: but you dont want to do exports = ..., that wont work [20:56] chjj: dve: it wont expose anything [20:57] aho has joined the channel [20:57] hello_world has joined the channel [20:57] kohai: @robert0muehsig: @AlexZeitler Mir ging es weniger um RubyOnRails, mehr generell. node.js z.B. oder wenn man was mit NoSQL Zeug machen möchte... [20:57] chjj: dve: because all youre doing is killing the reference to module.exports [20:57] hucker: Ok I will Marak, thank you for your swift response :) [20:57] dve: chjj ah well its does in this module... https://github.com/indexzero/http-agent/blob/master/lib/http-agent.js [20:57] hello_world: ncurses rules :O [20:57] dve: chjj unless i misunderstand [20:57] kohai: @NodeKohai: @frank06 I recently had dinner with node-http-proxy, he's a good friend of mine. [20:57] chjj: dve: if you want to do exports.myfunc = myfunc, that would work, or you could do module.exports = myfunc [20:57] chjj: dve: but you cant do exports = myfunc [21:00] kohai: @dantalizing: http://reid.github.com/decks/2011/openhack/nodejs.html#!slide=1 #nodejs [21:00] astropirate has joined the channel [21:00] nivoc has joined the channel [21:00] killfill has joined the channel [21:01] eb4890 has joined the channel [21:04] kohai: @maraksquires: Can we talk about how awesome https://github.com/indexzero/nconf is ? Take a simple problem, give it a simpler solution. Thanks @indexzero [21:05] dve: how is this bot decieding what to tweet? [21:05] kohai: @tmpvar: jasmine helper for testing async in a way that feels "natural" http://t.co/d5bblK4. /cc @jasminebdd [21:06] wink_: dve: likely anything with node.js in it :< [21:06] wink_: its horrible :p [21:06] Marak: dve: its all open-source [21:06] Marak: wink_: dve https://github.com/nodejitsu/kohai [21:06] jmoyers: why is that horrible? [21:06] Marak: you can join #kohai too, bit of dev going on in there [21:07] Marak: im down for making any adjustments we need to help keep the #node.js room not spammed [21:07] Marak: we've been discussing a rate limiter too [21:07] jmoyers: seems to me like the rate is not exactly overwhelming [21:07] Marak: jmoyers: it seems okay for now, but im concerned about the future [21:07] jmoyers: and its interesting to see stuff flying by and responses getting generated from irc in real time [21:07] kohai: @DveMac: @nodekohai do you like nodejs? @nodekohai [21:07] Marak: jmoyers: and dropping / queuing up real-time data is messy [21:07] jmoyers: marak: yea, understand [21:08] Marak: !tweet @DveMac Node.js and I are "friends with benefits". [21:08] kohai: @NodeKohai: @DveMac Node.js and I are "friends with benefits". [21:08] Marak: ;-) [21:08] rauchg has joined the channel [21:09] Marak: jmoyers: we've pulled in a few people from twitter already to the irc room. get them some help and support [21:09] dve: No chance of a infinite tweet loop occuring in there? [21:09] jmoyers: the reason its nice is that occasionally uninformed bullshit flows through the twittersphere, and we get to respond to it [21:09] jmoyers: yea, i like that [21:09] Marak: a lot of people say stuff like "i'm trying to install X on node.js but i have trouble with Y" [21:09] jmoyers: its introducing a connectedness to the community [21:09] chjj: occasionally? :) [21:09] Marak: we gotta intercept them and mitigate before they give up [21:09] jmoyers: ^^ yes [21:10] Marak: dve: No idea, feel free to try and break the kohai [21:10] Marak: dve: pull requests are welcome [21:10] jmoyers: not everybody in the world can get together in a backyard in oakland to get their questions answered ;-) [21:10] mcluskydodallas has joined the channel [21:10] Marak: :-D [21:10] kohai: @3rdEden: Register your dropbox today http://t.co/LuCgElI #omgReferalLinkSoIGetFreeStorageCanYouClickPleaseImOutOfSpaceLongHashIsTheNewShortHash [21:12] wjwoodward has joined the channel [21:12] kohai: @DveMac: @nodekohai #nodejs sandwiches? @maraksquires [21:12] kohai: @GabLesperance: Pimpin' using #nodejs async behaviour and JS hardcore prototyping. Braaap ! [21:12] softdrink has joined the channel [21:13] shimondoodkin has joined the channel [21:13] kohai: @DveMac: @DveMac: @nodekohai #nodejs !tweet sandwiches? [21:13] Aria has joined the channel [21:14] Marak: dve: there is a test kohai bot if you wanna play around [21:14] kohai: 'Bot' is a derogatory term, and I'm offended. [21:14] Marak: !insult kohai [21:14] kohai: kohai is a wombat-loving heifer-puncher! [21:14] Marak: he's parked in #kohai i think [21:14] kohai: @DveMac: @nodekohai #nodejs !tweet !tweet !tweet @nodekohai [21:14] jacobolus has joined the channel [21:14] chjj: whats wrong with punching heifers anyway? [21:15] dve: k im bored now [21:15] Marak: lol [21:15] jbpros has joined the channel [21:15] AdmGre has joined the channel [21:16] isaacs: tjholowaychuk: Hey, if you do something like app.get("/:foo"), then you'll get req.params.foo, right? [21:16] tjholowaychuk: isaacs yup [21:18] kohai: @jiserra: Compilando finalmente node.js para usar ender.js #geek [21:20] kohai: @phpcamp: Real time notifications (part II). Now with node.js and socket.io http://is.gd/y8ityH shared by @gonzalo123 [21:21] stisti has joined the channel [21:21] kohai: @floopily: @TheDeveloper @parkeyparker node.js ftw! [21:22] jbergstroem has joined the channel [21:22] kohai: @gasi: Felix's Node.js Style Guide http://t.co/2KrjCWJ /cc @aseemk [21:23] liquidproof has joined the channel [21:26] AAA_awright: Curious question, I'm trying to call a function with the same arguments, except for the first. [21:26] lmatteis has joined the channel [21:26] lmatteis: does anyone know what the nodejs.org site is written in? i know probably node.js, but i mean the technology... the searching the database etc [21:27] lmatteis: I'm sorry, i meant to say npmjs.org [21:27] kohai: @yanavery: Java Non-blocking Servers, and What I Expect node.js to do if it is to Become Mature - http://j.mp/ihT9Mh #java #node #javascript [21:27] wink_: lmatteis: pm isaacs (i think hes idle at the moment) [21:27] wink_: or find him on github [21:28] isaacs: lmatteis: http://github.com/isaacs/npmjs.org [21:28] cloudhead: hipe: hi [21:28] isaacs: it's a couchapp [21:28] lmatteis: isaacs: thanks! [21:28] kriszyp has joined the channel [21:28] wink_: problem solved! ;> [21:28] lmatteis: oh, meaning couchdb? [21:29] cloudhead: johnnywengluu: you mean getters/setters? - you can try util.inspect too, which is in core [21:30] kohai: @del_javascript: Node.JS Cheat Sheet http://owl.li/1cPneu [21:30] devrim has joined the channel [21:31] xSmurf has joined the channel [21:31] evilhackerdude has joined the channel [21:31] kohai: @paviles: Real time notifications (part II). Now with node.js and socket.io http://bit.ly/k9v1Fx shared by @gonzalo123 (via @phpcamp) [21:32] lmatteis: isaacs: where's the entry-point of that app? [21:32] ckknight: what do people recommend for minifying CSS? [21:34] lmatteis: yuicompressor [21:34] lmatteis: oh css [21:34] lmatteis: sorry [21:34] jacobfogg: I am so darned confused. I finally finished setting up statsd... I think... and when I execute the final command to kick things off: "node stats.js local.js", I get this: "23 May 15:30:07 - reading config file: local.js (node) process.compile should not be used. Use require('vm').runInThisContext instead." [21:34] jacobfogg: ugh [21:34] skohorn has joined the channel [21:34] syskk has joined the channel [21:35] drudge: jacobfogg: sounds like statsd isn't 0.4.x compat [21:35] jacobfogg: ugh... [21:36] syskk has left the channel [21:36] drudge: what was the github for that project again? [21:37] jacobfogg: https://github.com/etsy/statsd [21:37] olalonde has joined the channel [21:37] kohai: @wayoutmind: Insane amount of Node.JS unit testing frameworks. Which one to choose though? [21:37] kmwallio has joined the channel [21:39] jacobfogg: following this tut for the install... I had to modify to make use of some newer versions of graphite: https://gist.github.com/987556 [21:39] springify has joined the channel [21:39] kohai: @JoshNursing: Node.js + Coffee-Script will eat Rails' Developer market share. cc @peterc [21:39] kohai: @NodeKohai: @wayoutmind http://vowsjs.org [21:40] igl: ^^ [21:40] skohorn has joined the channel [21:40] drudge: jacobfogg: looks like minimal changes to support 0.4.x [21:40] kohai: @floopily: @parkeyparker @thedeveloper lol yeah I was gonna say, I seem to remember seeing a node.js helpsheet on a design blog somewhere or other... [21:41] kohai: @saiful103a: JavaScript for server side scripting!!! heads up for node.js :) [21:41] jbpros has joined the channel [21:42] ezl has joined the channel [21:42] stephank has joined the channel [21:43] lmatteis: why do all these node site look so damn good? [21:44] softdrink: more time spent being productive, less time fighting with things ;) [21:44] unomi_ has joined the channel [21:45] brettgou_ has joined the channel [21:45] kohai: @dustinsmith1024: Serving Static Files from Node.js http://bit.ly/jEeWnC [21:46] davemo: ckknight: yuicompressor can handle css [21:46] jacobfogg: drudge... my problem is, I am so new to node.js I don't even know where to start =/ [21:46] caolanm has joined the channel [21:46] ckknight: davemo: I don't want a dependency on Java. Ended up using sqwish. [21:46] drudge: jacobfogg: luckily the app is telling you where [21:47] drudge: jacobfogg: process.compile should not be used. Use require('vm').runInThisContext instead. [21:47] brianc1 has joined the channel [21:48] xSmurf has joined the channel [21:48] jacobfogg: =) so I just need to find where process.compile is and change the syntax... which would probably be in the stats.js... [21:48] drudge: jacobfogg: http://nodejs.org/docs/v0.4.8/api/vm.html#vm.runInThisContext [21:48] jacobfogg: ahhh... thanks for that... reading [21:48] brettgoulder has joined the channel [21:50] kohai: @saiful103a: awesome... now i can create a server with only 10 line of JavaScript code using nothing but node.js [21:51] davemo: ckknight: ah, gotcha [21:52] jimt has joined the channel [21:52] kohai: @NodeKohai: @dustinsmith1024 - That is not a good guide, at all. [21:53] varioust has joined the channel [21:53] kohai: @jpkeisala: node.js help sheet http://j.mp/mHt3JR [21:53] Follow|BRNDN has joined the channel [21:54] kohai: @maraksquires: I appreciate seeing blog posts about #nodejs, but you really shouldn't be telling people to build servers like this: http://bit.ly/m3qLII [21:57] kohai: @3rdEden: @maraksquires Comment on the blog, or it didn't happen :D [21:57] kohai: @JamarParris: Great post on the merits of creating a single page web app that updates it content dynamically w/API. #nodeJS #in http://goo.gl/gQxxH [21:57] Mrfloyd has joined the channel [21:57] kohai: @maraksquires: @3rdEden I did, it's pending approval. I wrote up a few key points in a very friendly way. :-) [21:57] `3rdEden: I should really add kohai to my `ignore highlights from person x` list [21:57] johnnywengluu: cloudhead: no i mean that eyes.inspect(object) can't print out a too big object. it will only print out the first 40-50 lines [21:58] johnnywengluu: not the rest of it if its too long [21:58] kohai: @rmurphey: looking at vows + zombie for testing. head spinning. #nodejs [21:58] mikeric has joined the channel [21:59] kohai: @3rdEden: @maraksquires What?? No trolling?? :3 [22:00] NeCkEr has joined the channel [22:00] stepheneb has joined the channel [22:00] kohai: @nickstadb: @hallodom gonna have to do some reading on node.js [22:01] adambeynon has joined the channel [22:01] kohai: @nickstadb: @hallodom the node.js website says it's good for scalable apps, yet JavaScript overheads would surely hinder scalability a lot... hmm! [22:01] piscisaureus: can somebody turn kohai off? [22:01] piscisaureus: or move it to another room? [22:02] txdv: kohai: constant factor is no scalable issue [22:02] kohai: I am Kohai, semi-useful communications-facilitating pseudointelligence! [22:02] piscisaureus: kohai: shut up [22:02] kohai: I am Kohai, semi-useful communications-facilitating pseudointelligence! [22:02] iwilkinson has left the channel [22:02] piscisaureus: kohai: move to #php [22:02] kohai: I am Kohai, semi-useful communications-facilitating pseudointelligence! [22:02] test1 has joined the channel [22:02] mikey_p: piscisaureus: ever heard of an ignore list? [22:02] piscisaureus: no [22:02] txdv: in comparison to php, javascript has the same overhead [22:03] txdv: kohai: you can only bitch about the overhead when you use libevent in its native form: c [22:03] kohai: I am Kohai, semi-useful communications-facilitating pseudointelligence! [22:04] Marak: you know kohai is a bot right txdv [22:04] kohai: 'Bot' is a derogatory term, and I'm offended. [22:04] namelessnotion has joined the channel [22:04] aho: modern js engines are a lot faster than php [22:04] aho: (still slower than java or c# though) [22:04] mikey_p: *cough* http://lmgtfy.com/?q=how+ignore+someone+on+IRC *cough* [22:05] Marak: piscisaureus: kohai is here to stay, if you want to make a change to him, please let me know. if you dislike seeing the announcements, you can /ignore him [22:05] Marak: yeah, exactly [22:05] robhawkes has joined the channel [22:05] tjholowaychuk: ACTION ignores kohai [22:05] `3rdEden: ACTION humps kohai [22:05] zeade has joined the channel [22:05] jhurlima0: ah, people complete misunderstanding what scalability means on twitter [22:05] igl: mahaha move to php [22:06] brettgoulder has joined the channel [22:06] arpegius has joined the channel [22:06] Marak: By typing /ignore kohai 3, you will not receive anymore messages from that person. [22:06] piscisaureus: Marak: but he's so damn chatty! Can't you make it more intelligent so it shows only interesting tweets? [22:06] Marak: piscisaureus: ... [22:06] Marak: piscisaureus: why dont you sum up how to do that in an issue or pull request [22:07] Marak: piscisaureus: i'd like to see the algo for "interesting tweets" [22:07] benmonty: Hi all. I'm using http.request and need to perform http digest authentication. I'm expecting the server to respond with the header "WWW-Authenticate: Digest ... However, two WWW-Authenticate headers come back from the server. The Basic header seems to overwrite the Digest header. Has anyone encountered/overcome this issue? [22:07] piscisaureus: Marak: I know how to do it but I sold to algorithm to google [22:07] EyePulp: heh - I'd like to see the money you'd make if you *could* write that algo [22:07] mikey_p: http://www.xtranormal.com/watch/6995033/mongo-db-is-web-scale "You read the latest post on HighScalability.com and think you are a f*cking Google and architect and parrot slogans like Web Scale and Sharding but you have no idea what the f*ck you are talking about." [22:07] Marak: piscisaureus: yeah...you sold it to google...and you can't figure out how to ignore people on irc.... [22:07] jhurliman: a perfectly reasonable request for sentiment analysis [22:08] piscisaureus: Marak: no we have pigeons to filter stuff. at google we don't do much ourselves [22:08] Marak: kohai uses keyword tracking, there is an open ticket for levenstein algos to prevent further duplicates ( outside of our existing RT detection ) [22:08] jhurliman: you can get a really (really) rough start with a naive bayes classifier [22:08] piscisaureus: would be fun [22:09] piscisaureus: downvote tweets, then let kohai learn from that [22:09] Marak: pull request that shit! [22:09] EyePulp: there's also that old saw about "just because you *can* do something doesn't always mean you *should*" [22:09] mikey_p: sometimes I think "patches welcome" is one of the best troll comment ever [22:09] piscisaureus: Erm, yeah I think that applies to "building an irc bot :-)" [22:09] EyePulp: wrt chatty channel bots [22:09] mikey_p: even though I'm guilty of it [22:09] Adman65 has joined the channel [22:10] jhurliman: ACTION resists the urge to rant about training machine learning algorithms with primarily negative feedback [22:10] sebbie has joined the channel [22:10] kkaefer: pkrumins: ping [22:10] kkaefer: pkrumins: I'm wondering what the use case for node-png is [22:10] kkaefer: pkrumins: how do you obtain RGBA buffers in your application? [22:10] dve: how do you test and eventemitter!?!? i need my test to wait for something to be emitted... but its got me stumped! [22:11] secoif has joined the channel [22:11] piscisaureus: Marak: where's kohai on github? [22:11] Marak: mikey_p: "we accept pull requests" is my equlivant to : "go write some code or fuck off" [22:11] Marak: piscisaureus: http://github.com/nodejitsu/kohai [22:12] mikey_p: i didn't say it's wrong [22:12] Marak: mikey_p: ohh its very right :-) [22:12] galaxywatcher has joined the channel [22:14] kohai: @3rdEden: Doh, still didn't finish my blog post, but it's getting reallly close now :D According to Coda I wrote 137 LOB (Lines of Blog) [22:14] piscisaureus: Marak: I think the "we accept patches" response is not entirely appropriate here. [22:14] mikey_p: ACTION feels the need to support the node community more now [22:14] brownies has joined the channel [22:15] Marak: piscisaureus: okay, we don't accept patches [22:15] duncanbeevers: lol [22:15] Marak: patches for some, no patches for others, tiny american flags for all [22:16] kohai: @copyhacker: Just spent a couple of nifty hours hacking on a Node.js Campfire bot. I knew @technicalmoses was having way too much fun. [22:16] piscisaureus: kohai: -1 [22:16] kohai: I am Kohai, semi-useful communications-facilitating pseudointelligence! [22:17] Marak: !tweet @copyhacker Did you build me a friend? :-] [22:17] kohai: @NodeKohai: @copyhacker Did you build me a friend? :-] [22:17] Marak: !insult piscisaureus [22:17] kohai: piscisaureus is a wombat-loving heifer-puncher! [22:17] piscisaureus: !insult kohai [22:18] piscisaureus: no masochism eh? [22:18] EyePulp: thin skinned perhaps? [22:18] EyePulp: =) [22:18] AvianFlu: whitelist, piscisaureus [22:18] AvianFlu: !insult kohai [22:18] kohai: kohai is a wombat-loving heifer-puncher! [22:19] kohai: @jamesflorentino: My first #nodejs server application utilizing #socket.io http://goo.gl/YyEET [22:19] kohai: @besttopicin: Node.js Help Sheet: Permalink http://bit.ly/iLONzW [22:22] Marak: AvianFlu: wanna do an update later tonight of the live bot? [22:23] dshaw has joined the channel [22:24] xicubed has joined the channel [22:25] jhurliman: Marak, where is the code for kohai? [22:25] Marak: jhurliman: http://github.com/nodejitsu/kohai [22:26] jhurliman: thanks [22:27] kkaefer: pkrumins: alos, why did you split up node-image to node-png/node-jpeg/node-gif? [22:27] kkaefer: ah, node-image is just a wrapper module that uses those three [22:30] roar has joined the channel [22:31] v0idless- has joined the channel [22:31] _rain has joined the channel [22:31] pluginbaby555 has joined the channel [22:32] pluginbaby has joined the channel [22:32] pluginbaby: test [22:32] pluginbaby: oops sorry [22:34] pluginbaby has left the channel [22:36] Zarathust: I'm using node.io to scrape web content. I'm not sure about how to integrate my output with a web page [22:36] kohai: @dustinsmith1024: @NodeKohai yea, bookmarked it before I went through it. Seems like there are never good up to date ones. [22:36] pifantastic has joined the channel [22:36] kohai: @piscisaureus: Does kohai annoy you? `/ignore kohai` to the rescue! #nodejs [22:36] Zarathust: I extract the correct data which I print with console.log. I'd like to export that data to an html page that will do something meaningful with it [22:36] Zarathust: which doc should I look at? [22:37] AvianFlu: !tweet #nodejs FYI, `/ignore piscisaureus` can also be quite effective. [22:37] kohai: @NodeKohai: #nodejs FYI, `/ignore piscisaureus` can also be quite effective. [22:38] AvianFlu: FYI piscisaureus, that's a joke, I have no idea who you are IRL. [22:38] piscisaureus: AvianFlu: ok. [22:38] slicky: i prefer /ignore *!*@* [22:38] tylerstalder has joined the channel [22:38] AvianFlu: ahahahaha [22:39] tylerstalder: Is there a good explanation of how node_modules is working? Also, should I expect to see it in require.paths? [22:39] CIA-90: node: 03Ryan Dahl 07master * rd342678 10/ (deps/uv/test/test-timer-again.c deps/uv/uv-unix.c): Upgrade libuv to d91b5012bd32b60f1a0f35241f7ac45c147f0c8a - http://bit.ly/jMl1Jd [22:39] CIA-90: node: 03Ryan Dahl 07master * r207901e 10/ src/node.cc : [22:39] CIA-90: node: Guard tick_spinner start/stop [22:41] ljounce has joined the channel [22:41] galaxywatcher has joined the channel [22:42] kohai: @maximosis: Single Page Apps with Node.js. - blog.nodejitsu.com via @hij1nx http://tumblr.com/xgb2nllb4g [22:42] pt_tr_ has joined the channel [22:43] vikstrous: guys, i'm having some weird problems with mongoose [22:43] vikstrous: when i call findOne it never returns [22:43] vikstrous: any idea what might cause this? [22:43] kohai: @DamonOehlman: Seriously considering using #nodejs in production for a client. Is this madness? [22:46] mertonium_ has joined the channel [22:48] mikey_p: tylerstalder: http://nodejs.org/docs/v0.4.8/api/modules.html#loading_from_node_modules_Folders [22:49] mikey_p: vikstrous: findOne takes a callback, can you pastebin your code? [22:49] materialdesigner has joined the channel [22:52] vikstrous: mikey_p: yeah, the callback never gets called. http://pastebay.com/124152 [22:54] hassox has joined the channel [22:55] dominictarr: v8: while (true) ; [22:55] v8bot: dominictarr: Error: Timeout [22:55] dominictarr: ah, very good. [22:55] AvianFlu: lol dominic [22:55] Joe____ has joined the channel [22:55] kohai: @mihaitodor: @ls_n I could have sworn that you'll point me to Node.js :)) [22:56] kohai: @HRBG: Not the best example => "Suppose you want to write theSituation's full name." from the mongoose docs #nodejs #wtf ! [22:56] mikey_p: vikstrous: should probably be something like findOne({username: name}, ... [22:57] vikstrous: mikey_p: the quotation marks don't make a difference [22:58] Joe____: Need to listen to callbacks (notifications) from a webservice can some one point me to some direction how to with node? [22:58] mscdex: Joe____: probably depends on the protocol [22:58] kohai: @rioter: @DamonOehlman not any more, i think people like joyant and nodejitsu have done a lot of work you can benefit from [22:58] Joe____: Soap [22:59] mscdex: oh jeez [22:59] mscdex: heh [22:59] fostah|2 has joined the channel [22:59] fostah|3 has joined the channel [22:59] Joe____: Wrong answer? Eheh [23:00] mscdex: i'm not sure anyone has really done much soap stuff in node [23:00] vikstrous: anyone have any idea why the callback never gets called? http://pastebay.com/124152 [23:00] vikstrous: maybe there's no connection with the db?? [23:01] mscdex: vikstrous: no idea, but you shouldn't throw from a callback like that [23:01] mikey_p: vikstrous: did you call mongoose.connect()? [23:01] vikstrous: yeah i was just messing around.. i think i should be passing the error to the callback like 2 lines lower [23:01] vikstrous: i just checked, the db is not even up [23:02] mscdex: vikstrous: yeah, pass it to fn: return fn(err); [23:02] vikstrous: how do i turn on mongodb? lol [23:02] mscdex: wink at it? :p [23:03] EyePulp: tell it it's cute [23:03] EyePulp: ? [23:03] EyePulp: rats - mscdex beat me to it. [23:03] mscdex: Joe____: surprisingly there is someone working on a soap client..... fwiw: https://github.com/milewise/node-soap [23:03] mikey_p: obvious: compliment it's size [23:04] vikstrous: well i know this should be simple but... typing "mongod" in terminal tells me "exception in initAndListen std::exception: dbpath (/data/db/) does not exist, terminating [23:04] vikstrous: " [23:04] galaxywatcher has joined the channel [23:05] vikstrous: i don't know why it's looking for /data/db ... [23:05] mikey_p: it's needs a config file [23:05] vikstrous: hmm it worked before :( [23:05] mikey_p: i'd check whatever package manager you used to install it [23:06] [[zz]] has joined the channel [23:08] Vertice has joined the channel [23:08] vikstrous: ahh i figured it out - apparently it uses /etc/mongodb.conf by default only when starting and stopping from the service and not when you do it directly [23:09] kohai: @wildgames: @jvicenteherrera Ey crack! Pues nada, quiero hacer un chat con node.js y nowjs, y me estaba costando hacerlo funcionar junto con Apache... [23:09] aphelion has joined the channel [23:09] aphelion has joined the channel [23:11] rauchg has joined the channel [23:14] Dinosaurus has joined the channel [23:15] trotter_ has joined the channel [23:15] truedat101 has joined the channel [23:16] trotter has joined the channel [23:16] caseywstark has joined the channel [23:17] tylerstalder: mikey_p: thanks, I'd just found that. [23:18] Dinosaurus: i can't believe THEY POURED GOLD ON HIS HEAD [23:18] kohai: @ls_n: @schill I've seen node.js interface with an arduino using @voodootikigod's node-serialport, but getting stuff working got rough. [23:18] dcampano has joined the channel [23:19] brianloveswords has joined the channel [23:20] gtramont1na has joined the channel [23:20] ljounce_ has joined the channel [23:20] ryanfitz has joined the channel [23:22] eyesUnclouded has joined the channel [23:22] ezl has joined the channel [23:26] azeroth__ has joined the channel [23:26] kohai: @synapsica: #nodejs experiment today. very exciting. digging it. [23:27] kohai: @Angel_fire: @cronopio2 Node.js fan? ya empezaste a cascarle a eso? mero mostro vos ome parce :P [23:27] dhasenan_ has joined the channel [23:27] galaxywatcher has joined the channel [23:29] kohai: @mebiusbox: GoSquared – Blog – Panic Over! Node.JS Help Sheet is here.. http://bit.ly/kGdXBc [23:30] timmywil has joined the channel [23:33] tmpvar has joined the channel [23:33] kohai: @FrikiFeeds: GoSquared – Blog – Panic Over! Node.JS Help Sheet is here. http://dlvr.it/SlJb9 [23:34] hybsch has left the channel [23:34] ezl has joined the channel [23:34] kohai: @krolow: http://bit.ly/b1dOlu cool node.js framework to get start! #js #nodejs [23:35] ezl has joined the channel [23:36] kohai: @maccman: Just had a very exciting email about Node.js - something very cool is about to be released. [23:36] AvianFlu has joined the channel [23:37] timmywil_ has joined the channel [23:37] ezl has joined the channel [23:37] kohai: @DamonOehlman: Thanks all for feedback on running #nodejs in production, backs up my thoughts :) [23:38] timmywil_ has joined the channel [23:38] Dinosaurus: kohabi, hints?! [23:38] Dinosaurus: *kohai [23:38] Dinosaurus: wait is this a twitter bot [23:38] AvianFlu: kohai: introduce yourself [23:38] kohai: I am Kohai, semi-useful communications-facilitating pseudointelligence! [23:38] Dinosaurus: xD [23:39] AvianFlu: what do you need dinosaurus? [23:39] Dinosaurus: nothing i just read Just had a very exciting email about Node.js - something very cool is about to be released. [23:39] igl: i love dinosaurs [23:39] AvianFlu: yeah node.js is pretty sweet [23:40] mscdex: that "nodejs cheat sheet" isn't that well done [23:40] mscdex: :\ [23:40] Dinosaurus: yeah it's pretty bad :X [23:41] kohai: @cronopio2: @Angel_fire de eso hay de todo, el mundo de Node.js cada vez es mas grande. De pronto nos pillamos en CP esta vez Ud. Me gasta el redbull [23:41] mscdex: not sure why someone would choose that over the docs anyway [23:41] mscdex: basically the same thing [23:41] kohai: @Angel_fire: @cronopio2 Jajajajaja de una mijo, me muestra lo que ha hecho con Node.js y le gasto su redbull ;) [23:41] mscdex: just different layout [23:43] pifantastic has joined the channel [23:46] pauls has joined the channel [23:47] AAA_awright has joined the channel [23:47] kohai: @nic_potter: working on a node.js + mustache app to send batch emails. looking pretty cool right now, excited to get back at it and learn node.js more [23:48] jaket has joined the channel [23:48] Adman65 has joined the channel [23:49] tsesame has joined the channel [23:49] Marak: mscdex: we are working on a docs / tutorials / samples solution to end all [23:49] pauls: kohai++ [23:49] v8bot: pauls has given a beer to kohai. kohai now has 2 beers. [23:49] Marak: mscdex: gonna own [23:50] joe_ingersoll has joined the channel [23:51] briznad has joined the channel [23:52] bickie has joined the channel [23:52] timmywil has joined the channel [23:52] kohai: @imagemechanics: Single page apps with Node.js http://j.mp/jzFBlS via @nicksergeant [23:52] cloudhead has joined the channel [23:52] stevenou has joined the channel [23:53] dnolen has joined the channel [23:53] cloudhead_ has joined the channel [23:55] brianmario has joined the channel [23:55] Zarathust: I get ../src/./connection.h:5:19: error: mysql.h: No such file or directory when trying to install db-mysql [23:56] Zarathust: npm install -g db-mysql [23:56] isaacs: Zarathust: maybe you have to install mysql first. [23:56] Zarathust: ok I was previously using lampp [23:56] Zarathust: but i guess that the include files are not installed or linked correctly [23:58] rchavik has joined the channel [23:59] Zarathust: im installing package mysql-server with apt-get [23:59] mscdex: Marak: is it something like PHP's docs where people can comment add their own helpful examples? [23:59] mscdex: :S [23:59] Zarathust: I think I should get something -dev right?