[00:00] sh4wn: hi clifton, you're the creator of calipso right? [00:02] damienbrz has joined the channel [00:02] ngs has joined the channel [00:07] dyer has joined the channel [00:07] dyer has joined the channel [00:07] tlynn_ has joined the channel [00:08] chjj: hmm, slice and substr just call substring internally in v8 [00:08] KingJamool has joined the channel [00:08] chjj: and no one uses substring [00:08] chjj: ! [00:09] stagas has joined the channel [00:09] vid_ has joined the channel [00:10] niftylettuce: chjj: oops [00:11] aguynamedben has joined the channel [00:12] unlink has joined the channel [00:12] unlink has joined the channel [00:13] patrickjst has joined the channel [00:13] ParadoxQuine has joined the channel [00:14] elijah has joined the channel [00:14] CarterA has left the channel [00:16] tlynn_ has joined the channel [00:17] balaa has joined the channel [00:18] al3xnull has joined the channel [00:19] elijah|home has joined the channel [00:20] boaz has joined the channel [00:22] vid_ has joined the channel [00:23] cachemoney has joined the channel [00:27] cafesofie has joined the channel [00:30] ggg: anyone good with node-mongodb-native here? [00:33] tim_smart has joined the channel [00:33] seawise has joined the channel [00:33] caolanm has joined the channel [00:33] mrmanager has joined the channel [00:36] Nuck has joined the channel [00:37] stagas: http://www.youtube.com/watch?v=GyHZbUNMMuw&feature=player_embedded [00:37] dominictarr has joined the channel [00:40] avalanche123 has joined the channel [00:41] admc1 has joined the channel [00:42] mrmanager has joined the channel [00:43] tokumine has joined the channel [00:44] CIA-104: node: 03Ryan Dahl 07master * r09b8a5e 10/ wscript : Dont install ares_build.h or ares_rules.h - http://bit.ly/kI8XG3 [00:45] dgathright has joined the channel [00:46] aguynamedben has joined the channel [00:47] mandric has joined the channel [00:48] perlmonkey2 has joined the channel [00:48] broofa: jjjjkkkkjh [00:48] xandrews has joined the channel [00:50] k1ttty has joined the channel [00:50] elpinguino has joined the channel [00:52] mjr_ has joined the channel [00:53] Charuru has joined the channel [00:53] ggg: my find on node-mongodb-native gives an object Object....how do i get a json out of it???? [00:53] neoesque has joined the channel [00:53] broofa has joined the channel [00:56] perlmonkey2 has joined the channel [00:57] AvianFlu has joined the channel [00:58] jslatts has joined the channel [01:00] ParadoxQuine has joined the channel [01:00] F1LT3R has joined the channel [01:01] CrabDude has joined the channel [01:02] fr0stbyte has joined the channel [01:03] rook2pawn has joined the channel [01:03] zwittar has joined the channel [01:03] MooGoo: I have finally conquered the evil http digest authentication scheme! [01:03] tlynn__ has joined the channel [01:03] MooGoo: and dont any of you mofos tell me there's already a module out there that does that [01:03] Elazar has joined the channel [01:04] Elazar: Is hot code reloading natively supported in canonical node.js? [01:04] MooGoo: not...really [01:04] MooGoo: but I think you can delete entries in the require cache object [01:04] SubStack: rpc instead! [01:04] SubStack: easy to take processes up and down [01:04] MooGoo: to force a reload of the file from disk [01:04] Elazar: SubStack: Yeah, that was the other approach I was considering. [01:05] SubStack: protip: dnode has a reconnect option [01:05] Elazar: SubStack: I don't really know much about node's support in that respect either, though. Suggested resources? [01:07] abraxas has joined the channel [01:07] ggg: my find() on node-mongodb-native gives an object Object....how do i get a json out of it???? [01:08] jtrudeau has joined the channel [01:08] cafesofie has joined the channel [01:09] AvianFlu has joined the channel [01:09] jtrudeau has joined the channel [01:10] cjm has joined the channel [01:11] iammerrick has joined the channel [01:11] pHcF has joined the channel [01:12] iammerrick: Using jade how can I embed a variable in the same line as text, e.g. h1= Editing item.name [01:12] iammerrick: item.name being a variable [01:12] criswell has joined the channel [01:13] fr0stbyte has joined the channel [01:14] antlong has joined the channel [01:14] vyvea has joined the channel [01:14] iammerrick: its possible without a span right guys? [01:14] iammerrick: I feel this ahs to be a super easy question [01:15] antlong: hello, does anyone have a few minutes for a private chat, im trying to grasp the internals in re: to packages like zombie.js and other headless frameworks. [01:16] iammerrick: ahh just new line [01:16] Wa has joined the channel [01:17] brolin has joined the channel [01:19] Elazar has left the channel [01:20] devuo has joined the channel [01:20] devuo has left the channel [01:21] gde33 has joined the channel [01:22] Wa has joined the channel [01:22] gde33 has left the channel [01:23] stepheneb has joined the channel [01:25] jslatts has joined the channel [01:25] sely has joined the channel [01:26] leahculver has joined the channel [01:27] igl has joined the channel [01:27] zeade has joined the channel [01:34] sh1mmer has joined the channel [01:34] fakewaffle has joined the channel [01:35] niftylettuce: stagas: yo [01:35] leahculver has joined the channel [01:35] leahculver has joined the channel [01:36] maushu has joined the channel [01:36] fakewaffle: yo [01:36] fakewaffle: Nexxy++ [01:36] v8bot: fakewaffle has given a beer to Nexxy. Nexxy now has 8 beers. [01:37] apanda has joined the channel [01:37] Nexxy: o hai [01:37] Prometheus: where can one collect these virtual beers? [01:37] Prometheus: are they like bitcoin, but beer? [01:37] Prometheus: =) [01:38] fakewaffle: beercoin [01:39] niftylettuce: Prometheus++ [01:39] v8bot: niftylettuce has given a beer to Prometheus. Prometheus now has 1 beers. [01:39] Prometheus: yay for imaginary beer [01:39] Nexxy: it's like being slapped with a rather large trout [01:39] Nexxy: but with less trout [01:39] niftylettuce: and more stout [01:39] Prometheus: large stout* [01:39] Nexxy: ohhh [01:39] niftylettuce: :X [01:39] Prometheus: ;) [01:39] Nexxy: I see what you did there [01:39] Prometheus: that's a stout worthy transformation [01:39] Prometheus: niftylettuce++ [01:39] v8bot: Prometheus has given a beer to niftylettuce. niftylettuce now has 1 beers. [01:39] niftylettuce: its funny because its trueee, everybody knows coffee is for freee [01:39] Prometheus: at least down at the local starbucks [01:39] niftylettuce: what happened to all my beer [01:39] niftylettuce: i had a lot more than that :'( [01:40] Nexxy: did you change your nickname slightly? [01:40] niftylettuce: Nexxy: na [01:40] niftylettuce: Nexxy: might be because i wasn't identified with nickserv b4 [01:40] Nexxy: I have a separate beer count for when I'm "nexxy" [01:40] fakewaffle: Nexxy-- [01:40] v8bot: fakewaffle has taken a beer from Nexxy. Nexxy now has 7 beers. [01:40] Nexxy: ;< [01:40] Nexxy: what did I do!? [01:40] fakewaffle: stuff [01:40] Prometheus: oh beer steals [01:40] Prometheus: v8bot++ [01:40] v8bot: Prometheus has given a beer to v8bot. v8bot now has 30 beers. [01:41] Prometheus: wow [01:41] niftylettuce: $('#things').push('forward'); [01:41] Prometheus: now I see where your beers went [01:41] Nexxy: how do you push onto a dom element? [01:41] Nexxy: ACTION mind blown [01:41] niftylettuce: ACTION mind melts [01:42] jbroman: Nexxy: jQuery objects are arrays. [01:42] Nexxy: don't you mean wilts? [01:42] niftylettuce: #things is secretly nexxy { loves: beer } [01:42] niftylettuce: errr ['beer'] :X [01:43] Nexxy: actually [01:43] Nexxy: I prefer those Smirnoff apple bite things [01:43] boehm has joined the channel [01:43] Nexxy: so yummy [01:44] Prometheus: what [01:44] Prometheus: smirnoff ice stuff? [01:44] Nexxy: yeahh! [01:45] Prometheus: ugh [01:47] jslatts has joined the channel [01:48] ditesh|cassini has joined the channel [01:49] damienbrz has joined the channel [01:50] xandrews has joined the channel [01:50] Aria has joined the channel [01:50] niftylettuce: any east coasters in here? [01:51] kmiyashiro has joined the channel [01:51] boogyman: east coaster is a relative term [01:52] mikey_p: Nexxy++ [01:52] v8bot: mikey_p has given a beer to Nexxy. Nexxy now has 8 beers. [01:52] Nexxy: oh why thank you kind sir [01:52] Nexxy: also; west coast ftw [01:53] Aria: niftylettuce: I'm an east coaster as of two hours ago. [01:53] Nexxy: o_o [01:53] Nexxy: Aria, my condolences [01:54] Aria: I don't mind it. It's Boston, not the weird-ass parts of the east coast. [01:54] Nexxy: boahst'n? [01:54] niftylettuce: Aria runs a blaaaag [01:54] amerinese has joined the channel [01:54] Nexxy: oO I wanna see her wobsite [01:54] niftylettuce: like SCVNGR's blag.svngr.com b/c Seth is from thur [01:55] Aria: My colorodaña accent is gonna be funny around Harvard. [01:55] niftylettuce: *blag.scvngr.com [01:56] brimster has joined the channel [01:56] antlong: red sox [01:58] mynyml has joined the channel [02:01] jameson has joined the channel [02:06] jslatts has joined the channel [02:09] MarcinM has joined the channel [02:09] Determinist has joined the channel [02:10] isaacs has joined the channel [02:11] tokumine has joined the channel [02:13] muk_mb has joined the channel [02:14] muk_mb: hey guys [02:14] gerard0 has joined the channel [02:14] SamNZ has joined the channel [02:15] mike5w3c has joined the channel [02:15] SamNZ: What is the best module to use with Redis? [02:16] MarcinM1 has joined the channel [02:17] MarcinM1: yes [02:20] muk_mb: hey, are any of you in NYC? [02:20] MarcinM1: nossir [02:22] gerard0 has joined the channel [02:23] CodyGray has joined the channel [02:24] pifantastic has joined the channel [02:26] skript_ has joined the channel [02:26] niftylettuce: Nexxy: http://i.imgur.com/258MI.jpg [02:26] Nexxy: DON'T STOP MAKE IT POP [02:26] Nexxy: that's pretty badass, actually [02:26] eyesUnclouded has joined the channel [02:27] Nexxy: niftylettuce++ [02:27] v8bot: Nexxy has given a beer to niftylettuce. niftylettuce now has 2 beers. [02:27] antlong: i am [02:27] antlong: in nyc [02:27] Nexxy: that's almost as cool as pdx [02:28] pHcF has joined the channel [02:28] kmiyashiro: DmitryBaranovsk asked this quiz: Write the following in 6 characters: a === null || a === undefined ? "" : String(a) [02:28] azeroth___ has joined the channel [02:29] Prometheus: SamNZ: https://github.com/mranney/node_redis maybe? [02:29] Prometheus: antlong: ahoy there [02:30] antlong: hello Prometheus [02:30] JaKWaC|Phone_ has joined the channel [02:31] mynyml has joined the channel [02:31] avalanche123 has joined the channel [02:32] Nexxy: google looks all funky now ;< [02:32] antlong: Prometheus: whats up, chuck [02:32] wookiehangover has joined the channel [02:33] Prometheus: antlong: not much, just trying to figure out how I can take over the world with node [02:33] jslatts has joined the channel [02:33] pHcF has joined the channel [02:33] Nexxy: Prometheus, node-based ad hoc wifi internets [02:33] Prometheus: Nexxy: afganistan style? [02:33] Nexxy: yaaa~!1 [02:33] mikey_p: streamie-- [02:33] v8bot: mikey_p has taken a beer from streamie. streamie now has -1 beers. [02:33] mikey_p: streamie.js-- [02:34] Nexxy: build it off of old WRT54g's and stuff [02:34] clifton has joined the channel [02:34] mikey_p: never forget [02:34] Nexxy: lol [02:34] antlong: Prometheus: ahh. im working on taking over node with python. [02:34] Nuck: lol @ WRT54g [02:35] Nuck: antlong: ewwwwww fuck Python. And I don't mean I fuck snakes. [02:35] Prometheus: antlong: wait what [02:35] Nexxy: LOL [02:35] Prometheus: taking over node with python? [02:35] Prometheus: or the other way around? [02:35] antlong: im porting over some node packages, to python [02:35] Prometheus: o_O? [02:35] Nuck: antlong: ... Why? [02:35] Prometheus: okay here's a question, why? [02:35] Prometheus: :P [02:35] Nexxy: duh! [02:35] Nuck: Why in the name of Science would you do that? [02:36] Prometheus: I think the answer is... [02:36] Prometheus: antlong doesn't like JavaScript [02:36] antlong: cause i get paid for it? [02:36] Prometheus: ! [02:36] Nuck: I mean, seriously, if you want the packages Node provides, use Node. [02:36] Prometheus: oh you get paid for it.. [02:36] Nexxy: just imagine how amazing you would be to your friends if you were from the 80's and you brought back technology from 2011 [02:36] antlong: :) [02:36] Nuck: Oh, that's a good enough reason :P [02:36] Nexxy: I know exactly why they're doing it [02:36] Prometheus: antlong: why do you get paid for it? [02:36] Prometheus: why don't I get paid for it? :( [02:37] Lorentz: Speaking of router [02:37] antlong: because you havent said 'WE NEED IT NAOW!' [02:37] Lorentz: should get a new one [02:37] Prometheus: antlong: what are you porting in particular? :) [02:37] antlong: if anyone is around the ohio area, next month theres a free conference, http://pyohio.org/Sprints/ [02:37] antlong: mine is JellyPy [02:37] Prometheus: antlong: oh snap, friend of mine happens to be in OH [02:37] JaKWaC|Phone has joined the channel [02:37] Prometheus: might have to tip him [02:38] Prometheus: haha [02:38] Prometheus: he's in columbus OH [02:38] Prometheus: or was it Lisbon.. [02:38] Nexxy: poor guy [02:38] Prometheus: I know [02:38] Prometheus: it's for business though =P [02:38] Nexxy: I'm so biased ;< [02:38] Prometheus: what business you might ask, that I can't answer [02:39] Nexxy: male escorts? ;o [02:39] roidrage has joined the channel [02:39] Prometheus: no idea =P [02:40] beawesomeinstead has joined the channel [02:40] dnyy has joined the channel [02:41] indutny has joined the channel [02:41] jslatts has joined the channel [02:42] JohnnyL: reminds me of Right Vocation... (ie. no sex, drugs, meat trade, etc) [02:43] marvin_ has joined the channel [02:43] Nexxy: wait what [02:45] damienbrz has joined the channel [02:46] Jubb has joined the channel [02:47] CrabDude has joined the channel [02:49] antlong has left the channel [02:51] dshaw_ has joined the channel [02:52] davidascher has joined the channel [02:52] ParadoxQuine has joined the channel [02:55] rick-_ has joined the channel [02:57] mandric has joined the channel [02:58] Prometheus: why is no-one from here making a killing on ThinkVitamin w/ node.js videos? [02:58] Prometheus: or peepcode.. [03:00] Prometheus: someone should do like a practical node.js screencast series =) [03:00] Nuck: Like yayQuery but for Node.js? [03:00] Prometheus: maybe [03:01] Prometheus: nodetuts is pretty cool, hat tip to pedro for that [03:01] Nuck: Get isaacs, ryah, and SubStack together? :P [03:01] Prometheus: and creationix =P [03:01] Nuck: Get them really fucking drunk. [03:01] Nuck: Like, I wanna see these guys vomit. [03:02] Nuck: And do a live screencast. [03:02] Nuck: lulz will ensue [03:02] Prometheus: o_o [03:02] Nuck: Prometheus: Maybe toss in tjholowaychuk as an option, too. The guy *did* make our Django. [03:03] Nuck: :P [03:03] Prometheus: well right [03:03] Prometheus: tj is a rockstar too =P [03:03] Nuck: oh, of course. [03:03] ParadoxQuine has joined the channel [03:03] Prometheus: too many people to mention in this community it seems [03:04] Nuck: Just get these guys together on a couch, put a camera in front of them, and prompt them to just talk about NodeJS shit. [03:04] Prometheus: lol [03:04] Prometheus: beer driven development [03:04] niftylettuce: Nuck: that'd be neat [03:04] cbiscardi: isn't all development beer driven ;-) [03:04] Nuck: I wanna see ryah do a presentation on nodejs while completely sloshed. [03:05] niftylettuce: lmao :) [03:05] cbiscardi: Nuck: +1 [03:05] Prometheus: cbiscardi: open source at least =) [03:05] Prometheus: I'm sure the enterprisey folk don't have time for beer [03:05] Prometheus: they are too busy abstracting shit with java [03:06] Nuck: Prometheus: Hey, I'm being an enterprisey person right now D: [03:06] Prometheus: too busy abstracting shit? [03:06] cbiscardi: haha [03:06] Nuck: Nah, I'm enterprising in node.js :P [03:06] Prometheus: mm [03:07] Prometheus: see I just want to get comfortable with node [03:07] Prometheus: right now I'm at a loss =) [03:07] Prometheus: so I'm just scrounging around the web for knowledge [03:07] Nuck: I've been fully fluent at JS for... 4 months now? [03:07] Prometheus: (and sitting here chatting away because I have no idea what to ask) =P [03:07] Nexxy: Prometheus, ask not what your development community can do for you [03:07] mandric has joined the channel [03:07] Nexxy: but what you can do for your development community [03:08] Prometheus: Nexxy: tis I know =) [03:08] Nuck: Prometheus: Start with Hello World, move to bigger things. [03:08] Nuck: Try building a website [03:08] Nexxy: Prometheus, I'll take a coffee ;3 [03:08] Nexxy: no sugar, extra (soy) creamer [03:08] Prometheus: Nuck: psh, hello world is boring :/ [03:08] Nexxy: thanks feller [03:08] Prometheus: Nexxy: hay, I'm not an intern =P [03:08] Nexxy: oh [03:08] niftylettuce: any of u guys write in python b4? [03:08] Nexxy: in that case, could you run some errands for me? [03:08] cbiscardi: Prometheus: just try to build something and you'll come up with questions to ask [03:08] Nuck: Prometheus: Get me a hooker in here [03:08] Prometheus: Nuck: I've built enough websites in my day job, I think I'll build some utility =) [03:09] Prometheus: var escort = require('escort'); ? [03:09] stagas has joined the channel [03:09] Nuck: niftylettuce: You can't tell but I'm glaring angrily at my monitor now. [03:09] Nuck: Prometheus: Build a social network for hookers. [03:09] Prometheus: Nuck: I'm pretty sure I'd be in jail before that thing would even launch [03:09] Nuck: Like diaspora, but with more sex. [03:09] Prometheus: cbiscardi: in the process of doing so, but I'm having trouble coming up with questions to ask ;) [03:09] tim_smart has joined the channel [03:09] Prometheus: diaspora.. [03:09] Prometheus: *shrug* [03:09] niftylettuce: Nuck: ? just need a hand with writing a plugin for gedit (gists for gedit) [03:10] Nuck: Prometheus: then move to the Netherlands :P [03:10] cbiscardi: Prometheus: haha well that's a good thing right? [03:10] Prometheus: niftylettuce: I write some python, sure [03:10] Prometheus: cbiscardi: actually, it's not :/ [03:10] Prometheus: it's better to have questions to not have them =P [03:10] Nuck: niftylettuce: Sorry, I don't know Python, and it makes me vomit anyways. [03:10] niftylettuce: Prometheus: you on a *nix/gnome machine? [03:10] Prometheus: niftylettuce: Steve's OS [03:10] cbiscardi: Prometheus: only if it means you aren't making progress without them [03:11] JoshC1 has joined the channel [03:11] Nuck: Prometheus: When problems come up, THEN you ask. [03:11] Nuck: Until then, just code! [03:11] Prometheus: :P [03:11] Nuck: Prometheus: Steve Jobs or Steve Ballmer's OS? [03:11] Aria has joined the channel [03:11] Prometheus: the first one [03:11] Prometheus: latter is a jerk [03:11] Nuck: ah we're cool with mac up in here. [03:11] Nexxy: DEVELOPERS DEVELOPERS DEVELOPERS DEVELOPERS [03:11] Nuck: Because it's hipster enough. [03:11] Prometheus: even if they are helping port node to winblows [03:11] Prometheus: Nuck: yes, I'm hipster like that [03:12] Nuck: Nexxy: I. LOVE. THIS. COMPANY! [03:12] sourcode has joined the channel [03:12] Nexxy: EASY ON YOUR PIT STAINS, BUDY [03:12] Prometheus: cbiscardi: I think I'm just having trouble figuring out how I want to lay this thing out, and then with some protocols =P [03:12] Nexxy: +D [03:12] Prometheus: I don't want to use ready made libraries because that'll teach me nothing [03:12] Prometheus: I want to do things the hard way ;) [03:12] Nuck: Nexxy: Funny-lookin' eye your emote's got there? [03:13] Prometheus: he's from outer space [03:13] Prometheus: clearly [03:13] Nexxy: Nuck, thank you for noticing [03:13] cbiscardi: Prometheus: ah yes, I think you mean the fun way. ;) [03:13] niftylettuce: Prometheus: here is a description of what I'm looking to build (we already have a base to work from) @ https://github.com/niftylettuce/nifty-web-requests#gist4gedit -- here is link for latest gedit dmg file @ http://ftp.gnome.org/pub/GNOME/binaries/mac/gedit/2.30/gedit-2.30.2.dmg [03:13] Nuck: Nexxy: Was your emote in Vietnam? [03:13] Prometheus: cbiscardi: precisely [03:14] Nexxy: Nuck, sarajevo [03:14] donaldpcook has joined the channel [03:14] isaacs has joined the channel [03:14] Nuck: "I LOST MAH LEG IN VIETNAM" "Wow, you served in the Vietnam War?" "No, but I vacationed there a few years back and left my prosthetic at the hotel." [03:15] Prometheus: niftylettuce: so you want it to basically interact with gist.github.com, that's all? [03:15] niftylettuce: Prometheus: yeah ctrl+shift+v and it takes either selected document or selected text and pastes private gist [03:15] niftylettuce: Prometheus: there is something called External Tools, which let you bind hotkey to a script [03:15] gavin_huang has joined the channel [03:16] comster has joined the channel [03:16] supster has joined the channel [03:16] Prometheus: hrm [03:17] niftylettuce: Prometheus: I think i found something [03:17] Prometheus: niftylettuce: oh? [03:18] gtramont1na has joined the channel [03:18] niftylettuce: Prometheus: well you can easily get the contents (either selected or document) via this simple External Tools script [03:20] niftylettuce: Prometheus: http://i.imgur.com/U7K6K.png [03:20] vikstrous1 has left the channel [03:20] Prometheus: niftylettuce: so wouldn't you be able to just write a bit of bash there? [03:20] Prometheus: and get 'er done? [03:20] qhead has joined the channel [03:20] niftylettuce: Prometheus: that will write to there, meaning maybe you could write script that writes to a tmp file w/same extension as current document, then takes that tmp file and POSTS it to github [03:21] Prometheus: yeah [03:21] Prometheus: I mean a simple bash script should do it, right? [03:21] brianloveswords has joined the channel [03:21] qhead: has anybody tried to compile/port V8 in iOS? [03:21] niftylettuce: Prometheus: yeah just gotta figure it out [03:21] Prometheus: niftylettuce: I've seen a few around [03:22] Prometheus: niftylettuce: for example, https://github.com/rocketraman/gist.sh [03:22] qhead: webkit + V8 would make a kickass browser for jailbroken phones [03:22] Prometheus: ahem, https://github.com/gmarik/gist.sh [03:22] Jakwac has joined the channel [03:25] srid has joined the channel [03:27] kmiyashiro has joined the channel [03:27] eyesUnclouded has joined the channel [03:28] niftylettuce: Prometheus: haha wow these worked by default [03:28] Prometheus: =) [03:28] niftylettuce: Prometheus: now just gotta figure out how to copy the link it spits out to clipboard [03:28] Prometheus: pbcopy [03:28] Prometheus: or such [03:28] Prometheus: | xargs pbcopy [03:29] niftylettuce: yea there are tons of conditionals so it defaulted to stdin [03:29] tim_smart: niftylettuce: npm install gista? [03:29] Prometheus: ah [03:29] Marak has joined the channel [03:29] Marak: reporting in from SF night owls thing, HP people talking about webos [03:29] niftylettuce: Marak++ [03:29] v8bot: niftylettuce has given a beer to Marak. Marak now has 1 beers. [03:29] Marak: does anyone know the easiest way to "stat" a port, i.e. determine if there is a running service? [03:29] Marak: but its not cutting it [03:29] Marak: i've been doing some wonky process.on('uncaughtException', function (err) { if (err.message === "EADDRINUSE, Address already in use") { [03:29] Aria: Heh. That sounds about right. There's no e.errno? [03:30] Aria: or e.code? (I can't remember the property) [03:30] tim_smart: Should be e.code [03:30] Marak: Aria: i cant really do that, i need the exception caught on the instance of the hook, not the global state of the module [03:30] tim_smart: But could be errno [03:30] Marak: err, process [03:30] Marak: i need to actually check if the port is available before i try to bind to it... [03:30] Aria: Why? Why not bind to it and see if that fails? [03:31] tim_smart: Marak: listen(port, callback) [03:31] niftylettuce: i am assuming you're not talking about using netstat [03:31] tim_smart: I'm pretty sure listen has a callback [03:31] Marak: tim_smart: will that throw a proper err if the port isnt available? [03:31] Marak: tim_smart: it does...im like 3 levels deep with dnode, but it should work... [03:31] criswell has joined the channel [03:32] tim_smart: Marak: Looks good to me http://nodejs.org/docs/v0.4.8/api/net.html#server.listen [03:32] tim_smart: The example does exactly what you want [03:32] Marak: tim_smart: hrmm i must be losing it [03:32] Marak: will check it out, thanks [03:32] sh1mmer has joined the channel [03:33] vid_ has joined the channel [03:34] kcbanner has joined the channel [03:34] brianc has joined the channel [03:35] kcbanner: Writing some unit tests involving dates, using assert.equal, its throwing this: uncaught: AssertionError: "2011-04-26T03:10:12.890Z" == "2011-04-26T03:10:12.890Z". So I'm using toJSON() on both dates now, and it works. But is there a better way? [03:35] jslatts has joined the channel [03:35] kcbanner: They are two seperate instances that represent the same date. [03:35] Marak: SubStack: are you not passing callbacks here? https://github.com/substack/dnode/blob/master/index.js#L145 [03:36] Marak: https://github.com/substack/dnode/blob/master/index.js#L206 looks like it should throw... [03:36] tokumine has joined the channel [03:36] mjr_ has joined the channel [03:37] temp01 has joined the channel [03:37] niftylettuce: tim_smart: what would be proper cmd for copying stdin to clipboard as a private url, "gista -pdn | xclip -selection clipboard"? [03:37] Marak: i dont think its catching... [03:37] seciuf has joined the channel [03:37] tim_smart: niftylettuce: cat file.txt | gista -pn file.txt | xclip ... [03:39] tim_smart: niftylettuce: I have alias that annoying xclip command as "cbc" (clip-board-copy) [03:39] Spion_ has joined the channel [03:39] Spion_ has joined the channel [03:44] niftylettuce: tim_smart: https://gist.github.com/59d11ce058e432691f35 [03:44] AvianFlu has joined the channel [03:45] muk_mb: good plan [03:45] niftylettuce: tim_smart: want me to report? [03:45] ngs has joined the channel [03:45] tim_smart: niftylettuce: That is npm v0.3 [03:45] tim_smart: npm is at v1.x now [03:45] niftylettuce: tim_smart: wth i thought i just updated it... [03:46] tim_smart: hehe >.< [03:47] temp01 has joined the channel [03:47] tilgovi has joined the channel [03:47] tilgovi has joined the channel [03:47] tim_smart: niftylettuce: https://github.com/Tim-Smart/gista [03:48] tim_smart: It should work with npm v0.3 I guess... [03:48] xeodox has joined the channel [03:50] mrmanager has joined the channel [03:52] CodyGray has joined the channel [03:52] CodyGray has left the channel [03:52] niftylettuce: two err's i got while doing force install https://gist.github.com/a0359278fe891f3f27a5 and https://gist.github.com/1af4ff2ab6e0b408a1e3 [03:54] sourcode has joined the channel [03:55] niftylettuce: tim_smart: yeah i got this err now... https://gist.github.com/100db0a34cdbb055bfbd [03:56] CrabDude has joined the channel [03:56] tim_smart: niftylettuce: Hrm seems it can't find node-far for fake. Not sure what felixge has done there -- but you can try npm install -g node-far first [03:57] andrewfff has joined the channel [03:57] tim_smart: Rather, npm install -g far [03:58] rchavik has joined the channel [03:59] niftylettuce: tim_smart: far installed, but here is err: https://gist.github.com/a909a3216244f0e2cf5a [03:59] Emmanuel__ has joined the channel [04:00] tim_smart: niftylettuce: OK. The test framework must have made changes. [04:00] tim_smart: niftylettuce: You must be installing with tests enabled right? [04:01] tim_smart: Anyway, patch coming [04:01] niftylettuce: tim_smart: yea just standard "npm install -g gista" [04:03] tim_smart: niftylettuce: Fixed. [04:03] niftylettuce: tim_smart++ [04:03] v8bot: niftylettuce has given a beer to tim_smart. tim_smart now has 2 beers. [04:04] tim_smart: niftylettuce: >.< Need aspirins after that :p [04:04] avalanche123 has joined the channel [04:04] niftylettuce: tim_smart: is it supposed to output "No database.yml file found in /Users/jdempsey/testbed/dm_test/config," [04:05] tim_smart: nope :/ [04:05] niftylettuce: tim_smart: says loaded DEV environment [04:05] tim_smart: Doesn't use a database.yml at all [04:05] niftylettuce: tim_smart: starting merb server listening at port 4000? [04:05] niftylettuce: tim_smart: whaaaaa [04:05] tim_smart: lolwut [04:06] niftylettuce: tim_smart: https://gist.github.com/a1cffaa7ecad1b109fce [04:06] tim_smart: niftylettuce: cat `which gista`? [04:07] niftylettuce: tim_smart: /home/nbaugh/local/node/bin/gista [04:08] niftylettuce: tim_smart: why is it starting a merb server for [04:08] niftylettuce: merb app? [04:08] tim_smart: niftylettuce: https://gist.github.com/1c7e4d8ad91fb395e7c1 [04:08] tim_smart: This is what it should do [04:09] tim_smart: Unless somehow shelling out to `git config` is screwing something. [04:09] niftylettuce: back to stdin :S [04:10] tim_smart: niftylettuce: lol https://gist.github.com/12345 [04:11] niftylettuce: tim_smart: ?? [04:11] dgathright has joined the channel [04:11] tim_smart: niftylettuce: gista -f xxx fetches the gist to stdout [04:12] tim_smart: So that was the content of gist 12345 [04:12] ParadoxQuine has joined the channel [04:13] tim_smart: niftylettuce: Check out `gista --help` [04:15] huang47 has joined the channel [04:16] xDROPx has joined the channel [04:20] Marak: does anyone have any questions for creationix? im here and hes asking [04:20] dsunarch has joined the channel [04:20] Marak: talking about some webos stuff [04:20] asdfsafdsa has joined the channel [04:22] sh1mmer has joined the channel [04:23] vid_ has joined the channel [04:24] juha___ has joined the channel [04:24] kmiyashiro has joined the channel [04:26] marcello3d has joined the channel [04:29] niftylettuce: tim_smart: rofl I thought it was an error [04:29] niftylettuce: tim_smart: was just a gist :'(... [04:30] niftylettuce: tim_smart: i didnt know it would fetch your gist by default [04:30] tim_smart: niftylettuce: It outputs the url by default, but you had the -f flag set [04:31] niftylettuce: tim_smart: oh god, I thought you were jdempsey too [04:31] flippyhead_ has joined the channel [04:31] niftylettuce: tim_smart: LOL [04:31] niftylettuce: tim_smart: u have two personalities? lolz [04:31] niftylettuce: tim_smart: total brain pop tart [04:31] sh1mmer: anyone from ajax.org around? [04:32] tim_smart: niftylettuce: Err wut? [04:33] Jakwac: Is the vm created with the vm module non-blocking? It doesnt say either way in the docs. [04:34] sh1mmer: Jakwac: it's a new context in the same process I believe [04:34] sh1mmer: ACTION takes a quick shufti at the code [04:39] KellyM has joined the channel [04:39] ParadoxQuine has joined the channel [04:42] AvianFlu has joined the channel [04:43] yenz: Jakwac: still looking into the thing with the route blocking? [04:43] AvianFlu has joined the channel [04:43] Jakwac: Nope, got that figured out. It was a browser problem. [04:44] yenz: yeah, i facepalm'd when i ran a shell script to look into it more [04:44] yenz: derp derp [04:44] yenz: sh1mmer: how's the book coming along? [04:44] sh1mmer: yenz: slowly :) [04:44] sh1mmer: I have a big update coming soon [04:45] jslatts has joined the channel [04:45] sh1mmer: another 3 chapters or so [04:45] yenz: heh... hey, are you in KL right now??? [04:45] yenz: (perusing your twitter) [04:45] sh1mmer: yes [04:45] sh1mmer: speaking in about an hour [04:45] yenz: sonofa [04:45] yenz: where??? [04:45] yenz: <-- in bangsar [04:45] yenz: (KL suburb) [04:46] sh1mmer: Jakwac: I'm not exactly the c++ guy but it looks like in runs inline to me [04:46] dshaw_ has joined the channel [04:46] sh1mmer: yenz: downtown. Performance Unleashed is at the Shearton Imperial [04:47] sh1mmer: yenz: we are launching a cloud service here in a couple of weeks with a local company (XYBase) [04:47] Jakwac: Ya, thats what I'm seeing too. [04:47] sh1mmer: Jakwac: v8 contexts are how it seperates out things like iframes [04:48] tracker1 has joined the channel [04:48] FireFly|n900 has joined the channel [04:48] dragnl0rd has joined the channel [04:49] marcello3d has joined the channel [04:49] yenz: sh1mmer: huh, cool. wish i'd have known about it... but RM1k is steep for a solopreneur anyway [04:49] sh1mmer: has anyone tried node-ssh, node-control or NodeSSH? [04:50] jesusabdullah: Meant to give node-control a shot, never did [04:51] hansin has joined the channel [04:51] AvianFlu: sh1mmer: substack's node-ssh isn't finished, I don't think [04:51] AvianFlu: as I recall, libssh doesn't want to play nice with libeio [04:52] sh1mmer: yenz: I'll be around KL until 14th if you want to say hi [04:52] sh1mmer: well, that's not 100% true. At some point I'll pick a beach and be there for a while [04:52] sh1mmer: but I'll be back in KL 11-14 [04:52] yenz: sh1mmer: awesome! i'll take you up on that :) [04:52] SamuraiJack has joined the channel [04:52] yenz: i'll follow up via email [04:54] sh1mmer: AvianFlu: hm. node-ssh is substack? I thought it was ajax.org [04:54] sh1mmer: there could be 2 called node-ssh that wouldn't be a first [04:54] Lorentz: Happens all the time. [04:54] sh1mmer: yeah [04:55] Lorentz: Lots of re-implements around here. [04:55] sh1mmer: whoever hits npm first wins [04:55] sh1mmer: first thing I do now [04:55] sh1mmer: mark my scent [04:55] jesusabdullah: I don't know if SubStack's ssh library is complete [04:55] jesusabdullah: He was having issues, I remember [04:55] sh1mmer: he says it isn't [04:55] jesusabdullah: ah [04:55] sh1mmer: status "This module has all kinds of problems since the node.js thread pool does not play nicely with libssh." [04:55] donaldpcook has joined the channel [04:55] jesusabdullah: yeah, he tried quite a few different approaches [04:56] jesusabdullah: I think pkrumins hacked something together using separate processes [04:56] pifantastic has joined the channel [04:56] sh1mmer: he's a smart guy so I assume whatever he's doing it not a bad approach [04:56] sh1mmer: also gabor's https://github.com/ajaxorg/node-ssh [04:56] niftylettuce: tim_smart: can you bundle in the alias for cpc in gista? ("xclip -selection clipboard") [04:57] niftylettuce: tim_smart: erm, well I guess that would limit to *nix, nvm [04:58] CrabDude has joined the channel [04:59] jesusabdullah: Yeah, however it works, their tunneling feature's almost ready for prime time from what I've gathered [04:59] Me1000 has joined the channel [05:00] sh1mmer: those guys scare me [05:00] sh1mmer: the kids of today [05:00] tim_smart: niftylettuce: echo -e "\nalias cbc=\"xclip -selection clipboard\"" >> ~/.bashrc [05:00] sh1mmer: I remember being proud I could make a text based adventure game [05:00] CrabDude_ has joined the channel [05:01] niftylettuce: tim_smart: cpc* [05:01] niftylettuce: tim_smart: or do you use cbc? [05:01] dshaw_1 has joined the channel [05:01] tim_smart: niftylettuce: Mine is cbc ([c]lip[b]oard[c]opy) [05:02] CrabDude__ has joined the channel [05:03] kawaz_ has joined the channel [05:03] meso_ has joined the channel [05:03] azeroth____ has joined the channel [05:03] CodyGray has joined the channel [05:04] CodyGray has left the channel [05:04] sechrist_ has joined the channel [05:04] darshanshankar has joined the channel [05:05] STUPIDWIFI has joined the channel [05:05] davidascher has joined the channel [05:06] yozgrahame has joined the channel [05:06] ParadoxQuine has joined the channel [05:06] Ezku\ has joined the channel [05:06] kmiyashiro has joined the channel [05:07] fson_ has joined the channel [05:07] yozgrahame has joined the channel [05:08] fangel has joined the channel [05:09] zpao_ has joined the channel [05:11] wbw72 has joined the channel [05:13] CIA-110 has joined the channel [05:13] mediahack has joined the channel [05:14] kawaz has joined the channel [05:14] sreeix has joined the channel [05:16] brettgoulder has joined the channel [05:16] mikeal has joined the channel [05:17] akshatj has joined the channel [05:17] akshatj: how do I package npm modules? [05:17] akshatj: debian [05:18] philtor has joined the channel [05:19] davidascher has joined the channel [05:23] jesusabdullah: akshatj: I hate to be a dick, but rtfm yo [05:25] akshatj: jesus won't help me, now who would? :P [05:26] niftylettuce has joined the channel [05:26] jesusabdullah: akshatj: https://github.com/isaacs/npm/blob/master/doc/developers.md#readme [05:26] KellyM has joined the channel [05:26] jesusabdullah: akshatj: You'll want to read this. It should tell you pretty much how to publish npm modules [05:27] akshatj: jesusabdullah: not that, I want to put npm modules in a debian package [05:28] darshanshankar has joined the channel [05:28] tim_smart has joined the channel [05:29] dshaw_ has joined the channel [05:29] sorensen: rtfm? [05:31] eyesUnclouded has joined the channel [05:31] akshatj: right, but i don't think any fm exists for it [05:32] balaa has joined the channel [05:33] mange has joined the channel [05:34] dshaw_1 has joined the channel [05:34] bergie has joined the channel [05:34] tbranyen: mikeal: did you give a talk at jsconf about starting meetups? [05:35] tbranyen: just checked out your blog and you have some stuff on it there that looks familiar [05:35] techwraith has joined the channel [05:35] mikeal: nope, didn't give a talk [05:36] mikeal: i was working jsconf tho [05:36] mikeal: so i might have just been talking about it with people while sitting behind registration :) [05:36] tbranyen: yeah i started the boston node.js meetup, just haven't figured out how to really get it started [05:36] isaacs has joined the channel [05:36] tbranyen: your analysis of what a typical meetup is, is spot on, but i think its what most people expect when they go to them [05:36] tbranyen: pizza beer and talks [05:37] tbranyen: whoops two is there [05:37] mikeal: the more people expect something the more they notice when you do something better :) [05:38] tbranyen: cristal? [05:39] mikeal: tbranyen: you coming to NodeConf SummerCamp? [05:39] tbranyen: heh don't know what that is [05:39] mikeal: http://www.nodeconf.com/summercamp.html [05:40] tbranyen: oh snap i should get bocoup to send me to that [05:40] andrewfff has joined the channel [05:40] mikeal: all of bocoup should come [05:40] mikeal: hell, you guys should sponsor :) [05:40] stephank has joined the channel [05:40] mikeal: i'll bug boaz about it :) [05:41] davidascher has joined the channel [05:41] tbranyen: 2yeah def [05:42] tbranyen: urgh how long does it take a .it domain name to propagate >_> [05:43] mikeal: not entirely sure, but my .io domain takes like a full day [05:43] mikeal: it's like 1999 again :) [05:43] tbranyen: eff [05:44] tbranyen: mikeal: http://www.mikealrogers.com/about.html fyi [05:46] mikl has joined the channel [05:46] AvianFlu has joined the channel [05:46] mikl has joined the channel [05:50] darshanshankar has joined the channel [05:50] KellyM has joined the channel [05:51] huang47 has left the channel [05:51] JoshC1 has joined the channel [05:54] ditesh|cassini has joined the channel [05:59] jesusabdullah: akshatj: Why would you want to put node packages in a debian package? Also, that sounds like a question for the debian people more than the npm people [05:59] neoesque has joined the channel [06:00] wookiehangover has joined the channel [06:00] akshatj: jesusabdullah: I want to put termkit in a PPA [06:01] jesusabdullah: What's a PPA? [06:01] jesusabdullah: I'm not trolling, btw. Sorry for being flippant earlier [06:02] AvianFlu has joined the channel [06:03] jesusabdullah: I think if I wanted to bundle a node.js app for the purposes of a .deb, I would bundle all the dependencies along with it instead of involving npm [06:03] akshatj: jesusabdullah: Personal Package Archive https://launchpad.net/ubuntu/+ppas [06:03] jesusabdullah: ah [06:03] Nuck: jesusabdullah: Can't NPM bundle? [06:03] jesusabdullah: Can it? I lost track of the feature list right around 1.0 time truth be told [06:05] jesusabdullah: if npm has tools for bundling everything you want into a single directory, then that'd probably be the way to go [06:05] jesusabdullah: akshatj: so, termkit works in linux now? [06:05] onr has joined the channel [06:06] Nuck: wait, NPM already shoves it in a folder with the thing [06:06] Nuck: It's under ./node_modules [06:06] Nuck: Next to the application [06:06] sreeix has joined the channel [06:07] skawful has joined the channel [06:07] akshatj: jesusabdullah: a fork does [06:08] stephank has joined the channel [06:08] tk has joined the channel [06:08] akshatj: https://github.com/Floby/TermKit [06:09] cliffano has joined the channel [06:09] cliffano has left the channel [06:12] gkmngrgn has joined the channel [06:12] tk has joined the channel [06:12] muhqu has joined the channel [06:13] gkmngrgn has joined the channel [06:14] AntelopeSalad_ has joined the channel [06:15] KellyM has joined the channel [06:15] saurabhverma has joined the channel [06:15] littlebiged has joined the channel [06:15] jesusabdullah: akshatj: Do you know why it hasn't been pulled back to the original? ooc? [06:16] simenbrekken has joined the channel [06:16] STUPIDWIFI has joined the channel [06:16] kbni has joined the channel [06:18] confoocious has joined the channel [06:18] confoocious has joined the channel [06:19] mikeal has joined the channel [06:21] liar has joined the channel [06:21] CodyGray has joined the channel [06:21] cummingscm has joined the channel [06:21] cummingscm has left the channel [06:22] stephank has joined the channel [06:23] skawful has left the channel [06:23] CodyGray has left the channel [06:25] svenlito has joined the channel [06:26] mjr_: isaacs: trouble install npm just now: https://gist.github.com/1053266 [06:26] brimster has joined the channel [06:27] mjr_: seen that one before? [06:27] isaacs: mjr_: yes! just the other day. wtf? [06:27] isaacs: that should not be possible. [06:27] mjr_: can I help? [06:27] isaacs: mjr_: maybe. [06:27] isaacs: go into the repl, and do this: require("fs").statSync("/usr").isDirectory() [06:27] niftylettuce: hey folks tim_smart tried helping me but to no luck (he had to go) -- can anyone take a peak at this shell script for gist'ing and lmk why it keeps outputting "undefined"? https://gist.github.com/3d89da96036b2c9c8b9a [06:27] isaacs: what does that return? [06:27] mjr_: I also got that error about /var before, so I removed npm and started over [06:28] mjr_: > require("fs").statSync("/usr").isDirectory() [06:28] mjr_: true [06:28] neshaug_ has joined the channel [06:29] mjr_: isaacs: is this something different in a recent node version? [06:29] isaacs: mjr_: if so, it's a new error. but no, that's expected.. [06:29] mjr_: I guess I could roll node back a few commits and see if that changes anything. [06:30] isaacs: mjr_: so, this is the place where the error is happening: [06:30] isaacs: if (s.isDirectory()) { [06:30] isaacs: if (uid === null && typeof s.uid === "number") foundUID = s.uid [06:30] isaacs: if (gid === null && typeof s.gid === "number") foundGID = s.gid [06:30] isaacs: S(dirs.shift()) [06:30] isaacs: } else cb(new Error("Failed to mkdir "+dir+": File exists")) [06:30] Emmanuel__ has joined the channel [06:30] isaacs: where "s" is the stat of whatever "dir" is [06:31] sreeix_ has joined the channel [06:31] isaacs: mjr_: what version of node are you using? [06:32] mjr_: isaacs: { node: '0.4.9-pre', v8: '3.1.8.16', ares: '1.7.4', ev: '4.4', openssl: '0.9.8l' } [06:32] mjr_: just updated node on the v0.4 branch today [06:32] isaacs: what commit? [06:32] mjr_: d6ec8f668e308763ba1db4b603113ba9085f4391 [06:32] KellyM has joined the channel [06:33] fly-away has joined the channel [06:33] isaacs: hm. me too [06:33] isaacs: what command from npm? [06:33] isaacs: mjr_: er, what command to npm [06:34] mjr_: make install, so I guess node cli.js install -g -f [06:34] mjr_: it's in the gist [06:34] bachel0r has joined the channel [06:34] isaacs: oc [06:34] isaacs: oic [06:34] isaacs: this is so weird [06:35] coen-hyde has joined the channel [06:36] xeodox: j mongodb/ [06:37] `3rdEden has joined the channel [06:37] mjr_: isaacs: so I added a console.dir(s) right before the isDirectory(), and it says this: [06:37] mjr_: https://gist.github.com/1053266 [06:37] mjr_: Which is strange, because the dates are totally wrong [06:37] isaacs: yahh... [06:37] mjr_: Maybe other stuff too, but I'm not sure about the correct values when statting directories [06:37] isaacs: that looks *really* weird [06:38] isaacs: mode 40?? [06:38] isaacs: like, 050? wtf? [06:38] mjr_: woah [06:38] mjr_: mjr:~/work/npm (master)$ ls -aldi /usr [06:38] mjr_: 40 drwxr-xr-x@ 14 root wheel 476 Mar 11 21:02 /usr [06:38] mjr_: 40 is the inode [06:39] jeroen| has joined the channel [06:39] isaacs: yeah... [06:39] AvianFlu has joined the channel [06:39] isaacs: somethings getting messed up. [06:39] mjr_: so like, the numbers got shifted around somehow? [06:39] mjr_: in like, fs.stat? [06:39] isaacs: seems that way [06:39] mjr_: fucking fuck [06:40] mjr_: It doesn't do this on your computer? [06:40] isaacs: nope [06:40] carmony has joined the channel [06:40] isaacs: but there's one other person who it does, he just reported it [06:40] mjr_: You using one of those hopelessly non-unix Mac computers? [06:40] isaacs: i'm using a mac [06:40] isaacs: so's he [06:40] mjr_: Did you apply that big OSX update today, 10.6.8? [06:40] isaacs: so are you [06:40] isaacs: uhh... i don't think so [06:40] isaacs: maybe? [06:41] mjr_: required a reboot [06:41] carmony: Question: Is there a way to get the name of an object instance as a string? [06:41] mykul has joined the channel [06:41] isaacs: no, not on this computer [06:41] groom has joined the channel [06:41] isaacs: carmony: nope [06:41] isaacs: carmony: you can get the name of the constructor? [06:41] isaacs: .. function Foo () {} ; var foo = new Foo; foo.constructor.name [06:42] carmony: oh, perfect [06:42] isaacs: mjr_: got software update going [06:42] isaacs: v8: function Foo () {} ; var foo = new Foo; foo.constructor.name [06:42] v8bot: isaacs: "Foo" [06:43] SamNZ: I'm having trouble with socket.io. Can anyone shed some light on why this might be happening: https://gist.github.com/1053278 [06:44] `3rdEden: the store is deleted when you disconnect so you cant access it SamNZ [06:45] `3rdEden: #socket.io has it's own channel btw :) [06:45] SamNZ: Well that's inconvenient [06:45] SamNZ: Orly [06:45] `3rdEden: Yarly [06:45] balaa has joined the channel [06:46] SamNZ: The store should be deleted after the disconnect event is emitted [06:46] `3rdEden: But yeah, but fixing that is kinda hard, because disconnect is `sync` and get is async [06:47] `3rdEden: only with the memory store, it's sync [06:47] niftylettuce: getting a weird undefined output error to clipboard https://gist.github.com/3d89da96036b2c9c8b9a [06:47] mjr_: isaacs: so I did a make clean && make in my node src dir, and guess what? now npm works fine [06:47] isaacs: nu uh!! [06:47] isaacs: that's horrible [06:47] mjr_: yeah [06:47] mjr_: for real [06:47] isaacs: ugh [06:48] isaacs: shitstains [06:48] mjr_: So somehow we built a completely mangled node [06:48] isaacs: did you build some other version of it previously? [06:48] mjr_: But one that was mangled in tiny, subtle ways [06:48] SamNZ: The problem is I'd like to log the user out when they disconnect, but now I have no way of knowing what their user_id is [06:48] jble has joined the channel [06:48] isaacs: unrealistic [06:48] mjr_: Sure, I build a new version every few days [06:48] isaacs: mjr_: and why just THAT stat? i stat like a bajillion things [06:48] isaacs: npm's a stat monster [06:48] mjr_: Perhaps all stats were borked [06:49] isaacs: it stats your face, just for being there [06:49] mjr_: It died right away [06:49] isaacs: no, that's defintely not the first stat it does. but maybe it's the first dir it tried to create. [06:49] mjr_: That was the very first line of output from npm, but perhaps it's the first stat that checked the mangled bit [06:49] mjr_: anyway, totally shitty bug [06:50] isaacs: gah. [06:50] isaacs: well, i'm building node for teh first time in a long time on a machine that got the 10.6.8 update today [06:50] mjr_: I get a number of bug reports from people using node_redis and hiredis where shit gets mangled when they rebuild [06:50] pigmej has joined the channel [06:50] jble has left the channel [06:50] simenbrekken has joined the channel [06:50] isaacs: how is that possible, though? [06:50] mjr_: And the solution is to rebuild hiredis, and then everythign works again [06:50] isaacs: isn't gcc like, deterministic? [06:50] jble has joined the channel [06:50] sirdancealot has joined the channel [06:50] isaacs: idon't get it [06:50] mjr_: It's something about the build process I think. [06:51] mjr_: Depending on which files you change, and whatever waf decides to build and link [06:51] mjr_: If you apply the commits one at a time, maybe it gets different results? [06:51] lstrojny has joined the channel [06:51] balaa has joined the channel [06:54] ph^ has joined the channel [06:56] mjr_: isaacs: it'll be interesting to see if the other reporter of this issue can fix his/her problem by make clean/make [06:58] isaacs: fucking waf. [06:58] STUPIDWIFI has joined the channel [07:00] amerine has joined the channel [07:00] berasa has joined the channel [07:00] niftylettuce: can someone please try out a gista demo and let me know if I'm not the only one that is having trouble? https://github.com/Tim-Smart/gista [07:01] Xano has joined the channel [07:04] fangel has joined the channel [07:05] petrjanda has joined the channel [07:05] mekwall has joined the channel [07:05] onr: isaacs: is there a nodejs module to build native gui apps like gtk, qt, etc.? [07:07] _jgr has joined the channel [07:07] sgimeno has joined the channel [07:08] andree_ has joined the channel [07:10] cosmincx has joined the channel [07:12] nroot7 has joined the channel [07:12] justmoon has joined the channel [07:13] unlink has joined the channel [07:13] unlink has joined the channel [07:13] simenbrekken has joined the channel [07:15] piscisaureus has joined the channel [07:18] ablomen has joined the channel [07:22] topaxi has joined the channel [07:23] catphive has joined the channel [07:23] saurabhverma has joined the channel [07:24] SamNZ: `3rdEden: I managed to hack together a solution. The disconnect event gets sent with a reason, so I sent the client store along side that before it gets deleted [07:28] `3rdEden: SamNZ sure that will only work if you are using the in memory storage [07:28] `3rdEden: but when you are inneed of scaling your app, you will have issues :p [07:29] `3rdEden: Because those get/set's will be async [07:29] Arkkis: hmm, in memory storage, I need to take a look at that, sounds promising [07:30] SamNZ: `3rdEden: I found another way of doing it [07:30] SamNZ: This time I moved the code which clears the client store to a callback function which is called after the disconnect event has been emitted [07:33] nodenews has joined the channel [07:34] saurabhverma has joined the channel [07:38] andrewfff has joined the channel [07:40] ryanmcgrath has joined the channel [07:40] __tosh has joined the channel [07:42] uchuff has joined the channel [07:42] thalll has joined the channel [07:43] blup has joined the channel [07:43] uchuff has joined the channel [07:43] balaa: need a friend anybody got me? [07:44] iffy|x200 has joined the channel [07:45] __doc__ has joined the channel [07:45] killfill has joined the channel [07:45] svenlito has joined the channel [07:45] confoocious has joined the channel [07:45] confoocious has joined the channel [07:46] jhurliman has joined the channel [07:46] azeroth_____ has joined the channel [07:47] djcoin has joined the channel [07:47] jeremyselier has joined the channel [07:49] Yoric has joined the channel [07:49] hackband has joined the channel [07:51] vid_ has joined the channel [07:51] ivanzhao has joined the channel [07:52] ivanzhao: hello, anybody has good suggestion for setting up a subdomain? e.g. aaa.domain.com, or bbb.domain.com [07:53] ivanfi has joined the channel [07:55] tbassett has joined the channel [07:55] hybsch has joined the channel [07:56] mt3ck has joined the channel [07:57] killfill has joined the channel [07:58] MattJ has joined the channel [07:59] adambeynon has joined the channel [08:00] neoesque has joined the channel [08:00] tilgovi has joined the channel [08:00] ivanzhao has left the channel [08:01] bergie has joined the channel [08:01] ivanzhao has joined the channel [08:01] jbpros has joined the channel [08:02] lstoll has joined the channel [08:02] Druide_ has joined the channel [08:03] killfill has joined the channel [08:04] jacter has joined the channel [08:04] fangel has joined the channel [08:05] devuo has joined the channel [08:06] boehm has joined the channel [08:07] Skola has joined the channel [08:07] petrjanda has joined the channel [08:08] AvianFlu has joined the channel [08:08] c-spencer has joined the channel [08:08] pibi has joined the channel [08:09] RC1140 has joined the channel [08:09] rio{ has joined the channel [08:09] framlin: ivanzao: https://github.com/nodejitsu/node-http-proxy may help [08:10] MrTopf has joined the channel [08:10] path[l] has joined the channel [08:13] tokumine has joined the channel [08:15] sh1mmer has joined the channel [08:16] sh1mmer has left the channel [08:17] aron_ has joined the channel [08:17] sh1mmer has joined the channel [08:17] romainhuet has joined the channel [08:22] kulor-uk has joined the channel [08:25] dgathright has joined the channel [08:29] TomY has joined the channel [08:29] temp01 has joined the channel [08:29] radiodario has joined the channel [08:34] ParadoxQuine has joined the channel [08:37] jeremyselier has joined the channel [08:37] mAritz has joined the channel [08:39] davidbanham has joined the channel [08:40] CoinOpeBoy has joined the channel [08:42] pibi has left the channel [08:43] pibi has joined the channel [08:44] ParadoxQuine_ has joined the channel [08:44] __tosh has joined the channel [08:45] fangel has joined the channel [08:46] akshatj has joined the channel [08:46] akshatj has joined the channel [08:46] jeremyselier has joined the channel [08:47] AvianFlu has joined the channel [08:47] ph^ has joined the channel [08:47] andrewfff has joined the channel [08:47] kixxauth has joined the channel [08:49] _aron has joined the channel [08:50] jvduf has joined the channel [08:51] shirro has joined the channel [08:51] shirro has joined the channel [08:53] Emmanuel__ has joined the channel [08:53] matjas_ has joined the channel [08:54] bzinger has joined the channel [08:55] pibi has left the channel [08:56] aliem has joined the channel [08:56] adrianmg has joined the channel [08:58] brolin has joined the channel [08:58] micheil has joined the channel [09:00] herbySk has joined the channel [09:00] topaxi has joined the channel [09:03] sridatta has joined the channel [09:07] jomoho has joined the channel [09:07] fyskij has joined the channel [09:08] AvianFlu has joined the channel [09:09] jonaslund has joined the channel [09:10] bnoordhuis has joined the channel [09:10] kulor-uk has joined the channel [09:12] k1ttty_ has joined the channel [09:13] k1ttty has joined the channel [09:16] Xano_ has joined the channel [09:16] matyr has joined the channel [09:19] thalll has joined the channel [09:19] shinuza has joined the channel [09:21] Skola has joined the channel [09:21] rauchg has joined the channel [09:21] asabil has joined the channel [09:22] markwubben has joined the channel [09:22] jungly has joined the channel [09:25] xeodox has joined the channel [09:27] brolin_ has joined the channel [09:29] Bj_o_rn has joined the channel [09:29] Bj_o_rn has left the channel [09:30] [AD]Turbo has joined the channel [09:33] jarek has joined the channel [09:33] jarek has joined the channel [09:34] mehlah has joined the channel [09:35] asabil has joined the channel [09:36] SamNZ has joined the channel [09:36] AndyDawson: anyone using now.js 0.7 - upgrading an app I can't get even the demos to run [09:38] altamic has joined the channel [09:55] davidbanham has joined the channel [10:00] Vertice has joined the channel [10:00] ivanfi has joined the channel [10:01] bogomips2_: hi there is a simply method or modules to strip html tag ? [10:01] iffy|x200 has joined the channel [10:01] Marak has joined the channel [10:01] bogomips2_: and leave the text [10:02] tokumine has joined the channel [10:03] sfoster has joined the channel [10:04] ShreeKavi has joined the channel [10:05] ph^ has joined the channel [10:05] kiko_ has joined the channel [10:06] localhost has joined the channel [10:08] bogomips2_ has left the channel [10:08] bogomips2_ has joined the channel [10:09] localhost1 has joined the channel [10:16] AvianFlu has joined the channel [10:16] confoocious has joined the channel [10:19] rioHEJ has joined the channel [10:20] localhost has joined the channel [10:20] iFire has joined the channel [10:20] AAA_awright has joined the channel [10:21] RickardL has joined the channel [10:23] AvianFlu has joined the channel [10:24] seivan has joined the channel [10:26] CrashMe has joined the channel [10:31] mehlah has joined the channel [10:32] hookio has joined the channel [10:33] AvianFlu has joined the channel [10:34] jacobolus has joined the channel [10:36] fangel has joined the channel [10:37] SamNZ: If I have a setTimeout loop running in the same node process as a server will the server still be able to function correctly? [10:38] ablomen: SamNZ, as long as the function that is called is not blocking, sure [10:40] SamNZ: Ok cool [10:40] SamNZ: I should be able to make my game then :D [10:41] STUPIDWIFI has joined the channel [10:42] radiodario has joined the channel [10:43] unlink has joined the channel [10:43] ryah has joined the channel [10:43] dall has joined the channel [10:43] dall: hello [10:43] dall: do i have to use another module for EXPRESS to provide image/css file ? [10:44] hookio has joined the channel [10:45] coreb has joined the channel [10:46] coreb: does anyone know how to make a generated package.json with prompts for necessary details? [10:46] adrianmg: can someone share a little hosting with node.js to upload a demo of this? https://github.com/adrianmg/chat-chat-chat [10:47] HookIO-IRC: coreb: you should check out http://github.com/nodejitsu/jitsu [10:48] pdelgallego has joined the channel [10:48] edude03 has joined the channel [10:49] dall: no? [10:50] akshatj: adrianmg: nice to see UX people take interest in coding [10:50] akshatj: :) [10:50] adrianmg: hehe thanks [10:50] adrianmg: as a front-end developer [10:50] sth: it's nice, but it clouds judgement [10:51] adrianmg: a little bit more javascript will be ok [10:51] sth: as soon as you know what's possible, it stops you from doing certain things [10:51] adrianmg: I am actually too newbie, but i try to make things lol [10:51] bnoordhuis has joined the channel [10:52] adrianmg: MMm [10:52] adrianmg: i will deploy the working demo on heroku [10:52] radiodario_ has joined the channel [10:52] adrianmg: you can test the real demo here [10:52] adrianmg: http://213.60.69.67:3000/ [10:56] LargeTrout has joined the channel [10:56] LargeTrout has joined the channel [10:57] hookio has joined the channel [10:57] materialdesigner has joined the channel [10:58] thejh has joined the channel [10:59] CIA-110: node: 03Ryan Dahl 07v0.4 * r61553cc 10/ (24 files in 6 dirs): Upgrade V8 to 3.1.8.25 - http://bit.ly/kEz0lq [10:59] CIA-110: node: 03Ryan Dahl 07v0.4 * r1e7769d 10/ (24 files in 6 dirs): Merge branch 'v8-3.1' into v0.4 - http://bit.ly/iRLKoN [10:59] sethetter has joined the channel [10:59] unomi has joined the channel [10:59] jarek has left the channel [11:01] skm has joined the channel [11:03] kriszyp has joined the channel [11:03] xandrews has joined the channel [11:04] hellp has joined the channel [11:06] Bwen has joined the channel [11:07] fyskij has joined the channel [11:10] Renegade001 has joined the channel [11:10] Leonidas_ has joined the channel [11:11] okuryu has joined the channel [11:11] coen-hyde has joined the channel [11:21] eyesUnclouded has joined the channel [11:23] Wizek has joined the channel [11:23] shinuza has joined the channel [11:27] Skola has joined the channel [11:30] wilhelm has joined the channel [11:30] Sitethief has joined the channel [11:30] Sitethief has left the channel [11:31] hucker has joined the channel [11:32] FIQ has joined the channel [11:33] mrryanjohnston has joined the channel [11:33] mrryanjohnston: good mornin' [11:34] ryah: http://nodejs.org/dist/node-v0.4.9.tar.gz please test [11:34] Lorentz: woo [11:34] mrryanjohnston: ryah: orly [11:36] gavin_huang has joined the channel [11:37] skm has joined the channel [11:38] bshumate has joined the channel [11:38] bshumate has joined the channel [11:40] jbpros has joined the channel [11:40] mrryanjohnston: ryah: http://pastebin.com/pPXD3Jp7 [11:41] ryah: mrryanjohnston: python --version ? [11:42] mrryanjohnston: 3.2 [11:42] seivan has joined the channel [11:43] stalled has joined the channel [11:44] ryah: mrryanjohnston: we dont support python 3 [11:44] ryah: :/ [11:44] ryah: sorry [11:44] mrryanjohnston: ah. [11:44] mrryanjohnston: *shrugs [11:44] ryah: we need to fix that though in the future [11:44] mrryanjohnston: I'll just install python 2 for now [11:44] mrryanjohnston: ryah: good [11:44] mrryanjohnston: :) [11:45] neoesque has joined the channel [11:45] mape: ryah: Any idea when v0.4.9 will be a tag on github? [11:49] F1LT3R has joined the channel [11:49] mrryanjohnston: ryah: http://pastebin.com/0WvK6Dtg [11:49] mrryanjohnston: If everyone else can build I'll try to figure it out quietly :p [11:50] al3xnull has joined the channel [11:51] elpinguino has joined the channel [11:52] cosmincx: should expressjs and cluster extension work together? any examples that could help me? [11:52] fangel has joined the channel [11:52] mape: cosmincx: it should work, doesn't the example show it using express? [11:52] cognominal has joined the channel [11:53] cosmincx: mape: oh, yeah.. should have looked at examples first.. [11:53] cosmincx: thank you very much [11:53] mape: :) [11:55] jvduf has joined the channel [12:00] bermi has joined the channel [12:00] Prometheus: well, 0.4.9 built fine againt python 2.7 via nvm on my machine [12:00] mrryanjohnston: Prometheus: hmph [12:01] Lorentz: Compiled fine on 2.6.6 for me [12:02] zubairov has joined the channel [12:05] AvianFlu has joined the channel [12:07] `3rdEden has joined the channel [12:10] ChrisPartridge has joined the channel [12:12] brolin has joined the channel [12:15] lemonhall has joined the channel [12:15] stbuehler has joined the channel [12:15] whoops has joined the channel [12:15] bpierre has joined the channel [12:16] elek has joined the channel [12:16] optixx has joined the channel [12:16] indutny has joined the channel [12:16] McMAGIC--Copy has joined the channel [12:17] Will| has joined the channel [12:18] _sri has joined the channel [12:20] kaarlo has joined the channel [12:20] dscape has joined the channel [12:20] Siebuhr has joined the channel [12:20] Kai` has joined the channel [12:20] eschnou has joined the channel [12:20] jvduf has joined the channel [12:21] andrewfff has joined the channel [12:21] sudhirjonathan has joined the channel [12:22] fumanchu182 has joined the channel [12:22] blup has joined the channel [12:23] elpinguino has joined the channel [12:23] Bj_o_rn has joined the channel [12:24] beawesomeinstead has joined the channel [12:24] beawesomeinstead has joined the channel [12:24] beawesomeinstead has joined the channel [12:24] Bj_o_rn has left the channel [12:24] mattly has joined the channel [12:26] JoshC1 has joined the channel [12:27] cosmincx: mape: I have(most probably a stupid question). I have some variables, outside of the app scope. If they are modified by 1 worker, will this be reflected to all workers? [12:27] DTrejoAFKarchive has joined the channel [12:29] bengl has joined the channel [12:30] pTa_armi has joined the channel [12:30] metadaddy has joined the channel [12:31] andrewfff has joined the channel [12:35] elpinguino has joined the channel [12:35] Alex_R has joined the channel [12:35] Siebuhr: I've just tried git-pull'ing to the newest version of node.js - but there doesn't seem to be any v0.4.9-tag. Am I missing something obvious? [12:36] RickardL: correct [12:36] whoops has joined the channel [12:36] _ralph has joined the channel [12:36] yeye has joined the channel [12:37] RickardL: I don't see a tag for 0.4.9 either [12:37] yeye: so, what do I need to install to have header/sys_eventfd.h running on windows cygwin? [12:37] CIA-110: node: 03Ryan Dahl 07v0.4 * rde44eaf 10/ (ChangeLog doc/index.html src/node_version.h wscript): Bump to v0.4.9 - http://bit.ly/jRSOra [12:38] yeye: so, what do I need to install to have header/sys_eventfd.h running on windows cygwin?? [12:39] RickardL: http://groups.google.com/group/nodejs/browse_thread/thread/ce9cdf6e1a92e466 [12:39] Siebuhr: Fantastic - there's a v0.4.9-tag now. [12:39] yeye: googled for over 2 hours, found nothing. That link didn't help. Any other ifo? [12:40] RickardL: It does not exist on the Windows platform [12:41] yeye: it used to ;/ [12:41] yeye: oh well. thanks [12:42] RickardL: Anyone knows of a gist or repository with javascript design patterns written in coffeescript [12:43] jscheel has joined the channel [12:43] RickardL: I'm converting some from the book by the yahoo guy, but it's a bit tiresome :o [12:43] broofa has joined the channel [12:44] Multiply has joined the channel [12:44] replore has joined the channel [12:46] ph^ has joined the channel [12:46] maushu has joined the channel [12:46] seivan has joined the channel [12:47] Charuru has joined the channel [12:48] xandrews has joined the channel [12:49] wlkh has joined the channel [12:50] CIA-110: node: 03Ryan Dahl 07master * r61553cc 10/ (24 files in 6 dirs): Upgrade V8 to 3.1.8.25 - http://bit.ly/kEz0lq [12:50] CIA-110: node: 03Ryan Dahl 07master * r1e7769d 10/ (24 files in 6 dirs): Merge branch 'v8-3.1' into v0.4 - http://bit.ly/iRLKoN [12:50] CIA-110: node: 03Ryan Dahl 07master * rde44eaf 10/ (ChangeLog doc/index.html src/node_version.h wscript): Bump to v0.4.9 - http://bit.ly/jRSOra [12:50] CIA-110: node: 03Ryan Dahl 07master * re286480 10/ src/node_version.h : Now working on v0.4.10 - http://bit.ly/jpTSwy [12:50] CIA-110: node: 03Ryan Dahl 07master * r23b8931 10/ (34 files in 13 dirs): [12:50] CIA-110: node: Merge branch 'v0.4' [12:50] CIA-110: node: Conflicts: [12:50] CIA-110: node: src/node.js [12:50] CIA-110: node: src/node_version.h - http://bit.ly/leGxxP [12:50] Yoric has joined the channel [12:51] CIA-110: node: 03Ryan Dahl 07v0.4 * re286480 10/ src/node_version.h : Now working on v0.4.10 - http://bit.ly/jpTSwy [12:51] jslatts has joined the channel [12:51] d0k has joined the channel [12:52] pTa_armi has left the channel [12:53] zemanel has joined the channel [12:53] jlecker has joined the channel [12:56] mc_greeny has joined the channel [12:56] mfussy has joined the channel [12:56] andrewfff has joined the channel [12:56] \sega has joined the channel [12:57] asobrasil has joined the channel [12:58] andrewfff has joined the channel [12:59] mfussy has left the channel [13:00] AaronMT has joined the channel [13:02] unomi has joined the channel [13:04] Renegade001 has joined the channel [13:04] Plouj has joined the channel [13:04] Plouj: what's a simple lib for reading key-value config files? [13:05] sfoster: JSON.parse() ? [13:05] jscheel: Plouj: just write your config file as json [13:05] jscheel: beat me to the punch sfoster :) [13:05] Plouj: how is that different from eval()? [13:06] Plouj: which isn't very secure [13:06] jscheel: Plouj: json can't contain functioning code, just data structure [13:06] mendel_ has joined the channel [13:07] bradwright has joined the channel [13:08] leahculver__ has joined the channel [13:09] F1LT3R has joined the channel [13:10] bengl has joined the channel [13:12] mgc has joined the channel [13:12] jbergstroem: fyi: http://buildbot.nodejs.org:8010/builders/Gentoo%2032bit/builds/601/steps/upload/logs/err.html [13:12] Kai` has joined the channel [13:12] Vertice has joined the channel [13:13] daleharvey has joined the channel [13:13] ryah: jbergstroem: groan [13:13] ryah: i hate build bots [13:14] ryah: they require so much maintanence [13:14] jbergstroem: ryah: isn't that the server? :) [13:15] thomblake has joined the channel [13:15] jbergstroem: but i guess you're referring to the whole ordeal [13:15] andrewfff has joined the channel [13:15] CIA-110: node: 03Ryan Dahl 07master * r263e33a 10/ (src/node.cc wscript src/node_timer.cc src/node_timer.h): [13:15] CIA-110: node: Revert "Get rid of the old timer binding" [13:15] CIA-110: node: This reverts commit cc82724fdcd2c914be60e3073f87f053829f6baa. [13:15] CIA-110: node: Conflicts: [13:15] CIA-110: node: src/node.cc [13:15] CIA-110: node: wscript - http://bit.ly/mxoElW [13:15] CIA-110: node: 03Ryan Dahl 07master * rd005cc5 10/ (4 files in 2 dirs): Enable new timer binding only on --use-uv - http://bit.ly/khT0uD [13:16] metadaddy has joined the channel [13:16] Nomon has joined the channel [13:17] eyesUnclouded has joined the channel [13:17] _ralph has joined the channel [13:17] footyfish has joined the channel [13:17] alessio_alex has joined the channel [13:18] al3xnull_ has joined the channel [13:18] ianward has joined the channel [13:18] sreeix has joined the channel [13:20] jvduf has joined the channel [13:20] roidrage has joined the channel [13:21] kbni has joined the channel [13:21] easternbloc has joined the channel [13:22] CIA-110: node: 03Henry Rawas 07master * rd64e070 10/ lib/net_uv.js : net_uv: Delay listen emit - http://bit.ly/kkOKkP [13:22] indutny has joined the channel [13:22] beawesomeinstead has joined the channel [13:22] beawesomeinstead has joined the channel [13:22] beawesomeinstead has joined the channel [13:23] bolgovr has joined the channel [13:23] stephenallred has joined the channel [13:24] zubairov has joined the channel [13:24] aheckmann has joined the channel [13:25] kriszyp has joined the channel [13:25] matjas has joined the channel [13:25] matjas has joined the channel [13:26] DTrejoAFKarchive has joined the channel [13:26] CIA-110: node: 03Ryan Dahl 07master * r20996db 10/ (3 files in 3 dirs): [13:26] CIA-110: node: Revert "Add support for file descriptor type detection." [13:26] CIA-110: node: This reverts commit 911cbd0cef02c93f821c0c80a3d5dbad2b692c42. [13:26] CIA-110: node: This patch is broken on Linux and I don't want to think about the [13:26] CIA-110: node: functionality during the Windows port. We can reconsider it after v0.6. - http://bit.ly/iVLGDO [13:26] ben_alman_ has joined the channel [13:27] ncb000gt has joined the channel [13:27] tuhoojabotti: Plouj: JSON is nice, I made a JSON parser with a basic ;D https://gist.github.com/1045566 [13:27] zemanel has joined the channel [13:29] gozala has joined the channel [13:29] whoops has joined the channel [13:29] Plouj: yeah, but then I have to figure out how to deal with defaults [13:29] thejh has joined the channel [13:29] Plouj: and lots of other intricate details of dealing with config files as well as commandline options [13:29] davidsklar has joined the channel [13:29] unomi has joined the channel [13:30] mattly has joined the channel [13:31] fangel has joined the channel [13:31] baudehlo has joined the channel [13:33] context- has joined the channel [13:34] Benjie has joined the channel [13:34] willwhite has joined the channel [13:34] edude03 has joined the channel [13:34] unlink has joined the channel [13:34] unlink has joined the channel [13:34] Benjie: Is there a simple way to do util.pump() but to NOT close the connection on completion? For example to implement a protocol akin to HTTP Keep-alive? [13:35] avalanche123 has joined the channel [13:36] ryah: Benjie: a.pipe(b, { end: false }) [13:36] Benjie: ryah, that looks exactly like what I need! Thanks very much! :D [13:37] akshatj has joined the channel [13:39] squeese has joined the channel [13:39] ryah: is there a good website that has screenshots of various web designs? [13:39] ryah: like, for inspiration? [13:39] brianseeders has joined the channel [13:40] Benjie: ryah, yes [13:40] Benjie: ryah, let me try and remember it [13:41] Benjie: http://www.designfridge.co.uk/web-design/inspiration [13:41] Benjie: ryah, ^ [13:41] jonasen has joined the channel [13:42] taf2: smashing mag ? [13:42] bradleymeck_: csszengarden? [13:42] Benjie: If my app dies from ECONNRESET, does that mean I'm trying to write to the socket AFTER it's been closed? (e.g. through a delayed callback with socket stored in closure) [13:43] mandric has joined the channel [13:44] baudehlo: I like themeforest.net (but it's all non-free stuff - but you can use it for inspiration) [13:45] fermion has joined the channel [13:46] JJMalina has joined the channel [13:49] brettgoulder has joined the channel [13:50] Benjie: How can I deal smoothly with ECONNRESET? [13:50] sriley has joined the channel [13:51] baudehlo: hook on('error') [13:51] Benjie: baudehlo, thanks. *facepalm* [13:52] Poetro has joined the channel [13:52] andrewff1 has joined the channel [13:52] c4milo has joined the channel [13:52] springmeyer has joined the channel [13:53] Benjie: baudehlo, turns out I already had that. :/ [13:53] yhahn has joined the channel [13:55] Benjie: ryah, http://dribbble.com/ ? [13:55] jbergstroem: ryah: unmatchedstyle ? [13:56] eyesUnclouded has joined the channel [13:58] maushu has joined the channel [13:58] baudehlo: Benjie: [13:58] baudehlo: but on your server *and* client object? [13:58] temp01 has joined the channel [13:58] jaket has joined the channel [13:59] Ravatar has joined the channel [14:00] sonnym has joined the channel [14:00] Skola has joined the channel [14:00] sourcode has joined the channel [14:00] Corren has joined the channel [14:01] sub_pop has joined the channel [14:01] catshirt has joined the channel [14:02] rfay has joined the channel [14:04] jslatts has joined the channel [14:05] Benjie: baudehlo, nodejs is listening (TLS), and accepts new connections. The listen socket has .on('error') plus once I accept a connection I set a .on('error') on the new socket. Is there somewhere else I am missing? I note TLS creates a duplex stream - do I need to somehow do .on('error') to both? [14:05] baudehlo: Sounds like that should be enough. [14:05] nibblebot has joined the channel [14:05] baudehlo: do you get a stack trace? [14:06] adrianmg has left the channel [14:07] Benjie: baudehlo, http://pastebin.com/92ubeN9R [14:08] colinclark has joined the channel [14:08] andrewfff has joined the channel [14:08] k1ttty has joined the channel [14:10] ksheurs has joined the channel [14:10] pandeiro has joined the channel [14:11] JohnnyL has joined the channel [14:11] Benjie: baudehlo, I can only reproduce it over TLS sockets. [14:12] felixge has joined the channel [14:12] felixge has joined the channel [14:12] baudehlo: maybe you're right, it's the underlying socket that lacks the on('error') [14:12] Benjie: I know I have to .close() the socket twice, which I thought was weird [14:13] adambeynon has joined the channel [14:13] Benjie: s/close/end/ [14:14] baudehlo: it feels to me that all the tls stuff is a bit beta still. [14:15] baudehlo: can you do client.cleartext.socket.on('error', ... ) ? [14:15] jetienne has joined the channel [14:16] jetienne: compiling 0.4.9 deb for ubuntu [14:16] kimyangwon has joined the channel [14:17] rgmarcha has joined the channel [14:17] broofa has joined the channel [14:18] broofa has joined the channel [14:18] jbergstroem: ryah: suspecting that arlorlas benchmarking image (arlolra.no.de) is disk full:ed [14:18] akshatj: jetienne: cool, do you know how to package npm modules? [14:19] jetienne: akshatj: nope, why do you ask [14:19] akshatj: jetienne: want to put termkit in a ppa [14:19] Benjie: baudehlo, socket.cleartext doesn't exist. [14:19] baudehlo: what does? [14:20] jetienne: akshatj: maybe i should look [14:20] jetienne: akshatj: the issue is that npm format is messy [14:20] baudehlo: can you util.inspect() the socket? There should be a way to get at the underlying socket :) [14:22] bronson has joined the channel [14:22] jakehow has joined the channel [14:22] Benjie: baudehlo, socket.pair.encrypted I think is nearly what I want [14:22] ekryski has joined the channel [14:23] Benjie: That was just using console.log. I'll use util.inspect [14:24] hornairs has joined the channel [14:24] baudehlo: same diff. [14:25] lukegalea has joined the channel [14:25] hornairs: is there an easy way to tell node to break on the first line of execution when using a remote debugger (node --debug, not node debug) [14:26] brianc has joined the channel [14:27] Vertice has joined the channel [14:27] akshatj: jetienne: found this http://sbhr.dk/2011/03/31/debianizing-node-programs/ [14:27] azeroth___ has joined the channel [14:27] highermath_away has joined the channel [14:27] hybsch has joined the channel [14:27] hybsch has left the channel [14:28] _marks has left the channel [14:28] elpinguino has joined the channel [14:28] Xano has joined the channel [14:28] lukegalea: Hi all, [14:29] hornairs: node-inspector is the bomb.com but i have to wrap any simple scripts in a server so that it continues to run while i pull up the inspector and set breakpoints [14:29] lukegalea: what are people using in express to do cache busting for assets (ie: rails style ?somenumber after assets based on md5)? [14:29] lukegalea: I imagine a fancy asset url helper would be nice. I will write one if no one else has done it yet. [14:30] baudehlo: hornairs: I assume a "debugger;" statement doesnt work? [14:31] adrianmg has joined the channel [14:31] hornairs: baudehlo no doesn't seem to, i think you need a debugger already attached for them to actually break [14:32] adrianmg: is there a way to detect when a user close the connection on faye.js? [14:32] ianward has joined the channel [14:33] luisloaiza has joined the channel [14:33] luisloaiza: hi ther [14:33] joshthecoder has joined the channel [14:33] luisloaiza: I'm trying to use JSONP in an AJAX call [14:33] Benjie: baudehlo, I've managed to socket.encrypted.on('error',function(e){...}) which is being called, but the server still dies on ECONNRESET; is there something I need to do in my error handler? [14:33] luisloaiza: but i get the same error o cross domain origin [14:34] luisloaiza: do i need to use CORS [14:34] luisloaiza: ?¿ [14:34] seivan has joined the channel [14:34] luisloaiza: to support this? [14:34] baudehlo: Benjie: you need to close the socket... But other than that I don't think so. Is it dying because it has nothing more to do? [14:34] sbisbee_ has joined the channel [14:35] mapleman has joined the channel [14:36] jetienne has joined the channel [14:37] Benjie: baudehlo, it shouldn't be, theres still 2 listening sockets [14:37] Benjie: baudehlo, close with socket.end()? [14:37] pifantastic has joined the channel [14:37] Benjie: baudehlo, or perhaps .destroy()? [14:37] baudehlo: yeah the latter. [14:37] jetienne: sudo add-apt-repository ppa:jerome-etienne/neoip && sudo apt-get update && sudo apt-get install nodejs <- install node 0.4.9 on ubuntu 11.04 [14:38] baudehlo: since you don't care about sending anything more. [14:38] sivy has joined the channel [14:39] Benjie: with .destroy on both sockets from the error handlers for both sockets, still get: [14:39] Benjie: Error: ECONNRESET, Connection reset by peer [14:41] mahna has joined the channel [14:41] mendel_ has joined the channel [14:42] alessio_alex has joined the channel [14:43] Destos has joined the channel [14:44] alessio_alex: when I say: max = 'width'; var obj = { max: 240}; console.log(obj); [14:44] alessio_alex: I get { max: 240 } [14:44] alessio_alex: I need to get { 'width': 240 } [14:44] alessio_alex: What am I doing wrong? :) [14:45] MooGoo: object literals dont work like that [14:45] alessio_alex: the fact is max can be width or height [14:45] sh4wn: obj[max] =240; [14:45] MrTopf_ has joined the channel [14:45] MooGoo: the keys are IdentifierName/inline string/number [14:45] MooGoo: cant use expressions [14:46] alessio_alex: oh [14:46] alessio_alex: thank you [14:46] alessio_alex: obj[max] did the trick [14:46] sh4wn: :) [14:47] tuhoojabotti: https://gist.github.com/1045566 :) [14:47] fangel has joined the channel [14:48] skapism has joined the channel [14:48] skapism: When I benchmark the basic server example (similar to the one on the homepage) with ab -t 30 -c 10, I get around 3000 requests per second. What is limiting node from serving more? the cpu? [14:49] adrianmg: arg [14:49] adrianmg: cannt figure out [14:49] adrianmg: how can i detect a client close on faye.js [14:49] adrianmg: crappy documentation [14:49] skapism: For comparison, with lighttpd, serving a static file, I get around 10000 requests [14:50] bradleymeck_ has joined the channel [14:50] pigmej: skapism: light is using processes [14:50] pigmej: with node you have single process [14:50] pigmej: so if you have multicore cpu [14:50] pigmej: try node-cluster;) [14:50] Benjie: skapism, do you have quad core? [14:50] skapism: dual core [14:51] skapism: just your run of the mill laptop [14:51] Benjie: skapism, hyperthreading? [14:52] skapism: yeah, given it's an intel [14:52] skapism: are those 3k requests really the cpu blocking? nothing else? [14:52] mikael has joined the channel [14:52] jackhq has joined the channel [14:53] mikael: hey everyone, holy crap, that's a lot of people in here [14:53] skapism: how you guys get if you do a similar benchmark (if anyone cares to do it)? [14:53] skapism: how much* [14:53] dipser has joined the channel [14:53] hwinkel has joined the channel [14:55] gazumps has joined the channel [14:59] iFire has joined the channel [14:59] brianloveswords has joined the channel [14:59] sethetter has joined the channel [15:00] Venom_X_ has joined the channel [15:00] adambeynon has joined the channel [15:01] pixel13 has joined the channel [15:02] Siebuhr has left the channel [15:02] andrewfff has joined the channel [15:02] kersny has joined the channel [15:03] clifton has joined the channel [15:03] andrewfff has joined the channel [15:03] joshthecoder has joined the channel [15:05] alessio_alex: I'm trying to benchmark more concurrent connections but I get: [15:05] alessio_alex: (node) Hit max file limit. Increase "ulimit -n" [15:05] alessio_alex: how do I do that? [15:05] antlong has joined the channel [15:06] baudehlo: type "ulimit -n " on the command line [15:06] baudehlo: you may hit max limits though (this is OS dependant) [15:08] alessio_alex: oh [15:08] alessio_alex: ok [15:08] mynyml has joined the channel [15:09] gazumps has joined the channel [15:09] srid has joined the channel [15:09] srid has joined the channel [15:10] softdrink has joined the channel [15:13] jacobolus has joined the channel [15:15] shanez has joined the channel [15:17] RORgasm has joined the channel [15:17] criswell has joined the channel [15:17] CIA-110: node: 03Ryan Dahl 07master * r6afdca8 10/ doc/node.1 : Add docs about NODE_USE_UV to man page - http://bit.ly/m7FqNM [15:18] antlong: how do you account for html changing via JS, when running a test with zombie, or such? i'm opening the page the first time, but after a few seconds, some new text is written, which i can't seem to get [15:18] junkee[] has joined the channel [15:18] EyePulp: mape: got a sec? I'm trying to get the basic example running for node-scraper, and I've installed all the required packages, but get "TypeError: Cannot call method 'runInContext' of undefined" [15:19] mape: EyePulp: seems like a jsdom issue [15:19] EyePulp: antlong: zombie is supposed to run scripts on the page [15:19] bogomips2_: when i run configure i get all ok but not this : Checking for header port.h : not found, Checking for header sys/event.h : not found Checking for header sys/queue.h : yes [15:19] bogomips2_: Checking for function kqueue : not found, Checking for header sys/eventfd.h : not found can i have problem or limitation ? i use debian in a8core cpu [15:20] ryah: bogomips2_: dont worry about it [15:20] ryah: it's normal [15:20] bogomips2_: ok thanks ;) [15:20] brolin has joined the channel [15:21] mjr_ has joined the channel [15:21] ryah has joined the channel [15:22] mrmanager has joined the channel [15:23] seivan has joined the channel [15:23] ryah has joined the channel [15:24] sh4wn: clifton you there? [15:24] EyePulp: mape: you're correct - the error does seem to be coming from jsdom - I just did npm installs of all the required packages and ran the basic example. Any other pieces I need to make the example work? [15:25] LowValueTarget has joined the channel [15:27] Benjie: hornairs, in case you haven't already had the answer: node --debug-brk[=port] [15:28] Benjie: hornairs, "The --debug-brk option is needed when your script is short lived (no time to attach debugger) and/or you want to observe the NodeApp.js execution from the very start. This option will force execution to break at the first line of the main script and wait for debugger to connect." [15:28] dgathright has joined the channel [15:29] kbni has joined the channel [15:29] hornairs: Benjie i think --debug-brk is deprecated/removed [15:29] hornairs: i tried it and got "unrecognized option", bummer. [15:29] shinuza has joined the channel [15:31] keeto has joined the channel [15:31] sirganya has joined the channel [15:32] sivy has joined the channel [15:32] siculars has joined the channel [15:33] dyer has left the channel [15:33] Swizec has joined the channel [15:35] rgmarcha has joined the channel [15:36] mandric has joined the channel [15:36] tjholowaychuk has joined the channel [15:36] fyskij has joined the channel [15:37] dtan has joined the channel [15:37] chrischris has left the channel [15:38] skyler_brungardt has joined the channel [15:38] jtsnow has joined the channel [15:39] andrewfff has joined the channel [15:39] ryah: this next patch will excite some people. [15:39] ryah: wait for it.... [15:39] ph^ has joined the channel [15:39] Ian_Corne: waiting.. [15:39] halfhalo: oh, oh, oh, does it make puppies appear in mid air?!? [15:39] Spion has joined the channel [15:41] pTa_armi has joined the channel [15:41] CIA-110: node: 03Ryan Dahl 07master * r33af272 10/ (763 files in 31 dirs): Upgrade V8 to 3.4.8 - http://bit.ly/le9ICm [15:41] pTa_armi: hi =) [15:41] pTa_armi: somebody there who can give me some infos about backbonejs? I'm searching for someone who has some experience with backbonejs, jasmine and jstestdriver for tdd. Is this a good idea to use this stack for a big js-heavy webapp? [15:41] JJMalina has joined the channel [15:42] mahna: pTa_armi: Try #documentcloud [15:42] sivy has joined the channel [15:42] pTa_armi: no answer after 4 hours [15:42] gkmngrgn has joined the channel [15:42] Ian_Corne: well, maybe they're european and at work? [15:43] pTa_armi: I'm at work too =) [15:43] pTa_armi: but yes, that could be a prob, too [15:43] halfhalo: ACTION is physically at work, but beyond that... [15:43] mahna: I don't think they have a mailing list either. [15:44] davidascher has joined the channel [15:45] tbassetto has joined the channel [15:46] mundanity has joined the channel [15:46] samsonjs has joined the channel [15:47] kristsk has joined the channel [15:49] stephank has joined the channel [15:49] kbni has joined the channel [15:49] azeroth_____ has joined the channel [15:50] clifton has joined the channel [15:51] elpinguino has joined the channel [15:51] cbiscardi has joined the channel [15:53] bnoordhuis has joined the channel [15:53] andrewfff has joined the channel [15:57] mfussy_ has joined the channel [15:58] clifton has joined the channel [16:00] sreeix has joined the channel [16:00] felixge: ryah: anything great in v8 3.4.8? [16:01] criswell has joined the channel [16:01] felixge: Improved performance of try/catch. <-- maybe this? [16:01] Yuffster_work has joined the channel [16:01] [[zz]] has joined the channel [16:01] donaldpcook has joined the channel [16:02] andrewfff has joined the channel [16:02] tbranyen: felixge: is that related to the catch scoping? [16:03] felixge: tbranyen: don't ask me, the v8 changelog isn't exactly a story book [16:03] felixge: ;) [16:03] tbranyen: afaik try on its own is fine, but the catch uses a dynamic scope [16:03] tbranyen: like with [16:03] febits has joined the channel [16:04] mfussy_ has left the channel [16:05] CIA-110: node: 03Ryan Dahl 07master * rbe1b552 10/ lib/net_uv.js : net_uv: Fix server.listen argument parsing - http://bit.ly/ivV10q [16:05] ryah: felixge: crankshaft by default [16:05] ryah: on x64 [16:06] seivan has joined the channel [16:06] sh1mmer has joined the channel [16:07] MikhX has joined the channel [16:07] luisl has joined the channel [16:07] tcurdt has joined the channel [16:07] chrisjpowers has joined the channel [16:08] pandeiro has joined the channel [16:08] tbranyen: ryah: oh thats sick [16:09] luisl: JSONP for crossdomain policy with ajax? [16:09] luisl: someone [16:09] luisl: ? [16:10] boehm has joined the channel [16:10] felixge: ryah: crankshaft doesn't improve the benchmarks I care about ... [16:10] felixge: which means I still have to optimize performance ... lame : ) [16:12] caolanm has joined the channel [16:12] kmiyashiro has joined the channel [16:13] blup has joined the channel [16:14] Lorentz has joined the channel [16:14] dgathright has joined the channel [16:16] Corren has joined the channel [16:16] galaxywatcher has joined the channel [16:16] hij1nx has joined the channel [16:17] jerrysv has joined the channel [16:18] petrjanda has joined the channel [16:20] sivy has joined the channel [16:21] \sega has joined the channel [16:21] blup has joined the channel [16:25] dgathright has joined the channel [16:26] dshaw_ has joined the channel [16:27] seivan has joined the channel [16:30] jtsnow has joined the channel [16:30] Vertice has joined the channel [16:30] ryah_ has joined the channel [16:31] vicapow has joined the channel [16:31] vicapow: hello all. [16:32] saschagehlich has joined the channel [16:32] vicapow: has anyone been able to use node-http-proxy to forward POST requests? only GET requests seem to be working for me [16:32] springmeyer has joined the channel [16:33] antlong: anyone familiar with pythonzombie [16:35] TheFuzzball has joined the channel [16:36] gerard0 has joined the channel [16:36] zomgbie has joined the channel [16:37] jackhq has joined the channel [16:39] broofa_ has joined the channel [16:39] blup has joined the channel [16:40] fangel has joined the channel [16:41] steffkes has joined the channel [16:44] jvduf has joined the channel [16:46] wadey has joined the channel [16:48] eyesUnclouded has joined the channel [16:49] `3rdEden has joined the channel [16:52] blup has joined the channel [16:52] broofa has joined the channel [16:53] TheFuzzball has joined the channel [16:53] electricEmu has joined the channel [16:53] thalll has joined the channel [16:53] dnyy has joined the channel [16:53] elpinguino has joined the channel [16:53] topaxi has joined the channel [16:54] amerine has joined the channel [16:54] jarek has joined the channel [16:54] jarek has joined the channel [16:54] piscisaureus has joined the channel [16:56] febits has joined the channel [16:56] sridatta has joined the channel [16:59] bene has joined the channel [17:00] criswell has joined the channel [17:00] criswell_ has joined the channel [17:00] LiamMagee has joined the channel [17:01] bene has left the channel [17:01] eddanger has joined the channel [17:06] leahculver has joined the channel [17:06] leahculver has joined the channel [17:06] TooTallNate has joined the channel [17:06] heavysixer has joined the channel [17:09] CrabDude has joined the channel [17:10] blueadept has joined the channel [17:11] typn has joined the channel [17:11] blup has joined the channel [17:11] ts__ has joined the channel [17:12] zomgbie has joined the channel [17:12] kbni has joined the channel [17:12] saschagehlich has joined the channel [17:12] vid_ has joined the channel [17:12] CIA-110: node: 03Henry Rawas 07master * rdd175a4 10/ src/node.cc : fix mingw build - http://bit.ly/k4SCGI [17:13] zwittar has joined the channel [17:13] tuhoojabotti: Nice [17:14] hackband has joined the channel [17:14] Poetro1 has joined the channel [17:15] rook2pawn has joined the channel [17:16] elpinguino has joined the channel [17:18] dguttman has joined the channel [17:20] skript has joined the channel [17:20] pingularity has joined the channel [17:20] stalled has joined the channel [17:22] mange has joined the channel [17:22] CrabDude has joined the channel [17:22] srid has joined the channel [17:22] srid has joined the channel [17:23] AvianFlu has joined the channel [17:24] creationix has joined the channel [17:25] mcutler has joined the channel [17:27] Robdor has joined the channel [17:27] samsonjs has joined the channel [17:27] aguynamedben has joined the channel [17:27] veinofstars has joined the channel [17:28] caolanm has joined the channel [17:29] veinofstars has left the channel [17:30] Marak has joined the channel [17:30] Transformer has joined the channel [17:30] yozgrahame has joined the channel [17:31] MikhX has joined the channel [17:31] Cleer has joined the channel [17:32] dguttman_ has joined the channel [17:33] langworthy has joined the channel [17:33] lukegalea: mape: Hey. I have a quick question re: connect-assetmanager [17:33] samsonjs has joined the channel [17:33] lukegalea: Do you have a sec? [17:33] CIA-110: libuv: 03Henry Rawas 07master * r8fd916d 10/ (uv-win.c uv-win.h): fix mingw build - http://bit.ly/iw98oJ [17:34] Murvin has joined the channel [17:35] CIA-110: node: 03Ryan Dahl 07master * r1cb7b67 10/ (19 files in 3 dirs): Upgrade libuv to 8fd916d6ddc9c7fd0e3e8e668efbc2d782e8e742 - http://bit.ly/jqnFcE [17:36] mape: lukegalea: ask away [17:38] lukegalea: mape: Thanks. I'm trying to find a "cache busting" technique to use with assetmanager. (ie: adding md5 to filename, etc). i see from your docs that you kinda expect that given that you use a regexp for the route to match css/js. But how are you generating the asset urls? It's a bit of a chicken or egg thing.. until there's a request for the bundled asset it won't exist, correct? so how do you get your express app to generate an md5 seede [17:38] lukegalea: asset url for the assetmanger bundle? (I hope that makes sense!) [17:39] blippedxd has joined the channel [17:40] bradleymeck_ has joined the channel [17:40] kulor-uk has joined the channel [17:41] puffpio has joined the channel [17:41] mape: lukegalea: yeah, right now the assetManager just keeps track of timestamps, used here: https://github.com/mape/node-express-boilerplate/blob/master/server.js#L95 [17:42] sweetd has joined the channel [17:42] mape: lukegalea: but you could easily add a postManipulate function that just takes the files content, md5s it and updates an object that you then pass to the template [17:42] mkrecny has joined the channel [17:43] rodasc has joined the channel [17:43] Murvin: bnoordhuis: hi.. do u know if 0.4.9 has the socket fix? [17:43] dgathright has joined the channel [17:43] zwittar has joined the channel [17:43] lukegalea: mape: aaah. You know, that boilerplate was what I was missing. Great! Thanks. [17:43] mape: np :) [17:44] bnoordhuis: Murvin: no, haven't been able to reproduce it yet [17:44] AvianFlu has joined the channel [17:45] rhdoenges has joined the channel [17:45] jakehow has joined the channel [17:45] blup has joined the channel [17:46] harth has joined the channel [17:46] dtan: is anyone running node.js on an nginx build? [17:46] bogomips2__ has joined the channel [17:46] softdrink: ACTION is about to start raging at svg. [17:46] lukegalea: dtan: I have nginx in front of my node cluster [17:46] Murvin: bnoordhuis: need any help for reproduce the problem? i tried on rackspace, ec2... etc and can reproduce it everytime. hmmm [17:46] anno^da has joined the channel [17:46] dtan: lukegalea: did you build it from source? [17:46] dtan: or from a package manager? [17:47] lukegalea: dtan: ah, I see what you were asking. Sorry. I used the ubuntu package for 10.10 [17:47] lukegalea: you need to handle compile for some reason? [17:47] pjacobs has joined the channel [17:47] dtan: gotcha [17:47] lukegalea: I meant hand compile. [17:48] dtan: trying to get the latest stable version [17:48] dtan: i'm on fedora [17:48] liar has joined the channel [17:48] dtan: 14 [17:48] dtan: and the yum install is 0.8.x [17:48] dtan: but the latest stable is 1.0.4 [17:48] lukegalea: ah. I'm something of a redhat hater because everything is so out of date. [17:48] dtan: i've never tried it before [17:48] lukegalea: using ubuntu everything is much closer to the newest version. [17:48] mandric_ has joined the channel [17:48] dtan: gotcha [17:48] lukegalea: so you don't have to hand build as much. [17:49] dtan: well i installed 0.8.x with yum no prob [17:49] mandric_ has joined the channel [17:49] dtan: the only reason why i went with fedora was b/c my friend said that it's more secure than ubuntu [17:49] bnoordhuis: Murvin: much appreciated but probably not, just haven't had much time to look into it [17:49] dtan: but i've also heard ubuntu has gained a lot of traction the past couple years and the server edition is pretty decent [17:49] radiodario has joined the channel [17:49] mandric_ has joined the channel [17:50] mcluskydodallas has joined the channel [17:50] lukegalea: dtan: This could very easily become a religous debate :) But IMHO, Redhat packages tend to be really old, which means that they don't tend to update and run into issues with new version that might have vulnerabilities or bugs, but if you are using an "emerging technology" the old version is likely way buggier and less secure than the new version. [17:50] Murvin: bnoordhuis: same here. i was planning to spend more time and dig deeper. but just too many other things need to work on. :( [17:50] jtsnow has joined the channel [17:51] lukegalea: Take a look at the version of ruby included with fedora. It's 5 years old or something along those lines I think. [17:51] dtan: lol [17:51] CIA-110: libuv: 03Ryan Dahl 07master * r39da51b 10/ (9 files in 8 dirs): Remove WIN32_LEAN_AND_MEAN - http://bit.ly/kQI56R [17:51] dtan: so you think i might be better off going with ubuntu b/c it is more stable with node.js + nginx over fedora? [17:51] lukegalea: we *do* use Redhat for PHP sites here, because the tech isn't rapidly evolving. [17:52] dtan: right , makes sense [17:52] joeyjoe has joined the channel [17:53] jble has joined the channel [17:53] admc has joined the channel [17:53] lukegalea: dtan: If you are content hand building everything then fedora is fine, but I find that it becomes a cascade.. ie: new version of X requires newer version of Y, requires newer version of Z.. We have to maintain our own private yum repo for fedora that includes updated versions of things like imagemagick, etc. But if you can get by with just building nginx, node, etc then I wouldn't kill yourself. [17:53] joeyjoe: hello [17:53] dtan: heh, ya i'm not a server admin by trade [17:53] mjr_ has joined the channel [17:53] lukegalea: dtan: But I can only imagine what would happen if you tried to install node-canvas or something like that with lots of dependencies... dunno, maybe it's fine. [17:53] PeterPeterPeter has joined the channel [17:53] joeyjoe: does anyone else see ranlib (... has no symbols) warning when building libuv on OSX? [17:53] dtan: what kind of dependencies does node-canvas have? [17:54] lukegalea: cairo [17:54] dtan: what's that? [17:54] lukegalea: some image compositing library (C++?).. which has lots of other dependencies. [17:54] dtan: ah gotcah [17:54] dtan: hmmm [17:55] lukegalea: but I would just proceed as you are, and the first time that you feel like it's getting out of control building everything by hand - switch to ubuntu :) [17:55] softdrink: cairo is a vector drawing library [17:55] lukegalea: aah [17:55] lukegalea: there you go. [17:55] softdrink: it's actually quite fast [17:56] jvduf has joined the channel [17:56] lukegalea: ya, node-canvas works amazing. I've never used cairo directly. [17:56] JoshC1 has joined the channel [17:56] vicapow has left the channel [17:56] sfragis has joined the channel [17:57] dmose has joined the channel [17:57] dtan: i'll have to think it over now b/c i don't want to be maintaining shit [17:58] fermion has joined the channel [17:58] TooTallNate has joined the channel [17:58] lukegalea: dtan: good call [17:59] tilgovi has joined the channel [17:59] tilgovi has joined the channel [17:59] ScottR4 has joined the channel [17:59] skohorn has joined the channel [17:59] ScottR4: I'm trying to build node after doing a ./configure --prefix=/usr/lib/node, and keep getting this error: /usr/lib64/node/gcc: Command not found. Why is node looking for gcc in the prefix area? [18:00] jeroen| has joined the channel [18:00] F1LT3R has joined the channel [18:01] scoates: is there a sane way for me to defer a return until a condition is met? (I basically want to optionally block what is normally a non-blocking operation.) [18:01] ScottR4: scoates: if it's a build in function, many of them have synchronous versions [18:01] ScottR4: built-in* [18:01] scoates: ACTION nods [18:02] ScottR4: scoates: not the solution you want, I assume? [18:02] tbranyen: caolanm: ping! you use urxvt as well? [18:03] matbee has joined the channel [18:03] scoates: I have a wrapper for an HTTP client. Now, it just gathers the response in a non-blocking way (and calls a callback). I'd like to (at the cost of blocking) be able to do this: `$_.get(url).username` where $_.get(url) returns an object, and `.username` dereferences the username element. [18:04] caolanm: tbranyen: hey, just trying it out [18:04] mape: rauchg: Has there been any issues with socket.io only sending the first message when using xhr? [18:04] scoates: now I have do to something like $_.get(url, function ($_) { return $_.username; }); [18:04] rauchg: mape [18:04] rauchg: nop that i know of [18:04] rauchg: using 0.7 ? [18:04] caolanm: tbranyen: the tabbedex extension seems nice: https://github.com/stepb/urxvt-tabbedex [18:04] mape: rauchg: using ttp://cdn.socket.io/stable/socket.io.js [18:04] rauchg: well actually i never heard of that with any version [18:04] rauchg: OH [18:04] rauchg: don't use that [18:04] rauchg: it's really really out of date [18:04] rauchg: :$ [18:04] `3rdEden: lol [18:04] mape: >_> [18:04] rauchg: where did you get the link from [18:05] jackhq has joined the channel [18:05] mape: some time ago [18:05] rauchg: ive been trying to kill it [18:05] cbiscardi has joined the channel [18:05] mape: seems logical it would still work though [18:05] rauchg: but it keeps haunting me [18:05] `3rdEden: shameless channel advertisement mape join #socket.io [18:05] niftylettuce has joined the channel [18:05] rauchg: yeah amazon doesn't let me erase it [18:05] tbranyen: caolanm: yeah i saw you follow it [18:05] rauchg: :D [18:05] TheFuzzball has joined the channel [18:05] tbranyen: i have issues with copy/paste, but other than that its really nice [18:05] `3rdEden: rauchg just upload alert('out of date'); [18:05] `3rdEden: ;D [18:05] caolanm: tbranyen: the only thing that annoys me is that the font rendering is ever-so-slightly less smooth than xterm [18:06] dans has joined the channel [18:06] caolanm: tbranyen: I can barely notice, but now I've noticed it its annoying me ;) [18:06] jakehow has joined the channel [18:06] tbranyen: caolanm: oh you need to get ummm shit sec [18:06] tbranyen: caolanm: http://www.infinality.net/blog/subpixel-hinting-patch-for-freetype/ use that with xft [18:07] caolanm: ah, looks useful [18:07] caolanm: thanks! :) [18:07] davidwalsh has joined the channel [18:07] tbranyen: yeah i got a screenshot of my setup so you can see the font improvements [18:07] ScottR4: can anyone help me with an issue I'm having with make && make install'ing node? ./configure --prefix seems to affect make looking for gcc in the specified prefix location... [18:08] muhqu has joined the channel [18:08] tbranyen: caolanm: http://sharefilewith.me/u/d2fbc3.png << fonts look p good to me there [18:08] tbranyen: large screenshot tho [18:08] supster has joined the channel [18:09] caolanm: tbranyen: like the setup :) [18:09] xerox: yes good font [18:09] tbranyen: caolanm: i just wish copy/paste was better :-/ its been terrible for me [18:09] tbranyen: shift insert not working half the time [18:10] bradleymeck_: whats the proper way to setup /var folders etc during `npm install` since i get set to the nobody user sudo is not happy [18:10] tbranyen: most of the time selecting doesn't copy into the x buffer [18:11] dtan: lukegalea and it seems that ubuntu is used by a lot more people than fedora [18:12] mikeal1 has joined the channel [18:12] sjbreen has joined the channel [18:13] leahculver has joined the channel [18:13] leahculver has joined the channel [18:13] lukegalea: dtan: I'm not sure about the stats.. you should probably consider CentOS and RHEL in your numbers for a fair comparison versus ubuntu, but they are even more out of date than fedora. [18:13] dtan: right [18:13] ph^ has joined the channel [18:14] dtan: that's kinda why i chose fedora over plain centos [18:15] dtan: lukegalea - you said you're on ubuntu 10.10? [18:16] saurabhverma has joined the channel [18:16] lukegalea: yep. But just because 11.04 wasn't out when I set them up. [18:16] dtan: my highest option is 10.19 [18:16] dtan: 10.10 [18:16] dtan: to choose from [18:16] lukegalea: rackspace? [18:16] dtan: ya lol [18:16] lukegalea: hehe. me too. [18:17] dtan: ah ok cool [18:17] dtan: so you've already gone through all this set up bs [18:17] lukegalea: yep ;) [18:17] dtan: cool [18:17] dtan: i'm spinning it up right now [18:17] dtan: so i'll see how much more difficult it is [18:17] dtan: ha [18:18] lukegalea: it's easier. Just use aptitude as an interface to apt. and your init scripts are "upstart" scripts now.. [18:18] dtan: aptitude a desktop app or something? [18:19] CrabDude has joined the channel [18:20] nrajlich has joined the channel [18:21] leahculver has joined the channel [18:21] pandeiro has joined the channel [18:23] spasquali has joined the channel [18:24] pifantastic has joined the channel [18:24] lukegalea: dtan: ncurses [18:24] dtan: ncurses? [18:24] lukegalea: text user interface.. old skool ansi type stuff [18:24] dtan: oh ok [18:24] lukegalea: it feels like playing a BBS door game [18:25] grava has joined the channel [18:25] bradleymeck_: f me, it is hard to get access to mkdir /var/* from instide an npm install script [18:27] \sega has joined the channel [18:27] avalanche123 has joined the channel [18:28] bogomips2_ has joined the channel [18:29] eyesUnclouded has joined the channel [18:31] iFire has joined the channel [18:32] alessio_alex has joined the channel [18:32] brolin has joined the channel [18:33] qbert_ has joined the channel [18:34] ryanmcgrath has joined the channel [18:37] tilgovi has joined the channel [18:37] hosh_work has joined the channel [18:37] jspiros has joined the channel [18:38] phpnode has joined the channel [18:39] pifantastic has joined the channel [18:39] tahu has joined the channel [18:39] isaacs has joined the channel [18:40] mandric has joined the channel [18:40] jspiros has joined the channel [18:41] FireFly|n900 has joined the channel [18:41] mandric_ has joined the channel [18:41] MacDiva has joined the channel [18:43] seemann has joined the channel [18:44] TooTallNate has joined the channel [18:44] seemann: Quick question here, i'm starting to use socket.io, but i'm used to express.js. Is there a way I can associate a socket with a session? [18:45] seemann: socket.io socket with a express session? [18:45] seemann: via cookie maybe? [18:45] wadey: seemann: i've used this with socket.io 0.6, not sure if it is fully updated for 0.7: https://github.com/aviddiviner/Socket.IO-sessions [18:45] seemann: i'll give it a try then tyvm [18:48] nrajlich has joined the channel [18:49] CrabDude has joined the channel [18:49] leahculver has joined the channel [18:49] leahculver has joined the channel [18:49] `3rdEden: that one... looks a bit overkill to me [18:50] insin has joined the channel [18:51] jackhq has joined the channel [18:51] jbc22 has joined the channel [18:51] zomgbie has joined the channel [18:52] CIA-110: node: 03Henry Rawas 07master * r2e1af6d 10/ deps/v8/src/platform-win32.cc : [18:52] CIA-110: node: Fix V8 mingw32 build [18:52] CIA-110: node: Reported to V8 [18:52] CIA-110: node: http://code.google.com/p/v8/issues/detail?id=1508 - http://bit.ly/irFsuB [18:52] scoates: is there a way for me to yield my thread's execution to the event loop? (oversimplified, but if I have for (var i=0; i<=10000000; i++) { /* can I yield control here somehow */ } ? ) [18:53] chunhao has joined the channel [18:53] wadey: scoates: put your next step in process.nextTick(function() { ... }) [18:53] F1LT3R has joined the channel [18:53] xerox: in a browser you'd setTimeout( ..., shorttime ) I guess? [18:54] scoates: wadey: I kind of want to do the opposite of nextTick, actually. I want to block (yes, yes.. I know it's bad.. this is for a very specific operation). [18:54] insin: ACTION resets his "I Want To Block" alarm [18:54] Draggor: scoates: Then you need to set up your code using a queue of some kind that you check. [18:55] mrmanager has joined the channel [18:55] scoates: ACTION nods [18:55] Draggor: and whenever an action there is done, you call your next step/iterator function [18:55] scoates: I know how to do it the *right* way. I'm trying to add syntactical sugar for a REPL. [18:56] wadey: scoates: you can look at what I did here for blocking in the REPL: https://github.com/wadey/node-syncrepl [18:56] wadey: might be close to what you are trying to do [18:56] scoates: ok, I will, wadey. Thanks. [18:57] devuo has joined the channel [18:57] fangel has joined the channel [18:57] bradleymeck_: isaacs about? [18:57] jarek has joined the channel [18:57] jarek has joined the channel [18:58] cjm has joined the channel [19:00] philtor has joined the channel [19:00] muhqu has joined the channel [19:01] puffpio_ has joined the channel [19:01] isaacs: bradleymeck_: hey [19:01] isaacs: what's up? [19:02] stride: hm, when did the mailing list become so meh? [19:02] antlong: 4 score and 7 years ago [19:03] raidfive has joined the channel [19:04] isaacs: bradleymeck_: you shoudln't be mkdir'ing anything in /var from an npm package...? [19:04] omni5cience_ has joined the channel [19:04] random123 has joined the channel [19:04] isaacs: stride: what did you find exciting about it previously? [19:06] svenlito has joined the channel [19:08] scoates: wadey: closer to what I actually want would be something like this: require('request').get({uri: 'http://nodejs.org/'}).res.body (yes, I know get doesn't return an object with a res element, but I think this might explain it better) [19:08] jethro_ has left the channel [19:08] wadey: yeah, my solution is fairly simple so that it works easily [19:09] wadey: but thought it might give you some ideas on how to solve it [19:10] scoates: I don't see where you're simulating the block, to be honest [19:10] scoates: my brain hurts from wading through this stuff for a bit too long, though, so I'm sure it's more obvious than I'm noticing [19:11] _jgr has joined the channel [19:11] Mrfloyd has joined the channel [19:11] isaacs: whoa, uglifycss is a port of the yuicompressor's css minifier. [19:12] isaacs: this is so trippy. [19:12] wadey: scoates: https://github.com/wadey/node-syncrepl/blob/master/syncrepl.js#L206 [19:12] isaacs: cssmin, as well. [19:12] wadey: if the call was async, then the prompt isn't displayed [19:12] scoates: ah [19:13] coreb has joined the channel [19:13] scoates: but your calls don't *actually* wait to chain, somehow. [19:13] scoates: this looks closer, but it's hacky, too: https://github.com/Sage/streamlinejs [19:13] jacobolus has joined the channel [19:13] thejh has joined the channel [19:14] bartt has joined the channel [19:16] cjm has joined the channel [19:17] sridatta has joined the channel [19:17] tenumm has joined the channel [19:17] jvduf has joined the channel [19:17] pifantastic has joined the channel [19:17] fly-away has joined the channel [19:18] tenumm: http://bespin.cz/~ondras/html/classv8_1_1ObjectTemplate.html#a80e9db593d8b954c4153082dc7a439d .. SetNamedPropertyHandler(namedPropertyGetter) is giving error are we suppose to provide setter also ? [19:18] kristsk has joined the channel [19:19] kiddinho has joined the channel [19:19] elpinguino has joined the channel [19:20] tenumm: According to spec - SetNamedPropertyHandler providing setter is not compulsory. I am not sure why I am still getting error [19:21] dmcquay has joined the channel [19:22] aguynamedben has joined the channel [19:23] TooTallNate has joined the channel [19:24] anno^da has joined the channel [19:25] sirganya: if you had some apps running on the same domain would you use routes or http-proxy? I'm lost [19:27] hackband has joined the channel [19:27] sirganya: is this the normal way? https://github.com/visionmedia/express/blob/master/examples/route-separation/app.js [19:28] tjholowaychuk: apps and routes are pretty different :p [19:28] shajith has joined the channel [19:28] tjholowaychuk: but yeah you could use some sort of proxy for vhosts [19:29] sirganya: I just discovered vhosts.. [19:29] sirganya: It always happens as soon as I post a question, I find the answer [19:29] tjholowaychuk: oh sorry you said same domain [19:30] davidwalsh has joined the channel [19:30] sirganya: I have an app I built before I stated with express, and a couchdb.. I'd like to send requests to each one and have them all come back thru port 80 [19:31] sirganya: vhosts looks like the answer? [19:33] tjholowaychuk: if it's the same app check out http://learnboost.github.com/cluster/ [19:33] tjholowaychuk: cluster will spawn N workers, with the same app [19:34] sirganya: cheers! I'll have a look [19:35] saurabhverma has joined the channel [19:36] nrajlich has joined the channel [19:40] bnoordhuis: Murvin: does the socket hang up when you hammer node with ab? [19:40] bnoordhuis: s/hang up/hang up happen/ [19:41] bnoordhuis: is it node's http client that has the issue? [19:41] gozala has joined the channel [19:43] cw_ has joined the channel [19:43] cwo has joined the channel [19:44] pjacobs2 has joined the channel [19:44] puffpio_ has joined the channel [19:45] TooTallNate has joined the channel [19:45] jakehow has joined the channel [19:46] \sega has joined the channel [19:46] raynos has joined the channel [19:47] knuthy has joined the channel [19:48] TooTallNate has joined the channel [19:48] sridatta has joined the channel [19:51] jeroen| has joined the channel [19:53] TooTallNate has joined the channel [19:54] nrajlich has joined the channel [19:56] TooTallNate has joined the channel [19:56] euforic has joined the channel [19:57] simenbrekken has joined the channel [19:58] Remoun has joined the channel [19:59] bitwise_: wish i knew why chrome won't connect to the node-inspector instance but safari will. [20:02] nrajlich has joined the channel [20:02] springmeyer_ has joined the channel [20:02] isaacs: tjholowaychuk: what did express.bodyDecoder() turn into in 2.0? [20:02] tjholowaychuk: bodyParser [20:02] tjholowaychuk: haha [20:02] isaacs: thanks :) [20:02] tjholowaychuk: :D [20:02] tjholowaychuk: i didnt like the word [20:02] isaacs: ACTION probably gonna have more dumb questions [20:02] tjholowaychuk: same with cookieParser [20:03] isaacs: tjholowaychuk: and staticProvider -> static? [20:03] tjholowaychuk: yup [20:04] TechCel has joined the channel [20:04] isaacs: whoa, baby, ejs error dumps got WAAAYAYYYY nicer. [20:04] robi42 has joined the channel [20:05] liquidproof has joined the channel [20:05] igl has joined the channel [20:05] tjholowaychuk: haha yeah stylus/jade/ejs have more or less the same error reporting now [20:05] tjholowaychuk: still can't do much with syntax errors though [20:06] petrjanda has joined the channel [20:06] cbiscardi has joined the channel [20:06] isaacs: sure [20:07] zomgbie has joined the channel [20:07] mjr_ has joined the channel [20:07] hwinkel has joined the channel [20:07] phishy has joined the channel [20:08] isaacs: tjholowaychuk: is there a way to specify a subfolder for partials? [20:08] level09 has joined the channel [20:08] isaacs: so partial('foo') loads up views/partials/foo.ejs instead of views/foo.ejs? [20:09] AvianFlu has joined the channel [20:09] tjholowaychuk: in 2.x they are relative so you can have say ./views/user/{index,settings}.jade or something and just do partial('settings') [20:09] isaacs: i see. [20:09] charleyd has joined the channel [20:10] kbni has joined the channel [20:11] tjholowaychuk: the lookup is a little complicated and not documented well right now :( [20:11] unvamp has joined the channel [20:11] patcito has joined the channel [20:11] tjholowaychuk: but it's closer to require() in a sense [20:12] mjr_ has joined the channel [20:12] tjholowaychuk: like-wise with layouts, if you have ./views/user/layout.jade it's chosen over ./views/layout.jade [20:12] mikeal has joined the channel [20:12] confoocious has joined the channel [20:13] pHcF has joined the channel [20:16] adam_ has joined the channel [20:16] nibblebot: i'm trying to build mongoose for running the tests and submitting patches. I cloned repo. now do i need to npm install in root and then npm install in each of support/*? [20:17] isaacs: tjholowaychuk: it seems like i can make my stuff work by just moving the partials into the same views/ folder. [20:18] jobim has joined the channel [20:18] dguttman has joined the channel [20:18] tjholowaychuk: isaacs yup, i believe i have the lookup for partials defaulting to the given path relative to the views root [20:18] dall has joined the channel [20:18] dall: hi [20:18] jesusabdullah: Hi! [20:19] tjholowaychuk: for super common things like displaying messages doing partial('messages') from anywhere instead of partial('../../nessages') [20:19] tauren has joined the channel [20:20] ekryski has joined the channel [20:22] dall: tjholowaychuk, why createWriteStream and not fs.writeFile ?? [20:22] tjholowaychuk: because one is a stream [20:22] tjholowaychuk: and one is not [20:22] dall: and we are looking for a stream [20:22] dall: :D [20:22] dall: true! [20:22] dall: :D [20:23] Prometheus: I wonder why I can't make a connection to freenode with net.Socket :/ [20:25] asobrasil has left the channel [20:25] brolin has joined the channel [20:25] ekryski: Hello all. I was wondering if there are any of you up here in Canada. [20:26] ekryski: Specifically the Calgary area [20:26] lukstr: ekryski: The former, not the latter [20:26] eldar has joined the channel [20:26] Bonuspunkt has joined the channel [20:27] mb has joined the channel [20:27] TooTallNate has joined the channel [20:27] xeodox has joined the channel [20:28] ekryski: so there's one! I know that tjhollowaychuk is in Victoria. [20:28] jble has left the channel [20:28] ekryski: lukstr: where you at? [20:28] Yoric has joined the channel [20:29] niftylettuce: anyone here know of a good Github/Growl notifier for new pushes on a repo? [20:29] mikeal: SubStack: beer.js tonight? [20:29] AvianFlu has joined the channel [20:29] TooTallNate has joined the channel [20:30] SubStack: mikeal: sure [20:30] SubStack: whereabouts? [20:30] mikeal: https://twitter.com/mikeal/status/86158717418094593 [20:31] eschnou has joined the channel [20:32] isaacs: tjholowaychuk: any idea how to go about tracking this down? "Error: Can't set headers after they are sent." [20:32] dgathright has joined the channel [20:32] isaacs: tjholowaychuk: stack trace leads back to res.render("login.ejs", {locals: { blah: bloo } }) [20:32] tjholowaychuk: isaacs: that's node's lovely way to letting you know you responded twice usually due to bugs causing double callbacks etc [20:32] tjholowaychuk: hmm [20:32] isaacs: hm. [20:33] isaacs: worked fine on express 1.0 [20:33] tjholowaychuk: that's because node failed silently [20:33] tjholowaychuk: we had a bug in mongoose for example that would do a few queries blah blah and end up at times invoking the callback more than once [20:33] tjholowaychuk: so res.render()ing more than once [20:33] isaacs: hm... looks like the static middleware is getting an ENOENT [20:34] tjholowaychuk: it's lame too because I think getHeader() still bitches after the header is sent [20:34] robi42 has joined the channel [20:34] tjholowaychuk: so you can't use it in logger() or similar [20:35] isaacs: yeah, so, if i'm understanding this correctly, going to /login is causing the static middleware to look for /public/login, that's failing, so it's trying to 500, and at the same time, the login.ejs is trying to send its contents [20:36] mandric has joined the channel [20:37] tjholowaychuk: depends a bit on where static() is use()d but on ENOENT it will just next() [20:37] raynos has left the channel [20:37] isaacs: hm... [20:37] tjholowaychuk: if you have app.use(app.router); app.use(..static()) then the routes have first chance to respond [20:37] tjholowaychuk: but if you res.render(); AND next() [20:37] tjholowaychuk: you'll have a mess [20:38] augustl has joined the channel [20:38] RobertPitt has joined the channel [20:39] tjholowaychuk: feel free to send a private gist if you want, always easier to help with code [20:39] dgathright has joined the channel [20:39] RobertPitt: heya guys [20:41] elpinguino has joined the channel [20:41] ekryski has joined the channel [20:41] jhurliman has joined the channel [20:43] wadey has joined the channel [20:43] asabil has joined the channel [20:43] kuhrt has joined the channel [20:43] path[l] has joined the channel [20:44] m00p has joined the channel [20:45] micheil: tjholowaychuk: hey, just checking a rumour, but do you live on a zoo? [20:45] micheil: or like own a zoo? [20:45] tjholowaychuk: on a zoo? haha no [20:45] tjholowaychuk: i just have lots of pets [20:45] micheil: ah [20:46] tjholowaychuk: 3 ferrets and we're fostering 6 kittens and the mom cat right now [20:46] micheil: okay, so the rumor is almost right, but still wrong. [20:46] BillyBreen has joined the channel [20:46] tjholowaychuk: haha yeah [20:46] xDROPx has joined the channel [20:46] xDROPx has joined the channel [20:46] micheil: the other tangential is, has any node.js developers meet you in person? [20:47] dall: tjholowaychuk, can i not print the HOST of the request on the logs ? [20:47] mikeal has joined the channel [20:47] micheil: (there were a few questions going around like "is tjholowaychuk actually _why?" [20:47] MikhX has joined the channel [20:47] tjholowaychuk: dall: use the :req[header] thing [20:47] tjholowaychuk: micheil bahaha [20:47] Prometheus: niftylettuce: I'm not sure if Github for mac (are you on a mac?) has Growl support [20:48] tjholowaychuk: i dont write crazy cryptic code, definitely not _why [20:48] micheil: tjholowaychuk: this is london man, there's some crazy stories about our american counterparts. [20:48] Prometheus: someone needs to balance all this Rubyism with Pythonism =P [20:48] dall: tjholowaychuk, tried it returns undefined [20:48] tjholowaychuk: micheil canadian! haha [20:48] micheil: tjholowaychuk: american, from origin of the continent of america [20:48] micheil: primarily north america [20:48] isaacs: micheil: that's not how it's used here. [20:49] micheil: >_> [20:49] tjholowaychuk: pfft haha, canada will float away [20:49] isaacs: micheil: canada is america as much as new zealand is australia [20:49] jspiros has joined the channel [20:49] micheil: isaacs: okay then. although, it is the "north american plate" [20:49] isaacs: american = from the us [20:50] isaacs: if anyone is the _why of node, it's SubStack [20:50] micheil: where as it's not the "australian plate", it's the oceania plate or something [20:50] micheil: the reference to _why was more so "does tjholowaychuk actually exist?" [20:50] jesusabdullah: _why makes me :( [20:50] jesusabdullah: I just don't like his artistic style [20:50] tjholowaychuk: i appreciate some of his projects [20:51] tjholowaychuk: his more recent stuff was not nearly a messy [20:51] jesusabdullah: I hear some do! [20:51] jesusabdullah: ah [20:51] isaacs: it's a little more hipster, in a lot of the same ways that ruby is a little more hipster than node [20:51] micheil: anyway, it's getting late here in london, so I'm off to a pub to find a light drink and some food.. [20:51] isaacs: g'nite [20:51] niftylettuce: Prometheus: no im on linux, looking at libnotify1 package and https://github.com/ctshryock/GithubNotifier and https://github.com/fgnass/node-dev [20:51] Prometheus: niftylettuce: ah, alright [20:51] Prometheus: can't help then, sorry [20:51] niftylettuce: PrgmrBill: debian rather [20:52] micheil: (side note, in the next few days I should be releasing a port of node-async-testing for the client-side) [20:52] Marak: isaacs: its all apples and oranges [20:52] isaacs: Marak: very comparable fruits, despite popular opinion to the contrary [20:53] micheil: for one, both are fruits. :P [20:53] Marak: isaacs: aint nutin wrong with fruit smoothies [20:53] sfragis has joined the channel [20:54] mikey_p: never heard of an apple smoothie [20:55] systemfault: A glass of Steve Jobs's saliva? [20:55] adelgado: chunky cider? [20:56] Nexxy: ACTION gags a little [20:56] Nexxy: systemfault-- [20:56] v8bot: Nexxy has taken a beer from systemfault. systemfault now has 11 beers. [20:56] SubStack: ~/sb end [20:56] SubStack: haha [20:56] systemfault: Good thing that I say good things on ##Javascript :'( It pays for my evilness here [20:57] Murvin has joined the channel [20:57] dgathright has joined the channel [20:58] jackhq has joined the channel [20:58] ekryski: tjhollowaychuk: do you know any guys using Node out my way in Calgary? [20:59] bene has joined the channel [20:59] tjholowaychuk: ekryski nope [20:59] tjholowaychuk: i only know 2 guys in vic i think, not personally but i know there are a few [21:00] ekryski: damn! I just got slapped with a tighter deadline and I'm kinda freaking now. I hate when biz dev guys think code is copy paste shit all the time [21:00] tjholowaychuk: haha yeah those are the wrong people to work for [21:00] tjholowaychuk: deadlines == shit code [21:00] tjholowaychuk: well unreasonable deadlines [21:01] jtsnow has joined the channel [21:01] Murvin: from where? vic? [21:01] ekryski: I know right. I can't help working for them either. [21:01] ekryski: Murvin: I'm in Calgary [21:02] Murvin: oooh. calgary. oil companies? [21:02] ekryski: This one is telecom [21:02] ekryski: no way oil would use node [21:02] Murvin: oh.. don't tell me is telus.. lol [21:03] ekryski: Mruvin: ha ha. No. I work for a telecom startup that is gathering analytics for cell phone usage. [21:03] ekryski: *Murvin [21:03] Murvin: yaaa. ekryski* [21:04] andrenkov has joined the channel [21:04] andrenkov has joined the channel [21:04] Murvin: good to use node to do analytics.. i used that for online traffic analytics a few months ago. :) [21:04] Murvin: anyone has G+? [21:05] ekryski: Murvin: Ya I thought it would be a good fit. We need to be able to handle a lot of short burst traffic [21:05] ekryski: tjhollowaychuk you wanna come and enjoy Stampede and come and work on some code??? [21:05] dtan: hey, i just install nginx on an ubuntu box and am trying to compile node from the git repo but i keep on getting this error: [21:05] charleyd has joined the channel [21:05] tjholowaychuk: stampede? [21:05] Murvin: ekryski: Ec2? i handle short burst by using ec2 micro instance. [21:05] tjholowaychuk: I'm originally from edmonton, I can't stand alberta haha [21:05] dtan: sources/node/wscript:319: error: Could not autodetect OpenSSL support. Make sure OpenSSL development packages are installed. Use configure --without-ssl to disable this message. [21:05] dtan: anyone run into this issue before? [21:06] Murvin: dtan: give me one moment. [21:06] dtan: cool, thanks murvin [21:06] dtan: brb too [21:06] ekryski: you don't know it? Ya I knew you were from Edmonton. Stampede is just one big redneck party [21:06] tjholowaychuk: gross [21:06] tjholowaychuk: haha [21:06] Murvin: dtan: ubuntu, right? [21:06] Murvin: dtan: do this: sudo apt-get install libsll-dev [21:07] ekryski: sluts and all. It's quite a sight. Gets old when you've lived here your whole life. [21:07] Nexxy: ACTION gasps [21:07] Nexxy: ekryski, language! [21:07] ekryski: sorry [21:07] Murvin: tjholowaychuk: Edmonton oiler.. I m Nucks . lol [21:07] felixge has joined the channel [21:07] felixge has joined the channel [21:07] tjholowaychuk: alberta gets old after the first few days [21:07] jspiros has joined the channel [21:08] ekryski: Murvin: right now we are using our own dedicated hardware. I tried to convince them to use ec2 but they bought stuff anyway [21:09] mandric has joined the channel [21:09] dtan: k murvin, hmmm gives me "unable to locate libsll-dev [21:09] bnoordhuis: dtan Murvin: libssl-dev [21:09] dtan: right [21:09] ekryski: I have to say I do like living here overall. Lots of space but I've never been to vic [21:09] Murvin: ekryski: i see. then it will be tough.. because short burst is better to handle in cloud. [21:09] dtan: ok, was about to ask [21:09] Murvin: dtan: yes.. libssl-dev typo [21:10] Murvin: bnoordhuis: thanks. lol. typo [21:10] dtan: yup np [21:10] dtan: haha two in a row [21:10] dtan: k installed [21:10] dtan: now i should be able to ./configure? [21:10] ekryski: Murvin: you think so? Just because you can spin up more instances? [21:10] Murvin: yes. [21:10] dtan: sweet [21:10] dtan: thanks murvin [21:10] Murvin: ekryski: yes. [21:11] Murvin: dtan: np. [21:11] bnoordhuis: Murvin: about https://github.com/joyent/node/issues/1176 - do you experience the hangups in the client or the server? [21:11] dtan: oh but in the output, it says "checking for openssl: not found" [21:11] dtan: is that expected? [21:11] ekryski: Murvin: or the guys could just buy more servers. If we get big enough we'll probably have our own mini server farm. We're in talks with some big telecom providers [21:12] bnoordhuis: dtan: can you gist or pastie the complete log? [21:12] Murvin: bnoordhuis: the problems are always in the server making http.request (client request) call. [21:12] dtan: sure [21:12] nrajlich has joined the channel [21:12] Murvin: ekryski: buy more servers is not the good way to handle burst. [21:12] bnoordhuis: Murvin: so if i have a server that does a request to another server and i hammer it hard with `ab`, it should manifest itself? [21:12] Murvin: ekryski: because u never know how big the spike is. [21:13] dtan: bnoordhuis, murvin: https://gist.github.com/1054996 [21:13] Nexxy: Murvin: I've heard that before [21:13] Murvin: bnoordhuis: correct. let say serverA makes http.request to serverB. serverB just send back simple data. [21:13] necrodearia has joined the channel [21:13] jerrysv: this problem looks familiar [21:13] Murvin: bnoordhuis: and serverB will always survive.. have no problem at all. [21:13] bnoordhuis: dtan: you're good to go, it detected the openssl dev headers [21:14] dtan: k [21:14] bnoordhuis: Murvin: okay, thanks [21:14] Murvin: bnoordhuis: the socket hang up , or socket "Use Up" problem is on serverA that establishing http.request [21:14] materialdesigner has joined the channel [21:15] ekryski: Murvin: Fair enough. Can you configure ec2 to automatically spin up another instanceor do you have to do it manually? [21:15] dtan: bnoordhuis - so that "no openssl" is expected? [21:15] Murvin: dtan: so, openssl not found? [21:15] ekryski: Murvin: we also can't really afford to have any down time. [21:15] MattJ: ekryski: it's possible, via 3rd party services if it isn't built-in now (I think it is) [21:15] dtan: that's what the output says, but bnoordhuis is saying it's ok [21:16] ekryski: thanks MattJ [21:16] bnoordhuis: dtan: yes, sort of - ./configure doesn't detect openssl on my machine either but node builds fine (with ssl support) [21:16] dtan: ah ok, cool [21:16] Murvin: ekryski: you have to set up in EC2, and it will spawn new micro instance when needs. and automatically stop the instance when no more spike [21:16] dtan: just wanted to make sure it was correct [21:16] dtan: thanks bnoordhuis and murvin [21:16] cjm has joined the channel [21:17] djcoin has joined the channel [21:18] nuba has joined the channel [21:18] Murvin: ekryski: my suggestion is go to cloud with Ec2, or rackspace. IN technical point of view, no physical failure you should deal with. and for yourself, you can blame amazon if their cloud is down. You shift some of the responsibility to them. :) [21:18] Prometheus: Murvin: that's no excuse =P [21:18] Prometheus: if their cloud is down only partly, it's still your fault [21:18] ekryski: Especially if you are the one that suggested it :-P [21:19] RickardL has joined the channel [21:20] Cleer has joined the channel [21:20] Murvin: Prometheus: i know.. but setting up everything to handle high volumn, different regions, spike.. etc means either you have to have a good team and with lots of investments. anything goes wrong means job is gone for sure. [21:20] Prometheus: =) [21:20] Prometheus: Murvin: it's called automation [21:20] Prometheus: and monitoring [21:21] Murvin: at least, using Ec2, u don't have to deal with too much low level technical things.. and focus on higher level stuff. :) [21:21] unlink has joined the channel [21:21] unlink has joined the channel [21:22] Prometheus: hmm? [21:22] Murvin: Prometheus: yeah.. i know.. i did that before. have a dedicate server, set up my own monitoring system..etc take quite some time to do it. [21:22] Prometheus: it does, sure :) [21:22] ekryski1 has joined the channel [21:22] Prometheus: but if you need all the redundancy, then you don't have much of a choice [21:22] Murvin: :) [21:22] Murvin: true. hahaha [21:23] McMAGIC--Copy has joined the channel [21:23] Murvin: ekryski: i think you should look into different options. and see which one meet your budget. :) [21:23] Prometheus: luckily things have gotten a lot easier/simpler recently [21:24] Murvin: ekryski: for Amazon, the service you should take a look is Auto Scaling. go to aws.amazon.com click "products" [21:25] Murvin: Prometheus: yea.. agree. heheh and node also makes life easier. lol [21:25] Prometheus: how would you debug if your socket connections are actually doing stuff they are suppose to do? [21:25] bitprobe has joined the channel [21:25] Prometheus: I'm connecting w/ net.Socket to irc.freenode.net 6667 (yes, writing irc stuff, silly, I know), but I'm not getting anything back from the server beyond the initial notices [21:26] Prometheus: even though I'm sending the appropriate messages [21:26] dtan: murvin, bnoordhuis - now a make error with node - https://gist.github.com/1055024 [21:26] Prometheus: but if I do the same using telnet (manually) it works just fine [21:26] bnoordhuis: Prometheus: tcpdump? [21:26] Prometheus: bnoordhuis: ah true, good call, thanks :) [21:27] bnoordhuis: dtan: what version of node are you trying to build? [21:27] Prometheus: forgot I've a bunch of pcap tools installed too :S [21:27] dtan: i just pulled it from git so that might be the issue [21:27] bnoordhuis: dtan: `git checkout v0.4.9` [21:27] josephboyle1 has joined the channel [21:27] dtan: k [21:28] bnoordhuis: Prometheus: is a lifesaver, tcpdump is [21:28] AAA_awright_ has joined the channel [21:28] Prometheus: bnoordhuis: agreed, I tend to forget about it :) [21:28] Prometheus: but I shouldn't, obviously [21:30] dtan: bnoordhuis: looks like the same issue [21:31] tauren: is there an irc channel for jade? [21:31] dtan: oh but do i need to change the remote or something that that branch would be pulling from? [21:31] tjholowaychuk: tauren nah, easiest to ask in #express [21:31] bnoordhuis: dtan: you probably need to do a `make distclean && git clean -dfx` first [21:31] tauren: tjholowaychuk: ok, thanks [21:31] bnoordhuis: dtan: the build system doesn't clean out all files right now [21:31] dtan: ah ok [21:32] level09 has joined the channel [21:34] dtan: how do i make my repo switch to teh v0.4.9 tag? [21:34] Nexxy: shouldn't there just be a #tjholowaychuk channel? [21:34] tjholowaychuk: haha [21:34] dtan: even with the git checkout v0.4.9 it's not giving me that tag [21:34] Nexxy: where everyone can go to pay homage and receive premium free support from the man himself? [21:34] bnoordhuis: dtan: does it say 0.5.0-pre? [21:34] Nexxy: since as we all know, tj is available 24/7 to answer any and all questions you may have regarding one of his fabulous libraries. [21:34] tjholowaychuk: i got a starbucks card once haha <3 [21:34] tjholowaychuk: extra coffee to keep me going [21:35] Nexxy: starbuckets!! [21:35] Nexxy: ACTION jealous [21:35] Nexxy: their mini cheesecakes are omgwoah [21:35] ryanmcgrath has joined the channel [21:35] dtan: bnoordhuis: i don't see that, b/c i am still getting the same error even after cleaning up [21:35] Murvin: Nexxy: I start wondering if tj is a real human.. or a bot.. alwasy 24/7. lol [21:35] dtan: but i know i'm not on the right tag b/c i'm looking at the commit history [21:35] bnoordhuis: dtan: well, `git checkout v0.4.8` then [21:35] dtan: and it's not the right history [21:35] bnoordhuis: 0.4.9 is just a couple of hours old [21:35] RickardL: Does anyone know of a really well-designed node.js restful webservice, with a more complex backend [21:36] Nexxy: I recall someone mentioning the possibility that "TJ" actually stands for team joyent [21:36] Nexxy: he is just a persona for the collective [21:36] tjholowaychuk: oh god lol [21:36] niftylettuce: tjholowaychuk: dunkin donuts yo [21:36] bene has left the channel [21:36] niftylettuce: Nexxy++ [21:36] v8bot: niftylettuce has given a beer to Nexxy. Nexxy now has 9 beers. [21:37] Murvin: RichardL: npmjs there is something called "webservice" [21:37] niftylettuce: tjholowaychuk: thx for pull earlier [21:37] Murvin: RichardaL: hopefully that's what you are looking for.. :) [21:37] gf3: creationix: HP was dropping your name like crazy at this webOS CONNECT event last night [21:37] Nexxy: ACTION puts niftylettuce in the crisper [21:37] jtsnow has joined the channel [21:37] niftylettuce: Nexxy: whats a crisper [21:37] Nexxy: it keeps you crisp! [21:37] niftylettuce: Nexxy: like a potato chip [21:37] Nexxy: you were looking a little wilted [21:38] niftylettuce: Nexxy: yeah wilted.js [21:38] Nexxy: it's liek [21:38] Nexxy: a box... [21:38] Nexxy: with humidity "control" [21:38] Nexxy: that makes greens and vegetables stay fresher [21:38] niftylettuce: Nexxy: oh so like a crisper [21:38] Nexxy: YEAH! [21:39] Nexxy: I guess what i'm trying to say is [21:39] Nexxy: basically... a crisper... it's like a crisper [21:39] Prometheus: weird, I see my packages go out to the server [21:39] Prometheus: just not getting a response.. [21:39] niftylettuce: Crisper.js, keeping your plants.js watered.js [21:39] superstructor has joined the channel [21:39] RickardL: Murvin: Thanks but I wasn't talking about a module, just interested in the architecture behind it [21:39] Nexxy: do you really have any of those projects? [21:40] Nexxy: if not you need to [21:40] niftylettuce: Nexxy: :) when i find time [21:40] niftylettuce: Nexxy: gotta learn some more first [21:40] Nexxy: not me! [21:41] Nexxy: I learn by fucking things up :D [21:41] awenkhh has joined the channel [21:41] creationix: gf3: awesome [21:41] Murvin: Nexxy: i learn by being fucked up. [21:41] creationix: gf3: who was speaking? [21:41] RickardL: I'm currently developing one, with riak-js and rabbitmq, using express etc. [21:41] Nexxy: Murvin, let's talk.. we may have a future together [21:41] niftylettuce: effed.js [21:42] niftylettuce: hipster.js [21:42] Nexxy: thisiswaybetteronvinyl.js [21:42] gozala: isaacs got a minute ? [21:42] Murvin: Nexxy: yeah.. sure.. that's perfect. I'm living in a rainbow city [21:42] Nexxy: me too! [21:42] Nexxy: you should have seen the pride parade [21:42] Nexxy: it was amazing [21:42] gf3: creationix: I don't remember the names of two of the guys, but one was Enda [21:42] Murvin: Nexxy: I'm also staying on a rainbow street. [21:42] creationix: nice [21:43] creationix: I was at events here in CA all weekend [21:43] halfhalo: hah [21:43] gf3: creationix: nice! [21:43] Murvin: Nexxy: are you in the parade? [21:43] Nexxy: no, I wish [21:43] Nexxy: a few of my friends were tho [21:44] Nexxy: ... mostly nude [21:44] RickardL: I'm doing some business logic in node.js, but I don't know how deep I should go and if it impacts the performance of the application. I'm kind of doing it the .NET/Java way, with design patterns and stuff. All other examples are really simple, nothing like I'm used to [21:44] Murvin: Murvin: that's Fucking HOT!!!! damn. [21:44] Nexxy: mental node; murvin talks to himself in the third person [21:45] Nexxy: ... on irc [21:45] stepheneb has joined the channel [21:45] Murvin: RichardL: may be you can put elaborate a little bit more. in my personal experience, I have to rethink the architecture in the node way. :) [21:46] Murvin: Nexxy: no.. i m googling you.. stalking you. u better watch out. LOL j/k [21:46] Nexxy: lol [21:46] Nexxy: well I don't make it too hard [21:46] RickardL: It's a shop-frontend powered by QR and NFC readers, with a distributed load-balancing backend. [21:46] RickardL: It's for our univeristy café [21:47] Nexxy: how big is the cafe~? [21:47] Nexxy: to need a load balancer?! [21:47] Nexxy: jesus [21:47] Murvin: load balance the coffee? [21:47] Nexxy: lol [21:48] Nexxy: over-engineering ftl [21:48] RickardL: No, the payment processes and the terminals, it also covers all the major events, like concerts etc [21:48] Murvin: I havne't had any cup of coffee today yet. [21:48] kmiyashiro: I had too much coffee [21:48] Nexxy: RickardL, out of curiosity, are you involved in the payment processing code? [21:49] Murvin: if you have a nice separate between front end (html, js,etc) and backend logic, especially if most data is from ajax, the backend can be done in Node easily. [21:49] Nexxy: I'm still hunting for a payment processor that has a decent API and actually processes card present transactions [21:49] Murvin: and peformance wise, you will be amazed.. and it will save you lots of $$$. [21:49] zomgbie has joined the channel [21:50] RickardL: Nexxy: I'm in Sweden, as far as my experience goes, I've never encountered problems with either online or standard card processing [21:50] Nexxy: ohh oki [21:50] dguttman has joined the channel [21:50] RickardL: It [21:50] Murvin: is your payment company providing you a good api? [21:50] xeodox has joined the channel [21:51] Nexxy: that's what I'm mostly interested in [21:51] ezmobius has joined the channel [21:52] superstructor has joined the channel [21:52] hellp has joined the channel [21:52] RickardL: We use DIBS Payment Services [21:53] RickardL: and PayEX Solutions [21:54] RickardL: PayEx is like paypal [21:55] RickardL: DIBS is used for debit and credit [21:56] kuhrt has joined the channel [21:56] RickardL: But back to my question, is there a reason I don't see larger applications on github with high use of javascript design patterns [21:57] RickardL: For example, I was suprised to see that noone had converted GOF's to Coffeescript [21:58] AvianFlu has joined the channel [21:58] Murvin: because larger application may not be open source. :) [21:58] gkmngrgn has joined the channel [21:58] bnoordhuis: RickardL: strict adherence to design patterns is a symptom of disease [21:58] muk_work has joined the channel [21:58] Murvin: Nexxy: so, no more parade in CA or SF? [21:59] Nexxy: IDK, I'm in PDX [21:59] Murvin: what is PDX? [21:59] KUHRT_ has joined the channel [21:59] jerrysv: portland :) [21:59] RickardL: bnoordhuis: I agree, I encourage people to if possible refactor to them, but not start out with them unless obvious applications are present [21:59] Nexxy: portland, or [21:59] Murvin: oooh [21:59] jerrysv: *heart* portland [21:59] Nexxy: ours was on the 20th [21:59] dshaw_ has joined the channel [21:59] Murvin: sorry.. i m up in the north. :) [22:00] Nexxy: jerrysv++ [22:00] v8bot: Nexxy has given a beer to jerrysv. jerrysv now has 2 beers. [22:00] Murvin: i see... ours should be August. lol [22:00] Nexxy: ;3 [22:00] jerrysv: nexxy++ [22:00] v8bot: jerrysv has given a beer to nexxy. nexxy now has 1 beers. [22:00] Nexxy: I wish I could go to them all! [22:00] jesusabdullah: hah [22:00] jerrysv: mostly for portland :) [22:00] Murvin: i haven't received any beer yet.. :(... [22:00] jesusabdullah: Portland has a lot of hipsters and rain [22:00] jesusabdullah: but at least they also have beer! [22:00] Nexxy: original hipsters* [22:00] jesusabdullah: And a few friends o' mine [22:00] xeodox has joined the channel [22:00] jerrysv: jesusabdullah: the rain was just while you were here [22:00] jerrysv: and today [22:00] Nexxy: portland was hipster before it was trendy... [22:00] jesusabdullah: O.H. doesn't have the same ring as O.G. [22:01] jesusabdullah: XD [22:01] bnoordhuis: RickardL: one reason why you don't see many design patterns in JS is that most don't apply [22:01] elpinguino has joined the channel [22:01] jesusabdullah: jerrysv: Yeah, I suspected as much. It was really sunny when I first got here but the last few days have been rainy [22:01] Nexxy: JS design patterns are easy! [22:01] jerrysv: ACTION is wearing his hair of the dog shirt today [22:01] bnoordhuis: RickardL: take the visitor pattern for example, not necessary as you can pass functions around [22:01] jesusabdullah: also, SF has its share of hipsters [22:01] jerrysv: probably just run-off from here [22:03] RickardL: bnoordhuis: Aye, that's true but most other like proxy, composite adapter etc are still valid ones [22:03] RickardL: I guess node has changed that, since most design patterns are more suited for server-side operations [22:04] wookiehangover has joined the channel [22:05] dgathright has joined the channel [22:05] RickardL: At least I hope so, or my repo will be laughing stock of the node community :p' [22:05] jerrysv: nexxy: you ever make it to bailey's? [22:05] vineethkashyap has joined the channel [22:06] vineethkashyap: hey there [22:06] dtan: bnoordhuis i got node to install correctly, i just forgot to checkout the tag correctly when i switch branches [22:06] vineethkashyap: has anyone used the debugger in node? [22:06] dtan: ok i'm out [22:06] Nexxy: jerrysv, I'm not much into the pub scene [22:06] Murvin: vineethkashyap: i use node-inspector [22:07] vineethkashyap: murvin: have you used the basic debugger in node ever? [22:07] vineethkashyap: documented here: [22:07] vineethkashyap: http://nodejs.org/docs/v0.4.9/api/debugger.html [22:07] Murvin: vineethkashyap: no. :) [22:08] vineethkashyap: murvin: how is node-inspector? [22:08] vineethkashyap: pretty easy to setup and use? [22:08] Murvin: yes. [22:09] Wa has joined the channel [22:09] Murvin: go nodetuts.com look at Episode 14 [22:09] bene has joined the channel [22:09] bene has left the channel [22:09] Croms has joined the channel [22:09] vineethkashyap: neat [22:09] hdon has joined the channel [22:10] vineethkashyap: thanks [22:10] Murvin: np. tehre are other tools that may be useful for u too.. :) [22:11] vineethkashyap: murvin: i just remembered, i tried to install node-inspector [22:11] blup has joined the channel [22:11] petrjanda has joined the channel [22:11] vineethkashyap: but could not get anything to work [22:11] vineethkashyap: ie.., if i open a browser [22:11] KUHRT_: what is the command to install a npm package with dev deps? [22:11] KUHRT_: is it `npm install app -d`? [22:11] vineethkashyap: with the [22:11] KUHRT_: doesn't seem to be working [22:11] vineethkashyap: http://127.0.0.1:8080/debug?port=5858 [22:12] vineethkashyap: it says there is nothing there [22:12] Murvin: use Chrom [22:12] Murvin: use Chrome. [22:12] vineethkashyap: yes [22:12] vineethkashyap: i tried chrom, safari [22:12] vineethkashyap: neither worked [22:12] Murvin: hmm u don't have to do this debug?port-=5858 [22:12] Murvin: just do 127.0.0.1:8080 [22:12] vineethkashyap: oh, let me try that [22:13] Murvin: and make sure u run the server: node --debug-brk mynode..js [22:13] xeodox has joined the channel [22:14] justinw312 has joined the channel [22:15] Murvin: when you run with --debug-brk, the browser (:8080) will be blocked at the first line. so, you can set the break point. [22:16] vineethkashyap: oh ok [22:16] justinw312: I'm working on a toy project which among other things will involve a moderate sized key/value store of strings. I want very fast access to the data, so I want to store it in process. I also want this to run well on VPS/Cloud hosting, so memory footprint is an issue. [22:16] vineethkashyap: so need to add debugger; statements? [22:16] justinw312: Do you think it makes sense to gzip/unzip data on the fly? [22:16] Twelve-60 has joined the channel [22:16] justinw312: I'm wondering about time to unzip from memory vs cost of disk storage [22:17] Murvin: no statement is needed in your code [22:17] bbttxu has joined the channel [22:17] Tobsn has joined the channel [22:17] vineethkashyap: ok, so these are the 2 things i need to do? : [22:17] Murvin: the interface is just like FireBug. you will know how to use it right after the :8080 page is loaded. trust me.. very easy. :) [22:17] Murvin: yes [22:17] vineethkashyap: 1. node inspector,.js [22:18] vineethkashyap: and 2. node --debug-brk file-i-want-to-debug.js? [22:18] Murvin: yes.. step 1) node-inspector& [22:18] justinw312: Obviously written language is very very compressible [22:18] Murvin: step 2) node --debug-brk whatever-server.js [22:18] mandric has joined the channel [22:18] electricEmu has joined the channel [22:18] Murvin: step 3) go to chrome: yourIP:8080 [22:18] mscdex: woohoo! we have a version of v8 with built-in harmony proxy support now! [22:18] mscdex: :-D [22:19] Tobsn: does anyone know of a mysql server protocol implementation [22:19] mscdex: Tobsn: yeah, the one in C [22:19] mscdex: ;) [22:19] Tobsn: besides the one in C ;) [22:19] Murvin: step 4) run the page that serve by your wahtever-server.js e.g. myIP:3000/ [22:19] Tobsn: i want a mysql server in node.js [22:19] bradleymeck_: Tobsn nodemysql by felixge? [22:19] Tobsn: server [22:19] mscdex: Tobsn: nah, because mysql is a beast [22:19] Tobsn: not client [22:19] dgathright has joined the channel [22:19] Tobsn: damnit [22:19] bradleymeck_: the protocol is borked [22:19] Tobsn: we're gonna buy some closed source shit [22:19] vineethkashyap: murvin: oh i see what the problem is [22:20] Tobsn: and it only supports fucking mysql [22:20] Tobsn: i want to write a mysql query to mongodb wrapper [22:20] Tobsn: :P [22:20] vineethkashyap: i am using node.js to run some javascript file [22:20] vineethkashyap: not a server [22:20] mscdex: so why not use mysql then? [22:20] vineethkashyap: its a static analysis engine [22:20] Tobsn: erm [22:20] Tobsn: mysql SUCKS. [22:20] Tobsn: and we will put way too much traffic on it [22:20] vineethkashyap: written in javascript [22:20] mscdex: riiiiight [22:20] vineethkashyap: that i am trying to debug [22:20] Murvin: oh.. you serve assets by node.js? [22:20] Tobsn: mscdex, yeah right trust me [22:20] Murvin: lol. then use firebug. :) [22:21] Tobsn: im talking 12k impressions a second in avg. [22:21] vineethkashyap: no, this is a javascript file [22:21] Tobsn: and im not gonna run a software over mysql doing a ton of queries every single request [22:21] vineethkashyap: that does analysis on javascript [22:21] Tobsn: its building a wrapper and using mongodb or buying 20 mysql servers and trying to get them together with NDB [22:21] vineethkashyap: since node.js can run any javascript file [22:21] Tobsn: and im not happy about that [22:21] vineethkashyap: i can run this program too [22:22] vineethkashyap: i cant run the program in the browser [22:22] Murvin: oh.. command line only? [22:22] vineethkashyap: yes [22:22] vineethkashyap: the debugger in node is pretty decent [22:22] Murvin: then, it may not work.. because node inspector .. i think is for server that listen to port. [22:22] RickardL: Tobsn: http://www.mongodb.org/display/DOCS/SQL+to+Mongo+Mapping+Chart [22:22] Murvin: :) [22:22] vineethkashyap: but it says print command does not work [22:22] Tobsn: lol [22:22] vineethkashyap: !! [22:23] Murvin: hmm [22:23] Tobsn: RickardL, server protocol [22:23] Tobsn: not sql comparison [22:23] vineethkashyap: so i can see the call stack trace [22:23] vineethkashyap: and step into things [22:23] RickardL: I see [22:23] vineethkashyap: but not inspect anything [22:23] vineethkashyap: so i need to keep stopping, putin console.log's on what i need to inspect [22:23] Croms_ has joined the channel [22:23] vineethkashyap: which is very painful [22:23] Tobsn: i need a) a server protocol parser b) a query parser c) query builder from sql to mongodb [22:23] Murvin: i eee [22:24] Tobsn: OR i'll go to softlayer and buy 20 servers [22:25] frankie-spankie has joined the channel [22:25] vineethkashyap: murvin: any pointers whom shud i point this question to, about default debuggers? [22:25] frankie-spankie: Hi guys [22:26] admc has joined the channel [22:26] RickardL: nice nickname [22:27] Murvin: I'm sure someone here will have debugger experience. :) [22:27] frankie-spankie: Question: What is the state of the art on NODEJS mobile security framework libraries? [22:27] mscdex: node-mobilesecurityframework [22:27] frankie-spankie: really? [22:27] mscdex: no :) [22:28] frankie-spankie: that was like "yo, I wanna pimp my car" [22:28] frankie-spankie: "easy node-pimpmycarlibrary" [22:28] frankie-spankie: JAJAJAJAJJA [22:28] mscdex: well, except i bet node-pimpmycarlibrary has probably already been done by Marak [22:28] mscdex: ;-) [22:28] chrischris has joined the channel [22:29] frankie-spankie: HAHAHAHAHAHAHAH [22:30] frankie-spankie: some client told me "so this nodejs of yours is fast? how about a PoC of a security framework for mobiles" [22:31] frankie-spankie: and this would be a goood oidea [22:31] creationix has left the channel [22:31] Yoric has joined the channel [22:32] baudehlo: tjholowaychuk: ping [22:32] tjholowaychuk: yo [22:33] baudehlo: in cluster is there a way for a worker to tell the master to quit (and thus everything quit)? [22:33] tjholowaychuk: you could just use process.kill() on the pgid [22:33] tjholowaychuk: not sure if node has process.pgid [22:34] markwubben has joined the channel [22:34] tjholowaychuk: doesn't look like it, but I think I set an env var with master's pid [22:35] nibblebo_ has joined the channel [22:37] baudehlo: ah cool - CLUSTER_MASTER_PID [22:37] baudehlo: should work. [22:38] AvianFlu has joined the channel [22:39] creationix has joined the channel [22:39] creationix has left the channel [22:39] Qbix2 has joined the channel [22:40] Qbix2: v8> !{} [22:40] v8bot: Qbix2: false [22:40] Qbix2: v8: !{} [22:40] v8bot: Qbix2: false [22:40] Qbix2: a [22:40] Nexxy: lol... [22:43] nibblebot has joined the channel [22:43] scottschecter has joined the channel [22:44] level09: what are the best ways to print an object in node ? [22:44] level09: is there anything better than console.log ? [22:44] level09: sys.inspect doesn't seem to work [22:44] vineethkashyap: QUESTION: has anyone used the debugger that comes along with node [22:44] kersny: level09: console.dir [22:44] level09: thanks [22:44] vineethkashyap: node debug file-to-debug.js [22:45] sonnym has joined the channel [22:45] \sega has joined the channel [22:45] level09: is there a way to nicely format that json object ? sometimes it is too long its so hard to track the properties [22:45] omni5cience has left the channel [22:46] level09: is it even a valid json string ? [22:46] xerox: google json formatter [22:46] xerox: there's a nice serv but I don't remember the url [22:46] xerox: it dor both [22:46] level09: yes tried many, but they seem to have a problem [22:46] level09: with the quotations etc.. [22:46] level09: most the time it says invalid josn [22:46] level09: *json [22:46] omni5cience has joined the channel [22:46] skm has joined the channel [22:46] shirro has joined the channel [22:46] omni5cience has left the channel [22:47] level09: okay anyway, just making sure I'm not missing anything :D [22:47] xerox: make valid json :) [22:47] ryanmcgrath has joined the channel [22:47] hornairs: vineethkashyap whats your question? [22:47] level09: xerox: how ? this is output from node server [22:47] vineethkashyap: hornairs: when i am in the debug [22:47] vineethkashyap: everycommand except print works [22:48] eguest309 has joined the channel [22:48] vineethkashyap: for example, next, step etc work [22:48] vineethkashyap: just print [22:48] vineethkashyap: says print [expression] [22:48] vineethkashyap: but print x [22:48] vineethkashyap: or even print 2+2 says [22:48] vineethkashyap: print 2+2 is not a known command [22:48] vineethkashyap: any idea why? [22:49] xerox: use JSON.stringify? [22:49] xerox: level09 [22:49] level09: aha [22:49] level09: good idea [22:49] level09: thanks [22:49] hornairs: vineethkashyap weird! what node version? [22:49] xerox: no problem [22:50] xerox: it is part of node [22:50] level09: JSON.stringify(util.inspect(var)); [22:50] vineethkashyap: v0.5.0-pre [22:50] vineethkashyap: hornairs [22:51] hornairs: vineethkashyap your program is running already right? [22:51] vineethkashyap: yes [22:51] vineethkashyap: i am able to do next [22:51] vineethkashyap: and list [22:51] vineethkashyap: etc [22:51] hornairs: i have no idea what the issue is, sorry [22:51] vineethkashyap: and step through the program [22:51] Tobsn: mscdex, plan B decompile source. [22:51] level09: xerox: its funny I came across this post http://markhansen.co.nz/inspecting-with-json-stringify/ [22:52] bentruyman has joined the channel [22:52] vineethkashyap: hornairs which node version did u debug in? [22:52] pauface has joined the channel [22:52] vineethkashyap: i infact tested this on mac and linux [22:52] vineethkashyap: and the same issue in both cases [22:52] xerox: level09: that is fine [22:52] xerox: JSON is JSON nothing you can do about it [22:53] xerox: you have to make your data jsonifiable [22:53] xerox: can't serialize fu ciontions for example [22:53] xerox: sorry I am on a tablet and I am not used to the keyboard [22:54] level09: no problem [22:54] level09: i think util.inspect is fine, not sure why it doesn't encapsulate the values within qutations [22:54] level09: it is just the qutation thing [22:54] eguest309: hello guys.had a quick question i needed some help with.i am running a lot of queries from a node.js application.wanted to know well node.js utiltizes memory when its handling a lot of database queries.is it efficient in the handling of memory(closing resultset,connections etc..) provided that your queries are well written [22:55] xerox: level09 but if you need to send data as json you will have to make compatible datw [22:55] level09: yeah sure [22:55] eguest309: i do a lot of db interactions in my app and i am getting a fatal error: memory error [22:55] hornairs: 0.4.8 works fine for me vineethkashyap [22:55] bnoordhuis: vineethkashyap: already looking into it [22:55] hornairs: have you tried node inspector? [22:56] bradleymeck_: eguest309, that is a very hard to answer question depending on your db (is the logic in db or in memory), are you throttling/cleaning up, are you keeping connections open rather than opening them constantly [22:56] vineethkashyap: i want to debug a javascript program [22:56] vineethkashyap: standalone [22:56] vineethkashyap: bnoordhuis: thanks! [22:56] bradleymeck_: eguest309 in all likelyhood you have a memory leak somewhere [22:57] eldar has joined the channel [22:58] MikhX has joined the channel [22:58] eguest309: i am keepin db connections open in the node.js application.i have one client open which runs several queries sometimes concurretnly.i dont clean up.doont know how to do that with node js [22:59] eguest309: @ bradleymeck.what is the best way to test for memory leaks in node,js applications? [22:59] parlu has joined the channel [22:59] SubStack: isaacs: you coming to beerjs in sf? [22:59] nibblebo_ has joined the channel [22:59] bradleymeck_: there are no automated detection tools but v8profile will help /digs up link [23:00] \sega has joined the channel [23:00] AvianFlu: SubStack: where is that at again? [23:00] aperiodic has joined the channel [23:00] level09: is there a realtime web analytics written in nodejs ? [23:00] level09: even if its a basic one [23:00] bradleymeck_: eguest : http://code.google.com/p/v8/wiki/V8Profiler , basically if you are appending to arrays / buffering a ton those are the most likely areas [23:00] aperiodic: hi all, i'm having trouble building node from the head of the github repo [23:00] bradleymeck_: level09 hummingbird [23:00] bradleymeck_: aperiodic err message? [23:01] AvianFlu: aperiodic: stay away from v0.5.x, it's non-stable [23:01] SubStack: AvianFlu: https://twitter.com/#!/mikeal/status/86158717418094593 [23:01] level09: ACTION checking [23:01] AvianFlu: thanks substack [23:01] sfragis has joined the channel [23:01] joeyjoe has joined the channel [23:02] aperiodic: AvianFlu: ah, didn't realize that. thanks :) [23:02] nibblebot has joined the channel [23:02] joeyjoe: is there a IRC channel or forum where libuv developers hang out? [23:02] sjbreen has joined the channel [23:02] eguest309: @ bradleymeck.okay. i am using the process.memoryUsage() function and testing to see memory usage b4 and affter specfic opreations .maybe that may give me some answers [23:03] mikeal1 has joined the channel [23:03] AvianFlu: aperiodic: by far the #1 most common support issue, v0.4.9 is latest stable, I think it just came out today [23:04] bnoordhuis: vineethkashyap: https://github.com/bnoordhuis/node/commit/d042da0424d27afbc889b0b9c5ba04dfe41b6964 [23:05] vineethkashyap: bnoordhuis: awesome! thanks :) [23:05] tjholowaychuk: anyone know if v8's awkward error messages are intentional? [23:05] nibblebo_ has joined the channel [23:05] tjholowaychuk: ex: [23:05] tjholowaychuk: > 'foo' instanceof 'bar' [23:05] tjholowaychuk: TypeError: Expecting a function in instanceof check, but got foo [23:05] tjholowaychuk: few others as well [23:06] joeyjoe: yeah, they're intentional [23:06] tjholowaychuk: weird [23:07] nibbleb__ has joined the channel [23:07] pjacobs: tjholowaychuk, if you have html you're trying to display, is there a way to tell jade/express to do that. I'm getting it converted to special chars [23:08] Eyuel has joined the channel [23:08] pjacobs: maybe that wasn't well put. I'm passing data.story to a jade template, and it's showing up with special chars. Any way around that? [23:08] tjholowaychuk: != for jade [23:08] tjholowaychuk: is the same as = but doesn't escape [23:10] vineethkashyap: bnoordhuis: how can i get this fix? [23:10] vineethkashyap: i just changed the _debugger.js file in my local computer [23:10] igl: <3 jade && stylus [23:10] vineethkashyap: do i need to rebuild something? [23:11] pjacobs: tjholowaychuk, thanks [23:12] Sorella has joined the channel [23:12] Eyuel has left the channel [23:13] Yule has joined the channel [23:13] Yule has left the channel [23:13] xeodox has joined the channel [23:14] catphive: how hard is it to write node.js extensions? [23:14] catphive: I want to wrap a library that does RTP [23:14] AvianFlu: catphive: how much do you know about v8 and about templates in C++ [23:15] catphive: I've done the v8 tutorial, and I know c++ and templates pretty well [23:15] AvianFlu: then you should be cool [23:15] vineethkashyap: bnoordhuis: rebuilding it worked :) [23:15] catphive: I was more worried about how to plug into libev, and have callbacks when I get a response on the network [23:15] catphive: that kind of thing [23:16] parlu: I'm looking for a node dev (preferably with Ruby experience) to help me finish up a small project: http://sfbay.craigslist.org/sfc/cpg/2469673281.html [23:16] parlu: If anyone has a couple hours free (or knows someone who does), I'd really appreciate it. [23:16] descipher has joined the channel [23:17] Yoole has joined the channel [23:17] aperiodic: // [23:21] mikeycgto has joined the channel [23:22] mikeycgto: for some reason, i am calling process.exit() but its not actually exiting [23:22] level09: is node inspector compatible with a mac ? [23:22] dgathright has joined the channel [23:22] mikeycgto: i wrote some code to drop privs if my app is run as root (after it binds to port 80) [23:22] mikeycgto: basically, if no uid is supplied to setuid as, it calls process.exit(1) [23:23] mikeycgto: but it doesnt actually exit (it does however, close the network connections, which is good and sort of the point of my code) [23:23] mikeycgto: any ideas? [23:23] dall: someone use express? [23:23] dall: i wrote a simple function for the logger.... [23:24] dall: i don't understand why it write the logs on the console [23:24] dall: �_� [23:24] Yoole: same question here: is node inspector compatible with the mac? [23:24] eddanger has joined the channel [23:24] dall: http://pastebin.com/45fUh2b3 i call it with: app.use(mw.logger("server.log") [23:24] eguest309: what is the best way to do execute multiple queries in node-mysql ? is it to connect,execute queries and disconnect.or to create one client which does all queries .what are the pros and cons of both options ? [23:25] bradleymeck_: yoole node-inspector works on any c++ module compat environment (unixlike systems) [23:26] vineethkashyap: bnoordhuis: printing a variable now prints a number of things with it [23:26] bnoordhuis: vineethkashyap: ? [23:26] vineethkashyap: like, the handle, [23:26] Yoole: thanks bradleymeck [23:26] vineethkashyap: tyoe [23:26] bnoordhuis: what version of node? [23:26] vineethkashyap: value [23:26] vineethkashyap: text [23:26] vineethkashyap: the latest [23:26] bnoordhuis: 0.4.9 or master? [23:26] vineethkashyap: plus the change u suggested [23:26] vineethkashyap: master [23:26] Yoole has left the channel [23:27] bnoordhuis: hmm, weird [23:27] ChrisPartridge has joined the channel [23:27] bnoordhuis: on what os are you? [23:27] vineethkashyap: node --version says v0.5.0-pre [23:27] vineethkashyap: mac [23:27] bnoordhuis: i'm on linux [23:27] bnoordhuis: shouldn't make a difference though [23:27] bnoordhuis: strange [23:27] vineethkashyap: yeah, shudnt [23:28] vineethkashyap: checked v0.49 on ubuntu [23:28] bnoordhuis: hmm, let me try a couple of things [23:28] vineethkashyap: with ur fix [23:28] vineethkashyap: did u try it on a simple program [23:28] vineethkashyap: like [23:28] vineethkashyap: var x = 1; [23:28] vineethkashyap: debugger; [23:28] jeroen| has joined the channel [23:28] vineethkashyap: x = x+1; [23:28] vineethkashyap: when you run and print x [23:28] k1ttty has joined the channel [23:29] vineethkashyap: oh wait [23:29] vineethkashyap: it could be a mac bug [23:29] bnoordhuis: vineethkashyap: yes? because it works fine here [23:29] bnoordhuis: but what could be causing it? [23:30] vineethkashyap: hmmm, actually [23:30] pjacobs has joined the channel [23:30] vineethkashyap: it works fine for a simple program [23:30] vineethkashyap: i am trying to see for what kind of objects it displays that extra information [23:31] vineethkashyap: or it could be that those extra information are actually attached [23:32] vineethkashyap: somewhere else [23:32] vineethkashyap: cool, that is the bug i was trying to find! [23:32] vineethkashyap: sorry about that, its not a print bug [23:32] vineethkashyap: :) [23:32] bnoordhuis: vineethkashyap: hah :) [23:32] vineethkashyap: neat, +1 for node debug :) [23:34] necrodearia has joined the channel [23:35] charleyd has joined the channel [23:36] [[zz]] has joined the channel [23:37] tilgovi has joined the channel [23:37] tilgovi has joined the channel [23:37] mikeal has joined the channel [23:39] Bwen has joined the channel [23:40] tim_smart has joined the channel [23:41] mscdex: catphive: you can send rtp audio from js-land easily [23:42] xandrews has joined the channel [23:44] saschagehlich has joined the channel [23:45] CarterA has joined the channel [23:46] random123 has joined the channel [23:46] lemon-tree has joined the channel [23:46] c4milo1 has joined the channel [23:46] dgathright has joined the channel [23:48] davidwalsh has joined the channel [23:48] Melkor_ has joined the channel [23:49] elpinguino has joined the channel [23:50] markwubben has joined the channel [23:58] azeroth_ has joined the channel