[00:01] levi501d has joined the channel
[00:02] coderdad has joined the channel
[00:03] takezawa has joined the channel
[00:06] pixel131 has joined the channel
[00:06] pixel131 has left the channel
[00:09] daneroo has joined the channel
[00:10] sh1mmer has joined the channel
[00:12] cjroebuck has joined the channel
[00:12] cody-- has joined the channel
[00:13] kriszyp has joined the channel
[00:15] rchavik has joined the channel
[00:15] secoif has joined the channel
[00:16] brimster___ has joined the channel
[00:16] illumina has joined the channel
[00:16] illumina: do you guys recommend nodemon or something else for simplifying development iteration?
[00:16] jtsnow has joined the channel
[00:17] mape: I use nodemon
[00:18] kriszyp has joined the channel
[00:18] illumina: does it work with coffee script?
[00:18] mape: that I do not know
[00:19] EvRide has joined the channel
[00:21] themiddleman_itv has joined the channel
[00:21] replore has joined the channel
[00:21] replore_ has joined the channel
[00:22] ej_ has joined the channel
[00:23] tjholowaychuk has joined the channel
[00:25] andrewreedy has joined the channel
[00:26] saikat has joined the channel
[00:27] illumina: *face palm* major changes in the latest browserify.
[00:28] AAA_awright has joined the channel
[00:30] enmand has joined the channel
[00:30] SubStack: illumina: mostly just the docs are different, everything should work pretty much the same
[00:31] SubStack: entries have been in there for months but nobody was using them because the docs didn't emphasize them enough
[00:31] illumina: SubStack: seems the way that the headers are resolved was changed substantially? It's failing to require("") -- looks like something about the default behavior changed
[00:31] illumina: is that a new thing for wrapping the entry point file?
[00:31] SubStack: require("")?
[00:32] hostsamurai has joined the channel
[00:32] illumina: yeah… it's part of the generated file. the last line.
[00:32] SubStack: o_O
[00:32] illumina: it looks like it is wrapping my entry point file in a module named ""
[00:32] illumina: and trying to require it
[00:32] SubStack: O_o
[00:32] illumina: lol
[00:32] illumina: paste bin… coming up!
[00:33] SubStack: um
[00:33] SubStack: checked the tests, seems fine, very odd
[00:34] JakeyChan has joined the channel
[00:35] illumina: http://pastebin.com/BwpmwpB0
[00:35] illumina: I commented out my apps code and just left the browserify framework stuff. check out line 340
[00:35] illumina: and then 346
[00:35] illumina: smells funny
[00:35] illumina: also I put the command options I'm using at the top of the paste
[00:36] maushu: SubStack, did you grok anything in the ssh protocol after the key exchange?
[00:36] SubStack: illumina: how are you invoking broserify?
[00:36] kriszyp has joined the channel
[00:36] illumina: see the first line of the paste
[00:36] SubStack: maushu: yes ssh is pretty simple after the key exchange
[00:36] SubStack: but the key exchange is nightmarish to get right
[00:36] maushu: ...
[00:37] maushu: Where the heck are the algorithms for the keys?
[00:37] SubStack: maushu: which project are you looking at?
[00:37] SubStack: I had 2 attempts
[00:37] maushu: SubStack, I'm looking at the ref.
[00:37] SubStack: oh
[00:37] maushu: http://www.snailbook.com/protocols.html
[00:38] maushu: I mean, the client and the server exchange the list of algorithms that they have... then what?
[00:38] maushu: Where are the packets with id 30 to 40-something?
[00:38] maushu: It says here that they are specific for the algorithm used...
[00:38] illumina: SubStack: specifically the error I'm getting is on line 44 (in the paste)
[00:38] SubStack: maushu: I don't remember it so well
[00:39] illumina: Uncaught Error: Cannot find module ''
[00:39] SubStack: maushu: but http://github.com/substack/node-ssh-server might be of use
[00:39] SubStack: illumina: yes but how you're invoking browserify matters here so I can duplicate it
[00:40] SubStack: the final output doesn't actually tell me very much
[00:40] illumina: I put the full command line on line 1 in the paste!
[00:40] SubStack: oh, didn't see
[00:40] illumina: :-)
[00:41] illumina: am I doing something funky?
[00:41] SubStack: aha, verified
[00:42] broofa has joined the channel
[00:43] isaacs: SubStack: we're in the engineering area if you wanna come to office hours, not in the big conf
[00:43] SubStack: isaacs: kk, headin' on over!
[00:43] illumina: isaacs: YC?
[00:43] SubStack: ACTION is at dotcloud, just across the street
[00:43] isaacs: yc?
[00:43] jesusabdullah: engineering area, huh?
[00:43] isaacs: jesusabdullah: go through the kitchen
[00:44] dgathright_ has joined the channel
[00:45] dgathright__ has joined the channel
[00:46] cjm has joined the channel
[00:47] webstrand has joined the channel
[00:48] neoesque has joined the channel
[00:48] ecin has joined the channel
[00:49] EvRide1 has joined the channel
[00:51] illumina: SubStack: I rolled back to 1.5 for now so I can continue working. lmk if you need help diagnosing the error any further
[00:51] secoif: illumina: btw nodemon works with coffeescript
[00:51] liksta has joined the channel
[00:51] illumina: secoif: cool. i'll check it out
[00:52] SubStack: illumina: I fixed it
[00:52] illumina: baller
[00:52] SubStack: now writing a test
[00:52] illumina: lmk when its out & what version number. i'll update and try it out
[00:52] justinTNT has joined the channel
[00:52] justinTNT: morning,
[00:53] efbenson has joined the channel
[00:53] broofa has joined the channel
[00:55] cody-- has joined the channel
[00:57] slifty_corsair has joined the channel
[00:57] daneroo has joined the channel
[00:58] adnam has left the channel
[00:59] gavin_huang has joined the channel
[01:00] illumina: secoif: getting funky gzip / failed unpacking errors installing nodemon. Looks like this may be bad package definition?
[01:00] franciscallo has joined the channel
[01:01] illumina: lol sheesh. yup. 0.5.5 works.
[01:01] SubStack: illumina: oh by the way you can fix the issue by using an absolute path to your entry point
[01:01] bicranial has joined the channel
[01:01] SubStack: until I push this fix to npm
[01:01] illumina: okay cool gtk
[01:01] mandric has joined the channel
[01:02] jtsnow has joined the channel
[01:04] neurodrone has joined the channel
[01:04] secoif: illumina I've had a few issues like that recently, I needed to update my tar and point npm at it
[01:04] SubStack: illumina: all fixed, browserify@1.7.4
[01:05] dmose has joined the channel
[01:05] SubStack: now then
[01:06] secoif: illumina perhaps check this thread https://github.com/isaacs/npm/issues/1286#issuecomment-1894111
[01:07] pHcF has joined the channel
[01:07] smtlaissezfaire has joined the channel
[01:08] dshaw_ has joined the channel
[01:09] slifty_corsair has joined the channel
[01:11] gxdssoft has joined the channel
[01:13] isaacs: office hours is dwindling to no one
[01:14] SubStack: isaacs: oh shit, coming right over
[01:14] isaacs: haha, it's ok
[01:14] isaacs: what're you doing in the city, anyway?
[01:14] mape: hold the fort
[01:14] isaacs: i thought you usually stay in oak town
[01:14] fread2281 has joined the channel
[01:15] bartt has joined the channel
[01:15] daneroo has joined the channel
[01:16] SubStack: usually but I go places sometimes
[01:16] mape: hehe
[01:17] fod has joined the channel
[01:18] Mokona has joined the channel
[01:18] coderdad has joined the channel
[01:19] mike5w3c has joined the channel
[01:19] illumina: everyone knows that sanfrancisco wins :-)
[01:20] SubStack: ACTION &
[01:20] ciju has joined the channel
[01:22] mdaisuke has joined the channel
[01:22] k1ttty has joined the channel
[01:23] renaudsauvain has joined the channel
[01:26] sh1mmer has joined the channel
[01:26] abraxas has joined the channel
[01:27] c4milo: tjholowaychuk: does superagent support streaming?
[01:27] Aria has joined the channel
[01:27] tjholowaychuk: yup
[01:27] tjholowaychuk: it's not quite finished yet but it has nice multipart support too
[01:27] c4milo: tjholowaychuk: ah, cool
[01:28] tbranyen: i couldnt find good sushi in sf
[01:28] tbranyen: i must have gone to wrong places
[01:28] tbranyen: the wrong*
[01:28] c4milo: tjholowaychuk: so I can keep and open connection and send back and forth chunks
[01:28] quackquack: what does DNode actually send back and forth between the server and the web browser when passing functions?
[01:28] tjholowaychuk: c4milo but yeah you should be able to .pipe() to it or .write() etc
[01:28] c4milo: tjholowaychuk: nice
[01:28] daneroo has joined the channel
[01:28] c4milo: tjholowaychuk: what are you doing in here? I'm going to call you gf.
[01:29] tjholowaychuk: hahahaha
[01:29] c4milo: tjholowaychuk: ^^
[01:29] yuwang has joined the channel
[01:29] tjholowaychuk: i skipped a few hours of work today so it's all good haha
[01:29] c4milo: ahaha
[01:29] c4milo: tjholowaychuk: have a nice evening man, I'm going to try that thing with superagent
[01:29] hij1nx has joined the channel
[01:30] tjholowaychuk: you too, later!
[01:30] tbranyen: i ate way too many nilla wafers
[01:31] tbranyen: didn't know it was possible to OD on wafers
[01:31] igl: :o
[01:31] Lorentz: That just means you haven't had enough
[01:31] igl: sugar rush
[01:33] Al_ has joined the channel
[01:33] n8ji_ has joined the channel
[01:33] [[zzz]] has joined the channel
[01:34] akiva has joined the channel
[01:37] saikat has joined the channel
[01:38] slifty_corsair has joined the channel
[01:38] davidascher has joined the channel
[01:38] jldbasa has joined the channel
[01:42] SubStack: isaacs: the elevators didn't let me up >_<
[01:42] isaacs: oh no!
[01:42] SubStack: quackquack: integers
[01:42] isaacs: was there a security dude there?
[01:42] isaacs: you could tell him you're here for joyent, he'll send you up
[01:42] SubStack: yeah but he said I needed to call whomever
[01:43] teadict: lawl, you using the room for communicating inside a building
[01:43] brianc1 has joined the channel
[01:43] SubStack: well I'm at the starbucks across the street
[01:43] isaacs: ugh. they're so lazy.
[01:43] isaacs: kewl. let's just move office hours over there.
[01:43] teadict: wave at each other through the windows
[01:43] isaacs: i'm dangerously close to finishing extended header parsing.
[01:43] isaacs: SubStack: the one on california?
[01:43] quackquack: SubStack: so the performance difference of using dnode to make calls instead of passing data via raw socket.io is negligible?
[01:43] metellus has joined the channel
[01:44] SubStack: yeps
[01:44] SubStack: header parsing eh?
[01:45] daneroo has joined the channel
[01:45] SubStack: isaacs: they close at 19:00 though
[01:45] SubStack: quackquack: well dnode does a lot of other stuff too
[01:46] SubStack: if you want raw throughput better to go with socket.io
[01:46] SubStack: dnode is mostly for keeping you sane
[01:46] isaacs: SubStack: yeah, stuff around here sucks
[01:46] JakeyChan has joined the channel
[01:46] quackquack: SubStack: too late for that...
[01:47] kazupon has joined the channel
[01:47] ej_ has joined the channel
[01:47] SubStack: isaacs: also I was benchmarking parsley vs node's http parser and there is very little difference in reqs/sec
[01:47] isaacs: nice
[01:47] SubStack: parsley is just a few hundered slower, around 2800 to 2600
[01:47] SubStack: I mean 2800 vs 2600
[01:48] SubStack: and I know a few things that would speed it up
[01:49] jga023 has joined the channel
[01:50] AA__ has joined the channel
[01:50] brianc1: The correct style of Node, by definition, is how I do it. ~ry
[01:50] slifty_corsair has joined the channel
[01:51] quackquack: SubStack: not to hammer the performance thing, but how large is the difference between dnode and socket.io?
[01:52] slifty_corsair has joined the channel
[01:52] digman543 has joined the channel
[01:52] SubStack: quackquack: depends on what you're doing, they do very different things
[01:53] brianc1: quackquack: I would guess it adds about .1% performance bottlekneck as compared to the time it takes a message to get from browser to server
[01:53] quackquack: SubStack: the browser would be making calls to manipulate sandboxed file system on the server (read file, move file, etc)
[01:54] jga023 has left the channel
[01:55] brianc1: quackquack: go with whatever you're most comfortable with. worry about performance when it matters. "premature optimization is the root of all evil"
[01:55] jerrysv has joined the channel
[01:55] quackquack: brianc1: true that. and .1% doesnt sound like enough to worry about.. it would be easier to squeeze that out of hardware
[01:56] Qard has joined the channel
[01:57] isaacs: SubStack: yeah, i think i'm gonna just head out and go back to the warzone.
[01:57] SubStack: kk
[01:57] SubStack: yeah oak lande looks pretty packed right now with angry folks
[01:57] isaacs: yeah
[01:57] SubStack: from what I gather from the twitter
[01:57] isaacs: i'll see you in a second, heading down that way now.
[01:57] SubStack: hah
[01:57] Qard: Anyone know any companies hiring node programmers? I sent resumes to the ones on the job board, but there's not too many recently.
[01:57] SubStack: they're about to close so imma head out too
[01:58] Qard: I got laid off. :(
[01:58] SubStack: pesky!
[01:58] brianc1: Qard: where do you live?
[01:58] SubStack: ACTION &
[01:58] Qard: Vancouver
[01:58] quackquack: SubStack, brianc1: thanks for all of the help!
[01:59] fod has joined the channel
[01:59] Qard: I have been working remotely for Opzi in San Francisco.
[02:01] konobi: Qard: BC or WA?
[02:02] lightcap has joined the channel
[02:02] Qard: BC
[02:02] konobi: goinstant are looking for a node dev at the minute i believe
[02:02] sdwrage has joined the channel
[02:05] mikeric has joined the channel
[02:05] c4milo: tjholowaychuk: any plans to support multipart/form-data?
[02:06] brianc1: c4milo: in what?
[02:06] tjholowaychuk: c4milo yeah that's what the multipart stuff is
[02:06] c4milo: tjholowaychuk: http://www.ietf.org/rfc/rfc1867\
[02:06] c4milo: brianc1: superagent
[02:06] brianc1: c4milo: oh
[02:06] c4milo: tjholowaychuk: I mean, to upload binary files
[02:06] tjholowaychuk: that part is not quite finished, just the lower-level stuff but im planning on adding more
[02:07] tjholowaychuk: https://github.com/visionmedia/superagent/blob/master/lib/node/part.js
[02:07] c4milo: tjholowaychuk: yeah i saw that
[02:07] McMAGIC--Copy has joined the channel
[02:07] tjholowaychuk: or on the client you mean?
[02:07] tjholowaychuk: browsers are all kinds of fucked up when it comes multipart/binary right now
[02:07] tjholowaychuk: makes me rage
[02:07] tjholowaychuk: so i dont know if i want that for the client
[02:07] tjholowaychuk: even modern browers are pretty messed
[02:08] brianc1 has left the channel
[02:10] c4milo: tjholowaychuk: a form with multipart/form-data isn't enough in browsers? similar to what felix is doing here https://github.com/felixge/node-formidable/blob/master/example/upload.js#L11
[02:10] SomeoneWeird has joined the channel
[02:10] cgfuh has joined the channel
[02:10] tjholowaychuk: c4milo i was referring to the xhr2-ish stuff
[02:10] Bonuspunkt has joined the channel
[02:10] c4milo: tjholowaychuk: we can't populate programmatically that field right?
[02:11] c4milo: tjholowaychuk: ah gotcha
[02:11] tjholowaychuk: i dont want to turn it into an upload library
[02:11] c4milo: tjholowaychuk: fair enough
[02:11] tjholowaychuk: i would be down for multipart if the state of browsers was better
[02:12] Qard: konobi: You're in Vancouver too? Want to meet some time and get a drink? I'm kind of new in town, so I don't know too many people around here yet.
[02:12] luxigo has joined the channel
[02:14] c4milo: tjholowaychuk: yeah, http://caniuse.com/xhr2 doesn't look good
[02:14] tjholowaychuk: nope :(
[02:14] tjholowaychuk: and ff has some of it's own crap again
[02:14] tjholowaychuk: the usual
[02:15] c4milo: that's a bummer
[02:15] CarterL has joined the channel
[02:15] tjholowaychuk: i forget now but just a week or so ago
[02:16] jerrysv_ has joined the channel
[02:16] tjholowaychuk: i was going to use it for multipart and it ended up not even having the support shown there
[02:16] tjholowaychuk: but now i cant remember
[02:16] tjholowaychuk: worth looking into again, if it works with modern FF/safari/chrome im happy
[02:16] maletor has joined the channel
[02:17] tjholowaychuk: man.. inheriting from stuff that uses events
[02:18] tjholowaychuk: is terrible
[02:18] xerox: like inheriting EventEmitter ?
[02:18] tjholowaychuk: inheriting Socket etc
[02:19] qbit_ has joined the channel
[02:19] davidwalsh has joined the channel
[02:19] tjholowaychuk: such a pain if you want to do something on close to defer it for example
[02:19] tjholowaychuk: it pretty much just doesnt work
[02:19] tjholowaychuk: so you have to use a different event name
[02:20] tjholowaychuk: which is also super lame
[02:20] tjholowaychuk: i guess this is where proxies would come in handy
[02:21] m00p has joined the channel
[02:21] secoif has joined the channel
[02:21] xerox: I see what you mean
[02:23] marcello3d has joined the channel
[02:23] daneroo has joined the channel
[02:23] sagar has joined the channel
[02:24] gavin_huang has joined the channel
[02:24] dylang has joined the channel
[02:24] davidbanham has joined the channel
[02:24] dylang_ has joined the channel
[02:25] maletor has joined the channel
[02:26] Vennril2 has joined the channel
[02:26] sineltor has joined the channel
[02:27] tjholowaychuk: i guess this is where proxies would come in handy
[02:28] tjholowaychuk: fuck
[02:28] tjholowaychuk: damn you irc
[02:28] Aria: Meep?
[02:29] torm3nt has joined the channel
[02:31] dshaw_ has joined the channel
[02:32] daneroo has joined the channel
[02:34] daneroo has joined the channel
[02:34] ecin has joined the channel
[02:34] Megatv has joined the channel
[02:38] davidascher has joined the channel
[02:38] gxdssoft has joined the channel
[02:40] Qard has left the channel
[02:41] stagas has joined the channel
[02:42] willwhite has joined the channel
[02:42] jslatts has joined the channel
[02:44] efbenson has joined the channel
[02:44] daneroo has joined the channel
[02:44] stepheneb has joined the channel
[02:45] schwab has joined the channel
[02:45] JakeyChan has joined the channel
[02:45] stepheneb has joined the channel
[02:47] c4milo1 has joined the channel
[02:49] a_suenami has joined the channel
[02:51] boltR has joined the channel
[02:52] paul_k has joined the channel
[02:54] isaacs has joined the channel
[02:54] cgfuh has joined the channel
[02:55] jtsnow has joined the channel
[02:56] confoocious has joined the channel
[02:56] confoocious has joined the channel
[02:56] N0va` has joined the channel
[02:57] RyanD has joined the channel
[02:58] pragmaticman has joined the channel
[02:58] captain_morgan has joined the channel
[03:00] amiller has joined the channel
[03:01] boehm has joined the channel
[03:02] dexter_e has joined the channel
[03:03] hij1nx has joined the channel
[03:06] Aphelion has joined the channel
[03:06] secoif has joined the channel
[03:08] dherman has joined the channel
[03:08] rklancer has joined the channel
[03:09] sineltor has joined the channel
[03:09] daneroo has joined the channel
[03:11] bombworm has joined the channel
[03:13] OneOfOne has joined the channel
[03:13] OneOfOne has joined the channel
[03:13] OneOfOne: hello
[03:14] daneroo has joined the channel
[03:16] slifty_corsair has joined the channel
[03:17] meso_ has joined the channel
[03:17] diogogmt has joined the channel
[03:18] dynacker: hai
[03:19] ttilley has joined the channel
[03:19] bfrederi has joined the channel
[03:20] bfrederi: How do I run node.js in my browser. I am wanting to create a bot for Turntable.fm.
[03:20] kriszyp has joined the channel
[03:22] Aria: You don't run node.js in your browser, you run your browser's js in your browser.
[03:23] bfrederi: I'm mostly just curious on how to run client-side javascript (specifically node.js would be nice) in my browser, just for myself. I've never done that. I've only included it in webpages I've created.
[03:23] OneOfOne: odd question, anyone knows how to access a zebra ZPLII usb printer on windows? (in node or python)
[03:23] Aria: node isn't client side, that's the thing.
[03:24] OneOfOne: or to be more specific, how to open the usb port and wrote to it
[03:24] illumina: bfrederi: you probably can get what you want by writing a browser extension
[03:25] bfrederi: illumina: Ok, I guess I got a little confused by word of mouth. node.js is exclusively server-side, mostly for asynchronous capabilities, correct?
[03:25] Aria: Yes.
[03:26] illumina: brederi: sort of
[03:26] bfrederi: That clears it all up, I was getting pretty confused.
[03:26] illumina: node is a runtime environment for javascript that is outside of the browser
[03:26] illumina: it doesn't have to be "server side" or "client side"
[03:26] illumina: but most people use node to run javascript server-side
[03:27] Aria: Yeah.
[03:27] bfrederi: illumina: Yeah, I'm sure you can use it to create all sorts of web or non-web applications.
[03:27] illumina: but if you wanted to make a script that ran on your computer in javascript, you can run it with node as well
[03:27] bfrederi: Yeah, of course.
[03:27] illumina: yup :-)
[03:27] bfrederi: Just like any scripting language.
[03:27] illumina: exactly
[03:27] bfrederi: Cool.
[03:28] bfrederi: For some reason the bots for turntable have at least one component that is written in node.js.
[03:28] bfrederi: Not sure why.
[03:28] bfrederi: https://github.com/alaingilbert/Turntable-API
[03:29] rklancer: Supposing I wanted to make a script using commander.js http://tjholowaychuk.com/post/9103188408/commander-js-nodejs-command-line-interfaces-made-easy
[03:29] Phaaze has joined the channel
[03:30] bfrederi: I don't really understand what that project does.
[03:30] chrislorenz has joined the channel
[03:30] levi501d has joined the channel
[03:30] rklancer: which project?
[03:30] JaKWaC has joined the channel
[03:30] theCole_ has joined the channel
[03:30] superjudge has joined the channel
[03:30] bfrederi: rklancer: sorry, talking about the link I posted.
[03:30] avdg has joined the channel
[03:31] Sami_ZzZ_ has joined the channel
[03:31] _unary has joined the channel
[03:31] Aria: bfrederi: That lets you run a bot against turntable -- without a browser at all. A headless bot.
[03:31] daneroo has joined the channel
[03:32] Marak: sup
[03:32] tbranyen: Marak: nice lib
[03:32] tbranyen: :D
[03:32] Marak: check this shit out, http://ohh.io/ANSIdom https://github.com/marak/ANSIdom
[03:33] Marak: DOM implementation in ANSI codes
[03:33] Marak: share templates with the browser...and terminal
[03:33] bfrederi: How does it get access to Turntable.fm though? How does the bot log in, and how does it do anything? Does it do everything through http requests, or a Turntable API?
[03:33] Marak: thanks tbranyen :-) its a total hack, 6 hour project
[03:33] Marak: lol
[03:33] bfrederi: Aria: Sorry, that was a question for you.
[03:34] keyvan: bfrederi: those answers are revealed in code.
[03:34] Aria: ACTION looks at the source to see.
[03:34] Aria: I suspect that the answer is both. I bet their API /is/ http.
[03:34] keyvan: heh Aria is really nice.
[03:34] keyvan: almost /too/ nice... *looks suspiciously at Aria*
[03:35] Aria: Websockets, actually. So a sort-of HTTP, but more like a raw socket connection
[03:35] bfrederi: Aria: keyvan: Yeah, I am really failing to understand their use of node.js. I appreciate the help.
[03:36] Aria: It connects to turntable's server, upgrades from http to websocket protocol, and then starts sending and receiving commands in a ~neverending stream.
[03:36] mAritz has joined the channel
[03:36] bfrederi: Aria: I'm suprised Turntable allows that. It could be crawling with spam users.
[03:36] Aria: You do have to authenticate. So they do know which account to kill if it gets misused.
[03:36] keyvan: bfrederi: all node.js is doing is giving the programmer the ability to use Javascript (and node's built in methods/libraries for async communication). it coudl have been written in ruby or python. Node is, like you said, simply a standalone interpreter for javascript--outside the browser
[03:37] tomlion has joined the channel
[03:37] smathy has joined the channel
[03:37] bfrederi: Aria: keyvan: I understand that. But I guess I wasn't accepting that, because it just seems really trusting on turntables part.
[03:38] Phaaze has joined the channel
[03:38] Aria: Yep. It is.
[03:38] Aria: But then, you deal with problems as you see it. Is there a captcha on their signup?
[03:38] bfrederi: I could create the bot in any language. They aren't blocking referrers that are probably up to no good.
[03:38] bfrederi: No, it's all through Facebook.
[03:38] bfrederi: Right now.
[03:39] bfrederi: You have to have a Facebook account to login, supposedly...
[03:40] bfrederi: But I'm not sure how to use those credentials in any scripting language. I guess you have to use Facebooks API as well? I'm new to all of these "thing talking to each other".
[03:40] keyvan: i havent used Turntable, so i can only speak of node.js. i personally dont care about turntable or facebook *glares at those apps vengefully*
[03:40] Aria: Yeah.
[03:40] Aria: Facebook uses oauth, which is annoyingly complex, but people have done the hard part already in most languages.
[03:41] bfrederi: So, it is built into something they created this app with.
[03:41] bfrederi: Or they wrote it in the app, and I haven't seen it yet.
[03:43] smathy has joined the channel
[03:44] Aria: I think the turntable stuff just expects a username and password -- which I think you can get if you finish signing up for turntable
[03:44] spcshpopr8r has joined the channel
[03:44] bfrederi: Sorry, I'm really bad at reading javascript. And knowing what is Node.js and what is just plain javascript. Like I'm assuming the websocket.js is a common javascript script that they just packaged in with it.
[03:45] Aria: Nope.
[03:45] Aria: It's a node websocket client library.
[03:45] technoweenie has joined the channel
[03:45] Aria: Like does the whole speak-http-and-upgrade-to-websocket dance.
[03:45] Aria: Stuff browsers can't do, since they don't let javascript get so close to the metal.
[03:45] Peniar has joined the channel
[03:46] Aria: That said, some browsers have websockets, so it could be done in the browser on those, though perhaps differently.
[03:46] upgrayeddd has joined the channel
[03:47] upgrayeddd: ircretary is ever so helpful.
[03:47] ircretary: upgrayeddd: I'm not sure what to do with that command. Ask for help in PM.
[03:47] bfrederi: Okay, that's all above my head, unfortunately. I'm usually dealing with stuff at a higher level. And I've never really delved at all into websockets.
[03:47] jtsnow has joined the channel
[03:50] dexter_e has joined the channel
[03:51] bfrederi: So websockets are just like a more efficient, less supported protocol for data transfer.
[03:52] bfrederi: To overgeneralize it.
[03:52] bfrederi: comparing to http.
[03:52] tomlion has joined the channel
[03:52] bfrederi: Am I close?
[03:52] Aria: Yes.
[03:53] Aria: They're more realtime, in that they stay open and allow back-and-forth.
[03:53] Aria: Rather than HTTP's aim to be in-and-out-and-shut-down-again.
[03:53] bfrederi: but even more efficient than a keep-alive request, due to the fact that it piggybacks extra information in the request/response?
[03:54] Aria: Yep.
[03:54] Aria: Also, keep-alive only means the client can send another request; the server can't start it.
[03:54] bfrederi: though, with text inputs
[04:16] Marak: prob can rig up some select boxes / radios / checkboxes
[04:16] Marak: insanity
[04:16] Marak: :-)
[04:16] creationix: Marak: what about tcp and netcat
[04:17] Marak: creationix: shouldnt be an issue, ANSIdom writes to any stream!
[04:17] creationix: or a node client that runs on the client's terminal
[04:17] creationix: then you could set raw mode and capture everything
[04:17] Marak: yep
[04:17] Marak: all of that will work
[04:17] creationix: pretty cool
[04:17] creationix: surfing from the terminal
[04:17] creationix: but without html
[04:17] Marak: thanks man!
[04:17] Marak: lynx
[04:18] Marak: its a total hack, not a full DOM at all, but im gonna keep hacking on it
[04:18] EyePulp has joined the channel
[04:20] creationix: Marak: nethack!
[04:20] creationix: Marak: with color
[04:20] creationix: do it
[04:20] Marak: creationix: yes, terminal based mmo
[04:20] Marak: creationix: `curl ohh.io`
[04:20] Marak: im staging a bunch of stuff
[04:20] Marak: `curl ohh.io/dancing`
[04:21] markmuskardin has joined the channel
[04:22] creationix: lol
[04:22] Marak: ACTION is stepping up the mad science game around here.
[04:23] davidwalsh has joined the channel
[04:24] daneroo has joined the channel
[04:24] ditesh|cassini has joined the channel
[04:26] mattpardee_ has joined the channel
[04:26] creationix has left the channel
[04:27] saikat has joined the channel
[04:28] skm has joined the channel
[04:28] dget has joined the channel
[04:28] upgrayeddd: is there a reason behind that domain Marak ?
[04:28] upgrayeddd: you from Ohio or something ;) ?
[04:29] Marak: upgrayeddd: one moment
[04:32] Marak: upgrayeddd: this might explain http://www.youtube.com/watch?v=jkY--mEUBH0#t=0m31s
[04:33] gavin_huang has joined the channel
[04:33] Marak: upgrayeddd: or http://www.youtube.com/watch?v=FflxnqzxDnw#t=0m34s
[04:34] upgrayeddd: nice
[04:34] Marak: plus, its a 5 letter domain
[04:34] upgrayeddd: jay and silent bob and the rest of the kevin movies have such good taste in music
[04:34] daneroo1 has joined the channel
[04:35] Marak: i was just trying to think of 3 letter io domains a while back
[04:35] Marak: eiei.io was taken too
[04:35] upgrayeddd: i cracked up in clerks (ii?) when they were singing king diamond while choking the other cashier
[04:35] Marak: or i mean
[04:35] Marak: eie.io
[04:35] slifty_corsair has joined the channel
[04:36] Marak: upgrayeddd: now that lamer news has a RSS feed, im gonna setup ohh.io/news
[04:36] mattpard_ has joined the channel
[04:36] Marak: and have it be curl accessible
[04:36] coderdad has joined the channel
[04:36] AphelionZ has joined the channel
[04:36] jesusabdullah: :D
[04:36] upgrayeddd: nice, now we just need to make a nice curses interface
[04:37] upgrayeddd: that supports voting/commenting
[04:37] Marak: upgrayeddd: that will work with telnet clients
[04:38] Marak: upgrayeddd: you can do it with curl, but it requires the client send some wonky arguments
[04:38] Marak: should be the same backend code, me and SubStack are on it
[04:38] Marak: ;-)
[04:38] upgrayeddd: damn yall nodejs folks are so...active
[04:38] upgrayeddd: i love it
[04:38] Marak: %_%
[04:39] SubStack: getting shit done since 2010
[04:39] Marak: >.>
[04:39] Marak: http://npmtop.nodejitsu.com/ :D
[05:02] jesusabdullah: but I ripped the design off from a gif that Visnu made for the NodeConf Summercamp logo
[05:02] jesusabdullah: which in turn came from Escape from Monkey Island
[05:02] tomh has joined the channel
[05:02] jesusabdullah: Cool how that shit goes, huh?
[05:02] niftylettuce has joined the channel
[05:03] jhurliman has joined the channel
[05:03] Marak: jesusabdullah: im totally suing you
[05:03] takezawa_ has joined the channel
[05:05] daneroo1 has joined the channel
[05:05] secoif: SubStack what module would you suggest for buffering then decoding a request body
[05:05] colinclark has joined the channel
[05:06] superjudge has joined the channel
[05:07] rperkins has joined the channel
[05:07] rperkins has left the channel
[05:08] SubStack: secoif: there's formidable
[05:08] secoif: does that sound like a noob request? I just don't like having 6 lines of code in every post handler. perhaps I should just break it out into my own function
[05:08] secoif: k I'll check that out
[05:08] secoif: thanks
[05:08] eddyb has joined the channel
[05:09] eddyb: bleah. node is a mess
[05:09] eddyb: why is code in node_buffer.cc using char * instead of uint8_t *?
[05:11] metellus has joined the channel
[05:11] eddyb: someone wake up
[05:11] eddyb: char != uint32_t
[05:12] eddyb: char != int32_t
[05:12] eddyb: and I thought I'm a complete failure :|
[05:12] technoweenie: its kinda depressing
[05:12] ej__ has joined the channel
[05:13] technoweenie: is there a decent way to package up multiple npm projects in one project? i dont want 'hubot' to depend on xmpp/node-expat just because of the xmpp adapter
[05:13] jesusabdullah: Marak: Judge Mathis?
[05:14] technoweenie: is breaking every adapter to a separate lib the only way? hubot-xmpp or whatever
[05:14] takezawa has joined the channel
[05:17] Marak: technoweenie: for kohai, every plugin is standalone process...
[05:17] secoif: technoweenie use bundledDependencies in your package.json
[05:18] Marak: technoweenie: plugins are hot-swappable
[05:18] Marak: technoweenie: and all separate libs
[05:18] technoweenie: Marak: not quite what i'm asking for, thanks tho
[05:18] Marak: technoweenie: hook.io integration with your bot would give you access to about 30 plugins too
[05:18] Marak: already live
[05:18] Marak: just send some JSON back and forth, super easy
[05:19] Marak: technoweenie: regardless, you will probably want each "adapter" to be a npm pacakge
[05:19] Marak: it will save sanity down the road
[05:19] technoweenie: secoif: it looks like `npm bundle` is deprecated
[05:20] technoweenie: i may just throw the tarballs in the repo and point package.json at it
[05:20] Marak: technoweenie: bundling is for ruby
[05:20] rurufufuss has joined the channel
[05:20] technoweenie: actually bundling works super well in node
[05:20] technoweenie: even better than in ruby
[05:20] skm has joined the channel
[05:20] Marak: yeah, use node_modules folder
[05:21] Marak: if you drop them in there, it will work
[05:21] technoweenie: can you do that if there are compiled packages?
[05:21] Marak: just delpoy it, and reference the npm package dep as normal
[05:21] ecin has joined the channel
[05:21] stagas has joined the channel
[05:21] Marak: technoweenie: im not sure, sorry
[05:21] technoweenie: will it know to rebuild it on each host?
[05:21] Marak: technoweenie: maybe, you run npm install
[05:21] Marak: or npm link
[05:21] eddyb: wtf?
[05:21] secoif: technoweenie I'm not sure if npm bundle being deprecated means you can't use bundledDependencies
[05:21] technoweenie: yea, we do that in our prod apps, but none of the libs are compiled
[05:21] Marak: tarball is okay too
[05:21] eddyb: technoweenie: just make them deps
[05:22] eddyb: in package.json
[05:22] eddyb: npm install .
[05:22] eddyb: or npm install packagename (after publishing)
[05:22] eddyb: will add the deps and compile anything needed
[05:22] eddyb: that's *all*
[05:23] eddyb: or you can do npm install name
[05:23] technoweenie: npm went to hell this morning, and a bunch of users' first exposure to hubot and node.js was some crazy npm errors. they dont know wtf is going on
[05:23] technoweenie: so i'm trying to get around any external dependencies
[05:23] secoif: what was this 'hell'?
[05:23] eddyb: inside a directory with package.json, to install that module under that directory
[05:24] eddyb: technoweenie: that's nasty
[05:24] technoweenie: secoif: npm lost about a week's worth of packages
[05:24] secoif: ouch
[05:24] secoif: wow
[05:24] eddyb: technoweenie: you can always download from github
[05:24] markmuskardin has joined the channel
[05:24] jesusabdullah: That sounds like what should be an uncommon occurence though
[05:24] jesusabdullah: like, I don't think that's happened before
[05:25] eddyb: and place in node_modules
[05:25] technoweenie: well maybe not for your wimpy little web apps
[05:25] technoweenie: but chat bots are serious business
[05:25] secoif: and additionally, if people are judging your library based on a fuckup by a totally unrelated library…
[05:25] secoif: I mean
[05:26] technoweenie: i just want their first impression of Hubot to be awesome
[05:27] jesusabdullah: fwiw I've never heard of npm losing packages like that before
[05:27] secoif: it'd be like blaming hubot when my internet connection gets slow cause of some network issue
[05:27] eddyb: technoweenie: use github
[05:27] eddyb: most people put their work there
[05:27] eddyb: you can download from there
[05:28] martin_sunset: eddyb: I think technoweenie works at github:)
[05:28] eddyb: and most of the time, they got node_modules with dependencies filled in already
[05:28] eddyb: ok, wtf?
[05:28] eddyb: I'm confused now
[05:28] eddyb: technoweenie: so, again, what's your problem?
[05:28] technoweenie: its way up there ^
[05:29] eddyb: you want a package.json that give you 2 modules?
[05:29] eddyb: or what?
[05:29] eddyb: I don't get it
[05:29] rklancer: Dear lazyirc, re npm and Bundler. Is there the equivalent of 'bundle update'? (a way to say, "upgrade my dependencies to newer versions, consistent with some rules, then freeze my versions again"?)
[05:30] technoweenie: eddyb: its kind of a weird situation, i understand.
[05:30] rklancer: (given that I'm just starting with node.js and coffeescript, and only just now realized that npm was more like Bundler than apt-get)
[05:30] secoif: technoweenie btw hubot looks real nice.
[05:30] secoif: :D
[05:30] technoweenie: rklancer: i dont think npm has that
[05:31] eddyb: technoweenie: well, what about making that a dependency?
[05:31] vidi has joined the channel
[05:31] mikeal has joined the channel
[05:31] eddyb: and putting it in node_modules?
[05:31] eddyb: doesn't need working online npm repo
[05:31] technoweenie: eddyb: i want optional dependencies, but i dont think i can get them without making someone tweak a package.json file
[05:31] rklancer: technoweenie: thanks, that saves me spending a lot of time scouring npm docs before I need to :)
[05:31] technoweenie: rklancer: npm only has the most basic of bundler features, but it should be all you need
[05:32] eddyb: technoweenie: uhm. I can't see how to wrap my head around this
[05:32] technoweenie: the node/npm integration is pretty awesome
[05:32] rklancer: yeah, just curious .... and you know what curiosity does
[05:32] technoweenie: eddyb: then dont worry about it :)
[05:32] eddyb: technoweenie: you know what's awesome?
[05:32] eddyb: or, actually, what's not?
[05:33] eddyb: the amount of mess required for your nice javascript code to work
[05:33] secoif: technoweenie get users to use npm --save install when they install the optional deps?
[05:33] coderdad has joined the channel
[05:34] secoif: or write a hubot optional modules installer script that does that for them?
[05:34] technoweenie: eddyb: is it a bigger mess than the char* shit
[05:34] eddyb: oh, I know
[05:35] eddyb: I'm rewriting the whole of node
[05:35] eddyb: well, not everything
[05:35] technoweenie: good
[05:35] eddyb: but enough to power the javascript
[05:35] eddyb: I call this wonder, the gearbox
[05:35] eddyb: (heh)
[05:36] ryanfitz has joined the channel
[05:36] daneroo1 has joined the channel
[05:37] nba has joined the channel
[05:37] wookiehangover has joined the channel
[05:38] technoweenie: Error: /home/rick/foo/hubot-scripts/node_modules/hubot/node_modules/node-xmpp/node_modules/node-expat/build/default/node-expat.node: invalid ELF header
[05:38] JaKWaC has joined the channel
[05:38] technoweenie: yea committing node_modules wont work with compiled packages ^
[05:38] takezawa has joined the channel
[05:39] ej__ has joined the channel
[05:39] eddyb: technoweenie: uhm
[05:40] eddyb: I hope you got your trusty .gitignore
[05:40] technoweenie: char* mess, don't worry about it
[05:40] eddyb: and/or .npmignore
[05:40] eddyb: because users needs to run ./configure && make
[05:40] eddyb: or just npm install .
[05:40] nircle850 has joined the channel
[05:41] OmidRaha has joined the channel
[05:41] arcanis has joined the channel
[05:41] n8ji has joined the channel
[05:42] eddyb: technoweenie: I have to rewrite the whole thing, it's a fix I got to make :)
[05:43] eddyb: you're gonna love this if you like cleanness
[05:43] McPak has joined the channel
[05:43] mikeric has joined the channel
[05:44] nircle20 has joined the channel
[05:45] nircle956 has joined the channel
[05:47] replore has joined the channel
[05:47] replore__ has joined the channel
[05:48] mattpardee_: eddyb as in eddy bruel?
[05:48] eddyb: mattpardee_: lol no
[05:49] mike5w3c has joined the channel
[05:49] nircle120 has joined the channel
[05:49] reid has joined the channel
[05:49] eddyb: mattpardee_: if you cared to google me, you would've found my name in a copyright thingy
[05:50] smgt has joined the channel
[05:50] mattpardee_: If I cared enough to google you
[05:51] technoweenie has left the channel
[05:51] jsurfer has joined the channel
[05:52] dustym has joined the channel
[05:52] secoif: ahh, connect's body parser is all I needed. http://senchalabs.github.com/connect/middleware-bodyParser.html
[05:54] gut4 has joined the channel
[05:56] dreamdust has joined the channel
[05:59] _dc has joined the channel
[06:01] kfly8 has joined the channel
[06:01] daneroo1 has joined the channel
[06:03] eddyb: hmm, node's a bit lacking comments
[06:03] mike5w3c has joined the channel
[06:03] eddyb: but I'm assuming Buffer::Replace sets the given data if a callback is given also
[06:03] eddyb: or allocates data for itself if the callback is not given
[06:04] eddyb: shouldn't that be two function forms?
[06:04] eddyb: one with length, the other with data, callback and callack hint?
[06:04] eddyb: *callback
[06:04] Hounth has joined the channel
[06:05] bnoordhuis has joined the channel
[06:05] p1d has joined the channel
[06:06] Hounth_ has joined the channel
[06:07] markdaws has joined the channel
[06:13] dgathright has joined the channel
[06:14] martinciu has joined the channel
[06:14] dino_ has joined the channel
[06:14] captain_morgan has joined the channel
[06:14] dnjaramba has joined the channel
[06:15] ambroff has joined the channel
[06:16] aperiodic has left the channel
[06:17] daneroo1 has joined the channel
[06:19] xerox: is there a well-known css minifier in npm?
[06:23] saesh has joined the channel
[06:28] est3 has joined the channel
[06:30] k1ttty has joined the channel
[06:31] monokrome has joined the channel
[06:31] stagas has joined the channel
[06:31] skm has joined the channel
[06:31] daneroo1 has joined the channel
[06:32] devongovett has joined the channel
[06:35] Renegade001 has joined the channel
[06:37] sdwrage has joined the channel
[06:37] wtfcoder has joined the channel
[06:38] `3rdEden has joined the channel
[06:40] groom has joined the channel
[06:40] dubenstein has joined the channel
[06:43] daneroo has joined the channel
[06:43] ph^_ has joined the channel
[06:44] ph^__ has joined the channel
[06:47] andree has joined the channel
[06:48] knifed has joined the channel
[06:48] thalll has joined the channel
[06:50] metellus has joined the channel
[06:51] dsirijus has joined the channel
[06:51] simenbrekken has joined the channel
[06:51] chrislorenz has joined the channel
[06:51] daneroo has joined the channel
[06:52] tomlion has joined the channel
[06:53] Morkel has joined the channel
[06:56] neshaug has joined the channel
[06:57] emattias has joined the channel
[06:57] jbraffoul has joined the channel
[06:58] Hounth has joined the channel
[07:01] skm has joined the channel
[07:01] fangel has joined the channel
[07:02] chia has joined the channel
[07:03] blup has joined the channel
[07:03] mmalecki has joined the channel
[07:03] Margle has joined the channel
[07:04] gut4 has joined the channel
[07:05] kurmangazy has joined the channel
[07:07] bosphorus has joined the channel
[07:08] boltR has joined the channel
[07:08] daneroo has joined the channel
[07:10] daneroo has joined the channel
[07:10] fangel has joined the channel
[07:11] daglees has joined the channel
[07:12] daneroo has joined the channel
[07:13] takezawa has joined the channel
[07:15] illumina has left the channel
[07:15] andree has joined the channel
[07:16] dnjaramba has joined the channel
[07:17] ablomen has joined the channel
[07:19] lzskiss has joined the channel
[07:20] raphdg has joined the channel
[07:22] lzskiss: morning
[07:23] Nuck: mikeal: You made HN for a while earlier.
[07:23] AD7six has joined the channel
[07:24] `3rdEden has joined the channel
[07:25] _kud has joined the channel
[07:30] chapel: so I am having an insanely weird problem
[07:30] chapel: with express
[07:30] chapel: and sessions
[07:30] chapel: my session variables are being wiped out
[07:31] chapel: but for no apparent reason
[07:31] topaxi has joined the channel
[07:32] daneroo has joined the channel
[07:32] simenbrekken has joined the channel
[07:36] guybrush: anyone knows a good 80x15 nodejs?
[07:37] tuhoojabotti: wut
[07:37] stagas: chapel: does the cookie stay the same?
[07:38] stagas: chapel: maybe it's regenerating
[07:38] chapel: umm, well it shouldn't
[07:38] chapel: same code locally works fine
[07:38] chapel: but on a linode server, isn't working the same
[07:38] chapel: Im reinstalling node
[07:38] chapel: wondering if its something to do with 0.4.12 vs 0.4.10 (which Im using locally)
[07:40] jetienne_ has joined the channel
[07:41] skm has joined the channel
[07:41] vvo has joined the channel
[07:42] pgherveou has joined the channel
[07:42] beevi7 has joined the channel
[07:45] Draggor has joined the channel
[07:46] sgimeno has joined the channel
[07:46] gut4 has joined the channel
[07:46] tlynn has joined the channel
[07:47] fangel has joined the channel
[07:47] chapel: that didn't fix it
[07:47] loob2 has joined the channel
[07:48] chapel: im just using an ip address for connecting
[07:48] chapel: ip and port
[07:48] chapel: its very odd to say the least
[07:50] ruquay has joined the channel
[07:51] markwubben has joined the channel
[07:52] whitman has joined the channel
[07:53] CIA-48: node: 03Ryan Dahl 07master * r92f5a5d 10/ (228 files in 17 dirs): Upgrade V8 to 3.7.1 - http://git.io/VbOPJQ
[07:53] mc_greeny has joined the channel
[07:53] neshaug has joined the channel
[07:54] daneroo has joined the channel
[07:54] chapel: stagas: well I gave up, I just used my local version, I didn't need it on the remove server really
[07:55] DedSirijus has joined the channel
[07:55] stagas: chapel: sounded like a cookie issue
[07:55] chapel: most likely is
[07:56] chapel: but at this point, it wasn't worth troubleshooting further
[07:56] Druid_ has joined the channel
[07:56] mpavel has joined the channel
[07:56] chapel: I spent the better part of a day tracking down why stuff wasn't working
[07:56] chapel: and it ended up being this
[07:56] bergelmir has joined the channel
[07:56] bergelmir has joined the channel
[07:57] herbySk has joined the channel
[07:58] Wizek has joined the channel
[07:59] hipsterslapfight has joined the channel
[08:03] thalll has joined the channel
[08:04] Xano has joined the channel
[08:06] martinciu has joined the channel
[08:06] stagas has joined the channel
[08:07] mpavel has left the channel
[08:07] sylvinus has joined the channel
[08:07] nils_r has joined the channel
[08:11] dshaw_ has joined the channel
[08:11] blup has joined the channel
[08:11] metellus has joined the channel
[08:13] cjheath has joined the channel
[08:15] mike5w3c has joined the channel
[08:15] kuya has joined the channel
[08:15] kuya: hello, does anyone know anything like test swarm i can run locally? preferably in node
[08:16] DennisRasmussen has joined the channel
[08:16] josch13 has joined the channel
[08:17] secoif: kuya not that I know of, but perhaps you want to look at http://browserling.com/
[08:17] daneroo has joined the channel
[08:18] kuya: thanks
[08:18] stagas has joined the channel
[08:18] HardPhuck has joined the channel
[08:20] jacobolus has joined the channel
[08:20] alphahydrae has joined the channel
[08:25] akamike has joined the channel
[08:25] rio{ has joined the channel
[08:25] Wizek has joined the channel
[08:25] chiyam has joined the channel
[08:28] stagas has joined the channel
[08:30] kfly8 has joined the channel
[08:32] SubStack: kuya: even better http://testling.com (powered by browserling)
[08:32] SubStack: local headless test runner coming soon
[08:33] memoryleak has left the channel
[08:34] kuya: thanks
[08:36] overthemike has joined the channel
[08:36] overthemike has left the channel
[08:36] vhuren has joined the channel
[08:36] TheCode has joined the channel
[08:36] daneroo has joined the channel
[08:37] mc_greeny has joined the channel
[08:37] cosmincx has joined the channel
[08:37] martin_sunset has joined the channel
[08:37] TheCode: I am trying to write stdout to a fs.createWriteStream, but it fails with "maxBuffer exceeded". Any suggestions?
[08:38] TheCode: stdout is the resuly from a child_process curl query
[08:38] groom has joined the channel
[08:40] TheCode: is 0.5.10 stable?
[08:40] daneroo has joined the channel
[08:42] adambeynon has joined the channel
[08:42] eddyb: TheCode: it's the second-worse as stability goes
[08:43] eddyb: git master < 0.5.10
[08:43] eddyb: 0.5 < 0.4
[08:43] eddyb: etc
[08:44] TheCode: thanks, will wait till it's officially declared stable
[08:44] TheCode: anyway, any idea about the problem mxBuffer problem?
[08:45] uchuff has joined the channel
[08:45] Draggor has joined the channel
[08:48] markwubben has joined the channel
[08:51] akiva has joined the channel
[08:52] aliem has joined the channel
[08:53] Hounth has joined the channel
[08:53] __tosh has joined the channel
[08:54] riven` has joined the channel
[08:54] jbpros has joined the channel
[08:55] grekko has joined the channel
[08:55] skm has joined the channel
[08:57] daneroo has joined the channel
[08:58] bnoordhuis: TheCode: are you using child_process.exec()? you probably need to use child_process.spawn(), .exec() by default only buffers up to 200k
[08:58] djcoin has joined the channel
[09:00] TheCode: oh ok
[09:00] TheCode: so what's exec best for?
[09:00] TheCode: ls -l etc?
[09:04] shipit has joined the channel
[09:04] trave has joined the channel
[09:07] ayaz has joined the channel
[09:07] flamboz has joined the channel
[09:07] aron_ has joined the channel
[09:08] pid_ has joined the channel
[09:09] daneroo has joined the channel
[09:10] luke` has joined the channel
[09:10] mhk has joined the channel
[09:11] daneroo has joined the channel
[09:11] TheCode: Ok, curl is returning the results fine and I have increased maxBuffer size too, but looks like it's being encoded using UTF, hence image file is corrupted
[09:11] mhk has left the channel
[09:11] TheCode: any idea to fix it?
[09:11] TheCode: encoded to UTF when I write to file
[09:15] daneroo has joined the channel
[09:16] bzinger has joined the channel
[09:18] eldios has joined the channel
[09:18] daneroo has joined the channel
[09:18] fermion has joined the channel
[09:22] k1ttty has joined the channel
[09:25] adrianmg has joined the channel
[09:25] GeorgeJ has joined the channel
[09:25] GeorgeJ has joined the channel
[09:25] riven has joined the channel
[09:26] adrianmg has left the channel
[09:28] Twelve-60 has joined the channel
[09:28] daneroo has joined the channel
[09:29] skm has joined the channel
[09:32] sfoster has joined the channel
[09:38] daneroo has joined the channel
[09:39] skoom has joined the channel
[09:39] FIQ|screen has joined the channel
[09:39] Margle has joined the channel
[09:40] __doc__ has joined the channel
[09:41] tomlion_ has joined the channel
[09:42] bnoordhuis: TheCode: write a buffer, not a string
[09:43] daneroo has joined the channel
[09:43] Glenjamin: TheCode: why are you shelling out to cURL over using http.request ?
[09:44] guillermo has joined the channel
[09:44] abraxas has joined the channel
[09:46] tiglionabbit: When you're working with tcp sockets in node, and you get a data callback, and you look in that buffer and realize you don't have as much data as you need, what's a simple way to wait for more data to come before continuing?
[09:49] aaronmcadam has joined the channel
[09:49] cgfuh has joined the channel
[09:49] TheNumb has joined the channel
[09:49] [[zz]] has joined the channel
[09:50] ph^ has joined the channel
[09:50] fmeyer has joined the channel
[09:51] MrNibbles has joined the channel
[09:51] bnoordhuis: tiglionabbit: not sure i understand the question. just wait for the next data event?
[09:52] zahary has joined the channel
[09:52] mdaisuke_ has joined the channel
[09:52] tiglionabbit: bnoordhuis: yeah but lets say my code is in the middle of doing stuff with the buffer data when it realizes more is needed
[09:52] tiglionabbit: it'd need to stop and wait for the next data event before resuming
[09:52] tiglionabbit: how can you implement that?
[09:52] bnoordhuis: tiglionabbit: stuff it into a queue, implement your parser / data consumer as a state machine
[09:52] tiglionabbit: I think I'd want to create a function object to represent the resume point or something...
[09:53] tiglionabbit: a state machine hm
[09:54] tiglionabbit: any guidance on that? helpful libraries?
[09:56] tiglionabbit: example implementations to look at?
[09:56] jetienne_ has joined the channel
[09:56] tiglionabbit: was hoping I could just put this thing together real quick, but the unpredictability of how much data I'm gonna get is making things difficult
[09:56] facerip has joined the channel
[09:57] Glenjamin: what sort of data is it?
[09:58] Glenjamin: if its XML or JSON then evented parsers already exist
[09:59] tiglionabbit: nah it's some silly protocol I inherited from my co-workers. It's plain text, then a new line, then binary data. The plain text describes what's in the binary data portion and tells you how long it is.
[09:59] sylvinus has joined the channel
[09:59] tiglionabbit: so after I parse the plain text bit, I know how much binary data I need before I can continue...
[10:00] augustl: tiglionabbit: but if it tells you know long it is, you already know?
[10:01] tiglionabbit: yes I know, but the problem is the buffer node gives me in a single data event isn't long enough
[10:01] tiglionabbit: there is more data yet to receive
[10:01] augustl: so wait for the next one? :)
[10:01] Glenjamin: on data, append to buffer. Check buffer, if big enough, parse, else do nothing
[10:01] augustl: tiglionabbit: so. Create a buffer with the appropriate size
[10:01] jomoho has joined the channel
[10:02] augustl: copy the data event buffers into that buffer
[10:03] tiglionabbit: it's also possible that it might not give me all of the plain text in one go, so that's another thing I gotta worry about
[10:03] tiglionabbit: two steps here
[10:03] te-brian has joined the channel
[10:03] augustl: tiglionabbit: http://pastie.org/2766880
[10:03] tiglionabbit: and I dunno how long the plain text will be. It's until you find a newline
[10:03] augustl: tiglionabbit: right, you need a parser that can handle chunked data in any form
[10:03] augustl: all you know is you'll get them in correct order
[10:03] fly-away has joined the channel
[10:03] tiglionabbit: mhm
[10:04] augustl: that code is just for the buffer "concatination" obviously
[10:04] tiglionabbit: this is more complex than I was hoping :P
[10:04] Glenjamin: parsing usually is
[10:04] augustl: you need state to know if you're currently looking at data to concat, etc etc
[10:04] augustl: tiglionabbit: it's pretty managable
[10:04] augustl: unit tests to the rescue ;)
[10:04] augustl: makes it a lot easier to test against a bunch of different cases of chunks etc
[10:05] augustl: what you do know is that the first chunk you'll ever get is the plain text part with the content length etc
[10:05] augustl: so you know your initial state
[10:05] TomY has joined the channel
[10:06] ayaz has joined the channel
[10:06] augustl: so scan the data byte by byte until you find an ASCII newline, then set the state and create a buffer, and so on
[10:07] aaronmcadam has joined the channel
[10:08] daneroo has joined the channel
[10:08] Glenjamin: it probably helps to draw the state machine first, and annotate the events you want to happen on transitions
[10:10] MrNibbles has joined the channel
[10:11] mdaisuke has joined the channel
[10:15] daneroo has joined the channel
[10:17] pHcF has joined the channel
[10:17] okuryu has joined the channel
[10:18] stagas has joined the channel
[10:18] guillermo has joined the channel
[10:19] kkszysiu has joined the channel
[10:19] Peniar has joined the channel
[10:20] d0k has joined the channel
[10:21] neshaug has joined the channel
[10:23] broofa has joined the channel
[10:23] gut4 has joined the channel
[10:25] JakeyChan: is there have any document to introduce libuv ???
[10:25] ErikCorryV8 has joined the channel
[10:27] fmeyer has joined the channel
[10:30] sylvinus has joined the channel
[10:30] ninjapig has joined the channel
[10:30] ninjapig has joined the channel
[10:31] daneroo has joined the channel
[10:31] p1d has joined the channel
[10:32] neshaug has joined the channel
[10:32] [[zz]] has joined the channel
[10:32] Tobsn has joined the channel
[10:33] stagas has joined the channel
[10:34] sylvinus has joined the channel
[10:40] hebot has joined the channel
[10:40] hebot has joined the channel
[10:40] Cromulent has joined the channel
[10:41] nabax has joined the channel
[10:41] nabax: hi
[10:41] tcrowe has joined the channel
[10:41] nabax: I'm trying to install now.js by using npm, but I get this error:
[10:41] nabax: error installing node-proxy@0.5.2 Error: node-proxy@0.5.2 install: `make`
[10:41] nabax: I googled it and found this:
[10:41] nabax: http://permalink.gmane.org/gmane.comp.lang.javascript.nodejs/29563
[10:42] nabax: but I can't find any wscript file or wafadmin directory in my whole FS
[10:42] rio{ has joined the channel
[10:43] stagas has joined the channel
[10:43] nabax: all discussions on the topic eventually forward me to the same gmane page
[10:43] tomb: nabax: you'll need to install gcc/make etc to compile the package by the sounds of it
[10:44] nabax: tomb, hmmm I believe I do have all build tools installed, but let me check :)
[10:44] thalll has joined the channel
[10:45] nabax: yup, I got make 3.81-8.1 and gcc 4.6.1-4 properly installed
[10:46] tomb: could you paste all the error output to something like gist.github.com?
[10:46] hebot has joined the channel
[10:47] nabax: actually, I hadn't noticed this line before: /bin/sh: 1: node-waf: not found
[10:47] nabax: tomb, sure just a min :)
[10:47] nabax: http://pastie.org/2767017
[10:48] nabax: I'm on a Debian testing machine, btw
[10:49] tomb: did you have python installed?
[10:49] bnoordhuis: nabax: make sure node-waf is on the path
[10:49] bnoordhuis: it's installed to the directory that contains the node binary, e.g. /usr/local/bin
[10:50] nabax: tomb, yup, I've python 3.2.2~rc1-1 installed
[10:50] nabax: bnoordhuis, oh let me take a look at this
[10:50] nabax: bnoordhuis, in the $PATH envvar you mean?
[10:50] bnoordhuis: nabax: yes
[10:51] salavert has joined the channel
[10:51] bnoordhuis: oh, and node-waf doesn't work too well with python 3.x
[10:51] nabax: hmmm I see
[10:51] hebot has joined the channel
[10:51] salavert: hellooo
[10:51] bnoordhuis: nabax: but if it's a debian machine, you probably have a python2 installed as well
[10:52] nabax: yup, I've both
[10:52] maushu has joined the channel
[10:52] nabax: so wait a minute, /usr/local/bin should contain a file named node-waf?
[10:52] bnoordhuis: yes
[10:52] nabax: ouch so here's the source of the issue I guess
[10:52] nabax: it's not there
[10:53] salavert: anyone know if it's possible to install node.js and npm on site5.com shared hosting?
[10:53] bnoordhuis: there's a node binary in there?
[10:53] maushu: salavert: do you have ssh access?
[10:53] tomb: nabax: do you have a NODE_PATH env var?
[10:53] bnoordhuis: salavert: yes, if you have shell access and there's a compiler toolchain available
[10:54] maushu: ...but I don't think so.
[10:54] salavert: hmm thx bnoordhuis , I will check and try
[10:54] nabax: bnoordhuis, nope, no node binary either
[10:54] salavert: shell access is no problem, and compiler dunno
[10:54] bnoordhuis: nabax: well... where is it?
[10:54] nabax: bnoordhuis, the node binary is in /usr/bin
[10:55] nabax: but no node-waf file there either
[10:55] nabax: tomb, no NODE_PATH either
[10:55] bnoordhuis: did you install the nodejs .deb?
[10:55] nabax: I guess the npm installation didn't work out that well hehe
[10:55] nabax: bnoordhuis, yes
[10:55] bnoordhuis: okay, you need to install the nodejs-dev package too
[10:56] jbpros has joined the channel
[10:56] nabax: aaah okay
[10:57] nabax: bnoordhuis, tomb, thanks a lot :)
[10:57] bnoordhuis: nabax: np
[10:58] dubenstein has joined the channel
[11:00] jetienne_ has joined the channel
[11:01] hebot has joined the channel
[11:03] bzinger has joined the channel
[11:06] ivanfi has joined the channel
[11:12] hebot has joined the channel
[11:17] p1d has joined the channel
[11:18] robhawkes has joined the channel
[11:18] stagas has joined the channel
[11:20] fmeyer has joined the channel
[11:21] daneroo has joined the channel
[11:23] hebot has joined the channel
[11:32] Nietecht_ has joined the channel
[11:32] wbednarski has joined the channel
[11:34] jamescarr has joined the channel
[11:35] robhawkes has joined the channel
[11:35] JakeyChan has joined the channel
[11:36] hebot has joined the channel
[11:37] robhawkes has joined the channel
[11:37] Rafael has joined the channel
[11:38] stepheneb has joined the channel
[11:39] fairwinds has joined the channel
[11:39] secoif has joined the channel
[11:40] akiva has joined the channel
[11:41] Croms has joined the channel
[11:41] daneroo has joined the channel
[11:42] Hounth has joined the channel
[11:43] zendfan has left the channel
[11:44] CrisO has joined the channel
[11:46] hebot has joined the channel
[11:51] neurodrone has joined the channel
[11:51] daneroo has joined the channel
[11:53] stagas has joined the channel
[11:53] Morkel has joined the channel
[11:55] _kud has joined the channel
[11:56] r04r has joined the channel
[11:57] hebot has joined the channel
[11:58] cleanah has joined the channel
[11:59] Srirangan has joined the channel
[12:00] NetRoY has joined the channel
[12:00] r04r has joined the channel
[12:00] r04r has joined the channel
[12:02] scott_gonzalez has joined the channel
[12:04] JakeyChan has joined the channel
[12:04] slifty_corsair has joined the channel
[12:05] r04r has joined the channel
[12:05] r04r has joined the channel
[12:06] ayaz has joined the channel
[12:06] ph^ has joined the channel
[12:07] JakeyChan_ has joined the channel
[12:07] hebot has joined the channel
[12:11] willwhite has joined the channel
[12:12] CIA-48: node: 03Ben Noordhuis 07master * rb952954 10/ deps/v8/src/platform-solaris.cc :
[12:12] CIA-48: node: v8: implement VirtualMemory class on SunOS
[12:12] CIA-48: node: Unbreaks build on SunOS. Re-applies 4908e5bf7a9c8014eefcf344e958bf0dad95d907. - http://git.io/7E6iLw
[12:13] lzskiss has joined the channel
[12:13] Kingdutch: Hi all
[12:13] lzskiss: aloha
[12:14] Srirangan: hi
[12:15] marcello3d has joined the channel
[12:16] eddyb_ has joined the channel
[12:16] eddyb_: ffs
[12:16] elliottcable: Hm.
[12:16] eddyb_: https://github.com/joyent/node/blob/master/src/node_buffer.cc#L273
[12:16] elliottcable: Doesn’t `node`’s REPL use readline?
[12:16] elliottcable: if so, why aren’t my inputrc vi bindings working?
[12:16] eddyb_: all those slice functions are 3-lines (including trailing }) for me
[12:17] eddyb_: elliottcable: I don't think they're using native readline
[12:17] eddyb_: rather crafted
[12:17] optixx has joined the channel
[12:18] elliottcable: http://blog.doteight.com/2011/01/16/rlwrap-and-node.html
[12:18] elliottcable: my new favourite person.
[12:18] r04r has joined the channel
[12:18] hebot has joined the channel
[12:18] elliottcable: vim in `node`-REPL. Happydays!
[12:18] eddyb_: elliottcable: https://github.com/joyent/node/blob/master/lib/readline.js
[12:19] theCole has joined the channel
[12:19] elliottcable: yeah, so I see. Ew.
[12:21] davidbanham has joined the channel
[12:22] runvnc has joined the channel
[12:22] theCole_ has joined the channel
[12:24] CIA-48: node: 03koichik 07master * r173f91c 10/ doc/api/zlib.markdown : docs: add zlib.createXxx() functions - http://git.io/LK_F4g
[12:24] daneroo has joined the channel
[12:25] elliottcable: is there any way to pass commands to run in the REPL on the command line?
[12:25] elliottcable: short of doing some STDIN hackery that builds a custom REPL right off-the-bat?
[12:27] whitman has joined the channel
[12:28] erichynds has joined the channel
[12:29] svnlto has joined the channel
[12:31] r04r has joined the channel
[12:31] r04r has joined the channel
[12:31] enmand has joined the channel
[12:31] daneroo has joined the channel
[12:31] relative has joined the channel
[12:32] k1ttty has joined the channel
[12:32] doffm has joined the channel
[12:33] AphelionZ has joined the channel
[12:33] replore has joined the channel
[12:33] replore_ has joined the channel
[12:33] eddyb_: http://pastebin.com/rhCeW0t2
[12:33] eddyb_: compare that to node code
[12:34] hebot has joined the channel
[12:34] eddyb_: https://github.com/joyent/node/blob/master/src/node_buffer.cc#L449
[12:34] eddyb_: lol: s/is/if/
[12:36] albertosh has joined the channel
[12:37] r04r has joined the channel
[12:37] DarkGrey has joined the channel
[12:40] aron_ has joined the channel
[12:41] f1gm3nt has joined the channel
[12:41] r04r has joined the channel
[12:41] r04r has joined the channel
[12:41] daneroo has joined the channel
[12:42] kazupon has joined the channel
[12:43] stagas has joined the channel
[12:43] albertosh has joined the channel
[12:44] hebot has joined the channel
[12:45] scottschecter has joined the channel
[12:46] r04r has joined the channel
[12:47] wink_ has joined the channel
[12:48] Gonzih has joined the channel
[12:48] elliottcable: bnoordhuis: Fixed REPL’s colourization when NODE_NO_READLINE: https://github.com/joyent/node/pull/1951
[12:48] matyr has joined the channel
[12:48] level09 has joined the channel
[12:49] pixel13 has joined the channel
[12:49] pixel13 has left the channel
[12:49] Gonzih has joined the channel
[12:51] r04r has joined the channel
[12:51] r04r has joined the channel
[12:52] zmbmartin has joined the channel
[12:54] spcshpop` has joined the channel
[12:55] AaronMT has joined the channel
[12:55] hebot has joined the channel
[12:55] jpdery- has joined the channel
[12:56] r04r has joined the channel
[12:59] EriksLV has joined the channel
[13:00] davidsklar has joined the channel
[13:01] miccolis has joined the channel
[13:01] r04r has joined the channel
[13:01] daneroo has joined the channel
[13:02] CarterL has joined the channel
[13:03] lazyshot has joined the channel
[13:04] MrNibbles: this
[13:04] MrNibbles: is bloody useful: http://mstratman.github.com/cocoadialog/#
[13:04] deedubs has joined the channel
[13:05] RyanD has joined the channel
[13:06] avdg has joined the channel
[13:06] r04r has joined the channel
[13:06] r04r has joined the channel
[13:07] luke` has joined the channel
[13:07] chia has joined the channel
[13:08] rklancer has joined the channel
[13:09] eddyb_: zc
[13:09] eddyb_: sorry
[13:09] jbpros has joined the channel
[13:09] hebot has joined the channel
[13:11] maushu: Ok, trying ssh key algorithm exchange for the first time, here goes nothing.
[13:11] maushu: ...and the client disconnected.
[13:11] maushu: ZING
[13:11] r04r has joined the channel
[13:12] cjm has joined the channel
[13:13] lulzfish_4: SSH key exchange, you say?
[13:13] TomY has joined the channel
[13:15] maushu: Yup.
[13:15] maushu: No idea what I'm doing. \o/
[13:15] coderdad has joined the channel
[13:15] maushu: The client says that the response after decryption is garbled... funny, since I'm pretty sure I'm not yet using encryption.
[13:16] r04r has joined the channel
[13:16] materialdesigner has joined the channel
[13:18] sylvinus has joined the channel
[13:18] mehtryx has joined the channel
[13:18] cjroebuck has joined the channel
[13:18] maushu: I will write the data received/sent and analyze it with a hex editor.
[13:19] eddyb_: great
[13:19] eddyb_: I can't login in twitter from here
[13:19] hij1nx has joined the channel
[13:20] daneroo has joined the channel
[13:20] vkareh has joined the channel
[13:21] r04r has joined the channel
[13:21] r04r has joined the channel
[13:22] jtrudeau has joined the channel
[13:22] willwhite has joined the channel
[13:23] zendfan has joined the channel
[13:23] hebot has joined the channel
[13:24] imarcusthis has joined the channel
[13:24] lastk has left the channel
[13:25] booo has joined the channel
[13:25] imarcusthis: hey, how can I tell npm where to look for header files, seems like it is not looking in /usr/local/include?
[13:25] Aikar: imarcusthis: headers for what? npm isnt compiled
[13:25] imarcusthis: Aikar: expat.h
[13:25] imarcusthis: it's building node-expat
[13:25] booo: imarcusthis, google for wscript
[13:26] r04r has joined the channel
[13:26] Aikar: imarcusthis: npm simply executes the shell commands listed by the owner of the package, youll need to configure your system so wscript can find them
[13:26] booo: anyone using xmlbuilder?
[13:26] Aikar: you dont tell npm where to look for them
[13:26] imarcusthis: booo: assuming you don't mean windows scripting.
[13:26] Poetro has joined the channel
[13:26] Poetro has joined the channel
[13:26] Aikar: imarcusthis: he meant node-waf, wscript is the name of the waf build file
[13:27] thomblake has joined the channel
[13:27] booo: imarcusthis, https://github.com/kashif/node-geos/blob/master/wscript
[13:27] thomblake has left the channel
[13:27] booo: maybe you can adopt this example
[13:27] rootslab has joined the channel
[13:28] booo: i installed xmlbuilder via npm but the folder for the xmlbuilder under node_modules only contains a package.json file. what's the problem?
[13:28] booo: can i somehow check the content in the npm repo?
[13:28] Aikar: imarcusthis: by that example he linked, looks like you can define LIBPPATH_PROJ to add more locations
[13:29] Aikar: booo: check the main property
[13:29] Aikar: it may be just a forwarder to a diff location
[13:29] imarcusthis: waf == wife acceptance factor :p
[13:29] thalll has joined the channel
[13:29] jtsnow has joined the channel
[13:29] stepheneb has joined the channel
[13:30] Aikar: ./foo/bar/baz/package.json which has main: "../../chicken/legs.js" makes require("./foo/bar/baz") load ./foo/chicken/legs.js
[13:30] booo: seems like the developer missed the actual content. an older version does contain the sources
[13:31] xy has joined the channel
[13:31] nabax has left the channel
[13:31] r04r has joined the channel
[13:33] luizlopes has joined the channel
[13:34] daneroo has joined the channel
[13:35] hebot has joined the channel
[13:35] bshumate has joined the channel
[13:35] bshumate has joined the channel
[13:35] bshumate has left the channel
[13:36] r04r has joined the channel
[13:37] hswolff has joined the channel
[13:40] r04r has joined the channel
[13:43] brianloveswords has joined the channel
[13:44] daneroo has joined the channel
[13:44] booo: anyone using pg with the native binding?
[13:45] booo: is it possible to use the connection pool with the binding?
[13:45] imarcusthis: CPPFLAGS=-I/usr/local/include/ npm install did the trick.
[13:46] waynix has joined the channel
[13:46] r04r has joined the channel
[13:46] hebot has joined the channel
[13:48] ceej has joined the channel
[13:48] neoesque has joined the channel
[13:48] daneroo has joined the channel
[13:51] r04r has joined the channel
[13:52] vipaca has joined the channel
[13:52] vipaca has joined the channel
[13:53] willwhite has joined the channel
[13:54] c4milo has joined the channel
[13:54] tomlion has joined the channel
[13:55] coderdad has joined the channel
[13:56] r04r has joined the channel
[13:57] hebot has joined the channel
[13:58] svnlto has joined the channel
[14:00] jstash has joined the channel
[14:01] r04r has joined the channel
[14:01] daneroo has joined the channel
[14:03] javajunky has joined the channel
[14:03] daneroo has joined the channel
[14:03] bzinger has joined the channel
[14:04] stepheneb has joined the channel
[14:05] dherman has joined the channel
[14:06] fmeyer has joined the channel
[14:07] hebot has joined the channel
[14:08] heavysixer has joined the channel
[14:09] bwinton has joined the channel
[14:09] matehat has joined the channel
[14:09] r04r has joined the channel
[14:11] p1d has joined the channel
[14:11] briemens has joined the channel
[14:12] brianc1 has joined the channel
[14:12] mandric has joined the channel
[14:12] kriszyp has joined the channel
[14:12] deedubs1 has joined the channel
[14:13] micheil has joined the channel
[14:13] fatjonny has joined the channel
[14:13] jbergstroem has joined the channel
[14:14] ej_ has joined the channel
[14:14] jbergstroem: the zlib build seems to fail for me while building Makefile-gyp: http://pb.lericson.se/p/JqgSXT/
[14:15] thalll has joined the channel
[14:15] brianc1: anyone know how to do "hot code reloading" in node without having to restart the process? Is that even possible, batman?
[14:15] daneroo has joined the channel
[14:17] deedubs: brianc1: cluster on 0.4.X supports it http://learnboost.github.com/cluster/docs/reload.html
[14:17] hebot has joined the channel
[14:19] colinclark has joined the channel
[14:19] gavin_huang has joined the channel
[14:19] Swizec has joined the channel
[14:20] jgornick has joined the channel
[14:20] jbpros has joined the channel
[14:21] svnlto has joined the channel
[14:22] piscisaureus has joined the channel
[14:24] igl1 has joined the channel
[14:25] pandeiro has joined the channel
[14:25] joshkehn has joined the channel
[14:25] deedubs1 has joined the channel
[14:26] deedubs_ has joined the channel
[14:26] daneroo has joined the channel
[14:26] samBiotic has joined the channel
[14:27] dcelix has joined the channel
[14:27] PeteDaGuru has joined the channel
[14:28] hebot has joined the channel
[14:29] joshkehn has left the channel
[14:30] Destos has joined the channel
[14:30] pizthewiz has joined the channel
[14:31] nibblebot has joined the channel
[14:31] Searom has joined the channel
[14:32] Searom: hi all
[14:32] jbergstroem has left the channel
[14:33] Searom: im using windows7, iis7.....when i run nodes the client connect, but server dont write on brownser......some help me?
[14:34] jslatts has joined the channel
[14:35] hntrdglss has joined the channel
[14:36] tjholowaychuk has joined the channel
[14:37] liar has joined the channel
[14:37] fairwinds: hi, does anyone know whether there are check sums or such mechanism in npm or whether there is anything one can do to sign their code before publishing to npm
[14:38] Searom: why server dont write on brownser in win7?? iis7???
[14:38] bnoordhuis: Searom: i think you're looking for #mindreaders
[14:40] FMJaguar has joined the channel
[14:40] svnlto has joined the channel
[14:40] bzinger has joined the channel
[14:40] colinclark has joined the channel
[14:40] Searom: the client connected, but server.......nothing.....is a simple test
[14:40] ryanfitz has joined the channel
[14:40] hebot has joined the channel
[14:41] Marak has joined the channel
[14:41] kuebk has joined the channel
[14:42] Searom: only me there....
[14:42] Searom: :(
[14:42] daneroo has joined the channel
[14:43] Ceashure has joined the channel
[14:43] Searom: everything works..only socket.write('welcome');
[14:43] Searom: dont
[14:43] lmatteis has joined the channel
[14:43] bnoordhuis: Searom: it usually helps when you gist or pastie your code
[14:43] pwk0 has joined the channel
[14:44] JKarsrud has joined the channel
[14:44] stravid has joined the channel
[14:45] xetorthio has joined the channel
[14:45] PEM has joined the channel
[14:45] Searom: var server = net.createServer(function(socket) { socket.on('connect', function(){ socket.write('welcome'); console.log('connected'); }); });
[14:45] PEM has left the channel
[14:45] PEM has joined the channel
[14:45] PEM has left the channel
[14:46] aelien27 has joined the channel
[14:46] beawesomeinstead has joined the channel
[14:46] cognominal has joined the channel
[14:46] ralph has joined the channel
[14:46] decaf has joined the channel
[14:46] decaf has joined the channel
[14:46] vvo has joined the channel
[14:46] Searom: ws.onmessage = function(event){ alert(event.data; };
[14:47] bnoordhuis: Searom: you realize net.createServer() creates a plain tcp server? you probably want http.createServer()
[14:48] tomlion has joined the channel
[14:48] another_syrio has joined the channel
[14:48] Searom: bnoordhuis: did before
[14:49] tjholowaychuk has joined the channel
[14:49] Searom: want only send a "wellcome" message to client
[14:49] Searom: create http server and createReadStream(html page)
[14:49] Kai` has joined the channel
[14:50] Searom: but "wellcome" dont work
[14:50] Searom: server -> client
[14:50] bnoordhuis: Searom: there's an example on the nodejs.org page, that should get you going
[14:50] RORgasm has joined the channel
[14:50] Searom: yes yes....i got.....
[14:51] Searom: thx help.....
[14:51] shanebo has joined the channel
[14:51] dgathright has joined the channel
[14:51] Searom: will search more
[14:51] Searom: :)
[14:51] Searom: cya
[14:52] isaacs has joined the channel
[14:52] Searom has left the channel
[14:52] javajunky has left the channel
[14:52] chia has joined the channel
[14:52] hebot has joined the channel
[14:52] micheil_mbp has joined the channel
[14:53] kersny has joined the channel
[14:53] blissdev has joined the channel
[14:53] nym has joined the channel
[14:54] bnoordhuis: these people... god help me if we get more windows users
[14:54] icebox has joined the channel
[14:55] tuhoojabotti: Windows!<3
[14:55] death1 has joined the channel
[14:55] icebox: isaacs: Hello... How to update npm in v2 machine?
[14:55] death1: www.l2death.com new [Server RPG][High Five] XP/7 SP/7 Adena/ 7 Drop/ Spoil: x7Party XP/ SP: x1.5Max Safe Enchant : 3 Max Enchant : 20
[14:55] death1 has left the channel
[14:55] isaacs: icebox: npm install npm -g
[14:55] RORgasm has joined the channel
[14:55] isaacs: icebox: or curl | sh thing
[14:56] icebox: isaacs: after curling, npm -v is always 1.0.27
[14:56] isaacs: oh, ok...
[14:56] baudehlo: if (/windows/i.test(os.type())) process.exit()
[14:56] isaacs: npm i -g npm should work...
[14:56] baudehlo: that might go in all my libraries :
[14:56] isaacs: baudehlo: if (process.platform === "win32") return
[14:56] isaacs: baudehlo: that's more reliable^
[14:57] baudehlo: thanks :)
[14:57] svnlto has joined the channel
[14:57] icebox: isaacs: no, npm install has the same effect...
[14:57] baudehlo: How are windows users going to get stuff to be long running (as a service)?
[14:57] gavin_huang has joined the channel
[14:57] isaacs: icebox: weird. gist the output?
[14:58] icebox: isaacs: I mean, with the both methods Isee npm module with ls -g but the link is the old one
[14:58] bnoordhuis: baudehlo: by staying away from the start button
[14:58] baudehlo: hah
[14:59] baudehlo: I guess there are old tools to run an exe as a service that IIRC used to be in the Windows NT Resource Kit - but that was in my Windows NT 4.0 days.
[14:59] jbpros has joined the channel
[15:00] icebox: isaacs: https://gist.github.com/1319790
[15:00] TomY has joined the channel
[15:00] devongovett has joined the channel
[15:00] isaacs: icebox: also, what's `echo $PATH`?
[15:00] chia_ has joined the channel
[15:00] isaacs: icebox: it should have /home/node/local/bin before /opt/nodejs/bin
[15:01] kuebk: is there any best middleware for jsonrpc handling in express?
[15:01] EyePulp has joined the channel
[15:01] zilch_ has joined the channel
[15:01] icebox: isaacs: added info
[15:01] khrome_ has joined the channel
[15:02] icebox: isaacs: it seems the path is correct
[15:02] fmeyer has joined the channel
[15:02] hebot has joined the channel
[15:02] neurodrone has joined the channel
[15:02] Hounth_ has joined the channel
[15:02] erichynds has joined the channel
[15:03] isaacs: icebox: maybe run `hash -r` to reset the cached locations of things?
[15:03] neurodrone has joined the channel
[15:03] isaacs: if the path has /home/node/local/bin in front of /opt/nodejs/bin, then `which npm` should find /home/node/local/bin/npm before /opt/nodejs/bin/npm
[15:03] icebox: isaacs: after hash -r it works nice... 1.0.103 :) thanks for the support
[15:03] isaacs: np :)
[15:05] kriszyp has joined the channel
[15:05] coderdad has joined the channel
[15:05] p1d has joined the channel
[15:06] upgrayeddd has joined the channel
[15:08] dylang has joined the channel
[15:09] daneroo has joined the channel
[15:09] niftylettuce has joined the channel
[15:09] swestcott has joined the channel
[15:10] Hosh has joined the channel
[15:10] ryanseddon has joined the channel
[15:10] sveisvei has joined the channel
[15:12] hij1nx has joined the channel
[15:13] Clex: Let's say I have a random module "module.exports = function() {};", I load it with "var test = require('./test');"
[15:13] Clex: I would like to give it a parameter at load
[15:13] Clex: like "var test = require('./test')(42);"
[15:13] tjholowaychuk: that's how you do it
[15:14] Clex: But the variable test is not the module anymore.
[15:14] heavysixer has joined the channel
[15:14] mandric has joined the channel
[15:14] Clex: It's the result of the function return.
[15:14] tjholowaychuk: yeah
[15:14] tjholowaychuk: would you rather it be the function?
[15:14] _kud_ has joined the channel
[15:14] Clex: Exactly.
[15:14] tjholowaychuk: return module.exports
[15:14] nilakanta has joined the channel
[15:15] Clex: Thanks tjholowaychuk, I think that's it.
[15:16] vipaca has joined the channel
[15:16] hebot has joined the channel
[15:16] Zamarok_ has joined the channel
[15:16] Clex: tjholowaychuk: like "module.exports = function() {}; return module.exports;" ?
[15:17] tjholowaychuk: return in the function
[15:17] Clex: Awesome, thanks.
[15:19] salazr_ has joined the channel
[15:19] footyfish has joined the channel
[15:20] markdaws has joined the channel
[15:20] indutny has joined the channel
[15:21] kazupon has joined the channel
[15:21] trotter has joined the channel
[15:21] jocafa has joined the channel
[15:24] shanebo: hey guys, is mime.lookup(file) a fast method? For caching should I store this type of info at start of server or is this a non issue at request?
[15:25] tjholowaychuk: look at the code :P
[15:25] tjholowaychuk: $ npm edit mime
[15:25] tjholowaychuk: var ext = path.replace(/.*[\.\/]/, '').toLowerCase();
[15:25] tjholowaychuk: return mime.types[ext] || fallback || mime.default_type;
[15:25] Clex: I still can't call my method :(
[15:25] Clex: http://fpaste.org/zehb/raw/
[15:26] takezawa has joined the channel
[15:26] shanebo: tjholowaychuk , I can always count on you to get a good laugh
[15:26] hebot has joined the channel
[15:27] daneroo has joined the channel
[15:27] wgo has joined the channel
[15:28] tim_ has joined the channel
[15:28] smtlaissezfaire has joined the channel
[15:29] chrislorenz has joined the channel
[15:30] olegp has joined the channel
[15:31] captain_morgan has joined the channel
[15:31] majek has joined the channel
[15:31] fairwinds: isaacs: hi. Can you advise whether there are check sums or any mechanism in npm or whether one can do to sign their code or at lease include a checksum before publishing to npm
[15:31] daleharvey has joined the channel
[15:31] tomh has joined the channel
[15:31] tiglionabbit has joined the channel
[15:31] fairwinds: s/ lease least
[15:32] tomlion has joined the channel
[15:33] Clex: tjholowaychuk: any idea?
[15:34] daneroo has joined the channel
[15:34] perezd has joined the channel
[15:35] TomY has joined the channel
[15:35] springmeyer has joined the channel
[15:35] meso_ has joined the channel
[15:36] dget has joined the channel
[15:38] adreams has joined the channel
[15:38] hebot has joined the channel
[15:39] sdwrage has joined the channel
[15:40] catshirt has joined the channel
[15:40] PeteDaGuru has joined the channel
[15:41] simenbrekken has joined the channel
[15:42] luke` has joined the channel
[15:43] RexM has joined the channel
[15:43] rektide: hmm probably too early to start asking q like this
[15:43] rektide: ....
[15:43] hswolff has joined the channel
[15:43] rektide: the new, uh, what's the startup option called, grid? cluster?
[15:43] wankdanker: cluster
[15:44] rektide: what makes that superior to launching n instances of node?
[15:44] rektide: less thread pools for async io, I would expect, anything else?
[15:44] tjholowaychuk: accept() kinda acts as a load balancer for you
[15:44] deedubs: it has a master process which can detect the death of the child processes and respond accordingly
[15:44] tjholowaychuk: so you can run on 80 if you want without nginx etc
[15:45] gxdssoft has joined the channel
[15:45] elliottc1ble has joined the channel
[15:45] al_ol has joined the channel
[15:45] rektide: tjholowaychuk: that's a great point
[15:46] AvianFlu has joined the channel
[15:46] trose: brianc1, I'm using your postgres library. Is it possible to reference the client inside of the client.query callback? ie. I want to run a select command that returns a primary key then do an insert with that primary key. the value of that is only accessible inside the callback so i want to just call client.query again but I'm getting "Error: connection pointer is NULL"
[15:47] trose: brianc1, do i need to open a new connection inside of the first client.query callback?
[15:47] rektide: the traditional means of sharing a port was to fork and use the same fd,
[15:47] EhevuTov has joined the channel
[15:47] rektide: tjholowaychuk: is it possible to share a port with forked instances/not using cluster?
[15:47] tjholowaychuk: rektide that's what it does, but it's in core now because of windows support
[15:48] rektide: deedubs: where can i read about the master process, and how to respond to child death?
[15:48] rektide: tjholowaychuk: i see.
[15:48] deedubs: tjholowaychuk: What was the final API decided for the master process? is that still in flux?
[15:48] tjholowaychuk: still changing
[15:48] rektide: there are no options to cluster to, i dunno, 8 out of my 48 cores, or stuff like that?
[15:48] hebot has joined the channel
[15:49] tjholowaychuk: rektide it keeps changing
[15:49] tjholowaychuk: that will be there no worries
[15:49] rektide: tjholowaychuk: ok, no sweat
[15:49] deedubs: rektide: https://github.com/joyent/node/pull/1879
[15:49] hugodias has joined the channel
[15:50] alvaro_o has joined the channel
[15:50] cognominal_ has joined the channel
[15:51] deedubs: tjholowaychuk: so the new NEW cluster is more like the old cluster now?
[15:51] tjholowaychuk: it's heading that way but more minimal
[15:51] tjholowaychuk: it kinda has to be that way
[15:51] chris--- has joined the channel
[15:51] tjholowaychuk: otherwise it wont be useful haha
[15:51] n8ji has joined the channel
[15:51] _dc has joined the channel
[15:51] chris---: hello everyone
[15:51] tjholowaychuk: but it obviously wont have plugins like cluster does
[15:51] tjholowaychuk: too fancy for core
[15:51] deedubs: yeah but those can be tacked on no?
[15:52] smathy has joined the channel
[15:52] fangel has joined the channel
[15:52] tjholowaychuk: kinda
[15:52] deedubs: *sigh*
[15:52] tjholowaychuk: but windows!
[15:52] tjholowaychuk: windows!!!
[15:52] tjholowaychuk: haha
[15:52] deedubs: YAY
[15:52] uchuff has joined the channel
[15:52] Frippe_ has joined the channel
[15:52] BillyBreen has joined the channel
[15:53] rektide: tjholowaychuk: does the thread pool for async io get shared or does each child need it's own pool?
[15:53] rektide: or whomever
[15:53] brianc1: trose: I'm here now
[15:54] rektide: i'm trying to think of advantages for multi-core node
[15:54] brianc1: trose: no, you don't need to. are you using the native bindings or the pure javascript?
[15:54] trose: brianc1, http://paste2.org/p/1741911
[15:54] trose: native bindings
[15:55] trose: I have no problems when I'm running evaluate scripts on small files. It's throwing this error when i have a script that takes 2min + to work
[15:55] trose: is there some sort of timeout on callbacks?
[15:56] brianc1: trose: that's most likely a bug, though strange it hasn't been seen before. Please submit OS, node version, postgres version, node-postgres version, and smallets amount of code you can use to reliably reproduce the issue on github and I'll have it figured out within 48 hours
[15:56] blup: ive used async before for parallel processes. however, i was wondering if there's a way to limit the ammount of concurrent processes? (so my machine can survive the day)
[15:56] trose: brianc1, sick I'll write that up right away
[15:57] brianc1: trose: also, try using the non-native bindings
[15:57] trose: kk
[15:58] fzzzy has joined the channel
[15:59] hebot has joined the channel
[16:00] trose: brianc1, yeah it throws a similar error with non-native bindings
[16:00] trose: brianc1, i'll write up a piece of code that triggers this and post it all to your github
[16:00] te-brian has joined the channel
[16:01] brianc1: trose: okay cool just include that info in the github issue. I will use your failing code to make a failing test-case and then fix it TDD style
[16:01] brianc1: bug-driven-development
[16:01] trose: brianc1, hellz yeah
[16:02] isaacs: tjholowaychuk: why don't you just use path.extname?
[16:02] tjholowaychuk: that's not my lib
[16:02] isaacs: > require("path").extname("foo.bar")
[16:02] isaacs: '.bar'
[16:03] isaacs: oh, ok
[16:03] rklancer_ has joined the channel
[16:03] isaacs: i guess extname is doing roughly the same thing
[16:04] AphelionZ has joined the channel
[16:04] baudehlo: isaacs: I had a thought - you're probably ideally placed to keep stats on platform users of node, at least from an npm installation point of view... Do you gather those stats at all?
[16:04] baudehlo: like windows/linux/sun/mac etc
[16:05] baudehlo: be interesting to graph over time.
[16:05] baudehlo: see just how many windows users 0.6 brings in.
[16:05] Venom_X has joined the channel
[16:06] deedubs: +1 for that idea!
[16:07] trose: brianc1, real quick in case I have an error http://jsfiddle.net/c2ZpF/ could i be causing a problem by having a query inside of a callback inside of a callback? Maybe the outer callback is closing or something?
[16:07] baudehlo: most http clients send OS info anyway, so it wouldn't be too much of an intrusion.
[16:07] ryanfitz has joined the channel
[16:07] broofa has joined the channel
[16:09] msilverman2 has joined the channel
[16:09] vipaca has joined the channel
[16:09] vipaca has joined the channel
[16:10] hebot has joined the channel
[16:10] michaeldeol has joined the channel
[16:10] halfhalo has joined the channel
[16:11] lightcap has joined the channel
[16:11] msilverman2: Hey tjholowaychuk, I am having trouble getting the tests for cluster to run under node 0.5.10. We are prepping for 0.6... Have you seen this?
[16:11] halfhalo has joined the channel
[16:11] tjholowaychuk: msilverman2 because it doesnt work with 0.5.x
[16:11] galaxywatcher_ has joined the channel
[16:12] msilverman2: tjholowaychuk heh. good reason.
[16:14] bosphorus has joined the channel
[16:14] brianc1: trose: style tip, try this: `if(err) return console.log(err);` it will remove some nesting
[16:15] Xano has joined the channel
[16:15] brianc1: trose: I don't see anything glaringly wrong with your example, best to submit an issue with most simplistic reproducible case & I'll be able to dive into it more when I'm not working. <3
[16:16] colinclark has joined the channel
[16:18] vvo has joined the channel
[16:18] daneroo has joined the channel
[16:19] Srirangan has joined the channel
[16:20] hebot has joined the channel
[16:20] maletor has joined the channel
[16:21] chrislorenz has joined the channel
[16:22] dherman has joined the channel
[16:22] towski has joined the channel
[16:23] brianc1: trose: I'm just happy it fails in both native and javascript so it's not a weird garbage collection issue with the native bindings. :p
[16:24] jsurfer has joined the channel
[16:25] kenperkins has joined the channel
[16:26] k1ttty has joined the channel
[16:27] emattias has joined the channel
[16:27] [[zz]] has joined the channel
[16:27] EvRide has joined the channel
[16:28] Sembiance: ooo, new chrome based JavaScript code coverage extension from google: http://google-opensource.blogspot.com/2011/10/scriptcover-javascript-coverage.html
[16:28] Sembiance: I wonder how hard it would be to get something working on top of node.js/v8
[16:29] meso_ has joined the channel
[16:29] p1d has joined the channel
[16:29] pizthewiz has joined the channel
[16:30] hebot has joined the channel
[16:30] rklancer_: npm question from a newbie. If I'm just using node for it'
[16:30] stepheneb has joined the channel
[16:30] context: what
[16:30] rklancer_: whoops
[16:31] StanlySoManly has joined the channel
[16:32] rklancer_: If I'm just using node for its module handling -- I and my colleagues want to make a pure-JS library (albeit written in Coffeescript) -- that we could repackage in a node.js environment or send to a browser for client-side execution -- and I want my colleagues to get coffeescript, cake, and other dependencies set up by 'git clone' followed by 'npm install'...
[16:33] rklancer_: is there a standard way to populate the bin/ folder with things like the `coffee` executable ... like I would using rvm & Bundler ("run bundle install, then you can run 'bin/whatever' to do X)
[16:34] rklancer_: I've figured out that I can make symlinks to ./node_modules/.bin/coffee, but I didn't know if npm handles this use case explicitly
[16:34] lightcap has joined the channel
[16:35] martin_sunset: rklancer_: not sure what you want to achieve, why do you need a coffee bin?
[16:35] rklancer_: in particular, I'd like to be able to .gitignore and blow away the 'bin' folder in the root of the repo
[16:35] wadey has joined the channel
[16:35] fmeyer has joined the channel
[16:36] rklancer_: so they can do 'coffee --watch src --output lib' while developing, for example
[16:36] simenbrekken has joined the channel
[16:36] dshaw_ has joined the channel
[16:36] rklancer_: or 'bin/coffee' in this case
[16:36] rklancer_: we find it's a useful pattern to have one or two-command setup of a development environment
[16:37] martin_sunset: Add coffeescript as a dev dependency. I'll MSG you a sample it hub project link
[16:37] rklancer_: thx
[16:38] context: rklancer_: you still need npm and node and coffee installed first.
[16:38] context: then you dont need bin/coffee
[16:38] isaiah_ has joined the channel
[16:38] jarek has joined the channel
[16:38] context: so make a bin/env-setup.sh that runs any commands needed to install the base environment itself if you want to start from square one
[16:39] martin_sunset: rklancer_: Link is on the way.
[16:40] heavysixer has joined the channel
[16:40] __tosh has joined the channel
[16:41] rklancer_: context: Thanks, that sounds workable. And I could 'virtualize' the environment by having everything they need in node_modules/ and node_modules/.bin/
[16:41] hebot has joined the channel
[16:41] context: you're going to install node there too ? seems scary
[16:42] context: then you need to mess with PATH and crap
[16:42] context: rklancer_: you could look at doing something liek Vagrant for all your environments
[16:42] rklancer_: context: for Rails projects we use chef & vagrant
[16:42] dmose has joined the channel
[16:43] perezd has joined the channel
[16:43] context: dont see a reason you couldn't use it for node
[16:43] saesh has joined the channel
[16:43] context: ive never touched vagrant (yet) but it seems pretty flexible
[16:44] rklancer_: Mmm. In this case it's a little heavyweight and for other projects we find the lighter-weight approach like "git clone ; cd folder; echo '...' > .rvmrc; cd .; bundle install --binstubs" is a well-rehearsed setup routine
[16:47] Qbix2 has joined the channel
[16:47] Qbix2: hey guys
[16:47] Qbix2: what do I use instead of fugue?
[16:47] Qbix2: express?
[16:47] Qbix2: how do I launch node on several processors these days?
[16:47] tjholowaychuk: express is not a thing like fugue lol
[16:47] tjholowaychuk: totally different things
[16:47] Qbix2: yes I know but
[16:48] Qbix2: I thought express had a module for load balancing
[16:48] tjholowaychuk: no
[16:48] Qbix2: but I looked at the code and I couldn't find it, actually :P
[16:48] tjholowaychuk: you can use anything you want
[16:48] Qbix2: so what do you use?
[16:48] tjholowaychuk: with express
[16:48] tjholowaychuk: cluster
[16:48] Qbix2: I think the new node has --rebalance?
[16:48] Qbix2: or something like that?
[16:48] Qbix2: express cluster?
[16:48] tjholowaychuk: no
[16:48] tjholowaychuk: just
[16:48] tjholowaychuk: cluster
[16:48] Qbix2: basically what do people use? what is best practice?
[16:48] tjholowaychuk: lol
[16:48] rklancer_: (context: thanks for the discussion!)
[16:48] tjholowaychuk: http://learnboost.github.com/cluster/
[16:48] booo has joined the channel
[16:49] trose: brianc1, oop I'm back. Okay I'll write up the bug report after my lunch break ^_^
[16:49] `3rdEden has joined the channel
[16:49] colinclark has joined the channel
[16:50] enmand: Is there something similar to npm for private repositories, or does npm support private repositories?
[16:52] Wizek has joined the channel
[16:52] aguynamedben has joined the channel
[16:53] brianc1: enmand: you can run your own private npm repository
[16:53] ank has joined the channel
[16:54] TooTallNate has joined the channel
[16:54] daneroo has joined the channel
[16:54] kenperkins: o/
[16:54] ekryski has joined the channel
[16:54] martinciu has joined the channel
[16:55] brianc1: Qbix2: cluster -> express is a popular (and imo solid) choice. best practice = whatever works best at your practice
[16:55] kenperkins: should I be running cluster while on cheap vms?
[16:56] monokrome has left the channel
[16:56] brianc1: kenperkins: if you have a single core it's not mandatory but it does provide other helpful goodies such as worker restarting and hot-code reloading
[16:56] kenperkins: it's rackspace vms, so every vm has 4 cores
[16:56] enmand: brianc1, with npm 1.0.101?
[16:57] vguerra has joined the channel
[16:58] tjholowaychuk: kenperkins i would at least run a few workers for availablility
[16:58] brianc1: enmand: https://github.com/isaacs/npm/blob/master/doc/cli/registry.md
[16:58] tjholowaychuk: guess it does depend on resources though
[16:58] kbedell has joined the channel
[16:59] kenperkins: can you define what you mean by availability? meaning if one node dies other are there?
[16:59] tjholowaychuk: yeah
[16:59] hebot has joined the channel
[16:59] tjholowaychuk: i think we run 4 right now
[16:59] kenperkins: i see
[17:00] kenperkins: and they all listen on the same port?
[17:00] tjholowaychuk: yup
[17:00] kenperkins: interesting
[17:01] ceej has joined the channel
[17:01] briancray has joined the channel
[17:01] galaxywatcher has joined the channel
[17:01] towski has joined the channel
[17:01] kenperkins: the thing I'd be most interested in is auto-restart of processes when js files, what is that feature called
[17:02] kenperkins: (change)
[17:02] shipit has joined the channel
[17:03] mcluskydodallas has joined the channel
[17:04] brianc1: kenperkins: http://learnboost.github.com/cluster/
[17:04] brianc1: http://learnboost.github.com/cluster/docs/reload.html
[17:04] kenperkins: perfect ty
[17:04] kenperkins: (the latter)
[17:05] booo: brianc1, time for issue 60 of node-postgres? i can't really reproduce the problem but i get a error message "Connection error." when i provide a wrong password
[17:05] longtheta has joined the channel
[17:05] brianc1: booo: what's up!
[17:05] Isaiah has joined the channel
[17:06] brianc1: when you put in an invalid password it does a printf?
[17:06] booo: brianc1, problems with arrays :)
[17:06] gsmcwhirter has joined the channel
[17:06] booo: brianc1, yes but i can't really reproduce this with a real test
[17:06] booo: it only breaks in my big application. have to find the "real" problem
[17:07] brianc1: booo: the printf says "Connection error."?
[17:07] ambroff has joined the channel
[17:07] booo: yes
[17:07] booo: and if i correct the password everything is fine
[17:07] booo: maybe the npm version is bad?
[17:07] mailtruck has joined the channel
[17:07] booo: nope...
[17:08] brianc1: https://github.com/brianc/node-postgres/blob/master/src/binding.cc#L348
[17:08] ph^ has joined the channel
[17:08] brianc1: looks like maybe postgres server is killing the socket
[17:08] brianc1: should be pretty easy to emit an event there instead of the printf
[17:09] dshaw_ has joined the channel
[17:09] gxdssoft_ has joined the channel
[17:09] fmeyer has joined the channel
[17:09] hebot has joined the channel
[17:09] booo: brianc1, would be cool
[17:09] brianc1: i used the printf because I was never able to get that event to happen when developing
[17:11] brianc1: if you could get a test case, that would be cool. I'd like to see if I can get that error to come out of the client#connect callback and not at a 'random' time off of the client.emit('error')
[17:12] jhurliman has joined the channel
[17:12] brianc1: what I said probably didn't make sense...anyways...I'll look at it, thanks for the info
[17:12] daneroo has joined the channel
[17:14] jtsnow has joined the channel
[17:15] nilakanta has joined the channel
[17:15] jarek- has joined the channel
[17:15] vguerra has joined the channel
[17:15] pointlessjon has joined the channel
[17:15] sleepnova has joined the channel
[17:16] blup has joined the channel
[17:17] booo: brianc1, thx. i try to provide a bit more information but first i have to find the problem :)
[17:17] longtheta: anyone from Yelp here?
[17:17] hij1nx has joined the channel
[17:17] booo: have you ever thought about adding array support into the native code?
[17:18] booo: brianc1, maybe one could use this lib http://libpqtypes.esilo.com/
[17:19] JaKWaC has joined the channel
[17:19] dgathright has joined the channel
[17:19] _briancray has joined the channel
[17:19] enmand: brianc1, great, thanks, I'll give it a look over
[17:19] SargoDarya: Hey guys, one question. Is it somehow possible to define a variable in file a, require file b and use it there?
[17:19] ambroff has joined the channel
[17:20] jarek has joined the channel
[17:20] _briancray has joined the channel
[17:21] k1ttty has joined the channel
[17:21] briancra_ has joined the channel
[17:21] tomlion has joined the channel
[17:21] pointlessjon has left the channel
[17:21] brianc1: booo: I haven't even really added array support to the javascript code
[17:21] longtheta has left the channel
[17:21] hebot has joined the channel
[17:22] booo: brianc1, i know but maybe it's easier in c++ ;)
[17:22] booo: don't know
[17:22] briancray has joined the channel
[17:22] brianc1: booo: I'd like to have it supported but I don't fully comprehend the use case
[17:23] brianc1: booo: both the javascript & c have ability to request binary results instead of text results, then it's just a matter of parsing the biary
[17:23] trose: brianc1, I've never been sad to not have errors before
[17:23] trose: trying to recreate this bug
[17:23] Twelve-60 has joined the channel
[17:23] brianc1: booo: it's kinda on the "things I would like to implement in the future once I become independently wealthy" list
[17:23] trose: maybe the child process stuff is key
[17:24] lightcap has joined the channel
[17:24] brianc1: booo: what I'm more interested in is supporting SSL connections to postgres. I think that's the next main "feature" I want to add.
[17:26] mattrobenolt has joined the channel
[17:26] mattrobenolt: Anyone have experience with the Redis store in socket.io?
[17:26] saesh_ has joined the channel
[17:27] booo: brianc1, as soon as you have arrays in you postgres database there is a use case and our application makes use of arrays and there are other schema with arrays out there i guess. however... i would like to implement this and we somehow started with the fork from alexander but there were some problems bringing the code upstream
[17:27] booo: do you think it is still possible to integrate this fork?
[17:27] coderdad has joined the channel
[17:27] trotter has joined the channel
[17:27] booo: if so we would start work again and try to bring this upstream
[17:28] N0va` has joined the channel
[17:28] whitman has joined the channel
[17:29] booo: if you don't see any option to bring the javascript code upstream i would like to start work on the binding (binary protocol)
[17:30] isaacs has joined the channel
[17:30] shykes_ has joined the channel
[17:31] brianc1: booo: as far as alexander's fork it didn't ever merge cleanly and had no tests of any kind to cover the code...I love contributions and don't want to be the only maintainer but I'm not gonna go for code without tests
[17:31] mkkl has joined the channel
[17:31] brianc1: booo: if you want to work on array support that would be beautiful
[17:31] hebot has joined the channel
[17:31] gregpascale has joined the channel
[17:33] topaxi has joined the channel
[17:33] booo: brianc1, as far as I know the tests are more or less complete now. maybe we try to merge it with the upstream code and see which tests are missing.
[17:33] jsurfer has joined the channel
[17:33] captain_morgan has joined the channel
[17:33] brianc1: booo: cool if you know alexander and you guys wanna work on getting it to merge & so on that would be rad
[17:33] eldios has joined the channel
[17:34] booo: brianc1, ok. cool
[17:34] booo: mkkl, lets go ;)
[17:35] perezd: does node start the request timeout timer before the request is issued? or after
[17:36] anoop has joined the channel
[17:36] amiller has joined the channel
[17:38] daneroo has joined the channel
[17:38] ayaz` has joined the channel
[17:38] trose: brianc1, SUCCESS! it's a problem when you have processes
[17:38] brianc1: trose: sweet
[17:39] eddyb has joined the channel
[17:39] eddyb: omg
[17:39] eddyb: + Improved let, const, Set and Map support and other Harmony features
[17:39] eddyb: + (behind the --harmony flag).
[17:39] eddyb: YES
[17:39] airhorns has joined the channel
[17:39] ayaz has joined the channel
[17:40] agnat_ has joined the channel
[17:40] trose: brianc1, I'm out for lunch i'll post stuff later
[17:41] defunctzombie has joined the channel
[17:42] martin_sunset has joined the channel
[17:43] lightcap has joined the channel
[17:43] defunctzombie: anyone know how to battle the https.request "memory leak" issue in node?
[17:44] perezd: ryah: yt?
[17:44] svnlto has joined the channel
[17:44] patcito has joined the channel
[17:45] daaku has joined the channel
[17:45] Mokona has joined the channel
[17:45] coderdad has joined the channel
[17:45] Carter has joined the channel
[17:46] scott_gonzalez has joined the channel
[17:46] hebot has joined the channel
[17:47] chrislorenz has joined the channel
[17:48] shipit has joined the channel
[17:48] Renegade001 has joined the channel
[17:50] isaacs: hells yeah: https://gist.github.com/1320267
[17:50] cgfuh has joined the channel
[17:50] fly-away has joined the channel
[17:50] jaequery has joined the channel
[17:51] davidsklar has joined the channel
[17:51] ecin has joined the channel
[17:52] context: dont get it
[17:53] saschagehlich has joined the channel
[17:55] CoverSlide: holy fuck
[17:56] hipsterslapfight has joined the channel
[17:56] CoverSlide: only reads, doesn't write?
[17:56] kbedell has joined the channel
[17:56] CoverSlide: isaacs: is it fast?
[17:56] isaacs: CoverSlide: doesn't write yet, but will.
[17:57] isaacs: also, doesn't actually extract out to the fs yet.
[17:57] halfhalo: nice
[17:57] CarterL has joined the channel
[17:57] JSManiacs has joined the channel
[17:57] isaacs: just tells you what's inside, but it does so correctly, afaict.
[17:57] sh1mmer has joined the channel
[17:57] jarek- has joined the channel
[17:57] maushu: Why were implemented the DiffieHellman functions?
[17:57] fermion has joined the channel
[17:57] CoverSlide: that's awesome, so windows compatibility nearly there?
[17:58] Fuu has joined the channel
[17:58] matyr has joined the channel
[17:58] CoverSlide: (for npm)
[17:58] boltR has joined the channel
[17:58] isaacs: CoverSlide: we've got windows sorta-compatibility now.
[17:58] baudehlo: is it using libarchive?
[17:58] isaacs: but it'll be much better.
[17:58] isaacs: baudehlo: no, it's using http://github.com/isaacs/node-tar
[17:59] CoverSlide: well i mean pure js compatibility
[17:59] isaacs: rightright
[17:59] baudehlo: ah so it's pure JS?
[17:59] smtlaissezfaire has joined the channel
[17:59] isaacs: the single most common npm issue is "my system tar is broken and doesn't work"
[17:59] anoop has joined the channel
[18:00] isaacs: including windows, but s/my system tar/the bsdtar.exe you gave me/
[18:00] hebot has joined the channel
[18:01] isaacs: also, this'll make it possible to make the tmp folder completely unnecessary, since i'll be able to create the tarball and cache folder copy in one step
[18:01] baudehlo: and using core node's gzipping capabilities?
[18:01] isaacs: baudehlo: yep.
[18:01] baudehlo: nice.
[18:01] isaacs: that's how i'll do -z :)
[18:02] isaacs: it won't be nearly as fast as schilly tar, or as complete of a tape archive utility.
[18:02] baudehlo: no, but as long as it does all you need, it's nice to have a pure JS implementatino.
[18:03] metellus has joined the channel
[18:03] ryan0x2 has joined the channel
[18:04] baudehlo: you could always have it try the binary version first.
[18:04] baudehlo: I do like how fast npm is compared to the CPAN shell. Though that's mostly to do with running tests I think.
[18:05] isaacs: baudehlo: the problem is that the binary version *doesn't* do all i need.
[18:05] konobi: baudehlo: you can enable testing by default with npm too though =0)
[18:05] isaacs: since i can't know which version of the binary tar you have.
[18:06] AvianFlu has joined the channel
[18:06] isaacs: konobi: i think if i turned on tests by default in npm, express users would riot
[18:06] isaacs: konobi: we've got a lot of work to get there first.
[18:06] eddyb: some keep this in mind: the gyp version doesn't care about shared_v8
[18:06] eddyb: *someone
[18:06] isaacs: once tests pass more of the time, we can make npat default
[18:06] baudehlo: isaacs: yes but there are checks you can do to see if does do what you need, and cache the results of the checks.
[18:06] tjholowaychuk: yeahhhh
[18:07] tjholowaychuk: i dont like that idea
[18:07] pickels has joined the channel
[18:07] isaacs: tjholowaychuk: :D
[18:07] baudehlo: how do you get npm to run tests (and what goes in package.json?)
[18:07] tjholowaychuk: that would be very very slow
[18:07] tjholowaychuk: nice sanity check
[18:07] tjholowaychuk: but still
[18:07] CoverSlide: wow
[18:07] CoverSlide: must be a cpan user
[18:07] isaacs: baudehlo: npm config set npat true; then add a "scripts": { "test": "./do stuff" }
[18:07] baudehlo: cool
[18:07] baudehlo: and does it check the exit status == 0?
[18:07] fzzzy has joined the channel
[18:07] isaacs: baudehlo: yeah
[18:08] isaacs: if npat=true, then a failed test will be a failed install
[18:08] baudehlo: and can you set dependencies just for if tests are running?
[18:10] ambroff has joined the channel
[18:10] martinciu has joined the channel
[18:11] vipaca has joined the channel
[18:11] MatthewS has joined the channel
[18:12] ralph has joined the channel
[18:12] Marak has joined the channel
[18:12] Marak_ has joined the channel
[18:12] ryanseddon has joined the channel
[18:13] Marak_: ryah: did you see http://ohh.io/ANSIdom ?
[18:14] kbedell has left the channel
[18:14] romainhuet has joined the channel
[18:14] hebot has joined the channel
[18:14] tjholowaychuk: Marak_ should make an ascii mario game or something
[18:14] sveisvei has joined the channel
[18:14] beawesomeinstead has joined the channel
[18:14] Marak_: tjholowaychuk: im gonna do a mmo
[18:14] tjholowaychuk: nice :D
[18:15] Marak_: tjholowaychuk: the next step is making the telnet server work on the same port
[18:15] JKarsrud has joined the channel
[18:15] Marak_: and proxy the tcp connection
[18:15] Marak_: shouldnt be very hard
[18:15] k1ttty has joined the channel
[18:15] Marak_: telnet ohh.io:80
[18:15] sriley has joined the channel
[18:15] tjholowaychuk: after seeing that thing
[18:15] tjholowaychuk: it makes me want ascii-canvas
[18:15] Marak_: tjholowaychuk: i think you can use C binding for this already...
[18:16] dreamdust has joined the channel
[18:16] tjholowaychuk: yeah?
[18:16] Marak_: tjholowaychuk: if you were smart, maybe rip out something from http://elinks.cz/about.html
[18:16] Marak_: i just have no patience for that sort of thing
[18:16] Kai` has joined the channel
[18:16] Marak_: i wrote ANSIdom is ~6 hours
[18:16] kriszyp has joined the channel
[18:16] Marak_: it seems that HTML => ANSI has been solved before though
[18:16] pwk0 has joined the channel
[18:17] owenb has joined the channel
[18:17] tjholowaychuk: not something i've looked for but it's an interesting idea
[18:17] mike5w3c has joined the channel
[18:17] jocafa: Marak_: make my node-term-ui lib better :D
[18:17] jocafa: hehe
[18:17] Marak_: jocafa: link?
[18:18] jocafa: https://github.com/jocafa/node-term-ui
[18:18] jocafa: current version is not published on npm at the moment
[18:18] stravid has joined the channel
[18:18] footyfish has joined the channel
[18:18] jocafa: my npm installation is borked and i haven't had time to fix it
[18:18] tjholowaychuk: http://cuteoverload.files.wordpress.com/2011/10/5825225285_18bb6a6c5d_z.jpg?w=560&h=370
[18:18] tjholowaychuk: bask in the glory
[18:18] tjholowaychuk: of ipug
[18:18] jocafa: i ♥ cuteoverload
[18:20] jocafa: time for luncheoning.
[18:20] chunhao_ has joined the channel
[18:21] Marak_: jocafa: thats pretty sweet
[18:21] Marak_: jocafa: shouldnt the drawing lib be separate from the UI lib though?
[18:22] tanepiper has joined the channel
[18:23] Squee-D has joined the channel
[18:24] nym has joined the channel
[18:24] tiglionabbit has joined the channel
[18:25] RexM has joined the channel
[18:25] niftylettuce has joined the channel
[18:26] ciro_nunes has joined the channel
[18:26] FelipeMorais has joined the channel
[18:26] hebot has joined the channel
[18:26] Squee-D has left the channel
[18:28] atmos has joined the channel
[18:28] mikeric has joined the channel
[18:29] daneroo has joined the channel
[18:30] blissdev has joined the channel
[18:31] olegp has joined the channel
[18:31] dreamdust has left the channel
[18:31] hugodias has joined the channel
[18:32] ncb000gt has joined the channel
[18:33] knifed has joined the channel
[18:33] bradwright has joined the channel
[18:33] JasonSmith has joined the channel
[18:33] metadaddy has joined the channel
[18:33] daleharvey has joined the channel
[18:34] maushu_ has joined the channel
[18:36] cronopio has joined the channel
[18:37] alessioalex has joined the channel
[18:37] hebot has joined the channel
[18:37] alessioalex: ACTION hello there
[18:37] emattias has joined the channel
[18:39] daneroo has joined the channel
[18:39] sh1mmer: hi
[18:40] alessioalex: hey man :)
[18:40] alessioalex: btw, just re-saw your Node Multi Architecture video today
[18:41] dnyy has joined the channel
[18:41] ekryski: whoa sh1mmer what you doing on here :-P
[18:41] sh1mmer: cool
[18:41] dscape has joined the channel
[18:41] sh1mmer: hey ekryski not traveling for a while
[18:42] sh1mmer: fixing bugs instead
[18:42] EhevuTov_ has joined the channel
[18:42] ekryski: you code???
[18:42] sh1mmer: gtfo
[18:42] ekryski: ha ha. How were your travels?
[18:42] sh1mmer: fucked.
[18:42] gr-eg has joined the channel
[18:43] sh1mmer: 4 transatlantic flights, 4 coast to coast and 2 pan-pacific flights in a month
[18:43] ekryski: that sucks. I kinda saw through your twitter feed. Brutal.
[18:43] tjholowaychuk: yuck
[18:43] tjholowaychuk: i hate planes
[18:43] ekryski: me too
[18:43] sh1mmer: I'm so used to planes I get claustrophobic now
[18:43] sh1mmer: because it's utterly mundane to me
[18:43] sh1mmer: but I also know I can't get off for 10 hours
[18:44] ekryski: I always feel so dirty after. And I usually manage to get sick.
[18:44] sh1mmer: I have an immune system like a tank now. after doing it for a while
[18:45] CoverSli1e has joined the channel
[18:45] ekryski: ya I bet.
[18:45] jpdery-_ has joined the channel
[18:45] hij1nx has joined the channel
[18:45] brianc1 has joined the channel
[18:45] ekryski: tjholowaychuk: Did you guys write your own auth module or are you using a third-party one?
[18:45] tjholowaychuk: we wrote our own
[18:45] alessioalex: f yea :))
[18:45] ekryski: sh1mmer: you going to Japan too?
[18:46] ekryski: ya. The more I use other ones out there the more I hate them.
[18:46] CarterL has joined the channel
[18:46] ekryski: I think I've gone through 3 now
[18:46] mmalecki has joined the channel
[18:47] vipaca has joined the channel
[18:47] vipaca has joined the channel
[18:47] sh1mmer: ekryski: nah. Just Ry.
[18:47] sh1mmer: I'm going to get blasted for my 30th this weekend
[18:47] sh1mmer: Brian is coming down from Vancouver
[18:48] ekryski: LOL. Ya I heard about that! Sounds like fun. Wish I could come.
[18:48] hebot has joined the channel
[18:48] sh1mmer: yeah man
[18:48] sh1mmer: me too
[18:48] sh1mmer: It's annoying a few people are missing it by a day
[18:48] ekryski: Ya I'm sure Brian is on even more of a bender now that nitobi got picked up ;-)
[18:48] \toothrot has joined the channel
[18:48] ekryski: that's too bad.
[18:48] martin_sunset has joined the channel
[18:48] sh1mmer: well he and his mrs are looking for a place down here
[18:49] mmalecki: bnoordhuis: hey, any news on https://github.com/joyent/node/pull/1934 ?
[18:49] ekryski: Everyone's moving down there. I know two guys from here going to San Fran.
[18:50] sh1mmer: ekryski: it's rad down here man
[18:50] okCPU_ has joined the channel
[18:50] sh1mmer: although you don't get to live on a farm
[18:50] sh1mmer: :P
[18:50] bartt has joined the channel
[18:51] ekryski: ha ha. Ya true. I do work down though. Got a nice office right across from a new strip club. ha ha
[18:51] ekryski: *down town
[18:51] lmatteis has joined the channel
[18:51] ryanfitz has joined the channel
[18:51] ekryski: you should come visit.
[18:51] langworthy has joined the channel
[18:52] PeteDaGuru has joined the channel
[18:52] creatorbri has joined the channel
[18:53] creatorbri: Question about NPM and Less.js: How do I run compile scripts from the command line?
[18:53] creatorbri: In Ubuntu
[18:53] sh1mmer: ekryski: see above about planes :P
[18:53] sh1mmer: ekryski: next year
[18:53] isaacs: creatorbri: what do you mean by "compile scripts"?
[18:53] ekryski: sh1mmer: drive?
[18:53] creatorbri: er whoops, CSS stylesheets, lol
[18:54] sh1mmer: creatorbri: that sounds like a less.js thing rather than npm
[18:54] ekryski: sh1mmer: maybe I'll be down some time that way in the near future. We have an office in San Diego too.
[18:54] tomb has joined the channel
[18:54] EhevuTov has joined the channel
[18:54] isaacs: creatorbri: so, you want to install less and then use it from the command line? npm install -g less; less blah blah blah
[18:54] sh1mmer: creatorbri: from their website http://lesscss.org/#-client-side-usage
[18:54] sh1mmer: $ lessc styles.less > styles.css
[18:54] isaacs: or lessc
[18:55] isaacs: sure
[18:55] isaacs: whatever less calls it :)
[18:55] isaacs: $ npm view less bin
[18:55] isaacs: { lessc: './bin/lessc' }
[18:55] upgrayeddd has joined the channel
[18:55] creatorbri: I used "npm install less" as recommended, but lessc is not a command, except I see a file called lessc way down in the npm directory structure..
[18:55] isaacs: creatorbri: install it globally, or run it from a package.json "scripts" entry
[18:56] msilverman2 has joined the channel
[18:56] creatorbri: @isaacs: that sounds like good advice but I've bounced between 20+ different google leads and that doesnt sound familiar.. kindly elaborate? :)
[18:56] isaacs: creatorbri: npm faq
[18:56] isaacs: creatorbri: run that command, read what it says^
[18:56] upgrayeddd has left the channel
[18:56] martin_sunset: creatorbri: NPm install -g less
[18:57] isaacs: creatorbri: if you want to run a lessc command in your build process, you can do something like this in your package.json file: "scripts": { "install": "lessc ./stylesheets/*.css" }
[18:58] hebot has joined the channel
[18:58] isaacs: creatorbri: http://npmjs.org/doc/json.html#scripts
[18:58] Xano_ has joined the channel
[18:58] isaacs: http://npmjs.org/doc/scripts.html
[18:59] isaacs: creatorbri: http://npmjs.org/doc/folders.html
[18:59] creatorbri: @isaacs: Seems like the Global option was what I needed, fantastic -- thank you! the Less.js folks should really include that in their How-To :P
[18:59] isaacs: creatorbri: you should send them a patch :)
[18:59] relative has joined the channel
[19:00] aheckmann has joined the channel
[19:00] zmbmartin: I keep getting Mongo disconnected and Error connection closed errors with Mongolian. Anyone else seeing this problem?
[19:00] creatorbri: @isaacs: thanks for all the good advice, i'll have to study some of it to grok ;) but much appreciated!
[19:00] okCPU_: are bindings in Obj-c possible?
[19:00] zmbmartin: I am using mongolian for gridfs
[19:00] CoverSli1e: isn't less cloudhead's?
[19:00] IanCormac84 has joined the channel
[19:01] mmalecki: !npm info less
[19:01] sh1mmer: isaacs: it might be interesting to include a warning if you don't do a global install
[19:01] sh1mmer: and you install binaries not in your $PATH
[19:02] creatorbri: @sh1mmer: imho thats a great idea
[19:02] salazr_ has joined the channel
[19:02] Poetro_ has joined the channel
[19:02] Poetro_ has joined the channel
[19:02] sh1mmer: isaacs: this is an issue I've run into a bunch of times with node-inspector and other things while running tutorials
[19:02] tiglionabbit: does node actually do non-blocking disk io?
[19:02] tiglionabbit: and if so, how does node implement that?
[19:02] sh1mmer: tiglionabbit: yes
[19:02] CoverSli1e: i like to do `ln -s node_modules/.bin/ ./bin`
[19:03] isaacs: sh1mmer: there's already the "preferGlobal" field
[19:03] isaacs: sh1mmer: authors can do this.
[19:03] creatorbri: @mmalecki: Say, whats with the !npm trick? Where does that come from?
[19:03] tiglionabbit: sh1mmer: I have heard that there is no such thing as asynchronous disk io on unix, without the use of multiple threads/processes
[19:03] sh1mmer: ACTION google npm docs
[19:03] sechrist: node has a thread pool
[19:03] tiglionabbit: what, really?
[19:03] tiglionabbit: I thought node was single threaded
[19:03] sechrist: for blocking syscalls, if I recall correctly
[19:03] martin_sunset_ has joined the channel
[19:04] jstash: libeio
[19:04] jstash: (or libuv)
[19:04] CoverSli1e: the framework itself is single-threaded
[19:04] CoverSli1e: and javascript itself has no official thread support
[19:04] sh1mmer: tiglionabbit: we use lib-ev, so it polls
[19:04] sh1mmer: tiglionabbit: faked
[19:04] CoverSli1e: but threads are required for doing async disk i/o on *nux
[19:05] sh1mmer: tiglionabbit: the single thread is JavaScript programming model
[19:06] sh1mmer: tiglionabbit: as the programmer of a Node program you only have direct access to a single thread in the JavaScript environment
[19:06] sh1mmer: the APIs allow you to request work from the other threads which it returned into your single thread as callbacks
[19:06] tiglionabbit: what do you mean faked?
[19:06] creatorbri has left the channel
[19:06] sh1mmer: tiglionabbit: we poll. So it's not event driven
[19:06] tiglionabbit: ah
[19:06] sh1mmer: but it's exposed back to JavaScript as events
[19:06] tiglionabbit: but it doesn't block the server thread, and that's the important part
[19:06] optixx has joined the channel
[19:06] sh1mmer: correct
[19:06] CoverSli1e: correct
[19:07] tiglionabbit: that is super cool
[19:07] sh1mmer: yep
[19:07] colinclark has joined the channel
[19:07] tiglionabbit: I'm trying to convince my co-workers that node is viable for this project. They're trying to use gevent though, but python doesn't seem to have any way of doing asynchronous disk io
[19:07] baudehlo: it doesn't?
[19:08] tiglionabbit: well, unless you do multithreading :P
[19:08] tjholowaychuk: almost every language
[19:08] tjholowaychuk: has something similar to node
[19:08] tjholowaychuk: you just have all the baggage of legacy community stuff
[19:08] baudehlo: mind you the guy who wrote libev originally wrote it for perl.
[19:08] tiglionabbit: tornado and gevent are like node, but I don't know what's like asynchronous disk io for python
[19:09] hebot has joined the channel
[19:09] baudehlo: it's very OS dependent.
[19:09] EyePulp: so I'm using the dns module to lookup domains and where they're pointing - does that module simply use my own local DNS settings to go look? Is there a way I can make it go back to the authoritative server to verify the most current settings?
[19:09] baudehlo: EyePulp: what do you mean verify?
[19:09] baudehlo: as in get the list of roots?
[19:09] tomlion has joined the channel
[19:09] caolanm has joined the channel
[19:09] CoverSlide: <= 0.4.x i think relied on /etc/resolv.conf
[19:10] EyePulp: well, DNS changes take a while to propagate, so I want to check back at place managing the DNS
[19:10] baudehlo: it does yes.
[19:10] EyePulp: does that make sense? =)
[19:10] baudehlo: well, cares reads resolv.conf
[19:10] baudehlo: no, you just have to wait. :)
[19:10] EyePulp: we're making a bunch of changes, and I don't want to duplicate the effort if we have to start and stop the batch.
[19:11] baudehlo: so set the TTL really low before you start.
[19:11] gwoo has joined the channel
[19:11] jacobrask has joined the channel
[19:11] baudehlo: set it to 5 seconds if you want.
[19:11] jbpros has joined the channel
[19:11] baudehlo: then when everything works, set it high again
[19:13] muspelhe has joined the channel
[19:13] cronopio: EyePulp: I lost my time too with this behaivor. I notice my localhost are note resolved https://github.com/hookio/hook.io/issues/79 :P
[19:13] daneroo has joined the channel
[19:13] Hosh has joined the channel
[19:15] neilk_ has joined the channel
[19:15] fmeyer has joined the channel
[19:15] daneroo has joined the channel
[19:16] dget has joined the channel
[19:16] matti has joined the channel
[19:16] gsmcwhirter has joined the channel
[19:17] Sorella has joined the channel
[19:18] jacobolus has joined the channel
[19:19] tomb has joined the channel
[19:20] hebot has joined the channel
[19:20] jocafa: back
[19:20] jaminja has joined the channel
[19:20] jaminja has joined the channel
[19:21] Danny_Joris has joined the channel
[19:23] neilk_ has joined the channel
[19:24] CoverSlide: front
[19:24] arcanis has joined the channel
[19:25] mmalecki: cronopio: what's your node version?
[19:25] jerrysv has joined the channel
[19:25] mmalecki: cronopio: if it's node 0.5.10, then localhost lookup is fucked
[19:25] altamic has joined the channel
[19:26] CoverSlide: really? it doesn't look at the hosts file?
[19:26] baudehlo: No. It does dns, not gethostbyname(). It's libc that looks in the hosts file.
[19:27] tomh has joined the channel
[19:28] cronopio: mmalecki: well, i think maybe was the 0.5.x Change my DNS provider solve the problem :(
[19:28] MrWarGames has joined the channel
[19:28] cronopio: mmalecki: thanks, good to know that
[19:29] mmalecki: baudehlo: not really
[19:29] mmalecki: baudehlo: it's using ares to make asynchronous resolution
[19:29] jocafa: isaacs: what's the best way to blow away npm and start over on my machine?
[19:30] mmalecki: CoverSlide: ya rly
[19:30] okCPU_: node_redis or redis_client
[19:30] mikeal has joined the channel
[19:30] baudehlo: mmalecki: yes, and? ares does dns.
[19:30] CoverSlide: node_redis
[19:30] okCPU_: thx
[19:30] hebot has joined the channel
[19:30] daneroo has joined the channel
[19:31] jocafa: nm
[19:31] baudehlo: actually I take it slightly back, it depends what ares API node uses.
[19:32] DennisRas has joined the channel
[19:32] baudehlo: if it calls ares_gethostbyname() then it will look in the hosts file.
[19:32] fatjonny has joined the channel
[19:32] cronopio: jocafa: you need reinstall npm?
[19:32] mmalecki: baudehlo: yeah, what I mean is that it uses some ares function, not libc one directly
[19:33] mkrecny has joined the channel
[19:33] LifterAH has joined the channel
[19:33] trose: brianc1, https://github.com/brianc/node-postgres/issues/61 ;)
[19:33] trose: enjoy
[19:33] markwubben has joined the channel
[19:33] mkrecny: possible to ref a dependency in package.json that's not in npm registry - just by git url ?
[19:34] mmalecki: mkrecny: yeah
[19:34] mmalecki: mkrecny: just "package": "git://repo.whatevs/"
[19:37] justmoon has joined the channel
[19:37] kkszysiu_ has joined the channel
[19:38] Hounth has joined the channel
[19:38] dreamdu5t has joined the channel
[19:39] shipit has joined the channel
[19:39] Vennril has joined the channel
[19:40] mkrecny: mmalecki the git read only url isn't working for me i get No such file or directory
[19:40] hebot has joined the channel
[19:40] boltR has joined the channel
[19:40] AphelionZ has joined the channel
[19:41] khrome_ has joined the channel
[19:41] mmalecki: mkrecny: weird, that doesn't seem to be npm issue
[19:41] cgfuh has joined the channel
[19:41] mmalecki: mkrecny: show me your package.json
[19:41] mmalecki: cover the url if it's private
[19:44] luke`_ has joined the channel
[19:46] daneroo has joined the channel
[19:47] TheJH has joined the channel
[19:47] Danny_Joris has left the channel
[19:49] samBiotic has joined the channel
[19:49] efbenson has joined the channel
[19:51] aguynamedben has joined the channel
[19:53] efbenson: I am befuddled, when I start a client side jquery gallery plugin, it crashes my node server, on a page that is already rendered. WTF, did I screw up.....
[19:53] atourino has joined the channel
[19:53] zeade has joined the channel
[19:54] wankdanker: efbenson: i would start by console.log(request.url) somewhere early in your node stack
[19:54] dubenstein has joined the channel
[19:55] hij1nx has joined the channel
[19:55] mkkl has joined the channel
[19:55] atourino: anyone know why I would get 403 forbidden message if my directories and files are world readable?
[19:55] efbenson: Hmm, i guess the plugin is rerequesting the page or something, I guess that might make sense, no session and the jade rendering crashes on no objects....
[19:56] efbenson: That makes no sense but that has to be it i guess, wankdanker thanks for the suggestion
[19:56] sh1mmer has joined the channel
[19:56] hebot has joined the channel
[19:56] wankdanker: efbenson: np, good luck.
[19:57] spcshpopr8r has joined the channel
[19:58] brianc1: trose: baller. thanks.
[19:59] trose: brianc1, no prob
[20:00] efbenson: wow that is it.... the jquery plugin on init requests the current page without params, odd time to look into the plugin docs.
[20:02] yobi has joined the channel
[20:02] trose: anyone have experience with node_xslt? npm won't install it for me. Alternatively, is there a better xslt library available?
[20:04] brianc1: trose: you need to use pauseDrain() & resumeDrain() on the client before and after the child process activity respectively. https://github.com/brianc/node-postgres/wiki/Client
[20:05] brianc1: trose: nevermind, I'll respond in the github issue
[20:05] trose: brianc1, okay
[20:05] dubenstein has joined the channel
[20:05] indutny has joined the channel
[20:06] ciro_nunes has joined the channel
[20:06] jmls: node.js is too fast ...
[20:06] jmls: :(
[20:06] hebot has joined the channel
[20:07] TheJH: jmls, try fibers, I think they have a sleep function or so
[20:07] brianc1: jmls: http://www.youtube.com/watch?v=39YUXIKrOFk
[20:07] EyePulp: async is a nice module
[20:07] jmls: I have the following
[20:07] jmls: fs.writeFile('/tmp/jls.txt', function(err){});
[20:07] jmls: doSomethingWithTheContentsofThatFile
[20:07] kriszyp has joined the channel
[20:07] jmls: trouble is that the file is only partially written when the doSomething starts ...
[20:07] jmls: is that possible ?
[20:08] TheJH: jmls, use writeFile with a callback
[20:08] TheJH: !admin eval "still alive"
[20:08] jhbot: still alive
[20:08] TheJH: :)
[20:08] TheJH: !docs search writeFile (callback|cb)
[20:08] jmls: ohhhhh , wondered what the purpose of the callbacks were ! thanks
[20:09] TheJH: !admin eval Object.keys(commands)
[20:09] jhbot: remember,git,issue,mem,coffee,admin,npm,help
[20:09] fangel has joined the channel
[20:09] daneroo has joined the channel
[20:09] jmls: yay! that worked !
[20:09] jmls: thanks so much
[20:09] EyePulp: jmls - you'll see
[20:10] _eddyb_ has joined the channel
[20:10] _eddyb_ has joined the channel
[20:10] whoops has joined the channel
[20:10] lluad has joined the channel
[20:13] i42n has joined the channel
[20:14] reid has joined the channel
[20:15] MrWarGames has joined the channel
[20:15] neilk_ has joined the channel
[20:16] jackbean has joined the channel
[20:16] hydrozen has joined the channel
[20:16] hebot has joined the channel
[20:17] isaacs has joined the channel
[20:19] eldios has joined the channel
[20:19] knifed has joined the channel
[20:19] MrWarGames has joined the channel
[20:19] heavysixer has joined the channel
[20:19] arpunk has joined the channel
[20:20] MrWarGames has joined the channel
[20:21] MrWarGames has joined the channel
[20:22] jerrysv: !remember the milk
[20:22] jhbot: saved definition of 'the'
[20:22] jerrysv: !mem the
[20:22] jhbot: milk
[20:22] mmalecki: lulz
[20:22] jerrysv: it's the little things
[20:24] mikeal has joined the channel
[20:25] daaku has joined the channel
[20:25] n8ji has joined the channel
[20:25] jocafa has joined the channel
[20:27] epsas has joined the channel
[20:27] MrWarGames has joined the channel
[20:27] hebot has joined the channel
[20:27] JaKWaC has joined the channel
[20:29] gxdssoft has joined the channel
[20:29] wbednarski has joined the channel
[20:30] dshaw_ has joined the channel
[20:30] ttilley has joined the channel
[20:31] heavysixer has joined the channel
[20:31] AphelionZ has joined the channel
[20:31] kkszysiu has joined the channel
[20:31] tbranyen: tjholowaychuk: term-canvas dear god whyyyy
[20:31] tbranyen: haha
[20:31] tjholowaychuk: ahahahaa
[20:31] tjholowaychuk: lunch project!
[20:31] tjholowaychuk: might hack on it after work for a bit
[20:31] tbranyen: xD
[20:31] tjholowaychuk: would be useful for histograms etc
[20:31] tjholowaychuk: and terminal mario
[20:31] tjholowaychuk: obviously
[20:32] tbranyen: lol yesss
[20:32] hdon has joined the channel
[20:33] tjholowaychuk: need a better name
[20:34] tbranyen: well all the ascii terminal unix programs have something to do with toilets or poop
[20:35] tjholowaychuk: haha
[20:35] tbranyen: cacaview and toilet come to mind
[20:36] materialdesigner has joined the channel
[20:36] martin_sunset: Stupid question, how do I get the user's home dir in node 0.4.12?
[20:37] mmalecki: martin_sunset: path.resolve('~') should work
[20:38] ninjapig has joined the channel
[20:38] ninjapig has joined the channel
[20:38] mmalecki: martin_sunset: but it doesn't >.<
[20:38] briancray has joined the channel
[20:38] boltR has joined the channel
[20:39] mmalecki: martin_sunset: then no idea, sorry
[20:39] martin_sunset: mmalecki: Haha, yeah, that's why I wondered?
[20:39] RyanD has joined the channel
[20:39] martin_sunset: mmalecki: Thx though, much appreciated
[20:40] hebot has joined the channel
[20:40] pizthewiz has joined the channel
[20:42] colinclark has joined the channel
[20:44] luizlopes has left the channel
[20:44] noname has joined the channel
[20:45] Guest24750: hi
[20:47] fzzzy_ has joined the channel
[20:48] indexzero has joined the channel
[20:50] hebot has joined the channel
[20:51] tjholowaychuk has joined the channel
[20:52] mattrobenolt has left the channel
[20:52] mikeal1 has joined the channel
[20:52] AphelionZ has joined the channel
[20:52] thejefflarson has joined the channel
[20:53] xetorthio has joined the channel
[20:53] heavysixer has joined the channel
[20:53] Destos has joined the channel
[20:53] bicranial has joined the channel
[20:53] pita has joined the channel
[20:54] Hounth has joined the channel
[20:54] pita: We have a node.js process here that is in an endless loop. Is there any way to find out at which position it loops?
[20:55] sdwrage has joined the channel
[20:55] pita: Any way to freeze it and find out at which position it is?
[20:55] stliu has joined the channel
[20:56] kenperkins: wewt
[20:56] kenperkins: order of magnitude speed improvement in clipboard bookmarklet :)
[20:57] jebberjeb has left the channel
[20:59] TheJH: pita, I'd just try poor mans debugging although that's probably not exactly the best approach
[20:59] diamonds has joined the channel
[20:59] diamonds: for req.on('data', function(chunk) {
[20:59] diamonds: if you have multiple pieces of data, do you... how do you handle that
[21:00] diamonds: I guess I'm looking for examples
[21:00] rklancer_: is there a way to get '
[21:00] rklancer_: 'npm install --dev' to install *my* dev dependencies, defined in my package.json, without installing my (regular) dependencies' devDependencies?
[21:00] brianloveswords_ has joined the channel
[21:00] isaacs: jocafa: npm help removing-npm
[21:01] TheJH: diamonds, do you want to get all data in one large buffer or can you stream the incoming data?
[21:01] hdon has joined the channel
[21:01] isaacs: rklancer_: `npm install` does that when you run it without any args
[21:01] jocafa: already taken care of isaacs :) thanks though
[21:01] rklancer_: aha
[21:01] isaacs: rklancer_: devdeps get installed for just the first level
[21:01] isaacs: rklancer_: unless you set --production
[21:01] diamonds: TheJH: ahhhhhhh.... the second one
[21:01] rklancer_: isaacs: v. cool. Did not know that.
[21:01] diamonds: I want to accept the request, process, send response
[21:02] diamonds: perhaps this is not the node way...
[21:02] TheJH: diamonds, what do you want to do with it? stream through to somewhere else or process it as a stream of lines or so?
[21:02] tjholowaychuk has joined the channel
[21:02] TheJH: diamonds, there are e.g. modules for converting a stream of chunks to a stream of lines
[21:03] waheedi has joined the channel
[21:03] diamonds: TheJH: I plan to post multiple pieces of data, like submitting an html form, say
[21:03] muspelhe has joined the channel
[21:03] martin_sunset: A bit off topic, but does anyone here have negative experience with stripe.com? I want to use it, any reason why not?
[21:03] waheedi: i have a server that should always be listening to requests
[21:03] diamonds: and I want to access each of them separately. Perhaps chunk is not the method I need?
[21:03] waheedi: no i start the server and there is some login should happen after requests occur
[21:03] hebot has joined the channel
[21:03] waheedi: now*
[21:04] waheedi: logic*
[21:04] ritch has joined the channel
[21:04] diamonds: I'm new to node :)
[21:04] TheJH: diamonds, does the user submit large files or does he just enter some text or so?
[21:04] ritch has left the channel
[21:05] heavysixer has joined the channel
[21:05] TheJH: diamonds, if he just sends some text, you can just collect the stuff he sends in-memory (but make sure to implement some kind of RAm-flooding protection)
[21:05] TheJH: *RAM
[21:06] diamonds: hmm... well first I'm doing just text, then I plan to do files
[21:06] diamonds: the user is me so I'm eschewing some such protections for now
[21:06] TheJH: diamonds, but don't forget that you have to do it later
[21:07] diamonds: (it's not webfacing, it's just a thing to communicate between boxes I own, I'm not concerned about ram flooding because if someone already has control of one of the boxes I have bigger problems)
[21:07] TheJH: diamonds, ah, ok
[21:07] saschagehlich has joined the channel
[21:08] diamonds: plus I'm pretty new to this; I'm trying to get form processing working; if I try to implement ram flooding protections I'm afraid my tiny project will be crushed under the weight
[21:08] rklancer_: isaacs until I got started with Node today I just used npm for installing Coffeescript, etc, and had no idea how thorough you were being and how big a problem you were solving. So word up.
[21:08] thejefflarson has joined the channel
[21:08] isaacs: rklancer_: thanks :)
[21:09] TheJH: diamonds, I never tried it myself, but if you want to do file uploading, you might want to have a look at formidable
[21:09] TheJH: !@diamonds npm info formidable
[21:09] TheJH: meh
[21:09] TheJH: how did I call that command...
[21:09] diamonds: !npm info formidable
[21:10] TheJH: weird...
[21:10] TheJH: !admin eval typeof commands.npm.info
[21:10] jhbot: undefined
[21:11] TheJH: !admin eval Object.keys(commands.npm)
[21:11] jhbot: owner,search
[21:11] TheJH: err...
[21:14] hebot has joined the channel
[21:14] waheedi has joined the channel
[21:15] briemens has joined the channel
[21:15] piscisaureus__ has joined the channel
[21:16] stisti_ has joined the channel
[21:17] waheedi: ok anyone can help me there
[21:17] waheedi: i need to attend this event at rockefeller plaza
[21:17] waheedi: :)
[21:17] skcal has joined the channel
[21:18] waheedi: how can i clean up everything after each requests, like clean global variables etc..
[21:18] waheedi: request*
[21:18] heavysixer has joined the channel
[21:19] shipit has joined the channel
[21:19] jerrysv: waheedi: don't use global variables, keep everything within the scope of the request itself
[21:20] TheJH: waheedi, if new globals appear, throw a big fat error warning and kill your program
[21:20] jerrysv: !mem the
[21:20] jhbot: milk
[21:20] jerrysv: hehe
[21:20] tbranyen: globals make me feel like i'm making a difference in the world
[21:20] waheedi: lol
[21:20] waheedi: sometimes its really easier to use global variables
[21:20] jerrysv: tbranyen: that's an interesting world you live in. have you considered a fine career in visual basic?
[21:20] waheedi: not in all cases
[21:20] metellus has joined the channel
[21:20] TheJH: waheedi, I made a module for better global-likes somewhile ago, "context"
[21:21] jerrysv: TheJH: so did i: global
[21:21] davidbanham has joined the channel
[21:21] TheJH: jerrysv, the empty file thing? I was on IRC when you created it :P
[21:21] waheedi: basically i need to rewrite the whole thingy
[21:21] waheedi: if thats the case
[21:21] jerrysv: TheJH: yup yup! https://github.com/JerrySievert/global/blob/master/lib/global.js
[21:21] TheJH: jerrysv, context is better :D
[21:21] jerrysv: TheJH: global.js is one very well tested line
[21:22] TheJH: waheedi, well, you can do it for e.g. a server object, but never for connection objects or so
[21:22] jerrysv: waheedi: how big is "the whole thingy"?
[21:22] TheJH: jerrysv, have a look at https://github.com/thejh/node-context/blob/master/test.js
[21:22] waheedi: its like 1000 line of code you jerrysv
[21:23] maushu_: Who highlighted me?
[21:23] waheedi: i hate and love developers attitude :)
[21:23] mendel_ has joined the channel
[21:23] maushu_: More than 2 hours ago. -_-'
[21:24] jerrysv: waheedi: so what sorts of things are you trying to clean up? if it's 1000 lines of code in one file, there's problem number 1
[21:24] TheJH: waheedi, if you aren't writing that code for a contract or corporation or whatever, you might want to show it to us so that we can yell at you before you rewrite it :P
[21:24] waheedi: lol :)
[21:24] hebot has joined the channel
[21:24] mendel_: guys is it possible to let vlc --sout a audio file to nodejs, and let let nodejs cut the audio in segments of 10 sec?
[21:24] waheedi: its not in one file jerrysv :)
[21:25] waheedi: TheJH: thanks man, ill figure it out myself much appreciated
[21:25] TheJH: mendel_, I don't think we have audio processing in node yet
[21:25] heavysixer has joined the channel
[21:25] mendel_: yeah I know.. but maybe it's like a buffer or something..
[21:25] jerrysv: waheedi: good. but kind of curious what parts and pieces are global
[21:25] TheJH: mendel_, feel free to write a module for handling PCM audio or so
[21:26] waheedi: arrays jerrysv
[21:26] waheedi: array of objects jerrysv
[21:26] blup has joined the channel
[21:26] dgathright has joined the channel
[21:27] IanCormac84: hello is it possible to get some help compiling node.js on mingw using gcc 4.6.1? I get g++.exe: error: unrecognized option '-static-libstdc++' on the stage where it is creating the node executable
[21:28] waheedi: regarding the great eventemitter, how can i not add listener on each request im doing ?
[21:29] enos_feedler has joined the channel
[21:29] waheedi: basically i need to have some ee.emit "process" on some stage
[21:29] astropirate has joined the channel
[21:30] coderdad_ has joined the channel
[21:30] bnoordhuis: IanCormac84: mingw?
[21:30] waheedi: but i don't want that to be recalled every request, so basically when i try to test it with concurrency it shows there is a memory leak
[21:31] IanCormac84: yes bnoordhuis
[21:31] AphelionZ has joined the channel
[21:31] MatthewS has left the channel
[21:31] IanCormac84: im following the instructions on the node.js github site
[21:32] bnoordhuis: IanCormac84: are you building with gyp or waf?
[21:33] IanCormac84: im building with waf. i did a ./configure in msys shell
[21:34] bnoordhuis: IanCormac84: msys shell == bash?
[21:34] pHcF has joined the channel
[21:34] hebot has joined the channel
[21:34] IanCormac84: yes it runs from the bash shell
[21:35] IanCormac84: I see in the wscript file in node root that there is an option: bld.env.append_value('LINKFLAGS', '-static-libstdc++'). i tried changing to -Wl,--static-libstdc++ but that did not help either
[21:36] bnoordhuis: IanCormac84: what happens if you remove that line altogether and run ./configure again?
[21:36] IanCormac84: i havent tried that
[21:37] IanCormac84: will reply in a while
[21:38] coreb has joined the channel
[21:38] fod has joined the channel
[21:38] IanCormac84: it fails again
[21:38] IanCormac84: Build failed: -> task failed (err #1):
[21:38] IanCormac84: {task: cxx_link node_main_5.o,node_5.o,node_buffer_5.o,node_javascript_5
[21:38] IanCormac84: .o,node_extensions_5.o,node_http_parser_5.o,node_constants_5.o,node_file_5.o,nod
[21:38] IanCormac84: e_script_5.o,node_os_5.o,node_dtrace_5.o,node_string_5.o,node_zlib_5.o,timer_wra
[21:38] IanCormac84: p_5.o,handle_wrap_5.o,stream_wrap_5.o,tcp_wrap_5.o,udp_wrap_5.o,pipe_wrap_5.o,ca
[21:38] IanCormac84: res_wrap_5.o,tty_wrap_5.o,fs_event_wrap_5.o,process_wrap_5.o,v8_typed_array_5.o,
[21:38] IanCormac84: platform_win32_5.o,node_crypto_5.o,http_parser_3.o -> node.exe}
[21:41] sineltor has joined the channel
[21:42] nphase has joined the channel
[21:42] bnoordhuis: IanCormac84: don't paste build logs into the channel :/
[21:42] bnoordhuis: can you gist or pastie the full log?
[21:42] IanCormac84: sorry bout that
[21:42] IanCormac84: am new to this
[21:42] IanCormac84: a lil help?
[21:42] bnoordhuis: IanCormac84: gist.github.com
[21:44] IanCormac84: https://gist.github.com/1320971
[21:44] IanCormac84: thanx
[21:44] optixx has joined the channel
[21:45] hebot has joined the channel
[21:45] bnoordhuis: IanCormac84: that's it? there should be a linker or compiler error message in there somewhere but i don't see it
[21:46] IanCormac84: am copying straight from the msys shell
[21:46] IanCormac84: thats all it shows
[21:46] lmorchard has joined the channel
[21:47] bnoordhuis: piscisaureus: any idea ^
[21:47] apoc has joined the channel
[21:47] daneroo has joined the channel
[21:47] CoverSlide: How many hoes must a pimp smack down
[21:47] CoverSlide: before you can call him a pimp?
[21:47] IanCormac84: https://gist.github.com/1320981
[21:48] bnoordhuis: IanCormac84: okay, so it's still complaining
[21:48] bnoordhuis: IanCormac84: patch the wscript, then do a `make distclean && ./configure && make`
[21:48] Sorella has joined the channel
[21:48] IanCormac84: i had a very similar error msg while compiling qmake and i fixed the error by changing to -Wa,--static-libstdc++ but this one does not work
[21:48] IanCormac84: ok will do
[21:49] bnoordhuis: IanCormac84: i would expect that to work but maybe gcc dropped -static-libstdc++ in gcc 4.6? not sure
[21:49] boltR has joined the channel
[21:50] bnoordhuis: IanCormac84: oh, can you maybe try the -Wl thing, then do that `make distclean && ./configure && make` bit?
[21:50] mmalecki: bnoordhuis: hey, sorry to take your time, but any news on https://github.com/joyent/node/pull/1934 ?
[21:50] bnoordhuis: it's possible you had stale build files lying around
[21:50] nils_r has joined the channel
[21:51] daneroo has joined the channel
[21:51] bnoordhuis: mmalecki: haven't really looked at it tbh
[21:51] IanCormac84: i was reading somewhere that the option has to b passed explicitly to the linker or assembler in gcc 4.6 but.....
[21:51] fatjonny has joined the channel
[21:51] mmalecki: bnoordhuis: ok, no problem
[21:51] IanCormac84: i'll reply in a few minutes when the build is done
[21:51] bnoordhuis: mmalecki: ryah is still working on stdio, i don't want to get in the way
[21:52] mmalecki: bnoordhuis: oh, ok
[21:54] SomeoneWeird has joined the channel
[21:56] Hounth has joined the channel
[21:59] brianc1: mikeal1: <3 your new blog post
[21:59] mikeal1: the HN one?
[21:59] brianc1: yeah
[21:59] daneroo has joined the channel
[21:59] hebot has joined the channel
[21:59] jerrysv: was very nice
[22:00] mikeal1: thanks
[22:01] brianc1: I look forward to one day attending an event you plan!
[22:01] lazyshot has joined the channel
[22:01] jgallen23 has joined the channel
[22:01] mcluskydodallas has joined the channel
[22:02] jerrysv: nodeconf was good
[22:02] jerrysv: didn't utilize the SO tracks though
[22:02] IanCormac84: bnoordhius: i tried make distclean and built again using the option -Wa,--libstdc++ and the build failed with the same msg as in https://gist.github.com/1320971
[22:03] IanCormac84: i will try once again using -Wl.....
[22:03] mikeal1: if things go well, i'll be doing like 6 events next year
[22:04] brianc1: woo! I'm all the way out in texas...I'll have to fly out there some time
[22:04] hipsterslapfight has joined the channel
[22:04] jerrysv: we've done one beer.js around here that i know of, but it coincided with oscon
[22:04] tim_smar1 has joined the channel
[22:05] mandric has joined the channel
[22:05] gregmoreno has joined the channel
[22:05] jaminja has joined the channel
[22:05] jaminja has joined the channel
[22:05] dmwuw has joined the channel
[22:05] jeromegn has joined the channel
[22:05] dherman has joined the channel
[22:06] tlynn has joined the channel
[22:06] Tobsn has joined the channel
[22:07] kkszysiu has joined the channel
[22:08] mikeal1: the events will be all over
[22:08] mikeal1: unlikely i'll do one in texas this year tho, but i'll be at TXJS
[22:08] mikeal1: alex sexton runs it and me and Chris Williams, among others, help out
[22:09] enmand has joined the channel
[22:10] brianc1: sweetness. is this next TXJS going to be in June as well?
[22:10] hebot has joined the channel
[22:11] torm3nt has joined the channel
[22:12] mikeal1: most likely
[22:12] brianc1: sweet
[22:12] mikeal1: we don't have dates for any of the javascript conferences
[22:12] brianc1: I wont nag you w/ conference dates
[22:12] brianc1: I just have a hard time staying in the know
[22:12] dget has joined the channel
[22:13] brianc1: don't have many hardcore developer friends
[22:13] mikeal1: just follow alex on twitter
[22:13] brianc1: I shall visit san fran in march and perhaps I will meet some node folk in person
[22:13] dylang has joined the channel
[22:13] brianc1: yeah I just followed @txjs
[22:13] mikeal1: he's hilarious anyway, so he's a good person to follow in general
[22:13] IanCormac84 has left the channel
[22:17] IanCormac84 has joined the channel
[22:17] mikeal has joined the channel
[22:17] davidbanham has joined the channel
[22:18] cognominal has joined the channel
[22:20] hebot has joined the channel
[22:20] quackquack has joined the channel
[22:20] lightcap has joined the channel
[22:21] cody-- has joined the channel
[22:22] IanCormac84: the build failed using -Wl,--static-libstdc++. ld.exe doesnt recognize the --static-libstdc++ option
[22:22] diamonds: is there a way to access the system (windows) clipboard from node?
[22:22] diamonds: I see window.clipboardData for web, but
[22:22] brianc1: diamonds: not without a custom C/C++ binding which I would wager doesn't exist yet since the mechanism to distribute windows based native modules doesn't quite exist yet
[22:22] brianc1: tl;dr - no
[22:22] diamonds: :|
[22:23] joshgillies has joined the channel
[22:23] jocafa: typeof true; // "boolean" true instanceof Boolean; // false lolwhut
[22:23] diamonds: but perhaps there's a way from cmd.exe so perhaps I could spawn a child process to do so... ?
[22:23] RORgasm has joined the channel
[22:24] brianc1: diamonds: possibly. you could also write a very very very easy .NET application to do it for you
[22:24] gf3 has joined the channel
[22:24] jocafa: typeof (new Boolean(true)); // "object"
[22:24] brianc1: diamonds: then you'd need that .exe and the .NET framework on every computer you want this node app to work on. :)
[22:24] diamonds: hmm... I'd like what I'm working ont to not be dotnet dependant
[22:24] jldbasa has joined the channel
[22:24] diamonds: yeah, that
[22:24] tbranyen: jocafa: typeof isn't a function fwiw
[22:25] jocafa: i added parens for clarity
[22:25] Hounth_ has joined the channel
[22:25] tbranyen: oh, that kind of had the opposite effect for me xD
[22:25] tbranyen: carry on
[22:25] jocafa: hehe
[22:25] jocafa: same result without parens btw, just checked
[22:26] tbranyen: no i mean, parens are unnecessary there and only lead to confusion
[22:26] tbranyen: no parens 4 lyfe
[22:28] jerrysv: tbranyen: you probably hate semicolons too, don't you?
[22:28] erichynds has joined the channel
[22:28] brianc1: ACTION flashes friendly gang sign at tbranyen
[22:28] daneroo has joined the channel
[22:29] tbranyen: jerrysv: i hate everything
[22:29] brianc1: freedom's just another word for nothin' left to hate
[22:30] hebot has joined the channel
[22:31] cognominal has joined the channel
[22:32] tilgovi has joined the channel
[22:32] tilgovi has joined the channel
[22:33] quackquack: tjholowaychuk: for some reason commander.password is returning a function when no argument is passed
[22:33] ekryski has joined the channel
[22:34] tjholowaychuk: quackquack because that's a password prompt method
[22:34] tjholowaychuk: for now you might have to use --pass or something
[22:34] 18VAAE3YS has joined the channel
[22:34] 13WAAOJK1 has joined the channel
[22:34] quackquack: ahhh, didnt know it did that. ty, thats a neat feature!
[22:38] TomY has joined the channel
[22:39] shimondoodkin has joined the channel
[22:40] dget has joined the channel
[22:40] hebot has joined the channel
[22:41] daneroo has joined the channel
[22:42] matyr has joined the channel
[22:42] hntrdglss has left the channel
[22:43] illumina has joined the channel
[22:44] blaenk has joined the channel
[22:44] blaenk has joined the channel
[22:46] bbttxu has joined the channel
[22:47] liberum has joined the channel
[22:48] Antaranian has joined the channel
[22:48] paul_k has joined the channel
[22:50] guillermo has joined the channel
[22:50] hebot has joined the channel
[22:51] brianloveswords has joined the channel
[22:52] captain_morgan has joined the channel
[22:53] daneroo has joined the channel
[22:53] illumina: Is there an easy or recommended way to explode out the exports from a "require"d file into the global namespace of your current file?
[22:53] cscotta has joined the channel
[22:54] xerox: illumina: have you seen the api docs
[22:54] xerox: on modules?
[22:54] _unary has joined the channel
[22:55] illumina: maybe not. API docs, from MDN?
[22:55] bnoordhuis: illumina: no, why would you want to do that?
[22:55] illumina: or from node? -- i've read those
[22:55] xerox: http://nodejs.org/docs/v0.4.12/api/modules.html
[22:55] xerox: yes this
[22:55] illumina: bnoordhuis: I want to move classes into files so I can use them from multiple places, but I *don't* want those files to conceptually be "modules"
[22:55] xerox: it explains how the export object and the module.exports properties work
[22:55] Antaranian has left the channel
[22:56] illumina: xerox: yeah I've read that. actually… it's not what I want. I'd like to get C++ style include behavior, basically
[22:56] xerox: no pre-processor as far as I know
[22:56] illumina: xerox: ah yes. sorry I don't need to preprocess
[22:57] illumina: specifically: "entity_lib = require('entity'); new entity_lib.Entity();"