[00:00] alejandromg: sorry I was eating ;) [00:00] skenqbx has left the channel [00:00] rob16299: im on windows, im using an sdk for a javascript engine [00:00] davidbanham has joined the channel [00:00] rob16299: and thats what they support, we dont do linux dev at my company [00:00] mmalecki: node.js has a native windows build now. please use it. [00:00] rob16299: i tried it [00:01] rob16299: doesnt work on my engine, and they wont provide support for windows [00:01] alejandromg: OH! [00:01] defunctzombie: who won't provide support? [00:01] Sorella has joined the channel [00:01] rob16299: the sdk company that we're using to write apps for [00:01] mmalecki: hahahahahaha [00:01] defunctzombie: what sdk for what engine? it sound to me like your are trying to use technologies that are not meant for the platforms [00:01] mmalecki: tell them to gtfo [00:02] mmalecki: that's what a sane company would do [00:02] mmalecki: or get a linux [00:02] marcello3d: so you have to use windows, but you can't use windows? [00:02] defunctzombie: in which case I think you will find it very hard to find anyone to support you [00:02] marcello3d: that sounds confusing [00:02] rob16299: i know it all sounds weird, but thats where Im at, not the boss [00:02] defunctzombie: why do you want to use node? [00:02] mmalecki: that's called vendor lockin. [00:02] defunctzombie: and what were you using before? [00:02] marcello3d: it sounds like whatever library you're using isn't designed for windows? [00:03] rob16299: have to, thats how development is done on their platform, then its pushed to their servers [00:03] marcello3d: since it's using exec to check for root privileges (poorly designed?) [00:03] defunctzombie: without more details there isn't much help we can give [00:03] rob16299: i can give you all the details of what its trying to do [00:03] cainus: hey all... can anyone recommend a hosting company where I can deploy via some method other than version control? [00:03] rob16299: utils.info("Server running at http://localhost:" + gServerPort + "/" ); [00:03] defunctzombie: and sticking to node 0.4x isn't smart as no one will really support that now [00:03] alejandromg: *Show the details* [00:03] defunctzombie: cainus: depends how you want to deploy [00:04] rob16299: Create Flash socket policy file server if running as root. [00:04] rob16299: exec('id -G | sed -E "s/ .*//g"', function(serror, stdout, stderr) [00:04] mmalecki: cainus: nodejitsu [00:04] alejandromg: nodejitsu +1 [00:04] defunctzombie: rob16299 these are not details [00:04] cainus: defunctzombie: ftp or scp? can't really think of anything else [00:04] rob16299: what do you need? [00:04] defunctzombie: rsync :) [00:05] defunctzombie: rob16299: what is it that you are trying to use? [00:05] cainus: rsync is a little bit troublesome in this scenario [00:05] defunctzombie: and why are you trying to make it work on cygwin instead of a linux system? [00:05] MooGoo: all that exec does is go out of its way to check if you are root [00:05] MooGoo: just dont check on windows [00:05] defunctzombie: I know you said your company doesn't do windows [00:05] cainus: isn't nodejitsu under private beta? [00:06] rob16299: i am using node to host a local server to debug and develop a mobage application https://developer.mobage.com/ [00:06] mmalecki: cainus: yeah, but we can get you in in no time [00:06] alejandromg: cainus: join the irc channel of nodejitsu and ask #nodejitsu [00:06] mmalecki: dislaimer: I work for nodejitsu [00:06] alejandromg: LOL [00:06] rob16299: so work around it and not call exec? [00:07] rob16299: ill give it a shot [00:08] alejandromg: Yeah! BTW what sdk features do you need to write code? [00:08] alejandromg: *js code [00:08] rob16299: they have helpers for physics, touch handling, sprites, etc [00:08] marcello3d: is it safe on node master to just copy the built exec to /usr/local/bin/node, or do I need to do more to mimick the old 'make install' ? [00:08] rob16299: our company is helping them make applications for their sdk [00:09] marcello3d: rob: tell them node 0.6.x is out with windows compatibility and they should support windows now [00:09] marcello3d: without cygwin [00:10] alejandromg: what marcello said,,, [00:10] marcello3d: their docs say "Windows users must install a shell environment (e.g., Cygwin). We do not support Windows, because node.js is still unstable on Windows. " [00:10] marcello3d: which isn't true anymore [00:10] felixge has joined the channel [00:10] felixge has joined the channel [00:11] rob16299: theyre kinda slow with their sdk tools, but ill mention it to them next week [00:11] rob16299: unfortunately didnt work, not calling exec [00:11] rob16299: it created the server, but now different issues :P [00:11] alejandromg: You should do that... [00:13] rob16299: 00:08:07 : INFO : stack: TypeError: undefined is not a function at CALL_NON_FUNCTION_AS_CONSTRUCTOR (native) [00:13] rob16299: <- dies [00:13] hij1nx has joined the channel [00:14] marcello3d: it doesn't sound like it's your job to fix their bugs [00:14] Juan77 has joined the channel [00:15] marcello3d: oh that's pretty cool: https://github.com/visionmedia/term-canvas [00:16] defunctzombie: oh jesus [00:17] defunctzombie: why... oh god why.. [00:17] marcello3d: curses guis? :D [00:17] defunctzombie: sigh [00:18] marcello3d: it certainly looks like a just-for-fun hack library [00:18] kersny has joined the channel [00:19] joaquin_win has joined the channel [00:21] indexzero has joined the channel [00:21] replore has joined the channel [00:21] replore_ has joined the channel [00:26] kersny has joined the channel [00:27] necromancer: hi guys [00:27] necromancer: i'm following the peepcode "meet node.js" tutorial/screencast [00:27] necromancer: and i have the following function (in the tutorial it's called ipToPosition): https://gist.github.com/1381262 [00:28] necromancer: i've discovered that it's not getting to the "response" listener callback [00:28] necromancer: and since this was made when node was at v0.1.x, i was wondering if this workflow has changed at all.. [00:29] User__ has joined the channel [00:30] alejandromg: necromancer: the geoip/api/locate.json it's a local address? in the same server? [00:31] robotmay has joined the channel [00:32] marcello3d: wow, node 0.6.2's buffer writeUInt** etc commands are super slow [00:32] marcello3d: if I switch from my javascript version to those, runs half the speed [00:34] CarterL has joined the channel [00:35] c4milo has joined the channel [00:35] jstash has joined the channel [00:35] rob16299: going with virtualbox, thank you all for your help [00:36] marcello3d: good luck [00:36] phlff has joined the channel [00:36] MooGoo: try arch it's nice [00:36] alejandromg: rob16299: Good luck with that.. [00:36] rob16299: whatever is a quicker setup, what is arch? [00:37] alejandromg: a linux flavor [00:37] MooGoo: a good linux distro [00:37] MooGoo: if you are okay with a little command line...it's pretty quick and easy to get a minimal system with node [00:38] marcello3d: anyone played with node on rackspace cloud? [00:38] alejandromg: I do! [00:39] alejandromg: *did [00:39] samshull has joined the channel [00:39] phlff: With express I'm getting "Error: Can't set headers after they are sent." from hitting a simple router app.get('/'); which only does "res.render('index');" and returns. I've googled this and don't see anything obvious. [00:39] phlff: index is a simple ejs template. [00:40] marcello3d: does it work alright? I just want to do a little "production" testing [00:40] paq has joined the channel [00:40] marcello3d: perhaps staging is a better term [00:40] Rockinoutt93 has joined the channel [00:40] cainus: phlff: paste some code? [00:40] phlff: cainus: okay :) [00:40] alejandromg: *staging yeah! It worked like charm [00:41] marcello3d: what do you use to setup the server? it seems like something I'd want to make repeatable/automatable [00:41] alejandromg: I initialize a new cloudserver with nodejs, mongodb, and more in like 15mins.. [00:41] Draco_ has joined the channel [00:42] marcello3d: just commandline hacking it? [00:42] alejandromg: Yeah! ;) but the nodejitsu guys build this https://github.com/nodejitsu/node-cloudservers [00:42] alejandromg: and That's pretty clever... [00:42] marcello3d: what about backup? is there a way to snapshot it, shut down the server, and pull it up again later? [00:42] marcello3d: I saw this...did you try it? [00:43] alejandromg: No I just found this earlier [00:43] marcello3d: I'll try it out [00:43] alejandromg: RS has something called Server images [00:43] phlff: cainus: thanks…..it was my loadUser middleware. Figured it out while double checking my pastebin. [00:43] alejandromg: I thing that can help [00:44] phlff: cainus: as you can see, there wasn't much else to go wrong: http://pastebin.com/qWLhFpB4 [00:47] marcello3d: inceplinenumbertion [00:50] towski has joined the channel [00:50] cainus: phlff: cool :) rubber duck debugging :) [00:53] tokenmathguy has joined the channel [00:54] marcostoledo has joined the channel [00:54] phlff: cainus: cool, hadn't heard that before, just read up on it. Funny. [00:54] tokenmathguy: hi all [00:54] secoif has joined the channel [00:55] tokenmathguy: js-mode in emacs doesn't behave too nicely with regard to tabs and dot-before notation [00:55] tokenmathguy: anyone have a good way of handling this (besides going back to vi)? [00:56] Lingerance: Use vim instead? [00:56] Lingerance: ACTION doesn't know anyone who still uses vi [00:56] tokenmathguy: Lingerance: ha [00:56] diogogmt has joined the channel [00:57] qard has joined the channel [00:57] caolanm has joined the channel [00:59] zanes has joined the channel [01:00] jacobolus has joined the channel [01:01] kersny has joined the channel [01:01] _th_n_ has joined the channel [01:02] ryanfitz has joined the channel [01:02] markdaws has joined the channel [01:02] towski_ has joined the channel [01:04] cure_ has joined the channel [01:06] jacobolus has joined the channel [01:06] Tuller has joined the channel [01:06] neilk_ has joined the channel [01:06] defunctzombie: marcello3d: yea, the write commands for buffer are very very slow [01:07] defunctzombie: I don't know why (haven't looked into it) [01:07] defunctzombie: but it is bad because it will encourage people to use them [01:07] defunctzombie: when they are this slow [01:07] paul__ has joined the channel [01:07] Daegalus has joined the channel [01:09] heavysixer has joined the channel [01:10] nyxynyx has joined the channel [01:10] nyxynyx: hello [01:12] mandric has joined the channel [01:13] zanes has joined the channel [01:16] dilvie has joined the channel [01:16] jtsnow has joined the channel [01:17] nyxynyx: hell node.js [01:17] nyxynyx: hello node.js [01:18] slajax has joined the channel [01:19] alejandromg: heloo [01:19] alejandromg: *hello [01:21] tomlion has joined the channel [01:21] ryanrolds: hello [01:22] jldbasa has joined the channel [01:25] stupidlurker has joined the channel [01:25] ekryski has joined the channel [01:30] defunctzombie: victory! first major step of refactoring libxmljs complete [01:30] defunctzombie: one small step for man.. one giant step for my personal well being ;) [01:30] alejandromg: +1 [01:31] stagas has joined the channel [01:31] jtsnow has joined the channel [01:32] kriszyp has joined the channel [01:34] towski has joined the channel [01:35] abraxas has joined the channel [01:35] tomlion has joined the channel [01:36] kersny has joined the channel [01:37] paul__ has joined the channel [01:37] mike5w3c has joined the channel [01:38] MUILTFN has joined the channel [01:38] torsd has joined the channel [01:41] ditesh|cassini has joined the channel [01:41] Inhuman has joined the channel [01:43] MooGoo: ohrly? [01:44] strmpnk has joined the channel [01:44] jesster7 has joined the channel [01:44] jesster7 has left the channel [01:44] MooGoo: catb0t thx u [01:44] catb0t: thx a lot [01:44] MooGoo: she rly wants to upgrade to .6 [01:44] MooGoo: I wonder if node-sqlite is updated yet [01:46] tilgovi has joined the channel [01:46] tilgovi has joined the channel [01:46] boltR has joined the channel [01:46] tomlion_ has joined the channel [01:47] k1ttty has joined the channel [01:48] secoif has joined the channel [01:48] Emmanuel` has joined the channel [01:49] towski has joined the channel [01:49] neilk_ has joined the channel [01:50] joaquin_win has joined the channel [01:50] bartt has joined the channel [01:53] dilvie has joined the channel [01:54] diogogmt has joined the channel [01:54] _bat has joined the channel [01:55] towski_ has joined the channel [01:56] phlff: Wow, running authentication which involves hitting mongo, then rendering my home page which has several mongo calls, and then putting together an EJS template, I'm getting ~400 pages/second on a micro EC2 instance. And this is running ab from the same machine. Django was giving me 30 pages a second with the same setup. [01:56] bradleymeck has joined the channel [01:57] a_suenami has joined the channel [01:57] qard has left the channel [01:58] zanes has joined the channel [01:59] alejandromg: phlff: That's the powerful node.js in action ;) [01:59] celalo has joined the channel [01:59] towski has joined the channel [01:59] Rockinoutt93 has joined the channel [02:00] kmiyashiro has joined the channel [02:00] phlff: alejandromg: just too awesome. bbl going to go show this off. [02:00] celalo: hello [02:00] celalo: At the client side you do it via window["functionName"](arguments); [02:00] celalo: How it would be possible in node.js server-side code? [02:01] dreamdust has joined the channel [02:01] kmiyashiro has joined the channel [02:01] yuwang has joined the channel [02:02] sdwrage has joined the channel [02:04] alejandromg: celalo: I don't know what do you mean... [02:05] maqr has joined the channel [02:05] celalo: Calling functions by (string) name [02:05] obensource_ has joined the channel [02:05] igl: same thing [02:06] igl: obj["key"](); [02:06] alejandromg: yeah! Same thing [02:07] igl: nodejs fuck yeah [02:08] MooGoo: he means global["functionName"](args) [02:08] amigojapan has joined the channel [02:08] MooGoo: or just (function() { this == global }()) [02:12] kurtzhong has joined the channel [02:14] Aria has joined the channel [02:14] gaaag has joined the channel [02:14] gaaag has left the channel [02:15] Wa has joined the channel [02:17] icewhite has joined the channel [02:22] Lingerance: MooGoo: You can't assign this like that. [02:24] diogogmt has joined the channel [02:26] kazupon has joined the channel [02:27] mike5w3c_ has joined the channel [02:28] cognominal_ has joined the channel [02:29] styol has joined the channel [02:29] rchavik has joined the channel [02:29] AD7six has joined the channel [02:29] paul__ has joined the channel [02:30] styol has joined the channel [02:31] dthompso99 has joined the channel [02:32] styol has joined the channel [02:32] jldbasa has joined the channel [02:33] cognominal___ has joined the channel [02:33] styol has joined the channel [02:35] Kunda has joined the channel [02:36] kurtzhong has joined the channel [02:37] hij1nx has joined the channel [02:37] issackelly_ has joined the channel [02:38] yuwang_ has joined the channel [02:38] MooGoo: what now [02:39] marcostoledo has joined the channel [02:39] secoif has joined the channel [02:40] gavin_huang has joined the channel [02:40] jacobolus has joined the channel [02:40] jaequery has joined the channel [02:42] zanes has joined the channel [02:42] bodisiw has joined the channel [02:44] Charuru has joined the channel [02:48] Juan77 has joined the channel [02:48] ryanfitz has joined the channel [02:51] smathy has joined the channel [02:52] josephg has joined the channel [02:52] t0mmyvyo has joined the channel [02:53] isaacs has joined the channel [02:53] munichlinux has joined the channel [02:55] mdel has joined the channel [02:56] diogogmt has joined the channel [02:57] qmx has joined the channel [02:57] smathy_ has joined the channel [02:57] alexpbrown has joined the channel [02:59] lyte_ has joined the channel [03:00] r04r has joined the channel [03:00] r04r has joined the channel [03:02] redsofa has joined the channel [03:04] isaacs has joined the channel [03:05] r04r has joined the channel [03:05] r04r has joined the channel [03:05] isaacs has joined the channel [03:06] jellosea has left the channel [03:07] atourino has joined the channel [03:09] secoif has joined the channel [03:09] r04r has joined the channel [03:10] bartt1 has joined the channel [03:10] binarychef has joined the channel [03:11] blaenk has joined the channel [03:11] blaenk has joined the channel [03:13] ditesh|cassini has joined the channel [03:14] r04r has joined the channel [03:14] r04r has joined the channel [03:17] materialdesigner has joined the channel [03:20] binarychef has left the channel [03:20] Me1000 has joined the channel [03:20] randy_ has joined the channel [03:21] r04r has joined the channel [03:21] r04r has joined the channel [03:22] kriszyp has joined the channel [03:25] MatthewS has joined the channel [03:25] CIA-109: node: 03Ryan Dahl 07v0.6 * r9d1bdbc 10/ (Makefile tools/osx-pkg.pmdoc/01local.xml tools/osx-dist.sh): Fixes #2084. Makeify tools/osx-dist.sh - http://git.io/8fY6bw [03:25] sdwrage has joined the channel [03:26] r04r has joined the channel [03:26] r04r has joined the channel [03:30] Aria: ACTION does the "under 500 failing assertions" dance. [03:30] Aria: And found one bug in either the html5lib test data or the spec. [03:30] ryah: Aria: 500? dang [03:31] Aria: Yeah. The HTML5 parser has a huge test suite (thanks, HTML5lib!), and there's all kinds of crazy edge cases. [03:31] Aria: I'm in the pile where it's stuff like "what happens if you have a < at the end of file inside an unclosed [03:36] defunctzombie: marcello3d: ping @cainus [03:36] joaquin_win_ has joined the channel [03:37] Aria: cainus: mustache, for one. [03:37] cainus: Aria: yeah I'm aware of a bunch of template libs [03:37] defunctzombie: Aria: the tostring I get back just closes the head tag for me and then the html document [03:37] dilvie has joined the channel [03:37] cainus: just wondering if people are really rendering on both the client and server (in the same app) [03:38] defunctzombie: so after parsing that, I can tostring the document and get