[00:01] kenperkins: exciting (for me) update just shipped to clipboard.com :) [00:01] daneroo has joined the channel [00:02] stepheneb has joined the channel [00:02] fzzzy has joined the channel [00:03] colinclark has joined the channel [00:03] kriszyp has joined the channel [00:04] neurodrone has joined the channel [00:05] cliffano has joined the channel [00:06] tjholowaychuk: kenperkins haha it's awesome [00:06] themiddleman_itv has joined the channel [00:06] tjholowaychuk: playing around with it [00:08] daneroo has joined the channel [00:09] ctide: kenperkins: if i try to hit invite friends, i get this: http://imageshar.es/4ea74f92dab47f33160002a9 [00:11] kenperkins: ctide interesting [00:11] kenperkins: pm [00:14] lulzfish_4 has joined the channel [00:14] erichynds has joined the channel [00:15] hostsamurai has joined the channel [00:15] postwait has joined the channel [00:16] lulzfish_4: I haven't used Node yet but I figured I would join here... what kind of discussion usually goes on? [00:17] kenperkins: herr and durr [00:17] kenperkins: ;) typically node.js dialog, npm, features and bugs, sites built with node [00:18] lulzfish_4: npm? [00:19] isaacs: lulzfish_4: the program manager for node [00:19] isaacs: lulzfish_4: npmjs.org [00:19] lulzfish_4: ah all right... [00:19] isaacs: http://npmjs.org [00:19] daneroo has joined the channel [00:19] lulzfish_4: Another language-oriented package manager... [00:19] isaacs: yep [00:20] EyePulp: lulzfish_4: that's the size of it. [00:20] isaacs: platform-oriented, to be more specific, i guess [00:20] EyePulp: awesome-oriented. [00:20] isaacs: but most of the time, language implies platform. js is a bit weird in that it is a language that spans more than one platform. [00:20] zikes has joined the channel [00:21] ParadoxQuine has joined the channel [00:22] githogori has joined the channel [00:22] lulzfish_4: It makes me wonder what Lua, Python, Ruby, and Node are all doing so different that they each have their own PM [00:22] ryah: lulzfish_4: you should be wondering what the os is doing so wrong that it requires rewriting these things [00:22] lulzfish_4: I can see why they don't use the system-level PM though, since they [00:22] lulzfish_4: yes exactly [00:22] ryah: answer: sucking [00:22] lulzfish_4: I was gonna say namespaces [00:23] lulzfish_4: I guess you are right about platform [00:23] SubStack: different languages need different package managers [00:23] lulzfish_4: I won't need a Node-specific script for anything else in my system [00:23] ryanallenbobcat has joined the channel [00:23] EyePulp: finally rolling out our first sizable node project this week. 17,000 domains all pointing at a node app & redis for proxying with slight bits of page surgery. [00:23] mdaisuke has joined the channel [00:23] SubStack: if node were using a non-node specific package manager it would suck [00:23] lulzfish_4: 17,000 domains? [00:23] EyePulp: si [00:23] tjholowaychuk: jesus [00:23] EyePulp: and shockingly, it's not even link farming. [00:23] EyePulp: =) [00:23] lulzfish_4: What is it [00:24] lulzfish_4: (I am afraid to ask what a domain is, I am thinking domain names) [00:24] replore has joined the channel [00:24] replore_ has joined the channel [00:25] EyePulp: a corporate customer who has a lot of representatives with their own vanity domains. we take the corporate page and modify it slightly based on certain services the rep has bought, and display it through their domain. [00:25] bluebit has joined the channel [00:25] lulzfish_4: Disturbing [00:25] EyePulp: we manage the services and domains. [00:25] tjholowaychuk: we have marketing crap through like 28 [00:25] tjholowaychuk: and i thought that was a lot [00:25] tjholowaychuk: though im sure in the end that will just tank you seo-wise [00:26] tjholowaychuk: it's pretty blatant and useless [00:26] Industrial has joined the channel [00:26] EyePulp: These are actually all separate folks with their own businesses - there's no intent to promote the corporate customer in any significant way. [00:26] joshkehn has joined the channel [00:26] joshkehn has left the channel [00:27] EyePulp: corporate just wants to make sure their pages are properly maintained (and controlled), and the reps don't generally want the headache of setting up their own stuff. [00:27] lulzfish_4: Yeah you want to avoid headaches [00:28] EyePulp: it's a relatively niche need, but it's worth the effort for a small company like ours to do. It's just something our client didn't want to do. [00:28] JaKWaC has joined the channel [00:29] lulzfish_4: How small is your company? Do they just do web stuff? [00:29] EyePulp: we'd been on a python/django based system for a while, but a recent change on the corp backend made it a good time to consider a rebuild of the old system. [00:30] EyePulp: We mainly do web apps. Either one-off or as a service/subscription model [00:30] neoesque has joined the channel [00:30] JaKWaC has joined the channel [00:30] webstrand has joined the channel [00:30] EyePulp: we're tiny. I think we're under 10 full time at the moment. mostly phone support/ order taking [00:31] EyePulp: 3.5 devs [00:31] EyePulp: =) [00:31] JaKWaC has joined the channel [00:32] yorick has joined the channel [00:33] voodootikigod_ has joined the channel [00:33] willwhite has joined the channel [00:33] EyePulp: so thanks go to tjholowaychuk, and isaacs, and ryah, as their stuff underpins a lot of the new system I've been hacking together. [00:33] captain_morgan1 has joined the channel [00:34] deedubs has joined the channel [00:35] pizthewiz has joined the channel [00:36] pragmaticman has joined the channel [00:36] lulzfish_4: I'm just trying to learn more... The place I work at isn't going anywhere, but I have a decent Linux home network that I'm trying to grow, so I'm interested in anything that's easy to set up... Node looks very easy [00:36] mandric has joined the channel [00:36] lulzfish_4: But the Arch repos only have 0.4 so I'm waiting for it to build from git... [00:37] avih has joined the channel [00:37] EyePulp: lulzfish_4: it's fun to build network services with it. [00:39] niftylettuce: what package are most of you folks using for sending email? [00:39] EyePulp: niftylettuce: http://www.nodemailer.org" [00:40] voodootikigod_: tjholowaychuk: pretty sure you get this a lot, but will/when will express be 0.5.0/0.6.0 ready [00:40] voodootikigod_: niftylettuce: postmark [00:40] EyePulp: or at least I am. [00:40] tjholowaychuk: voodootikigod_ should work now [00:40] niftylettuce: tjholowaychuk: how bout you bro? [00:40] tjholowaychuk: i haven't had time to test it thoroughly but it should work [00:40] voodootikigod_: tjholowaychuk: how do I circumvent the npm limit? [00:41] tjholowaychuk: voodootikigod_ it's not letting you install it? [00:41] tjholowaychuk: i can [00:41] tjholowaychuk: with 0.5.10 [00:41] voodootikigod_: oh [00:41] voodootikigod_: "engines": { "node":">= 0.5.0 < 0.7.0" } [00:41] voodootikigod_: you updated that [00:41] voodootikigod_: ok [00:41] isaacs: tjholowaychuk: npm install --node-version [00:41] isaacs: er, voodootikigod_ ^ [00:41] niftylettuce: voodootikigod_: this one? https://github.com/thinktree/node-postmark [00:41] voodootikigod_: niftylettuce: i use my own cause I dogfood like that [00:42] voodootikigod_: but any work [00:42] voodootikigod_: and they handle all the hell of it [00:42] niftylettuce: voodootikigod_: yah https://github.com/voodootikigod/postmark.js/tree/ [00:42] voodootikigod_: https://github.com/voodootikigod/postmark.js [00:42] tjholowaychuk: niftylettuce we just use sendmail [00:42] niftylettuce: I wonder how Amazon email stuff is vs. Sendgrid [00:42] Aikar|Thrive has joined the channel [00:42] voodootikigod_: yea I don't think think tree ever progressed it [00:42] niftylettuce: yah i would just use sendmail or postfix but this is a very high volume [00:43] Aikar|Thrive| has joined the channel [00:43] tjholowaychuk: niftylettuce plus with those services you can have fancy stats :D [00:43] mike5w3c has joined the channel [00:43] niftylettuce: tjholowaychuk: yeah and investors like fancy stats [00:43] niftylettuce: :P [00:44] niftylettuce: the good ones don't see "fancy" though hehe [00:44] voodootikigod_: haha [00:44] voodootikigod_: i use postmark because it gets out of my way [00:44] Aikar|Thrive has joined the channel [00:44] jslatts has joined the channel [00:44] voodootikigod_: to each their own [00:45] voodootikigod_: ok up next on my "does it work with 0.5.0 is node-postgres" [00:46] JaKWaC has joined the channel [00:46] isaacs: naming stuff is hard. [00:47] tjholowaychuk: it is :( [00:47] tjholowaychuk: im running out of names too [00:48] isaacs: so... a tarball contains files, right? [00:48] prabs_ has joined the channel [00:48] tjholowaychuk: llabrat [00:48] niftylettuce: EyePulp: how do you do DKIM with nodemailer [00:48] isaacs: i'm expressing that as something like: var p = new tar.Parser(); fs.createReadStream("file.tar").pipe(p); p.on("file", function (f) { ... }) [00:49] isaacs: so, f has header (stat-alike) info, like f.name, f.mtime, etc. it's also a readable stream. [00:49] EyePulp: at the moment I'm not. I thought that was handled at your relay, anyhow… but I could be mistaken. [00:49] isaacs: what should that class be called? "File" seems too vague. [00:49] prabs_: Hi im wonder if someone could kindly help me with running nodejs and nowjs [00:49] isaacs: TarFile makes it sound like it's a representation of a tarball file itself. [00:49] prabs_: I have installed nodejs on windows xp and tried to run demo app from nowjs but get error -> message: 'cannot find module \'node-proxy\' [00:49] isaacs: ugh. so annoying. [00:49] prabs_: i have tried to install via npm install node-proxy but it doesn't do anything. under node_modules it doesn't get installed. [00:50] prabs_: however i ran npm install socket.io and that installed fine (so i think) [00:50] jtsnow has joined the channel [00:50] isaacs: prabs_: go into your project dir, and run `npm ls` [00:50] isaacs: that'll tell you what was installed. [00:50] prabs_: ok going to do that now [00:53] paul_k has joined the channel [00:53] prabs_: should i paste the info here? [00:54] niftylettuce: prabs_: provide a Gist or Pastebin [00:54] niftylettuce: prabs_: gist.github.com [00:54] prabs_: it has now@0.7.5, node-uuid@1.2.0, socket.io@0.8.5 and a load of others but not node-proxy.. [00:54] joshkehn has joined the channel [00:54] joshkehn has left the channel [00:54] mape: Someone should build a service for crowdsourcing naming code stuff [00:55] mape: whatshouldicall.it [00:55] lulzfish_4: I am not opposed to using random numbers and just making it easier for users to assign names [00:56] lulzfish_4: Then I can call Arora "Web Browser" [00:56] prabs_: pastebin: http://pastebin.com/A0eCJ9GT [00:56] CarterL has joined the channel [00:57] niftylettuce: mape: givemeaneffinname.com [00:57] prabs_: sorry im a little new to IRC! sounds silly but its true. [00:57] tjholowaychuk: isaacs do you guys still strip those debug() calls? [00:57] tjholowaychuk: or just noop? [00:57] mape: niftylettuce: could just hook it into yahoo! answers, should work perfectly [00:57] dnyy has joined the channel [00:58] niftylettuce: mape: why not just stackoverflow but for names? nameoverflow [00:58] isaacs: tjholowaychuk: i think there's a compilation step with some python thingie [00:58] lulzfish_4: or nameunderflow [00:58] isaacs: ryah, bnoordhuis: you know offhand where the debug() calls get stripped? [00:58] smtlaissezfaire has joined the channel [00:58] prabs_: UNMET DEPENDENCY node-proxy >= 0.4.0 [00:58] tjholowaychuk: i remember someone saying the overhead was next to nothing so i wasnt sure if they were even stripped now [00:58] isaacs: niftylettuce: we'll never be able to launch it. [00:58] bnoordhuis: isaacs: i don't think we do any more [00:58] isaacs: niftylettuce: what would you call that? [00:59] mape: damit :/ [00:59] niftylettuce: niftylettuce: call what? not being able to launch a start-up? [00:59] mape: isaacs: "undefined" ? [00:59] niftylettuce: um, i just messaged myself [00:59] niftylettuce: isaacs: : call what? not being able to launch a start-up? [01:00] isaacs: niftylettuce: i mean, what would you call the stack overflow for names? [01:00] isaacs: niftylettuce: you can't launch it until you figure out what to call it [01:00] mape: or just set up the server and have people change their hosts file and point to the ip [01:00] isaacs: ACTION is making a joke, unsuccessfully. [01:00] bartt has joined the channel [01:01] niftylettuce: ACTION in the voice of narrator from Bikini Bottom, *five hours laterrr* niftylettuce: "I get it!" [01:01] lyte has joined the channel [01:01] lyte has joined the channel [01:01] daneroo has joined the channel [01:01] nodebeginner has joined the channel [01:03] devongovett has joined the channel [01:05] tim_smart has joined the channel [01:05] jimt has joined the channel [01:06] davemo has joined the channel [01:10] ryanfitz has joined the channel [01:11] prabs_: while installing node-proxy i get the following (http://pastebin.com/PyisEzCR) im running nodejs on using windows xp. does anybody have a solution please? [01:13] jtsnow has joined the channel [01:17] isaacs has joined the channel [01:18] renaudsauvain has joined the channel [01:18] bwinton has joined the channel [01:18] marcello3d has joined the channel [01:18] k1ttty has joined the channel [01:19] prabs_: anyone? [01:19] guybrush: bwahaha http://twitter.com/#!/izs/statuses/128581917820977152 made my day [01:19] stagas has joined the channel [01:20] guybrush: i kind of liked pear though :> [01:20] voodootikigod_ has joined the channel [01:22] prabs_: anyone received and fixed -> UNMET DEPENDENCY node-proxy >= 0.4.0 [01:22] theCole has joined the channel [01:22] niftylettuce: prabs_: thats tellin you you gotta do an `npm install node-proxy` [01:23] niftylettuce: prabs_: or your version of node-proxy is not matching up to the property value for node-proxy in `package.json` [01:23] jsurfer has joined the channel [01:24] ttpva has joined the channel [01:25] prabs_: i tried npm install node-proxy -> http://pastebin.com/PyisEzCR but it says somewhere on there 'This most likely a problem with node-proxy package'.. however im pretty certain many others have been able to install without problems [01:27] jsurfer has joined the channel [01:28] metellus has joined the channel [01:28] runvnc has joined the channel [01:28] daneroo has joined the channel [01:29] runvnc: hello [01:29] yuwang has joined the channel [01:29] runvnc: Anyone here ever have any problems with jasmine-node? All I can get it to say is 0 tests, 0 success, 0 failures or whatever.. never seems to run my whatever.spec.js stuff [01:29] prabs_: thanks for your help niftylettuce.. im still puzzled.. the errors found when installing look pretty drastic.execvp(): No such file or directory etc.. [01:29] shykes_ has joined the channel [01:30] niftylettuce: prabs_: perhaps your node version, perhaps you shouldn't be using Windows XP .... [01:30] niftylettuce: prabs_: you could always run Virtual PC and launch into Ubuntu and have it set up in minutes :) [01:31] tbranyen: pffft windows xp is only like 10 years old [01:31] tbranyen: thats fine! [01:31] niftylettuce: tbranyen: i use XP for testing IE6-8, then win7 for ie9 [01:31] tbranyen: i used windows 2000 to get the real iexperience [01:32] runvnc: nevermind I needed to npm install test [01:33] c4milo has joined the channel [01:33] [[zzz]] has joined the channel [01:33] smathy has joined the channel [01:33] prabs_: yes i think thats probably a safe idea... oh cmon winbashing really.. its not all that bad. ive survived with it up until now. But yes for working with node and npm has stumped me today. I always like to think 'there must be a way' [01:33] te-brian2 has joined the channel [01:33] runvnc: actually its still ignoring my file wtf [01:34] prabs_: i have got other node examples running [01:34] prabs_: just this node-proxy is causing a headache [01:35] abraxas has joined the channel [01:35] te-brian has joined the channel [01:36] user____ has joined the channel [01:36] user____: http://www.youtube.com/watch?v=Djv0lS96_gI [01:36] prabs_: niftylettuce your advice is probably best and im going to give it a go now, if however there is windows solution would appreciate that also [01:37] DTrejo has joined the channel [01:37] gavin_huang has joined the channel [01:38] SomeoneWeird has joined the channel [01:39] sam_ has joined the channel [01:39] samBiotic has joined the channel [01:43] ryan0x2 has joined the channel [01:45] boehm has joined the channel [01:46] icewhite has joined the channel [01:46] tshpaper has joined the channel [01:47] niftylettuce: prabs_: i strongly encourage you to develop using a *nix system such as Ubuntu or Mac [01:47] niftylettuce: at least trying wont hurt [01:47] zikes: is there an express middleware module that will let me pass the session id as a GET or POST parameter? [01:48] niftylettuce: zikes: why would you want to do that? and you could just use express-params [01:48] niftylettuce: zikes: e.g. your route app.get('/mypath/:session_id', function(req,res,next) {}); [01:49] niftylettuce: zikes: you might want to ask in #express [01:49] zikes: niftylettuce: makes things easier with the API I'm working on [01:49] zikes: niftylettuce: I'll try that, thanks [01:50] niftylettuce: zikes: you could hash it and then have a req.session.salt to decrypt if security is highly valued or something [01:50] mrchess has joined the channel [01:50] mrchess: anyone know if node orms are reliable [01:50] mrchess: *ORMs [01:50] chilts: Object Relational Mappers? [01:51] prabs_: thanks nifty [01:51] mrchess: yeah [01:51] mrchess: was wondering if anyone was using an ORM in production [01:51] zikes: niftylettuce: the idea is that it would be passed as a consistent "ticket" parameter either as GET or POST, and be automatically picked up by the session middleware before it reaches routing [01:51] deedubs has joined the channel [01:51] devrim has joined the channel [01:51] niftylettuce: zikes: why do you need to have it as a GET/POST [01:52] zikes: niftylettuce: thinking I could stick some middleware between cookieParser and session to accomplish it, but hoping someone else has had the same idea [01:52] niftylettuce: zikes: if its a session ID, you can simply just use req.session._id or something [01:52] daneroo has joined the channel [01:52] niftylettuce: zikes: seems like overkill for something that is accessible on every route [01:52] ttpva: In Mongoose, I'm not being able to get the embedded document as an object, only as an array. Is it supposed to be that way? [01:52] zikes: niftylettuce: because the session ID comes from the cookie, and I don't want my public-facing API to require Cookie spoofing headers [01:53] sdwrage has joined the channel [01:53] sdwrage has left the channel [01:53] jonrohan has joined the channel [01:54] sh1mmer has joined the channel [01:54] catshirt has joined the channel [01:54] zilch_ has joined the channel [01:55] zikes: niftylettuce: my hope is to accomplish this before the session middleware is reached so there isn't a bunch of unnecessary session.get attempts and session.generates [01:55] niftylettuce: zikes: since it is #express related, ask this question in #express [01:55] theCole has left the channel [01:55] pandeiro has joined the channel [01:55] voodootikigod_ has joined the channel [01:56] zikes: niftylettuce: doing so, thanks [01:56] niftylettuce: zikes: but to answer your original question directly, express-params will allow you to send params in the GET/POST URL [01:56] ryanallenbobcat has joined the channel [01:57] henryjuan has joined the channel [01:58] joshkehn has joined the channel [01:59] joshkehn has left the channel [02:00] runvnc: hm. jasmine-node wants your files to end in Spec.js not Specs.js .. took me an hour at least to realize I had an extra s on there [02:00] runvnc: because I am a genius and pay attention to details. my mind is like a razor. that I should have tossed two months ago [02:01] Carter has joined the channel [02:01] dget has joined the channel [02:02] enmand has joined the channel [02:03] zackattack has joined the channel [02:03] JSManiacs has joined the channel [02:03] gxdssoft has joined the channel [02:04] EyePulp: ACTION has those days… weeks [02:05] neurodrone has joined the channel [02:06] ttpva has joined the channel [02:07] dshaw_ has joined the channel [02:07] wadey has joined the channel [02:07] jaredhanson has joined the channel [02:07] cnnr has joined the channel [02:07] sineltor has joined the channel [02:08] mynyml has joined the channel [02:10] zemanel has joined the channel [02:10] IRONkyle has joined the channel [02:10] cnnr: if i'm digging into and customizing a package i found on npm, how can i tell node to use my local package instead of the one i installed via npm? i know there's a `link` command, but i'm not quite sure how to use that. [02:11] p6 has joined the channel [02:14] kfly8 has joined the channel [02:14] runvnc: Did you install the other one with npm -g ? [02:14] runvnc: if not if you put the local package in ./node_modules [02:14] jslatts has joined the channel [02:14] runvnc: I thought it would use that one [02:15] a_suenami has joined the channel [02:15] runvnc: like whatever module or wherever you js is make another node_modules [02:15] cnnr: yes i installed it with -g [02:15] runvnc: can you uninstall the global one [02:16] cnnr: yes - just uninstalled and reinstalled without the global flag [02:16] ecin has joined the channel [02:18] runvnc: For real 0.5.10? last time I tried .5.9 pretty much nothing worked [02:18] runvnc: but I guess it will stay that way unless you try to make people use it [02:20] JakeyChan has joined the channel [02:21] fread2281 has joined the channel [02:22] Nuck: Oh my god there once was a time when SubStack wasn't #1 on NPM top o_O [02:22] Nuck: Weird thought. [02:23] Nuck: Oddly, his percent hasn't changed much since writing npmtop to toda [02:23] Nuck: 1.74% then, 1.76% now [02:24] jslatts has joined the channel [02:25] marcello3d: anyone here on 0.5.10? [02:25] captain_morgan1 has joined the channel [02:25] captain_morgan1 has left the channel [02:25] EyePulp: All users should be using 0.5.10 now. [02:26] marcello3d: mongodb seems to have stopped connecting from .5.9 -> .5.10 [02:26] marcello3d: I'm getting Error: connect ECONNREFUSED [02:26] marcello3d: but I can connect to the server with mongohub [02:26] EyePulp: is your mongo service running? [02:26] EyePulp: ah [02:27] ParadoxQuine has joined the channel [02:27] dnyy has joined the channel [02:27] thompson has joined the channel [02:27] marcello3d: guess I'll rebuild 0.5.9 and see if that's actually the problem [02:27] thompson: thre is an e commerce app written in node.js? [02:28] EyePulp: thompson: as a production site? [02:29] thompson: just a project, like calypso cms [02:29] torm3nt has joined the channel [02:31] EyePulp: thompson: not that I've heard of. node's doesn't really have what I'd call a rails/django level platform on top of it at this point, or not with as much polish. It tends towards bare-metal services underneath... [02:32] EyePulp: (just my opinion…) [02:32] tbranyen: yeah thats a good thing [02:32] tbranyen: i like where node is compared to django/rails [02:33] EyePulp: sure - we'll still use django for a lot of frontend web app work, and tie it to postgres/mongo, but then for API and services such as chat, we'll be on node. [02:34] daneroo has joined the channel [02:36] dshaw_ has joined the channel [02:36] marcello3d: ok. it's definitely 0.5.10's fault [02:36] JSManiacs has joined the channel [02:36] marcello3d: just reinstalled 0.5.9 and it connects again [02:36] c4milo has joined the channel [02:37] JaKWaC has joined the channel [02:37] JSManiacs has joined the channel [02:41] Tobsn has joined the channel [02:41] JaKWaC has joined the channel [02:42] sdwrage has joined the channel [02:44] SomeoneWeird has joined the channel [02:44] SomeoneWeird has joined the channel [02:44] ryanallenbobcat has left the channel [02:45] towski has joined the channel [02:45] te-brian2 has joined the channel [02:46] jonrohan has joined the channel [02:47] dexter_e has joined the channel [02:48] m00p has joined the channel [02:50] dnyy has joined the channel [02:51] kfly8 has joined the channel [02:52] Corren has joined the channel [02:52] Corren: hey hey [02:53] chilts: ACTION downloads Node v0.5.10 [02:53] chilts: about time I left the 0.4 series :) [02:54] kenperkins: i can't change until it's stable :S [02:54] lgm has joined the channel [02:55] lgm: hello! [02:55] chilts: I decided it's almost stable :) [02:55] lgm: does anyone use node under emacs? [02:55] chilts: ACTION uses emacs to write JavaScript [02:55] chilts: but I don't _run_ node under emacs [02:55] chilts: I use a shell for that [02:56] lgm: if i run node in a comint shell it exits immediately [02:56] lgm: there is a js-comint.el [02:56] lgm: which indicates that not all peeps have this particular woe [02:56] trotter has joined the channel [02:56] lgm: when i use js-comint.el it suffers the same fate as a regular comint shell [02:57] lgm: > [02:57] lgm: Process js finished [02:58] kenperkins: I'm using phpStorm for my IDE [02:58] kenperkins: i have to say [02:58] kenperkins: I kind of like it [03:00] Revernd has joined the channel [03:01] fread2281 has joined the channel [03:03] c4milo has joined the channel [03:04] abraxas has joined the channel [03:05] Corren has joined the channel [03:06] lgm: i'm a died-in-the-wool emaxian [03:06] gkatsev: intellij makes the best IDEs [03:06] gkatsev: er... [03:07] gkatsev: jetbrains makes the best IDEs [03:07] avdg has joined the channel [03:07] lgm: i just want to engage node in interactive mode in a way that i have edit capability in the window visiting the process [03:08] lgm: emacs is better than a terminal [03:08] gkatsev: vim can do that :P [03:08] lgm: fortunately, i remain blissfully ignorant of vim [03:08] gkatsev: heh [03:08] gkatsev: actually, I don't really have a problem with emacs [03:08] gkatsev: other than just taking jabs at it for fun. [03:09] gkatsev: I've tried to use it and I find myself being able to edit text much more quickly with vim [03:09] jacter has joined the channel [03:09] gkatsev: so, I use that [03:09] enmand: Yuck [03:09] enmand: I actually opened emacs up today [03:09] gkatsev: if you are using vim or emacs you are ahead of the curve :) [03:09] enmand: I took all of 5 minutes for me to run back to bim [03:09] enmand: vim [03:09] kriszyp has joined the channel [03:09] wilmoore has joined the channel [03:09] daneroo has joined the channel [03:09] gkatsev: enmand: I've tried using it for a month [03:10] gkatsev: a lot of my friends are in the church [03:10] enmand: Ouch. That must have been painful [03:10] gkatsev: wasn't terrible [03:10] enmand: Heh [03:10] gkatsev: but the decision trees are too wide [03:10] enmand: I love vim [03:10] p3rsist has joined the channel [03:10] gkatsev: yeah [03:10] gkatsev: I've been a vim user for the past 4.5 years [03:10] gkatsev: (also a vimperator user) [03:11] \ask has joined the channel [03:11] enmand: I've heard of vimperator, but I've never actually used it [03:11] Draggor: vimperator? [03:12] enmand: It's a FF addon, to give it some vim-like functionality [03:12] gkatsev: it allows you to use firefox in a modal vim-like way [03:12] enmand: ACTION finds link [03:12] gkatsev: vimperator.org [03:12] enmand: Yeah [03:12] enmand: What he said [03:12] Draggor: oooh [03:12] Draggor: well that's just downright sexy [03:13] gkatsev: there's also the unfortunate fork pentadactyl [03:13] lgm: well... if an emaxian goes come along send them my way [03:13] lgm: i'm looking for what i believe to be a simple solution [03:13] gkatsev: there is conkeror for emacs [03:13] gkatsev: and keysnail or w/e it is called. [03:14] gkatsev: there's also an IRC channel for vimperator. #vimperator [03:15] jhurliman has joined the channel [03:17] passionke has joined the channel [03:17] technoweenie has left the channel [03:18] c4milo has joined the channel [03:19] bengrue has joined the channel [03:21] p1d_ has joined the channel [03:21] ecin has joined the channel [03:22] brianloveswords has joined the channel [03:24] wankdanker_ has joined the channel [03:24] sebastianedwards has joined the channel [03:26] pbwilmot has joined the channel [03:29] jtsnow has joined the channel [03:29] spoletto has joined the channel [03:30] daneroo has joined the channel [03:30] MooGoo: whats unfortunate about it [03:33] Lemminkainen has left the channel [03:34] jacobolus has joined the channel [03:35] zikes_ has joined the channel [03:37] JakeyChan_ has joined the channel [03:37] jpdery- has joined the channel [03:39] apejens has joined the channel [03:39] Sami_ZzZ_ has joined the channel [03:39] Aikar has joined the channel [03:39] Swizec_ has joined the channel [03:40] bengrue has joined the channel [03:40] tmzt has joined the channel [03:41] z8000 has joined the channel [03:43] daneroo has joined the channel [03:43] z8000 has left the channel [03:46] EhevuTov has joined the channel [03:49] stagas has joined the channel [03:50] vidi has joined the channel [03:51] kriszyp has joined the channel [03:51] Drac has joined the channel [03:51] zmbmartin has joined the channel [03:52] CIA-48: libuv: 03Ben Noordhuis 07master * r3e4af53 10/ (include/uv-private/uv-unix.h src/unix/sunos.c): sunos: implement file watcher API - http://git.io/fGxA9Q [03:52] colinclark has joined the channel [03:53] stepheneb has joined the channel [03:53] jslatts has joined the channel [03:55] kenperkins has joined the channel [03:55] daneroo has joined the channel [03:55] chrislorenz has joined the channel [03:56] captain_morgan1 has joined the channel [04:00] jtsnow has joined the channel [04:02] zackattack has joined the channel [04:03] jerrysv has joined the channel [04:04] dexter_e has joined the channel [04:04] mAritz has joined the channel [04:05] jgornick has joined the channel [04:06] bluebit has joined the channel [04:06] kazupon has joined the channel [04:06] kenperkins: slow night [04:06] daneroo has joined the channel [04:08] dubenstein has joined the channel [04:11] dhasenan_: Wasn't there a brief attempt at node-gtk? [04:13] Qbix2 has joined the channel [04:15] ceej_ has joined the channel [04:16] lulzfish_4: To what end? [04:18] davemo has joined the channel [04:20] gigo1980 has joined the channel [04:22] JakeyChan_ has joined the channel [04:24] hij1nx has joined the channel [04:25] daneroo has joined the channel [04:27] nibblebot has joined the channel [04:28] fangel has joined the channel [04:28] hydrozen has joined the channel [04:29] superjudge has joined the channel [04:29] hij1nx has joined the channel [04:30] mAritz1 has joined the channel [04:31] zmbmartin: anyone that has worked with vhosts in express that can shed some light for me? [04:31] davidascher has joined the channel [04:32] sineltor has joined the channel [04:32] phiggins has joined the channel [04:32] dynacker has joined the channel [04:33] pbwilmot has joined the channel [04:33] kazupon has joined the channel [04:36] spoletto has joined the channel [04:36] daneroo has joined the channel [04:36] markdaws has joined the channel [04:36] HT has joined the channel [04:37] tahu has joined the channel [04:37] Sami_ZzZ_ has joined the channel [04:37] apejens has joined the channel [04:37] berasa has joined the channel [04:37] jamesd has joined the channel [04:37] DRMacIver has joined the channel [04:37] axisys has joined the channel [04:37] zedas has joined the channel [04:37] zhware_ has joined the channel [04:37] jburkhart has joined the channel [04:37] a11235 has joined the channel [04:38] newb2 has joined the channel [04:38] davidascher has joined the channel [04:39] newb2: are there any decent form generators/scaffolding for mongoose out there? [04:39] SomeoneWeird has joined the channel [04:41] pbwilmot has joined the channel [04:41] franciscallo has joined the channel [04:41] tylerstalder has joined the channel [04:43] SuMarDi has joined the channel [04:44] matt_c has joined the channel [04:46] zmbmartin: Anyone know why I can get vhosts to work with express when using localhost or 127.0.0.1 but when I try to add a custom domain.local to /etc/hosts then use that it does not work? [04:51] coderdad has joined the channel [04:52] Emmanuel` has joined the channel [04:53] lysander89 has joined the channel [04:56] patcito has joined the channel [04:57] shanebo has joined the channel [04:57] topaxi has joined the channel [04:57] daneroo has joined the channel [04:59] OmidRaha has joined the channel [04:59] xeodox has joined the channel [04:59] chrislorenz has joined the channel [05:00] takezawa has joined the channel [05:00] tokuz has joined the channel [05:01] CIA-48: node: 03Ben Noordhuis 07master * rd7dff34 10/ tools/gyp/pylib/gyp/generator/make.py : [05:01] CIA-48: node: gyp: support older bash versions [05:01] CIA-48: node: Older bash versions in `sh -c` mode don't parse `export FOO=42` constructs, [05:01] CIA-48: node: they bail out with a "FOO is not an identifier" error message. [05:01] CIA-48: node: This was fixed somewhere between bash 4.1.0 and 4.1.5 but let's support the [05:01] CIA-48: node: older versions anyway. - http://git.io/E4z28Q [05:01] nibblebot has joined the channel [05:02] bnoordhuis: ^ fedora 11 users rejoice! [05:06] rurufufuss has joined the channel [05:06] kazupon_ has joined the channel [05:07] secoif has joined the channel [05:07] secoif: SubStack loving the podcast, keep it up [05:08] daneroo has joined the channel [05:08] kazupon__ has joined the channel [05:09] dexter_e has joined the channel [05:12] daneroo has joined the channel [05:12] CIA-48: node: 03Ben Noordhuis 07master * r15628f6 10/ src/platform_sunos.cc : [05:12] CIA-48: node: sunos: don't use exceptions [05:12] CIA-48: node: Don't use exceptions in platform functions. Fix a resource leak [05:12] CIA-48: node: (leaked kstat handle) while we're at it. - http://git.io/RcBeQg [05:12] CIA-48: node: 03Ben Noordhuis 07master * r13871fa 10/ node.gyp : build: fix sunos gyp build, include platform file - http://git.io/fGytnA [05:15] kfly8 has joined the channel [05:15] takezawa has left the channel [05:15] takezawa has joined the channel [05:15] deoxxombie: how do i add a path to require so it'll be used in included modules as well? [05:16] deoxxombie: i want to have a "lib" directory in my root application with various components in it [05:16] kenperkins: var foo = require('path/to/something'); [05:17] deoxxombie: then i want anything require()'d into the application to be able to do require("foo") and recieve the correct object if there's a "foo" module in the lib directory [05:18] deoxxombie: giving them the relative location of the file from its own location isn't an option in this case, the required components could be anywhere [05:18] bnoordhuis: deoxxombie: $project_dir/node_modules or $NODE_PATH? [05:18] kenperkins: that too [05:18] deoxxombie: hm, i tried with node_modules, still doesn't work [05:19] deoxxombie: basically it looks like this: [05:19] deoxxombie: ./software/application/app.js ./config/application/config.js [05:19] deoxxombie: ./software/application is a git submodule [05:20] deoxxombie: config.js is require()d into the application (i.e. require(process.argv[2])) [05:20] deoxxombie: i want require() calls in config.js to be able to reach ./config/application/node_modules [05:21] deoxxombie: note that it works fine if config.js is at ./software/application/config.js [05:21] SomeoneWeird has joined the channel [05:21] aguynamedben has joined the channel [05:23] daneroo has joined the channel [05:24] zilch_ has joined the channel [05:24] daneroo has joined the channel [05:27] shipit has joined the channel [05:29] kberg has joined the channel [05:31] jaminja has joined the channel [05:33] dexter_e has joined the channel [05:34] knifed has joined the channel [05:35] daneroo has joined the channel [05:35] dexter_e: require("") is a syncronous operation right? [05:36] deoxxombie: yep [05:37] shipit_ has joined the channel [05:37] dexter_e: I would like to make a dynamically parameterized require() Is this not recommened? [05:38] fangel has joined the channel [05:38] ecin_ has joined the channel [05:43] konobi: dexter_e: require() is one shot [05:43] dexter_e: konobi: one shot? [05:44] dexter_e: you mean from a garbage collection perspective? [05:44] konobi: once you call require() on a module, you'll get a cached version back whenever you call it again [05:44] lulzfish_4: idempotent? [05:45] dexter_e: indempotent = denoting an element of a set that is unchanged in value when multiplied or otherwise operated on by itself. [05:47] dexter_e: lulzfish_4: I would imagine the answer is Yes [05:47] jsurfer_ has joined the channel [05:47] smgt has joined the channel [05:48] neilk_ has joined the channel [05:48] dexter_e: Do you mean if the loaded module represents state of some kind which changes based on context in the application right? [05:48] daneroo has joined the channel [05:50] kenperkins: who's using mixpanel [05:58] mikedeboer has joined the channel [05:58] k1ttty has joined the channel [05:59] garrensmith has joined the channel [06:00] mike5w3c has joined the channel [06:05] ceej has joined the channel [06:05] daneroo has joined the channel [06:10] boltR has joined the channel [06:11] zmbmartin has joined the channel [06:11] zmbmartin has left the channel [06:12] JSManiacs has joined the channel [06:14] EvRide1 has joined the channel [06:14] jacobolus has joined the channel [06:15] kazupon has joined the channel [06:15] Emmanuel`: kenperkins: I tried it few months ago [06:16] mikeric has joined the channel [06:16] dshaw_ has joined the channel [06:17] daneroo has joined the channel [06:17] _rgl has joined the channel [06:18] n8ji has joined the channel [06:20] EvRide has joined the channel [06:23] dfucci has joined the channel [06:24] Frippe has joined the channel [06:24] EvRide has joined the channel [06:27] eddyb has joined the channel [06:28] eddyb: this is fun [06:28] eddyb: #define NODE_DEFINE_CONSTANT(target, constant) exports[#constant] = constant; [06:29] sineltor has joined the channel [06:29] daneroo has joined the channel [06:31] ayaz has joined the channel [06:32] Ang3 has joined the channel [06:32] eddyb: this is so good [06:32] eddyb: I'm copying files from node and getting them working [06:32] eddyb: I hope I'm good on the license side [06:33] mikeric has joined the channel [06:35] mike5w3c_ has joined the channel [06:37] secoif has joined the channel [06:38] daniel_lv has joined the channel [06:39] daniel_lv has left the channel [06:39] JaKWaC has joined the channel [06:40] `3rdEden has joined the channel [06:42] bnoordhuis: eddyb: node's mit licensed so as long as you attribute, you're good [06:42] neshaug has joined the channel [06:42] bnoordhuis: unless that was some subtle irony that's going over my head [06:43] EhevuTov has joined the channel [06:43] bnoordhuis: it's 8 am here so don't expect too much [06:44] ph^ has joined the channel [06:45] astropirate has joined the channel [06:45] kenperkins: where's that? scandinavia? [06:45] astropirate: Africa [06:45] astropirate: western africa [06:46] devongovett has joined the channel [06:46] `3rdEden: bnoordhuis pff it's almost 9 ;) [06:47] bnoordhuis: `3rdEden: even worse, i haven't slept yet [06:48] eddyb: bnoordhuis: ohai [06:48] eddyb: #gearbox [06:48] eddyb: or https://github.com/eddyb/gearbox-node [06:48] eddyb: I think I commited the new license [06:48] kenperkins: <3 monoprice [06:48] purr: Let it be known that kenperkins hearts monoprice. [06:49] kenperkins: mini displayport to displayport for $6 delivered [06:49] `3rdEden: bnoordhuis pfff :p [06:49] kenperkins: haha [06:49] dshaw_ has joined the channel [06:49] eddyb: bnoordhuis: files I reused from node and I had to modify look like this: http://pastebin.com/VCaXMJSW [06:49] kenperkins: not my bot, fyi [06:49] bnoordhuis: kenperkins: no, it's elliottcable's [06:50] wgo has joined the channel [06:50] kenperkins: just making sure I wasn't going to be kicked next :D [06:50] eddyb: bnoordhuis: also tried to not make things stupid, I copied node's LICENSE, modified to suit me, and added the original just for good measure [06:50] skm has joined the channel [06:51] eddyb: better get back to code, licensing can make my head spin around [06:51] kenperkins: i need to instrument our whole UI :S [06:51] kenperkins: not enough information [06:51] thalll has joined the channel [06:52] daneroo has joined the channel [06:52] kenperkins: didn't you say 938 won't make it back to 4.x bnoordhuis [06:53] bnoordhuis: kenperkins: yes, no more 0.4.x releases [06:53] kenperkins: stable is still aways off tho eh? [06:53] jbraffoul has joined the channel [06:53] bnoordhuis: kenperkins: we'll probably put out 0.6 this week [06:54] eddyb: yeeee [06:54] eddyb: maybe I can launch gearbox-node at the same time [06:54] kenperkins: will 6 be "stable" immediatley tho? [06:54] eddyb: kenperkins: I'd say 5 becomes stable or something [06:54] bnoordhuis: kenperkins: stable api: for sure. stable implementation: probably [06:55] kenperkins: I've got a production site to run here ;) [06:55] motill has joined the channel [06:55] bnoordhuis: if you check out the current master, you'll have a pretty good idea of what 0.6's going to look like [06:55] kenperkins: have I shamelessly offered you a clipboard invite yet bnoordhuis [06:55] isaacs has joined the channel [06:55] kenperkins: yea, I've been following [06:56] bnoordhuis: kenperkins: you haven't - but i confess i'm web 2.0 incompatible [06:56] dshaw_ has joined the channel [06:56] kenperkins: :( [06:56] bnoordhuis: i still think is the greatest thing since sliced corn bread [06:57] Morkel has joined the channel [06:57] bnoordhuis: and what's this javascript people keep jabbering about? [06:57] eddyb: ? [06:57] kenperkins: btw, is there a reason there's no commit with 938? or did it magically go away [06:57] kenperkins: http://www.clipboard.com/clip/LQzGSFACU1p5gxfVwL7j9uKP7CGO5jRA9uXe [06:58] bnoordhuis: kenperkins: i usually put the commit in my comments [06:58] martin_sunset: Hey kenperkins: just a quick FYI: we are going to create an oauth2 provider for passport in the next one or two weeks, let me know if you or your colleges need specific features [06:58] bnoordhuis: but in this case it was fixed in a number of commits [06:58] tilgovi has joined the channel [06:58] tilgovi has joined the channel [06:58] kenperkins: passport as in MSFT's password? [06:58] Jinmo has joined the channel [06:58] martin_sunset: kenperkins: Haha [06:58] jonrohan has left the channel [06:58] kenperkins: :) [06:59] bnoordhuis: i admit clipboard looks sexy [06:59] motill has joined the channel [06:59] bnoordhuis: when i disable noscript, that is [06:59] martin_sunset: kenperkins: The new login solution announced yesterday for node. One sec [06:59] kenperkins: :( [06:59] eddyb: omg it does [06:59] eddyb: clipboard, that is [06:59] fangel has joined the channel [06:59] nils_r has joined the channel [06:59] groom has joined the channel [07:00] martin_sunset: kenperkins: https://github.com/jaredhanson/passport [07:00] simenbrekken has joined the channel [07:01] juske has joined the channel [07:01] Jinmo: hmm..... cygwin make was not solution for npm!! gnuwin32 was solution! omg my iconv [07:01] isaacs: Jinmo: cygwin is history, man. [07:01] isaacs: Jinmo: use windows native [07:01] isaacs: it's the future [07:01] Jinmo: not node.js [07:01] Jinmo: i'm going to use node-iconv [07:01] isaacs: oh, ok [07:01] simenbrekken has joined the channel [07:01] isaacs: dunno about that :) [07:02] bnoordhuis: i hear good things about node-iconv [07:02] kenperkins: martin_sunset: doesn't OAuth use hmac? [07:02] emattias has joined the channel [07:02] Jinmo: i'm building that [07:02] Jinmo: (iconv) [07:02] shanebo: SubStack, looks like browserling is having trouble resolving [07:03] takezawa_ has joined the channel [07:04] daneroo has joined the channel [07:06] rendar has joined the channel [07:09] martin_sunset: kenperkins: Good question. Haven't found any reference in the latest draft (22) of oauth2. [07:09] jackbean has joined the channel [07:10] kenperkins: we're currently heavily hmac based for our api [07:10] andree has joined the channel [07:10] ablomen has joined the channel [07:12] martin_sunset: kenperkins: Seems that the protocol is pretty open which encryption to use. But I am only an oauth2 user so far, haven't developed a provider yet ( and I am going to look into what's out there first) [07:13] daneroo has joined the channel [07:14] SubStack: shanebo: works ok for me [07:15] daneroo has joined the channel [07:15] shanebo: SubStack, mine keeps pinging "Contacting "browserling.com" "Loading "browserling.com"", completed 0 of 4 [07:15] shanebo: and then it gets to 1 and refreshes [07:15] shanebo: it's going berserk [07:16] SubStack: ! [07:16] a_suenam_ has joined the channel [07:16] SubStack: shanebo: no idea, I just tried in chrome and ff with no problems [07:16] SubStack: logged in and not [07:17] shanebo: visiting in chrome works for me [07:17] hoodow has joined the channel [07:17] kenperkins: martin_sunset: tbh, I'm a bit out the loop on our auth [07:17] shanebo: safari is jacked though [07:17] shanebo: SubStack, think it's a cookie issue? [07:17] kenperkins: i do more general node, ux, client js, and all of our puppet (ugh) [07:18] martin_sunset: kenperkins: lucky you, this auth thing is such a pita [07:18] dvf: hi everybody I have a question about upgrading to v0.5.10 [07:18] raphdg has joined the channel [07:19] martin_sunset: kenperkins: Btw, the requests are not signed with hmac in oauth2 , I think that is what you meant. Instead te token is as a secret [07:20] martin_sunset: Is used as the secret [07:20] kenperkins: i see [07:20] martin_sunset: Hence https transport as a requirement [07:20] kenperkins: yea [07:20] kenperkins: we do some fun stuff to get a users secret to them over https but make it available to http javascript for signing [07:21] Nietecht has joined the channel [07:21] dvf: I git pulled v0.5.10 and then configure(d) make and make(d) install(ed) but then 'node -v' returns v0.4.1 [07:21] martin_sunset: kenperkins: I am definitely going to talk to your colleague about that, for our scenario we need similar capabilities like you [07:22] uchuff has joined the channel [07:22] kenperkins: I actually wrote that code :P [07:22] kenperkins: (how we get the secret to http) [07:23] simenbrekken: anyone running 0.5 in production yet? Really keen on that zlib binding :> [07:23] martin_sunset: kenperkins: Good to know..:) [07:23] klaustsen has joined the channel [07:26] djcoin has joined the channel [07:28] saikat has joined the channel [07:28] daneroo has joined the channel [07:29] Corren has joined the channel [07:29] FIQ|screen has joined the channel [07:30] loob2 has joined the channel [07:31] nils_r has joined the channel [07:32] bosphorus has joined the channel [07:36] daniel_lv has joined the channel [07:36] kenperkins has joined the channel [07:37] daneroo has joined the channel [07:38] eddyb: int mode = static_cast(args[2]->Int32Value()); [07:38] eddyb: that looks wrong [07:38] avdg1 has joined the channel [07:39] sylvinus has joined the channel [07:39] micxer has joined the channel [07:40] clarkfischer has joined the channel [07:41] isaacs has joined the channel [07:42] whitman has joined the channel [07:42] Ang3 has joined the channel [07:43] AD7six has joined the channel [07:43] lmatteis: any good library to help with test-driven development? [07:45] herbySk has joined the channel [07:46] _kud has joined the channel [07:47] AAA_awright__ has joined the channel [07:47] cjm has joined the channel [07:49] jbpros has joined the channel [07:50] markwubben has joined the channel [07:51] isaacs_ has joined the channel [07:52] avdg has joined the channel [07:53] blup has joined the channel [07:53] takezawa has joined the channel [07:54] daneroo has joined the channel [07:55] chocl has joined the channel [07:55] chocl: hello world [07:56] k1ttty has joined the channel [07:56] avdg1 has joined the channel [07:57] Druid_ has joined the channel [07:57] JSManiacs has joined the channel [07:57] chocl: hi all [07:57] chocl: any live? [07:57] davv3: no [07:58] chocl: god [07:58] martin_sunset: lmatteis: Vowsjs.org [07:59] chocl: where are you from [07:59] Corren: man these are some great clips: http://www.clipboard.com/tag/recipe [07:59] avdg2 has joined the channel [07:59] aaronmcadam has joined the channel [07:59] isaacs has joined the channel [07:59] chocl: what is that [08:00] davidbanham has joined the channel [08:00] DennisRasmussen has joined the channel [08:01] sirdancealot has joined the channel [08:02] Corren: chocl: my app built on node [08:02] jetienne has joined the channel [08:03] chocl: which site? url PLS [08:03] Corren: www.clipboard.com [08:04] superjudge_ has joined the channel [08:04] fly-away has joined the channel [08:05] chocl: why u use node? save dev time? [08:05] davidbanham: Guys I am battling with expresso. Can't even get started. Can anyone point out what I'm doing wrong? [08:05] davidbanham: https://gist.github.com/1315746 [08:06] tylerstalder has joined the channel [08:08] mpavel has joined the channel [08:08] xavieralexander has joined the channel [08:09] [AD]Turbo has joined the channel [08:11] xavieralexander: anyone played around with http://nodetuts.com/ looking for some good tuts [08:12] [AD]Turbo: hi there [08:12] Connorhd has joined the channel [08:13] stagas: Corren: nice logo! [08:14] tomlion has joined the channel [08:17] hipsterslapfight has joined the channel [08:18] _rgl has joined the channel [08:19] Corren: stagas: thanks! [08:21] stagas: Corren: it could use avatar icons in the list view [08:21] Hounth has joined the channel [08:21] Corren: we're on it :D [08:21] Corren: so many features have been requested [08:21] Corren: it's kind of hard to keep up [08:23] socketio\test\63 has joined the channel [08:23] akamike has joined the channel [08:26] daneroo has joined the channel [08:29] __doc__ has joined the channel [08:29] stagas has joined the channel [08:31] aliem has joined the channel [08:31] konobi: bnoordhuis: issue 1943... that errno is failure to load DLL, iirc [08:32] eddyb: __doc__ is a bot? [08:32] kfly8 has joined the channel [08:32] eddyb: __doc__: !help [08:32] __doc__: eddyb: at your service [08:32] eddyb: that's no bot :P [08:32] __doc__: eddyb: I'm a bot [08:33] eddyb: __doc__: !eval e^(i*pi) [08:33] __doc__: eddyb: -1 [08:34] eddyb: __doc__: !eval 7/9 [08:34] eddyb: this is fun [08:34] eddyb: __doc__: you using google or a dedicated calculator? [08:34] __doc__: eddyb: 0.7 period [08:34] __doc__: eddyb: google [08:34] __doc__: ACTION was surprised about it resolving that formula too [08:34] bejes has joined the channel [08:35] __doc__: wolfram should probably look out for google :) [08:37] wilmoore has joined the channel [08:38] xerox: whoa [08:38] xerox: when was the topic set? [08:39] robhawkes has joined the channel [08:39] pransalad: Topic set by ryah [~ry@tinyclouds.org] [Mon Oct 24 21:57:15 2011] [08:39] pransalad: (cet) [08:39] xerox: so two days ago [08:40] daneroo has joined the channel [08:40] konobi: before that it was a link to the wiki with a list of all the changes between 0.4.x and 0.6.x [08:41] xerox: I had undervalued the importance of the topic [08:41] pransalad: i thinke veryone does that on irc :) [08:42] adrianmg has joined the channel [08:42] jimt has joined the channel [08:42] adrianmg has left the channel [08:43] zendfan has joined the channel [08:43] svnlto has joined the channel [08:43] bergelmir has joined the channel [08:43] bergelmir has joined the channel [08:47] bzinger has joined the channel [08:48] joshgillies has joined the channel [08:49] htoothrot has joined the channel [08:50] kfly8 has joined the channel [08:51] kfly8 has joined the channel [08:51] markwubben has joined the channel [08:52] hipsterslapfight has joined the channel [08:52] fzzzy has joined the channel [08:53] wilmoore_ has joined the channel [08:53] jetienne_: __doc__: having fun ? :) [08:54] __doc__: jetienne_: jep, watching the daily show [08:54] jetienne_: __doc__: a good one [08:54] TomY has joined the channel [08:55] DF_ has joined the channel [08:56] __doc__: the first rule about right club, don't talk about right club. The second rule of right club, make sure the duck consents ^^ [08:56] Cromulent has joined the channel [08:57] sfoster has joined the channel [08:57] daneroo has joined the channel [08:59] Hounth has joined the channel [09:01] daneroo has joined the channel [09:03] burningdog has joined the channel [09:03] wbednarski has joined the channel [09:03] garrensmith: anyone tried out hubot yet? [09:03] sylvinus_ has joined the channel [09:05] ninjapig has joined the channel [09:05] ninjapig has joined the channel [09:05] jsurfer has joined the channel [09:05] daneroo has joined the channel [09:08] jetienne has joined the channel [09:10] eldios has joined the channel [09:11] jsurfer_ has joined the channel [09:11] piscisaureus has joined the channel [09:14] Mokona has joined the channel [09:14] Bonuspunkt: what happend to node --eval ? is it removed? [09:15] socketio\test\73 has joined the channel [09:15] joeyang has joined the channel [09:16] daneroo has joined the channel [09:17] superjudge has joined the channel [09:18] kbl has joined the channel [09:19] Hounth has joined the channel [09:24] stagas has joined the channel [09:29] stagas has joined the channel [09:31] kfly8 has joined the channel [09:31] Hounth has joined the channel [09:33] daneroo has joined the channel [09:34] sylvinus_ has joined the channel [09:38] __tosh has joined the channel [09:38] TheCode has joined the channel [09:38] rchavik has joined the channel [09:40] daneroo has joined the channel [09:43] CarterL has joined the channel [09:43] niftylettuce: yo any mongoose or mongo users lend me a hand, how might i achieve this? https://gist.github.com/ecf6e61fcec21b8dfc96 [09:43] niftylettuce: nvm, I'll just use a Boolean to set the main value t/f [09:49] stagas has joined the channel [09:50] vvo has joined the channel [09:50] Hounth has joined the channel [09:51] hwinkel has joined the channel [09:55] davidbanham has joined the channel [09:55] tisba has joined the channel [09:55] vvo has joined the channel [09:56] SomeoneWeird has joined the channel [09:57] daneroo has joined the channel [10:03] daneroo has joined the channel [10:03] Glenjamin has joined the channel [10:06] Hounth has joined the channel [10:07] k1ttty has joined the channel [10:08] fermion has joined the channel [10:10] animorten has joined the channel [10:10] daneroo has joined the channel [10:10] meso has joined the channel [10:11] meso_ has joined the channel [10:12] bzinger has joined the channel [10:14] Wizek has joined the channel [10:14] bombworm has joined the channel [10:15] micheil has joined the channel [10:16] __tosh has joined the channel [10:17] yuwang has joined the channel [10:18] _rgl has joined the channel [10:19] amigojapan has joined the channel [10:20] jetienne has joined the channel [10:20] rchavik has joined the channel [10:20] rchavik has joined the channel [10:22] daneroo has joined the channel [10:22] kfly8 has joined the channel [10:24] dexter_e has joined the channel [10:29] daneroo has joined the channel [10:30] stagas has joined the channel [10:30] cosmincx has joined the channel [10:32] lzskiss has joined the channel [10:32] lzskiss: aloha [10:32] AphelionZ has joined the channel [10:33] lzskiss: can i run the node.js on this ARMBlock16? [10:37] neshaug has joined the channel [10:38] fra000 has joined the channel [10:39] PhilK has joined the channel [10:40] SoulRaven has joined the channel [10:41] piscisaureus_ has joined the channel [10:42] AD7six has joined the channel [10:42] ph^ has joined the channel [10:43] eldios has joined the channel [10:44] rchavik has joined the channel [10:44] cjheath has joined the channel [10:44] Chat5658 has joined the channel [10:46] daneroo has joined the channel [10:46] ruiazn has joined the channel [10:47] rendar has joined the channel [10:49] tobias has joined the channel [10:50] LifterAH has joined the channel [10:52] kazupon has joined the channel [10:52] jomoho has joined the channel [10:56] mac^_ has joined the channel [10:56] AAA_awright has joined the channel [10:56] daneroo has joined the channel [10:57] danielss89: Hi.. i have my php application which has users in mysql. Now if i f.x want the users to be able to chat witch each other i need some way of identifying a user. so i need to print the username and password on each page so that i can send it as a request to node.js server and login there too.. But then a thief can just open the source and see the password and username.. How would i go around this? [10:58] d0k has joined the channel [10:59] Cromulen_ has joined the channel [11:00] Frippe has joined the channel [11:00] Frippe has joined the channel [11:01] Frippe has joined the channel [11:02] dexter_e has joined the channel [11:04] hipsterslapfight: danielss89: use SSL and post the username and password to a route node is watching? [11:04] Glenjamin: rely on the session [11:04] danielss89: ok route [11:04] danielss89: ok session :D [11:04] hipsterslapfight: also dont pass around passwords in plain text [11:04] danielss89: so that node.js reads the php session [11:04] Glenjamin: get node to read PHP's session in some way, or have the login code also create a session in node [11:04] danielss89: ok.. [11:04] hipsterslapfight: Glenjamin's way is much cleaner than mine [11:05] danielss89: ok.. i still don't quite understand how to identify a user in node.js like if i want to send a message to a specific user.. [11:05] gut4 has joined the channel [11:05] danielss89: any good reading on this? [11:08] enmand has joined the channel [11:08] [[zz]] has joined the channel [11:08] thalll has joined the channel [11:09] Rafael has joined the channel [11:09] ph^ has joined the channel [11:12] Ang3 has joined the channel [11:18] ceej has joined the channel [11:18] shipit has joined the channel [11:19] dylang has joined the channel [11:20] lzskiss has joined the channel [11:20] gut4 has joined the channel [11:21] p1d has joined the channel [11:21] dexter_e: Is there a good recommended way to monitor Node "from the inside" ? [11:22] dexter_e: Event with Monit and Supervisor or Forever. etc. sometimes there are still cases when it goes down and stays down for up to 30 seconds if the crash happens between Monit checks. [11:22] dexter_e: Is there a way to restart it instantly if it becomes unresponsive ? [11:23] CarterL has joined the channel [11:25] cjm has joined the channel [11:27] neilk_ has joined the channel [11:27] daneroo has joined the channel [11:28] takezawa_ has joined the channel [11:28] dexter_e: I'm running Node with Upstart and Monit configured to check every 60 seconds. [11:28] daneroo has joined the channel [11:29] dexter_e: Sometimes the process becomes unresponsive and it takes up to 59 seconds for monit to catch that. [11:30] takezawa_ has joined the channel [11:30] dexter_e: Is it possible to use the event loop to efficiently have node monitor itself? [11:30] dexter_e: A child process or something? [11:33] ivanfi has joined the channel [11:34] briemens has joined the channel [11:34] blup has joined the channel [11:34] _kud has joined the channel [11:35] hugodias has joined the channel [11:36] eldios has joined the channel [11:37] JaKWaC has joined the channel [11:39] neurodrone has joined the channel [11:39] martinciu has joined the channel [11:39] JakeyChan has joined the channel [11:41] stepheneb has joined the channel [11:43] Poetro has joined the channel [11:43] Poetro has joined the channel [11:43] sineltor has joined the channel [11:43] jtrudeau has joined the channel [11:45] JaKWaC has joined the channel [11:47] hugodias has joined the channel [11:48] _th_n_ has joined the channel [11:49] Fuu` has joined the channel [11:51] daneroo has joined the channel [11:51] Margle has joined the channel [11:52] Xano has joined the channel [11:52] Ang3 has joined the channel [11:53] ilikeit has joined the channel [11:56] gavin_huang has joined the channel [11:58] gavin_huang1 has joined the channel [12:00] level09 has joined the channel [12:01] apoc has joined the channel [12:03] replore has joined the channel [12:03] replore_ has joined the channel [12:06] theCole has joined the channel [12:07] fangel has joined the channel [12:08] xtianw has joined the channel [12:09] zendfan has joined the channel [12:11] wtfcoder has joined the channel [12:11] wtfcoder: in my project i have a dependency on node-aqmp, however I want npm to pull the latest git HEAD of this as an update on 19th fixes an issue for me, how can I configure npm to get the git head [12:14] Dulak has joined the channel [12:15] JaKWaC has joined the channel [12:15] enmand has joined the channel [12:15] Hounth has joined the channel [12:18] matyr has joined the channel [12:18] tomlion has joined the channel [12:18] fairwinds has joined the channel [12:18] kkszysiu_ has joined the channel [12:19] daneroo has joined the channel [12:20] tomlion_ has joined the channel [12:22] tomlion has joined the channel [12:25] storrgie has joined the channel [12:25] cjroebuck has joined the channel [12:26] bzinger has joined the channel [12:27] AphelionZ has joined the channel [12:27] boehm has joined the channel [12:29] sylvinus_ has joined the channel [12:30] daneroo has joined the channel [12:32] erichynds has joined the channel [12:34] wtfcoder has joined the channel [12:36] scott_gonzalez has joined the channel [12:36] vvo has joined the channel [12:36] fumanchu182 has joined the channel [12:42] jetienne has joined the channel [12:43] stravid has joined the channel [12:43] ceej has joined the channel [12:44] gigo1980 has joined the channel [12:45] DarkGrey has joined the channel [12:46] mc_greeny has joined the channel [12:47] daneroo has joined the channel [12:47] jbpros has joined the channel [12:48] AaronMT has joined the channel [12:48] miccolis has joined the channel [12:51] fairwinds: Don't see that npmjs.org provides any stats for number of downloads for each package. That would be a nice addition. [12:52] albertosh has joined the channel [12:56] AAA_awright__ has joined the channel [12:57] wtfcoder has joined the channel [12:57] isufy has joined the channel [12:58] vkareh has joined the channel [12:58] daneroo has joined the channel [12:59] k1ttty has joined the channel [12:59] AAA_awright has joined the channel [13:03] Isaiah has joined the channel [13:04] masm has joined the channel [13:04] thinkt4nk has joined the channel [13:06] takezawa has joined the channel [13:06] jbpros_ has joined the channel [13:06] AAA_awright__ has joined the channel [13:08] jetienne_ has joined the channel [13:08] mpavel has left the channel [13:08] [AD]Turbo has joined the channel [13:08] lazyshot has joined the channel [13:09] RyanD has joined the channel [13:10] willwhite has joined the channel [13:10] daneroo has joined the channel [13:11] kriszyp has joined the channel [13:14] pandeiro has joined the channel [13:15] masm has left the channel [13:17] danielss89 has joined the channel [13:18] danielss89: hmm i've just tried the web server script on the node.js website.. right above res.end('Hello World\n'); i've added console.log('connection'); but when i call the page in my web browser it logs "connection" two times? [13:18] cgfuh has joined the channel [13:19] jtsnow has joined the channel [13:19] Glenjamin: your browser requests a favicon [13:19] Glenjamin: try outputting req.url [13:19] DennisRasmussen has joined the channel [13:20] dexter_e: good call [13:20] Glenjamin: comes up quite often :D [13:21] takezawa_ has joined the channel [13:21] piscisaureus__ has joined the channel [13:22] JasonJS has joined the channel [13:22] danielss89: :P [13:23] hydrozen has joined the channel [13:24] coderdad has joined the channel [13:25] mikedeboer has joined the channel [13:26] Al_ has joined the channel [13:27] mikedeboer has joined the channel [13:27] sineltor has joined the channel [13:27] thomblake has joined the channel [13:28] daneroo has joined the channel [13:28] thomblake has left the channel [13:30] _kud_ has joined the channel [13:31] sirdancealot has joined the channel [13:34] davidsklar has joined the channel [13:34] _th_n_ has joined the channel [13:34] OmidRaha has left the channel [13:35] technoweenie has joined the channel [13:35] matyr has joined the channel [13:36] arcanis has joined the channel [13:36] deedubs has joined the channel [13:37] thalll_ has joined the channel [13:37] zackattack has joined the channel [13:38] martin_sunset: Does anyone have a great example of an API wrapper around a restful API? I am writing one right now and I am not sure if I should keep the interface flat ( eg one client object) or use a more hierarchical approach. Thoughts welcome [13:39] shipit has joined the channel [13:39] technoweenie: hey is the npm db gone? [13:39] technoweenie: http://search.npmjs.org/#/_browse/all [13:39] socialhack has joined the channel [13:40] deedubs: search still seems to work [13:40] technoweenie: as in, you see packages? [13:40] deedubs: not in browse [13:40] martin_sunset: technoweenie: Search works for me, it your link does not [13:41] hij1nx has joined the channel [13:41] technoweenie: oh, ok [13:41] technoweenie: our package was removed from npm, thats weird [13:42] heavysixer has joined the channel [13:42] technoweenie: oh well, we'll distribute hubot through tarballs i guess [13:42] technoweenie has left the channel [13:43] hipsterslapfight: hmm, that was one of the guys that works at github wasn't it [13:43] daneroo has joined the channel [13:44] deedubs: indeed [13:46] ashb: curious - my last release of markdown to NPM has mysteriously been reversed... [13:46] deedubs: wonder if the db was restored from a backup [13:47] JaKWaC has joined the channel [13:47] EyePulp has joined the channel [13:49] _th_n_ has joined the channel [13:53] postwait has joined the channel [13:53] devongovett has joined the channel [13:53] shanebo has joined the channel [13:53] bshumate has joined the channel [13:53] bshumate has joined the channel [13:54] Margle has joined the channel [13:54] sylvinus has joined the channel [13:55] davemo has joined the channel [13:56] wankdanker: i swore that i saw an updated version of a package on npm last night but its not there today. thought i was going more crazy [13:56] AAA_awright__: wankdanker: How about Git? [13:57] AAA_awright__: Bah [13:57] AAA_awright: wankdanker: How about Git? [13:57] hdon- has joined the channel [13:58] tomb: did the npmjs registry db die or something, and get restored with an older version? [13:58] wankdanker: AAA_awright: I do not understand your question. :-/ [13:58] AAA_awright: wankdanker: Git repositories like on Github is the place to be following packages [13:58] AAA_awright: Did you check there? [13:58] wankdanker: oh yeah, it's updated there. [13:58] AAA_awright: Huh [13:59] wankdanker: i can clone it from there for sure, just trying to get in the habbit of using npm. [13:59] knifed has joined the channel [13:59] wankdanker: and using npm to install from the git repo is failing when unpacking. [14:00] AAA_awright: wankdanker: I'd suggest using Git exclusively [14:01] wankdanker: AAA_awright: yeah. will do that. thanks [14:01] AAA_awright: Please please, package maintainers, provide Git URLs for your package dependencies :p [14:02] deedubs: AAA_awright: don't you just use git submodules? [14:02] AAA_awright: For my applications yeah [14:02] Aikar: I prefer my approach [14:02] Aikar: put EVERY dependency in your source tree [14:03] Aikar: when you checkout a repo, you have everything [14:03] Aikar: dont have to worry about third parties being online [14:03] Aikar: others dont need npm, etc [14:03] Aikar: keep track of how your deps are changing [14:03] AAA_awright: You could, but repos aren't supposed to have everything [14:03] Aikar: its just text [14:03] AAA_awright: If you have modified 3rd party libraries sure [14:03] Aikar: node does the same thing im talking about :P [14:04] Aikar: v8 and uv are "bundled" [14:04] AAA_awright: But throwing in yuicompressor.jar into youre repository, yeah no [14:04] AAA_awright: *your [14:04] Aikar: its stupid to checkout a project from your local VCS, but then fail due to a third party being down [14:04] AAA_awright: Aikar: I mirror those repositories personally [14:04] deedubs: who has local VCS [14:04] blup has joined the channel [14:05] Aikar: deedubs: smart people :P i git push to my server and github so my codes in multiple places [14:05] AAA_awright: If you use GitHub, it's all "local" [14:05] Aikar: specifying multiple git push urls for a single "origin" ftw [14:05] wtfcoder: puting yuicompreessor.jar in the repo under /deps in the correct approach, but dont put the JRE [14:05] AAA_awright: That is a pretty win feature [14:05] daneroo has joined the channel [14:05] AAA_awright: wtfcoder: Why? I'd really prefer not [14:06] Aikar: AAA_awright: why? worried about HDD space? [14:06] AAA_awright: The reasoning is if your libraries have their own 3rd party dependencies, you don't want to replicate that [14:06] Aikar: storage is so cheap [14:06] ryanfitz has joined the channel [14:06] Margle has joined the channel [14:06] fmeyer has joined the channel [14:07] Aikar: i enjoy the fact I can clone once, and have a mostly ready checkout (barring a possible make to compile binaries which are gitignored) [14:07] AAA_awright: Aikar: Not for replication, but for source code management, if you awnt to fork the library, you only want to manage the fork once [14:07] wtfcoder: depends how you use yuicompressor is part of our deployment and even dev-staging so its versioned along with everything else, avoids the works on my machine crap. if you wanted to be superstart ott engineer you could create a git repo put yui-compressor in it and give its own package.json and include that git repo in your projects package.json deps [14:07] Aikar: and then restore to a previous version, and also have the deps at that previous version too [14:07] AAA_awright: I don't want to have to propogate the changes out to all the repositories, that's unnecessary [14:08] Wizek has joined the channel [14:08] AAA_awright: Just update the one submodule checked out in one location [14:08] Aikar: AAA_awright: why? what if one of your projects isnt ready to support the new version [14:08] Aikar: for reliability, you want that [14:08] Aikar: your SCM system at a specific revision should be the EXACT code you have tested [14:08] AAA_awright: That's what submodules are for [14:08] AAA_awright: So you have exactly one revision checked out [14:09] Aikar: thats fine, if you use submodules for your own local repos you avoid the 3rd party dependency [14:09] fangel has joined the channel [14:09] Aikar: but people tend to just point it at the upstream [14:09] Aikar: if your using other peoples libs, i say you should bundle. if your using your own libs, then fine use submodules pointing to your own local network repos [14:10] wtfcoder: a guy i known did that, submodules for everything that we didnt really need to version seperately, was a right PITA [14:10] Aikar: i personally just bundle those too [14:10] AAA_awright: the "subtree" method, pointing to a tree instead of a commit, is significantly less flexible [14:10] AAA_awright: That's my point [14:10] Aikar: though i guess my loathe for external repos comes from svn externals... those fucking suck so bad and make updates so slow [14:10] AAA_awright: You can choose to check out a subcommit or not [14:11] AAA_awright: You don't really have an option if it's a subtree [14:11] AAA_awright: That's fine for projects like Node.js [14:11] AAA_awright: But for most programming and modules/libraries, no [14:11] OneOfOne has joined the channel [14:11] Aikar: what do you mean a tree instea of a commit? [14:11] AAA_awright: A Git tree [14:11] AAA_awright: (a directory) [14:12] davidcoallier has joined the channel [14:12] davidcoallier has joined the channel [14:12] tbranyen: commits contain a tree that represents the entire state of the repo at that commit [14:12] Aikar: i dont include the sub modules .git dir [14:12] AAA_awright: Uh, that's not part of the repository by definition anyways [14:12] Aikar: i bundle my packages as if you didnt even know it was hosted in another repo [14:13] _th_n_ has joined the channel [14:13] Aikar: https://github.com/aikar/nope/tree/master/node_modules [14:14] Aikar: with my design, you can simply download the tarball and place the contents in node_modules and its usable [14:14] enmand: How can I emit events from a C++ module in NodeJS -- I've read the C++ EventEmmiter class is deprecated? [14:14] AAA_awright: Aikar: I wouldn't be loading trees into node_modules, that's about as bad as npm [14:15] brianc1 has joined the channel [14:15] AAA_awright: submodules, i.e. commits inside node_modules, makes things significantly more flexible [14:15] Aikar: thats your opinion, I consider this approach easier to people who use my modules :P [14:15] bnoordhuis: enmand: https://github.com/bnoordhuis/node-event-emitter - but preferably you'd use MakeCallback() [14:15] Aikar: gives them more options for using the code [14:15] Hounth has joined the channel [14:15] AAA_awright: Because they're independent repositories with their own development history, you can choose to check them out or not [14:16] enmand: bnoordhuis, great, thanks. I'll have a look [14:16] Aikar: yes i understand its a duplication of the history, but disk space is cheap, it doesnt bother me :P [14:16] enmand: bnoordhuis, MakeCallback()? [14:16] AAA_awright: Aikar: It's really not too hard to use git submodules in a similar manner, mirror the deps next to your repository, and clone using --recursive [14:16] xetorthio has joined the channel [14:16] AAA_awright: And with an additional argument you have the exact same checkout [14:17] sirdancealot has joined the channel [14:17] bnoordhuis: enmand: look at e.g. src/tcp_wrap.cc - it's the preferred method of calling into JS [14:17] pbwilmot has joined the channel [14:17] Aikar: AAA_awright: github has gone down multiple times this year already. I really prefer not relying on third parties being online [14:18] Aikar: same with npm [14:18] Aikar: its also had multiple downtimes [14:18] Aikar: explaining to your boss you cant work right now because insert X other company is having problems isnt easy [14:18] AAA_awright: Well then host it yourself [14:19] Aikar: I am, in the tree of the project that uses it ;) [14:19] a_meteorite: Git is damn easy to host too [14:19] patrickgamer has joined the channel [14:19] a_meteorite: Filesystem, http, git daemon... [14:19] AAA_awright: Aikar: If your repository goes down then you can't get the tree [14:19] a_meteorite: So many options [14:19] patrickgamer has left the channel [14:19] AAA_awright: Aikar: The situation doesn't change if you have it in a sibling module or in a subtree [14:19] AAA_awright: that's my point [14:19] Renegade001 has joined the channel [14:20] AAA_awright: So why not use submodules since that adds flexibility [14:20] Aikar: and trying to explain why i need 30 other reposititories named with node.js's style of so many tiny little projects, they would think thats silly [14:20] jetienne_ has joined the channel [14:20] AAA_awright: Because you depend on them and you can fork them [14:20] AAA_awright: You can't fork a subtree :) [14:21] hipsterslapfight: a_meteorite: and you can always swing for one of those $5k private github hosting deals :v [14:21] Aikar: you can fork the upstream and then host it yourself when you NEED to fork it, then install from your fork [14:21] Aikar: hipsterslapfight: oh right thanks for reminding me, I found an ope nsource github clone [14:21] Aikar: http://gitlabhq.com/ [14:22] deedubs: I would love to see integrity integrated with gitlab [14:22] __tosh has joined the channel [14:22] Aikar: whats integrity? [14:22] deedubs: CI [14:22] hipsterslapfight: that tagline doesn't exactly inspire confidence Aikar ... [14:22] Aikar: hipsterslapfight: why? [14:22] sylvinus_ has joined the channel [14:23] hipsterslapfight: "All for what you so love github - on your server!" [14:23] hipsterslapfight: is it a joke? [14:23] Aikar: no... [14:23] deedubs: Make good git for mankind love [14:23] Aikar: github isnt free [14:23] Aikar: /opensource [14:23] Aikar: this gives you a free/oss clone of github [14:23] Aikar: whats so "joke" about that idea? [14:23] hipsterslapfight: the grammar [14:24] zackattack has joined the channel [14:24] Aikar: maybe the authors like me, too busy programming during school and didnt pay attention to english :P [14:24] igl has joined the channel [14:24] Aikar: ACTION sucks at grammar. [14:25] liar has joined the channel [14:26] pizthewiz has joined the channel [14:26] cjm has joined the channel [14:28] dylang has joined the channel [14:28] nibblebot has joined the channel [14:29] sylvinus_ has joined the channel [14:30] slack0 has joined the channel [14:31] willwhite: has anyone else noticed releases missing from npm in the last few days? [14:32] willwhite: I published to npm twice yesterday and had other users build with the new versions successfully, but now those releases have vanished. [14:32] hipsterslapfight: willwhite: at least have a dozen. see above [14:32] hipsterslapfight: *half a dozen [14:33] matyr has joined the channel [14:33] joshkehn has joined the channel [14:33] joshkehn has left the channel [14:34] Aikar has joined the channel [14:34] Aikar has joined the channel [14:34] willwhite: hipsterslapfight: read the backscroll. thanks! [14:34] dexter_e has joined the channel [14:35] patrickgamer has joined the channel [14:36] zmbmartin has joined the channel [14:36] dexter_e: Beyond Upstart and Monit simultaneously are there more options to ensure total Node Uptime ? [14:36] vvo has joined the channel [14:36] aelien27 has joined the channel [14:36] brianc1: dexter_e: I'm not sure anything can completely assure that, but besides those two "cluster" has some built in restart-smarts to it [14:38] cognominal_ has joined the channel [14:39] jaredhanson_ has joined the channel [14:39] jn_ has joined the channel [14:40] jocafa has joined the channel [14:41] netlemur has joined the channel [14:41] stepheneb has joined the channel [14:41] stepheneb has joined the channel [14:42] davidascher has joined the channel [14:43] mandric has joined the channel [14:44] dshaw_ has joined the channel [14:44] saikat has joined the channel [14:45] wankdanker: i see that 'class' is now being enforced as a reserved word. is it actually being used for something? [14:46] adambeynon has joined the channel [14:46] hipsterslapfight: isn't class a reserved word in javascript itself? [14:46] sineltor has joined the channel [14:46] fatjonny has joined the channel [14:46] heavysixer has joined the channel [14:47] lmorchard has joined the channel [14:47] stepheneb_ has joined the channel [14:48] daneroo has joined the channel [14:49] JasonJS: 'class' is in the list of words that may be reserved in the future in the ECMAScript spec [14:49] wankdanker: yes, it is but it wouldn't throw an exception if used in v0.4.x [14:49] wankdanker: it does in 0.5.10 [14:50] wankdanker: echo "function a (class) {}" | node [14:51] JasonJS: It does make sense that they add the future words to the list of reserved to help devs avoid issues in the future [14:51] javier__ has joined the channel [14:51] wankdanker: agreed. it made me fix my app. :) [14:53] samBiotic has joined the channel [14:53] daneroo has joined the channel [14:53] samBiotic has joined the channel [14:53] jpdery has joined the channel [14:53] pixel13 has joined the channel [14:54] gopelaez has joined the channel [14:54] avih has joined the channel [14:54] fmeyer has joined the channel [14:55] xetorthio has joined the channel [14:56] Tobsn has joined the channel [14:56] Glenjamin: also look out for let [14:56] Slashbunny has joined the channel [14:56] bwinton_away has joined the channel [14:57] briemens has joined the channel [14:57] colinclark has joined the channel [14:58] vipaca has joined the channel [14:58] vipaca has joined the channel [14:58] aaronmcadam: here u are guys: https://developer.mozilla.org/en/JavaScript/Reference/Reserved_Words [14:58] kurmangazy has joined the channel [14:58] criswell has joined the channel [14:59] RORgasm has joined the channel [14:59] avih has joined the channel [14:59] kurmangazy: when I try to do 'npm adduser', after it takes my user/pass/email, it says "npm ERR! Error: socket hang up [14:59] kurmangazy: npm ERR! at createHangUpError (http.js:1076:15) [14:59] kurmangazy: "npm ERR! at createHangUpError (http.js:1076:15)" [14:59] kurmangazy: oops.. etc [15:00] deedubs: npm is experiencing some drama right now. Might be related [15:00] kurmangazy: oh [15:00] pgherveou has joined the channel [15:00] kurmangazy: does it try to use a proxy? [15:01] kurmangazy: this linux has a proxy incorrectly configured, for some reason... [15:01] stepheneb has joined the channel [15:02] kurmangazy: ah, that was it. awesome [15:02] kurmangazy: silly proxy [15:03] pixel13 has left the channel [15:04] Tobsn has joined the channel [15:06] EhevuTov has joined the channel [15:06] cosmincx has joined the channel [15:06] javier__: hey ppl, I'm trying to simplify the addon creation process, for those interested here is what I have done so far: https://github.com/j-a-s-d/node-addonis [15:06] tomlion has joined the channel [15:07] themiddleman_itv has joined the channel [15:08] EhevuTov has joined the channel [15:08] kurmangazy: ah, perfect. I was just thinking. the best thing you could do is make it pure C [15:08] tjholowaychuk has joined the channel [15:08] tjholowaychuk has joined the channel [15:09] samBiotic has joined the channel [15:09] SamuraiJack has joined the channel [15:11] sineltor has joined the channel [15:11] alexdoom has joined the channel [15:12] kurmangazy: I'm looking at your domain, javier__. I have to ask: what was the concept behind the assembly language XML parser? [15:12] CIA-48: libuv: 03Ben Noordhuis 07master * r339a1ad 10/ test/test-stdio-over-pipes.c : test: fix warning: implicit declaration of function ‘memcmp’ - http://git.io/O3Stqw [15:13] kriszyp has joined the channel [15:14] javier__: kurmangazy: it's not a parser in fact, but a generator, ideally for server-side [15:14] kurmangazy: oh [15:15] philtr has joined the channel [15:15] kurmangazy: what does it generate it from? [15:15] cjm has joined the channel [15:16] davidwalsh has joined the channel [15:17] aheckmann has joined the channel [15:17] pbwilmot has left the channel [15:17] kurmangazy: isn't generating xml basically copying a bunch of strings? [15:17] CoverSlide: you'd need some C++ for the v8 binding though [15:17] javier__: for performance mainly, the fasm version is four times faster than the xml generation that freepascal gives for example, the same applies for the jasmin-xt version for java [15:18] zilch_ has joined the channel [15:18] kurmangazy: CoverSlide: clearly, but you can close your eyes and ignore it [15:18] javier__: the .net cil version is still in the same speed than the common xml generation scheme for .net, i have to improve it [15:18] javier__: RXL exposes it's own API [15:18] sylvinus_ has joined the channel [15:20] kurmangazy: it's hard for me to think what you could optimize that way, javier__... isn't it mainly a matter of watching your memory allocations and how many times you copy things? [15:20] kurmangazy: or are you using smd instructions or something? [15:20] kurmangazy: simd [15:21] CoinOpeBoy has joined the channel [15:21] metellus has joined the channel [15:21] hugodias has joined the channel [15:21] jimt_ has joined the channel [15:21] _th_n_ has joined the channel [15:22] materialdesigner has joined the channel [15:22] bronson has joined the channel [15:22] jhurliman has joined the channel [15:23] javier__: no problem, benchmarks are included, in fact, it started as an experiment to see how much faster than the FPC/DOM generation it was, and since it took ~700ms against ~3000ms, I saw it might be useful [15:23] kurmangazy: so it starts from a DOM tree? [15:23] Hounth has joined the channel [15:23] hugodias has joined the channel [15:24] erichynds has joined the channel [15:24] ghankstef has joined the channel [15:24] kurmangazy: javier__: in addonis -- I wish you had gotten rid of the camel case :) [15:24] ghankstef has left the channel [15:25] fangel has joined the channel [15:25] ghankstef has joined the channel [15:25] ank has joined the channel [15:25] CoverSlide: you'd perfer `void node_addonis_new_string_array_values()` ? [15:26] javier__: no no, it's a generation api, I've benchmarked it against a DOM generation I mean [15:26] CIA-48: node: 03koichik 07master * r0e8a55d 10/ (lib/tls.js test/simple/test-tls-pause-close.js): [15:26] CIA-48: node: tls: does not emit 'end' from EncryptedStream [15:26] CIA-48: node: de09168 and 4cdf9d4 breaks `test/pummel/test-https-large-response.js`. [15:26] CIA-48: node: It is never finished. [15:26] CIA-48: node: Fixes #1936. - http://git.io/M77WDA [15:26] kurmangazy: CoverSlide: yes [15:27] CoverSlide: hmph [15:27] CoverSlide: i say he should have gone with UpperCamelCase [15:27] martin_sunset has joined the channel [15:27] maletor has joined the channel [15:27] spoletto has joined the channel [15:27] gxdssoft has joined the channel [15:27] kurmangazy: CoverSlide: it avoids subtle issues of choosing between getElementId() and getElementID(), for instance [15:28] ryanfitz has joined the channel [15:28] kurmangazy: just add two characters and make it get_element_id() [15:28] Wizek has joined the channel [15:28] slifty_corsair has joined the channel [15:28] hij1nx has joined the channel [15:28] CoverSlide: personal preference, is all [15:28] zilch_ has joined the channel [15:29] CoverSlide: i personally hate having to move my finders up hit the _ [15:29] hugodias_ has joined the channel [15:29] CoverSlide: s/finders/fingers/ [15:30] hugodias has joined the channel [15:30] kurmangazy: program your text editor to replace uppercase letters with _[a-z] [15:30] jtsnow has joined the channel [15:31] yhahn has joined the channel [15:31] kurmangazy: javier__: I'm afraid I don't quite get it [15:31] javier__: oh I tried to follow the convention that matches more the Javascript developers way [15:31] blup has joined the channel [15:32] javier__: personally I'm comfortable with almost any convention [15:32] patrickgamer has joined the channel [15:32] caden has joined the channel [15:32] kurmangazy: ah. I just have a disliking for c++/java [15:32] patrickgamer has left the channel [15:32] kurmangazy: and anything that reminds me of it [15:33] javier__: Raw XML Library do you mean? [15:33] kriszyp has joined the channel [15:34] kurmangazy: javier__: Raw XML -- I don't get the API. addonis -- I wish it looked more like C :) [15:34] tbranyen: anybody know if socket.io runs on windows without cygwin env? [15:34] tbranyen: i wish i had windows to test this [15:34] neurodrone has joined the channel [15:35] CIA-48: node: 03koichik 07master * rcbcaeed 10/ (3 files in 3 dirs): [15:35] CIA-48: node: tls: add address(), remoteAddress/remotePort [15:35] CIA-48: node: Fixes #758. [15:35] CIA-48: node: Fixes #1055. - http://git.io/fKCraA [15:35] kazupon has joined the channel [15:35] heavysixer has joined the channel [15:35] brianc1: tbranyen: I tried it with node v0.5.6 on windows and it worked fine...that was over a month ago though [15:35] tbranyen: brianc1: beautiful, thanks [15:35] tbranyen: this is a windows 8 demo, and it'd be nice if everything could run on windows [15:37] digman543 has joined the channel [15:37] javier__: kurmangazy: it's a pretty simple api that let's you create, modify and read (in part) xml nodes independiently, it doesnt involve into the memory management, that's up to you [15:38] javier__: and no, no simd instructions involved in that project [15:38] saikat has joined the channel [15:39] Morkel has joined the channel [15:39] kurmangazy: ic [15:39] sylvinus_ has joined the channel [15:40] Venom_X has joined the channel [15:40] Hounth has joined the channel [15:41] SamuraiJack_ has joined the channel [15:41] smgt has joined the channel [15:41] spoletto_ has joined the channel [15:42] smtlaissezfaire has joined the channel [15:45] deedubs: the world is coming apart with this whole npm revert thing [15:45] arcanis has joined the channel [15:46] Draggor: what npm thingy? [15:46] coderdad has joined the channel [15:46] deedubs: npm seemingly has time travelled [15:46] davidascher has joined the channel [15:46] deedubs: back in time and lost new versions [15:47] philtr has left the channel [15:49] deedubs: need the west coast to wake up already :) [15:49] Draggor: Oh, well that's curious [15:51] eignerchris has joined the channel [15:51] kurmangazy: I published saxn with npm [15:52] jonrohan has joined the channel [15:52] jonrohan has joined the channel [15:53] wadey has joined the channel [15:53] kurmangazy: now you can `npm install saxn` [15:53] kenperkins has joined the channel [15:54] lwille has joined the channel [15:54] lzskiss has joined the channel [15:54] mixin has joined the channel [15:54] zemanel has joined the channel [15:54] Poetro has joined the channel [15:54] Poetro has joined the channel [15:55] pickels has joined the channel [15:55] kurmangazy: javier__: what if you defined macros so you can access the addonis api without camelcase? [15:56] javier__: sure, it should work [15:56] stephank has joined the channel [15:56] ttpva has joined the channel [15:56] jerrysv has joined the channel [15:56] trotter has joined the channel [15:57] daneroo has joined the channel [15:57] criswell has joined the channel [15:57] caolanm has joined the channel [15:57] rycka has joined the channel [15:57] kurmangazy: javier__: saxn is my idea of an xml parsing framework that doesn't suck. https://github.com/NealB/saxn [15:57] c4milo has joined the channel [15:58] aguynamedben has joined the channel [15:58] hntrdglss has joined the channel [15:58] hntrdglss has joined the channel [15:58] fzzzy has joined the channel [16:01] kurmangazy: I used it to write simple parsers for rss and ods spreadsheet files in the span of a few hours [16:01] jonrohan has left the channel [16:01] rurufufuss has joined the channel [16:02] kenperkins: o/ [16:03] webstrand has joined the channel [16:03] TooTallNate has joined the channel [16:03] javier__: looks nice [16:03] dylang_ has joined the channel [16:04] kurmangazy: :) [16:04] versicolor_ has joined the channel [16:05] EhevuTov has joined the channel [16:05] broofa has joined the channel [16:06] fra000 has joined the channel [16:06] lulzilla has joined the channel [16:07] joshthecoder has joined the channel [16:07] lulzilla: any tips on installing npm on Windows? [16:07] javier__: time to lunch, brb [16:07] fmeyer has joined the channel [16:08] JakeyChan: hi? [16:08] JakeyChan: is there have node document for c++ addon [16:08] JakeyChan: ? [16:08] versicolor has joined the channel [16:09] Draggor: JakeyChan: here's an example project that does one: https://github.com/substack/node-bigint [16:09] marcello3d has joined the channel [16:10] Glenjamin: kurmangazy: i quite like the idea, but not so keen on the $ syntax for special values :p [16:10] Glenjamin: also, sys is now deprecated, you should use either util or console depending on what you're trying to do [16:11] hntrdglss has left the channel [16:11] kurmangazy: Glenjamin: where do you see sys? [16:12] kurmangazy: Glenjamin: the special identifiers have to be given names that are not legal xml element names, so there are no collisions [16:12] JakeyChan: Draggor: but..I need API document or node document :) [16:12] kurmangazy: $ is convenient, since you don't have to put quotes around it in javascript [16:13] fmeyer has joined the channel [16:14] Glenjamin: kurmangazy: in the examples :p [16:15] takezawa has joined the channel [16:15] kurmangazy: Glenjamin: I think sys only appears in pretty-print. it's actually defined as 'var sys=require("util")' [16:15] aguynamedben has joined the channel [16:16] lulzilla has joined the channel [16:16] kurmangazy: I wanted to show how you could take isaacs's pretty-print example and change it minimally into saxn [16:17] kurmangazy: and isaacs's example is old I guess [16:17] airhorns has joined the channel [16:18] anshou has joined the channel [16:18] kurmangazy: oh... it's in the README too [16:18] anshou: anyone have a moment to field a question about vm.runInNewContext on v0.5.10 under windows? [16:20] Qbix2 has joined the channel [16:20] storrgie has joined the channel [16:20] martin_sunset has joined the channel [16:20] isaacs has joined the channel [16:21] lulzilla has joined the channel [16:21] ciju has joined the channel [16:22] StanlySoManly has joined the channel [16:23] davidascher has joined the channel [16:23] devongovett has joined the channel [16:24] lwille has joined the channel [16:24] saesh has joined the channel [16:24] kurmangazy: no more sys. [16:25] lwille: I just posted a question about how to chain together and concatenate multiple processes' stdio on stackoverflow (http://bit.ly/sq7rEt) - if anyone could help, I'd really appreciate it :) [16:25] sonnym has joined the channel [16:25] CoverSlide: sys is for sissies [16:25] CoverSlide: and snake-people [16:25] jarek has joined the channel [16:26] ph^ has joined the channel [16:26] lulzilla: why no more sys? [16:26] kurmangazy: has anyone looked into more functional event-driven frameworks, like yesod in haskell? [16:27] _dc has joined the channel [16:27] kurmangazy: lulzilla: require('sys') is now require('util'). don't ask me why [16:27] kitt has joined the channel [16:28] chrislorenz has joined the channel [16:28] lulzilla: oh, as long as the functionality exists, I don't mind [16:28] CoverSlide: 09:25 < CoverSlide> sys is for sissies [16:28] CoverSlide: that's why [16:28] colinclark has joined the channel [16:28] Aaron_ has joined the channel [16:28] lulzilla: besides util was a very thin module [16:28] lulzilla: so makes sense in my opinion [16:29] kurmangazy: are there any functions in the api that give you buffered writes to streams? [16:29] maushu has joined the channel [16:29] maushu: SubStack: back to try and read the ssh docs. [16:29] lulzilla: createWriteStream is buffere, I tgink [16:29] shanebo: hey guys, will node throw a fatal error when trying to access a key in an object that doesn't exist? [16:29] maushu: I have no idea if node.js crypto supports diffie-hellman-group1-sha1 and diffie-hellman-group14-sha1. [16:30] kurmangazy: shanebo: no it's a javascript issue, not a node issue [16:30] lulzilla: shanebo, yes [16:30] Carter has joined the channel [16:30] CoverSlide: iirc, every Javascript engine will [16:30] lulzilla: yea [16:30] kurmangazy: lulzilla: huh? [16:30] markdaws has joined the channel [16:30] shanebo: I'm glad there's consensus :D [16:31] f1gm3nt has joined the channel [16:31] nils_r has joined the channel [16:31] dthompso99 has joined the channel [16:31] shanebo: so I'll always have to do obj.hasOwnProperty('foo') ? [16:31] CoverSlide: no, no, no [16:31] maushu: shanebo: huh, no? [16:31] kurmangazy: 'var foo = {};' foo.bar === undefined [16:31] maushu: ^ [16:31] michaeldeol has joined the channel [16:31] CoverSlide: if the object doesn't exist [16:31] shanebo: well that's not fatal [16:31] maushu: javascript doesn't throw any error, just check if its undefined. [16:31] CoverSlide: there will be an error [16:31] shanebo: oh I see [16:32] CoverSlide: if the key doesn't you get undefined [16:32] shanebo: I meant the key doesn't exist in the object [16:32] shanebo: okay cool [16:32] maushu: object["yay!"] === undefined <- doesn't exist if true [16:32] shanebo: will a non existent object throw a fatal in a conditional? [16:32] flagg0204 has joined the channel [16:33] anshou: anyone have a moment to field a question about vm.runInNewContext on v0.5.10 under windows? i'm expecting writes to stderr and an exception to be thrown on syntax error, but the exception I am seeing is empty and I have no writes to stderr? [16:33] dgathright has joined the channel [16:33] kurmangazy: shanebo: if you haven't declared it with 'var foo;', you can't reference foo [16:33] CoverSlide: if the variable name has not been varred, ues [16:33] enmand: bnoordhuis, was that event stuff 0.5.x specific, or should it be done the same wasy in 0.4? [16:33] j-dev has joined the channel [16:33] spoletto has joined the channel [16:34] CoverSlide: however, you can do typeof foo to anything [16:34] shanebo: so if (foo) do something; will be fatal if foo doesn't exist? [16:34] CoverSlide: yes [16:34] bnoordhuis: enmand: 0.5.x specific [16:34] shanebo: k thx [16:34] enmand: bnoordhuis, ah. In 0.4, should the class extend EventEmitter? [16:35] kurmangazy: lulzilla: createWriteStream doesn't get you a buffered stream. at least, not to a file. [16:35] CoverSlide: var foo; will correct that [16:35] bnoordhuis: enmand: yes, but that's going away in 0.5 / 0.6 [16:35] enmand: Or, better yet, is it more worthwhile to develop against 0.5? [16:35] CoverSlide: or `typeof foo == 'undefined'` works too [16:35] isaiah_ has joined the channel [16:36] bnoordhuis: enmand: yes, 0.6 will be out in a short while [16:36] lauxley has joined the channel [16:36] spasquali has joined the channel [16:36] bnoordhuis: we're not doing 0.4 releases any more either [16:36] spasquali has left the channel [16:36] enmand: OK [16:36] enmand: bnoordhuis, any timeline on the stable 0.6 release? [16:36] andrewreedy has joined the channel [16:36] enmand: I'll develop against 0.5 then [16:36] bnoordhuis: enmand: maybe already this week [16:37] enmand: Oh, OK. Well, in that case I certainly will [16:37] kurmangazy: I think node.js would be a better api if it wasn't so easy to do inefficient things, like invoke write(2) a thousand times to output a kilobyte [16:37] CoverSlide: wtf .. npm just downgraded itself from 1.0.104 to 1.0.96 ?? [16:38] jarek has joined the channel [16:38] isaacs: trying to figure out what's going on [16:38] lauxley: hi, im a first time node.js trying to setup a tcp client/server connection between a browser and a node server, my question is, is there a bundle or something to link client side to have access to net.createConnection ? (i know this is probably the noobiest question ever) [16:38] te-brian has joined the channel [16:39] isaacs: CoverSlide: the data's there. [16:39] kurmangazy: lauxley: isn't that what socket.io is for? [16:39] isaacs: just not showing in the view for some reason [16:39] CoverSlide: the browser doesn't deal with raw tcp connections, only http [16:39] lauxley: kurmangazy: is it ? [16:39] JasonJS: lauxley: Assuming you don't mean raw TCP sockets, look into socket.io [16:39] lauxley: ok thx guys [16:40] kurmangazy: lauxley: CoverSlide is probably correct, but socket.io will probably help you [16:41] confoocious has joined the channel [16:41] confoocious has joined the channel [16:41] hakunin has joined the channel [16:42] f1gm3nt has joined the channel [16:44] Ang3 has joined the channel [16:44] daaku has joined the channel [16:45] kurmangazy: how do the canonical node.js chat servers work? is each message a separate http connection? or is a socket kept open? [16:46] simenbrekken has joined the channel [16:46] hipsterslapfight has joined the channel [16:46] dexter_e has joined the channel [16:47] wankdanker: should all 'not yet implemented' features be implemented by the 0.6 release? [16:49] CoverSlide has joined the channel [16:49] daneroo has joined the channel [16:50] dshaw_ has joined the channel [16:50] CoverSlide has joined the channel [16:50] isaacs: this is so bizarre... [16:50] isaacs: when i curl, i see the latest data, but when i fetch from the npm registry with node, i don't [16:50] FiveLemon has joined the channel [16:51] lulzilla has joined the channel [16:51] deedubs: isaacs: ready for any testing you need [16:51] isaacs: do `npm view npm version` [16:51] CoverSlide has joined the channel [16:51] isaacs: should show 1.0.103 [16:51] dmose has joined the channel [16:51] isaacs: when you curl http://registry.npmjs.org/npm, that's what you see [16:51] deedubs: 1.0.96 [16:51] wankdanker: 1.0.96 [16:52] isaacs: aha!! just saw http://registry.npmjs.org/npm showing 1.0.96 [16:52] isaacs: but http://isaacs.iriscouch.net/registry/npm shows the latest data [16:52] isaacs: JasonSmith: you around? [16:52] kurmangazy: some sort of caching? [16:52] trose: so I'm using Brianc's postgres plugin and I want to get back my primary key after i do an insert. I thought it was typical behavior for sql to return either a PK or the row number of the row it just inserted [16:53] trose: I have a shallow understanding of postgresql so feel free to tell me to go rtfm if this is a stupid question :D [16:53] isaacs: kurmangazy: maybe [16:54] spoletto has joined the channel [16:54] isaacs: aha. restarted couch, now it's showing the correct version [16:54] trose: nvm figured it out [16:55] isaacs: must've confused it with all the recent _design doc updates, maybe? [16:55] JSManiacs has joined the channel [16:55] ryanrolds_w has joined the channel [16:55] dubenstein has joined the channel [16:56] wankdanker: isaacs: looking good now. search.npmjs.org now shows a module that was updated last night but was not showing this am. [16:56] overthemike has joined the channel [16:58] visual77 has joined the channel [17:00] briemens has joined the channel [17:00] JSManiacs has left the channel [17:00] kurmangazy: what would be the best database backend for node.js, if you were writing, say, a CMS... couchdb? mongo? or some traditional dbms? [17:00] wrongle has joined the channel [17:00] N0va` has joined the channel [17:01] kurmangazy: so that it obeys the non-blocking model [17:01] lulzilla has joined the channel [17:01] dmwuw has joined the channel [17:01] towski has joined the channel [17:01] CoverSlide: `best` is very subjective [17:01] JSManiacs has joined the channel [17:01] kriszyp has joined the channel [17:01] kurmangazy: which one melds the best with the asynchronous, streaming model? [17:01] martin_sunset: kurmangazy: I would use mongo, but I am biased [17:01] CoverSlide: i would use redis [17:01] CoverSlide: but I, too am biased [17:02] martin_sunset: Where are the couch guys? :) [17:02] knifed has joined the channel [17:02] kurmangazy: are the redis and mongo node.js libraries pretty advanced and stable? [17:03] martin_sunset: kurmangazy: Mongoose is very good, definitely useable in production [17:03] knifed has joined the channel [17:03] cgfuh has joined the channel [17:03] deedubs: +1 for mongoose love it. I haven't dropped down to mongo-native yet but its on my list of things to get comfortable with [17:04] kurmangazy: martin_sunset: sweet. thanks. [17:04] Epeli: I have used mongo-native and found it pretty buggy [17:04] Isaiah has joined the channel [17:04] knifed has joined the channel [17:04] deedubs: Epeli: Interesting. I use it via mongoose with no issue [17:04] Epeli: And with out dated docs [17:05] ctide: it has some ugly memory leaks as well [17:05] ctide: at least in every version past 0.9.6-15 [17:05] kurmangazy: it seems like, someday, the database could be integrated into the node.js process... [17:05] ctide: we're at the mercy of when he decides to remove that package from npm, heh [17:05] CoverSlide: there are attempts at in-process keyvalue stores [17:06] kurmangazy: CoverSlide: excellent. [17:06] CoverSlide: nstore, alfred, chaos, tiny, dirty, eventvat [17:06] Epeli: This was especially annoying https://github.com/christkv/node-mongodb-native/issues/376 [17:06] kurmangazy: node.js might as well run inside the kernel, too [17:06] Morkel has joined the channel [17:07] martin_sunset: kurmangazy: Neo4j is another db to watch out for, especially when you are doing social [17:07] zach_ has joined the channel [17:08] kurmangazy: is node.js stable enough to be open to the internet without being insecure? [17:08] Epeli: yes [17:08] __tosh has joined the channel [17:08] kurmangazy: cool [17:10] Morkel has joined the channel [17:10] PhilK has joined the channel [17:11] storrgie has joined the channel [17:11] brianc1: trose: you still here? [17:11] kurmangazy: what is the '4j' in neo4j? java? [17:12] zach_: Hi everyone, when forking child processes, how can one set up a tcp server listenening at port 80 in the parent process, and then delegate any requests to available child processes? [17:12] brianc1: trose: http://www.postgresql.org/docs/8.3/interactive/sql-insert.html search for the "RETURNING" keyword. [17:12] martin_sunset: kurmangazy: I think it started out as a java project... [17:12] trose: brianc1, i figured it out :D Thanks though. [17:13] trose: ACTION needs to spend more time reading before asking dumb questions [17:13] martin_sunset: kurmangazy: But it is language agnostic, and you can use it in the cloud for free on heroku [17:13] CoverSlide: the db is written in java [17:13] thalll has joined the channel [17:13] Morkel has joined the channel [17:13] brianc1: trose: no worries [17:14] OneOfOne: zach_: if you're using latest 0.5.x it automaticly handle that, or you can use node-cluster in the 0.4.x [17:14] danielss89: is this correct: i use php to log in my users. Now i want to identify my users so i print the session id in my javascript that connects to node.js and use node.js to read the php sessions. [17:14] Morkel has joined the channel [17:14] kurmangazy: zach_: I think you use the third parameter to stream.write() to pass file descriptors, no? [17:15] isaacs: zach_: http://nodejs.org/docs/v0.5.10/api/cluster.html [17:15] danielss89: but this makes so that anyone can just steal the session id and then put it in code and pretend he's the user.. How do i go around this? [17:15] Nietecht has joined the channel [17:15] isaacs: zach_: or use the child_process.sendFD method, and have the child process servers listen on that fd rather than listening on a port/hostname [17:15] jsurfer has joined the channel [17:16] briancray has joined the channel [17:16] zach_: oneofone,issacs: thanks, cluster is indeed the functionality i need. But i just switched to node from python, and i wanted to implement it myself. [17:16] Morkel has joined the channel [17:16] zach_: kurmangazy: yes, but if i pass the server.handle to each child process, how do i choose which child process recieved what request? [17:16] OneOfOne: zach_: check the source code for either, they are on git [17:16] CoverSlide: well, conversely, one could just steal the PHPSESSID cookie and do that with a normal php session [17:16] cesutherland has joined the channel [17:16] zach_: oneofone: lol, ofc. [17:17] vidi has joined the channel [17:17] zach_: isaacs: i'll check out sendFD [17:17] kurmangazy: danielss89: Drupal has a nodejs module, and has solved the security problem. you may want to check out how they did it [17:17] danielss89: k, ill have a look [17:18] AvianFlu has joined the channel [17:18] mcluskydodallas has joined the channel [17:18] zach_: isaacs: where in the docs can i read about sendFD? [17:18] Bodil has joined the channel [17:19] kurmangazy: zach_: not sure how node.js handles it, but in unix, accept(2) gives you a brand new fd for that connection. that's what you want to send [17:19] whalesofthesky has joined the channel [17:20] whalesofthesky has left the channel [17:20] blueadept has left the channel [17:20] kersny has joined the channel [17:22] daneroo has joined the channel [17:23] sam350 has joined the channel [17:23] toopay has joined the channel [17:24] lzskiss has joined the channel [17:25] \ask has joined the channel [17:25] thalll_ has joined the channel [17:25] sh1mmer has joined the channel [17:26] lulzilla has joined the channel [17:27] kurmangazy: I wish node's internal i/o buffering mechanisms were better documented [17:27] dnyy has joined the channel [17:27] colinclark has joined the channel [17:27] jamescarr has joined the channel [17:27] jamescarr: I forgot the Date object was so barbaric :) [17:28] CoverSlide: yeah the Date object sucks [17:28] tbranyen: lol date object rullleeesss [17:28] CoverSlide: use datejs [17:28] deedubs: nooo [17:28] tbranyen: datejs is bloated [17:28] tbranyen: use momento [17:28] tbranyen: er [17:28] tbranyen: moment [17:29] deedubs: datejs will break the crap out of everything that uses Date [17:29] overthemike has left the channel [17:29] tbranyen: https://github.com/timrwood/moment [17:29] AvianFlu: lol somebody made a module that incompatibly overrides a built-in JS object? [17:29] tbranyen: and its in npm woot [17:29] AvianFlu: that sounds win... LOL [17:29] tbranyen: AvianFlu: yeah i wouldn't be surprised if a lot of them do [17:30] stagas has joined the channel [17:30] deedubs: I haven't used it yet but XDate seems saner [17:30] deedubs: I looked at adding noConflict to datejs but it didn't look like fun [17:31] AvianFlu: call me crazy, but I use the real Date object [17:31] AvianFlu: new Date() = unix timestamp [17:31] AvianFlu: easy to do math on :) [17:31] colinclark has joined the channel [17:31] tbranyen: well +new Date() = timestamp [17:31] tbranyen: new Date() is an object [17:31] AvianFlu: true [17:32] jamescarr: eh, my stance on "touching" native objects is [17:32] jamescarr: Don't do it! But if you do, do it in production. :) [17:32] AvianFlu: I actually spaced out, new Date().getTime() is the timestamp [17:32] jamescarr: jk [17:32] CoverSlide: well there's also Date.now() [17:33] CoverSlide: i think it's ES5 [17:33] AvianFlu: how strange! Date().toString() gives you time zone info [17:33] tbranyen: its in node tho [17:33] topaxi has joined the channel [17:33] dylang has joined the channel [17:33] trotter has joined the channel [17:33] jamescarr: so those of you with large node.js based wbeapps... have you hit any kind of hard limit for setIntervals? [17:33] martinciu has joined the channel [17:33] bartt has joined the channel [17:33] jamescarr: I have a lot of setIntervals that broadcast things that get pushed to clients via socket.io [17:34] jerrysv: if you're going to go native, use date-utils [17:34] jerrysv: and i don't say that just because it's mine [17:34] colinclark has joined the channel [17:35] captain_morgan has joined the channel [17:35] heavysixer has joined the channel [17:35] CoverSlide: I say don't use it [17:35] CoverSlide: just because it's yours [17:35] jerrysv: CoverSlide: gee, thanks? [17:35] CoverSlide: jk [17:36] neilk_ has joined the channel [17:36] heavysixer has joined the channel [17:37] jerrysv: i say use it because it's well tested, very small, and is respectful of native functionality -- but only if you feel comfortable messing with a native object [17:37] jerrysv: otherwise, it looks like xdate is coming along nicely [17:37] overthemike has joined the channel [17:37] coderdad has joined the channel [17:38] overthemike: woops [17:38] overthemike: closed wrong window [17:38] overthemike: did I miss anything? [17:38] CoverSlide: just lots of cheering [17:38] overthemike has left the channel [17:38] overthemike has joined the channel [17:39] overthemike has left the channel [17:39] sylvinus has joined the channel [17:39] sylvinus_ has joined the channel [17:40] CoverSlide: yay! [17:40] deedubs: jerrysv: Does date-util mess with any of the toString() stuff on date or what have you? I found that datejs broke timestamps on Mongoose [17:40] dherman has joined the channel [17:42] dherman: isaacs: I'm using sax v0.2.5 from npm -- is CDATA support not fully there? [17:42] Squee-D has joined the channel [17:42] Frippe has joined the channel [17:44] alvaro_o has joined the channel [17:44] sander_ has joined the channel [17:44] jerrysv: deedubs: no, there is toFormat() [17:45] sander_: What is the biggest project using node.js ? [17:45] jerrysv: hp touchpad [17:45] jerrysv: also, linkedin [17:45] chiyam has joined the channel [17:46] Squee-D: 101 time :) https://gist.github.com/1317126 just trying to use the amqp module and don't really know what my next step is [17:47] dherman: does anyone here use isaacs's sax-js library? [17:47] deedubs: npm i amqp [17:47] isaacs: dherman: i use it for some things :) [17:47] dherman: ohai! [17:47] dherman: :) [17:48] isaacs: mostly i use it for running sax-js test scripts, though, when people report bugs [17:48] isaacs: :) [17:48] `3rdEden has joined the channel [17:48] agnat has joined the channel [17:48] dherman: haha. I was just wondering if CDATA support is incomplete [17:48] dherman: I imagine it's my own bug, but thought I'd ask [17:48] isaacs: shoudl be complete. it just passes through whatever it gets [17:48] dherman: k [17:48] isaacs: whatever's between [17:48] Squee-D: deedubs done that. i think it might be my NODE_PATH [17:48] dherman: and it's in there in npm? [17:48] isaacs: youd get parser.oncdata(" and ") from that snippet [17:48] diogogmt has joined the channel [17:48] isaacs: ya [17:48] deedubs: Squee-D: what version? [17:48] dherman: k [17:48] deedubs: of noe [17:49] dherman: I'm sure it's my own bug. [17:49] dherman: ACTION digs [17:49] Squee-D: deedubs 0.4.12 [17:49] wankdanker has joined the channel [17:49] CoverSlide: is there a folder `node_modules/amqp` ? [17:49] deedubs: and `ls node_modules` shows amqp [17:50] Squee-D: ls /usr/local/lib/node_modules/ shows amqp [17:50] deedubs: no no [17:50] deedubs: in your CWD [17:50] CoverSlide: ACTION sigh [17:50] Squee-D: not at all [17:51] OneOfOne_ has joined the channel [17:51] OneOfOne_ has joined the channel [17:51] CoverSlide: just do npm link amqp [17:51] CoverSlide: also, what version of npm? [17:51] xetorthio has joined the channel [17:52] Squee-D: I think it's simply a matter of basics.. Typically, you create a folder for your project and npm installs modules as local libs ? [17:52] martin_sunset: Squee-D: Add it to your package fie [17:52] CoverSlide: no, npm installs locally to the project [17:52] isaacs: Squee-D: yeah [17:52] CoverSlide: it should [17:52] isaacs: Squee-D: npm faq [17:52] Squee-D: k [17:53] Squee-D: thanks [17:53] isaacs: Squee-D: run `npm init` to create a package.json file [17:53] webstrand: When using EventEmitter.emit is the event placed in a queue and the callbacks executed later, or are the callbacks eecuted immediatly? [17:53] Squee-D: yeah i'll go read up on npm first [17:53] isaacs: Squee-D: and `npm install --save` to write the thing to the dependencies hash [17:53] socialhack has joined the channel [17:53] deedubs: ACTION writes that one down. --save [17:54] sander_: Does anyone uses couchapp here? [17:54] kersny has joined the channel [17:55] captain_morgan1 has joined the channel [17:56] patcito has joined the channel [17:56] daneroo has joined the channel [17:57] socialhack has joined the channel [17:58] heavysixer has joined the channel [17:58] brianc1: anyone know of a node web app you can deploy & point at a redis server and use it as a front end to peek inside all your redis data sets? [17:58] socialhack_ has joined the channel [17:58] brianc1: webstrand: immediately [17:59] socialhack_ has joined the channel [17:59] tjholowaychuk: brianc1 i was going to build something like that a long time ago [17:59] tjholowaychuk: but redis-cli is so easy [17:59] brianc1: tjholowaychuk: true, I just like to click click click on things [18:00] Wa has joined the channel [18:01] MICCHECK1212 has joined the channel [18:01] davidascher has joined the channel [18:01] CIA-48: node: 03Zachary Scott 07master * r7fb8c7c 10/ doc/api/appendix_1.markdown : docs: update socket.io url - http://git.io/rqXrNQ [18:01] CIA-48: node: 03Zachary Scott 07master * r3961b5a 10/ AUTHORS : docs: update email address - http://git.io/9VUnSg [18:01] MICCHECK1212 has joined the channel [18:02] webstrand: Is there a way that I can emit events that are placed into the same queue as events from asynchronous operations? [18:02] PhilK has joined the channel [18:02] flagg0204 has joined the channel [18:02] isaacs: sander_: i do. [18:02] isaacs: sander_: you mean the node one, or the python one? [18:02] isaacs: sander_: teh npm registry is a couchapp: http://github.com/isaacs/npmjs.org [18:03] flagg0204 has joined the channel [18:03] socialhack_ has joined the channel [18:04] OneOfOne has joined the channel [18:04] flagg0204 has joined the channel [18:05] sylvinus has joined the channel [18:06] sander_: isaacs, whould you recommend using couchapp developing an phonegap/html5 app? Or is there any other alternatives I should look into? [18:06] fzzzy has joined the channel [18:06] piscisaureus__ has joined the channel [18:06] Ang3 has joined the channel [18:06] isaacs: sander_: i dunno [18:06] piscisaureus__ has joined the channel [18:06] daneroo has joined the channel [18:06] Waha has joined the channel [18:07] sander_: isaacs, so it [18:07] neilk_ has joined the channel [18:07] sander_: so it's possible to use python and any webbrowser with couchapp ? [18:07] sander_: webserver* [18:07] CoverSlide: ls [18:07] Wa has joined the channel [18:08] jerrysv: CoverSlide: libfuse.0.dylib libfuse.dylib libfuse_ino64.2.dylib libprotobuf.6.dylib pkgconfig [18:08] CoverSlide: ty! [18:08] jerrysv: np [18:08] jerrysv: might want to do a pwd first next time, though [18:09] Mustansir has joined the channel [18:09] martypdx has joined the channel [18:09] isaacs: sander_: the web server is couchdb [18:09] captain_morgan has joined the channel [18:09] isaacs: sander_: but there are two utils called "couchapp" that both push your local fs scripts into the couchdb design doc [18:10] n8ji has joined the channel [18:10] tekky has joined the channel [18:10] tomlion_ has joined the channel [18:11] bengrue has joined the channel [18:12] enmand: bnoordhuis, I can't figure out MakeCallback -- does it have a lot to do with libuv? [18:12] thalll has joined the channel [18:12] voodootikigod has joined the channel [18:13] MICCHECK1212 has joined the channel [18:15] CarterL has joined the channel [18:15] deedubs has joined the channel [18:16] maletor has joined the channel [18:17] colinclark has joined the channel [18:18] sylvinus has joined the channel [18:19] saesh has joined the channel [18:19] daneroo has joined the channel [18:21] zach_ has joined the channel [18:21] gxdssoft_ has joined the channel [18:21] kersny has joined the channel [18:22] lzskiss has joined the channel [18:22] BillyBreen has joined the channel [18:22] MICCHECK1212 has joined the channel [18:22] zach_: say I have a http server listening on port 80. I also have another http server not yet listening. How do I make the requestListener on the first server fire the same request on the other server? [18:23] MICCHECK1212 has joined the channel [18:24] zach_: I know I can make the second server listen on a UNIX socket, but how can I pass on a request (as well as the response object) from the first server on through e.g. a UNIX socket to the other one? [18:24] dherman: isaacs: would you mind taking a look at this simple test and telling me if I'm doing something wrong? it's not picking up any cdata. https://gist.github.com/1317251 [18:24] TheEmpath has joined the channel [18:25] TheEmpath: oops [18:25] TheEmpath: so process.memoryUsage().vsize is dead in node 6? [18:25] TheEmpath: but WRRYYYYYY my unit tests give me good info on estimated memory usage and i'd like to know how much is spilling onto the diiiiiisk [18:25] TheEmpath: moooooooooooooooooom [18:26] Renegade001 has joined the channel [18:27] deedubs: TheEmpath: probably no direct mapping to windows [18:27] TheEmpath: :( [18:28] jslatts has joined the channel [18:28] reid has joined the channel [18:28] TheEmpath: fringe use cases in windows in an attempt to subdue IIS shouldn't doom the rest of us.. that's useful information [18:28] deedubs: TheEmpath: Just a guess though. [18:29] TheEmpath: yeah [18:29] TheEmpath: i had a feeling that was the case [18:29] TheEmpath: myself [18:29] zach_: I can't just child.send({req: res, res: res}) on request, because I can only send JSON objects. Can I somehow send the socket from the child to the parent, and have the parent fire requests on the socket? [18:29] mkrecny has joined the channel [18:29] TheEmpath: also, i've noticed that mongoose schema instances hobilterate my ram [18:29] EhevuTov has joined the channel [18:30] mkrecny: (re node-mongodb-native) anyone finding connection to replica sets takes > 10s? [18:30] TheEmpath: i'll be putting together something reproducable when i get home, but basically, 50 new model instances of a particularly complex schema resulted in like 30MB of RAM, 10MB for V8, and spill over in to the VRAM [18:30] TheEmpath: not to mention over a dozen even listeners per model [18:31] TheEmpath: made me a sad panda [18:31] davidascher has joined the channel [18:32] dgathright has joined the channel [18:32] erichynds_ has joined the channel [18:32] MICCHECK1212 has joined the channel [18:33] whitman has joined the channel [18:33] MICCHECK1212 has joined the channel [18:33] deedubs1 has joined the channel [18:34] MICCHECK1212 has joined the channel [18:34] erichynds has joined the channel [18:34] MICCHECK1212 has joined the channel [18:35] MICCHECK1212 has joined the channel [18:35] lwille has joined the channel [18:35] jerrysv: TheEmpath: have you looked at mongode ? [18:36] TheEmpath: i has not [18:36] lauxley: guys, i don't see the response from the server, althought i see a 'new connection', what do i do wrong ? http://dpaste.com/641495/ [18:36] CIA-48: node: 03Ryan Dahl 07master * rb3ddb89 10/ (node.gyp src/node.cc wscript): Don't compile in node_dtrace.cc when not supported - http://git.io/1AwqyA [18:36] jerrysv: TheEmpath: it's a thin wrapper around node-mongodb-native that makes dealing with mongo directly a lot easier [18:37] nphase has joined the channel [18:37] lauxley: and everything is fine when i go to http://localhost:1337/ from a browser, but i don't see the reponse from the client script [18:38] kersny has joined the channel [18:38] Aikar: jerrysv: hmm, how identical is it to mongoskin? [18:39] CIA-48: node: 03Nathan Rajlich 07master * rb8f3e18 10/ lib/util.js : [18:39] CIA-48: node: Export the type checking functions from `util.js`. [18:39] CIA-48: node: As per discussion at: [18:39] CIA-48: node: http://groups.google.com/group/nodejs-dev/browse_thread/thread/b08970166e4670cf - http://git.io/9q6mVw [18:39] CIA-48: node: 03Nathan Rajlich 07master * ra6a04fb 10/ test/simple/test-util.js : Add test case for the util.js type checking functions. - http://git.io/0iHiZQ [18:39] CIA-48: node: 03Nathan Rajlich 07master * r3524f41 10/ doc/api/util.markdown : Add docs for the type checking functions in `util.js`. - http://git.io/WjsQxg [18:39] Aikar: jerrysv: looks the same, but mongoskin is by a non english native speaker so the documentation is a bit hard to understand sometimes, but looks to least still have more docs than mongode does [18:39] lauxley: i think the client can't connect to the server but i can't see why [18:39] jerrysv: Aikar: i haven't looked at mongoskin, but i do use mongode in production -- seems pretty darned stable [18:39] mkrecny: jerrysv : any xp using mongode w/ replica sets? [18:40] zach_: i have a http server listening on port 80. i also have another http server in a child process not yet listening. How do I make the requestListener on the first server fire the same request in the child server? I can't child.send({req: req, res: res}); because i can only send JSON objects. [18:40] jerrysv: mkrecny: yes, we use replica sets -- just pass in an array and it just handles it [18:40] Aikar: mongoskin is a futures layer ontop of -native, so it emulates the CLI syntax alot. [18:40] Aikar: https://github.com/guileen/node-mongoskin [18:40] jerrysv: mkrecny: https://github.com/milewise/mongode/blob/master/lib/db.js#L18 [18:40] jerrysv: Aikar: thx, looking now [18:41] mkrecny: jerrysv : I find that connection time to replica sets is > >10s on initial startup -- any xp w/ this? [18:41] mkrecny: jerrysv : but once estabbed query times are fast as usual [18:41] lauxley: anyone ? :/ [18:41] jerrysv: mkrecny: i don't see that behavior, but we connect at startup and keep the connection active unless it goes away [18:41] captain_morgan has joined the channel [18:42] mkrecny: jerrysv : right the startup connect is what i'm referring to - not a big deal since it only happens once - but still it's not expectd [18:42] jerrysv: your lag could be the negotiation between the replica sets? maybe? do you see the same thing with mongolab? [18:42] mkrecny: mongolab? [18:42] Dreamer3 has joined the channel [18:42] luizlopes has joined the channel [18:43] jerrysv: sorry, mongohub :) [18:43] jerrysv: too much mongo in the last couple of days: http://mongohub.todayclose.com/ [18:43] ambroff has joined the channel [18:44] mkrecny: hadn't seen this b4 looks nice - thx [18:44] mkrecny: gotta dive into some code right now thanks for the exchange jerrysv [18:44] jerrysv: i've experienced a couple of bugs with it, but it's pretty awesome [18:44] jerrysv: me too -- have fun! [18:44] mkrecny has left the channel [18:44] martin_sunset: jerrysv: Thx [18:44] Vennril has joined the channel [18:46] OneOfOne has joined the channel [18:47] OneOfOne_ has joined the channel [18:47] liar has joined the channel [18:47] zach_: i have a http server listening on port 80. i also have another http server in a child process not yet listening. How do I make the requestListener on the first server fire the same request in the child server? I can't child.send({req: req, res: res}); because i can only send JSON objects. [18:48] cjm has joined the channel [18:48] dartforce has joined the channel [18:48] shykes_ has joined the channel [18:49] dartforce has left the channel [18:49] colinclark has joined the channel [18:53] kersny has joined the channel [18:53] captain_morgan has joined the channel [18:53] xy has joined the channel [18:54] RORgasm has joined the channel [18:55] lauxley: guys, i don't see the response from the server, althought i see a 'new connection', what do i do wrong ? http://dpaste.com/641495/ [18:55] lauxley: i think the client can't connect to the server but i can't see why [18:55] daaku has left the channel [18:55] CoverSlide: zach_: basically, you're asking how to proxy a request. this basically involves creating a request from the host, sending it to the child, and taking the response, and sending that back to the client [18:55] Aikar: hmm how do you get 'pip' python package installer with apt-get? [18:56] lauxley: but i see the attempt on both ends, the server output a 'new connection' and i can see the request in firebug, but it has no response [18:56] stagas has joined the channel [18:56] lauxley: Aikar: with easy-install if i remember correctly [18:57] lauxley: easy_install* [18:57] CoverSlide: lauxley: where are you running the client? [18:57] maushu has joined the channel [18:57] lauxley: in my browser [18:57] Aikar: lauxley: i found this in the changelog wget -O- https://raw.github.com/pypa/pip/master/contrib/get-pip.py | python [18:58] Aikar: well, i modified their ver to be that :P [18:58] CoverSlide: i mean, where is the client code being served from? [18:58] zach_: coverslide: if i send the socket filedescriptor to the child process, can i somehow use that to create a stream that i can server.emit('connection', stream) to my child server? [18:58] captain_morgan1 has joined the channel [18:58] CoverSlide: also, where is the socket.io stuff in the server? [18:58] lauxley: CoverSlide: but it may not be the right answer, what do you mean ? [18:59] CoverSlide: your server isn't running socket.io at all [18:59] kersny has joined the channel [18:59] lauxley: CoverSlide: isn't it integrated with node.js [18:59] lauxley: ? [18:59] CoverSlide: ... no where did you assume that? [19:00] CoverSlide: node has an integrated http server, socket.io is a framework built on node.js [19:00] lauxley: CoverSlide: hmm [19:00] bosphorus has joined the channel [19:01] lauxley: so i need a socket.io server, not a node.js server ? [19:01] lauxley: im confused [19:01] CoverSlide: socket.io is a node.js module [19:01] lzskiss: first node.js secon socket.io [19:01] lauxley: i see [19:01] lzskiss: npm list iz your friend [19:01] Aikar: damnit "need ruby gems 1.3.6" i have 1.3.5 but gem update gem doesnt report updates >:( I wanna try this GitLab [19:01] perezd has joined the channel [19:01] CoverSlide: Aikar: gem update --system [19:01] deedubs: gem update —system [19:01] jerrysv: lauxley: node can upgrade an http connection to a websocket, but socket.io handles it all for you and provides a great interface on both client and server [19:02] daneroo has joined the channel [19:02] jerrysv: lauxley: http://socket.io/ for more info [19:02] lauxley: ok thx guys ill check it out ;) [19:02] Aikar: gem update --system is disabled on Debian. RubyGems can be updated using the official Debian repositories by aptitude or apt-get. [19:02] Aikar: >;/ how can i bypass that [19:02] lauxley: and probably come back a little later for more noobs questions [19:02] Aikar: I'm on ubuntu 10.04 LTS [19:03] captain_morgan has joined the channel [19:03] CoverSlide: http://rubygems.org/pages/download#formats [19:04] jslatts_ has joined the channel [19:06] OneOfOne has joined the channel [19:06] OneOfOne has joined the channel [19:06] jbpros has joined the channel [19:06] Aikar: k i dl'd the .gem, gem installed it, then it downgraded my gem binary lol, but then update_rubygem brought me to 1.8 [19:07] kersny has joined the channel [19:07] Aikar: ruby stays too long on this 1.8/1.9 path BS [19:07] Aikar: needs to be like node :/ [19:07] aguynamedben_ has joined the channel [19:07] vi390 has joined the channel [19:08] vi390 has left the channel [19:09] martin_sunset_ has joined the channel [19:09] dherman has joined the channel [19:10] ryanfitz has joined the channel [19:10] shipit has joined the channel [19:10] pHcF has joined the channel [19:11] isaacs has joined the channel [19:12] fatjonny has joined the channel [19:12] aguynamedben has joined the channel [19:12] slifty_corsair has joined the channel [19:13] EhevuTov has joined the channel [19:13] jetienne has joined the channel [19:14] enos_feedler has joined the channel [19:14] kersny has joined the channel [19:15] jetienne has left the channel [19:15] akiva has joined the channel [19:15] lauxley: Ok, i installed socket.io and now i have this error when trying to launch the server, it happend on "var io = require('socket.io').listen(http);" [19:15] lauxley: node.js:202 [19:15] lauxley: throw e; // process.nextTick error, or 'error' event on first tick [19:16] Aikar: wishing i woulda went non LTS on my server. I switched to ubuntu to get more up to date stuff than centos crap, but even LTS lags behind too much! :( [19:17] jaequery has joined the channel [19:17] mcluskydodallas has joined the channel [19:18] OneOfOne_ has joined the channel [19:18] OneOfOne_ has joined the channel [19:20] vi390 has joined the channel [19:20] bosphorus has joined the channel [19:21] enmand: Aikar, it's LTS for a reason. [19:21] jjido has joined the channel [19:22] LifterAH_ has joined the channel [19:22] korch: question/help: i have a script parsing a log file, it exits upon reaching the end of the log file, but i need it to keep running & parsing, whenever new lines are written to the log my script needs to wake up and run some things [19:22] diogogmt has joined the channel [19:22] Hounth has joined the channel [19:22] korch: i'm not sure how to keep fs.createReadStream polling from the file [19:24] korch: maybe not use fs.createReadStream but instead use fs.open instead? [19:24] fra000 has joined the channel [19:24] jjido has joined the channel [19:25] lauxley: in fact the more understandable error is : TypeError: Object # has no method 'listeners' [19:25] MatthewS has joined the channel [19:26] kersny has joined the channel [19:27] vi390: hi, having problems installing npm (debian system) : installed nodejs with configure make in /opt/node for some reason there is no module directory in there. the npm install.sh exits with (line 271: 4079 Segmentation fault "$node" cli.js rm npm -gf) any idea how to solve this? [19:27] sylvinus has joined the channel [19:28] Qbix2: hey guys [19:28] Qbix2: what will node use instead of fugue now [19:28] Qbix2: because fugue seems to be outdated [19:28] Qbix2: I think it had like --relaunch or some option like that? [19:28] erichynds has joined the channel [19:28] CIA-48: node: 03Ryan Dahl 07master * r194511f 10/ src/cares_wrap.cc : Return IPv4 addresses before IPv6 addresses from getaddrinfo - http://git.io/-Lgrcw [19:28] Qbix2: I mean the whole load balancing thing that Yahoo started and express uses or whatever [19:28] animorten has joined the channel [19:29] TheNumb has joined the channel [19:29] tjholowaychuk: Qbix2 i dont think yahoo had anything to do with fugue [19:29] daneroo has joined the channel [19:29] Aikar: hmm. anyone ever installed ruby.1.9.2 with these style instructions? https://github.com/gitlabhq/gitlabhq/wiki/Install [19:29] Aikar: it built me a .deb and i installed it, but ruby -v is still 1.8.7 [19:29] tjholowaychuk: Qbix2 there are other options, but node 0.6.x will have it's own support for similar [19:30] CoverSlide: Aikar: stat /etc/alternatives/ruby /usr/bin/ruby [19:31] OneOfOne has joined the channel [19:32] jarek has joined the channel [19:33] CoverSlide: This town is like a great big pussy just waitin' to get fucked. [19:33] korch: which town would that be? [19:34] n8ji has joined the channel [19:34] CoverSlide: every town i visit, baby [19:34] miccolis has joined the channel [19:35] korch: CoverSlide: how does that town make you feel? [19:35] Aikar: CoverSlide: i have no ruby in alternatives [19:35] CoverSlide: hmm [19:35] CoverSlide: `update-alternatives ruby` does nothing? [19:36] Aikar: unknown arg ruby [19:36] martin_sunset has joined the channel [19:37] NetRoY has joined the channel [19:37] CoverSlide: odd .. [19:37] Aikar: some reason i ended up with a 1.9.1 folder during that install [19:37] CoverSlide: maybe it installed under usr/local/ [19:37] CoverSlide: ? [19:37] Aikar: but that filename clearly says 1.9.2 [19:37] Aikar: in usr/local/lib/ruby [19:38] neilk_ has joined the channel [19:39] patcito has joined the channel [19:39] CIA-48: node: 03Nathan Rajlich 07master * r2dbb470 10/ lib/util.js : (log message trimmed) [19:39] CIA-48: node: Don't use `instanceof` in lib/util.js "is" checks. [19:39] CIA-48: node: While using `instanceof`, these functions could easily be faked with something [19:39] CIA-48: node: like: Object.create(Date.prototype) [19:39] CIA-48: node: So let's just not use it at all. A little slower, but these functions are only [19:39] CIA-48: node: used in the REPL / for debugging so it's OK. [19:39] CIA-48: node: Fixes #1941. [19:39] CIA-48: node: 03Nathan Rajlich 07master * rd4379fc 10/ (3 files): [19:39] CIA-48: node: Add test case for #1941. [19:39] CIA-48: node: Add test for the false-positives from #1942. [19:39] CIA-48: node: Fix test-sys.js. - http://git.io/Ub9UDQ [19:39] Mustansir has joined the channel [19:39] jslatts has joined the channel [19:40] xetorthio has joined the channel [19:40] zamolxes has joined the channel [19:40] juan__ has joined the channel [19:40] saikat has joined the channel [19:40] Aikar: guess ill try rvm [19:41] Aikar: why do all these git web uis all gotta be written in ruby and require 9001 things to set them up :( [19:41] martin_sunset: Aikar 1.9.1 folder is ok for 1.9.2. Ram is a great choice [19:41] martin_sunset: Rvm... [19:41] saikat has joined the channel [19:42] Aikar: ok so it probally is installed then? [19:42] Aikar: where would it of dropped the binary? [19:42] martin_sunset: Looks like. Only got 50% of your chat log though ;) [19:42] martin_sunset: No idea though, most like [19:42] Aikar: https://github.com/gitlabhq/gitlabhq/wiki/Install [19:43] Aikar: I used the instructions on there [19:43] martin_sunset: Ly in a cryptic subdirectories [19:43] Aikar: then dpkg -i [19:43] shanebo has joined the channel [19:44] neilk_ has joined the channel [19:44] chilts: Aikar: there are a couple of modules to bind to the libgit2 library ... could make a UI in Node? :) [19:44] chilts: https://github.com/tbranyen/nodegit and https://github.com/libgit2/node-gitteh [19:45] Aikar: chilts: I dont have the time nore experience in UI work to do so :P [19:46] captain_morgan has left the channel [19:46] chilts: :) [19:46] chilts: but yes, I agree with you, they all require lots of work (except maybe gitweb, which is pretty basic, but functional) [19:47] Aikar: yeah too basic tho lol [19:47] chilts: I generally don't use any UIs when coding, I just use that for basic showing on the web [19:47] Aikar: same, but id like a nice UI to my private projects [19:48] JaKWaC has joined the channel [19:48] Aikar: gonna let rvm run i guess [19:48] Aikar: prolly safer anyways [19:48] ambroff has left the channel [19:49] JaKWaC has joined the channel [19:49] Aikar: i think the only ruby project i personally use is git commit notifier, so id hope any system package can handle versions/rvm properly [19:49] Aikar: git-commit-notifier is nice, sends out diff emails on push [19:51] gut4 has joined the channel [19:53] OneOfOne has joined the channel [19:53] eldios has joined the channel [19:54] tilgovi has joined the channel [19:54] tilgovi has joined the channel [19:55] BillyBreen has joined the channel [19:57] smathy has joined the channel [19:57] jslatts has joined the channel [19:57] daneroo has joined the channel [19:57] amiller has joined the channel [19:57] thejefflarson has joined the channel [19:58] heavysixer has joined the channel [20:01] Aikar: hmm [20:02] Aikar: i have a /usr/bin/ruby and /usr/local/bin/ruby ... with usr/bin/ruby being the system one at 1.8.7 which is overriding the /usr/local at 1.9.2 >< [20:02] SlexAxton has joined the channel [20:03] zeade has joined the channel [20:03] c4milo: tjholowaychuk: hey, how is it gong? [20:03] c4milo: going* [20:03] franciscallo has joined the channel [20:04] CIA-48: node: 03Nathan Rajlich 07master * rebefe77 10/ lib/util.js : (log message trimmed) [20:04] CIA-48: node: More bulletproof `util.inspect()` function. [20:04] CIA-48: node: Use the *real* versions of the Date and RegExp functions, from the [20:04] CIA-48: node: prototype. This defends against code like: [20:04] CIA-48: node: var d = new Date() [20:04] CIA-48: node: d.toUTCString = null [20:04] CIA-48: node: util.inspect(d) [20:04] CIA-48: node: 03Nathan Rajlich 07master * r4fb2ac5 10/ test/simple/test-util-inspect.js : Add test cases for #1944. - http://git.io/9Q5Kzw [20:08] Aikar: hmm [20:08] Aikar: thinking about this rvm and ruby version management crap [20:09] ambroff has joined the channel [20:10] hij1nx has joined the channel [20:11] slajax has joined the channel [20:11] stagas has joined the channel [20:12] Aikar: what do you guys think about some kind of "nvm" support in node itself so if you node myapp/ where myapp has a package.json, it runs under the appropriate node engine, ie 0.4 or 0.5. where the node binary auto loads the correct node runtime version based on package.json. so when node becomes big, and some app depends on .7 but you use .6 for most stuff, things can still 'just work' [20:12] illumina has joined the channel [20:12] illumina: What do you guys think about Mongoose? [20:12] tylerstalder has joined the channel [20:12] cleanah has joined the channel [20:13] SlexAxton: Marak: hey marak, or any of the nodejitsu peeps, if I use Haibu for deploys, does it keep up one or more of the drones while the others are replaced (in order to maintain constant uptime)? [20:13] Marak: SlexAxton: it doesnt do that right now, but i think there is an open ticket [20:14] DarkGrey has joined the channel [20:14] SlexAxton: if i wanted to do that, do you know of a tool that does? [20:14] SlexAxton: other than like, nginx roundrobin, and just wait til one goes back up to replace the next [20:14] zach_ has joined the channel [20:14] Marak: SlexAxton: https://github.com/nodejitsu/haibu/issues/20 [20:15] SlexAxton: thnx [20:15] Marak: SlexAxton: its not exactly hard to do [20:15] Marak: SlexAxton: i think at nodejitsu, we've started to implement this on top of haibu [20:16] fly-away has joined the channel [20:16] SlexAxton: yea, just making sure that i wasn't missing a tool [20:16] SlexAxton: thnx [20:17] Marak: SlexAxton: if you add it, we'll take a patch for haibu [20:17] runvnc has joined the channel [20:17] SlexAxton: deal [20:17] SlexAxton: thanx [20:17] Marak: SlexAxton: also, you might want to see: https://github.com/stolsma/apiary [20:17] Marak: SlexAxton: that is an open-source multi-haibu manager [20:18] _rgl has joined the channel [20:18] Marak: its not supported by us, but it looks pretty good [20:18] Marak: we've gotten a few good patches back from the author too [20:18] zach_: how do i send a socket to a child process? or at least send enough to rebuild it in a child process? [20:19] zach_: this works in a single process: http://jsfiddle.net/yUyqj/ [20:19] zach_: but how can i move the http-server to a child-process? [20:19] Margle has joined the channel [20:20] jlaire has joined the channel [20:20] baudehlo: zach_: you can do it in 0.4, but the functionality is going away in 0.5. [20:20] skm has joined the channel [20:21] zach_: baudehlo: i'm already running 0.5. how would i have done it in 0.4? [20:22] baudehlo: http://nodejs.org/docs/v0.4.12/api/streams.html#event_fd_ [20:23] blueadept has joined the channel [20:23] baudehlo: and stream.write() to send the fd. [20:23] dherman: isaacs: I haven't been able to get cdata events to fire: https://github.com/isaacs/sax-js/issues/45 [20:23] trotter has joined the channel [20:24] zach_: baudehlo: hm. but wouldn't i only be able to use stream.write and stream.on('fd) within a single process? how could i have used that to transport the fd between two processes? [20:25] piscisaureus_ has joined the channel [20:26] Ang3 has left the channel [20:26] baudehlo: you can send if over the stdio [20:27] ph^ has joined the channel [20:27] baudehlo: var child = child_process.spawn('node', ['script.js']); child.stdin.write(...) [20:27] stisti has joined the channel [20:27] zach_: aah, of course. sorry i've been using http://nodejs.org/docs/v0.5.10/api/child_processes.html#child_process.fork and the send method. [20:27] baudehlo: and in the child, set process.stdin.on('fd') [20:28] jn_ has left the channel [20:28] baudehlo: (nb: don't use "node" for the child process though) [20:29] zach_: the send method accepts a 'sendHandle' parameter. i'm not exactly sure what is meant by handle, is it possible to send a fd using that? [20:29] zach_: as i am indeed using 0.5 [20:30] baudehlo: I think handle in this case is a wrapper for an fd. [20:30] stisti_ has joined the channel [20:30] baudehlo: but i'm not sure. The docs use a private entry on http.server. [20:31] baudehlo: which ... seems dumb. [20:31] zach_: would it be possible to pull a fd out of a socket, send it to the child then rebuild it using new net.Socket({fd: sendHandle}) ? i don't know how to get a sockets fd... [20:32] zach_: yes it that seemed dumd to me as well :S [20:32] zach_: *dumb [20:33] jsurfer has joined the channel [20:36] deedubs1 has joined the channel [20:36] sander_ has joined the channel [20:36] nickadeemus20021 has joined the channel [20:37] trose: hey I'm using node's fs library to open a file. I'm using the synchronous function data = fs.readFile(file_path); and my file_path is definitely correct. However I'm getting data = undefined. Any ideas what could cause this? [20:37] xerox: readFile is not sync [20:37] brianloveswords has joined the channel [20:37] xerox: readFileSync is [20:38] xerox: readFile expects a callback, and gives the data to it [20:38] dmwuw has joined the channel [20:38] nickadeemus20021 has left the channel [20:38] trose: xerox, shit you're right [20:38] trose: son of a bitch :P [20:38] xerox: shit! [20:38] xerox: xD [20:38] trose: thanks xerox [20:39] trose: it's been a long day [20:39] isaacs: dherman: in non-strict mode script tags cause "onscript" events, not cdata events [20:39] xerox: sure trose [20:39] slifty_corsair has joined the channel [20:39] albertos_ has joined the channel [20:39] zach_: baudehlo: would i be able to create a similar system where the child listens on a unix socket path instead? [20:40] zach_: or is it simply impossible to do something like this in 0.5? :S [20:40] brion has joined the channel [20:40] brion has joined the channel [20:40] davida has joined the channel [20:40] dherman: isaacs: oh, wow! [20:40] dherman: