[00:00] coderdad has joined the channel [00:01] Nuck: 550 more to go [00:01] Nuck: I remember when we were at 1000 behind >_> [00:01] shanebo: Nuck, do you know how to chain functions where the following function gets passed to it the next function as an arg that can be called on when completed? [00:01] Nuck: shanebo: Fraid not [00:01] shanebo: AvianFlu, do you know how to chain functions where the following function gets passed to it the next function as an arg that can be called on when completed? [00:01] shanebo: :) [00:01] Nuck: shanebo: Sounds like you're looking for a way to chain easier than callbacks? [00:01] mmalecki: bnoordhuis: https://github.com/joyent/node/pull/1934 [00:01] mmalecki: actually, that assertion over there makes little sense [00:02] eddyb: bnoordhuis: thanks [00:02] AvianFlu: shanebo, do you mean chaining like a.b.c.d.e or just having functions fire in a chain [00:02] eddyb: also, even if target == host == OH FUCK [00:02] eddyb: I get it [00:02] eddyb: no, I don't [00:02] mmalecki: bnoordhuis: please, verify it so that I can go to sleep ;) [00:02] eddyb: for half a second I thought v8 was building once for ia32 and once for x64, but they aren't [00:02] eddyb: *it isn't [00:03] bnoordhuis: eddyb: i think it's a gyp bug but don't quote me on that [00:03] eddyb: bnoordhuis: story made short: it think it's cross-compiling [00:03] shanebo: AvianFlu, Nuck http://jsfiddle.net/7k43n/1/ [00:03] eddyb: *it thinks [00:03] lsdafjklsd has joined the channel [00:03] eddyb: ok, me thinks it's too late to think [00:03] nerdy_ has joined the channel [00:03] eddyb: I can, however, code just fine [00:04] shanebo: AvianFlu, Nuck, make sense what I'm trying to do? [00:04] AvianFlu: yeah, one second [00:04] bnoordhuis: mmalecki: your test seems to hang with 0.4 and 0.5 [00:05] mmalecki: da fuck? [00:05] charlenopires has joined the channel [00:05] AvianFlu: do you want to do it without a lib? [00:05] lyte has joined the channel [00:05] lyte has joined the channel [00:05] AvianFlu: cause async has what you're looking ofr [00:05] AvianFlu: for [00:05] Kami__ has joined the channel [00:05] AvianFlu: as do a few others [00:05] mmalecki: bnoordhuis: I hate to say it, but works here... [00:05] shanebo: AvianFlu, yeah I'd like to roll my own [00:05] eddyb: NOOO [00:05] shanebo: to handle middleware [00:06] AvianFlu: okay, the trick is to put the functions in an array [00:06] mmalecki: bnoordhuis: maybe you're using nvm or nave or whatever? [00:06] eddyb: forgot to add -std=c++0x, now I get to see v8 built again [00:06] eddyb: TWICE [00:06] AvianFlu: and have next() be your iterator that calls the next one [00:06] mmalecki: bnoordhuis: try to run test fixture itself [00:07] AvianFlu: you should look at the code to async.forEach, it's a good reference [00:07] shanebo: AvianFlu, github link? [00:07] AvianFlu: one sec [00:07] shanebo: https://github.com/caolan/async [00:07] shanebo: that it? [00:07] kohai has joined the channel [00:07] AvianFlu: yeah [00:07] mmalecki: what happened to kohai? [00:08] bnoordhuis: mmalecki: right, fixture fails on master [00:08] Twelve-60 has joined the channel [00:08] shanebo: AvianFlu thanks I'll check that out later [00:09] [[zzz]] has joined the channel [00:09] mmalecki: bnoordhuis: then the test should as well [00:12] eddyb: bnoordhuis: bad news, I get that v8 error even if I compile with no snapshot [00:12] eddyb: like, I get when I run the built executable [00:13] eddyb: do you have any record of that issue? [00:14] kriszyp has joined the channel [00:16] eddyb: how old is node v8 compared to bleeding_edge? [00:16] tuhoojabotti: I'm bleeding edge. [00:16] AvianFlu: node is on 3.7, I know that much [00:16] mmalecki: bnoordhuis: figured it out? [00:16] AvianFlu: I don't pay that much attention to v8 versions [00:16] rgl has joined the channel [00:16] replore has joined the channel [00:16] replore_ has joined the channel [00:17] bnoordhuis: mmalecki: no - but go to bed :) [00:17] eddyb: crap, got to go [00:17] eddyb: 3AM here [00:17] eddyb: parents caught me [00:17] eddyb: and it's my birthday, too :-< [00:17] mmalecki: eddyb: happy birthday :) [00:17] eddyb: night [00:17] eddyb: mmalecki: thanks [00:18] mmalecki: bnoordhuis: but it has to work. node --version ? [00:18] bnoordhuis: mmalecki: master [00:18] bnoordhuis: and the latest 0.4 branch (what else?) [00:19] mmalecki: bnoordhuis: yeah, but notice that it runs just `node`. so you may be running ./node, but it still runs /usr/bin/node or whatever [00:19] mmalecki: so it doesn't really matter which node you use to run it [00:19] mmalecki: what matters is `which nodez [00:19] bnoordhuis: oh right, don't do that :) [00:19] mmalecki: *`which node` [00:20] mmalecki: bnoordhuis: what should it run instead? [00:20] bnoordhuis: mmalecki: process.argv[0] [00:20] mmalecki: ah! [00:20] mmalecki: (my previous pull with node got accepted, so.) [00:21] bnoordhuis: mmalecki: oh? which one is that? [00:21] Kunda has left the channel [00:21] bnoordhuis: nvm, found it [00:22] bnoordhuis: heh, that explains why that test was failing for me last friday [00:23] vidi has joined the channel [00:23] mmalecki: bnoordhuis: sorry about that [00:23] mmalecki: bnoordhuis: pushed, try it now [00:24] mike5w3c_ has joined the channel [00:25] CIA-48: node: 03Ben Noordhuis 07master * rdddfd0f 10/ test/simple/test-regress-GH-1899.js : [00:25] CIA-48: node: test: spawn process.argv[0], not 'node' [00:25] CIA-48: node: 'node' may or may not be on the path and may or may not be the version we are [00:25] CIA-48: node: running the test suite for. - http://git.io/rgpwaA [00:25] slifty has joined the channel [00:25] dthompso99 has joined the channel [00:25] bnoordhuis: mmalecki: right, works now [00:25] dthompso99 has left the channel [00:26] bnoordhuis: or rather, works with 0.4, hangs with 0.5 [00:26] cjroebuck has joined the channel [00:26] mmalecki: bnoordhuis: cool, thanks :) [00:26] bnoordhuis: mmalecki: now go to bed :) [00:26] mmalecki: cool/not-cool [00:26] mmalecki: bnoordhuis: good idea, good night :) [00:26] bnoordhuis: sleep tight [00:27] Nuck: Don't let the dead hooker I left under your bed bite [00:27] Nuck: (because then it's a zombie, and you'll be zombified too) [00:28] sdwrage has joined the channel [00:28] nerdy_ has joined the channel [00:29] fzzzy has joined the channel [00:30] npa has joined the channel [00:31] fzzzy has joined the channel [00:34] saikat has joined the channel [00:34] ej__ has joined the channel [00:36] AvianFlu_ has joined the channel [00:36] Rafael has joined the channel [00:36] charlenopires_ has joined the channel [00:38] ej_ has joined the channel [00:39] nickadeemus2002 has joined the channel [00:39] saikat has joined the channel [00:40] amigojapan has joined the channel [00:43] AvianFlu_ has joined the channel [00:46] dgathright has joined the channel [00:47] eignerchris has joined the channel [00:48] shanez has joined the channel [00:49] shanez has joined the channel [00:51] vidi has joined the channel [00:52] gavin_huang has joined the channel [00:55] McMAGIC--Copy has joined the channel [00:56] vidi has joined the channel [00:58] shipit has joined the channel [00:58] JaKWaC_ has joined the channel [01:00] descipher has joined the channel [01:00] jsurfer has joined the channel [01:02] mikeycgto has joined the channel [01:02] mikeycgto has joined the channel [01:02] Wa has joined the channel [01:04] aguynamedben has joined the channel [01:08] base698 has left the channel [01:09] JaKWaC has joined the channel [01:09] ej__ has joined the channel [01:10] bshumate has joined the channel [01:10] bshumate has joined the channel [01:10] ceej has joined the channel [01:11] ribeiroevandro has joined the channel [01:11] ribeiroevandro has left the channel [01:11] kitt has joined the channel [01:11] kitt has joined the channel [01:12] neoesque has joined the channel [01:13] mikeycotg has joined the channel [01:14] jldbasa has joined the channel [01:16] mikeycgto has joined the channel [01:16] mikeycgto has joined the channel [01:18] mikeycotg has joined the channel [01:20] AvianFlu_ has joined the channel [01:21] githogori has joined the channel [01:22] AvianFlu_ has joined the channel [01:22] jarek- has joined the channel [01:25] zemanel has joined the channel [01:25] boltR has joined the channel [01:26] beginner has joined the channel [01:26] beginner: does anybody use mongodb ? [01:27] abraxas has joined the channel [01:27] nickadeemus2002 has left the channel [01:28] AvianFlu has joined the channel [01:28] k1ttty has joined the channel [01:28] AAA_awright: beginner: Lots of people [01:29] qbit_: heh [01:29] jeromegn has joined the channel [01:29] apodduturi has joined the channel [01:29] beginner: AAA awright: ok, thanks. got a problem to setup utf-8 [01:30] beginner: how can i update mongodb with utf-8? [01:31] tazrover has joined the channel [01:31] nerdy_ has joined the channel [01:31] beginner: is there something like apt-get update to update to the latest spidermonkey ? [01:33] digman543 has joined the channel [01:33] vidi has joined the channel [01:33] Al_ has joined the channel [01:33] [[zz]] has joined the channel [01:33] cgfuh has joined the channel [01:34] n8ji has joined the channel [01:35] tuhoojabotti: Nice nick, good night. [01:35] tuhoojabotti: well, mornign. [01:35] tuhoojabotti: asd, off to bed -> [01:36] jonrohan has joined the channel [01:36] broofa has joined the channel [01:38] _th_n_ has joined the channel [01:41] jesster7 has joined the channel [01:41] jesster7 has left the channel [01:42] mikeric has joined the channel [01:42] neurodrone has joined the channel [01:43] ditesh|cassini has joined the channel [01:43] mAritz has joined the channel [01:43] fread2281 has joined the channel [01:44] AvianFlu has joined the channel [01:45] deedubs has joined the channel [01:46] gxdssoft has joined the channel [01:46] Tobsn has joined the channel [01:47] deedubs has left the channel [01:47] JaKWaC has joined the channel [01:49] miccolis has joined the channel [01:50] zeade has joined the channel [01:50] ej_ has joined the channel [01:52] Emmanuel` has joined the channel [01:53] charlenopires has joined the channel [01:54] AAA_awright: ... Is network order big endian or little? [01:54] AAA_awright: And why doesn't Node.js default to that [01:56] JaKWaC has joined the channel [01:56] harthur has joined the channel [01:56] c4milo: AAA_awright: nice question [01:56] AAA_awright: It's big endian [01:56] AAA_awright: But still, I think I liked the old Buffer API better when you had to manually specify LE [01:58] Al_ has left the channel [01:59] renaudsauvain has joined the channel [02:00] MacDiva has joined the channel [02:01] icewhite has joined the channel [02:01] jonrohan has joined the channel [02:06] a_suenami has joined the channel [02:08] mape: so who is making a badassjs for nodejs? [02:08] jerrysv has joined the channel [02:08] tokuzfunpi has joined the channel [02:08] guidocalvano has joined the channel [02:09] maletor has joined the channel [02:10] jesster71 has joined the channel [02:10] jesster71 has left the channel [02:11] cjm has joined the channel [02:11] jo_ has joined the channel [02:16] CarterA has joined the channel [02:16] isaacs: https://gist.github.com/1311111 [02:16] mandric has joined the channel [02:16] isaacs: npm will be free of system tar very soon now. [02:16] rgl has joined the channel [02:16] isaacs: the hardest bit is over. [02:17] xerox: neat [02:17] CarterA: I have a crazy idea for libuv [02:17] jerrysv: isaacs: haven't been following npm on windows status lately -- does it work on windows currently? [02:17] isaacs: jerrysv: mostly, yeah [02:17] isaacs: jerrysv: the folder structure is going to change very very soon [02:17] isaacs: to be more windowsy [02:17] jerrysv: isaacs: awesome. my task for tonite is to verify that my libs all work, so ... [02:18] isaacs: probably going to release that tomorrow. haven't been able to find any problems with it [02:18] jerrysv: going to install a windows vm. makes me feel dirty [02:18] isaacs: you get used to it [02:18] isaacs: wash your hands compulsively, shave every square inch of skin, it helps. [02:18] jerrysv: i had actually gotten un-used to it [02:19] jerrysv: which was nice [02:19] isaacs: same here [02:19] hihihi has joined the channel [02:19] jerrysv: we're a mac and linux household [02:19] CarterA: Do any of you use OS X? Because OS X has a built-in system for asynchronous work like libel and libeio called dispatch, and I'm thinking that libuv could use dispatch as a back end on OS X. [02:19] CarterA: *libev [02:19] teadict: what's libuv? sounds core-ish [02:19] CarterA: It's the platform layer for node. [02:19] isaacs: CarterA: libuv uses ev/eio on os x [02:20] isaacs: CarterA: afaik, there are no plans to change that. [02:20] CarterA: Right. But dispatch would *probably* be faster. [02:20] isaacs: it works well. [02:20] isaacs: CarterA: you're not allowed to utter such words without math. [02:20] CarterA: Considering dispatch has kernel-level optimizations. [02:20] teadict: probabilities don't win the battle against working stuff [02:20] jerrysv: i wonder how many production node instances are running on os x [02:20] CarterA: 0 to none. [02:20] teadict: "this driver will probably make my X work better" then it breaks [02:20] jerrysv: compared to dev work on os x, which is huge [02:20] isaacs: CarterA: even if it is faster, it has to be faster enough to justify the added complexity [02:21] CarterA: …probably not. Again with the "probably". [02:21] jerrysv: and dev work on os x doesn't need to be 100% optimized [02:21] mikeric has joined the channel [02:22] isaacs: i think kqueue is pretty good on os x isn't it? [02:22] deedubs has joined the channel [02:22] CarterA: kqueue works, yes. [02:22] CarterA: Apple wants you to use File System Events, but they're slow and generally shitty. [02:23] fzzzy_ has joined the channel [02:23] cgfuh has joined the channel [02:24] CarterA: 10.7 has a new API for async file system ops [02:24] CarterA: Part of dispatch [02:25] CarterA: See here: http://developer.apple.com/library/mac/documentation/Performance/Reference/GCD_libdispatch_Ref/Reference/reference.html#//apple_ref/doc/uid/TP40008079-CH2-SW72 [02:26] gregeh has joined the channel [02:26] JaKWaC has joined the channel [02:28] jarek has joined the channel [02:30] dominictarr has joined the channel [02:34] willwhite has joined the channel [02:34] mikeric has joined the channel [02:35] dinarcon has joined the channel [02:42] dgathright has joined the channel [02:42] Transformer has joined the channel [02:42] beawesomeinstead has joined the channel [02:42] davemo has joined the channel [02:43] mikeric_ has joined the channel [02:44] m00p has joined the channel [02:45] Transformer has left the channel [02:46] joeyang has joined the channel [02:47] EhevuTov has joined the channel [02:52] avdg1 has joined the channel [02:52] stagas has joined the channel [02:53] kawaz_home has joined the channel [02:55] perezd has joined the channel [02:58] spathi^ has joined the channel [03:00] jhurliman has joined the channel [03:02] darshanshankar has joined the channel [03:02] JaKWaC has joined the channel [03:03] ej__ has joined the channel [03:04] kriszyp has joined the channel [03:05] Zamarok has joined the channel [03:05] dominictarr has joined the channel [03:05] whalesofthesky has joined the channel [03:05] neerolyte has joined the channel [03:06] Zamarok: Has anyone ever tried to use redcarpet (GitHub's markdown) with Node? [03:07] enos_feedler has joined the channel [03:08] joshkehn has joined the channel [03:08] joshkehn has left the channel [03:11] tylerstalder has joined the channel [03:13] isaacs has joined the channel [03:14] jslatts has joined the channel [03:15] isaacs has joined the channel [03:19] kenperkins has joined the channel [03:20] cjheath has joined the channel [03:24] Me1000 has joined the channel [03:24] colinclark has joined the channel [03:26] jonrohan has joined the channel [03:26] towski has joined the channel [03:26] avdg has joined the channel [03:27] jebberjeb: npm install express, then express command line util, then node app.js = TypeError: Cannot call method 'getsockname' of null [03:27] jesusabdullah: Zamarok: I've tried to use gfm with node. Isaacs has a package for it. It works, though if you use it a lot you may uncover some interesting snafus [03:28] darshanshankar has joined the channel [03:28] dexter_e has joined the channel [03:29] neoesque has joined the channel [03:30] boehm has joined the channel [03:30] Phaaze has joined the channel [03:31] zikes has joined the channel [03:31] dgathright has joined the channel [03:32] justinTNT has joined the channel [03:34] k1ttty has joined the channel [03:35] justinTNT: anyone got recommendations for authorisation module. including facebook, twitter? [03:35] Determinist has joined the channel [03:36] Tobsn has joined the channel [03:37] smathy has joined the channel [03:39] Qbix2 has joined the channel [03:40] jtsnow has joined the channel [03:41] vidi has joined the channel [03:42] Spion has joined the channel [03:42] xerox: justinTNT: there is one thing called anyauth I think [03:43] xerox: heard of it here multiple times, positive comments [03:43] justinTNT: thx xerox. that'd be everyauth. was hoping to chat to someone using it .. [03:44] Phaaze has joined the channel [03:45] xerox: ah, sorry =) [03:45] schwab has joined the channel [03:46] andrewreedy: ive used it before [03:48] shanebo has joined the channel [03:48] ddsdfs has joined the channel [03:49] Transformer has joined the channel [03:50] martin_sunset_ has joined the channel [03:50] ddsdfs: hie, i installed cygwin in windows,after i downloaded node from github,when iam typing the command "./configure" it saying cygwin not supported.....how can i rectify [03:50] Transformer has left the channel [03:51] caffine has joined the channel [03:51] daaku has joined the channel [03:52] ddsdfs: hie, i installed cygwin in windows,after i downloaded node from github,when iam typing the command "./configure" it saying cygwin not supported.....how can i rectify [03:53] ddsdfs: help plz [03:55] jimt_ has joined the channel [03:57] jacobolus has joined the channel [03:58] ddsdfs: hie, i installed cygwin in windows,after i downloaded node from github,when iam typing the command "./configure" it saying cygwin not supported.....how can i rectify [04:00] AAA_awright: Is there any reason why a Buffer object would have buffer.length = NaN ? [04:04] chjj: ddsdfs: i think cygwin support was dropped unfortunately [04:04] ddsdfs: so how can install node.js on windows [04:04] ddsdfs: chjj [04:04] ddsdfs: @chjj: [04:05] ddsdfs: chjj: ss [04:05] chjj: ddsdfs: https://github.com/joyent/node/wiki/Installation [04:06] chjj: you can either build it yourself or download the binary from nodejs.org [04:06] ddsdfs: ok,thanks,i will look at it [04:06] chjj: http://nodejs.org/dist/v0.5.10/node.exe [04:07] stagas has joined the channel [04:07] Nuck: How much does an Oakland apartment rent for? [04:07] saikat has joined the channel [04:07] Nuck: Just need an estimate so I can crunch numbers :P [04:07] superjudge has joined the channel [04:08] franciscallo has joined the channel [04:08] chjj: you might want to try the #please-calculate-my-living-expenses-for-me channel [04:08] Nuck: haha [04:08] Nuck: chjj: I'm saking in here because 90% of the Node.js community is based in Oakland, it seems :P [04:09] chjj: hmm [04:10] tilgovi has joined the channel [04:10] tilgovi has joined the channel [04:10] Nuck: chjj: I could check Craigslist too, but I'm not in the mood for men's genitals. [04:11] JakeyChan has joined the channel [04:11] Nuck: Plus that seems like a shitty kind of place to live [04:12] Nuck: I should totes just couchsurf with Airbnb :D [04:13] ceej has joined the channel [04:13] ctide: usually the apt listings are devoid of genitalia, should be safe. [04:14] SubStack: Nuck: http://www.padmapper.com/ [04:14] Nuck: ctide: This is Craigslist [04:14] Nuck: NOTHING is devoid of genitals [04:14] ctide: that's why i said usually! [04:14] ctide: no promises! [04:14] Nuck: SubStack: I assume I want the half closest to Alameda? [04:15] Nuck: So as not to get shot [04:15] context: anyone here play minecraft want to help a brother out ? [04:15] context: i cant even get the game started :( [04:16] SubStack: Nuck: show more filters -> show super secret advanced features -> spotcrime [04:16] Nuck: SubStack: Oooh Fancy! [04:16] Nuck: SubStack: Thanks [04:17] Nuck: ACTION plays Sim City: Oakland [04:18] aguynamedben has joined the channel [04:18] Nuck: interesting... Alameda's ghettoer than Berkeley [04:20] coderdad has joined the channel [04:23] groe has joined the channel [04:27] cjm has joined the channel [04:30] abraxas: does anyone know if it's possible to override json serialization of an object? [04:30] amigojapan has joined the channel [04:31] chjj: abraxas: what do you mean? [04:31] jarek has joined the channel [04:31] isaacs: is alamedia ghetto? [04:31] abraxas: i have an object that has a lot of meta data, that when i send it to the browser, would like it to automagically be represented differently [04:32] chjj: abraxas: you might be looking for the second parameter of JSON.stringify [04:32] chjj: abraxas: you can filter values with a callback [04:32] mrryanjohnston has joined the channel [04:32] tbranyen: yeah which is mad dope [04:32] abraxas: chjj: awesome! [04:32] tbranyen: you could also specific a toJSON method on the object [04:32] abraxas: chjj: that's what i needed :) [04:32] chjj: https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/JSON/stringify [04:32] tbranyen: specify [04:33] abraxas: toJSON? really? that automatically gets called? [04:33] Nuck: isaacs: padmap says the areas just outside of alameda are superghetto [04:33] tbranyen: abraxas: indeed [04:33] isaacs: yeah, kinda [04:33] isaacs: Nuck: you moving to oak town? [04:33] abraxas: oh, didn't know that, cool [04:33] Nuck: isaacs: Maybe. [04:33] Nuck: isaacs: Depends on my fates [04:33] tbranyen: v8: obj = { toJSON: function() { return "lol"; } }; JSON.stringify(obj); [04:33] v8bot_: tbranyen: [04:33] isaacs: kewl. it's javascript city [04:33] tbranyen: lol wat [04:33] isaacs: also, we have other things [04:33] tbranyen: abraxas: http://sharefilewith.me/u/88f1f5.png [04:34] tbranyen: i dunno whats up with the v8 thing [04:34] Nuck: isaacs: I've mentioned the idea of moving to Oakland to my mom and she freaks out and rants abotu how I'llg et shot and whatnot [04:34] Nuck: I keep trying to tell her it's not that bad [04:34] isaacs: well, some parts are a bit dodgy [04:35] isaacs: but it's mostly nice [04:35] Nuck: isaacs: Same goes for any city :P [04:35] abraxas: tbranyen: cool [04:35] isaacs: Nuck: truth. [04:35] Nuck: Even Mountain View gets addtons of graffiti on the buildings [04:35] isaacs: Nuck: i live right near lake merritt, which is fabulous and awesome [04:35] isaacs: Nuck: that's because Mountain View has bored rich teenagers. [04:35] isaacs: there is no real crime in mountain view [04:36] isaacs: i mean, there *are* gangs and shit in oakland. [04:36] pizthewiz has joined the channel [04:36] Nuck: isaacs: There are gangs in Modesto too [04:36] SubStack: I don't understand why people care so much about that stuff. [04:36] Nuck: I've dealt with Mexicans before [04:36] Nuck: SubStack: I don't feel much like getting shot [04:36] chjj: nuck has "dealt" with the mexicans [04:36] ambroff has joined the channel [04:36] chjj: whatever that means [04:36] SubStack: the crime rates aren't even terribly elevated compared to other places [04:37] SubStack: Dense places have crime. The denser it gets, the more crime there is. [04:37] Nuck: Though, if I can coerce my cofounder to come out here too, he'd take the neighborhood from gangland to million dollar homes just by staring at it [04:37] Nuck: chjj: Don't ask. [04:37] Nuck: It's better not to know. [04:37] JakeyChan_ has joined the channel [04:38] Nuck: isaacs: I assume you're east of Lake Merritt? [04:38] marlun has joined the channel [04:39] SubStack: plus impressions of crime aren't representative of the actual crime rates [04:39] isaacs: Nuck: no, north of it [04:39] Nuck: isaacs: Ahh [04:39] isaacs: i can see it from my house. it's gorgeous [04:39] Nuck: Looks like it, just from Google maps [04:39] SubStack: isaacs: your place is also a fortress! [04:40] tbranyen: SubStack: one of your roommates is in my living room right now [04:40] Nuck: SubStack: Where's Stackhaus? [04:40] tbranyen: i won't say which one [04:40] SubStack: tbranyen: I have a pretty good idea! [04:40] SubStack: Nuck: between emeryville and temescal [04:40] tiagobutzke has joined the channel [04:40] isaacs: SubStack: indeed. many keys. [04:40] tbranyen: ^_^ [04:40] isaacs: because this is oakland, where people break into places and kill people for reals. [04:41] tbranyen: i was called a racist for saying i was too white for oakland... sf folks are too uptight [04:41] Nuck: isaacs: lol [04:41] SubStack: unlike in SF where it's just for pretends [04:41] isaacs: mostly, though, you really just have to make sure you don't mouth off to cops on the train. [04:41] SubStack: also don't be black [04:41] Nuck: SubStack: OHU SILLY KILLER [04:41] isaacs: indeed. [04:41] SubStack: and/or hispanic [04:41] Nuck: ACTION is well-mannered and pure-bred white [04:41] Nuck: 100% european [04:41] isaacs: i give bart cops a wide berth. [04:41] SubStack: ANYWAYS HOW ABOUT THAT NODE DOT JAY ESS [04:42] dshaw_ has joined the channel [04:42] Nuck: SubStack: I HEAR IT SUCKS AT FIBONACCI [04:42] isaacs: i figure they're due to shoot a white nerdy programmer any day now. [04:42] SubStack: well then I'll take my VC-backed fibonacci startup elsewhere! [04:43] Nuck: isaacs: Don't worry. Their websites' defenses are penetrable even by a 14-year-old french girl :V [04:43] Nuck: isaacs: If you get shot, #Node.js will become /i/nvasion [04:43] marlun has joined the channel [04:43] marlun has joined the channel [04:44] SubStack: #occupy#node.js [04:44] Nuck: haha SubStack [04:44] Nuck: #occupybart [04:44] Nuck: We just all lay down in the stations :D [04:44] SubStack: nah the wifi sucks down there [04:44] Nuck: Set up an Adhoc wifi network for when they take us out [04:44] Nuck: SubStack: :D [04:45] Nuck: SubStack: Hence the adhoc wifi network :P [04:46] Kester has joined the channel [04:46] Nuck: isaacs: Is your house equipped for Zombie Nodepocalypse? [04:46] kriszyp has joined the channel [04:48] Me1000 has joined the channel [04:49] Tobsn has joined the channel [04:49] tilgovi has joined the channel [04:51] Nuck: I should protest ES.NExt [04:51] Nuck: #occupyharmony [04:51] dominictarr has joined the channel [04:51] criswell has joined the channel [04:51] SubStack: harmony modules are especially egregious [04:51] Nuck: SubStack: Everything in Harmony needs to go die [04:52] SubStack: proxies are useful [04:52] SubStack: it just seems like they want to invent new syntax for everything [04:52] Nuck: Yeah [04:52] Nuck: SubStack: It's taking JS and isntead of changing the backend issues, fixing nonexistant frontent issues [04:52] Nuck: So it's doing less than CoffeeScript [04:53] konobi: anyone created an appliance-like configuration web app in node at all? [04:53] ryanallenbobcat has joined the channel [04:53] SubStack: konobi: like a toaster? [04:54] Nuck: konobi: I just require(process.env.ENVIR + '.json') [04:54] Nuck: And that's where my configs come from [04:54] konobi: well, for generating config used by other services =0) [04:54] konobi: all step-by-step wizard like [04:54] SubStack: wizards, do not want [04:55] Nuck: SubStack: YER A WIZERD, NODEJS [04:55] jesusabdullah: appliance-like? [04:56] Nuck: jesusabdullah: I assume he means transcribed on pieces of toast [04:56] SubStack: konobi: npm init is like that I guess? [04:56] Nuck: SubStack: That's not what npm init does o_O [04:56] jesusabdullah: Maybe make a web interface to nconf [04:56] Nuck: SubStack: npm init creates a package.json IIRC [04:56] konobi: jesusabdullah: when you set up an appliance (mail, firewall, etc) you generally have to go through some sort of wizard to configure it [04:56] jesusabdullah: http://github.com/indexzero/nconf [04:56] jesusabdullah: Oh okay, sure [04:56] isaacs: konobi: not that i'm aware of, no [04:57] Nuck: konobi: I had a Pokemon-themed config tool for my NodeJS deviantART chat bot >_> [04:57] Nuck: I made a progess indicator and other such magick [04:57] jesusabdullah: Yeah, I haven't heard of one but it's probably not too hard to build right? [04:57] jesusabdullah: like, nconf has all the hooks for latching onto the configs programmatically, so you just need to expose that through an app [04:57] konobi: most of the work is probably doable on the front end, but there's some back end logic too... =0/ [04:58] hij1nx has joined the channel [04:58] Nuck: konobi: Backend seems easier to me [04:58] jesusabdullah: konobi: look at nconf. i think it would take care of a lot of that backend [04:58] Nuck: The frontend would be best with something like ncurses [04:58] Nuck: But AFAIK, there's not pure JS ncurses-like module [04:58] jesusabdullah: Nuck: charm does ncurses-like stuff with ansi [04:59] jesusabdullah: which is way more awesome [04:59] jesusabdullah: you could easily build an ncurses-like api on top of that [04:59] jesusabdullah: or some kinda ui-ish thing [04:59] Nuck: jesusabdullah: It's a lot harder than it seems :V [04:59] jesusabdullah: Not really? [04:59] Nuck: progress bars behind text are a BITCH [05:00] jesusabdullah: Not really? [05:00] SubStack: multimeter already handles all of that [05:00] jesusabdullah: I mean, I haven't built a progress bar with it but substizzy did and I wrote a few fun demos with charm [05:00] Nuck: SubStack: :( [05:00] Nuck: SubStack: Colored? [05:00] SubStack: yes [05:00] JakeyChan: hi ? quick question [05:00] jesusabdullah: SubStack: He's talking about the color running over the numbers [05:00] OmidRaha has joined the channel [05:00] jesusabdullah: Go for it JakeyChan [05:01] JakeyChan: node xxx.js == > node will execute the node.js at first ? [05:01] jesusabdullah: what do you mean? [05:01] JakeyChan: I want to know what's used with node.js file that located at node source folder [05:02] EhevuTov has joined the channel [05:02] Nuck: ... [05:02] Nuck: what? [05:02] JakeyChan: :) [05:02] JakeyChan: stupid question, I know [05:02] jesusabdullah: I still don't understand [05:02] jesusabdullah: node runs xxx.js [05:02] HT has joined the channel [05:03] torm3nt has joined the channel [05:03] JakeyChan: there have node.js source file that located at node source folder [05:03] torm3nt: hey all. Can anyone recommend a web framework for node.js? [05:03] torm3nt: I've seen express js. Any others? [05:03] Nuck: JakeyChan: Do you mean there's a .js file you want to access that's in the folder with teh node binary? [05:03] Nuck: torm3nt: Express. [05:03] jesusabdullah: I think I see what you're asking JakeyChan, maybe [05:03] JakeyChan: geddy, [05:04] JakeyChan: you can try it [05:04] torm3nt: Nuck - only express? [05:04] Nuck: torm3nt: No, it's just the one I recommend. [05:04] JakeyChan: :D [05:04] torm3nt: ah, cheers :) [05:04] JakeyChan: I am reading the node source code [05:04] JakeyChan: include C++ code [05:05] JakeyChan: I found node.js source file here :) [05:05] jesusabdullah: I can't really endorse any framework, but if I had to pick one to go with it'd be express [05:05] JakeyChan: go to lunch :D [05:07] jesusabdullah: JakeyChan: If you're asking what I think you're asking: I don't 100% know how node bootstraps its javascript, but based on how couch does it I suspect that they start a v8 interpreter with raw bindings to libuv, execute some set of javascript code, and then start executing your program [05:07] fangel has joined the channel [05:08] jesusabdullah: What couch does is compile a spidermonkey interpreter, then execute a bunch of javascript code that sets up a sort of event loop kinda thing that you communicate with using json messages over stdin and stdout [05:08] jesusabdullah: from what I saw anyway [05:08] Nuck: lolspidermonkey [05:08] sdwrage has joined the channel [05:08] Nuck: V8 4 lyfe [05:09] Nuck: (or until a better compiler comes about) [05:09] isaacs: jesusabdullah: start reading here: https://github.com/joyent/node/blob/master/src/node.cc#L2508 [05:09] jesusabdullah: I think spidermonkey has some weird stuff in it and I suspect that c++ is in ways a better choice than java [05:09] isaacs: jesusabdullah: it's not very much like couch, actually [05:10] jesusabdullah: ah! [05:10] isaacs: jesusabdullah: the story starts getting good around https://github.com/joyent/node/blob/master/src/node.cc#L2186 [05:10] jesusabdullah: It looks like a lot of core is in the c? [05:10] jesusabdullah: c++ I mean? [05:10] jesusabdullah: I'm pretty pants at c++ [05:10] Nuck: jesusabdullah: You're pants [05:10] Nuck: wat [05:11] jesusabdullah: It's a british thing. I picked it up on irc as a kid [05:11] jesusabdullah: for some reason it stuck [05:11] isaacs: jesusabdullah: it gets into js pretty quickly. https://github.com/joyent/node/blob/master/src/node.js [05:11] chjj has joined the channel [05:11] isaacs: that's what bootstraps the module system [05:11] isaacs: s [05:11] Nuck: damn brits :/ [05:12] T-Co: http://www.urbandictionary.com/define.php?term=pants [05:12] T-Co: Nuck, Word! [05:12] jesusabdullah: I see [05:12] bluebit has joined the channel [05:13] isaacs: jesusabdullah: we try to do as much as possible in js [05:13] isaacs: it's sooo much nicer. [05:13] jesusabdullah: haha, I bet [05:13] pixel13 has joined the channel [05:13] isaacs: more approachable, more expressive. [05:13] thepatr1ck has joined the channel [05:13] pixel13 has left the channel [05:14] jesusabdullah: whoa, that third party shit is neat [05:15] isaacs: yeah [05:15] isaacs: you can replace node.js with your own thing [05:15] isaacs: er, replace the module argv setup [05:15] isaacs: compile it all together [05:15] isaacs: it'd be nice if you could do that with a package bin post-hoc, you know? [05:15] isaacs: like a nodecc thing [05:15] Nuck: isaacs: I'm still waiting for compiled node + js files [05:15] isaacs: then get a binary that bundles node and your thing [05:16] isaacs: Nuck: yeah, that's what i'm talking about. [05:16] Nuck: haha [05:16] Nuck: isaacs: Awesome yeah [05:16] Nuck: I'd love that [05:16] isaacs: Nuck: you can do that today with _third_party [05:16] Nuck: isaacs: Orly? [05:16] isaacs: Nuck: yeah [05:16] isaacs: drop a _third_party_main.js in node/lib and then build it [05:16] isaacs: Nuck: https://github.com/joyent/node/blob/master/src/node.js#L58-64 [05:16] decaf has joined the channel [05:16] decaf has joined the channel [05:16] isaacs: and it'll do that [05:17] vidi has joined the channel [05:17] Nuck: isaacs: IS _third_party_main my server.js? [05:17] isaacs: Nuck: it's more like a replacement for the module system. [05:17] isaacs: and for the argv[1] running [05:18] Nuck: ACTION doesn't know what argv is although it rings a bell [05:19] jesusabdullah: the list of arguments [05:19] gkatsev: process.argv [05:20] gkatsev: http://nodejs.org/docs/v0.4.12/api/process.html#process.argv [05:20] jesusabdullah: ["node", "program.js"] for instance [05:20] Nuck: Ah right [05:22] isaacs: Nuck: so, if you use _third_party_main.js, then you'd have to roll your own module system. [05:23] isaacs: Nuck: which would kind of suck [05:23] jesusabdullah: I just discovered node debug [05:23] jesusabdullah: holy cow how cool [05:23] isaacs: yeah, inorite!? [05:23] jesusabdullah: Yeah! How come I didn't know about it? [05:24] k1ttty has joined the channel [05:24] Nuck: isaacs: Closures? [05:25] isaacs: Nuck: what about em? [05:25] Nuck: isaacs: For magicking the required modules into submission? [05:26] Nuck: Watching this thing about mourning Steve Jobs [05:26] cosmincx has joined the channel [05:29] jesusabdullah: Closures are for noob-pwning obviously :v [05:29] Nuck: jesusabdullah: Exactly. [05:29] jesusabdullah: erm [05:29] jesusabdullah: umm [05:29] jesusabdullah: I just like closures [05:29] shapeshed has joined the channel [05:30] Nuck: jesusabdullah: Woh doesn't? [05:32] TheCode has joined the channel [05:32] stagas has joined the channel [05:37] cscotta has joined the channel [05:37] DennisRasmussen has joined the channel [05:38] wgo has joined the channel [05:40] smathy has joined the channel [05:40] smathy has joined the channel [05:41] jesusabdullah: Nuck: idk, people? [05:41] Nuck: jesusabdullah: No, closures are great for people [05:43] dget has joined the channel [05:47] materialdesigner has joined the channel [05:48] aguynamedben_ has joined the channel [05:49] chrislorenz has joined the channel [05:50] jesusabdullah: but some people don't really even recognize that they're a thing [05:50] jesusabdullah: It's true! [05:51] zilch_ has joined the channel [05:56] EyePulp has joined the channel [05:57] captain_morgan has joined the channel [05:57] stagas has joined the channel [05:58] mike5w3c has joined the channel [05:59] ninjapig has joined the channel [05:59] ninjapig has joined the channel [05:59] matyr has joined the channel [06:00] BillyBreen has joined the channel [06:01] darshanshankar has joined the channel [06:01] fangel has joined the channel [06:02] zilch_ has joined the channel [06:03] creationix has joined the channel [06:03] flamboz has joined the channel [06:04] creationix: ACTION doesn't like the topic :P [06:04] creationix: ACTION has *lots* of modules that don't work with 0.5.10 yet [06:07] tokuzfunpi has joined the channel [06:10] SubStack: creationix: likewise! [06:10] SubStack: ACTION is afraid of 0.5 [06:11] creationix: btw https://twitter.com/#!/creationix/status/128715093147004928 [06:11] creationix: libuv is awesome [06:11] creationix: our bottleneck in node is now v8's C++ layer [06:11] SubStack: yikes! [06:12] creationix: and the amount of mature abstraction node has grown over the years [06:12] SubStack: is that with an all-lua http parser? [06:12] creationix: but I think it's mostly the C layer [06:12] creationix: no, the same http_parser node uses [06:12] SubStack: aha [06:12] creationix: it's basically node, but with luajit instead of v8 [06:12] creationix: and a slightly leaner script side [06:14] SubStack: what does node get on your system for comparison? [06:15] rchavik has joined the channel [06:15] SubStack: how many reqs/sec on the same test [06:16] creationix: just a sec [06:16] creationix: I should use trunk node for a fair comparison [06:16] creationix: 0.4.x isn't libuv you know [06:17] secoif has joined the channel [06:17] mikeric has joined the channel [06:17] node_noob_help_i has joined the channel [06:18] wadey has joined the channel [06:18] pquerna: trunk is faster than 0.4 [06:18] pquerna: at least... mostly. [06:19] JSManiacs has joined the channel [06:19] node_noob_help_i: Anyone point me in a good direction for some useful resources? first timer don't hurt me:) [06:20] node_noob_help_i: ? [06:20] Lorentz: What did you want to do? [06:20] chjj: ACTION hurts node_noob_help_i. [06:20] node_noob_help_i: ouch [06:20] node_noob_help_i: I want to use this but the docs are painful [06:20] node_noob_help_i: no offense [06:20] chjj: node_noob_help_i: the usual resources are nodebeginner, howtonode, dailyjs, nodejitsu [06:20] chjj: the google machine will help [06:21] chjj: node_noob_help_i: and if you need a js reference - mozilla docs [06:21] node_noob_help_i: I just like to ask the source sick of finding tuts that teach me wrong methods :) [06:22] chjj: node_noob_help_i: another good way to learn is by looking at all the node modules on github [06:23] creationix: SubStack: node gets 9729 [06:23] creationix: v0.5.10 [06:23] neoesque has joined the channel [06:23] zilch_ has joined the channel [06:24] simenbrekken has joined the channel [06:24] simenbrekken has joined the channel [06:24] node_noob_help_i: Thanks for the pointers everyone got enough to last me the night:) [06:25] chjj: node_noob_help_i: this channel is also good if you have a specific question [06:25] creationix: SubStack, pquerna: https://gist.github.com/1311537 [06:25] node_noob_help_i: I see first time I ever had a response unless it was on a calender :) [06:26] tiagobutzke has left the channel [06:26] chjj: node_noob_help_i: hm? [06:29] LifterAH has joined the channel [06:29] creationix: hmm, 20,000 ports tied up in TIME_WAIT [06:29] creationix: I wish there was a way to force close those [06:30] materialdesign-1 has joined the channel [06:31] Ang3 has joined the channel [06:32] ruquay has joined the channel [06:33] saesh has joined the channel [06:35] chrislorenz has joined the channel [06:36] jetienne has joined the channel [06:37] secoif: how are you guys testing APIs? [06:38] secoif: Ideally there would be a library with setup/teardown + simple 'connect to this url, validate response' [06:38] secoif: but this doesn't seem to exist [06:39] secoif: trying tobi/vows/api-easy, but can't get any to run with async setup [06:39] secoif: which seems like madness [06:40] secoif: idk wtf I'm doing wrong but it seems like noone has ever needed to run an async setup before running their tests before [06:41] SubStack: try tap [06:41] micxer has joined the channel [06:41] `3rdEden has joined the channel [06:41] SubStack: why should the test harness have anything to do with setup/teardown? [06:42] SubStack: just write it like you would write any other program [06:42] skm has joined the channel [06:42] SubStack: secoif: example test: https://github.com/substack/node-stackedy/blob/master/test/deep.js [06:43] groom has joined the channel [06:44] secoif: SubStack perhaps I'm doing testing wrong, but the idea was to seed the db with dummy data to test against [06:44] secoif: and some test harnesses, eg vows, will exit reporting 'no tests to run' if you don't export any tests immediately [06:45] SubStack: exports for tests doesn't work so well in my experience [06:45] SubStack: I like tap style tests the best. You just call a function. [06:45] SubStack: or you can just use the assert module directly too [06:46] secoif: expresso/vows both do it == 80% of my nodejs testing experience [06:46] SubStack: a lot of my old tests are in expresso still but all of my new stuff is in tap [06:46] Morkel has joined the channel [06:48] secoif: interesting, i have not heard of this tap thing before [06:49] SubStack: https://github.com/isaacs/node-tap [06:51] guidocalvano has joined the channel [06:52] secoif: SubStack cool, do you use this on a CI box? any other benefits to using a tap compliant framework? [06:52] stagas has joined the channel [06:53] garrensmith has joined the channel [06:55] AD7six has joined the channel [06:56] tylerwayne has joined the channel [06:56] SubStack: secoif: I just like the API [06:56] secoif: :D [06:56] secoif: ok. [06:57] secoif: I will try this out. [06:58] tylerwayne: Quick question: In v0.5.10 on Windows, what would cause an exception that reports "Error: use fs.watch api instead". Specifically, this is happening inside the CoffeeScript compiler. [06:58] secoif: it's kinda similar to nodeunit [06:59] secoif: tylerwayne a search for that error gave me this https://github.com/isaacs/node-supervisor/issues/26 [07:00] secoif: "The fs.watch API is changing in node 0.5, and hasn't yet been stabilized, afaik." [07:00] secoif: possible that the coffeescript module isn't up to date [07:00] tylerwayne: Is it a breaking change with regards to fs.watchFile? [07:01] tylerwayne: Sure seems like it is. [07:01] secoif: tylerwayne no idea, perhaps you should just double check everything is up to date, and failing that, just leave off the -w switch [07:01] secoif: on the coffee command [07:01] aliem has joined the channel [07:02] tylerwayne: I may have to do that, at least until I can rewrite the commands to use fs.watch. [07:03] secoif: perhaps log a bug or ask in #coffeescript [07:03] neshaug has joined the channel [07:04] whalesofthesky1 has joined the channel [07:04] npa has joined the channel [07:05] tylerwayne: I'm surprised it hasn't been reported already. Well, thanks for your help, @secoif. [07:06] AAA_awright: Anyone know of any good UI toolkits? For use with socket.io and Node.js and such [07:06] AAA_awright: I know YUI works natively in Node.js but on the web browser end it doesn't support resizable panes and that's essential [07:06] tylerwayne has left the channel [07:06] secoif: AAA_awright perhaps check out sproutcore [07:07] secoif: apple uses sproutcore [07:07] mikedeboer has joined the channel [07:07] lyte has joined the channel [07:07] lyte has joined the channel [07:07] AAA_awright: secoif: Looks flashy enough, I'll check it out thanks [07:08] secoif: np [07:08] secoif: AAA_awright you could also hire designer to bother with that nonsense [07:08] magnetik has joined the channel [07:08] cjheath_ has joined the channel [07:09] AAA_awright: secoif: For my budget of about $100 I doubt it [07:10] secoif: for that budget i wouldn't worry about resizable panes ;) [07:10] garrensmith has joined the channel [07:11] secoif: another option is twitter bootstrap. no resizable panes but it gives you a good leg up. http://twitter.github.com/bootstrap/ [07:11] nabble has joined the channel [07:11] secoif: AAA_awright. [07:11] Nietecht has joined the channel [07:11] AAA_awright: yeah hm [07:12] ppcano has joined the channel [07:14] elijah has joined the channel [07:15] purr has joined the channel [07:16] purr has joined the channel [07:17] nabble has joined the channel [07:17] raphdg has joined the channel [07:17] bosphorus has joined the channel [07:18] superjudge has joined the channel [07:19] flamboz has joined the channel [07:20] gavin_huang1 has joined the channel [07:20] cscotta has left the channel [07:21] TomY has joined the channel [07:21] p1d has joined the channel [07:22] loob2 has joined the channel [07:23] joeyang has joined the channel [07:23] fangel has joined the channel [07:24] ppcano_ has joined the channel [07:25] purr has joined the channel [07:26] purr has joined the channel [07:28] amiller has joined the channel [07:28] mdaisuke has joined the channel [07:28] cjheath has joined the channel [07:29] ecin has joined the channel [07:30] pavelz has joined the channel [07:30] purr has joined the channel [07:30] rendar has joined the channel [07:33] [AD]Turbo has joined the channel [07:33] JakeyChan: hi, stupid question, [07:34] [AD]Turbo: hola [07:34] JakeyChan: where can I find whole node.js module ? [07:34] JakeyChan: :) [07:34] JakeyChan: contrib module [07:34] uchuff has joined the channel [07:34] JakeyChan: not office [07:34] JakeyChan: :) [07:34] creationix: JakeyChan: ? [07:35] JakeyChan: :) [07:35] gigo1980: hi all, is there an dynamic growing buffer size for an Buffer Object posible ? [07:38] jesusabdullah: I don't believe so. [07:38] p3rsist has joined the channel [07:39] jesusabdullah: Yeah, not resizeable [07:39] jesusabdullah: http://docs.nodejitsu.com/articles/advanced/buffers/how-to-use-buffers [07:39] purr has joined the channel [07:39] jesusabdullah: I wrote that <_< [07:39] jesusabdullah: but I don't work with binary data very much in practice [07:39] iFire has joined the channel [07:40] ablomen has joined the channel [07:40] d0k has joined the channel [07:41] ph^ has joined the channel [07:41] purr has joined the channel [07:43] cosmincx1 has joined the channel [07:45] markwubben has joined the channel [07:46] skm has joined the channel [07:47] purr has joined the channel [07:47] _kud has joined the channel [07:49] JaKWaC has joined the channel [07:49] Cromulent has joined the channel [07:49] JaKWaC has joined the channel [07:50] mc_greeny has joined the channel [07:50] mmalecki has joined the channel [07:52] passionke has joined the channel [07:53] ph^ has joined the channel [07:53] purr has joined the channel [07:53] fangel has joined the channel [07:53] isaacs: JakeyChan: are you talking about maybe npm modules? [07:53] svnlto has joined the channel [07:53] isaacs: JakeyChan: try http://search.npmjs.org/ [07:53] yobi has joined the channel [07:54] JakeyChan: isaacs: you know me [07:54] purr has joined the channel [07:55] eddyb has joined the channel [07:55] jimt has joined the channel [07:56] PhilK has joined the channel [07:56] purr has joined the channel [07:58] smgt has joined the channel [07:58] purr has joined the channel [07:58] Druid_ has joined the channel [07:59] q_no has joined the channel [08:01] DennisRasmussen has joined the channel [08:01] purr has joined the channel [08:01] whitman has joined the channel [08:03] magnetik_ has joined the channel [08:04] iivvoo has joined the channel [08:04] skm has joined the channel [08:04] iivvoo has left the channel [08:06] _rgl has joined the channel [08:07] __tosh has joined the channel [08:08] Lars_unique has joined the channel [08:08] eddyb: here's a problem: node.gyp doesn't take node_shared_v8 into consideration [08:08] rudolfrck has joined the channel [08:09] aaronmcadam has joined the channel [08:10] TomY has joined the channel [08:10] Squeese has joined the channel [08:14] creationix has left the channel [08:14] andree has joined the channel [08:16] clu3 has joined the channel [08:17] stagas has joined the channel [08:18] akamike has joined the channel [08:19] fangel has joined the channel [08:22] djcoin has joined the channel [08:23] jbpros has joined the channel [08:23] robhawkes has joined the channel [08:23] __doc__ has joined the channel [08:23] hipsterslapfight has joined the channel [08:25] topaxi has joined the channel [08:25] Dreamer3__ has joined the channel [08:26] eddyb: anybody alive? [08:27] mikedeboer has joined the channel [08:28] aron_ has joined the channel [08:28] _aron has joined the channel [08:28] brandel has joined the channel [08:28] garrensmith: I'm alive :-) [08:29] eddyb: I really need someone who knows how this gyp stuff works [08:29] eddyb: and there's no channel specially for it [08:29] garrensmith: sorry I dont know that kind of stuff [08:30] blup has joined the channel [08:31] hellp has joined the channel [08:31] tlynn has joined the channel [08:33] matyr has joined the channel [08:34] Industrial has joined the channel [08:35] Frippe_away has joined the channel [08:35] Industrial: I have a question about REST architecture. Say I have a /users/:id resource, Do any sub resources need to be named plural, even though there's only one instance/member of that sub resource? e.g. /users/:id/monsters/0 instead of /users/:id/monster ? [08:40] Tobbe: Industrial: REST doesn't say anything about how to name your resources [08:41] Tobbe: /users/:id/moster is perfectly fine [08:41] Tobbe: *monster [08:42] isaacs: Industrial: you could even have /users/:id/monster/:monsterid [08:42] markwubben has joined the channel [08:42] stagas has joined the channel [08:42] isaacs: Industrial: teh more important thing is to use the right verbs and semantics [08:43] eddyb: isaacs: meant to ask you something: did you write the zlib bindings? if so, what was the reason for leaving sync calls out? [08:43] isaacs: like, accept headers for content-type to determine json vs xml vs html; PUTs, GETs, HEADs, DELETEs being idempotent (ie, safely repeatable), GETs and HEADs being cacheable [08:43] isaacs: eddyb: it's too hazardous. no reason why that couldn't be added later. [08:43] Tobbe: talking about this. How do you do nested resources using express-resource? [08:43] eddyb: thanks [08:44] eddyb: just saying, there are about 3 packages out there doing sync zlib stuff [08:44] isaacs: eddyb: the issue is that if you're unpacking a big file, it's tempting to think of sync zipping as "fast" since it's in memory. [08:44] Industrial: isaacs: I keep thinking in terms of actions instead of resources, e.g. 'I want the dashboard of the user so I need /users/:id/dashboard', but I think I should really think about what kind of data the dashboard needs (e.g. 'events') and create a GET /users/:id/events instead [08:44] isaacs: eddyb: in fact, it can be quite slow, if the compression is turned up. [08:44] eddyb: isaacs: could have a hardcoded limit [08:44] eddyb: I'd be using it for small buffers [08:44] Tobbe: I just thought about "GETs being cacheable". Let's say you have /users/:id wouldn't the response change if, for example, the user changes his email address? [08:44] eddyb: things coming over a net stream [08:45] isaacs: eddyb: ok. as you say, there are libraries that do this already [08:45] eddyb: and the way it's implemented, sync works best [08:45] isaacs: but this was the simplest way to provide a complete lowlevel binding to everything zlib can do [08:45] eddyb: yes, but having async zlib in node and sync in other places is kinda weird [08:45] jbpros has joined the channel [08:45] eddyb: [08:45] isaacs: the API lends itself well to an asynchronous streaming approach [08:46] rendar has joined the channel [08:46] isaacs: that is node's target use case. [08:46] k1ttty has joined the channel [08:51] martin_sunset: Issacs, how does tap and vows relate to, or is tap geared more towards testling? A bit confused? [08:51] martin_sunset: I am... [08:52] stagas has joined the channel [08:52] nils_r has joined the channel [08:55] isaacs: martin_sunset: tap is a node thing. it's not related to vows. [08:55] isaacs: martin_sunset: if you mean node-tap, that is [08:55] sc_ has joined the channel [08:55] isaacs: martin_sunset: "TAP", as in, the "test anything protocol" is a protocol that was developed in perl land [08:55] martin_sunset: Issacs yes node-tap. I am doing my testing in vows right now [08:56] martin_sunset: Issacs is node-tap intended as an alternative, or a different use case [08:56] thalll has joined the channel [08:57] oiiii has joined the channel [08:57] fangel has joined the channel [08:58] isaacs: martin_sunset: they're different approaches to testing. [08:58] Gekz has joined the channel [08:58] isaacs: use whatever you like, really. [08:58] isaacs: the fact that your'e testing your code at all is the most important thing. [08:58] tamer has joined the channel [08:59] Gekz: hey guys [08:59] Gekz: I need to run a really simple little webserver not for external access [08:59] Gekz: it would only be brought up to test a couple of html files and then be closed [08:59] xerox: there is a thing from nodejitsu [08:59] Gekz: I note there's a few little servers on the modules page, but which one would you recommend that I use? [09:00] xerox: https://github.com/nodejitsu/http-server [09:00] enmand has joined the channel [09:00] martin_sunset: Isaacs are there still people out there who don' t test :) [09:00] dnjaramba has joined the channel [09:00] xerox: you can npm install it with -g and then use for serving a directory, and ^C and disappears [09:01] tedwing has joined the channel [09:02] Gekz: xerox: thanks, I'm sure I can work out how to instantiate it via my own code :) [09:02] Ang3 has joined the channel [09:02] xerox: just saying [09:03] magnetik_ has joined the channel [09:03] jbpros: little NPM question: can the "repository" key accept an array of repositories in package.json? [09:03] Xano has joined the channel [09:03] jbpros: like here: https://github.com/aredridel/html5/blob/master/package.json [09:04] rchavik has joined the channel [09:06] jerrysv has joined the channel [09:06] jspiros has joined the channel [09:10] tokuzfunpi has joined the channel [09:10] bzinger has joined the channel [09:11] joeyang has joined the channel [09:12] stagas has joined the channel [09:12] adrianmg has joined the channel [09:12] adrianmg has left the channel [09:16] skm has joined the channel [09:16] piscisaureus has joined the channel [09:19] TomY has joined the channel [09:20] anoop has joined the channel [09:21] guybrush: jbpros: no i dont think so [09:22] guybrush: the doc does not say so at least and http://search.npmjs.org/#/html5 says undefined:undefined [09:22] guybrush: also it does not make sense to list multiple repositories for a project (imho) [09:24] jbpros: I think so too... [09:26] tedwing has left the channel [09:27] sylvinus has joined the channel [09:33] garrensmith has joined the channel [09:34] Wizek has joined the channel [09:36] hwinkel1 has joined the channel [09:37] Gekz: xerox: seems http-server can't handle urls with spaces in the name [09:37] Gekz: oh dear. [09:38] cjm has joined the channel [09:40] mde has joined the channel [09:43] sfoster has joined the channel [09:45] fly-away has joined the channel [09:46] briemens has joined the channel [09:47] s0enke has joined the channel [09:51] Shrink has joined the channel [09:51] Shrink has joined the channel [09:51] joeyang has joined the channel [09:52] Squeese has joined the channel [09:52] lovebumps45 has joined the channel [09:56] wbednarski has joined the channel [09:57] agnat has joined the channel [09:59] MCHammer has joined the channel [10:00] MCHammer: hi [10:01] fangel has joined the channel [10:02] azorai has joined the channel [10:04] lovebumps45 has joined the channel [10:05] JakeyChan: https://github.com/developmentseed/bones/blob/master/server/plugin.js [10:06] JakeyChan: hi ? who knows the require.extensions['.bones'] ?? [10:06] JakeyChan: what's mean of the code ?? [10:06] bzinger has joined the channel [10:07] deoxxombie: hold on [10:07] deoxxombie: JakeyChan: is google down for you? [10:07] JakeyChan: I searched :) [10:07] deoxxombie: i can't seem to open http://www.google.com.au/search?q=%22require.extensions%22+node.js [10:08] JakeyChan: good works property for me [10:10] fermion has joined the channel [10:10] Hounth has joined the channel [10:12] jldbasa has joined the channel [10:13] Nietecht has joined the channel [10:13] Wizek has joined the channel [10:14] Margle has joined the channel [10:14] kraft has joined the channel [10:15] SomeoneWeird has joined the channel [10:15] SomeoneWeird has joined the channel [10:20] aku has joined the channel [10:22] Arenstar has joined the channel [10:22] Squeese has joined the channel [10:34] Squeese has joined the channel [10:38] ayaz has joined the channel [10:39] MrNko has joined the channel [10:42] shipit has joined the channel [10:46] neurodrone has joined the channel [10:49] Squeese has joined the channel [10:54] Harzilein: hi [10:55] Harzilein: any idea how i can suppress those error messages from jsdom?: http://harzilein.eu.org/users/harzi/durohr-log.txt http://harzilein.eu.org/users/harzi/durohr.js [10:57] amigojapan has joined the channel [11:01] dylang has joined the channel [11:05] willwh has joined the channel [11:05] adrianmg has joined the channel [11:06] vindice has joined the channel [11:07] cjroebuck has joined the channel [11:08] Kunda has joined the channel [11:08] adrianmg has joined the channel [11:08] TheCode: ;_; I am having a tough time trying to download images using Node. Tried curl and http.get, both results in writing currupted data. What could be the problem? I suspect it has something to do with encoding. Text files are fine. [11:10] adrianmg has left the channel [11:10] jimt_ has joined the channel [11:11] martin_sunset has joined the channel [11:12] zilch_ has joined the channel [11:13] __tosh has joined the channel [11:13] Druid_ has joined the channel [11:13] Mokona has joined the channel [11:14] Tobsn has joined the channel [11:15] skm has joined the channel [11:17] svnlto_ has joined the channel [11:19] JakeyChan has joined the channel [11:23] Rafael has joined the channel [11:24] christop_ has joined the channel [11:28] piscisaureus has joined the channel [11:28] jimt has joined the channel [11:29] piscisaureus_ has joined the channel [11:30] Morkel has joined the channel [11:30] sylvinus_ has joined the channel [11:38] benoit_ has joined the channel [11:39] fmeyer has joined the channel [11:49] simenbrekken_ has joined the channel [11:49] jomoho has joined the channel [11:51] _th_n_ has joined the channel [11:52] FIQ|screen has joined the channel [11:54] _kud has joined the channel [11:55] chjj has joined the channel [11:56] magnetik__ has joined the channel [11:57] passionke has joined the channel [11:58] skm has joined the channel [12:00] adrianmg has joined the channel [12:00] adrianmg has left the channel [12:04] neerolyte has joined the channel [12:06] CrisO has joined the channel [12:07] AphelionZ has joined the channel [12:13] JakeyChan: hi ? [12:13] scott_gonzalez has joined the channel [12:13] kazupon has joined the channel [12:13] CarterL has joined the channel [12:13] JakeyChan: I want to write express router, like /server/:module/:action/:param1/:param2:/:param3 ??? [12:15] ayaz has joined the channel [12:15] lzskiss has joined the channel [12:16] lzskiss: loha [12:16] lzskiss: +a [12:16] aron_ has joined the channel [12:16] erichynds has joined the channel [12:17] NetRoY has joined the channel [12:17] _rgl has joined the channel [12:17] cjm has joined the channel [12:19] blax has joined the channel [12:20] jimt has joined the channel [12:20] bnoordhuis has joined the channel [12:21] blax: hi, quick question: can I use socket.io just as a websocket server replacement? [12:22] blax: and, if I want to write socket.io server using existing protocol (which is using websocket), will I be able to use it with socket.io client over other transports (like long polling)? [12:22] christop_: can i set NODE_PATH in my test_helper file or do i need to set it before invoking node? [12:23] xetorthio has joined the channel [12:24] Ang3 has joined the channel [12:25] blup has joined the channel [12:26] jebberjeb has joined the channel [12:27] jebberjeb has left the channel [12:27] jebberjeb has joined the channel [12:28] fumanchu182 has joined the channel [12:30] Cromulent has joined the channel [12:31] blup has joined the channel [12:35] AaronMT has joined the channel [12:35] mike5w3c has joined the channel [12:36] guidocalvano has joined the channel [12:36] dnjaramba has joined the channel [12:38] Fuu has joined the channel [12:39] matyr has joined the channel [12:39] jebberjeb: which driver should I use for mongodb? [12:40] CrisO: JakeyChan: https://github.com/visionmedia/express-resource [12:40] vkareh has joined the channel [12:40] CrisO: jebberjeb: http://mongoosejs.com/ [12:40] blup has joined the channel [12:42] jebberjeb: Cris0, any particular reason why mongoosejs? [12:42] jebberjeb: CrisO, why not just use the native drivers? [12:43] CrisO: mongoose provides validation, getters, setters, hooks, etc. [12:44] martin_sunset: jebberjeb: Because you will eventually need all the stuff in mongoose [12:44] ryanfitz has joined the channel [12:44] boehm has joined the channel [12:44] martin_sunset: jebberjeb: Eventually = three days into the project [12:45] jebberjeb: So I'm looking at the page and maybe I should ask this in #mongodb, but here goes anyways. I thought part of the appeal of mongodb was that it was schemaless. And the *first* thing you see with mongoose is schema definition. [12:45] jebberjeb: so, uh the question there is, doesn't that bother anyone? [12:45] jebberjeb: apparently not huh [12:45] martin_sunset: jebberjeb: The database is schenmaless [12:45] jimt_ has joined the channel [12:45] martin_sunset: jebberjeb: that does not meet that all your data is [12:46] martin_sunset: Basically, you can drop almost anything you want in mongo, but for most [12:46] martin_sunset: Apps it makes sense to classify this in program code, [12:46] LifterAH: incidentally there are a couple of useful videos on Mongoose at NodeTuts (http://nodetuts.com/) [12:46] martin_sunset: Often people use a mix and match approach example: [12:46] LifterAH: might be of some use [12:47] jebberjeb: martin_sunset: I guess. I mean, I can't imagine writing data access code without a well defined schema, so it's fine for me. [12:47] martin_sunset: jebberjeb: Just evangelizing :) [12:47] LifterAH: I think one of the benefits of it being schemaless is that you have the flexibility to extend the collections at any time [12:47] jebberjeb: martin_sunset: that's what I'm looking for, so thanks ;) [12:47] martin_sunset: jebberjeb: Schenmaless is great for upgrades [12:48] martin_sunset: jebberjeb: or when you need to store additional data, think customer records [12:48] jebberjeb: right [12:49] jebberjeb: alright, I've got node, express (w/ jade and sass) and mongodb w/ mongooose. Am I missing anything? [12:49] martin_sunset: Vows [12:49] martin_sunset: For testing [12:50] martin_sunset: Vowsjs,org [12:50] martin_sunset: And coffesscript - ducks [12:50] jpdery has joined the channel [12:51] jebberjeb: I'll grab vows :) [12:51] martin_sunset: Everyauth for authentication [12:51] blup has joined the channel [12:52] aklt has joined the channel [12:52] Shrink has joined the channel [12:52] Shrink has joined the channel [12:53] jebberjeb: so mongoose is a pure javascript layer on top of mongodb-native? [12:53] martin_sunset: jebberjeb: Yes and super fast. 5 to 10 times as ruby counterparts [12:54] dexter_e has joined the channel [12:56] CarterL has joined the channel [12:56] lyte has joined the channel [12:56] lyte has joined the channel [12:57] blup_ has joined the channel [12:58] secoif: jebberjeb I've had pretty good experiences with mongoose so far [12:59] RyanD has joined the channel [12:59] jebberjeb: secoif, I'm pretty excited about it, just got one little hang up I'm trying to get over [13:00] jebberjeb: I'm a long time java dev, and if I use ringojs, I'd get hooks to the massive set of tools I'm really familiar with. [13:00] jebberjeb: I want to use node though -- just puts me out of my comfort zone. [13:01] secoif: jebberjeb why use node if you're not going to use node? [13:02] jebberjeb: secoif -- having hooks to what you know are a good hedge against a demanding schedule [13:02] blup has joined the channel [13:02] jebberjeb: I'd use node, but that'd make me feel safe. [13:02] jeromegn has joined the channel [13:02] deedubs has joined the channel [13:05] ayaz has joined the channel [13:06] coderdad has joined the channel [13:06] muam__ has joined the channel [13:06] MCHammer has joined the channel [13:07] garrensmith: what bot is logging all the git commits to this channel? [13:08] willwhite has joined the channel [13:08] emattias has joined the channel [13:08] pandeiro has joined the channel [13:08] jetienne has joined the channel [13:09] thdbased has joined the channel [13:09] Wizek has joined the channel [13:10] thdbased: I have a question about noSQL DB's. I was hoping to use MongoDB but it seems like there is more support for CouchBD when using nodejs [13:10] thdbased: any thoughts? [13:10] swair has joined the channel [13:10] martin_sunset: thdbased: Not true. Check out mongoose [13:10] LifterAH: Lots of discussions on MongoDB lately :) [13:10] blup has joined the channel [13:10] NickJP_ has joined the channel [13:11] martin_sunset: Neo4j support is weak though, but that will change soon I hope [13:11] thdbased: Yeah, I know about Mongoose, but searching for examples I seem to find more stuff on couchBD [13:12] martin_sunset: thdbased: Mongodb is on an insane trajectory right now, don't let the lack of samples fool you [13:12] thdbased: You mean there is new stuff coming concering Mongoose [13:12] LifterAH: Mentioned it earlier, but there's a video on NodeTuts covering Mongoose [13:12] garrensmith: thdbased: depends on what you want to do then choose the db [13:13] thdbased: I have seen the nodetuts video, but since then Mongoose has released a new version [13:13] miccolis has joined the channel [13:13] thdbased: The project is a messaging type of application [13:13] garrensmith: thdbased: if you want to use couchdb checkout lazyboy http://garrensmith/LazyBoy [13:14] npa has joined the channel [13:14] vicapow has joined the channel [13:14] davidsklar has joined the channel [13:14] LifterAH: ah yes, fair enough :) [13:15] bzinger has joined the channel [13:15] thdbased: An up to date tutorial on MongoDB + express + mongoose would be like the holy grale now :) [13:16] thdbased: grail sorry [13:16] Poetro has joined the channel [13:16] Poetro has joined the channel [13:16] martin_sunset: thdbased: I have a sample app online, wait a sec [13:16] thdbased: That would be extreamly handy [13:16] thdbased: thanks for your help btw [13:17] garrensmith: thdbased: this will be useful https://github.com/alexyoung/nodepad [13:17] jarek has joined the channel [13:18] martin_sunset: Https://github.com/mwawrusch/scottyapp-blueprint that's just some experimentation, I would do a lot of stuff differently [13:18] thdbased: garrensmith: thanks! [13:18] garrensmith: cool [13:18] thdbased: martin: thanks also! [13:21] Frippe has joined the channel [13:21] thdbased: Does the nodepad work with all the latest libraries? [13:21] swair has joined the channel [13:21] thdbased: especially mongoose? [13:22] Qbix2 has joined the channel [13:22] sasdsd has joined the channel [13:23] sasdsd: hi,iam unable to install npm in ubuntu...help needed [13:23] thdbased: sasdsd: what's the problem? [13:23] thdbased: use the curl installer [13:23] garrensmith: thdbased: checkout dailyjs website its from a bunch of tutorials he was writing [13:24] thdbased: ok I will [13:24] catb0t has joined the channel [13:25] sasdsd: when iam using curl installer iiam getting error couldnt connect to host [13:26] thdbased: Sure you have a connection? [13:26] Morkel has joined the channel [13:26] sasdsd: yup [13:26] Xano has joined the channel [13:27] sasdsd: how can i configure curl to access a proxy network [13:27] sasdsd: my system is connected to a local lan i.e proxy server [13:28] martin_sunset: sasdsd: Go to the nearest Starbucks;) [13:28] d0k has joined the channel [13:28] sasdsd: intially i was unable to connect to github but after configuring it i was able to [13:28] thdbased: curl -u user:passwd -x my-proxy:888 http://www.get.this/ [13:28] thalll has joined the channel [13:30] Margle has joined the channel [13:31] moop has joined the channel [13:31] metellus has joined the channel [13:31] bogomips has joined the channel [13:32] bwinton has joined the channel [13:32] JasonJS has joined the channel [13:33] thomblake has joined the channel [13:34] thomblake has left the channel [13:35] joaovrmaia has joined the channel [13:38] gopelaez has joined the channel [13:38] lazyshot has joined the channel [13:40] dexter_e has joined the channel [13:40] herbySk has joined the channel [13:41] npa has joined the channel [13:42] _1marc has joined the channel [13:43] rafaelcaricio has joined the channel [13:43] _1marc has left the channel [13:43] sasdsd: when iam using curl to install NPM iam getting error couldnt connect to host,any ideas [13:44] sylvinus_ has joined the channel [13:44] zmbmartin has joined the channel [13:44] swair has joined the channel [13:45] OmidRaha has left the channel [13:46] storrgie has joined the channel [13:48] confoocious has joined the channel [13:48] confoocious has joined the channel [13:49] postwait has joined the channel [13:50] kriszyp has joined the channel [13:51] c4milo has joined the channel [13:52] jstash has joined the channel [13:52] devongovett has joined the channel [13:54] malletjo has joined the channel [13:54] Fabryz has joined the channel [13:56] Joe-Joe has joined the channel [13:56] Marak: can anyone try "curl ohh.io" please? [13:56] Marak: trying to test webscale [13:56] martin_sunset: Sure [13:56] Marak: thanks martin_sunset ! [13:56] ilikeit has joined the channel [13:56] Marak: the first version leaked memory like crazy [13:56] Marak: i think its all under control now [13:56] martin_sunset: I remember :) [13:57] martin_sunset: Marak: Btw, integrating your API this week [13:57] Fabryz: curl on status got control of my terminal [13:57] Marak: Fabryz: can you see the memory usage? [13:57] Marak: Fabryz: maybe on the upper left? [13:58] martin_sunset: Marak: Flames stop after 10 secs or so [13:58] Fabryz: memory usage is "noclipping" with the old terminal text, but yes [13:58] Marak: martin_sunset: thats expected yeah [13:58] Marak: Fabryz: you can maybe do -N ? [13:58] Marak: martin_sunset: i think only /status and /spin go forever [13:58] Marak: its all oss :-D [13:59] Fabryz: no, it doesn't clear the terminal window [13:59] herbySk has joined the channel [13:59] mikedeboer has joined the channel [14:00] martin_sunset: Marak: Yeah it spins and spins. How long should I keep it running [14:00] Marak: martin_sunset: foooorreeeevverrrrrr [14:00] Marak: i think [14:00] Marak: this is good, the load balancer isnt even blinking [14:00] Fabryz: oooh the welder :3 [14:00] martin_sunset: Marak: Great [14:01] Marak: curl requests were taking like 20 megs each before [14:01] Marak: was a nasty bug in http-proxy [14:01] jtrudeau has joined the channel [14:02] Marak: how do you guys stress test your software? with streaming ANSI animations. [14:02] Jinmo has joined the channel [14:02] martin_sunset: Marak: Load impact.com and praying [14:03] Marak: okay, who dares me to post this online again? [14:03] martin_sunset: Marak: But I will switch to ASCII animations;) [14:03] hydrozen has joined the channel [14:03] augustl: does node have buffer concatination? [14:04] augustl: new Buffer([0x00, 0x01]) + new Buffer([0x02, 0x03]) ends up toString()-ing the buffers [14:04] augustl: (obviously) [14:04] augustl: var newBuffer = aBuffer.concat(otherBuffer) would be useful [14:04] Jinmo: uh-oh, npm s**ks me! (on windows) [14:04] sasdsd: npm installation help plz [14:05] hij1nx has joined the channel [14:06] Jinmo: i want to install iconv extended for node.js, and i'm using windows 7. i already have cygwin, but it shows error when i use 'make' commands with NODE_PATH (syntax error). [14:06] tazrover has joined the channel [14:06] Jinmo: i have searched it for few days, but i can't find the reason. what should i do? [14:07] jstash has joined the channel [14:08] k1ttty has joined the channel [14:08] JakeyChan: hi ? [14:09] fumanchu182 has joined the channel [14:09] aron_ has joined the channel [14:09] JakeyChan: I have installed node 0.5.6 but it's not compatible my project. [14:09] JakeyChan: now I want to rebuild it to 0.4 [14:09] JakeyChan: do you have good idea for rebuilding ? [14:10] Fabryz: clone the official repo and git checkhout@v0.4.12? [14:10] Fabryz: -h [14:10] JakeyChan: and then ? [14:10] Industrial: JakeyChan: make uninstall [14:10] Industrial: then install 0.4 [14:10] Industrial: (cat Makefile) [14:10] augustl: aww, no buffer concat. Oh well [14:11] Margle has joined the channel [14:11] JakeyChan: make uninstall >> make install ? [14:11] JakeyChan: yes ? [14:11] JakeyChan: or make uninstall >> make config >> make install ? [14:12] SomeoneWeird has joined the channel [14:12] jstash: there's also `npm rebuild` [14:12] jstash: (doesn't rebuild node, just the modules you've got installed) [14:12] jstash: JakeyChan: that will probably work [14:12] jstash: except don't use '>>' literally, of course [14:12] SomeoneWeird has joined the channel [14:13] JakeyChan: OK [14:13] N0va` has joined the channel [14:13] Jinmo: how to convert unicode to ansi? [14:13] Jinmo: should i use node-iconv? [14:16] MCHammer: anyone familiar with nowjs/syncronous requests? [14:16] MCHammer: i want to wait for the result of a function [14:16] MCHammer: and i dont want to use a timeout [14:16] pixel13 has joined the channel [14:17] jocafa has joined the channel [14:17] coderdad has joined the channel [14:18] jbpros has joined the channel [14:18] kkszysiu has joined the channel [14:19] pixel13 has left the channel [14:19] jslatts has joined the channel [14:19] hij1nx has joined the channel [14:20] Jinmo: use callback method instead of blocking. it doesn't supports blocking without using while/do syntax. [14:20] waterhead has joined the channel [14:21] fumanchu182 has joined the channel [14:21] ghankstef has joined the channel [14:21] waterhead: does anyone know if it's possible to use web sockets (via socket.io) within a web worker script? [14:22] mmalecki has joined the channel [14:22] tjholowaychuk has joined the channel [14:22] MCHammer has joined the channel [14:24] igl1 has joined the channel [14:24] ghankstef: waterhead: seems like you should be able to never tried it so ymmv [14:24] charlenopires has joined the channel [14:24] McMAGIC--Copy has joined the channel [14:25] ghankstef: I have a little chat server made with the now js package. Works great. Question is if several  sites connect  to  one   chat server  made with  now js /node js    -  will all the sites  see each others  messages? [14:25] sasdsd: when iam using curl to install npm,i am getting following error....Installing without make. This may fail. Failed to get tarball url for npm/latest [14:25] vipaca has joined the channel [14:25] sasdsd: help please [14:25] vipaca has joined the channel [14:25] c4milo: waterhead: there is a recent change in socket.io-client that makes it work with webworkers. [14:25] ghankstef: sasdsd: I get Installing without make. This may fail too [14:25] c4milo: waterhead: https://github.com/LearnBoost/socket.io-client/commit/bbdf68975c91a4d1e915ac3559259ace0dce7c20 [14:25] fumanchu182 has joined the channel [14:26] ghankstef: sasdsd: but it still works I did it like this: curl http://npmjs.org/install.sh | sudo sh [14:26] c4milo: waterhead: I haven't try it yet though [14:27] chrixian has joined the channel [14:27] spoletto has joined the channel [14:28] dthompso99 has joined the channel [14:28] pbwilmot has joined the channel [14:28] dthompso99 has left the channel [14:29] waterhead: c4milo: thanks i'll try it out [14:29] sasdsd: when iam using curl to install npm,i am getting following error....Installing without make. This may fail. Failed to get tarball url for npm/latest [14:29] SomeoneWeird has joined the channel [14:30] martin_sunset: Hmm have you done apt-get build-essentials make [14:30] sasdsd: no [14:30] martin_sunset: Or something similar, dunno he exact syntax [14:30] enmand has joined the channel [14:31] sasdsd: what do i have to build [14:31] martin_sunset: Sudo apt-get install build-essential [14:31] swair has joined the channel [14:31] yhahn has joined the channel [14:31] martin_sunset: Should instal the build tools on ubuntu [14:31] yhahn has left the channel [14:32] martin_sunset: If that does not include make then perhaps sudo apt-get install make [14:32] martin_sunset: But my Linux knowledge is rusty [14:32] joshkehn has joined the channel [14:32] davemo has joined the channel [14:32] joshkehn has left the channel [14:32] Fabryz: did you try the other install version? [14:32] Fabryz: git clone git://github.com/isaacs/npm.git [14:32] Fabryz: cd npm [14:32] Fabryz: make install [14:33] martin_sunset: Fabryz: I think he has no make installed [14:34] sasdsd: i tried it,but iam getting some errconnection errors in that method [14:34] Fabryz: martin_sunset then he heeds that build_essentials [14:35] spoletto has joined the channel [14:35] Fabryz: sasdsd with sudo apt-get build_essentials? [14:35] sasdsd: i did it but still no improvement [14:35] sasdsd: but ofcourse now iam not getting error but still nothing is downloaded [14:36] bwinton has joined the channel [14:36] kriszyp has joined the channel [14:37] spoletto has joined the channel [14:38] spiffytech has left the channel [14:38] hwinkel has joined the channel [14:38] jerrysv has joined the channel [14:41] jerrysv: mmalecki: ping [14:41] ryanfitz has joined the channel [14:41] mmalecki: jerrysv: hi [14:41] slifty_corsair has joined the channel [14:42] jerrysv: mmalecki: hello! all tests passed on windows, 0.5.10, but isolate still had failures [14:42] jerrysv: wonder if that should just be warned about for windows [14:42] jerrysv: disclaimed for the short term [14:43] mmalecki: jerrysv: ah, ok, thanks for checking it out man :) [14:43] ceej has joined the channel [14:43] mmalecki: jerrysv: main problem is /dev/null [14:43] jerrysv: mmalecki: np. needed to make sure everything was copacetic anyways [14:43] jerrysv: mmalecki: yeah, no real analog on windows [14:44] mmalecki: there's NUL, but still, it's a hack [14:44] mmalecki: one day I will write a node module for all those special devices in /dev [14:44] mmalecki: it just isn't a priority now, sorry [14:44] jerrysv: you have much more time than i :) [14:45] mmalecki: jerrysv: not really, I have a job and school [14:45] mmalecki: jerrysv: but yeah, I will try writing it asap [14:45] akamike has joined the channel [14:45] pHcF has joined the channel [14:46] jerrysv: mmalecki: my "free" time last night was wedged between a cigar and the gf getting home [14:46] mmalecki: jerrysv: ok, you win ;) [14:46] jerrysv: unfortunately, that only left enough time to get windows up and running [14:48] jerrysv: and i have to say, it isn't a very pleasant dev environment. never did get npm installed, and couldn't figure out how to get js scripts registered to run with node [14:48] mmalecki: jerrysv: couldn't agree more [14:49] neurodrone has joined the channel [14:49] micheil has joined the channel [14:50] EyePulp has joined the channel [14:50] Croms has joined the channel [14:51] mandric has joined the channel [14:51] Aphelion has joined the channel [14:51] kriszyp has joined the channel [14:52] fatjonny has joined the channel [14:52] ceej has joined the channel [14:52] swair has joined the channel [14:52] luizlopes has joined the channel [14:52] sub_pop has joined the channel [14:54] mdaisuke has joined the channel [14:55] MacDiva has joined the channel [14:55] jbpros has joined the channel [14:55] SoulRaven has joined the channel [14:57] airhorns has joined the channel [15:00] CoverSlide: Happy Divali!! [15:01] Ang3 has joined the channel [15:01] kriszyp has joined the channel [15:02] swair has joined the channel [15:04] dylang has joined the channel [15:05] anveo has joined the channel [15:05] mdaisuke has joined the channel [15:06] dexter_e has joined the channel [15:06] blup has joined the channel [15:08] jsurfer has joined the channel [15:12] blup has joined the channel [15:12] Vennril has joined the channel [15:13] JasonJS: All the reading I'm doing is putting 'new' way ahead of Object.create in V8 from a performance perspective - is this still the case? [15:14] Renegade001 has joined the channel [15:14] JasonJS: I ask because the articles are all rather old [15:14] davidwalsh has joined the channel [15:14] devongovett has joined the channel [15:15] DrHeiter23 has joined the channel [15:15] matehat has joined the channel [15:15] smtlaissezfaire has joined the channel [15:15] rafaelcaricio has joined the channel [15:16] DrHeiter23: Is there anything I should consider or something special I need to do if I want to setup a long interval. Say on the order of 30 minutes to couple of hours? Should I use a cron job instead or would it be okay to use an javascript timer to trigger this? [15:16] dget has joined the channel [15:17] mikeycgto has joined the channel [15:17] mikeycgto has joined the channel [15:17] airportyh has joined the channel [15:17] JasonJS: Is it a one off process that is being run or is it something that is part of a bigger system? [15:18] mmalecki: DrHeiter23: what kind of thing are you putting in the interval? [15:18] wankdanker: DrHeiter23: i'd consider what happens if the process crashes and you restart it, is it ok if the interval is triggered 30 minutes from that time? [15:18] Wa has joined the channel [15:19] JasonJS: Cron will (theoretically) be more reliable then a js timer, plus it will survive app crashes. It really depends on what you are trying to do. [15:19] ksheurs has joined the channel [15:19] ksheurs has left the channel [15:20] simenbrekken has joined the channel [15:20] DrHeiter23: ok but really other than dealing with app crashes (Im using 'forever' to bring it back) there's technically nothign wrong with it [15:20] hipsterslapfight: alternatively you could hire somebody to press the button every half an hour [15:20] colinclark has joined the channel [15:20] JasonJS: hipsterslapfight: That's known as the 'Lost' solution [15:20] hwinkel has joined the channel [15:21] JasonJS: hipsterslapfight: :P [15:21] tjholowaychuk: DrHeiter23 SIGCHLD? [15:22] jonrohan has joined the channel [15:22] saikat has joined the channel [15:23] slifty_corsair has joined the channel [15:23] jbpros has joined the channel [15:25] waterhead has joined the channel [15:25] chrixian has joined the channel [15:26] AphelionZ has joined the channel [15:27] jamund has joined the channel [15:28] _aron has joined the channel [15:29] pizthewiz has joined the channel [15:30] Poetro_ has joined the channel [15:30] Poetro_ has joined the channel [15:31] tekky has joined the channel [15:31] mc_greeny has joined the channel [15:32] sonnym has joined the channel [15:33] ayaz has joined the channel [15:34] gsmcwhirter has joined the channel [15:35] michaeldeol has joined the channel [15:37] martin_sunset has joined the channel [15:39] EyePulp: yo ho ho [15:40] adrianmg has joined the channel [15:40] flagg0204 has joined the channel [15:40] adrianmg has left the channel [15:42] Spion_ has joined the channel [15:43] Ang3 has joined the channel [15:44] idefine has joined the channel [15:44] hij1nx has joined the channel [15:44] ej_ has joined the channel [15:45] tiagobutzke has joined the channel [15:46] cjroebuck has joined the channel [15:47] ank has joined the channel [15:48] JSManiacs has joined the channel [15:49] jeromegn has joined the channel [15:49] Zamarok has joined the channel [15:50] kfly8 has joined the channel [15:51] caolanm has joined the channel [15:52] Wa has joined the channel [15:53] shanebo has joined the channel [15:53] hugodias has joined the channel [15:55] decaf has joined the channel [15:55] decaf has joined the channel [15:56] chrislorenz has joined the channel [15:56] helloworld has joined the channel [15:57] svnlto has joined the channel [15:58] dmbch has joined the channel [15:59] charlenopires has joined the channel [15:59] bogomips2_ has joined the channel [15:59] don_burks has joined the channel [16:01] colinclark has joined the channel [16:01] nibblebot has joined the channel [16:02] bogomips2__ has joined the channel [16:02] dget has joined the channel [16:02] neerolyte has joined the channel [16:03] isaacs has joined the channel [16:04] Cromulent has joined the channel [16:04] Ang3 has joined the channel [16:05] isaacs: jerrysv: what's not a pleasant environment? (my bot spy saw "never could get npm installed" in teh logs) [16:06] smathy has joined the channel [16:07] jerrysv: isaacs: windows :) [16:07] pointlessjon has joined the channel [16:07] isaacs: jerrysv: ah. [16:07] isaacs: should be better very very soon. [16:07] isaacs: tar.js is coming. [16:07] isaacs: and i'm going to be droping a release today that'll get rid of that annoying bin folder bs. [16:07] kOld has joined the channel [16:07] jerrysv: isaacs: gave up getting npm installed, copied over my code to run my tests. but that was more of a slur toward windows itself [16:08] jerrysv: bin folders in the package.json, or ? [16:08] materialdesigner has joined the channel [16:08] isaacs: jerrysv: nono, it only works if you have node.exe in a folder named "bin", which is in your %PATH% [16:08] isaacs: so typing c:\node\npm.cmd won't actually work, since it's only pulling node.exe from the %PATH% [16:08] isaacs: not from the same dir it's in [16:08] mmalecki has joined the channel [16:08] jerrysv: aha [16:09] isaacs: with the next release, you can just dump all your node/npm stuff in a folder, and it'll work, which is more the windows style. [16:09] isaacs: i just need to document it. [16:10] jerrysv: thankfully i only need to enter that realm when verifying things work. my only compiled library is not for production use, so don't really care if it doesn't work in windows [16:11] blissdev has joined the channel [16:12] sveimac has joined the channel [16:13] jetienne has joined the channel [16:13] Fabryz has left the channel [16:14] jtsnow has joined the channel [16:15] _dc has joined the channel [16:16] mdaisuke has joined the channel [16:16] N0va` has joined the channel [16:17] _rgl has joined the channel [16:17] knifed has joined the channel [16:20] StanlySoManly has joined the channel [16:23] broofa has joined the channel [16:23] ryanrolds_w has joined the channel [16:24] githogori has joined the channel [16:24] EhevuTov has joined the channel [16:25] fairwinds has joined the channel [16:25] Venom_X has joined the channel [16:25] p3rsist has joined the channel [16:26] saikat has joined the channel [16:27] isaiah_ has joined the channel [16:29] jonrohan has joined the channel [16:30] jonrohan2 has joined the channel [16:32] aguynamedben has joined the channel [16:32] N0va` has joined the channel [16:32] Carter has joined the channel [16:33] BillyBreen has joined the channel [16:33] kylefox has joined the channel [16:34] DarkGrey has joined the channel [16:36] marlun has joined the channel [16:36] marlun has joined the channel [16:38] te-brian2 has joined the channel [16:39] micxer has joined the channel [16:40] socketio\test\09 has joined the channel [16:41] Ang3 has joined the channel [16:41] EyePulp: This might be one of my dumber issues - I've changed something with my cluster settings that causes it to exit completely on error rather than start up a new worker in its palce. [16:42] EyePulp: *place [16:43] briemens_ has joined the channel [16:43] EyePulp: using 0.5.5 and (i think) the latest cluster [16:44] passionke1 has joined the channel [16:44] albertosh has joined the channel [16:45] tjholowaychuk: it doesnt work with 0.5.x [16:45] captain_morgan has joined the channel [16:45] knifed has joined the channel [16:47] EyePulp: wait, *any* version of cluster doesn't work with 0.5.x? [16:47] tjholowaychuk: nope nothing [16:48] tjholowaychuk: didn't realized I had node: "*" [16:48] tjholowaychuk: for the engine [16:48] maletor has joined the channel [16:48] CoverSlide: doesnt >= 0.5.5 use libuv for forking ? [16:49] tjholowaychuk: yup [16:49] EyePulp: crap - what's the correct approach for non-dying workers under (I guess) 0.5.10 ? [16:49] tjholowaychuk: it's just not very flexible yet [16:49] devongovett has joined the channel [16:49] tjholowaychuk: EyePulp nothing yet [16:49] jaequery has joined the channel [16:49] EyePulp: awesome. I should probably write more perfect code then. [16:50] tjholowaychuk: haha motivation ! [16:50] EyePulp: ACTION isn't laughing as much. [16:50] EyePulp: =\ [16:50] gxdssoft has joined the channel [16:50] tjholowaychuk: im in no hurry for 0.5.x that's for sure [16:50] chrislorenz has joined the channel [16:50] tjholowaychuk: not until the dust settles at least [16:50] EyePulp: am I just late to the party as to what the plan is? Or should I stay on 0.4. something? [16:51] TooTallNate has joined the channel [16:51] _th_n_ has joined the channel [16:51] mdaisuke has joined the channel [16:51] tjholowaychuk: we have like 70+ deps so there's no way we're upgrading right away [16:51] mmalecki: bnoordhuis: hey, there was someone here yesterday mentioning that v8 gets compiled twice, right? [16:52] JSManiacs has joined the channel [16:52] EyePulp: tjholowaychuk: so are you on what.. 0.4.9 ? [16:52] tjholowaychuk: 0.4.12 [16:52] towski has joined the channel [16:52] cl0udy has joined the channel [16:52] dshaw_ has joined the channel [16:52] EyePulp: which cluster still works under [16:53] tjholowaychuk: yup [16:53] EyePulp: oy [16:53] ph^ has joined the channel [16:54] coderdad has joined the channel [16:55] briancray has joined the channel [16:56] Frippe has joined the channel [16:56] bartt has joined the channel [16:57] lyte has joined the channel [16:57] lyte has joined the channel [16:57] deedubs: EyePulp: I'm saying on the 0.4.x branch for the foreseeable future [16:57] EyePulp: fair enough - are you freezing your npm packages too? [16:57] trotter has joined the channel [16:57] deedubs: don't see a net positive to moving to MS bloatware edition [16:57] isaacs: deedubs: there are many many benefits. [16:58] deedubs: yeah lock them in at 0.4 compat versions in package.json [16:58] Cover|Meeting: libuv is pretty robust [16:58] isaacs: deedubs: bugs will not be fixed in 0.4 (and several such bugs are already fixed in 0.5). libuv is faster. [16:58] isaacs: deedubs: i'm not sure what you are calling bloatware, really. it's not like you need to install the .net clr to use node 0.5 or anythign. [16:58] shipit has joined the channel [16:58] sh1mmer has joined the channel [16:58] deedubs: sorry that was harsh [16:58] mikedeboer has joined the channel [16:58] Margle has joined the channel [16:58] secoif: deedubs probably good for the node community in regards to providing a decent alternative for the poor saps in locked into windows environments [16:59] Cover|Meeting: it compiles differently, just like python, php, ruby, etc use the same core codebase whether compiled on windows or *nix [16:59] deedubs: (actually thought I was on a diff channel not haha) [17:00] perezd has joined the channel [17:00] cl0udy_ has joined the channel [17:00] isaacs: deedubs: the binary, with all deps, is still <8mb [17:00] Cover|Meeting: it's just adding a new lib which aloows for cross-platforms stuff [17:00] secoif: deedubs and the windows IT departments are used to parting with their money so mo' money injected into the node community = good [17:00] isaacs: deedubs: and that's with openssl and zlib and stuff. [17:00] deedubs: isaacs: Any good benchmarks showing say, an express app that's faster on 0.5 than on 0.4 [17:00] tjholowaychuk: deedubs doesnt really matter [17:00] tjholowaychuk: to be honest [17:00] deedubs: isaacs: I retract the bloatware statement [17:00] pbwilmot has joined the channel [17:01] isaacs: deedubs: forgiven ;) [17:01] dgathright has joined the channel [17:01] isaacs: deedubs: you should definitely upgrade, though. [17:01] EyePulp: with as much of a module ecosystem as is growing up around node, it sometimes feels like design decisions are made to node w/o regard as to the impact. With something this new that's an obvious risk, but the truth is node's popularity is becoming tied to the enthusiasm of the developers building modules for it. That's a difficult relationship to maintain with constant core changes. (my two cents, with a limited knowledge of actual d [17:01] EyePulp: =) [17:01] sh1mmer: does express run on 0.5 yet? [17:01] tjholowaychuk: sh1mmer kinda [17:01] tjholowaychuk: should be ok [17:01] sh1mmer: I thought it still required 0.4 [17:01] sh1mmer: ok [17:01] sh1mmer: sweet [17:01] jsurfer has joined the channel [17:01] sh1mmer: I loose track of your productivity [17:01] sh1mmer: ;) [17:02] deedubs: tjholowaychuk: what doesn't matter the speed? [17:02] isaacs: deedubs: also, at some point, npm will stop supporting 0.4 [17:02] Vertice has joined the channel [17:02] tjholowaychuk: yeah, for most at least [17:02] tjholowaychuk: our app is pretty slow [17:02] tjholowaychuk: with all the stuff we have going [17:02] tjholowaychuk: not like rails slow but slow [17:02] sdwrage has joined the channel [17:02] deedubs: tjholowaychuk: I agreed was just looking for backing that node 0.5 was faster [17:03] tjholowaychuk: it's somewhat irrelvant though unless you get 40m+ requests a day [17:03] isaacs: deedubs: haven't tested with express apps [17:03] isaacs: deedubs: but there's a few benchmarks in node, and they get run frequently. ryah is a strict taskmaster with making sure that node cannot be allowed to get slower, ever. [17:03] dshaw_1 has joined the channel [17:04] secoif: the new easy clustering feature should allow people to easily handle more connections anyway, yes? [17:04] deedubs: tjholowaychuk: yeah agreed most speed metrics don't apply in the real world [17:04] EyePulp: right now cluster support is more important than libuv fixes for me - git checkout v0.4.12 fails though -- what's the 4.12 tag? [17:04] bosphorus has joined the channel [17:04] tjholowaychuk: EyePulp you might have to fetch the tags [17:05] skm has joined the channel [17:05] wadey has joined the channel [17:05] hipsterslapfight has joined the channel [17:05] davidascher has joined the channel [17:06] isaacs: EyePulp: i see it. you probably need to `git fetch --all joyent` [17:06] bzinger has joined the channel [17:06] isaacs: or upstream or whatever you called it [17:06] isaacs: git fetch --all git://github.com/joyent/node.git [17:06] deedubs: isaacs: hasn't the move to support windows cost us features that only work on *nix systems? [17:07] EyePulp: isaacs: danke - there it is [17:07] EyePulp: deedubs: that's an interesting question [17:07] isaacs: deedubs: some things have shifted around, but generally, if it there was a way to do it in unix before, there still is. [17:07] fzzzy has joined the channel [17:08] deedubs: like domain sockets [17:08] tjholowaychuk: it would be nice if we could still get at some of that stuff [17:08] shapeshed has joined the channel [17:09] hipsterslapfight has joined the channel [17:09] isaacs: unix sockets are still there, and dgram is still there. udp domain sockets are not. [17:09] chrislor_ has joined the channel [17:09] isaacs: deedubs: were you sending datagram packets over unix domain sockets? [17:09] isaacs: ;P [17:10] deedubs: no [17:10] isaacs: also, you can no longer pass arbitrary file descriptors in as many places. [17:10] isaacs: var stream = new net.Stream(fd) <-- don't know if that works now, but it didn't for a while. [17:10] EyePulp: if the goal is 100% equality across platforms, it seems like you end up with the least features limited by the weakest platform. If it's super-corner-case issues, then it's probably not worth whining too much about. I'm not smart enough to know the difference. =P [17:10] isaacs: you can still open sockets, though. [17:11] isaacs: really, windows can do pretty much everything that unix can, and if you don't care about unix, then you can still do the same stuff you did before [17:11] kazupon_ has joined the channel [17:11] isaacs: domain sockets were a pita anyway, as i understand it. [17:11] isaacs: support-wise [17:11] EyePulp: I care about YOU isaacs. [17:11] isaacs: awwww [17:11] EyePulp: =) [17:11] isaacs: thanks :) [17:11] deedubs: but I was using nginx to proxy to node via domain sockets does that still work? [17:11] isaacs: deedubs: nginx can do that...? [17:12] tilgovi has joined the channel [17:12] tilgovi has joined the channel [17:12] dnyy has joined the channel [17:12] tazrover has joined the channel [17:13] ambroff has joined the channel [17:13] donald_cook has joined the channel [17:14] Isaiah has joined the channel [17:15] jimt has joined the channel [17:15] waterhead has joined the channel [17:15] deedubs: isaacs: ala https://gist.github.com/1313537? still possible? [17:15] isaacs: ah. deedubs, that's not a unix domain socket. that's a file system socket. [17:15] isaacs: and yes, it's still possible. [17:15] deedubs: okay cool [17:15] waterhead has left the channel [17:15] deedubs: was mistaken [17:16] isaacs: ie, that's doing tcp over a unix socket, not udb over a unix domain socket. just part of the subtle annoying confusing details there ;) [17:16] EyePulp: tjholowaychuk: my error still seems to kill the cluster - running under 0.4.12 now [17:17] tylerstalder has joined the channel [17:17] whalesofthesky has joined the channel [17:17] brion has joined the channel [17:18] FMJaguar has joined the channel [17:20] Morkel has joined the channel [17:21] ryanrolds_w has joined the channel [17:23] PhilK has joined the channel [17:24] CrisO has joined the channel [17:25] deedubs: isaacs: For some reason I hallucinated the second version of this http://nodejs.org/docs/v0.5.10/api/http.html#server.listen was gone [17:25] bengrue has joined the channel [17:25] aklt has joined the channel [17:25] JaKWaC has joined the channel [17:26] isaacs: it happens. we're all running on flaky hardware. [17:26] jaredhanson has joined the channel [17:27] Renegade001 has joined the channel [17:27] eb4890 has joined the channel [17:27] bnoordhuis: mmalecki: yes [17:27] deedubs: flaky memories :/ [17:28] mmalecki: bnoordhuis: happens here as well [17:28] smus has joined the channel [17:28] bnoordhuis: mmalecki: and here [17:28] mmalecki: bnoordhuis: I compile, and when I make install, it's compiled again [17:28] mmalecki: oh, good [17:28] sylvinus has joined the channel [17:28] bnoordhuis: it's either a bug in gyp or in our gyp scripts [17:28] bnoordhuis: but probably the former [17:29] hij1nx has joined the channel [17:30] dnyy has joined the channel [17:32] colinclark has joined the channel [17:33] CrisO has joined the channel [17:33] Lemminkainen has joined the channel [17:34] whitman has joined the channel [17:34] LogiK has joined the channel [17:34] jaredhanson: I'd like to get my first post to the nodejs mailing list (on Google Groups) out of the moderation queue. Who should I ask? [17:35] Lemminkainen: hallo hallo, an airplane-altitude question: what makes node.js better for web projects than, say, Django, Sinatra, or Flask? [17:35] Lemminkainen: I'm trying to choose a new backend web framework to learn and would like to hear about your experiences with node.js v. other stuff [17:35] jaredhanson: The message was announcing my latest project: https://github.com/jaredhanson/passport [17:37] Wizek-other has joined the channel [17:37] jetienne has joined the channel [17:37] martin_sunset: jaredhanson: This is awesome, I so need this [17:37] jaredhanson: Thanks! I needed it too :) [17:38] secoif: Lemminkainen web projects? that's pretty broad [17:38] kOld has joined the channel [17:38] secoif: Lemminkainen what kind of web projects? [17:39] Lemminkainen: more specifically: I want to build an app that allows, like so many others, users to push and pull data from a cloud and format it all pretty-like [17:39] reid has joined the channel [17:39] agnat_ has joined the channel [17:39] martin_sunset: jaredhanson: Anything that I need to be aware of when using it? [17:40] tjholowaychuk: Lemminkainen code sharing between the client/browser can be pretty handy [17:40] tjholowaychuk: we're using that a lot [17:40] jaredhanson: The docs are pretty extensive, and its fully operational, so it should work out of the box. [17:40] jaredhanson: Let me know if you have any questions, though, after you dive into it. [17:40] martin_sunset: jaredhanson: Cool, thx. I'll integrate it this week [17:41] Lemminkainen: tjholowaychuk: does node.js handle asynchronous get/posts nicely when you distribute code sharing like that? [17:41] tjholowaychuk: Lemminkainen: why wouldn't it? [17:41] Lemminkainen: Django doesn't, so I have to ask because I no longer give automatic trust [17:42] tjholowaychuk: hm [17:42] secoif: jaredhanson: that's amazing, i was just looking for this this morning [17:42] jaredhanson: secoif: thanks! glad you like it [17:42] secoif: Lemminkainen by code sharing, tjholowaychuk is talking about using the same code on server as on the client… is that what you mean with django? [17:43] tjholowaychuk: yeah [17:43] secoif: jaredhanson as in, that's exactly what I was talking about. [17:43] Lemminkainen: secoif nope, Django doesn't do that nicely and I'm trying to wrap my head around how node.js differs and improves (hopefully) on other web frameworks here [17:43] tjholowaychuk: not really a node thing [17:43] tjholowaychuk: just a js thing [17:43] tjholowaychuk: node is not really comparable to django [17:44] tjholowaychuk: and by not really, I mean not at all :D [17:44] Lemminkainen: excellent [17:44] tjholowaychuk: much lower level but you can stitch together the 3rd-party libraries pretty easily to craft what you want [17:44] Lemminkainen: so tjholowaychuk what about node.js gets your epeen excited? [17:44] jaredhanson: secoif: yeah, authn is one of those persistently annoying things that I wanted to solve for good [17:44] liar has joined the channel [17:45] patcito has joined the channel [17:45] art_ has joined the channel [17:45] jesusabdullah: epeen? gross. [17:45] CarterL has joined the channel [17:45] tjholowaychuk: Lemminkainen it's great for most things, business logic not so much [17:45] boltR has joined the channel [17:45] secoif: jaredhanson what's your opinion of the other auth libs [17:45] art_ has left the channel [17:45] tjholowaychuk: callbacks get very annoying [17:45] tjholowaychuk: but i like javascript [17:46] martin_sunset: jaredhanson: I am looking for oauth2 provider code, ideally 22 compatible. You know of good ones? [17:46] mikeric has joined the channel [17:46] secoif: tjholowaychuk callbacks disappear if you use something like Step [17:46] tjholowaychuk: ew [17:46] Lemminkainen: what do you mean by "business logic"? [17:46] tjholowaychuk: that's even worse [17:46] secoif: haha, I had a feeling you wouldn't like it [17:46] secoif: why [17:47] jaredhanson: secoif: my biggest point - auth libs that mount routes in your app violate encapsulation. I avoided that, and so a simpler API can be exposed [17:47] tjholowaychuk: coros are the only acceptable solution to that IMO [17:47] secoif: coros? [17:47] tjholowaychuk: not for servers or networking libraries [17:47] tjholowaychuk: but for web apps [17:47] martin_sunset: Lemminkainen: That's typical code that contains lots of queries, one after the other. Pita [17:47] secoif: eg, it makes it really easy to fire off a bunch of requests in parallel, and only move to the next step once all have finished [17:47] secoif: saves, a good, 3 lines of code [17:48] AvianFlu has joined the channel [17:48] Lemminkainen: thanks martin_sunset but shouldn't it be possible to make queries modular? [17:48] jaredhanson: secoif: both everyauth and connect-auth mount routes, which left me with an uneasy feeling and made certain integrations challenging [17:49] cdibened has joined the channel [17:49] jaredhanson: martin_sunset: as in you want to be the oauth provider, rather than the client? [17:49] martin_sunset: Lemminkainen: Yes, actually hook.io + noflo will do that for node and business logic [17:50] secoif: martin_sunset you're using hookio in production? [17:50] martin_sunset: jaredhanson: Yeah, I use rack-auth-server from aasaf I ruby, need something similar in node [17:50] p1d has joined the channel [17:50] Lemminkainen: martin_sunset: \o/ [17:50] martin_sunset: secoif: For background tasks, yes. Wrote a bunch of hooks [17:51] martin_sunset: secoif: That was a learning experience, I can tell you :) [17:51] jaredhanson: martin_sunset: I haven't seen that in Node yet, but its high on my to-do list to provide a wrapper for that in Passport [17:51] jaredhanson: martin_sunset: and implement a necessary lower-level OAuth 2 server module, if necessary [17:52] jarek has joined the channel [17:52] jarek has joined the channel [17:52] martin_sunset: jaredhanson: I need to get this done in a week, so perhaps we can collaborate [17:52] xtianw has joined the channel [17:52] jaredhanson: martin_sunest: sure, drop me an email [17:53] jaredhanson: martin_sunset: my nick at gmail [17:53] ryah: are express and socket.io working on v0.5.10 yet? [17:53] martin_sunset: jaredhanson: K [17:53] dnyy has joined the channel [17:53] tjholowaychuk: ryah express should be, not sure about socket.io [17:53] ryah: tjholowaychuk: that bug i had yesterday is worked out? [17:53] ryah: tjholowaychuk: btw how do i run the tests for express? [17:54] tjholowaychuk: make test [17:54] tjholowaychuk: after installing the dev deps [17:54] tjholowaychuk: in the 2.x branch [17:55] tjholowaychuk: the tests are pretty flakey right now, i plan on rewriting them but that'll be a while [17:55] vidi has joined the channel [17:55] Renegade001 has joined the channel [17:57] martin_sunset: jaredhanson: Sent you an email. [17:57] grekko has joined the channel [17:58] EvRide has joined the channel [17:58] Cheery has joined the channel [17:58] Cheery: baudehlo: are you there at the moment? [17:59] shapeshed has joined the channel [17:59] jaredhanson: martin_sunset: not delivered yet... double check the addr? [17:59] Cheery: baudehlo: oh well.. I'll look into the source to figure out why is it giving old address to RCPT TO [18:00] martin_sunset: Ahhh, o instead of e [18:01] zeade has joined the channel [18:02] coderdad has joined the channel [18:02] jaredhanson: martin_sunset: got it, will follow up this afternoon [18:02] daneroo has joined the channel [18:03] sineltor has joined the channel [18:04] tylerstalder has joined the channel [18:04] sh1mmer has joined the channel [18:04] baudehlo: Cheery: I'm here. Though you should join #haraka and talk there. [18:05] Cheery: you have an irc channel these days? [18:05] Cheery: :) [18:05] baudehlo: yes, on here. [18:06] Cheery: hmm.. maybe I'll put this in autojoin [18:06] Cheery: there. :) [18:07] wankdanker has joined the channel [18:07] SargoDarya: Gd evening guys [18:10] metellus has joined the channel [18:11] Nietecht has joined the channel [18:11] dmose has joined the channel [18:13] daneroo has joined the channel [18:17] EhevuTov has joined the channel [18:17] _rgl has joined the channel [18:17] sylvinus has joined the channel [18:18] CrisO has joined the channel [18:19] TooTallNate: isaacs: ping [18:19] TooTallNate: is there a way to specify the depth of `npm ls`? [18:20] TooTallNate: and/or just print out the top-level of modules in a node_modules dir? [18:20] isaacs: TooTallNate: --depth [18:20] isaacs: http://npmjs.org/doc/config.html#depth [18:20] TooTallNate: thanks isaacs [18:21] ej__ has joined the channel [18:21] springmeyer has joined the channel [18:21] smus has left the channel [18:24] stepheneb has joined the channel [18:25] ninjapig has joined the channel [18:25] ninjapig has joined the channel [18:25] fzzzy has joined the channel [18:26] aaronmcadam has joined the channel [18:26] maushu has joined the channel [18:27] jetienne_ has joined the channel [18:27] ryanfitz_ has joined the channel [18:27] garrensm_ has joined the channel [18:30] mikeal has joined the channel [18:31] Margle has joined the channel [18:32] aguynamedben_ has joined the channel [18:32] socketio\test\51 has joined the channel [18:32] mmalecki has joined the channel [18:32] daneroo has joined the channel [18:32] `3rdEden has joined the channel [18:33] markdaws has joined the channel [18:35] superjudge has joined the channel [18:36] willwh has left the channel [18:37] markdaws: Hi - I'm not quire sure how to use the url.resolve method, I have a URL string and do x = url.parse('www.foo.com/x/y/z/p/../../../myimg.jpg', true, true), then do url.resolve(x.href, x) and that seems to resolve the url as expected, but docs say 2nd param should be "to: base URL" doesn't seem like passing in the parse URL is right, or maybe it is? [18:38] themiddleman_itv has joined the channel [18:41] CarterL has joined the channel [18:41] Morkel has joined the channel [18:41] andrewreedy has joined the channel [18:43] mike5w3c has joined the channel [18:43] saikat has joined the channel [18:44] harthur has joined the channel [18:44] aelien27 has joined the channel [18:45] Renegade001 has joined the channel [18:46] benoit_ has joined the channel [18:46] mikedeboer has joined the channel [18:47] benoit_ has left the channel [18:47] Mokona has joined the channel [18:48] magnetik has joined the channel [18:49] colinclark has joined the channel [18:50] daneroo has joined the channel [18:52] jasox has joined the channel [18:55] stagas has joined the channel [18:55] Margle has joined the channel [18:55] ixti has joined the channel [18:56] vidi has joined the channel [18:57] jarek has joined the channel [18:57] jarek has joined the channel [19:02] chia has joined the channel [19:04] vidi has joined the channel [19:04] stepheneb has joined the channel [19:04] sh1mmer has joined the channel [19:05] tazrover_ has joined the channel [19:05] jarek__ has joined the channel [19:05] jarek__ has joined the channel [19:06] neilk_ has joined the channel [19:06] arcanis has joined the channel [19:06] Guest26687 has joined the channel [19:07] jarek has joined the channel [19:07] jarek has joined the channel [19:07] berasa has joined the channel [19:08] mcluskydodallas has joined the channel [19:08] kenperkins has joined the channel [19:09] socketio\test\91 has joined the channel [19:12] shapeshed has joined the channel [19:13] ghankstef: dumb question: http://pastie.org/2757937 shouldn't line 5 dump the req object on the server cli? [19:13] stepheneb has joined the channel [19:13] albertosh has joined the channel [19:14] aheckmann has joined the channel [19:14] stagas has joined the channel [19:15] colinclark has joined the channel [19:15] scatmandan has joined the channel [19:15] scatmandan: hi, does anyone have time to answer a few questions regarding node.js and chat/jquery bots used in a chat setting? [19:16] xetorthio has joined the channel [19:16] fmeyer has joined the channel [19:17] RORgasm has joined the channel [19:18] EhevuTov has joined the channel [19:20] cronopio has joined the channel [19:20] mikeric has joined the channel [19:20] martin_sunset has joined the channel [19:21] JohnBeales has joined the channel [19:21] EhevuTov_ has joined the channel [19:21] CIA-48: node: 03Ben Noordhuis 07master * r680765a 10/ src/node_http_parser.cc : http: fix gcc 3.x build, don't use always_inline - http://git.io/pCH5_w [19:21] kriszyp has joined the channel [19:21] bnoordhuis: ghankstef: yes [19:21] bnoordhuis: don't pass a string to .listen() btw [19:22] ghankstef: bnoordhuis: but it don't! [19:23] bnoordhuis: ghankstef: '8081'? [19:23] juanlargo has joined the channel [19:23] eddyb has joined the channel [19:23] ghankstef: right took quotes out [19:23] eddyb: wait, what: you're supporting gcc 3? [19:23] eddyb: that's like ensuring programs work on windows 94 [19:23] eddyb: *95 [19:24] scatmandan: can i pm someone familiar with node.js and chat bots [19:25] jmls has joined the channel [19:25] knifed has joined the channel [19:25] jmls: hey guys [19:25] Renegade001 has joined the channel [19:25] jmls: node.js (and javascript) newbie alert ;( [19:25] knifed_ has joined the channel [19:26] juanlargo: quick question for you guys: what's the consensus on using a try/catch to test for the existence of a deeply nested JS object? Harmless or horrible? [19:26] EyePulp: where?!? shoot 'em! [19:26] ghankstef: bnoordhuis: took out quotes on .listen but still no message logged to console ideas why? [19:26] juanlargo: sorry, deeply nested key, not object [19:26] jmls: I want to use node.js to connect to a server that is sending blocks of text (delimited by \r\n\r\n) [19:26] xeodox has joined the channel [19:27] jmls: is there any module that will read the text and emit ? an event when a block has been read ? [19:27] xeodox: Can someone help me with connect-form ? [19:27] eddyb: jmls: you most likely may need to keep your received data until you get another block marker (or more of those) [19:28] eddyb: done it for a minecraft protocol thing, it's a couple of lines [19:28] ecin has joined the channel [19:28] jmls: yeah, currently using net.createConnection, but I think there's stuff wrong with my javascript because it seems to "miss" some data [19:28] Margle has joined the channel [19:29] eddyb: jmls: https://github.com/eddyb/node-mcsmp [19:29] jmls: looking ... [19:29] eddyb: in lib/client.js, in ClientSocket.prototype.processData or something like that [19:30] tilgovi has joined the channel [19:30] tilgovi has joined the channel [19:32] daneroo has joined the channel [19:32] pandeiro has joined the channel [19:32] sdafljhgb has joined the channel [19:32] jmls: my eyes are bleeding. :( [19:33] sdafljhgb: Docs typo. Where does I report [19:33] knifed has joined the channel [19:33] jmls: I'm using net.createConnection, why are you using sockets ? (if you don't mind me asking) [19:33] knifed has joined the channel [19:34] eddyb: jmls: because net.createConnection creates a socket and returns it [19:34] eddyb: I hope you just facepalmed [19:34] upstream has joined the channel [19:34] knifed_ has joined the channel [19:35] jmls: I already have no face / head left . Spent all day trying to learn .js ;) [19:35] vidi has joined the channel [19:35] colinclark has joined the channel [19:36] dubenstein has joined the channel [19:37] ncb000gt has joined the channel [19:39] Ang3 has joined the channel [19:39] erichynds has joined the channel [19:40] alessioalex has joined the channel [19:40] sylvinus has joined the channel [19:40] alessioalex: ACTION hello [19:41] animorten has joined the channel [19:41] jarek__ has joined the channel [19:42] materialdesign-1 has joined the channel [19:42] jetienne has joined the channel [19:42] wankdanker: does anyone have the link to the page which contains the differences between 0.4.x and 0.5.x? [19:43] alessioalex: https://github.com/joyent/node/wiki/API-changes-between-v0.4-and-v0.6 [19:43] wankdanker: alessioalex: thank you [19:43] alessioalex: np [19:44] knifed_ has joined the channel [19:44] hornairs has joined the channel [19:45] kitt has joined the channel [19:45] fly-away has joined the channel [19:46] LogiK has left the channel [19:46] colinclark has joined the channel [19:46] daneroo has joined the channel [19:47] NetRoY has joined the channel [19:48] sdafljhgb: WHere can I report a typo in the docs [19:48] jocafa: stagas: I used your nextTick() in a library I'm working on. I went from 90K to 163K events/sec ♥ ♥ [19:48] CrypticSwarm has joined the channel [19:48] stagas: jocafa: cool! [19:49] jbpros has joined the channel [19:49] jocafa: https://github.com/jocafa/Neuron [19:50] Margle has joined the channel [19:50] Xano_ has joined the channel [19:50] jocafa: it's for arbitrary networks of evented objects [19:50] sdafljhgb: So far I am not crazy about node. Someone convince me otherwise [19:51] _mdp has joined the channel [19:51] davididas has joined the channel [19:51] context: sdafljhgb: we aren't here to convince people [19:51] deedubs: haha wow [19:51] tjholowaychuk: fail [19:51] deedubs: sudo make me a sandwich first [19:52] jbpros: isaacs: thanks for the info regarding the multiple repo array [19:52] isaacs: jbpros: np [19:53] SargoDarya: meh, have a problem with socket.io and uglifyjs [19:53] SargoDarya: always gives me a parse error... [19:53] `3rdEden: SargoDarya ORLY [19:53] `3rdEden: socket.io uses uglify js [19:53] `3rdEden: so i'm pretty sure it works fine ;D [19:54] tjholowaychuk: SargoDarya uglify [19:54] tjholowaychuk: sucks [19:54] tjholowaychuk: it breaks everything [19:54] `3rdEden: especially because I have written that intergration my self ;$ [19:54] `3rdEden: ^ that is true [19:54] `3rdEden: it breaks a bunch of shit [19:55] `3rdEden: if you don't have the correct settings or minify to much [19:55] `3rdEden: or have small code mistakes [19:55] bogomips2_ has joined the channel [19:55] SargoDarya: haven't had any problems with it so far. If there is an alternative which compresses and combines my javascript files to one file I'd be more than happy to use that [19:57] jocafa: cat + gzip? [19:58] SargoDarya: I just need to get that damn socket.io to work -_- [19:58] Wizek has joined the channel [19:59] SpNg has joined the channel [19:59] `3rdEden: SargoDarya: make sure you set ascii_only to true: https://github.com/LearnBoost/socket.io-client/blob/master/bin/builder.js#L216 [19:59] `3rdEden: or you will break socket.io's protocol parser. [19:59] SpNg has left the channel [20:00] waterhead has joined the channel [20:01] SargoDarya: that doesn't seem to be the problem. Everything works until I add config.url+'/socket.io/socket.io.js' to the settings [20:02] Renegade001 has joined the channel [20:02] bogomips2__ has joined the channel [20:03] tylerstalder has joined the channel [20:04] upstream has left the channel [20:04] ninjapig has joined the channel [20:04] ninjapig has joined the channel [20:06] daneroo has joined the channel [20:06] __tosh has joined the channel [20:07] knifed_ has joined the channel [20:09] kriszyp has joined the channel [20:10] Bodil has joined the channel [20:11] knifed has joined the channel [20:11] daneroo has joined the channel [20:12] chia has joined the channel [20:13] mikeal has joined the channel [20:14] fangel has joined the channel [20:14] SargoDarya: suddenly: silence [20:14] colinclark has joined the channel [20:14] shipit has joined the channel [20:15] mcluskydodallas has joined the channel [20:16] bogomips2_ has joined the channel [20:17] chrislorenz has joined the channel [20:17] _rgl has joined the channel [20:18] briancray has joined the channel [20:19] stisti has joined the channel [20:21] sdwrage has joined the channel [20:21] waterhead has joined the channel [20:23] ej_ has joined the channel [20:23] pointlessjon has joined the channel [20:25] CIA-48: libuv: 03Igor Zinkovsky 07ipc-listen * r0cb2213 10/ (6 files in 2 dirs): windows: when sharing a server socket, only call listen in the parent process - http://git.io/SHSprg [20:25] wankdanker: in the API changes document, it says that process.binding('stdio') was removed, can anyone also confirm that process.binding('net') has been removed? (will add to wiki if someone can confirm) [20:26] sean__ has joined the channel [20:27] kenperkins has joined the channel [20:27] sean__: not sure if this is the place for npm help, but i'm getting an error "cb() never called!" on npm install forever -g (latest npm) [20:27] DrHeiter23 has left the channel [20:28] ksheurs has joined the channel [20:28] sean__: it's run in an automated script and does not repro if i manually go in and install it, anyone have an idea what's going wrong? [20:28] sean__: script worked fine last week [20:28] Tobsn has joined the channel [20:28] metaverse has joined the channel [20:29] hij1nx has joined the channel [20:30] sdafljhgb: exit [20:30] sdafljhgb: exit [20:30] sdafljhgb: stupid slah [20:30] sdafljhgb: slash [20:31] stisti has joined the channel [20:32] daneroo has joined the channel [20:33] mpendergraft has joined the channel [20:33] zmbmartin has joined the channel [20:37] TomY has joined the channel [20:37] daneroo has joined the channel [20:39] webstrand has joined the channel [20:39] stagas has joined the channel [20:41] heavysixer has joined the channel [20:43] Aikar: wankdanker: why would process.binding('net') be removed? [20:44] chrislorenz has joined the channel [20:45] Aikar: hmm... looks like it is O.o [20:46] wankdanker: Aikar: :) [20:46] wankdanker: Aikar: multi-node is broken because of it, just wanted to find out for sure [20:46] Aikar: really hate that windows support was added [20:47] colinclark has joined the channel [20:47] Aikar: i wouldnt mind if support for stuff wasnt removed :/ [20:47] Aikar: how do you do a netBinding.socketpair(); now? [20:48] TomY: I have a slightly related question... [20:48] Aikar: wankdanker: yeah theres no node_net.cc anymore, so its gone [20:48] kitt has joined the channel [20:48] kitt has joined the channel [20:48] TomY: trying to create functionality similar to multi-node with 0.5.10 [20:48] tjholowaychuk: TomY dont bother [20:48] tjholowaychuk: node 0.5.x ships with it [20:48] tjholowaychuk: kinda [20:49] TomY: yeah, well that's what i'm using [20:49] TomY: :-) [20:49] djcoin has joined the channel [20:49] tjholowaychuk: ah [20:49] TomY: but i have a question about specifics [20:49] TomY: so i do server = net.createServer(); and then server.listen(4242, '127.0.0.1', function () { ? }); [20:49] TomY: then i fork my child and pass it server._handle... [20:49] NickJP_ has joined the channel [20:50] Aikar: really disappointed with the removal of FD passing and such. what if you dont want to let the OS handle accept() [20:50] TomY: so once the child starts listening it's fine and all works [20:50] ryanfitz has joined the channel [20:51] hij1nx has joined the channel [20:52] slajax has joined the channel [20:52] TomY: trouble is, that I get connection refused until the child starts listening [20:52] slajax has left the channel [20:53] mikeric has joined the channel [20:53] baudehlo: Aikar: I'm with you. But I don't think the node core guys buy the need for this. [20:54] TomY: https://gist.github.com/1314226 [20:54] TomY: i doubt that's the case, just want to make it simple [20:54] TomY: which i am all for [20:55] daneroo has joined the channel [20:55] arcanis has joined the channel [20:56] baudehlo: is process.binding('net').pipe gone too? [20:56] Aikar: the entire binding is gone so yes [20:57] Aikar: i see stuff like createPipe() in net.js, but i dont think its exposed [20:57] baudehlo: var Pipe = process.binding('pipe_wrap').Pipe; [20:57] Aikar: var Pipe = process.binding('pipe_wrap').Pipe; [20:57] Aikar: yeah damn beat me to it lol [20:57] baudehlo: so that's my qmail-queue plugin broken. [20:57] murvin has joined the channel [20:57] TomY: tjholowaychuk, the problem I have is that while there is no child process or connection handler, the connection is not accepted (or queued so it can be handled) - see https://gist.github.com/1314226 [20:58] TomY: this was possible before [20:58] kriszyp has joined the channel [20:59] TomY: ACTION double checks that [21:01] TomY: I'm happy to look into creating a patch for it if somebody can confirm it's a problem that should be fixed [21:01] piscisaureus has joined the channel [21:01] k1ttty has joined the channel [21:02] __tosh has joined the channel [21:03] maqr has joined the channel [21:04] pransalad has joined the channel [21:04] jslatts_ has joined the channel [21:07] uptownben has joined the channel [21:07] hydrozen has joined the channel [21:07] uptownben: Can anyone help out with a MongooseJS issue? [21:10] uptownben: I define a Schema, UserSchema, then I define a method using UserSchema.methods.findNearbyMatches = function(lng,lat,cb){return this.find({loc:{$near:[lng,lat],$maxDistance:5}},cb);}; [21:10] uptownben: but when I actually call that method, I get this error:TypeError: Object # has no method 'find' [21:10] uptownben: at model.findNearbyMatches [21:11] shawnjan has joined the channel [21:11] uptownben: any ideas? I used the mongoose JS documentation as a reference for that code... [21:11] shawnjan: hey all! I was just wondering if someone has seen this before - I couldn't find much around the net: [21:12] shawnjan: FATAL ERROR: v8::HandleScope::Close() Local scope has already been closed [21:13] Aikar: shawnjan: are you writing C++ code? [21:14] Aikar: or are you seeing that randomly using node (with pure js code of your own) [21:14] skm has joined the channel [21:15] briemens has joined the channel [21:15] jonrohan has joined the channel [21:15] TomY: have added same thing using net_binding that works in 0.4.x: https://gist.github.com/1314226 [21:15] TomY: will mail the list (once I've subscribed) [21:15] shawnjan: Aikar - nope, none at all [21:16] Aikar: shawnjan: what modules are you using, if its a pure JS codebase then youve found a bug in node and need to report it [21:16] Spacerat has joined the channel [21:16] shawnjan: var http = require('http'); var https = require('https'); var fs = require('fs'); var jsdom = require('jsdom') var qs = require('querystring'); [21:17] shawnjan: this happened when upgrading from 4.11 to 5.9 [21:17] Aikar: doesnt look like jsdom uses any C++ [21:17] daneroo has joined the channel [21:17] Aikar: though its dependencies might [21:18] Aikar: shawnjan: and no more details than that? [21:18] Renegade001 has joined the channel [21:18] Aikar: like can you find around what line of code does the error throw [21:18] shawnjan: im tryin to fire up node-inspector to see if i can find the line number [21:18] shawnjan: sorry, im new to node :) [21:18] CIA-48: node: 03Igor Zinkovsky 07master * r0a5708c 10/ (test/common.js test/fixtures/create-file.js): fix test-http-curl-chunk-problem.js and test-pipe-file-to-http.js on windows - http://git.io/hjo1Sg [21:19] Aikar: np, thats a C++ level error, so its a question of is it someone elses bug or is it node [21:19] scott_gonzalez has joined the channel [21:19] shawnjan: i will get back to you when i find more info [21:19] markwubben has joined the channel [21:19] shawnjan: thanks Aikar [21:19] shawnjan: :) [21:19] Aikar: np, but report findings to ry not me :P [21:20] Aikar: if it is node [21:20] shawnjan: kk [21:20] devongovett has joined the channel [21:24] Joe-Joe has joined the channel [21:25] avih has joined the channel [21:25] boltR has joined the channel [21:26] vidi has joined the channel [21:27] Renegade001 has joined the channel [21:28] springmeyer has joined the channel [21:29] avih has joined the channel [21:30] socketio\test\07 has joined the channel [21:31] TooTallNate: is anybody unzipping zip files in node yet? [21:32] TomY: TooTallNate, http://search.npmjs.org/ [21:32] rafaelcaricio has joined the channel [21:32] mmalecki: bnoordhuis: hey, any status on this resume issue? I think I might have not been clear enough in this pull request [21:34] rafaelcaricio has left the channel [21:34] jaequery: is jQuery a form of a God object pattern? since everything goes through $/jQuery? [21:34] daneroo has joined the channel [21:35] rafaelcaricio has joined the channel [21:35] rafaelcaricio has left the channel [21:35] bronson has joined the channel [21:37] mikedeboer has joined the channel [21:37] JaKWaC has joined the channel [21:38] neilk_ has joined the channel [21:39] wankdanker: Several dgram methods are 'not yet implemented' (setBroadcast, setTTL, setMulticast*, *Membership) anyone have an idea when these will be implemented? [21:39] wankdanker: .setBroadcast() is of most interest to one of my modules. [21:41] joshgillies has joined the channel [21:43] Skyec has joined the channel [21:43] pHcF has joined the channel [21:44] gr-eg has joined the channel [21:47] tlynn has joined the channel [21:47] DennisRas has joined the channel [21:49] isaacs has joined the channel [21:49] mikeal has joined the channel [21:49] Aikar: isaacs: is foo[]=1 foo[]=2 possible in some way with your ini parse library? [21:51] hendry has joined the channel [21:51] pransalad: this is of my interest.. which ini parsing library is this? [21:51] alvaro_o has joined the channel [21:51] quackquack has joined the channel [21:52] nils_r has joined the channel [21:52] quackquack: for some reason expresso isnt finding my test cases.... are they not allowed to be nested in folder withing test/ ? [21:52] CIA-48: libuv: 03Igor Zinkovsky 07master * r0cb2213 10/ (6 files in 2 dirs): windows: when sharing a server socket, only call listen in the parent process - https://github.com/joyent/libuv/commit/0cb2213db0e617377f78a11768c17956530dc19b [21:52] hendry: > sys = require("sys"); [21:53] hendry: 2 <--- how come a 2 is returned? [21:53] jetienne_ has joined the channel [21:53] strevat has joined the channel [21:55] CoverSlide: The "sys" module is now called "util". It should have a similar interface. [21:55] CoverSlide: a little birdie told me this [21:56] socketio\test\44 has joined the channel [21:56] Aikar: lil confused as to why it returned a 2 too lol [21:57] BillyBreen has joined the channel [21:57] Sorella has joined the channel [21:58] AviMarcus has joined the channel [21:59] AviMarcus: Hi. Newb here. playing with createServer to catch stuff coming into a port. I seem to be getting the packet, but when I try to put it on the console, I just get [object Object] - how do I see the data inside? [21:59] isaacs: hendry: because sys has an "inspect" method [22:00] isaacs: > require("util").inspect({ inspect: function () { return "yo" } }) [22:00] isaacs: 'yo' [22:00] EyePulp: AviMarcus: console.log(foo); should show you something, or require('util').inspect(foo); [22:00] AviMarcus: it shows [object Object] [22:00] isaacs: > require("util").inspect({ inspect: function (n) { return n } }) [22:00] isaacs: 2 [22:01] quackquack: why does expresso hang, not returning until I Ctrl+C? [22:01] dinarcon has joined the channel [22:01] tjholowaychuk: quackquack because your event loop is still doing things [22:01] CoverSlide: why 2? [22:02] quackquack: tjholowaychuk: i dont think so, im just running the demo: asserting 6 is equal to 'foobar'.length [22:02] danielss89 has joined the channel [22:03] danielss89: hi [22:03] quackquack: tjholowaychuk: w9, fixed.. it hung on the blank test file [22:03] quackquack: w8* [22:03] tjholowaychuk: quackquack ah, yeah there's some legacy stuff in there to wait for exported test functions [22:03] AviMarcus: EyePulp, it seems to spit back "2" with the inspect. does that make sense..? [22:04] EyePulp: AviMarcus: maybe you should paste your code someplace (not in channel) [22:04] danielss89: I want to use node.js for a map veto function. I have two users and they should each take turn to veto a map from a map pool.. Now how would i go around identifying each user, so a "thief" cannot just open the code and look for a user id? [22:06] technoweenie has joined the channel [22:06] AviMarcus: EyePulp, http://pastebin.com/7B2kCA14 [22:06] piscisaureus has joined the channel [22:06] AviMarcus: I have a feeling I did that inspect wrong. [22:06] CIA-48: node: 03Ben Noordhuis 07master * rb8847e9 10/ (7 files in 3 dirs): uv: upgrade to 0cb2213 - http://git.io/bGGAWg [22:06] technoweenie: is there any way to tell why the node/redis lib wont close? i've tried using client.quit() and client.end() [22:06] technoweenie: its holding up our tests [22:07] CoverSlide: maybe it's a bug [22:07] quackquack: what is a good alternative to the old require.paths to keep from needing lots of "../../../...." relative paths in my test requires? [22:07] lzskiss has joined the channel [22:07] mikeric has joined the channel [22:08] technoweenie: using redis 0.6.7 and hiredis 0.1.12 [22:08] isaacs: CoverSlide: https://github.com/joyent/node/blob/master/lib/util.js#L158-163 [22:09] EyePulp: AviMarcus: console.log(require("util").inspect(data)); [22:09] CoverSlide: technoweenie: are you positive that client.quit gets called? [22:09] technoweenie: yup [22:09] technoweenie: well i have a console.log right after that gets called [22:10] isaacs: quackquack: don't nest your tests as deep [22:10] isaacs: quackquack: or run them with a NODE_PATH environ [22:10] mdaisuke has joined the channel [22:10] isaacs: quackquack: or put your project under a node_modules folder [22:11] quackquack: isaacs: ok, thanks! i remember it being talked about on nodeup at the time, but i had forgotten >< [22:12] waterhead has joined the channel [22:12] AviMarcus: EyePulp, http://pastebin.com/VpdSAE7V - it spits back the IP of the requester but not the information. Could I tell node to listen on udp instead of I think it's on tcp? [22:13] __tosh has joined the channel [22:13] broofa has joined the channel [22:14] EyePulp: AviMarcus: Dunno. I imagine there's a way, but I'm dumb, which makes helping you in this matter difficult. [22:14] AviMarcus: lol [22:14] EyePulp: =) [22:14] AviMarcus: thanks for your help [22:15] MatthewS has joined the channel [22:16] cuckoo has joined the channel [22:16] isaacs: quackquack: np [22:17] technoweenie: AH jeez, sneaky bastard. i had an interval that needed to be cleared [22:20] liar has joined the channel [22:20] bronson has joined the channel [22:21] dude_through_soc has joined the channel [22:21] fmeyer has joined the channel [22:23] dylang_ has joined the channel [22:24] danielss89: I want to use node.js for a map veto function. I have two users and they should each take turn to veto a map from a map pool.. Now how would i go around identifying each user, so a "thief" cannot just open the code and look for a user id? [22:26] jaredhanson: isaacs: you have permissions to moderate first posts to the Google Group, right? [22:27] jaminja has joined the channel [22:27] otih has joined the channel [22:27] quackquack: how can I do setup and teardown for a group of test cases w/ expresso? [22:27] daneroo has joined the channel [22:27] otih: hi, how to write more than one line in res.write(); ? somewith linke """ """ ? [22:29] tjholowaychuk: quackquack i just cheat and add a test case called after: function.. [22:29] tjholowaychuk: :D [22:29] tjholowaychuk: haha [22:29] AviMarcus: w00t I got it: http://www.robertprice.co.uk/robblog/archive/2011/3/Writing_A_UDP_Server_Using_Node_js.shtml [22:29] AviMarcus: actually, he did it for me. But it works. [22:29] quackquack: tjholowaychuk: so is that guaranteed to be the last test case run? [22:29] tjholowaychuk: quackquack only when --serial [22:29] tjholowaychuk: otherwise they are all parallel [22:30] dude_socket878 has joined the channel [22:30] tbranyen has joined the channel [22:30] quackquack: tjholowaychuk: hmm, ok [22:31] AvianFlu has joined the channel [22:32] enmand has joined the channel [22:32] AviMarcus: sweetness. Now I just need to add a timestamp. [22:33] dude_socket849 has joined the channel [22:35] BillyBreen has joined the channel [22:35] daneroo has joined the channel [22:35] tjholowaychuk: is npm really messed with 0.5.10? [22:36] tjholowaychuk: ACTION updates [22:36] Lorentz: Worked fine for me last time, I think [22:36] zivester has joined the channel [22:37] dude_socket733 has joined the channel [22:37] CoverSlide: You test I, you gon' die, and at your funeral yo momma gon' cry! [22:37] reid has joined the channel [22:38] tjholowaychuk: does windows have makefiles [22:38] CoverSlide: woohoo linux 3.1 mothafucka! [22:38] tjholowaychuk: or is that bad too [22:38] tjholowaychuk: well make, not makefiles [22:38] CoverSlide: if you have mingw32-make [22:39] aaronmcadam: yeah the cygwin version [22:39] WarheadsSE: lol CoverSlide - been running that on my GoFlex Net for several weeks [22:39] aaronmcadam: not sure windows users are even used to compiling their own software [22:39] franciscallo has joined the channel [22:40] tjholowaychuk: aaronmcadam im just going to use it as a test runner [22:40] aaronmcadam: nice [22:40] dude_socket458 has joined the channel [22:40] tjholowaychuk: which implies a decent shell too i suppose [22:40] WarheadsSE: aaronmcadam, most, no [22:40] fkjnedkdnsksd has joined the channel [22:40] aaronmcadam: haha yeah [22:41] aaronmcadam: so many times I type ls into cmd :S [22:41] WarheadsSE: dude, create a batch file :p [22:41] tjholowaychuk: ACTION hasn't looked at windows in ~6 years [22:41] CoverSlide: that's why you use powershell [22:41] aaronmcadam: yeah it's gonna have to be [22:41] tjholowaychuk: i'll die a happy guy [22:41] WarheadsSE: c:\%windir%\system32\ls.bat [22:41] aaronmcadam: haha :D [22:42] WarheadsSE: just reflects all the arguments to dir :p [22:42] WarheadsSE: and def, powershell ftw on windows [22:42] aaronmcadam: I think I tried to use it once [22:42] dude_socket734 has joined the channel [22:42] aaronmcadam: but then realised all my work was on my linux partition lol [22:42] waterhead has joined the channel [22:42] WarheadsSE: lol [22:43] CoverSlide: personally i prefer msys if i need to compile something on windows [22:43] stepheneb has joined the channel [22:43] CoverSlide: or if i want something posixy but slow as fuck, I'll use cygwin [22:43] aaronmcadam: CoverSlide: is that installed with default windows? [22:43] CoverSlide: no [22:43] aaronmcadam: msys I mean [22:43] CoverSlide: no [22:44] aaronmcadam: ah, it's the ming tools [22:44] CoverSlide: but I've spent a good amount of time with the msys / mingw environment on windows, it's decent [22:45] aaronmcadam: cool [22:48] tbranyen has joined the channel [22:49] mikeal has joined the channel [22:49] neerolyte has joined the channel [22:50] gregpascale has joined the channel [22:51] mmalecki has joined the channel [22:52] ttpva has joined the channel [22:52] ttpva: hi guys. [22:52] ttpva: In Mongoose, I'm not being able to get the embedded document as an object, only as an array. [22:52] ttpva: Is it supposed to be that way? [22:53] _unary has joined the channel [22:53] xeodox has joined the channel [22:54] jpart has joined the channel [22:54] isaacs has joined the channel [22:55] danielss89 has joined the channel [22:55] dget_ has joined the channel [22:55] marcello3d has joined the channel [22:56] jetienne_ has joined the channel [22:56] ryanfitz_ has joined the channel [22:56] albertosh has joined the channel [22:57] isaacs: tjholowaychuk: what are you seeing with node 0.5.10 [22:57] isaacs: ? [22:58] isaacs: tjholowaychuk: and npm [22:58] tjholowaychuk: seems ok after updating [22:58] isaacs: oh, ok [22:59] diogogmt has joined the channel [22:59] xeodox has joined the channel [22:59] jeromegn_ has joined the channel [23:00] charlenopires has joined the channel [23:01] baudehlo: isaacs: just discovered somewhere npm could show a better error message... [23:01] baudehlo: previously it didn't care if my email was set right. [23:01] isaacs: baudehlo: issue/pull-req plz [23:01] baudehlo: heh, fair enough. [23:01] paul_k has joined the channel [23:01] isaacs: baudehlo: yeah, i think it just checks for X@Y.Z [23:02] baudehlo: no different issue... I'll post on github. [23:02] isaacs: baudehlo: you should use a real email addres [23:02] isaacs: k, thanks [23:02] baudehlo: different issue. Wait for the report ;) [23:03] cjheath has joined the channel [23:04] baudehlo: https://github.com/isaacs/npm/issues/1597 [23:04] Transformer has joined the channel [23:04] herbySk74 has joined the channel [23:06] materialdesigner has joined the channel [23:10] torm3nt has joined the channel [23:10] dynacker has joined the channel [23:11] isaacs: baudehlo: aha, i see. [23:11] isaacs: baudehlo: easy fix! [23:12] erichynds has joined the channel [23:12] cjm has joined the channel [23:14] sonnym has joined the channel [23:14] EhevuTov has joined the channel [23:15] devongovett has joined the channel [23:15] eignerchris has joined the channel [23:15] jslatts has joined the channel [23:15] zackattack has joined the channel [23:16] scott_gonzalez has joined the channel [23:16] Aikar|Thrive has joined the channel [23:17] AvianFlu has joined the channel [23:18] smtlaissezfaire has joined the channel [23:19] stepheneb has joined the channel [23:21] mattpardee_ has joined the channel [23:23] AvianFlu has joined the channel [23:24] Aikar|Thrive: scott_gonzalez: more popups [23:24] avih has joined the channel [23:25] figital has joined the channel [23:26] jldbasa has joined the channel [23:27] Aikar|Thrive: SubStack: [23:27] Aikar|Thrive: Getiing mentions of browserling at our meetup :-) [23:27] SubStack: awesome [23:27] SubStack: whereat? [23:28] Aikar|Thrive: Raleigh NC local meet [23:28] SubStack: sweet [23:28] kazupon has joined the channel [23:28] Aikar|Thrive: Though it was due to Scott showing browserstack.com lol [23:29] Mokona has joined the channel [23:30] SubStack: you get testling minutes with your browserling account [23:31] simenbrekken has joined the channel [23:32] daneroo has joined the channel [23:32] captain_morgan1 has joined the channel [23:33] dylang has joined the channel [23:36] captain_morgan2 has joined the channel [23:36] brandel has left the channel [23:37] spcshpopr8r has joined the channel [23:37] Nuck: "Hubot is a way of life. I didn't really invent Hubot as much as he spawned into our existence, ready to take it over like a ten-year-old aimbotting CounterStrike hacker. I wouldn't be surprised if Hubot could come up with the cure for cancer. And then he would disguise it in an animated GIF with the cryptic caption Y U NO CANCER?. I'm actually pretty frightened of the damn thing, now that you bring it up." [23:38] Nuck: Fuck yeah Github [23:38] Nuck: Node.js bot :D [23:38] Nuck: Sadly [23:38] Nuck: CoffeeScript :( [23:39] CIA-48: libuv: 03Igor Zinkovsky 07master * rd15b88a 10/ (src/win/internal.h src/win/pipe.c src/win/tcp.c): windows: implement uv_tcp_nodelay and uv_tcp_keepalive - http://git.io/Ot8zLA [23:39] devaholic: https://github.com/tblobaum/nodeQuery [23:40] sdwrage has joined the channel [23:40] devaholic: serialize(), attr(), appendWith() added [23:40] devaholic: replaceWith()* rather [23:40] devaholic: lol [23:40] jacobolus has joined the channel [23:41] c4milo has joined the channel [23:41] tbranyen: isaacs: was checking out how you did "pretty-printing" for npm init, stringify(..., null, 2) is amazing [23:42] tbranyen: saves me a lot of time [23:42] isaacs: tbranyen: yeah, it's cool [23:42] spcshpopr8r has joined the channel [23:42] isaacs: tbranyen: i did once write a comma-first json pretty-printer [23:43] tbranyen: a built-in one liner tho, probably not worth the effort [23:43] daneroo has joined the channel [23:45] isaacs: eyah [23:45] isaacs: that's why npm init doesn't use it ;) [23:46] AvianFlu has joined the channel [23:46] AviMarcus has left the channel [23:46] captain_morgan2 has left the channel [23:48] albertosh has joined the channel [23:48] isaacs: baudehlo: i fixed that thing [23:49] dylang has joined the channel [23:49] isaacs: baudehlo: now it prints out the current maintainers, and your user, so you can see that it's different more easily [23:50] Aikar|Thrive: Hmm and chat doesn't support color codes [23:50] rchavik has joined the channel [23:51] dget_ has joined the channel [23:51] Frippe has joined the channel [23:52] albertosh has joined the channel [23:53] CIA-48: libuv: 03Ben Noordhuis 07master * rcb6cd92 10/ (common.gypi build/gcc_version.py): [23:53] CIA-48: libuv: build: fix gcc 3.x build [23:53] CIA-48: libuv: Detect gcc version, -fvisibility is a gcc 4.x switch. - http://git.io/HCorHA [23:53] CIA-48: libuv: 03Ben Noordhuis 07master * r3ecb319 10/ (common.gypi uv.gyp): build: sunos expects -pthreads, not -pthread - http://git.io/dVhVPw [23:53] dylang_ has joined the channel [23:54] nerdy has joined the channel [23:55] Aikar: had to jump hrrough like 5 ssh connecctions to get to irssi from my thrive lol [23:56] TooTallNate has joined the channel [23:56] TooTallNate has joined the channel [23:56] neerolyte has joined the channel [23:58] _sorensen_ has joined the channel [23:59] neilk_ has joined the channel