[00:00] domino14: thats true. the username/timestamp is plain text, it's just sorta amazing to me how it's untamperable
[00:00] JaKWaC has joined the channel
[00:00] domino14: well.. without quantum computers
[00:01] mattrobenolt: It is… for however large your window is with the expiration time. ;)
[00:01] mattrobenolt: But in most cases, those urls aren't really exposed to a user to even have knowledge of it.
[00:01] mattrobenolt: What we use it a lot for is when kicking data over to a third party service that has callback hooks.
[00:01] mattrobenolt: Like, Twilio.
[00:01] AvianFlu has joined the channel
[00:02] domino14: ah
[00:02] mattrobenolt: Because technically we have to expose a public url for Twilio to hit on an incoming call.
[00:02] mattrobenolt: So we sign the values we send it to know if they're legit.
[00:02] mattrobenolt: And we sign cookies so they can't be tampered with.
[00:04] mattrobenolt: We also use signed session ids in urls for Node since the requests may be coming from a completely other domain that can't read a cookie.
[00:04] jbrokc__ has joined the channel
[00:04] jbrokc___ has joined the channel
[00:04] mattrobenolt: In that case, they'd have to know somebody elses session id and signature to act as someone else, which is highly unlikely.
[00:05] mattrobenolt: The person would have to go out of their way to make themselves vulnerable, and in that case… fuck it. It's like giving someone your password.
[00:06] domino14: aha
[00:07] mattrobenolt: If you're using it as a part ofa public url, yes, you should shove in a timestamp and hash the whole thing. Then there's a small window where it's vulnerable. That's how the S3 private files work.
[00:07] mattrobenolt: You make a signed request with a timestamp, and you can view the file… authenticated as whomever, for that window of time.
[00:07] storrgie has joined the channel
[00:08] domino14: you would still have to go out of your way to give someone else that hash
[00:08] domino14: and i'm using SSL so i think it shouldnt leak
[00:09] dshaw_1 has joined the channel
[00:10] euforic has joined the channel
[00:11] mandric has joined the channel
[00:11] sarlalian has left the channel
[00:11] krnlyng has joined the channel
[00:11] StanlySoManly1 has joined the channel
[00:12] eignerchris has joined the channel
[00:12] mattrobenolt: You'll be fine.
[00:12] AvianFlu has joined the channel
[00:14] mraleph has joined the channel
[00:14] erichynds has joined the channel
[00:15] teadict: stop tricking people into using node.js telling them they'll be fine
[00:15] teadict: you won't! it's a nightmare
[00:15] rchavik has joined the channel
[00:15] rchavik has joined the channel
[00:15] mattrobenolt: I wouldn't say it's a nightmare. It has it's uses.
[00:15] sineltor: its great. you'll be fine.
[00:16] domino14: ?
[00:16] teadict: lawl
[00:16] deoxxombie: juuuust fine
[00:16] mattrobenolt: It's not a swiss army knife, but for specific things, it's not bad.
[00:16] domino14: ive only been using it for a day, and ive already bumped into many non working examples. but its ok.
[00:16] SubStack: if you don't know javascript then you probably won't be very good at it
[00:16] sineltor: its getting more swiss army knife attachments every day
[00:16] c4milo has joined the channel
[00:16] domino14: i think node.js is a pretty cool guy
[00:17] deoxxombie: eh abstracts your event loop and doesn't afraid of anything
[00:17] mattrobenolt: It's cool, it's fun, it can do nifty things in a short amount of time. Performance and memory usages are adequate enough for most people.
[00:17] domino14: deoxxombie: exactly
[00:18] HardPhuck has joined the channel
[00:18] mattrobenolt: It'll easily get you to a next step. I haven't deployed Node into an environment where there are 100k+ concurrent users yet, so I can't attest to how well it scales at that point or if things need ported to another language such as Scala or Erlang.
[00:18] relative has joined the channel
[00:18] mattrobenolt: And I don't think it's been out in the wild enough for people to be comfortable with it on that scale either.
[00:18] skm has joined the channel
[00:19] domino14: if we're at teh point where there 100K concurrent users i think we'll have enough money to hire someone who can migrate it to the next level
[00:19] tomlion has joined the channel
[00:19] mattrobenolt: Exactly.
[00:19] AvianFlu has joined the channel
[00:19] mattrobenolt: I look at Node as an absolutely excellent stepping stone. A stepping stone that will get you very very far.
[00:19] sdwrage has joined the channel
[00:19] quackquack has joined the channel
[00:20] mattrobenolt: It's quick and easy to pick up and most projects don't need to get into that level of concurrency. Anything 10k concurrent or less can more than likely run on one server pending the complexity of the app it's running.
[00:20] replore_ has joined the channel
[00:20] replore has joined the channel
[00:20] mattrobenolt: Anything above that, you can easily load balance between a cluster of running instances.
[00:20] domino14: yeah my app lends itself well to sharding too
[00:21] domino14: so i think eh is definitely a pretty cool guy
[00:21] dwasp: plus it's new so you can charge a lot of money for consulting
[00:21] mattrobenolt: Redis is your best friend when it comes to clustering.
[00:21] isaacs has joined the channel
[00:21] domino14: yeah, using Redis pubsub to talk to node.js
[00:21] mattrobenolt: Just store everything in Redis instead of local memory, and you're good to go. Redis can easily handle like, 60k ops per second.
[00:22] domino14: it kicks so much ass
[00:22] domino14: i got a very basic example working in a few hours despite never touching node.js before
[00:22] mattrobenolt: We use Redis all over. As storage, cache, and pubsub.
[00:22] domino14: with your awesome crypto help i might even get something working by tonight
[00:22] mattrobenolt: Exactly. You'd never get that that quickly in Erlang or Scala or any of the other serious platforms.
[00:23] mattrobenolt: I treat those as the next step. When shit's really going down. Twitter relatively recently switched their entire backend to Scala. And Facebook uses Erlang for the backend of their chat.
[00:24] schwab has joined the channel
[00:24] alexdoom has joined the channel
[00:24] maushu has joined the channel
[00:24] dwasp: yeah because the jabber server was already written for them
[00:25] mattrobenolt: It just emulates the Jabber protocol.
[00:25] mattrobenolt: For outside connections, like Adium or anything else that hooks in externally.
[00:25] franksalim: i believe v8 is faster than erlang for most workloads
[00:25] mattrobenolt: At least that's how it is from my understanding. I don't work there, obviously.
[00:25] franksalim: so i'm not sure why erlang would be "next level"
[00:26] tiagobutzke has joined the channel
[00:26] mattrobenolt: franksalim: I honestly don't know enough about Erlang to make a solid comment.
[00:26] franksalim: no problem
[00:26] mattrobenolt: That comment isn't based on real life experience. Just how things are perceived.
[00:27] mattrobenolt: At the point where I'm serving an app with 100M+ users, I'm sure all aspects will be assessed severely. Until then, Node is doing just fine.
[00:27] mattrobenolt: A little cluster of instances running behind nginx is handling well.
[00:27] franksalim: when you have 100M users, you'll care more about benchmarks than perception :)
[00:27] mattrobenolt: Exactly.
[00:27] franksalim: or you'll hire someone who does
[00:28] franksalim: to care for you
[00:28] sh1mmer has joined the channel
[00:28] mattrobenolt: I meant perception of the industry. Erlang and Scala are just typically looked at as the high performance enterprise async tools, blah blah blah. People tend to think of Node as a toy.
[00:28] _unary has joined the channel
[00:29] torm3nt: that's because it's new
[00:29] mattrobenolt: But in that instance, everything is evaluated and whatever comes out on top would obviously be used. Node is a great tool to get to that evaluation.
[00:29] torm3nt: rails was thought of as a toy as well until it started pushing in the big boys' league
[00:29] sineltor: yeah. ruby too. And python, back in the day.
[00:29] torm3nt: yup
[00:29] mattrobenolt: Yeah, only time will tell.
[00:29] sineltor: yeah.
[00:29] franksalim: unix, or so the history tells me
[00:29] sineltor: heh
[00:29] torm3nt: node is good for web apps, but not good for computations
[00:29] franksalim: x86
[00:30] mattrobenolt: As far as I know, nobody is using Node in some ridiculously high scale yet.
[00:30] torm3nt: linkedin is
[00:30] franksalim: everything we take for granted today was fresh and untrusted at some point in the past
[00:30] domino14: mattrobenolt: you mention nginx . i know that cant proxy websockets. are you just using long polling? does it work fine?
[00:30] sineltor: nodejs is getting pretty mature though
[00:30] torm3nt: they moved from rails to node
[00:30] mattrobenolt: For what aspect?
[00:30] torm3nt: their mobile app/web
[00:30] mattrobenolt: domino14: nginx can proxy websockets with a patch.
[00:30] echoSMILE has joined the channel
[00:30] torm3nt: they said they were able to scale down their infrasturcture from 15 servers/cluster to 4 servers/cluster to handle load
[00:30] torm3nt: that's an impressive change
[00:30] mattrobenolt: https://github.com/yaoweibin/nginx_tcp_proxy_module
[00:31] mattrobenolt: That works well.
[00:31] coreb has left the channel
[00:31] mattrobenolt: Ahh, nice! I didn't know LinkedIn was using it. Do you know roughly how much traffic they're serving through their mobile?
[00:31] teadict: trying to confirm my view of a real time app.. generic structure would be to socket.io everything performing database operations on the server side functions that are called by the clients; functions which shoot the client side function when done databasing.. right?
[00:31] teadict: it's like ajax but no, but dynamics are similar
[00:32] teadict: all this using express as middleware.. right?
[00:32] mattrobenolt: domino14: If you're using SSL with websockets, AKA wss, you can do it as well if you slap stunnel in front to terminate the SSL. Again, that works well and is in production right now on a Facebook game we deployed.
[00:32] teadict: (instead of socket.io, I'll use nowjs)
[00:32] liar__ has joined the channel
[00:32] scott_gonzalez has joined the channel
[00:33] teadict: am i rite or not?
[00:35] liar has joined the channel
[00:36] torm3nt: not sure matt, they didn't give stats - but linkedin isn't exactly small
[00:36] domino14: in a matter of a day i went from virulent hatred of node.js (mainly because of javascript) to unabashed love
[00:36] torm3nt: lol
[00:36] torm3nt: the only thing i hate about node.js, is javascript.
[00:36] torm3nt: god I hate javascript's syntax
[00:37] domino14: it really knows how to leverage the best parts of js
[00:37] torm3nt: no matter how neat you keep it, it still looks like spaghetti
[00:37] teadict: torm3nt: it hates you back
[00:38] torm3nt: liar, that would imply that javascript has emotions, which is impossible as a material human creation.
[00:38] Dulak: you've just hurt javascript's feelings. You monster!
[00:38] torm3nt: :)
[00:38] konobi: baudehlo: any reason you couldn't write a sane pipe wrapper around qmail-queue?
[00:39] teadict: torm3nt: how dare you, I swore I've seen Arrays cry over being called useless
[00:39] torm3nt: haha
[00:39] teadict: specially by hash tables
[00:39] catshirt has joined the channel
[00:40] AvianFlu has joined the channel
[00:41] marcello3d has joined the channel
[00:43] kurtzhong has joined the channel
[00:43] jsurfer has joined the channel
[00:43] MatthewS has joined the channel
[00:43] JakeyChan has joined the channel
[00:44] sirdancealot has joined the channel
[00:44] devdazed has joined the channel
[00:45] slajax has joined the channel
[00:47] jocafa1 has joined the channel
[00:48] monokrome has joined the channel
[00:48] charlenopires has joined the channel
[00:49] monokrome: Hey, all.
[00:50] monokrome: Does anyone here know a good module that can let me stream specific Twitter status updates from a specific user?
[00:50] cliffano has joined the channel
[00:51] gavin_huang has joined the channel
[00:51] AvianFlu: monokrome, http://github.com/AvianFlu/ntwitter
[00:52] miccolis has joined the channel
[00:52] sh1mmer has joined the channel
[00:52] AvianFlu: make yourself a user stream, pass the user's id to 'follow'
[00:52] monokrome: ah
[00:52] monokrome: No way to just watch my profile for any updates?
[00:52] tiagobutzke has joined the channel
[00:54] AvianFlu: you can use a curl command to just basic auth yourself to the streaming api
[00:54] AvianFlu: could replicate that with request
[00:54] AvianFlu: pretty easily
[00:54] k1ttty has joined the channel
[00:54] AvianFlu: but a user stream will watch your profile
[00:54] c4milo has joined the channel
[00:55] AvianFlu: as opposed to statuses/filter which is a sampling of the public feed
[00:55] AvianFlu: dev.twitter.com is your friend here
[00:56] monokrome: Cool, thank you for your help.
[00:56] MatthewS has joined the channel
[00:56] AvianFlu: np
[00:56] ej_ has joined the channel
[00:58] monokrome: AvianFlu: Does Twitter create the callback URL?
[00:59] monokrome: s/Twitter/ntwitter/
[01:00] AvianFlu: what are you doing that you want a callback url?
[01:00] rklancer has joined the channel
[01:00] monokrome: Creating an application is just asking me for one.
[01:00] AvianFlu: oh yeah, right
[01:00] AvianFlu: it's optional in your case
[01:00] bnoordhuis has joined the channel
[01:00] monokrome: Ah, okay. Cool!
[01:00] AvianFlu: unless you have a specific jsonp need... god help you
[01:01] monokrome: Thank you
[01:01] monokrome: nope :)
[01:01] AvianFlu: sweet then
[01:01] Squeese has joined the channel
[01:04] JakeyChan has joined the channel
[01:06] MatthewS has joined the channel
[01:12] jsurfer has joined the channel
[01:14] jbrokc has joined the channel
[01:14] jbrokc_ has joined the channel
[01:15] AphelionZ1 has joined the channel
[01:15] Me1000 has joined the channel
[01:16] davidbanham has joined the channel
[01:16] sh1mmer has joined the channel
[01:16] charlenopires has joined the channel
[01:17] jldbasa has joined the channel
[01:18] hswolff has joined the channel
[01:18] jtsnow has joined the channel
[01:19] aslant has joined the channel
[01:19] abraxas has joined the channel
[01:22] tilgovi has joined the channel
[01:22] tilgovi has joined the channel
[01:23] Emmanuel` has joined the channel
[01:24] skm has joined the channel
[01:24] jslatts has joined the channel
[01:24] alexdoom has joined the channel
[01:25] echoSMILE: any relation between html5 websockets and node.js ?
[01:25] bnoordhuis: echoSMILE: they both got drunk at the same party once
[01:26] bnoordhuis: apart from that, no, not much
[01:27] ChrisPartridge: echoSMILE: if you want to leverage websockets with node.js checkout socket.io
[01:27] AvianFlu_ has joined the channel
[01:27] echoSMILE: bnoordhuis :P ChrisPartridge tks
[01:28] joshkehn has joined the channel
[01:28] joshkehn has left the channel
[01:28] franksalim: bnoordhuis: that is too funny!
[01:29] joshkehn has joined the channel
[01:29] joshkehn has left the channel
[01:29] bnoordhuis: franksalim: thank you! i'll be here all night!
[01:29] rklancer has joined the channel
[01:29] ChrisPartridge: boom boom tshhh
[01:31] jesster7 has joined the channel
[01:31] jerrysv has joined the channel
[01:31] jesster7 has left the channel
[01:31] domino14: does anyone know how node_redis achieves event-based mechanics for pubsub? as far as i know pubsub listen is blocking. how is it that it can connect to the redis server and not block when subscribed?
[01:32] Aria: The redis connection blocks. Node doesn't.
[01:32] Aria: To node, it's just a message arriving.
[01:32] domino14: isnt there some limit to how many redis connections will be blocking?
[01:33] Aria: (The connection blocking means the connection can't do anything else; node not blocking means that it can however move on and just wait for the event.)
[01:33] Aria: Sure. How many sockets can you open to redis? that many.
[01:33] chilts: yeah, node just idles when nothing is happening, it doesn't block :)
[01:33] avian__ has joined the channel
[01:34] Aria: There's limits -- Redis's per-connection overhead, node's per-connection overhead, the OS's limit on file descriptors.
[01:34] domino14: i want to have an open connection per user
[01:34] domino14: a pubsub subscription per user. makes it simpler.. but that may be bad?
[01:34] prudhvi: Hi, i have a json object that looks something like this {"@": Obj}, which i get after parsing from xml. Now, how should i extract the Object member?
[01:34] Aria: Could have just one pubsub subscription and have the user's name be part of the message.
[01:35] domino14: yeah.. just thought of that. how do i associate a client with data in node.js
[01:35] Draggor: prudhvi: yourVar['@']
[01:35] Aria: Also: you can block on many queues in a single command on a redis connection
[01:36] prudhvi: Draggor: i get undefined if i access it that way
[01:36] MatthewS has joined the channel
[01:37] Aria: (It's expensive to listen to too many all at once, so don't break and rejoin that connection too much.)
[01:37] secoif has joined the channel
[01:37] Draggor: prudhvi: pastie.org your code
[01:37] prudhvi: This is the JSON data i get back {"@":{"xmlns":"http://queue.amazonaws.com/doc/2009-02-01/"},"ListQueuesResult":{"QueueUrl":"https://sqs.us-east-1.amazonaws.com/xxxxxyyyyy/foooo"},"ResponseMetadata":{"RequestId":"c1ca46c0-9e95-47c2-84b7-cd7a18e89bb9"}}
[01:38] isaacs has joined the channel
[01:38] Aria: Hah. Wow.
[01:38] ditesh|cassini has joined the channel
[01:38] Aria: Someone stuffed XML into JSON. Who knew! Warts and all!
[01:39] prudhvi: Aria: i wouldn't use if if stupid Amazon provided a JSON API :)
[01:39] jerrysv: aria: realtors fill xml data with csv's
[01:39] Aria: Oh, I'm well aware.
[01:39] Draggor: prudhvi: pastie.org code
[01:39] jocafa1:
[01:39] chilts: prudhvi: are you using node-awssum?
[01:39] franksalim: Aria: do you know JSONx?
[01:39] chilts: I haven't yet uploaded it to npm yet though : https://github.com/appsattic/node-awssum/
[01:39] chilts: it's definitely usable
[01:40] chilts: prudhvi: I've done the whole of the SQS service
[01:40] prudhvi: chilts: i am using aws-lib which uses xml2js and sax
[01:40] chilts: fair enough
[01:40] sh1mmer has joined the channel
[01:40] Aria: franksalim: No, thankfully.
[01:40] CrypticSwarm has joined the channel
[01:40] AvianFlu_ has joined the channel
[01:42] franksalim: It's well worth a laugh. "JSONx is an IBM� standard format to represent JSON as XML."
[01:42] toki_kanno has joined the channel
[01:42] domino14: i am using socket io — i have socket.sockets.on('connection', function(client) { …. } )
[01:42] domino14: is there some way to associate data with a client?
[01:42] jerrysv: waiting for JSONSOAP
[01:43] monokrome: AvianFlu_: I set up a stream that is set to 'follow: "monochrome", track: "monokro.me"' and then I tweeted "Testing monokro.me Twitter integration" and nothing happened. Is that not the proper way of doing this? http://d.pr/rw2h
[01:43] jbrokc___ has joined the channel
[01:43] jbrokc__ has joined the channel
[01:44] postwait has joined the channel
[01:44] domino14: apparently redis pubsub has a problem with slow users
[01:45] domino14: if i'm just using node.js to subscribe to pubsub, even if the user's connection is slow, node should take care of it right? (i mean, messages will not be backed up between redis and node)
[01:45] Aria: If you let Node receive them promptly, yes!
[01:46] kazupon has joined the channel
[01:46] Aria: (as in, don't pause the input stream)
[01:46] _dc has joined the channel
[01:46] ej__ has joined the channel
[01:47] domino14: will client.send(message) pause the input stream?
[01:47] domino14: client is what gets passed into socket.sockets.on('connection')
[01:48] icewhite has joined the channel
[01:50] willwhite has joined the channel
[01:52] JakeyChan_ has joined the channel
[01:53] Aria: Nope. pipe can, if the thing you pipe into is slow
[01:53] Aria: Or if you pause it explicitly.
[01:54] gkatsev: anyone ever tried parsing wtmp files using node?
[01:55] jtsnow has joined the channel
[01:55] zackattack has joined the channel
[01:55] blueadept`: any node peeps in LA here?
[01:56] ohtogo has joined the channel
[01:57] JakeyChan_: what's the project that yahoo work on with node.js ?
[01:57] fairwinds has joined the channel
[01:57] ttilley has left the channel
[01:57] jerrysv: JakeyChan_: mojito/manhattan?
[01:59] smtlaissezfaire has joined the channel
[01:59] jesster72 has joined the channel
[01:59] jesster72 has left the channel
[02:00] KevinT has left the channel
[02:01] JakeyChan_: yes
[02:01] JakeyChan_: I found it
[02:02] eephillip has joined the channel
[02:03] grampajoe has joined the channel
[02:03] tomlion has joined the channel
[02:04] JakeyChan_: is it cool ?
[02:04] KevinT has joined the channel
[02:04] KevinT has left the channel
[02:04] tomlion has joined the channel
[02:05] tomlion has joined the channel
[02:06] davidascher has joined the channel
[02:06] a_suenami has joined the channel
[02:08] Kunda has joined the channel
[02:08] johnnychimpo has joined the channel
[02:09] isaacs has joined the channel
[02:10] jerrysv_ has joined the channel
[02:11] lyte has joined the channel
[02:11] Zarel_ has left the channel
[02:12] sh1mmer has joined the channel
[02:12] thinkt4nk has joined the channel
[02:12] tk has joined the channel
[02:13] rklancer has joined the channel
[02:14] _th_n has joined the channel
[02:14] jbrokc has joined the channel
[02:14] zivester has joined the channel
[02:15] jbrokc_ has joined the channel
[02:16] kurtzhong has joined the channel
[02:16] nerdy_ has joined the channel
[02:19] Isaiah has joined the channel
[02:20] davidbanham has joined the channel
[02:21] adrianF has joined the channel
[02:22] mitch has joined the channel
[02:23] Guest8342: Hey. I've got a Rails 3.1 app that is basically just serving a backbone.js app right now. I'm trying to move over to Node and my current hang up is that I can't get my backbone.js files bundled.
[02:23] boltR has joined the channel
[02:24] sineltor has joined the channel
[02:24] Guest8342: I'm currently trying to use browserify and hitting a wall... is there some kind of recommended spockets type thing if I don't want to tackle commonjs?
[02:24] jbrokc__ has joined the channel
[02:25] jbrokc___ has joined the channel
[02:25] alexdoom has joined the channel
[02:27] seanhess has joined the channel
[02:30] SubStack: Guest19637: "tackle" commonjs?
[02:31] SubStack: Guest19637: you mean pollute the global namespace with the exports from all the files?
[02:32] jaequery has joined the channel
[02:32] chilts: I think Guest8342 left
[02:33] SubStack: oh lame
[02:33] SubStack: why do people do that >_<
[02:33] chilts: yeah, I was gonna reply, then stopped myself
[02:33] deedubs has joined the channel
[02:33] tomlion_ has joined the channel
[02:35] jbrokc has joined the channel
[02:36] jbrokc_ has joined the channel
[02:36] JakeyChan has joined the channel
[02:36] atourino has joined the channel
[02:38] isaacs has joined the channel
[02:38] Xano has joined the channel
[02:43] MatthewS has joined the channel
[02:44] sdwrage has joined the channel
[02:47] garann has joined the channel
[02:47] tonymilne has joined the channel
[02:48] vlapan has joined the channel
[02:48] tonymilne: Anyone from nodejitsu here?
[02:50] SubStack: tonymilne: a lot of people are and there's also #nodejitsu
[02:51] tonymilne: Sweet. Was hoping to find out if their node-http-proxy handled https and if so, in what way?
[02:51] SubStack: it does
[02:51] SubStack: tonymilne: check out the "using https" section on the readme
[02:52] Miro|Work has joined the channel
[02:52] Miro|Work has left the channel
[02:52] joshthecoder has joined the channel
[02:53] tonymilne: SubStack, would i be right in assuming that having the load balancer run as https and offloading to just http node express servers (using cluster) would be appropriately secure?
[02:54] SubStack: should be
[02:57] MatthewS has joined the channel
[02:57] piscisaureus_ has joined the channel
[02:59] rklancer has joined the channel
[03:00] luke` has joined the channel
[03:00] sh1mmer has joined the channel
[03:00] lukemelia has joined the channel
[03:01] harthur has joined the channel
[03:04] mynyml has joined the channel
[03:04] davidascher has joined the channel
[03:05] dnyy has joined the channel
[03:06] c4milo: meh
[03:06] c4milo: I think console.log in 0.4.12 has a race condition
[03:07] stagas has joined the channel
[03:07] mattpodwysocki has joined the channel
[03:07] jtsnow has joined the channel
[03:07] chuck_daniel has joined the channel
[03:08] clu3 has joined the channel
[03:09] kejun has joined the channel
[03:11] kenperkins has joined the channel
[03:11] lyte_ has joined the channel
[03:12] sh1mmer has joined the channel
[03:13] chuck_daniel has joined the channel
[03:14] stelcheck has joined the channel
[03:16] chuck_daniel has left the channel
[03:17] baudehlo: konobi: you mean write something in C around it?
[03:18] chjj has joined the channel
[03:23] marcello3d has joined the channel
[03:25] fread2281 has joined the channel
[03:26] alexdoom has joined the channel
[03:27] llrcombs: who highlighted me?
[03:27] lyte has joined the channel
[03:31] blueadept has joined the channel
[03:31] MatthewS has joined the channel
[03:31] bnoordhuis: llrcombs: probably the spam bot earlier today
[03:31] isaacs has joined the channel
[03:33] airhorns has joined the channel
[03:38] tonymilne has left the channel
[03:40] Peniar has joined the channel
[03:41] SrPx has joined the channel
[03:42] SrPx: I can send a callback function to fs.readFile. but how I can send an extra argument to that callback function? that is: fs.readFile('bla.txt',function (err,data,response) {blabla}). Note that response is an extra argument because the callback is usually called with just 2 arguments.
[03:43] Daegalus: thoughts? http://developer.yahoo.com/blogs/ydn/posts/2011/11/yahoo-announces-cocktails-%E2%80%93-shaken-not-stirred/
[03:44] lyte has joined the channel
[03:44] lyte has joined the channel
[03:45] IrishGringo2 has joined the channel
[03:46] jdpacker has joined the channel
[03:48] jnbek has joined the channel
[03:48] maletor has joined the channel
[03:48] CPartridge has joined the channel
[03:50] danfo has joined the channel
[03:50] wtfcoder has joined the channel
[03:51] wtfcoder: is there a high level library for interfacing with an amqp broker (rabbitmq). node-amqp is very low-level (akin to pika etc..), i need something more like Python or Ruby's carrot?
[03:52] pizthewiz: perhaps naïve, but how does one get a buffer of a stream's content?
[03:52] markbao has joined the channel
[03:53] zilch_ has joined the channel
[03:54] MatthewS has joined the channel
[03:58] JakeyChan has joined the channel
[03:58] sh1mmer has joined the channel
[04:01] amiller has joined the channel
[04:02] baudehlo has joined the channel
[04:02] lyte_ has joined the channel
[04:02] merlin83 has joined the channel
[04:06] boltR has joined the channel
[04:11] mikeal has joined the channel
[04:12] martin_sunset has joined the channel
[04:16] SrPx has joined the channel
[04:16] gregpascale has joined the channel
[04:18] grampajoe has joined the channel
[04:18] bnoordhuis: SrPx: callback.bind({foo:42}), then refer to this.foo inside the callback
[04:18] SrPx: o.o
[04:18] SrPx: thank you very much.
[04:18] jtsnow has joined the channel
[04:19] SrPx: is bind a javascript native function?
[04:19] bnoordhuis: SrPx: yes
[04:22] SrPx: so it inserts every element of an object in a function... ? and, suppose I do the following: calback.bind({foo:42}); readFile(callback); callback.bind({foo:33});
[04:23] context: what
[04:23] context: srpx: no. wrong
[04:23] SrPx: the third statement is called before readFile calls callBack. what will be the value of foo when callback calls it? (in other words, I am passing a copy of the function or theres just 1 function obj)?
[04:23] SrPx: wrong?
[04:23] context: it exects said function in the context of said object
[04:23] SrPx: what? o.o
[04:23] ircdearia has joined the channel
[04:23] boehm has joined the channel
[04:24] Me1000 has joined the channel
[04:24] SrPx: i said too many things . what is wrong exactly? (:
[04:24] zilch_ has joined the channel
[04:24] context: err i might be wrong
[04:25] swc|666 has joined the channel
[04:25] swc|666: god damn node is fast
[04:25] context: im thinking of call and apply :x
[04:25] SrPx: wait i hadnt saw what you said. but now i did and didnt undersand heh
[04:26] SrPx: what do you mean with it exects said function in the context..
[04:26] context: srpx: nm what isaid
[04:26] jldbasa has joined the channel
[04:26] joshkehn has joined the channel
[04:26] joshkehn has left the channel
[04:26] dwasp has joined the channel
[04:26] alexdoom has joined the channel
[04:28] SrPx: =/
[04:28] paul___ has joined the channel
[04:28] SrPx: thats ok.
[04:29] SrPx: im reading about it
[04:29] SrPx: thank you
[04:29] paul___: hi all
[04:29] context: srpx: im sure you could print foo in the callback and see how it works...
[04:30] p1d has joined the channel
[04:30] sh1mmer has joined the channel
[04:30] paul___: i use express and mongoose and my express server is configured to run over https with a key and cert… recently for some reason, my mongodb commands (like Model.find()) seem to just not work and don't produce any errors. anyone know why this is? when i remove https the mongoose commands work just fine
[04:31] sineltor has joined the channel
[04:31] tonymilne has joined the channel
[04:32] jacobolus has joined the channel
[04:32] paul___: the cert hasn't expired or anything
[04:32] CIA-109: node: 03Ben Noordhuis 07master * r8974ba3 10/ test/simple/test-net-pipe-connect-errors.js :
[04:32] CIA-109: node: test: fix simple/net-pipe-connect-errors
[04:32] CIA-109: node: When trying to connect to something that is not a UNIX socket, Linux returns
[04:32] CIA-109: node: ECONNREFUSED, not ENOTSOCK.
[04:32] CIA-109: node: We cannot atomically determine if the other end is a) a stale socket, or b) not
[04:32] CIA-109: node: a socket at all, so let's accept both error codes. - http://git.io/CBOhqA
[04:34] paul___: actually scratch that
[04:35] paul___: it looks like the mongoose command just happened to work sometimes
[04:35] paul___: does anyone know anything about this? it can be so frustrating. no errors, no problems with mongo that i found… it just doesn't work!!
[04:39] CIA-109: libuv: 03saghul 07master * r677bb70 10/ src/uv-common.c : Added missing error codes to uv_err_name - https://github.com/joyent/libuv/commit/677bb70bfb6378a68da8438c62b1061b2bea57ab
[04:40] ChrisPartridge has joined the channel
[04:40] paul___: ne1?
[04:42] lukemelia has joined the channel
[04:42] _th_n has joined the channel
[04:43] ChrisPartridge has joined the channel
[04:43] sineltor has joined the channel
[04:44] joshgillies has joined the channel
[04:46] jsurfer_ has joined the channel
[04:47] davidascher has joined the channel
[04:48] tonymilne: Any way to load balance nodejitsu's node-http-proxy for redundancy / high availability reasons?
[04:49] efbenson has joined the channel
[04:49] jburkhart has joined the channel
[04:53] towski has joined the channel
[04:55] tonymilne has left the channel
[04:56] ChrisPartridge has joined the channel
[04:56] sh1mmer has joined the channel
[04:57] lyte has joined the channel
[04:57] lyte has joined the channel
[04:57] dshaw_ has joined the channel
[04:59] sineltor has joined the channel
[05:00] jgornick has joined the channel
[05:00] takezawa has joined the channel
[05:08] ChrisPartridge has joined the channel
[05:09] ryanrolds_w has joined the channel
[05:10] ryanrolds_w: Anyone use bufferstream?
[05:10] dreamdust has joined the channel
[05:11] n8ji has joined the channel
[05:11] dreamdust has left the channel
[05:11] soopurman has joined the channel
[05:12] ChrisPartridge has joined the channel
[05:15] memiux has joined the channel
[05:15] ChrisPartridge has joined the channel
[05:15] zilch_ has joined the channel
[05:15] dilvie has joined the channel
[05:19] ChrisPartridge has joined the channel
[05:19] neilk_ has joined the channel
[05:21] kenperkins: woo. first major outage tonight :(
[05:21] paulwe has joined the channel
[05:24] ChrisPartridge has joined the channel
[05:27] alexdoom has joined the channel
[05:28] yuwang has joined the channel
[05:28] neoesque has joined the channel
[05:32] paulwe has joined the channel
[05:33] icewhite has joined the channel
[05:34] jbrokc_ has joined the channel
[05:34] secoif: paul___ there's #mongoosejs and a mongoose mailing list that may help https://groups.google.com/forum/#!forum/mongoose-orm
[05:35] ChrisPartridge has joined the channel
[05:37] boltR has joined the channel
[05:42] memiux has joined the channel
[05:45] gavin_hu_ has joined the channel
[05:47] whsienc has joined the channel
[05:49] JaKWaC has joined the channel
[05:50] sineltor has joined the channel
[05:51] gavin_huang has joined the channel
[05:52] ChrisPartridge has joined the channel
[05:52] gavin_huang has joined the channel
[05:54] jbrokc has joined the channel
[05:54] takezawa has joined the channel
[05:55] felixge has joined the channel
[05:55] felixge has joined the channel
[05:58] Carter has joined the channel
[05:58] ChrisPartridge has joined the channel
[05:58] sineltor has joined the channel
[06:00] Marko has joined the channel
[06:01] gavin_huang has joined the channel
[06:01] HT has joined the channel
[06:03] tomb has joined the channel
[06:04] DennisRasmussen has joined the channel
[06:04] Nuck: GUYS
[06:04] Nuck: We passed the 500-to-go mark against Rails
[06:05] Nuck: We now have 469 watchers left until we overtake Rails
[06:06] toki_kanno has joined the channel
[06:06] jpdery- has joined the channel
[06:07] Guest58984 has joined the channel
[06:07] Guest58984: seks
[06:08] ChrisPartridge has joined the channel
[06:09] ppcano has joined the channel
[06:09] Guest58984 has left the channel
[06:13] memiux has joined the channel
[06:14] lunchub has joined the channel
[06:14] _dc has joined the channel
[06:14] jbrokc_ has joined the channel
[06:16] donald_cook has joined the channel
[06:16] saikat has joined the channel
[06:20] joshgillies has joined the channel
[06:20] gut4 has joined the channel
[06:20] svnlto has joined the channel
[06:20] sineltor has joined the channel
[06:22] ppcano has joined the channel
[06:22] dwasp has left the channel
[06:22] stagas has joined the channel
[06:23] shipit has joined the channel
[06:25] tomb has joined the channel
[06:26] superjudge has joined the channel
[06:27] alexdoom has joined the channel
[06:31] madhums has joined the channel
[06:34] jbrokc has joined the channel
[06:37] stagas has joined the channel
[06:38] braoru has joined the channel
[06:39] Marko has joined the channel
[06:41] minerale has joined the channel
[06:41] SamuraiJack has joined the channel
[06:43] fearphage has joined the channel
[06:43] ryanrolds_w: Exporting 1 million records from a geospatial database to a csv through Node.
[06:43] ryanrolds_w: 25 columns per record.
[06:44] context: do it !
[06:44] ryanrolds_w: Almost done ;) At the 700k mark.
[06:44] ryanrolds_w: [ geospatial server -> node ] -> [ node -> report server ]
[06:44] jbrokc_ has joined the channel
[06:45] ryanrolds_w: All data exchange between the vms is in node.
[06:45] context: :/
[06:45] context: why not just let report server hit db directly
[06:45] Nuck: context: Because it would make far too much sense
[06:46] context: nuck: ahh. gotcha
[06:46] ryanrolds_w: geo spatial server doesn't touch the outside world.
[06:46] context: knew i was missing something
[06:46] context: the report server isnt sitting inches away from the db server ?
[06:47] Nuck: context: Nah, it's probably a few U lower
[06:47] Nuck: MAybe 4 or 5U away
[06:48] yuwang: --help
[06:51] yuwang has joined the channel
[06:53] context: nuck: call of authorities ! they probably shouldn't even have node talking that far away without something in the middle
[06:53] context: ryanrolds_w: you guys should consider some sort of pubsub server in the middle
[06:53] ppcano has joined the channel
[06:54] Nuck: Node + Redis?
[06:54] context: yap !
[06:54] context: only way to be safe
[06:54] ryanrolds_w: The issue is the guy with the phd that is writing the geopatial server can't be trusted do cross server communication right.
[06:54] context: what ?
[06:54] ryanrolds_w: academics.
[06:55] context: the DBA where i work cant be trusted in the DB either. thats why i give him read only access to the database (im actually being serious)
[06:55] simenbrekken has joined the channel
[06:56] ryanrolds_w: A co-worker (the dba) is asking if it's a real db or just mongodb or redis.
[06:56] context: so... some dude can't be trusted with the data, but he is allowed to access the data through a node server
[06:57] ryanrolds_w: All external traffic is sent through node for validation and authentication.
[06:58] ryanrolds_w: http://censusviewer.com/
[06:58] ryanrolds_w: We have a JS client that chats with a node instance that is the gatekeeper for the geospatial storage engine.
[06:59] rchavik has joined the channel
[06:59] ryanrolds_w: The gatekeepers have to chat with other node instances and such, like the report server.
[06:59] ryanrolds_w: It kind of an odd setup, I agree, but it working quite well.
[07:00] ryanrolds_w: *it's
[07:00] ryanrolds_w: All of the non-google layers on that page are generated on the fly.
[07:02] yuwang has joined the channel
[07:04] konobi: baudehlo: sure... even bash
[07:04] NetRoY has joined the channel
[07:05] harthur has joined the channel
[07:05] eddyb has joined the channel
[07:06] aashay has joined the channel
[07:07] stagas has joined the channel
[07:11] cosmincx has joined the channel
[07:11] JakeyChan: hi ? do you have good library to build form ?
[07:11] gut4 has joined the channel
[07:13] TheFuzzball has joined the channel
[07:13] harthur has joined the channel
[07:14] Lingerance: What?
[07:15] JakeyChan: like that http://neyric.github.com/inputex/
[07:15] JakeyChan: form builder
[07:15] JakeyChan: not only with html to build form,
[07:16] iwoj has joined the channel
[07:19] prudhvi has left the channel
[07:19] ph^ has joined the channel
[07:19] aashay: hi folks…does anyone here know of a good example of a simple chat persistence (online/offline/away/etc) implementation backed by socketio and redis, specifically using connect-redis as the session store?
[07:20] aashay: i'm sure I should be asking this in #redis (and I will) but I figure i'd try my luck here anyways
[07:22] AvianFlu has joined the channel
[07:23] phluffy has joined the channel
[07:23] airhorns has joined the channel
[07:24] gavin_huang has joined the channel
[07:24] yozgrahame has joined the channel
[07:25] iskren has joined the channel
[07:25] tomb has joined the channel
[07:27] gavin_huang has joined the channel
[07:28] gavin_huang has joined the channel
[07:28] liar has joined the channel
[07:28] alexdoom has joined the channel
[07:29] loob2 has joined the channel
[07:29] maletor has joined the channel
[07:29] takezawa has joined the channel
[07:29] p1d has joined the channel
[07:30] Marko has joined the channel
[07:31] gavin_hu_ has joined the channel
[07:31] cosmincx has joined the channel
[07:32] eddyb: dammit
[07:32] gavin_huang has joined the channel
[07:33] eddyb: why couldn't you write uv in C++?
[07:33] eddyb: now I'm stuck with no-catch lambdas
[07:37] tomyan has joined the channel
[07:38] Morkel has joined the channel
[07:38] ryan_stevens has joined the channel
[07:40] minerale has joined the channel
[07:40] gavin_huang has joined the channel
[07:41] gavin_huang has joined the channel
[07:41] abraxas: Any node-memcached users around?
[07:41] vguerra has joined the channel
[07:42] beevits has joined the channel
[07:42] luke` has joined the channel
[07:43] jbrokc has joined the channel
[07:44] abraxas: I'm seriously wondering if the normal use case is to just make a single Memcached instantiation, and reuse that all the time?
[07:44] abraxas: versus creating a new one for each asynchronous operation (read: incoming user request)
[07:44] abraxas: reuse seems to make sense...
[07:45] tomb has joined the channel
[07:45] Jinmo has joined the channel
[07:45] felixge has joined the channel
[07:45] felixge has joined the channel
[07:45] metellus has joined the channel
[07:46] micxer has joined the channel
[07:46] magnetik has joined the channel
[07:47] neshaug has joined the channel
[07:50] simenbrekken has joined the channel
[07:51] madhums has joined the channel
[07:52] Lingerance: abraxas: That's how I do my DB-stuff in node, don't see why memcached would be different
[07:53] superjudge has joined the channel
[07:53] abraxas: i don't do that with mysql, myself, because i use transactions (although i am aware they are not officially supported by node-mysql)
[07:53] abraxas: plus..
[07:54] abraxas: if you use only a single connection in your entire node process, it will seriously slow you down
[07:54] abraxas: (on mysql anyway...)
[07:54] abraxas: if you have a long running query, no others can be dealt with.
[07:54] sproates has joined the channel
[07:54] Lingerance: ACTION does LB
[07:55] `3rdEden has joined the channel
[07:55] Lingerance: Opening a connection for every request just seems silly to me.
[07:55] sdwrage has left the channel
[07:56] liar has joined the channel
[07:56] abraxas: how does load balancing help?
[07:56] abraxas: it's still one query at a time per connection
[07:57] abraxas: opening only one connection for queries that can be parallelized is highly inefficient
[07:57] davidbanham has joined the channel
[07:57] abraxas: so i guess my question regarding membase/memcached is: can queries be run in parallel?
[07:58] abraxas: while i wait for a response to query A, can i already fire off query B?
[07:59] abraxas: Ah, the man himself just came online
[07:59] groom has joined the channel
[07:59] abraxas: `3rdEden: hi Arnaut, you around?
[07:59] jamiep has joined the channel
[07:59] npa has joined the channel
[08:02] Marko: what is a nice handy way to get array/list of arguments to url query?
[08:02] JakeyChan_ has joined the channel
[08:02] Industrial: Marko: use express
[08:02] Industrial: :p
[08:02] Jinmo: abraxas: i think you can
[08:02] Jinmo: see https://github.com/joyent/node/wiki/modules
[08:02] Marko: id like to make it happen on coffeescript
[08:02] fangel has joined the channel
[08:03] Industrial: CS compiles to JS, I dont see the problem
[08:03] abraxas: Yeah, I think node-memcached has an internal connection pool, and just assigns a connection to a query whenever available
[08:03] abraxas: Very elegant solution, I think.
[08:04] abraxas: Not sure yet if it's "blocking" per connection...
[08:04] Industrial: Marko: console.log req.params, req.body ?
[08:04] andree has joined the channel
[08:04] abraxas: As in, fire a query on connection A, and A is now unavailable until a response has been received.
[08:04] Marko: rawurlencode($parameter) "=" rawurlencode($value) "&"
[08:04] kejun has left the channel
[08:05] burningdog has joined the channel
[08:05] Marko: this is basicly what I want, ported from php code. it should be easy, just iterate thru array of params, but this is my second or third day on node.js so :)
[08:06] abraxas: encodeURIComponent
[08:06] abraxas: just like in the browser
[08:06] `3rdEden: abraxas a bit
[08:06] abraxas: :)
[08:07] abraxas: Could you share a bit of insight into the node-memcached connection pool? I see there's something like a writeQueue, but I actually don't see any code creating that queue, only checking it.
[08:08] tomb has joined the channel
[08:09] vvo has joined the channel
[08:11] tiagobutzke has left the channel
[08:12] jacobolus has joined the channel
[08:12] JakeyChan has joined the channel
[08:13] mmalecki has joined the channel
[08:15] metellus has joined the channel
[08:15] jbpros has joined the channel
[08:18] superjudge has joined the channel
[08:20] mmalecki: ryah: ping?
[08:21] bergie has joined the channel
[08:22] AD7six has joined the channel
[08:23] eddyb: mmalecki: well, it's 4AM there
[08:23] djcoin has joined the channel
[08:23] mmalecki: eddyb: yeah, I'm aware, but he's a programmer, right?
[08:23] raphdg has joined the channel
[08:24] abraxas: lol
[08:24] abraxas: he just got back from japan, maybe still jetlagged :)
[08:25] emattias has joined the channel
[08:25] eddyb: mmalecki: programmer != coffee-powered non-stop code machine
[08:26] mmalecki: eddyb: you're lying.
[08:26] mmalecki: eddyb: please, tell me you're lying.
[08:27] eddyb: I'm not lying
[08:27] rio{ has joined the channel
[08:27] ph^ has joined the channel
[08:28] mmalecki: eddyb: my carefully chosen stereotypes just got destroyed.
[08:28] alexdoom has joined the channel
[08:28] icewhite has joined the channel
[08:29] incon has joined the channel
[08:30] icewhite has joined the channel
[08:30] lzskiss has joined the channel
[08:30] lzskiss: yo
[08:32] `3rdEden: abraxas is done here: https://github.com/3rd-Eden/node-memcached/blob/master/lib/connection.js#L115-134
[08:32] abraxas: `3rdEden: I don't see writeQueue anywhere in that block?
[08:32] Wizek has joined the channel
[08:33] abraxas: `3rdEden: oh right, you mean the pool logic, got it
[08:33] abraxas: `3rdEden: so is it one query per connection?
[08:33] rendar has joined the channel
[08:33] abraxas: `3rdEden: or can they interleave?
[08:34] jbrokc_ has joined the channel
[08:34] Druid_ has joined the channel
[08:34] k1ttty has joined the channel
[08:34] `3rdEden: abraxas the connection pool inspects the state of the net.Stream
[08:34] `3rdEden: to see if it's able to write to it
[08:35] `3rdEden: so it's not a query per connection
[08:35] abraxas: so when i do 2 gets at the same time and they hit the same connection, and the 2nd one is sent before the 1st one received a response, all is still well?
[08:35] abraxas: that's great
[08:35] `3rdEden: yes that could be the case abraxas
[08:35] abraxas: lovely :) dankjewel
[08:36] vi390 has joined the channel
[08:36] vi390 has joined the channel
[08:38] eddyb: funny thing: I build at -j40 on an i3
[08:38] eddyb: and get no CPU lag
[08:39] xsyn has joined the channel
[08:42] abraxas: `3rdEden: is there no setMulti btw?
[08:42] ivanfi has joined the channel
[08:43] OneOfOne has joined the channel
[08:43] OneOfOne has joined the channel
[08:44] `3rdEden: abraxas nop
[08:45] `3rdEden: you want to set multiple keys with the same value?
[08:45] jbrokc has joined the channel
[08:45] abraxas: { key: value, key2: value2 } i imagine…
[08:46] `3rdEden: Could work.
[08:46] DennisRasmussen has joined the channel
[08:46] Marko: what is the difference between encodeURIComponent and escape?
[08:46] mmalecki: when I try to listen on a non-socket, I get uncaught exception, I guess it isn't expected?
[08:46] abraxas: that's what they do: http://php.net/manual/zh/memcached.setmulti.php
[08:46] abraxas: not telling you to mimic php now all of the sudden, but ..
[08:47] `3rdEden: :p
[08:47] svnlto has joined the channel
[08:48] Wizek-other has joined the channel
[08:48] `3rdEden: abraxas but for it to be effecient it would need to use the binary protocol
[08:48] abraxas: ah, but according to someone's comment there, it actually sends multiple set's
[08:48] `3rdEden: yes
[08:48] torsd has joined the channel
[08:48] abraxas: how is that different in binary?
[08:49] Wizek-other has joined the channel
[08:49] groom has joined the channel
[08:50] eddyb: uhm
[08:50] eddyb: there's buggy code in node
[08:51] hackband has joined the channel
[08:51] eddyb: I have no idea how this doesn't get tripped in node
[08:51] Nuck: I just told Thunderbird to archive my backlog of messages from the mailing list, so I can keep up more from now on
[08:51] Nuck: It just nearly killed my system
[08:51] eddyb: basically if (!parent.paths) parent.paths = [];
[08:51] Nuck: 11,000 messages
[08:51] eddyb: parent in that case is a string
[08:51] eddyb: setting a property on a string, AFAIK, is bogus and does nothing
[08:52] Nuck: Best part is that 2 new emails came in during the time it took to archive those 11k
[08:52] abraxas: eddyb: technically, it works and can be used to one's advantage… but in this particular case, maybe not what they're trying to do
[08:52] eddyb: abraxas: technically, it doesn't
[08:52] abraxas: damn, you're right
[08:52] eddyb: assigning a property on a string does nothing
[08:52] abraxas: how did that happen
[08:53] eddyb: so someone screwed up
[08:53] eddyb: this is in lib/module.js
[08:53] eddyb: I have no fucking idea why it only trips for my thing, and not for your node
[08:53] abraxas: what version of node are you using?
[08:53] eddyb: TypeError: Cannot call method 'concat' of undefined
[08:54] eddyb: at Function._resolveLookupPaths (gear:module:223:28)
[08:54] eddyb: abraxas: I'm not using node
[08:54] bosphorus has joined the channel
[08:54] eddyb: I'm doing some weird thing using node's source (I'm keeping copyright headers, ofc) and I came across this
[08:54] abraxas: ?
[08:54] abraxas: oh ok
[08:54] abraxas: interesting
[08:55] tomlion has joined the channel
[08:55] eddyb: gear:module is your /lib/module.js (I have two more lines at the start, so subtract those)
[08:55] fairwinds has joined the channel
[08:55] eddyb: and I missed a commit
[08:56] eddyb: anyway: https://github.com/joyent/node/blob/master/lib/module.js#L239
[08:56] eddyb: how the hell that doesn't blow up node every time, I have no idea
[08:57] abraxas: well, it's being called with the module's object
[08:57] abraxas: so it doesn't make sense that it's a string
[08:58] aliem has joined the channel
[08:58] abraxas: https://github.com/joyent/node/blob/master/lib/module.js#L372
[08:58] eddyb: it isn't
[08:58] eddyb: it's called with parent
[08:59] eddyb: which can be a string
[08:59] eddyb: https://github.com/joyent/node/blob/master/lib/module.js#L493
[08:59] Morkel_ has joined the channel
[09:00] abraxas: you're right
[09:00] abraxas: that's a bug
[09:00] eddyb: does repl work right now?
[09:00] eddyb: like, for latest master, does ./node start repl?
[09:01] abraxas: haven't played with it yet
[09:01] eddyb: because if it does, it's worse: somewhere it's leaking errors
[09:01] abraxas: well, since repl is native
[09:01] abraxas: it wouldn't hit that piece of code
[09:01] abraxas: I think
[09:01] abraxas: (line 231)
[09:02] eddyb: main is required with null as parent
[09:02] eddyb: I think it should be changed for repl, too
[09:02] eddyb: abraxas: yeah, I don't have it included yet, that's most likely why it fails
[09:02] abraxas: that must be it then, for native module, it doesn't care about the parent
[09:02] abraxas: it won't have to do filesystem lookups
[09:03] eddyb: yepp
[09:03] burningdog has joined the channel
[09:03] eddyb: however, someone should replace '.' with null
[09:03] abraxas: still a bit funky it would do ".", but it wouldn't break
[09:03] abraxas: yeah
[09:03] eddyb: Error: Cannot find module 'repl'
[09:04] eddyb: good, that's fixed now
[09:04] fly-away has joined the channel
[09:04] mpavel has joined the channel
[09:04] vguerra has joined the channel
[09:05] arcanis has joined the channel
[09:06] mpavel has left the channel
[09:06] EvRide has joined the channel
[09:08] hipsterslapfight has joined the channel
[09:09] herbySk has joined the channel
[09:09] uchuff has joined the channel
[09:10] skm has joined the channel
[09:10] paulwe has joined the channel
[09:10] adrianmg has joined the channel
[09:10] whitman has joined the channel
[09:10] eldios has joined the channel
[09:11] sfoster has joined the channel
[09:14] adrianmg has left the channel
[09:19] kennon has joined the channel
[09:19] maligree has joined the channel
[09:19] kennon: Howdy
[09:20] kennon: I recently switched to v0.5.10 and it looks like I'm having some sort of memory leak issues
[09:21] kennon: I don't have any idea about how to go about debugging it, but would like to try to find+solve the problem instead of just downgrading
[09:21] kennon: Any known memory issues and/or obvious things I can check? My app is receiving connections via express and then opening a large number of outgoing connections to other web servers
[09:22] kennon: Are there any known issues with the http Agent? I set the maxDefaultSockets to very high because I have quite a few slow outgoing connections
[09:22] kennon: ...but I guess everyone is asleep. Anyone on Euro time like me? :-)
[09:23] ej_ has joined the channel
[09:24] kennon: (note: I didn't have this problem on 0.4.x)
[09:25] Wizek-other has joined the channel
[09:26] ppcano has joined the channel
[09:26] aaronmcadam has joined the channel
[09:27] eddyb: great, now I have to implement tick support
[09:27] willwhite has joined the channel
[09:27] adambeynon has joined the channel
[09:28] alexdoom has joined the channel
[09:29] Wizek-other2 has joined the channel
[09:30] akamike has joined the channel
[09:33] djcoin has joined the channel
[09:33] lmatteis has joined the channel
[09:33] lmatteis: Hello all
[09:34] lmatteis: I'm having troubles with unicode. The response body of requests using the native 'http' module, displays question mark characters for unicode chars, instead of their actual value
[09:35] liar has joined the channel
[09:35] lmatteis: Here's the code I'm testing: http://codepad.org/XBncn08Z
[09:36] ivanfi has joined the channel
[09:39] dubenstein has joined the channel
[09:41] robhawkes has joined the channel
[09:48] TomY has joined the channel
[09:53] Wizek-other has joined the channel
[09:54] Wizek has joined the channel
[09:57] paul__ has joined the channel
[10:00] Emmanuel` has joined the channel
[10:03] mafintosh has joined the channel
[10:03] jldbasa has joined the channel
[10:03] Xano has joined the channel
[10:04] xsyn has joined the channel
[10:04] cgfuh has joined the channel
[10:05] _unary has joined the channel
[10:05] CrisO has joined the channel
[10:07] clu3 has joined the channel
[10:11] blup has joined the channel
[10:14] mmalecki has joined the channel
[10:14] burningdog_ has joined the channel
[10:19] Fodi69 has joined the channel
[10:19] bnoordhuis has joined the channel
[10:20] stagas: lmatteis: you don't need .toString there since you already setEncoding('utf8') it should be chunks of strings
[10:21] lmatteis: stagas: even if i just console.log(chunk); still get weird chars
[10:22] ultramagnus has joined the channel
[10:24] CrisO has left the channel
[10:24] xsyn has joined the channel
[10:25] TheNumb has joined the channel
[10:28] boltR has joined the channel
[10:29] geoKe has joined the channel
[10:29] sineltor has joined the channel
[10:30] alexdoom has joined the channel
[10:33] lmatteis: stagas: would you be able to run that script yourself?
[10:33] lmatteis: in the result there's a specific word that starts with "Pubbl". its last letter is a weird character that shows as a question mark to me, instead of the actual char
[10:35] TheCode has joined the channel
[10:36] TheCode: any difference in using vm and calling eval() ?
[10:36] _bat has joined the channel
[10:37] quijote has joined the channel
[10:39] replore has joined the channel
[10:39] replore_ has joined the channel
[10:41] __doc__ has joined the channel
[10:41] fread228_ has joined the channel
[10:41] stagas: lmatteis: yeah the page also reports as ISO-8859-1 so maybe it's an encoding issue
[10:42] lmatteis: stagas: and where does the issue lay?
[10:45] stagas: lmatteis: maybe this will help https://github.com/bnoordhuis/node-iconv
[10:48] mpavel1 has joined the channel
[10:48] mpavel1 has left the channel
[10:49] annaps has joined the channel
[10:50] zipR4ND has joined the channel
[10:51] hipsterslapfight has joined the channel
[10:51] dnjaramba has joined the channel
[10:51] zipR4ND: hi all, i try to get node.js running on freebsd-arm, no i have a working v8 version 3.0.2, will a recent node.js work woth this version of v8 ? to which version of node.js will i have to go down, to have it work with this version of v8?
[10:52] swestcott has joined the channel
[10:53] ayaz has joined the channel
[10:54] burningdog has joined the channel
[10:54] bnoordhuis: zipR4ND: 3.0.2 is kind of ancient, i think we last used that in node 0.2.x
[10:55] zipR4ND: hmm
[10:55] bnoordhuis: zipR4ND: current master should build on arm though, including the bundled v8
[10:55] bnoordhuis: it does for me, at least
[10:55] zipR4ND: but i'm on freebsd
[10:55] zipR4ND: this uses oabi
[10:55] bnoordhuis: oh right, you're the oabi guy
[10:55] zipR4ND: we've been discussing this on the dev list
[10:56] zipR4ND: yes :-)
[10:56] zipR4ND: i'm the: freebsd on sheevaplug guy
[10:56] bnoordhuis: that guy :)
[10:56] zipR4ND: hmm, so you think later versions of nodejs will not work with my v8?
[10:56] bnoordhuis: you can try it but i suspect it won't compile out of the box
[10:57] iamcorpix has joined the channel
[10:57] zipR4ND: ok, maybe with my patches now, i can go up the line of v8 versions a bit further
[10:58] xsyn has joined the channel
[10:58] bnoordhuis: zipR4ND: you could try 0.3.8, that's the last version of node that used v8 3.0.x
[10:59] bnoordhuis: 0.3.x were dev releases but iirc 0.3.8 was pretty stable
[10:59] zipR4ND: k, thanks bnoordhuis
[11:02] larssmit has joined the channel
[11:02] aheckmann has joined the channel
[11:05] neurodrone has joined the channel
[11:05] jimt_ has joined the channel
[11:06] skm has joined the channel
[11:06] dnjaramba has joined the channel
[11:11] xsyn has joined the channel
[11:14] seanhess has joined the channel
[11:16] broofa has joined the channel
[11:17] matyr has joined the channel
[11:23] neednodehelp has joined the channel
[11:23] zeta01341 has joined the channel
[11:23] zeta01341: OK, I'm pulling my hair out here. Is anyone here well versed in express middleware? I'm trying to write some, and running into order issues.
[11:24] neednodehelp: Hi everyone, i have installed node using PuTTy and the installation instructions from the github site. Its on my MT (dv) box. Im trying to run the basic server example on the website but its not working.
[11:26] hdf has joined the channel
[11:26] celalo has joined the channel
[11:27] mehlah has joined the channel
[11:27] hdf: Hi.
[11:28] hdf: Anyone know if addCallback is a standard js/v8/node.js thing, or everyone has to create this type of functionality in there own project?
[11:28] emostar: zeta01341: try #express
[11:29] hdf: I have been looking around google for hours now, and cant find anything on how addCallback works.
[11:30] hdf: no, the point is, I would like to create a custom object, wich works synchroniously by defautl, but if i call it with addCallback than it works async.
[11:30] alexdoom has joined the channel
[11:30] hdf: or am I misunderstanding something a lot?
[11:31] Renegade001 has joined the channel
[11:34] CrisO has joined the channel
[11:35] benvie: that's something you'd have to implement
[11:36] benvie: because the way it becomes asynchronous is dependent on specific details of each thing
[11:38] wbednarski has joined the channel
[11:38] felixge has joined the channel
[11:38] felixge has joined the channel
[11:41] felixge has joined the channel
[11:41] hdf: but where does addCallback come from? I dont see it anywhere defined, in node, or v8, or express.
[11:42] Bwen has joined the channel
[11:42] benvie: well it's definitly not in v8 or node, I know that much
[11:43] scott_gonzalez has joined the channel
[11:44] felixge has joined the channel
[11:44] felixge has joined the channel
[11:45] maushu has joined the channel
[11:45] broofa has joined the channel
[11:45] hdf: ok, so than it really isnt anything standard, only some people chose to name something that, and it hapens to look official, but isnt.
[11:45] benvie: that's what it sounds like
[11:46] felixge has joined the channel
[11:46] felixge has joined the channel
[11:47] hdf: ok, thx.
[11:52] PeteDaGuru has joined the channel
[11:53] zeta01341: ugh. #express is being dead. I'm actually not sure it's a problem with express specifically
[11:53] pickels has joined the channel
[11:53] adrianmg1 has joined the channel
[11:54] adrianmg1 has left the channel
[11:54] xDxDxD has joined the channel
[11:54] zeta01341: I think it's related to everyauth's use of Promise, but trying to wade through it means trying to wade through what looks like Connect itself, and that's a complex mess of code I don't understand.
[11:56] neurodrone has joined the channel
[11:56] aslant has joined the channel
[11:58] annaps_ has joined the channel
[11:58] Kunda has joined the channel
[11:59] _th_n has joined the channel
[12:01] zeta01341: No, it's not a promise issue...
[12:05] lukemelia has joined the channel
[12:05] jbrokc_ has joined the channel
[12:05] gut4 has joined the channel
[12:06] OneOfOne: zeta01341: while i don't use everyauth, but did you try to their github issues page? or what's the error/problem?
[12:06] zeta01341: The middleware provided by everyauth isn't available to other middleware
[12:06] zeta01341: only to my routes
[12:07] zeta01341: it's bizzare. I thought it was an issue with database lag not initializing the session fast enough, but with timeouts it's still calling the functions out of order
[12:07] stagas has joined the channel
[12:07] zeta01341: For some reason, everyauth's middleware seems to be getting processed right immediately before a route is called, after all the other middleware. Or, this is some other weird magic it's doing that isn't middleware at all.
[12:07] zeta01341: It returns a connect instance, which from tracing seems to return an HTTPSServer
[12:08] zeta01341: I'm still trying to follow the logic here. There are so many libraries involved...
[12:08] davidbanham has joined the channel
[12:08] jacobrask has joined the channel
[12:09] jacobrask: I remember some module that would restart node.js on file change (like nodemon, node-dev etc) but also direct all errors to a systray applet, but I can't remember its name.
[12:09] jacobrask: Anyone?
[12:10] jacobrask: hm, maybe node-dev does that but just not on my system. doh
[12:10] zmbmartin has joined the channel
[12:10] zmbmartin has joined the channel
[12:10] enmand has joined the channel
[12:10] CIA-109: node: 03Ben Noordhuis 07master * r5fd012e 10/ lib/fs.js : fs: don't use octal values, not allowed in strict mode - http://git.io/E-4F7A
[12:11] zeta01341: I usually use run for file watching. What systray applet are you trying to direct the errors to?
[12:12] jacobrask: I needed libnotify-bin, now it works. not applet, sorry, it was just a regular desktop notification
[12:12] jacobrask: that way I can have node-inspector open in Chrome on one monitor and code on another, and if there's some stupid/easy error preventing Node from restarting I can see it immediately without switching to the console running Node
[12:13] matyr has joined the channel
[12:13] xsyn has joined the channel
[12:16] cosmincx has joined the channel
[12:16] incon: What's the eta on .6 now?
[12:20] d0k has joined the channel
[12:24] iskren has joined the channel
[12:25] TomY has joined the channel
[12:25] jbpros has joined the channel
[12:27] erichynds has joined the channel
[12:27] replore has joined the channel
[12:27] piscisaureus_ has joined the channel
[12:27] replore_ has joined the channel
[12:28] deedubs has joined the channel
[12:29] JKarsrud has joined the channel
[12:30] CarterL has joined the channel
[12:31] alexdoom has joined the channel
[12:31] Morkel has joined the channel
[12:33] eephillip has joined the channel
[12:35] mehlah has joined the channel
[12:36] fumanchu182 has joined the channel
[12:36] rklancer has joined the channel
[12:37] CIA-109: node: 03Jordan Sissel 07master * r358f0ce 10/ (lib/url.js test/simple/test-url.js):
[12:37] CIA-109: node: url: add '.' '+' and '-' in url protocol
[12:37] CIA-109: node: - Based on BNF from RFC 1738 section 5.
[12:37] CIA-109: node: - Added tests to cover svn+ssh and some other examples - http://git.io/q8iPxQ
[12:37] gdusbabek has left the channel
[12:38] mehtryx has joined the channel
[12:39] mehtryx has left the channel
[12:41] micheil has joined the channel
[12:41] mehlah_ has joined the channel
[12:42] eb4890 has joined the channel
[12:43] lmatteis: could anyone help me with this issue? http://stackoverflow.com/questions/8008157/node-js-unicode-issue-with-http-response-body
[12:44] lmatteis: it's driving me mad
[12:44] maeseele has joined the channel
[12:44] akamike has joined the channel
[12:44] jbrokc has joined the channel
[12:45] xerox: lmatteis: https://github.com/mikeal/request/blob/master/main.js
[12:45] lmatteis: xerox: what about it
[12:46] lmatteis: i have already used the request lib, same output
[12:46] xerox: well for one it's an easier module to use
[12:46] xerox: also it might contain the answer to your riddle
[12:46] lmatteis: xerox: i purposely used the native http library to acknowledge the issue wasn't happening in the require module
[12:47] xerox: have you passed 'encoding': 'utf-8' as one of the properties of the options object to request?
[12:47] lmatteis: yes i have.
[12:48] sineltor: (shouldn't it be encoding: 'utf8' ?)
[12:49] lmatteis: sineltor: it's the same
[12:49] sineltor: ok
[12:49] lmatteis: i tried with both.
[12:50] sineltor: I ran the code in that stackexchange question
[12:50] sineltor: where is unicode in the output?
[12:51] sineltor: oic Pubblicit�<
[12:51] tjbell has joined the channel
[12:52] bnoordhuis: incon: today
[12:52] sineltor: I have a suspicion...
[12:54] jbrokc_ has joined the channel
[12:55] bnoordhuis: lmatteis: google.it serves iso-8859-1, you need to convert it to utf-8
[12:55] lmatteis: bnoordhuis: how?
[12:55] bnoordhuis: lmatteis: check out node-iconv
[12:56] sineltor: most sites you should be able to add 'headers': {'accept-charset': 'utf-8'}
[13:00] N0va` has joined the channel
[13:01] jtrudeau has joined the channel
[13:01] sineltor: they're right
[13:01] sineltor: lmatteis: I changed your script to get this site instead: http://www.i18nguy.com/unicode-example.html
[13:01] AaronMT has joined the channel
[13:01] andrewfff has joined the channel
[13:01] sineltor: - unicode worked fine there
[13:01] lmatteis: sineltor: yes for some site it works, it depends on what the return i suppose :(
[13:02] lmatteis: *they
[13:02] stagas has joined the channel
[13:02] sineltor: well, that site specifies 'content-type': 'text/html; charset=utf-8'
[13:03] paul__: all: I have a node.js app running an express server & mongoose.. express is hosting via https with cert & key. problem is yesterday I fired up my local server and for some reason none of the mongoose Model calls work. logging out the model, mongoose, etc all show that they're there.. but for some reason calls like Model.find() simply don't seem to run. no errors, no callback.. just no output at all. got kinda frustrating! strangely, i got the
[13:03] paul__: to work once or twice without changing any of the config. mongo db doesn't seem to have any problems and it's running and i can connect via shell. does anyone know bout this? thanks!
[13:03] sineltor: google.it specifies 'content-type': 'text/html; charset=ISO-8859-1',
[13:03] lmatteis: sineltor: right, instead i need to view that google.it site, so i'm stuck with that charset
[13:03] zeta01341 has left the channel
[13:03] sineltor: yep.
[13:04] lmatteis: so :) ?
[13:05] vvo has joined the channel
[13:05] miccolis has joined the channel
[13:06] paul__: (btw i'm running node 0.5.10, express 2.5.0, and mongoose 2.3.8)
[13:08] coderdad has joined the channel
[13:09] baudehlo: konobi: potentially, but then you'd have to deal with temp files, which node doesn't have a core module for either :)
[13:09] pixel13 has joined the channel
[13:09] zipR4ND1 has joined the channel
[13:10] pixel13 has left the channel
[13:10] jlaire has joined the channel
[13:12] lmatteis: i fixed it by adding response.setEncoding('binary') if anyone is interested
[13:12] stagas has joined the channel
[13:12] paul__: deedubs says i should use 0.4.12… so i'll give that a try for now
[13:14] lazyshot has joined the channel
[13:14] JasonJS has joined the channel
[13:15] cosmincx has joined the channel
[13:15] jetienne has joined the channel
[13:15] davidsklar has joined the channel
[13:16] mpendergraft has joined the channel
[13:17] postwait has joined the channel
[13:17] vkareh has joined the channel
[13:18] plutoniix has joined the channel
[13:19] AphelionZ has joined the channel
[13:19] sineltor: lmatteis: what?
[13:19] sineltor: wacky
[13:19] lmatteis: sineltor: i know :|
[13:20] sineltor: I was expecting iconv to be the answer
[13:22] ceej has joined the channel
[13:23] Renegade001 has joined the channel
[13:23] mmalecki has joined the channel
[13:23] dharmesh has joined the channel
[13:24] jbrokc has joined the channel
[13:25] paul__: does anyone know of a package that does versioned updates/change history with mongoose? similar to what couchedb does (like this http://stackoverflow.com/questions/7370833/clean-versioning-change-history-implementation-in-mongoose)
[13:27] thomblake has joined the channel
[13:27] thomblake has left the channel
[13:27] Vennril has joined the channel
[13:28] catb0t has joined the channel
[13:29] goshakkk_ has joined the channel
[13:31] alexdoom has joined the channel
[13:32] Destos has joined the channel
[13:34] jbrokc_ has joined the channel
[13:36] jtgiri_ has joined the channel
[13:36] tiagobutzke has joined the channel
[13:37] liar has joined the channel
[13:39] esteth has joined the channel
[13:39] smtlaissezfaire has joined the channel
[13:40] cjroebuck has joined the channel
[13:40] devongovett has joined the channel
[13:42] rklancer: I
[13:42] braoru: hello, 3 to 4 days ago I have speak to someone about nodequery + backbone.js and real-time updated graph, but I don't remember who :) Maybe you are here ?
[13:44] lukemelia has joined the channel
[13:44] jstash has joined the channel
[13:44] esteth: Hi folks. Anyone have experience with stitch?
[13:44] jbrokc has joined the channel
[13:45] xy has joined the channel
[13:45] Poetro has joined the channel
[13:45] Poetro has joined the channel
[13:45] esteth: I'm trying to get stitch to compile my eco templates, since it's documented that it can do that for me. However when I point stitch at a directory containing .eco files they don't appear in the output,and I get require() errors in the browser
[13:46] xetorthio has joined the channel
[13:46] devdazed has joined the channel
[13:46] TomY has joined the channel
[13:46] N0va` has joined the channel
[13:46] jbrokc__ has joined the channel
[13:46] alexdoom has joined the channel
[13:47] rklancer: Hi folks with all the answers! Anyone know how to force 'npm install ' to update to the latest master without having to fool around with version numbers?
[13:47] mape: rklancer: point it to the tar?
[13:47] rklancer: (ie., the way Bundler handles 'git gems' specified in a Gemfile)
[13:48] rklancer: mape: I'll try that although it seems a bit less elegant
[13:48] mmalecki: rklancer: doesn't it work?
[13:48] devdazed: rklancer: you can't point it at a git repo, but you can point it at a git tarball
[13:48] paz1200 has joined the channel
[13:48] rklancer: devdazed: actually you can now
[13:48] aron_ has joined the channel
[13:50] maushu: So, anyone here played with lxc?
[13:51] devdazed: rklancer: I'm not sure then. i guess it's been a while since I've updated npm :/
[13:51] rklancer: (of course, deleting node_modules and rerunning npm install does the trick too :)
[13:51] c4milo has joined the channel
[13:51] devdazed: maybe make an alias for that
[13:51] rklancer: yup
[13:54] takezawa_ has joined the channel
[13:57] e1ement5 has joined the channel
[13:57] garrensmith has joined the channel
[13:57] apoc has joined the channel
[13:59] liar has joined the channel
[14:02] garrensmith has joined the channel
[14:03] cgfuh has joined the channel
[14:04] geoKe has joined the channel
[14:04] _th_n has joined the channel
[14:04] k1ttty has joined the channel
[14:05] liar has joined the channel
[14:05] juanlargo has joined the channel
[14:06] ank has joined the channel
[14:07] brianc1 has joined the channel
[14:08] joshkehn has joined the channel
[14:09] materialdesigner has joined the channel
[14:10] m00p has joined the channel
[14:11] garrensmith has joined the channel
[14:12] gut4 has joined the channel
[14:13] JJMalina has joined the channel
[14:14] esteth: anyone know why the coffee REPL and the node REPL would differ in what they allow me to import?
[14:14] esteth: I can import eco from a node REPL, but not from a coffee REPL
[14:15] felixge has joined the channel
[14:15] felixge has joined the channel
[14:16] ivanfi has left the channel
[14:17] tisba has joined the channel
[14:17] skm has joined the channel
[14:17] tisba_ has joined the channel
[14:18] davidwalsh has joined the channel
[14:18] Hounth has joined the channel
[14:18] jbrokc_ has joined the channel
[14:19] smtlaissezfaire has joined the channel
[14:19] sylvinus has joined the channel
[14:21] lyte has joined the channel
[14:21] zipR4ND1: nodejs config script doesnt find v8.h from shared v8, although --shared-v8-includes is provided
[14:24] willwhite has joined the channel
[14:25] jbrokc__ has joined the channel
[14:25] jbrokc___ has joined the channel
[14:26] oiiii has joined the channel
[14:28] tomlion has joined the channel
[14:28] garrensm_ has joined the channel
[14:29] ditesh|cassini has joined the channel
[14:30] liar has joined the channel
[14:30] igl has joined the channel
[14:30] tomlion_ has joined the channel
[14:31] mrkurt has joined the channel
[14:31] fatjonny has joined the channel
[14:31] dget has joined the channel
[14:31] alexdoom has joined the channel
[14:32] jetienne has joined the channel
[14:34] skm has joined the channel
[14:37] Destos has joined the channel
[14:39] jtsnow has joined the channel
[14:41] bodisiw has joined the channel
[14:42] jocafa has joined the channel
[14:42] neurodrone has joined the channel
[14:43] Renegade001 has joined the channel
[14:43] dnjaramba has joined the channel
[14:45] grampajoe has joined the channel
[14:49] skm has joined the channel
[14:50] ej__ has joined the channel
[14:51] sineltor: esteth: yeah
[14:51] esteth: sineltor: go on :)
[14:51] sineltor: …. well, one potential source of that: the coffeescript repl doesn't follow symbolic links correctly sometimes
[14:52] sineltor: so if you have a script in /foo/ with dependancies in /foo/node_modules, and its symbolically linked in /bar
[14:52] sineltor: then if you run it from /bar it'll look in /bar/node_modules but not /foo/node_modules
[14:52] sineltor: its a known issue with coffeescript but nobody has fixed it
[14:52] b_i_d has joined the channel
[14:53] aelien27 has joined the channel
[14:53] sineltor: I don't know if thats *your* issue, but its one I've come across
[14:54] xetorthio has joined the channel
[14:55] esteth: aha, thanks :)
[14:56] b_i_d: Hi everyone. Searching for a good idea: In my app there are many plugins. Now I try to build a node-module that auto-loads these plugins, when they needed. It yould be great if I could just use them as plugin.pluginname.function() with "plugin" being the module that handles the loading. Anyone a good idea how to do this?
[14:56] jtsnow has joined the channel
[14:57] b_i_d: One idea was to hook to the exception fired when you use a non-existant method of a node-module. 1st: How to do that? 2nd: Is there a better way?
[14:57] sineltor: b_i_d: javascript doesn't have a way to do method_missing
[14:58] sineltor: this is changing with harmony proxies (there is an npm module to do that)
[14:58] m00p has joined the channel
[14:58] sineltor: I've seen someone change require such that require.foo lazily requires 'foo'
[14:58] liar has joined the channel
[14:59] yhahn has joined the channel
[14:59] b_i_d: The thing is that my app is an artificial intelligence. There would be a HUGE number of these plugins and it would be wasting resources to load all of them at boot.
[15:00] b_i_d: Boot time is already several seconds as it is. ;)
[15:00] kwik101 has joined the channel
[15:01] liar has joined the channel
[15:01] sineltor: b_i_d: then … look up harmony proxies
[15:01] b_i_d: Will do.
[15:01] sineltor: http://search.npmjs.org/#/node-proxy
[15:02] hkjels has joined the channel
[15:02] swestcott has joined the channel
[15:03] seanhess has joined the channel
[15:03] fangel has joined the channel
[15:03] hkjels: if I have a property 'user.name'. Can I retrieve an object-value using that string? obj[property] obj.property does not work
[15:04] mraleph has joined the channel
[15:04] hkjels: I get a solution where I have a get method that does this, but it just doesn't feel right
[15:04] esteth has left the channel
[15:04] hkjels: I have even
[15:04] davidascher has joined the channel
[15:04] b_i_d: @sineltor That looks perfect. Thanks a lot. I figured I wasn't the first one with that problem. Just couldn't find the right google terms. ;)
[15:05] sineltor: hkjels: I don't understand what you are trying to do
[15:05] sfoster: obj['user.name'] if its obj = { 'user.name': 'some name' }
[15:05] sineltor: b_i_d: :) np
[15:05] liar has joined the channel
[15:05] Cromulent has joined the channel
[15:06] hkjels: sfoster: it's more like obj = { user: {name: 'some name'} }
[15:06] mpavel has joined the channel
[15:06] mpavel has left the channel
[15:06] sfoster: but if its obj= { user: { name: 'some name' }} then you need to split 'user.name', and walk down the object heirarchy.
[15:06] hipsterslapfight: obj['user']['name'] ? :v
[15:07] mmalecki: hkjels: writing a module for doing it :)
[15:07] hkjels: that's what I have done, but I feel it's not proper
[15:07] hkjels: I guess it is then
[15:07] thinkt4nk has joined the channel
[15:07] sineltor: var key = 'user.name'; var parts = key.split(/\./); val = val[k] for k in parts
[15:07] sineltor: (ok that last part was coffeescript - I got lazy)
[15:08] liar has joined the channel
[15:08] mmalecki: hm, how should I call it?
[15:08] goshakkk has joined the channel
[15:08] garrensm_: lmatteis: did you get the request stuff sorted out?
[15:09] sineltor: ACTION sighs
[15:09] robinduckett: ?
[15:09] mynyml has joined the channel
[15:10] sineltor: var obj = {'user':{'name':'mmalecki'}}; var key = 'user.name'; var parts = key.split(/\./); for(var i = 0; i < parts.length; i++) {obj = obj[k];}
[15:10] sineltor: -> obj is 'mmalecki'
[15:10] liar has joined the channel
[15:11] mmalecki: sineltor: modulify everything!
[15:11] sineltor: er, 'k' at the end there should be parts[i] instead
[15:11] sineltor: mmalecki: thats your job. I'm just some guy on IRC who should go to bed, because its 2am :)
[15:11] mmalecki: sineltor: haha :D
[15:12] zipR4ND1: hi all, i try to configure node.js with an extern libv8 but it doesn't find v8.h althoug it has the path
[15:13] BillyBreen has joined the channel
[15:13] isaacs has joined the channel
[15:14] JumpMast3r has joined the channel
[15:14] bingomanatee_ has joined the channel
[15:15] tjholowaychuk has joined the channel
[15:15] tjholowaychuk has joined the channel
[15:17] smtlaissezfaire_ has joined the channel
[15:18] lmatteis: garrensmith: yes, i needed to set the encoding to 'binary'
[15:18] lmatteis: for whichever reason that worked
[15:19] garrensmith: lmatteis: oh wow thats interesting. Didn't think of that. Nicely done
[15:19] lmatteis: garrensmith: i also asked a questioned and answered: http://stackoverflow.com/questions/8008157/node-js-unicode-issue-with-http-response-body
[15:19] fread2281 has joined the channel
[15:20] tomlion has joined the channel
[15:20] cjroebuck has joined the channel
[15:21] fread228_ has joined the channel
[15:21] ohtogo has joined the channel
[15:21] ryanfitz has joined the channel
[15:23] jaequery has joined the channel
[15:23] lzskiss has joined the channel
[15:23] lzskiss: yo
[15:25] ryan0x2 has joined the channel
[15:26] madhums has joined the channel
[15:27] redsofa has joined the channel
[15:29] CIA-109: node: 03Bert Belder 07reviewme * r189dd8f 10/ (10 files in 2 dirs): Fix line endings and trailing whitespace - http://git.io/kBbdNg
[15:29] CIA-109: node: 03Bert Belder 07reviewme * r6ee73a2 10/ (src/node.cc src/node.h): Windows: ErrnoException shouldn't mix up crt and win32 errors - http://git.io/43Upmw
[15:29] CIA-109: node: 03Bert Belder 07reviewme * r35f4182 10/ src/node.cc : Make error reporting from node::DLOpen more consistent - http://git.io/bwtT-g
[15:29] CIA-109: node: 03Bert Belder 07reviewme * rdd5f4fc 10/ (3 files in 3 dirs): process._debugProcess - http://git.io/Ucn94g
[15:29] Me1000 has joined the channel
[15:29] dnjaramba has joined the channel
[15:30] kurtzhong has joined the channel
[15:31] annoyance-bot has joined the channel
[15:31] Glenjamin: lmatteis: sounds like the response isn't actually coming back in utf8
[15:31] Glenjamin: curl says this: Content-Type: text/html; charset=ISO-8859-1
[15:31] lmatteis: Glenjamin: right
[15:32] fread2281 has joined the channel
[15:32] alexdoom has joined the channel
[15:33] lmatteis: Glenjamin: but shouldn't setting the encoding to utf8 handle also ISO?
[15:33] Glenjamin: potentially the chunk is split midway through the character?
[15:33] lmatteis: while i need to set it 'binary' to have it working
[15:33] sineltor: Glenjamin: interesting - I wonder if concatenating the chunks before .toString()'ing them would fix that
[15:34] baudehlo: no, utf8 != ISO-8859-.
[15:34] hotch has joined the channel
[15:35] trose: is there a text editor that does syntax highlighting for jade documents? jade + javascript highlighting would be awesome. I'm so sick of staring at black text
[15:35] mmalecki: trose: vim.
[15:36] mmalecki: trose: https://github.com/digitaltoad/vim-jade
[15:36] trose: mmalecki, really? nice.
[15:36] mmalecki: trose: and if you're looking for some neat setup: https://github.com/mmalecki/dotfiles/tree/master/vim/bundle
[15:36] trose: i usually use geany but there's no support for jade
[15:36] baudehlo: trose: textmate and sublime text 2. https://github.com/miksago/jade-tmbundle
[15:36] kenperkins has joined the channel
[15:37] annoyance-bot: trose when all else fails just use some random syntax like css
[15:37] annoyance-bot: haha
[15:37] baudehlo: I *highly* recommend Sublime text 2.
[15:37] saschagehlich has joined the channel
[15:37] annoyance-bot: that's what i do for unsupported langs
[15:37] annoyance-bot: why the hell is my nick annoyance-bot
[15:37] hipsterslapfight: sublime text 2 is great, finally got me off of textmate
[15:37] pransalad: +1 for sublime
[15:38] joemccann has joined the channel
[15:38] annoyance-bot has joined the channel
[15:39] baudehlo: yup. I finally got sick of waiting for tm2.
[15:39] joemccann: Should i just use browserify for node-markdown module to run in the client or is there a markdown lib for the client with same api?
[15:39] joshkehn has left the channel
[15:39] baudehlo: I thoroughly suspect tm2 is going to be the biggest let down the world ever saw :)
[15:40] maushu: tm2?
[15:41] baudehlo: TextMate 2.
[15:41] maushu: Ah, textmate.
[15:41] baudehlo: It's the new Duke Nukem.
[15:41] zipR4ND1: can noone tell me what's wrong with this line : ./configure --prefix=/usr/local --shared-v8 --shared-v8-includes=./v8includes/ --shared-v8-libpath=/usr/local/lib --shared-v8-libname=v8 ?
[15:41] zipR4ND1: v8.h isnt found, although it's in ./v8includes/
[15:41] baudehlo: The only thing I wish Subl had is editing over sftp.
[15:42] baudehlo: I currently use fuse and sshfs but it's painfully slow.
[15:44] joemccann: anyone
[15:44] joemccann: bueller
[15:44] joemccann: node-markdown in the browser
[15:45] tomlion_ has joined the channel
[15:47] tomlion_ has joined the channel
[15:47] bnoordhuis: zipR4ND1: maybe run ./configure with --verbose
[15:47] zipR4ND1: bnoordhuis: thxx
[15:47] nils_r has joined the channel
[15:48] yobi: Is there a Jekyll for node.js?
[15:48] zipR4ND1: bnoordhuis: Checking for header v8.h : 15:47:54 runner system command -> ['/usr/bin/g++', '-DHAVE_OPENSSL=1', '../test.cpp', '-c', '-o', 'default/test_1.o']
[15:48] zipR4ND1: not found
[15:49] martin_sunset has joined the channel
[15:49] bnoordhuis: zipR4ND1: it doesn't seem to be checking your v8includes dir
[15:49] zipR4ND1: hmm, did i use the right parameters?
[15:49] bnoordhuis: zipR4ND1: what happens if you run `CXXFLAGS=I$PWD/v8includes ./configure --verbose # etc`?
[15:49] zipR4ND1: its 0.3.8 btw
[15:49] bnoordhuis: sorry, `CXXFLAGS=-I$PWD/v8includes ./configure --verbose # etc`
[15:51] zipR4ND1: ?
[15:51] zipR4ND1: do you mean env CXXFLAGS -I$PWD/v8includes && ./configure --verbose?
[15:51] bnoordhuis: without the &&
[15:51] bnoordhuis: oh, you're probably using ksh, right?
[15:52] bnoordhuis: export CXXFLAGS=... and the ./configure line as a separate command
[15:52] zipR4ND1: k
[15:53] nibblebot has joined the channel
[15:54] matyr has joined the channel
[15:55] airwalker has joined the channel
[15:55] zipR4ND has joined the channel
[15:55] hebz0rl has joined the channel
[15:56] michaeldeol has joined the channel
[15:56] vvo has joined the channel
[15:57] Renegade001 has joined the channel
[15:57] zipR4ND: bnoordhuis: Checking for header v8.h : 15:57:20 runner system command -> ['/usr/bin/g++', '-I/root/workbench/joyent-node-9c9f5b3/v8includes', '-DHAVE_OPENSSL=1', '../test.cpp', '-c', '-o', 'default/test_1.o']
[15:57] zipR4ND: 15:57:20 runner system command -> ['/usr/bin/g++', 'default/test_1.o', '-o', '/root/workbench/joyent-node-9c9f5b3/build/.conf_check_0/testbuild/default/testprog', '-L/usr/local/lib', '-Wl,-Bdynamic', '-lv8']
[15:57] zipR4ND: not found
[15:59] quijote has joined the channel
[16:01] Mokona has joined the channel
[16:01] tiagobutzke has left the channel
[16:01] pgte has joined the channel
[16:02] matyr has joined the channel
[16:03] mike5w3c has joined the channel
[16:03] jetienne has joined the channel
[16:04] adambeynon_ has joined the channel
[16:06] airhorns has joined the channel
[16:06] braoru has joined the channel
[16:06] rogerb has joined the channel
[16:07] ryan0x2 has joined the channel
[16:07] saikat has joined the channel
[16:07] floody has joined the channel
[16:07] floody: hello
[16:07] d4rk1ink_ has joined the channel
[16:08] digman543 has joined the channel
[16:09] Jay_Levitt has joined the channel
[16:10] trotter has joined the channel
[16:11] captain_morgan has joined the channel
[16:12] neilk_ has joined the channel
[16:12] tisba_ has joined the channel
[16:13] jerrysv has joined the channel
[16:13] N0va` has joined the channel
[16:16] _dc has joined the channel
[16:16] gut4 has joined the channel
[16:17] smathy has joined the channel
[16:17] lazyshot has joined the channel
[16:18] maletor has joined the channel
[16:18] willwhite has joined the channel
[16:18] andineue has joined the channel
[16:20] Marko has joined the channel
[16:20] willwh_ has joined the channel
[16:20] ed8t has joined the channel
[16:21] willwh_: hey guys - I see a bunch of options for ircbots in node.js
[16:21] willwh_: any recommendations? :]
[16:21] mmalecki: willwh_: kohai
[16:21] willwh_: awesome, mmalecki thank you!
[16:21] mattrobenolt has joined the channel
[16:22] mmalecki: willwh_: :)
[16:22] lastk has joined the channel
[16:22] mattrobenolt: isaacs: ping
[16:22] isaacs: hiya
[16:22] isaacs: just replied to you on the githubs
[16:22] mattrobenolt: Hey, sorry about that commit. I didn't even look to see what the .destroy() method was. :)
[16:23] isaacs: no worries.
[16:23] isaacs: that's what reviews are for :)
[16:23] isaacs: i'm in a hurry to get it working asap so it can be in 0.6, though.
[16:23] mattrobenolt: Yeah, I didn't even run it. I just stuck it in and called it a day, haha
[16:23] mattrobenolt: So I should just clear out the listener for 'end' and 'error' and we're good?
[16:24] kenperkins has joined the channel
[16:25] mattrobenolt: https://gist.github.com/ba33b02823fcc9141b57 ?
[16:25] dshaw_ has joined the channel
[16:27] gut4 has joined the channel
[16:28] isaacs: mattrobenolt: is that engine object ever exposed?
[16:28] matyr has joined the channel
[16:28] isaacs: mattrobenolt: ie, is it possible that the user could listen to error, and then have their listener removed, as wel?
[16:28] _dc has joined the channel
[16:29] emostar has joined the channel
[16:29] Marko has joined the channel
[16:30] Glenjamin: bah, where's TJ
[16:30] Glenjamin: the lightweight "qs" module includes its test dependencies in the npm package
[16:30] magnetik has joined the channel
[16:30] isaacs: mattrobenolt: ok, i see, no it isn't exposed. removing all listeners is safe. i withdraw my comment.
[16:30] n8ji has joined the channel
[16:31] tiagobutzke has joined the channel
[16:31] mattrobenolt: isaacs: Yeah, it's all internal.
[16:31] annoyance-bot: Glenjamin they're dev-deps
[16:31] isaacs: right.
[16:31] annoyance-bot: ACTION tj
[16:31] isaacs: k, that's fine, then
[16:31] annoyance-bot: ACTION dont ask
[16:31] Glenjamin: annoyance-bot: nope, they're packaged
[16:31] zipR4ND has joined the channel
[16:31] annoyance-bot: shouldn't be
[16:31] annoyance-bot: im looking right at it
[16:32] isaacs: mattrobenolt: so... if you fix the destroy() thing, and replace it with .removeListener explicitly (as in your gist), then I think the only issue is that compressString(engine, str, cb) should probably be compressBuffer(engine, buf, cb), since it's not actually going to always be a string.
[16:32] annoyance-bot: i'll republish the latest
[16:32] annoyance-bot: in case it was an npm thing
[16:32] Glenjamin: ah cool
[16:32] isaacs: annoyance-bot: you'er tj?
[16:32] socketio\test\27 has joined the channel
[16:32] annoyance-bot: haha yeah
[16:32] isaacs: annoyance-bot: your bot's name seems kind of annoying.
[16:32] isaacs: i'm immediately negatively predisposed to it.
[16:32] annoyance-bot: my connection keeps dropping so linkinus is assigning me new names
[16:32] mattrobenolt: isaacs: Good, call, I'll fix all of the "str" variable references as well.
[16:32] alexdoom has joined the channel
[16:32] krnlyng has joined the channel
[16:33] annoyance-bot: (starbucks)
[16:33] isaacs: ah, yes.
[16:33] socketio\test\21 has joined the channel
[16:33] Glenjamin: "npm info qs" has no devDependencies listed, tarball includes "support/"
[16:33] TheJH has joined the channel
[16:33] jbrokc___ has joined the channel
[16:33] jbrokc_ has joined the channel
[16:33] annoyance-bot: Glenjamin sounds like an old one maybe
[16:33] annoyance-bot: 0.3.1
[16:34] Glenjamin: yeah, 0.3.1 is the latest on npm
[16:34] isaacs: Glenjamin: i don't see anything in support on my end.
[16:34] isaacs: npm view qs dist.tarball | xargs curl -s | tar zt
[16:34] isaacs: run that ^
[16:34] isaacs: only 12 items.
[16:34] Glenjamin: weird
[16:35] isaacs: package/.gitmodules package/.gitignore package/benchmark.js package/examples.js package/History.md package/index.js package/Makefile package/package.json package/Readme.md package/lib/querystring.js package/test/parse.test.js package/test/stringify.test.js
[16:35] isaacs: Glenjamin: what version are you getting?
[16:35] Glenjamin: i'll delete and re-install
[16:35] isaacs: maybe it's something that isn't the latest
[16:35] devongovett has joined the channel
[16:35] Venom_X has joined the channel
[16:35] isaacs: just doing `npm install qs` should clobber it
[16:35] Glenjamin: npm ls said 0.3.1
[16:35] isaacs: hmm...
[16:35] isaacs: weird
[16:35] Glenjamin: actually, i remember what i did
[16:36] Glenjamin: cp -R connect/node_modules/qs mymodule/node_modules/qs
[16:36] Glenjamin: i was on a train
[16:36] isaacs: there ya go :)
[16:36] eignerchris has joined the channel
[16:37] isaacs: npm should really not try to hit the registry (or at least, not mind failing to hit the registry) if it's got the thing in cache
[16:37] Glenjamin: which means the "qs" in connect has support/ somehow :s
[16:37] isaacs: that's kind of dumb.
[16:37] krnlyng has joined the channel
[16:37] isaacs: keep meaning to fix that, and keep not doing it.
[16:37] annoyance-bot: Glenjamin it says >= 0.3.1
[16:37] annoyance-bot: in the package.json
[16:37] kitt has joined the channel
[16:37] annoyance-bot: but that could have been older in your installed connect of course
[16:38] Glenjamin: i've established it was definitely my bad
[16:38] Glenjamin: but not why :D
[16:38] Glenjamin: but yeah, offline mode for npm would be cool
[16:38] annoyance-bot: i have stale stuff all the time
[16:38] annoyance-bot: since i dont do npm update
[16:38] annoyance-bot: too often
[16:39] mattrobenolt: isaacs: Updated.
[16:39] isaacs: kewl
[16:40] emostar has joined the channel
[16:40] mattrobenolt: Let me know if there are any other issues.
[16:40] bosphorus has joined the channel
[16:41] sylvinus has joined the channel
[16:42] koffsyrup has joined the channel
[16:43] mmalecki: isaacs: btw, I've replicated npm registry. now when I try to update it, all updates fail with 401. is there any way I can walk it around?
[16:43] Isaiah has joined the channel
[16:43] TheJH: mmalecki, you mean, when you restart replication?
[16:43] isaiah_ has joined the channel
[16:43] mmalecki: TheJH: yeah
[16:43] jbrokc has joined the channel
[16:43] jbrokc__ has joined the channel
[16:44] mmalecki: TheJH: (I'm using mikeal's replicate)
[16:44] isaacs: mmalecki: that's a 401 coming from your own server, i'd imagine.
[16:44] mmalecki: isaacs: yes, from my couch
[16:44] isaacs: mmalecki: are you in admin party? if not, you must supply an admin username and password.
[16:44] TheJH: mmalecki, you might want to check whether it's maybe still replicating?
[16:44] isaacs: a 401 is definitely you not logging in properly.
[16:44] isaacs: it needs authentication.
[16:44] TheJH: ah, right
[16:44] isaiah_ has joined the channel
[16:44] mmalecki: isaacs: the weird thing is, I am in admin party
[16:45] isaacs: mmalecki: that's 100% a couch error, then, sorry.
[16:45] isaacs: no idea.
[16:45] TheJH: mmalecki, sure? are you using futon or the cli?
[16:45] TheJH: s/cli/raw http api/
[16:45] mmalecki: TheJH: futon. there's a warning in the right panel
[16:45] ryanj has joined the channel
[16:45] TheJH: mmalecki, what kind of warning? also, are you still in admin party when you F5?
[16:46] Isaiah__ has joined the channel
[16:46] mmalecki: TheJH: yes. I will gist you couch logs, give me a sec
[16:46] koffsyrup has joined the channel
[16:47] stephank has joined the channel
[16:47] TheJH: mmalecki, did you try turning it (couch) off and on again? :P
[16:48] mmalecki: TheJH: :D
[16:52] harthur has joined the channel
[16:52] koffsyrup has joined the channel
[16:52] mmalecki: TheJH: https://gist.github.com/f85bcdc4f91cf9543d22 <- something like that, just repeated
[16:53] mmalecki: and futon looks like: http://i.imgur.com/VWxiG.png
[16:53] towski has joined the channel
[16:53] TheJH: mmalecki, you're replicating in the right direction, right?
[16:54] isaacs: mattrobenolt: hey
[16:54] jbrokc_ has joined the channel
[16:54] TheJH: mmalecki, maybe it's a couch bug? try making an admin, logging in and restarting replication
[16:54] mmalecki: TheJH: of course I am
[16:54] jbrokc___ has joined the channel
[16:54] TheJH: mmalecki, maybe you should ask in #couchdb
[16:54] isaacs: mattrobenolt: so, not sure if i'm reading this right, but it looks like the exports.unzip, inflate, gunzip could use the same compressBuffer function.
[16:54] mmalecki: TheJH: possibly. I will try later
[16:54] isaacs: just provide an Unzip() as the engine
[16:55] CIA-109: node: 03Bert Belder 07master * r189dd8f 10/ (10 files in 2 dirs): Fix line endings and trailing whitespace - https://github.com/joyent/node/commit/189dd8f8034213d476e79845ad43563eb934fcf9
[16:55] CIA-109: node: 03Bert Belder 07master * r6ee73a2 10/ (src/node.cc src/node.h): Windows: ErrnoException shouldn't mix up crt and win32 errors - https://github.com/joyent/node/commit/6ee73a2fee78eeda8eb5d171dbf0b9d13ce54119
[16:55] CIA-109: node: 03Bert Belder 07master * r35f4182 10/ src/node.cc : Make error reporting from node::DLOpen more consistent - https://github.com/joyent/node/commit/35f4182cee079e2c481dc436f5ea97966957def8
[16:55] CIA-109: node: 03Bert Belder 07master * r829735e 10/ (3 files in 3 dirs): Implement process._debugProcess - http://git.io/hNZPfw
[16:55] mmalecki: btw, isaacs' couch fails to replicate without mikeal's replicate
[16:55] CIA-109: node: 03Fedor Indutny 07master * rb5d32d4 10/ (3 files in 3 dirs):
[16:55] CIA-109: node: debugger: do not request `continue` on connection
[16:55] CIA-109: node: * Updated test
[16:55] CIA-109: node: * Use `node debug file`, not `node debug -e "..."` in test - http://git.io/t4Ayrw
[16:55] takezawa has joined the channel
[16:55] mmalecki: I mean, I can't replicate it using couch's built-in replication
[16:55] rodr1go has joined the channel
[16:56] takezawa has joined the channel
[16:56] Carter has joined the channel
[16:57] koffsyrup has joined the channel
[16:57] rickharrison has joined the channel
[16:59] pizthewiz has joined the channel
[16:59] jbrokc has joined the channel
[17:00] takezawa has joined the channel
[17:00] CIA-109: node: 03Fedor Indutny 07master * r8ef2c13 10/ test/simple/test-debugger-repl.js : fix debugger-repl test - http://git.io/fnyTKQ
[17:00] chrislorenz has joined the channel
[17:01] nils_r has joined the channel
[17:01] ryan_stevens has joined the channel
[17:01] animorten has joined the channel
[17:02] koffsyrup has joined the channel
[17:02] mandric has joined the channel
[17:03] luke` has joined the channel
[17:04] jbrokc__ has joined the channel
[17:04] jbrokc_ has joined the channel
[17:04] isaacs: mattrobenolt: https://github.com/isaacs/node/commit/8e2a468e38407b8569508437619190ee9a7c1648
[17:04] arcanis has joined the channel
[17:04] JaKWaC has joined the channel
[17:04] Squeese has joined the channel
[17:04] mmalecki: TheJH: I can't create anything, so not a replication-specific issue
[17:05] TheJH: mmalecki, only in the registry or also in other dbs?
[17:05] mmalecki: TheJH: registry only
[17:06] wadey has joined the channel
[17:06] ryan_stevens has left the channel
[17:06] perezd has joined the channel
[17:06] TheJH: mmalecki, what's your couchdb version? did you install latest from svn or a tarball/fedora package?
[17:06] Wizek has joined the channel
[17:07] koffsyrup has joined the channel
[17:07] mmalecki: TheJH: brew, it's 1.1.0
[17:08] syoyo_ has joined the channel
[17:08] mmalecki: I remember getting it to work on Fedora, though
[17:08] adrianF has joined the channel
[17:08] nibblebot has joined the channel
[17:08] TheJH: mmalecki, I'm using 1.2.0a-1156355 from svn and it worked the last time I tried
[17:08] saikat has joined the channel
[17:08] spcshpopr8r has joined the channel
[17:09] mattrobenolt: isaacs: You're right.
[17:09] TheJH: mmalecki, did you try creating an admin?
[17:09] mattrobenolt: It wasn't like that when I first wrote it, then things were converted to purely working with buffers. Now it all uses the same thing. :)
[17:09] mattrobenolt: Good catch.
[17:09] isaacs: mattrobenolt: that happens sometimes, it's a good sign :0
[17:09] mmalecki: TheJH: not yet
[17:10] isaacs: so, i'm going to squash this all into one and get a review from someone else. since i touched the code, i'm no longer eligible to have the final say on it :)
[17:10] githogori has joined the channel
[17:10] mattrobenolt: isaacs: haha, fair enough. Hopefully it makes it in. I'd like to use it for a project I'm writing. :)
[17:10] TheJH: mmalecki, sorry for the confusion, I only tried it with an admin user
[17:10] mmalecki: isaacs: btw, your registry can't be replicated with built-in replication
[17:10] isaacs: mattrobenolt: i also updated it to use Gunzip for exports.gunzip(), rather than everything using Unzip
[17:11] isaacs: mmalecki: weird.
[17:11] mmalecki: TheJH: hm, ok, I will give it a go later
[17:11] ajpiano has joined the channel
[17:11] isaacs: and added {in,de}flateRaw() methods
[17:11] broofa has joined the channel
[17:11] mattrobenolt: isaacs: Is there a reason for that? Doesn't Unzip calculate which method to use?
[17:11] isaacs: mattrobenolt: yeah, but if you're explicitly calling gunzip, you probably want it to error if it's a deflate file.
[17:11] hkjels has joined the channel
[17:11] isaacs: if you want to auto-detect, then you can call zlib.unzip()
[17:11] mattrobenolt: Gothcha. I err'd on the side of it just working no matter what.
[17:12] mmalecki: isaacs: on couch 1.1.0, os x it fails with "{"error":"json_encode","reason":"{bad_term,{nocatch,{invalid_json,<<>>}}}"}"
[17:12] isaacs: mmalecki: yeah, i've seen that. can't fix or investigate right now. talk to JasonSmith, he's the iriscouch guy.
[17:12] koffsyrup has joined the channel
[17:12] mmalecki: isaacs: ok, no problem :)
[17:13] mattrobenolt: isaacs: Hence why I just set them all up as an alias. ;)
[17:13] mmalecki: JasonSmith: ping?
[17:14] yozgrahame has joined the channel
[17:15] goshakkk has joined the channel
[17:15] Liquid-Silence has joined the channel
[17:15] guillermo has joined the channel
[17:16] Liquid-Silence has joined the channel
[17:16] bengrue has joined the channel
[17:16] digman543 has joined the channel
[17:17] brion has joined the channel
[17:17] koffsyrup has joined the channel
[17:18] zmbmartin: how do I delete all files in a directory?
[17:18] mmalecki: TheJH: it works on Couch 1.0.2 on Fedora
[17:19] Sembiance: zmbmartin: rm -rf ? :)
[17:19] StanlySoManly has joined the channel
[17:19] luke`_ has joined the channel
[17:19] mmalecki: zmbmartin: rimraf
[17:19] Isaiah has joined the channel
[17:20] Sembiance: zmbmartin: fs.rmdir("/path");
[17:21] mmalecki: hm, cool, brew has couch 1.1.1, updating now
[17:21] zmbmartin: Sembiance: ;) thanks I was looking at the wrong version of docs
[17:21] isaiah_ has joined the channel
[17:21] Liquid-Silence has joined the channel
[17:21] TooTallNate has joined the channel
[17:21] isaacs: mattrobenolt: you signed the cla?
[17:21] rendar has joined the channel
[17:22] mattrobenolt: Yep.
[17:22] jbrokc___ has joined the channel
[17:22] jbrokc has joined the channel
[17:22] isaacs: kewl
[17:22] koffsyrup has joined the channel
[17:22] martin_sunset has joined the channel
[17:25] mattrobenolt: isaacs++
[17:26] mattrobenolt: isaacs: Thanks for the help. :) First code in Node core.
[17:26] isaacs: nice, welcome :)
[17:26] mmalecki: mattrobenolt++
[17:26] Liquid-Silence has joined the channel
[17:27] Liquid-Silence has joined the channel
[17:27] koffsyrup has joined the channel
[17:27] Liquid-Silence has joined the channel
[17:28] adrianmg has joined the channel
[17:28] lzskiss has joined the channel
[17:28] lzskiss: yo
[17:28] JaKWaC: Anyone a sublime text 2 user? I can't seem to find how to "goto matching bracket"
[17:29] Liquid-Silence has joined the channel
[17:29] adrianmg has left the channel
[17:30] Danielpk has joined the channel
[17:30] Morkel has joined the channel
[17:31] zmbmartin: JaKWaC: ctrl - m
[17:31] JaKWaC: Thanks!
[17:32] DTrejo has joined the channel
[17:32] vkandy has joined the channel
[17:33] m4rcs: Hey how do i access the x-real-ip property https://gist.github.com/08784d20c149a109ff3d
[17:33] DTrejo: hi #node.js
[17:33] alexdoom has joined the channel
[17:33] CIA-109: node: 03Matt Robenolt 07master * r5213c39 10/ (3 files in 3 dirs): (log message trimmed)
[17:33] CIA-109: node: Close #1930 Convenience methods for zlib
[17:33] CIA-109: node: This is a combination of 20 commits. Their commit messages are preserved
[17:33] CIA-109: node: below for the benefit of future generations.
[17:33] CIA-109: node: * Adding a shortcut to easily compress/decompress a string of text.
[17:33] CIA-109: node: * Making the API consistent. unzip should accept a Buffer for input as well.
[17:33] CIA-109: node: * Adding docs.
[17:33] isaacs: mattrobenolt: thanks!
[17:33] patcito has joined the channel
[17:34] rogerb has joined the channel
[17:34] dsirijus has joined the channel
[17:34] koffsyrup has joined the channel
[17:34] Liquid-Silence has joined the channel
[17:34] jbrokc__ has joined the channel
[17:34] jbrokc_ has joined the channel
[17:34] Liquid-Silence has joined the channel
[17:35] Liquid-Silence has joined the channel
[17:35] Liquid-Silence has joined the channel
[17:36] Liquid-Silence has joined the channel
[17:36] anoop has joined the channel
[17:36] sdwrage has joined the channel
[17:36] Liquid-Silence has joined the channel
[17:37] Liquid-Silence has joined the channel
[17:37] fzzzy has joined the channel
[17:38] Liquid-Silence has joined the channel
[17:38] jsurfer has joined the channel
[17:38] bnoordhuis has joined the channel
[17:38] Liquid-Silence has joined the channel
[17:39] koffsyrup has joined the channel
[17:39] Liquid-Silence has joined the channel
[17:39] cjroebuck has joined the channel
[17:40] Liquid-Silence has joined the channel
[17:40] fread228_ has joined the channel
[17:43] tomlion has joined the channel
[17:43] Liquid-Silence has joined the channel
[17:43] lyte has joined the channel
[17:43] lyte has joined the channel
[17:43] eb4890 has joined the channel
[17:44] jbrokc has joined the channel
[17:44] jbrokc___ has joined the channel
[17:44] koffsyrup has joined the channel
[17:44] tomlion has joined the channel
[17:45] seanhess has joined the channel
[17:46] mmalecki: shit. I accidentally my git branch. commits are still there, though. how do I restore it
[17:46] mmalecki: ?
[17:46] captain_morgan has joined the channel
[17:47] KiNgMaR: accidentally what?
[17:47] mattrobenolt: What's the recommended utility to monitor your node processes?
[17:47] mattrobenolt: monit?
[17:47] TheJH: mmalecki, you just have to create a file in .git/refs/heads/
[17:47] TheJH: mmalecki, filename is the branch name, content is full hash
[17:47] teknopaul has joined the channel
[17:48] mmalecki: TheJH: nice, thanks
[17:48] TheJH: mmalecki, hmm... I guess you could also just checkout the commit and create a new branch :D
[17:48] agnat has joined the channel
[17:49] TheJH: but it's interesting to do it manually, too :D
[17:49] mmalecki: haha, definitely :D
[17:49] koffsyrup has joined the channel
[17:49] fread2281 has joined the channel
[17:49] bnoordhuis: mmalecki: git checkout -b your-branch
[17:49] TheJH: bnoordhuis, that's the boring way :D
[17:50] dshaw_ has joined the channel
[17:51] dwasp has joined the channel
[17:52] mmalecki: bnoordhuis: that's not how real man do it :D
[17:52] isaacs: wait wait wait, you guys use the git command line utility? pussies.
[17:52] isaacs: just cat to the ref files yourself.
[17:52] isaacs: jeez.
[17:52] robinduckett: isaacs: wait wait wait, you use something other than the git command line? pussy.
[17:52] DTrejo: I write my git commands in assembly
[17:52] bnoordhuis: i always edit the pack files with ed
[17:53] isaacs: robinduckett: i just pipe from stdout using >
[17:53] robinduckett: I send my git commands via carrier pidgeon
[17:53] isaacs: and <
[17:53] isaacs: lol
[17:53] isaacs: ACTION is indeed a pussy
[17:53] robinduckett: via TCP/Carrier Pidgeon
[17:53] isaacs: ACTION doesn't even use git directly most of the time, instead favoring various bashrc shortcuts.
[17:54] robinduckett: TCP/CP as defined by RFC1149 (http://www.ietf.org/rfc/rfc1149.txt)
[17:54] shedinja: i have my maid type my git commands
[17:54] annoyance-bot: isaacs haha me too
[17:54] annoyance-bot: too much
[17:54] annoyance-bot: i forget the real commands
[17:54] koffsyrup has joined the channel
[17:54] jbrokc__ has joined the channel
[17:54] jbrokc_ has joined the channel
[17:54] isaacs: i always have to do declare -f when someone asks how to do something in git
[17:55] jtsnow has joined the channel
[17:56] mmalecki: I store my repos on punched cards.
[17:56] ryanrolds_w has joined the channel
[17:57] Liquid-Silence has joined the channel
[17:57] cgfuh has joined the channel
[17:57] catb0t has joined the channel
[17:57] Liquid-Silence has joined the channel
[17:58] Liquid-Silence has joined the channel
[17:58] Liquid-Silence has joined the channel
[17:59] Liquid-Silence has joined the channel
[17:59] koffsyrup has joined the channel
[17:59] Liquid-Silence has joined the channel
[18:00] mmalecki: btw, can we get this pulled/fixed before v0.6? https://github.com/joyent/node/pull/1934
[18:00] DTrejo has joined the channel
[18:00] Liquid-Silence has joined the channel
[18:00] patcito has joined the channel
[18:00] saikat has joined the channel
[18:01] Liquid-Silence has joined the channel
[18:01] joshkehn has joined the channel
[18:01] joshkehn has left the channel
[18:01] pickels_ has joined the channel
[18:02] mmalecki: (it messes up node-prompt and probably pretty much every other prompt module pretty badly)
[18:02] jxson has joined the channel
[18:03] zipR4ND has left the channel
[18:03] grampajoe has joined the channel
[18:03] DTrejo_ has joined the channel
[18:03] jxson has joined the channel
[18:04] Liquid-Silence has joined the channel
[18:04] koffsyrup has joined the channel
[18:04] Liquid-Silence has joined the channel
[18:05] Liquid-Silence has joined the channel
[18:05] francisl has joined the channel
[18:06] dubenstein has joined the channel
[18:06] sdwrage has joined the channel
[18:06] vicapow has joined the channel
[18:07] matyr has joined the channel
[18:07] anoop has joined the channel
[18:07] ceej_ has joined the channel
[18:08] tlocalhos has joined the channel
[18:09] vicapow: can someone pass me a good example of writing an addon on c++ that isn't this one on nodejs.org ? that ones out of date
[18:09] Liquid-Silence has joined the channel
[18:09] vicapow: http://nodejs.org/docs/v0.5.10/api/addons.html
[18:09] zeade has joined the channel
[18:09] koffsyrup has joined the channel
[18:10] dnyy has joined the channel
[18:10] mmalecki: whoops.
[18:11] mmalecki: ACTION waits for a tag
[18:11] DTrejo: ^^
[18:11] lazyshot has joined the channel
[18:11] mmalecki: (it stops being funny when you have to port 20 or so modules)
[18:12] DTrejo: n_n
[18:13] mmalecki: also, good news! http://nodejs-vs-ror.nodejitsu.com/
[18:14] jesusabdullah: mmalecki: Make it do the MS Solitaire-style cards-jumping-thing when it bumps over
[18:14] _th_n has joined the channel
[18:14] Liquid-Silence has joined the channel
[18:14] mmalecki: jesusabdullah: haha, that would be cool
[18:14] mmalecki: also, I have to give it some socket.io
[18:15] baudehlo: bnoordhuis: ping
[18:15] mmalecki: real-time nerdfight!
[18:15] jesusabdullah: :D
[18:15] koffsyrup has joined the channel
[18:15] jesusabdullah: aww yeah
[18:15] DTrejo: give the rails guys a disadvantage
[18:16] anoop has joined the channel
[18:16] mandric has joined the channel
[18:18] annoyance-bot has joined the channel
[18:18] piscisaureus_ has joined the channel
[18:18] wankdanker: anyone have a how-to compile on windows?
[18:18] AvianFlu has joined the channel
[18:19] gkatsev: for a second I read that as you asking how to compile windows rather than how to compile node on windows
[18:19] Liquid-Silence has joined the channel
[18:20] wankdanker: lol
[18:20] ultramagnus has joined the channel
[18:20] KiNgMaR: https://github.com/joyent/node/wiki/Installation section 3b is a good point to start with :)
[18:20] koffsyrup has joined the channel
[18:20] ryah: wankdanker: "vcbuild.bat release"
[18:20] Liquid-Silence has joined the channel
[18:21] Liquid-Silence has joined the channel
[18:21] wankdanker: thanks gusy
[18:21] wankdanker: *guys
[18:21] Liquid-Silence has joined the channel
[18:22] Liquid-Silence has joined the channel
[18:22] gkatsev: "IMPORTANT Isaacs will explode your computer across space and time through sheer force of will if you create issues without following the instructions exactly or without fully providing the requisite debug info" lol
[18:22] Liquid-Silence has joined the channel
[18:23] isaacs: hahaha, wut?
[18:23] wbednarski has joined the channel
[18:23] gkatsev: isaacs: it's from that installation page about npm on windows
[18:23] Liquid-Silence has joined the channel
[18:23] coderdad has joined the channel
[18:23] isaacs: oh, lol
[18:23] lazyshot_ has joined the channel
[18:23] DTrejo: gkatsev++
[18:23] catb0t: gkatsev now has 1 beer
[18:24] Liquid-Silence has joined the channel
[18:24] mmalecki: I wanted to get rid of my old PC anyway...
[18:24] mmalecki: isaacs: I can't install npm on Windows. it's totally your fault. fix it.
[18:24] Liquid-Silence has joined the channel
[18:24] `3rdEden has joined the channel
[18:25] mehlah has joined the channel
[18:25] Liquid-Silence has joined the channel
[18:25] mehlah has joined the channel
[18:25] Liquid-Silence has joined the channel
[18:25] koffsyrup has joined the channel
[18:25] blup has joined the channel
[18:26] lazyshot has joined the channel
[18:27] mmalecki: nothing happened. I am disappoint.
[18:28] gkatsev: mmalecki: you need to create a github issue
[18:29] eddyb: hmm, a good idea would be to make a make.bat file that calls gyp/some other trickery to simulate make or just do that damn build
[18:29] ajpiano has joined the channel
[18:30] mmalecki: gkatsev: then isaacs will gain teh force?
[18:30] Liquid-Silence has joined the channel
[18:31] koffsyrup has joined the channel
[18:31] Liquid-Silence has joined the channel
[18:32] Liquid-Silence has joined the channel
[18:32] Liquid-Silence has joined the channel
[18:32] jbrokc has joined the channel
[18:33] mmalecki: nice. forever api works, cli doesn't.
[18:33] Liquid-Silence has joined the channel
[18:34] alexdoom has joined the channel
[18:34] jspiros has joined the channel
[18:34] Liquid-Silence has joined the channel
[18:34] Venom_X has joined the channel
[18:35] Liquid-Silence has joined the channel
[18:35] Liquid-Silence has joined the channel
[18:36] jslatts has joined the channel
[18:36] Liquid-Silence has joined the channel
[18:36] Liquid-Silence has joined the channel
[18:37] sstreza has joined the channel
[18:37] koffsyrup has joined the channel
[18:37] Liquid-Silence has joined the channel
[18:37] MatthewS has joined the channel
[18:37] kickingvegas has joined the channel
[18:38] Liquid-Silence has joined the channel
[18:38] mmalecki: bnoordhuis: pign?
[18:38] Liquid-Silence has joined the channel
[18:38] mmalecki: *ping
[18:39] Liquid-Silence has joined the channel
[18:39] arcanis has joined the channel
[18:39] Liquid-Silence has joined the channel
[18:41] eldios has joined the channel
[18:42] koffsyrup has joined the channel
[18:42] sstreza has joined the channel
[18:42] wankdanker: ryah: Here are my tests: https://gist.github.com/1339957 I will be adding more
[18:42] TheJH: git blame says that "Benvie " added that "Isaacs will explode your computer across space and time through sheer force of will..." note
[18:42] lazyshot_ has joined the channel
[18:43] TheJH: brandon? who's that?
[18:43] jocafa: that is an excellent commit message
[18:44] Mad has joined the channel
[18:44] Liquid-Silence has joined the channel
[18:44] kuya has joined the channel
[18:45] harthur has joined the channel
[18:45] Destos has joined the channel
[18:45] jocafa: "Might seem like there's no DRM but I'll explode your computer like COBRA done to GI Joe on the episode about computer viruses." — MC Frontalot, "Charity Case"
[18:47] ryah: wankdanker: can you paste the failures too?
[18:47] murvin has joined the channel
[18:47] koffsyrup has joined the channel
[18:47] wankdanker: ryah: sorry, yup. i can do that.
[18:48] chrixian has joined the channel
[18:48] Renegade001 has joined the channel
[18:49] seanhess has joined the channel
[18:49] skampy has joined the channel
[18:49] Liquid-Silence has joined the channel
[18:50] Liquid-Silence has joined the channel
[18:51] lazyshot has joined the channel
[18:51] MatthewS has joined the channel
[18:52] koffsyrup has joined the channel
[18:53] francisl: is it possible to bundle a nodejs app in a single binary?
[18:53] jbrokc_ has joined the channel
[18:54] lazyshot_ has joined the channel
[18:54] NetRoY has joined the channel
[18:55] TheJH: francisl, yes
[18:55] TheJH: francisl, but really, why?
[18:56] Liquid-Silence has joined the channel
[18:56] francisl: easier to convince the sysadmin
[18:56] Me1000 has joined the channel
[18:56] Liquid-Silence has joined the channel
[18:56] francisl: or to make desktop app
[18:57] anoop has joined the channel
[18:57] koffsyrup has joined the channel
[18:57] bnoordhuis: mmalecki: pogn
[18:57] Liquid-Silence has joined the channel
[18:58] Liquid-Silence has joined the channel
[18:58] TheJH: francisl, ah, you're talking about a windows sysadmin, right?
[18:58] francisl: is there any documentation I can read on how to do that?
[18:58] TheJH: francisl, because I'm pretty sure it'd make a unix admin headbang
[18:58] francisl: Linux, but still really conservative
[18:58] mmalecki: bnoordhuis: :D. https://github.com/joyent/node/pull/1983 ? (tls)
[18:58] Liquid-Silence has joined the channel
[18:58] AvianFlu: on how to talk to windows sysadmins? no, there's no book for that XD
[18:59] TheJH: francisl, why not just put your node binary and the application stuff in the same folder?
[18:59] langworthy has joined the channel
[18:59] mmalecki: bnoordhuis: and that stdin pause/resume, any chance to get it merged/fixed before 0.6?
[18:59] Liquid-Silence has joined the channel
[18:59] mmalecki: AvianFlu: 0. take a gun.
[18:59] Liquid-Silence has joined the channel
[19:00] mmalecki: AvianFlu: also, should I get my skype ready now or in an hour?
[19:00] bnoordhuis: mmalecki: well... it's very last minute
[19:00] Liquid-Silence has joined the channel
[19:00] Liquid-Silence has joined the channel
[19:00] AvianFlu: mmalecki, now
[19:00] francisl: yeah, good idea, shouldn't be hard, and add the node_modules in it
[19:01] Liquid-Silence has joined the channel
[19:01] mmalecki: bnoordhuis: this tls isn't that important. however this stdin thing kinda messes up few modules
[19:01] mmalecki: AvianFlu: k, thanks
[19:01] francisl: I'will give it a try, thanks
[19:01] Liquid-Silence has joined the channel
[19:02] bnoordhuis: mmalecki: https://github.com/joyent/node/pull/1934 ? but that's only tests
[19:02] Liquid-Silence has joined the channel
[19:02] koffsyrup has joined the channel
[19:02] Liquid-Silence has joined the channel
[19:03] maushu has joined the channel
[19:03] Liquid-Silence has joined the channel
[19:03] hkjels has joined the channel
[19:04] domino14 has joined the channel
[19:04] anoop has joined the channel
[19:04] Liquid-Silence has joined the channel
[19:04] xetorthio has joined the channel
[19:04] deedubs: what would people recommend for realtime server to server communication? dnode? direct TCP?
[19:04] Liquid-Silence has joined the channel
[19:04] domino14: is there any way to save information with a client instance in socket.io? i have socket.sockets.on('connection', function (client) { … } ) …. i want to attach addiitonal information per client
[19:05] TheJH: if the topic is "v0.6.0", does that mean that the release is in the next few days/hours?
[19:05] domino14: and have node.js remember it. where would it store it? etc
[19:05] TheJH: domino14, "client.foo = 'bar'"?
[19:05] Liquid-Silence has joined the channel
[19:05] langworthy_ has joined the channel
[19:05] domino14: where does it remember it?
[19:05] domino14: what limit do i have. is it individual to each client?
[19:05] domino14: <— noob
[19:06] Liquid-Silence has joined the channel
[19:06] Liquid-Silence has joined the channel
[19:06] DTrejo: domino14: you might just want to keep a separate object that maps client id to the data you want to store
[19:07] Liquid-Silence has joined the channel
[19:07] koffsyrup has joined the channel
[19:07] Liquid-Silence has joined the channel
[19:08] Liquid-Silence has joined the channel
[19:08] Liquid-Silence has joined the channel
[19:09] domino14: good idea
[19:09] Liquid-Silence has joined the channel
[19:10] Liquid-Silence has joined the channel
[19:10] Liquid-Silence has joined the channel
[19:10] Liquid-Silence has joined the channel
[19:10] jbrokc has joined the channel
[19:11] CIA-109: node: 03Jacob H.C. Kragh 07master * r44a5452 10/ doc/api/fs.markdown : docs: fix typo in the documented fchown signature - http://git.io/rTF0Dw
[19:11] Liquid-Silence has joined the channel
[19:11] Liquid-Silence has joined the channel
[19:12] jbrokc__ has joined the channel
[19:12] jbrokc___ has joined the channel
[19:12] koffsyrup has joined the channel
[19:13] dreamdust has joined the channel
[19:13] Bwen has left the channel
[19:13] Renegade001 has joined the channel
[19:16] Liquid-Silence has joined the channel
[19:16] strmpnk_ has joined the channel
[19:17] Liquid-Silence has joined the channel
[19:17] heavysixer has joined the channel
[19:17] Liquid-Silence has joined the channel
[19:17] koffsyrup has joined the channel
[19:18] bodisiw has joined the channel
[19:18] hipsterslapfight has joined the channel
[19:18] Liquid-Silence has joined the channel
[19:19] mmalecki: bnoordhuis: also, a little clarification on this: https://github.com/joyent/libuv/issues/106, does it mean that when we fork a process, child doesn't get the same file descriptors as parent had?
[19:19] Mashed has joined the channel
[19:19] tilgovi has joined the channel
[19:19] tilgovi has joined the channel
[19:19] KiNgMaR: uhm. can I attach a pull request to an existing bug report?
[19:19] mmalecki: KiNgMaR: API
[19:19] mmalecki: or just reference ir
[19:19] ayosec has joined the channel
[19:19] mmalecki: *it
[19:20] sineltor has joined the channel
[19:20] KiNgMaR: API as in "github API"?
[19:20] bnoordhuis: mmalecki: yes, all file descriptors are closed on execve()
[19:20] mmalecki: KiNgMaR: http://developer.github.com/v3/pulls/#alternative-input
[19:20] mmalecki: bnoordhuis: let me guess, that didn't happen in 0.4?
[19:21] KiNgMaR: I see, thanks
[19:21] bnoordhuis: mmalecki: no, we set CLOEXEC in 0.4 too
[19:21] KiNgMaR: I'll just ref it :P
[19:21] ayosec has left the channel
[19:22] ayosec has joined the channel
[19:22] hellp has joined the channel
[19:22] mmalecki: bnoordhuis: hrm, OK, thanks
[19:22] thurmda has joined the channel
[19:23] koffsyrup has joined the channel
[19:24] Liquid-Silence has joined the channel
[19:25] jbrokc_ has joined the channel
[19:25] jbrokc has joined the channel
[19:25] sfoster has joined the channel
[19:28] joshkehn has joined the channel
[19:28] koffsyrup has joined the channel
[19:29] joshkehn has left the channel
[19:29] mike5w3c has joined the channel
[19:29] ajpiano has joined the channel
[19:30] Liquid-Silence has joined the channel
[19:31] perezd has joined the channel
[19:31] Liquid-Silence has joined the channel
[19:31] Liquid-Silence has joined the channel
[19:32] Liquid-Silence has joined the channel
[19:33] Liquid-Silence has joined the channel
[19:33] koffsyrup has joined the channel
[19:33] _bat has joined the channel
[19:33] Liquid-Silence has joined the channel
[19:34] AvianFlu_ has joined the channel
[19:34] Liquid-Silence has joined the channel
[19:34] alexdoom has joined the channel
[19:35] Liquid-Silence has joined the channel
[19:35] Liquid-Silence has joined the channel
[19:36] Liquid-Silence has joined the channel
[19:36] shedinja_ has joined the channel
[19:36] Liquid-Silence has joined the channel
[19:37] Liquid-Silence has joined the channel
[19:37] Liquid-Silence has joined the channel
[19:38] Xano has joined the channel
[19:39] Liquid-Silence has joined the channel
[19:39] koffsyrup has joined the channel
[19:41] JaKWaC_ has joined the channel
[19:41] whitman has joined the channel
[19:43] jbpros has joined the channel
[19:43] Liquid-Silence has joined the channel
[19:43] paul__ has joined the channel
[19:44] paul__: anyone know why i might be getting "Error: Cannot find module "dnode" from directory" after I do dnode = require('diode') ?
[19:44] Liquid-Silence has joined the channel
[19:44] paul__: it's installed globally via npm
[19:44] Mad: anyone know any tricks to getting the windows node.exe to work on Window7 64 bit?
[19:44] Mad: using procmon, I can see the request come in but never get a response
[19:44] koffsyrup has joined the channel
[19:44] Liquid-Silence has joined the channel
[19:44] Mad: works great on my Server 2008 R2 box
[19:45] AvianFlu_ has joined the channel
[19:47] Cromulent has joined the channel
[19:48] Liquid-Silence has joined the channel
[19:49] chrixian: paul__ is the directory where you install global modules in your node_path system variable?
[19:49] luke`_ has joined the channel
[19:49] Liquid-Silence has joined the channel
[19:49] paul__: yep it's NODE_PATH set in ~/.profile
[19:49] wadey has joined the channel
[19:49] paul__: dnode is found when i install it locally, oddly.
[19:50] koffsyrup has joined the channel
[19:50] Liquid-Silence has joined the channel
[19:50] davidascher has joined the channel
[19:50] paul__: and dnode is installed in the dir at $NODE_PATH
[19:50] Liquid-Silence has joined the channel
[19:50] chrixian: run node an from the repl type 'require' it'll show an array called paths of where its looking
[19:51] Liquid-Silence has joined the channel
[19:51] paul__: [ '/usr/local/lib/node_modules',
[19:51] paul__: '/Users/paul/.node_modules',
[19:51] paul__: '/Users/paul/.node_libraries',
[19:51] paul__: '/usr/local/lib/node' ],
[19:51] paul__: sry for that
[19:51] Liquid-Silence has joined the channel
[19:52] p1d has joined the channel
[19:52] Renegade001 has joined the channel
[19:52] relative has joined the channel
[19:52] paul__: $ ls $NODE_PATH/dnode
[19:52] paul__: LICENSE bin examples lib package.json README.markdown browser index.js node_modules test
[19:53] chrixian: ya i dunno then, even modules i ahve installed globally for bin access i install local when i plan to require them
[19:53] Mad: is cygwin still the most reliable way to run node on a windows 7 64 bit machine?
[19:53] sdwrage has joined the channel
[19:54] bnoordhuis: Mad: no, cygwin support has been deprecated (removed, actually)
[19:54] chrixian: i think cygwin is totally gone with the windows native binary
[19:54] ej_ has joined the channel
[19:54] Mad: ok
[19:54] vkandy: hey guys can anyone suggest a latest .spec file for latest npm version?
[19:55] Mad: having an issue with node on my machine but works great on my server 2008R2 box
[19:55] metaverse has joined the channel
[19:55] koffsyrup has joined the channel
[19:55] lyte_ has joined the channel
[19:55] Mad: I see the request come in madjohnny.dyndns-home.com:1337 -> madjohnny.dyndns-home.com:50237
[19:55] yozgrahame has joined the channel
[19:56] dwasp has joined the channel
[19:56] Mad: but never get a response from node
[19:56] Mad: just hangs
[19:56] alessioalex has joined the channel
[19:56] Mad: any ideas?
[19:56] Liquid-Silence has joined the channel
[19:57] Liquid-Silence has joined the channel
[19:57] alessioalex: ACTION hello everyone
[19:59] mandric has joined the channel
[20:00] enmand has joined the channel
[20:01] AvianFlu_ has joined the channel
[20:01] malletjo: Anyone have done a stress test of is web application with nodejs using jmeter ? (including websocket)
[20:01] baudehlo: bnoordhuis: hey just a quick suggestion for buffertools - I find myself always doing bt.concat.apply(bt, bufflist) - be nice if concat just knew what to do if you pass an array of Buffers instead.
[20:01] matyr has joined the channel
[20:02] jayjaychicago has joined the channel
[20:02] Me1000 has joined the channel
[20:03] CarterL has joined the channel
[20:03] shipit has joined the channel
[20:04] neilk_ has joined the channel
[20:04] bnoordhuis: baudehlo: oh, that's easy - if you open an issue, i'll add it some time soon
[20:04] baudehlo: kk.
[20:04] mike5w3c has joined the channel
[20:04] baudehlo: issue or patch better?
[20:05] mmalecki: it is a widely known fact that devs love pull requests
[20:05] dipser has joined the channel
[20:05] parshap has joined the channel
[20:05] bnoordhuis: baudehlo: patch > feature request, always :)
[20:06] baudehlo: ACTION does some hot forking action
[20:06] mmalecki: it's hard :D
[20:06] mmalecki: hardcore forking action, iirc :D
[20:07] isaacs has joined the channel
[20:07] jamescarr has joined the channel
[20:07] hotch: hah
[20:07] jamescarr: the other day someone mentioned a good library for faking date
[20:07] jamescarr: so that new Date() returns whatever I want
[20:08] jamescarr: anyone remember what that was?
[20:08] Renegade001 has joined the channel
[20:08] quackquack has joined the channel
[20:09] jamescarr: datejs
[20:10] baudehlo: bnoordhuis: Hmm, this is all C++ though... Would you move concat() into JS space for this, or do it all in C++?
[20:11] lazyshot has joined the channel
[20:11] saikat has joined the channel
[20:12] isaacs: jamescarr: you mean something that just overwrites global.Date with a different function?
[20:12] svnlto has joined the channel
[20:13] jbrokc___ has joined the channel
[20:13] jbrokc__ has joined the channel
[20:14] rcaskey has joined the channel
[20:16] bodisiw has joined the channel
[20:17] bnoordhuis: baudehlo: c++ - flattening the array in js, then .apply()ing it doesn't gain you speed
[20:17] bnoordhuis: baudehlo: well... maybe for .concat(array) doing that in c++ is overkill
[20:18] bnoordhuis: i was thinking of .concat(array1, buffer, array2, string, etc)
[20:18] baudehlo: meh. I'll put in the issue and see if I have time for it later :)
[20:18] _th_n has joined the channel
[20:18] lzskiss: yo
[20:18] cyborg has joined the channel
[20:19] jamescarr: isaacs, yeah
[20:19] jamescarr: someone linked a handy utility that allowed you to set the Date, then clear that set
[20:19] cyborg has left the channel
[20:19] seanhess has joined the channel
[20:22] baudehlo: sounds like about 5 lines of code :)
[20:24] jtsnow has joined the channel
[20:24] jbrokc has joined the channel
[20:24] jbrokc_ has joined the channel
[20:25] N0va` has joined the channel
[20:26] ryanfitz has joined the channel
[20:26] brianc2 has joined the channel
[20:28] joshkehn has joined the channel
[20:28] joshkehn has left the channel
[20:28] malkomalko has joined the channel
[20:29] quackquack: any recommendations for a package for integration testing a web app?
[20:30] metellus has joined the channel
[20:30] olivier has joined the channel
[20:31] wbednarski has joined the channel
[20:32] heavysixer has joined the channel
[20:33] franciscallo has joined the channel
[20:35] paul__: in the client-side code generated by nodeQuery, which is put into /nquery.js, I'm getting an error in Safari saying "undefined" is not a function (evaluating 'require.modules.path()')"…. the line of code says this: var dirname = require._core[filename] ? '': require.modules.path().dirname(filename) nquery.js:135TypeError: 'undefined' is not a function (evaluating 'require.modules.path()');
[20:35] paul__: running node 0.4.12. anyone heard of this before?
[20:35] jbrokc___ has joined the channel
[20:35] jbrokc__ has joined the channel
[20:35] alexdoom has joined the channel
[20:35] paul__: fyi looks like the error was inserted into the line of code
[20:36] kkszysiu_ has joined the channel
[20:41] LifterAH has joined the channel
[20:43] mandric has joined the channel
[20:44] paul__: made a bug https://github.com/tblobaum/nodeQuery/issues/1
[20:44] AvianFlu has joined the channel
[20:46] storrgie has joined the channel
[20:47] mikeal has joined the channel
[20:47] ej__ has joined the channel
[20:47] dilvie has joined the channel
[20:48] wankdanker: ryah: fyi updated results with failure logs: https://gist.github.com/1339957
[20:49] zackattack has joined the channel
[20:53] blup has joined the channel
[20:56] zaheera has joined the channel
[20:57] trotter has joined the channel
[20:58] c4milo has joined the channel
[20:59] JaKWaC has joined the channel
[21:00] rklancer has joined the channel
[21:00] cwrenniks has joined the channel
[21:02] hkjels_ has joined the channel
[21:02] jpdery_ has joined the channel
[21:04] perezd has joined the channel
[21:04] dsirijus has joined the channel
[21:06] devongovett has joined the channel
[21:07] jsurfer has joined the channel
[21:07] devongovett has joined the channel
[21:09] tomyan has joined the channel
[21:10] Dulak has joined the channel
[21:11] hydrozen has joined the channel
[21:12] jldbasa has joined the channel
[21:12] tilgovi has joined the channel
[21:12] tilgovi has joined the channel
[21:12] lazyshot_ has joined the channel
[21:13] jsurfer has joined the channel
[21:14] mike5w3c has joined the channel
[21:16] eignerchris_ has joined the channel
[21:16] N0va` has joined the channel
[21:19] lazyshot has joined the channel
[21:20] mandric has joined the channel
[21:20] sineltor has joined the channel
[21:20] micheil has joined the channel
[21:20] eignerchris has joined the channel
[21:20] b_erb has joined the channel
[21:21] b_erb: how can i set the source port when sending UDP4 datagrams?
[21:22] ohtogo has joined the channel
[21:23] PatF has joined the channel
[21:23] mehtryx has joined the channel
[21:25] piscisaureus_ has joined the channel
[21:28] AvianFlu_ has joined the channel
[21:28] DTrejo_ has joined the channel
[21:29] enmand_ has joined the channel
[21:29] martin_sunset has joined the channel
[21:31] monokrome has joined the channel
[21:31] DoNaLd` has joined the channel
[21:33] mattpodwysocki has joined the channel
[21:33] saikat has joined the channel
[21:34] vicapow: would I be right to assume v8 is compiled into node?
[21:34] charlenopires has joined the channel
[21:34] vicapow: not linked?
[21:35] baudehlo: yes
[21:35] alexdoom has joined the channel
[21:36] joshkehn has joined the channel
[21:36] joshkehn has left the channel
[21:36] cronopio has joined the channel
[21:37] saikat has joined the channel
[21:38] Fuu has joined the channel
[21:39] themiddleman_itv has joined the channel
[21:39] baudehlo1 has joined the channel
[21:41] wankdanker: b_erb: you have to bind first, otherwise it will be random (http://nodejs.org/docs/v0.5.10/api/all.html#dgram.send)
[21:42] b_erb: wankdanker: thanks, realized that i need a socket anyway :)
[21:42] davidbanham has joined the channel
[21:42] baudehlo1: anyone want to help me figuring this out? https://gist.github.com/1340555 - node-iconv not producing the correct results.
[21:43] wankdanker: baudehlo1: i'll bite
[21:43] baudehlo1: The comments should explain everything.
[21:43] mattrobenolt has left the channel
[21:43] wankdanker: baudehlo1: k
[21:44] baudehlo: basically doing the same encode with node-iconv vs /usr/bin/iconv appear to result in different outputs (with /usr/bin/iconv giving me what is required)
[21:44] davidbanham has joined the channel
[21:45] stagas has joined the channel
[21:47] rev087 has joined the channel
[21:47] CIA-109: libuv: 03Igor Zinkovsky 07master * rfe97c4d 10/ (src/win/fs.c test/test-fs.c test/test-list.h): windows: honor O_APPEND in uv_fs_open - http://git.io/wsRSjQ
[21:48] teknopaul has left the channel
[21:48] b_erb has left the channel
[21:49] joeytwiddle has joined the channel
[21:49] Sorella has joined the channel
[21:49] ircdearia has joined the channel
[21:49] ajpiano has joined the channel
[21:49] goshakkk has joined the channel
[21:51] wankdanker: baudehlo: it looks like from my location, i'm getting a different result from www.google.it; I'm getting a bunch of HTML.
[21:51] baudehlo: Yeah you do, you need to look for that string.
[21:51] wankdanker: Hah!
[21:51] ohtogo has joined the channel
[21:52] jxson has joined the channel
[21:52] baudehlo: sorry... I had no easy way to strip the HTML without worrying I was passing it through another conversion layer
[21:52] bloga has joined the channel
[21:52] wankdanker: baudehlo: no worries
[21:52] bloga: 0,4OL� ENTREM NO SERVIDOR irc.BrasIRC.org, e conecte num servidor aonde ircops/admins n�o le�m seus pvts.!
[21:52] bloga has left the channel
[21:53] baudehlo: if you do | grep 'il server'
[21:53] baudehlo: it works
[21:53] JKarsrud: hi there
[21:53] wankdanker: baudehlo: with the code as provided in the gist, i see "il server non è riuscito"
[21:53] JKarsrud: I'm having a strange issue with express
[21:53] metellus has joined the channel
[21:53] baudehlo: wankdanker: bugger. Is that *without* passing it through /usr/bin/iconv ?
[21:53] wankdanker: baudehlo: yes
[21:54] baudehlo: oh wait, is your terminal expecting ISO-8859-1?
[21:54] JKarsrud: I'm trying to do a var mod = require('lib/some_module'); but it keeps saying it can't find it. If I do var mod = require(__dirname + '/lib/some_module'); it works...
[21:54] JKarsrud: why is this?
[21:54] wankdanker: baudehlo: let me add, that i just added the required deps via npm, could i have a newer version of node-iconv?
[21:54] JKarsrud: is it because it's looking in node_modules by default or something?
[21:54] baudehlo: nah, I installed it today
[21:54] mmalecki: JKarsrud: require('./lib/(...)')
[21:54] wankdanker: baudehlo: :-\
[21:55] baudehlo: what OS?
[21:55] devdazed: baudehlo: i am seeing the same issue you are
[21:55] JKarsrud: mmalecki: yeah, that works too, I was just wondering why
[21:55] jocafa: huh. when did raphael 2.0 come out?
[21:55] JKarsrud: Is it because that my module isn't in node_modules?
[21:55] JKarsrud: jocafa: earlier today
[21:55] JKarsrud: :)
[21:55] JKarsrud: it's awesome
[21:55] Poetro has joined the channel
[21:55] Poetro has joined the channel
[21:56] mattpardee: what's different in 2.0?
[21:56] baudehlo: devdazed: ok good :)
[21:56] baudehlo: remember your terminal has to expect UTF-8 to see the issue.
[21:56] wankdanker: baudehlo: idk about ISO-8859-1, default character encoding is UTF-8
[21:57] JKarsrud: mattpardee: no idea, I just saw it on the twitterz
[21:57] wankdanker: baudehlo: let me try xterm or something
[21:57] baudehlo: what OS?
[21:57] wankdanker: baudehlo: Linux 3.0.0-12-generic #20-Ubuntu SMP Fri Oct 7 14:56:25 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux
[21:57] fly-away has joined the channel
[21:59] baudehlo: You'd probably have to print out some chinese or something to check printing unicode from Node works on your terminal :)
[22:01] wankdanker: baudehlo: i just ran 'xterm -en ISO-8859-1', then ran it and i can see your problem.
[22:01] baudehlo: hrm.
[22:02] baudehlo: I wonder if iconv on Lion is playing silly buggers.
[22:02] devdazed: maybe
[22:03] saikat has joined the channel
[22:03] baudehlo: because I just upgraded and now my Haraka mail encoding tests don't work either.
[22:03] baudehlo: I get:
[22:03] baudehlo: found: Test for ����
[22:03] baudehlo: wanted: Test for 中文
[22:04] baudehlo: grr
[22:04] baudehlo: and that's without doing anything to the terminal.
[22:05] baudehlo: oh well, it's late, it's Friday, it is beer time.
[22:05] wankdanker: baudehlo: i requested that same page from google in chinese and i can see it in my UTF-8 terminal, not in the ISO-8859-1
[22:05] davidbanham has joined the channel
[22:05] wankdanker: baudehlo: yes. beer. i'm looking forward to that. :)
[22:09] CIA-109: libuv: 03Igor Zinkovsky 07master * r82cf0b3 10/ src/win/process.c : windows: remove quotes from PATH in uv_spawn - http://git.io/-kDMhg
[22:10] ryah has joined the channel
[22:11] devdazed: baudehlo: when chaining to google.cn. i don't get UTF-8 chars
[22:11] jbrokc has joined the channel
[22:14] localhost has joined the channel
[22:14] CIA-109: node: 03Ryan Dahl 07master * r8652848 10/ (4 files in 3 dirs): new cluster api - http://git.io/K8e61w
[22:15] CIA-109: node: 03Ryan Dahl 07master * rd42006c 10/ (doc/api/cluster.markdown lib/cluster.js):
[22:15] CIA-109: node: cluster: Remove eachWorker, workerCount
[22:15] CIA-109: node: unnecessary - http://git.io/wlUy7Q
[22:15] perezd: dscape: yt?
[22:16] mraleph has joined the channel
[22:16] jtsnow has joined the channel
[22:16] hellp has joined the channel
[22:17] mraleph has joined the channel
[22:19] Swizec has joined the channel
[22:19] vguerra has joined the channel
[22:20] joemccann has joined the channel
[22:21] CIA-109: node: 03Igor Zinkovsky 07master * r5496e67 10/ (5 files in 3 dirs):
[22:21] CIA-109: node: upgrade libuv to 82cf0b38c0
[22:21] CIA-109: node: fixes #2004 - http://git.io/wDSWKQ
[22:21] hkjels_ has joined the channel
[22:23] materialdesigner has joined the channel
[22:24] mike5w3c has joined the channel
[22:30] devdazed: baudehlo: looks like it is a lion issue. theres a workaround though: https://github.com/bnoordhuis/node-iconv/issues/19
[22:31] stagas has joined the channel
[22:32] perezd: interesting bug with URL parsing: https://gist.github.com/0a7652293549447c1420
[22:32] perezd: pathname is totally wrong
[22:32] perezd: href has an errant / in it too
[22:33] Kunda has left the channel
[22:33] devdazed: perezd: is that even a valid url?
[22:33] perezd: yeah
[22:33] _sorensen_: mikeal: thanks for the tip on your request module, got things working perfectly
[22:33] sdwrage has joined the channel
[22:33] devdazed: last i checked you can't have a : in the domain name
[22:33] devdazed: *hostname rather
[22:33] perezd: auth
[22:34] perezd: username:password@host.com
[22:34] devdazed: auth needs an @, foo:bar@whatever.com
[22:34] devdazed: oh i see it now
[22:34] CIA-109: node: 03Ryan Dahl 07master * r1e3e6b7 10/ doc/api/cluster.markdown : cluster: add example for message passing - http://git.io/CuyelQ
[22:34] perezd: yeah, this is probably a bad candidate for url passwor
[22:34] perezd: d
[22:34] perezd: its confusing it with the /
[22:34] devdazed: you're righ
[22:34] devdazed: does it work in the browser?
[22:35] perezd: not sure
[22:35] perezd: its probably encoding them
[22:35] Mashed has joined the channel
[22:35] devdazed: try encodeURIComponent(password)
[22:36] alexdoom has joined the channel
[22:37] devdazed: perezd: f = url.parse('http://83ac5c9803a31ba0cbc00eb00622d2ed:' + encodeURIComponent('$2a$04$jFQ/uO1I9cKS/Va1apWLrOqpfvt/aV3uKBrCHGsIVa6ki/48yXYve') + '@localhost:5984')
[22:38] perezd: tada
[22:38] perezd: you are the winrar
[22:38] devdazed: thanks, it shows up encoded under auth. so you'd have to check if it actually works
[22:38] perezd: yeah
[22:39] Swizec has joined the channel
[22:39] mikeal: _sorensen_: good to hear
[22:39] _sorensen_: spent so much time looking at RFC specs
[22:40] _sorensen_: couldnt get a PDF to go with the right encoding
[22:40] _sorensen_: your mod worked like a charm, had it up in 15 minutes
[22:41] piscisaureus_ has joined the channel
[22:42] quackquack: how can I get Vows to print the actual error?
[22:43] Isaiah has joined the channel
[22:43] Industrial: Where can I see the documentation on the kind of objects that fs.stat() is returning? I know myStat.isDirectory() exists, but I can't find the documentation for it and I wanna know what's possible.
[22:43] yhahn has left the channel
[22:43] quackquack: Industrial: look for the Stat object
[22:43] quackquack: http://nodejs.org/docs/latest/api/fs.html#fs.Stats
[22:44] Industrial: ow woops, thanks
[22:44] jbrokc_ has joined the channel
[22:44] quackquack: np
[22:46] neilk_ has joined the channel
[22:47] AvianFlu has joined the channel
[22:48] Renegade001 has joined the channel
[22:48] jslatts has joined the channel
[22:48] _sorensen_: jslatts: afternoon
[22:49] Adrenalin has joined the channel
[22:51] piscisaureus_ has joined the channel
[22:51] mike5w3c has joined the channel
[22:51] annoyance-bot has joined the channel
[22:53] CIA-109: node: 03Ben Noordhuis 07master * r89014c9 10/ benchmark/http_simple_cluster.js : bench: add http_simple cluster edition benchmark - http://git.io/2YPagA
[22:53] CIA-109: node: 03Jacob H.C. Kragh 07master * rc1472ac 10/ doc/api/fs.markdown :
[22:53] CIA-109: node: docs: fix some minor typos in the fs documentation
[22:53] CIA-109: node: * fchmodSync: replace 'path' with 'fd'
[22:53] CIA-109: node: * lchmod: replace 'fd' with 'path'
[22:53] CIA-109: node: * utimes, futimes, fsync: mark 'callback' as optional - http://git.io/wFEShw
[22:57] CIA-109: node: 03Ryan Dahl 07master * r5c3954a 10/ doc/api/child_processes.markdown :
[22:57] CIA-109: node: docs: make std*Stream spawn opts explicitly internal
[22:57] CIA-109: node: Fixes #1884. - http://git.io/VbRu9Q
[22:58] AvianFlu has joined the channel
[22:59] konobi: bnoordhuis: any problem with me closing 1781 ?
[22:59] DTrejo_ has joined the channel
[23:01] bnoordhuis: konobi: sure, go ahead - support issue, not a node bug
[23:02] jmqq has joined the channel
[23:04] AvianFlu has joined the channel
[23:06] lyte has joined the channel
[23:06] lyte has joined the channel
[23:06] coderdad has joined the channel
[23:07] CIA-109: libuv: 03Igor Zinkovsky 07master * rfaca140 10/ (7 files in 4 dirs): make uv_pipe_connect return void - http://git.io/tUHqfQ
[23:08] dwasp has joined the channel
[23:09] b_i_d: YES! I'm no virgin anymore! Just ran into the first race condition in my coder career. :D
[23:10] patcito has joined the channel
[23:10] jesusabdullah: weirdo. >:P
[23:10] jesusabdullah: but good for you!
[23:10] b_i_d: *g*
[23:11] _dc has left the channel
[23:11] TheJH: b_i_d, race condition in node code? mhm, I think that's pretty rare, no?
[23:12] b_i_d: Not in the ONE PLACE in my code where I didn't use callbacks. ;)
[23:13] fzzzy has joined the channel
[23:14] mmalecki has joined the channel
[23:16] sdwrage has joined the channel
[23:16] zeade has joined the channel
[23:16] magnetik_ has joined the channel
[23:16] emostar has joined the channel
[23:16] TheJH: b_i_d, use streamlinejs :P
[23:17] pgherveou has joined the channel
[23:17] Isaiah has joined the channel
[23:17] b_i_d: Nah. I'm gonna take it like a man. Come on CPU-cycles! Show me what you've got!
[23:18] coderdad has joined the channel
[23:18] TheJH: b_i_d, does that mean you'll write your own async library?
[23:19] TheJH: b_i_d, people say it helps you appreciate the commonly used ones :D
[23:19] b_i_d: Hm. I'm gonna take it like a little man then... :D
[23:19] TheJH: :P
[23:19] TheJH: b_i_d, other persons async lib or none?
[23:19] tahu has joined the channel
[23:20] TheJH: b_i_d, I'd recommend caolans "async"
[23:20] TheJH: !npm info async
[23:20] jhbot: async by Caolan McMahon, version 0.1.15: Higher-order functions and common patterns for asynchronous code
[23:20] b_i_d: Debug and plaster my screen with "USE CALLBACKS, IDIOT" post-its should be enough for now.
[23:21] Adrenalin has joined the channel
[23:21] pik has joined the channel
[23:21] sdwrage has joined the channel
[23:21] b_i_d: But thanks for the idea. May come in handy when my project keeps growing like that.
[23:22] mikeric has joined the channel
[23:23] b_i_d: It's an artificial intelligence and for every user-input countless modules are started (emotions, common sense, memory, knowledge, etc) to construct the answer.
[23:24] b_i_d: So a lot of places I can break stuff. ;)
[23:24] TheJH: b_i_d, be sure to reserve the first callback argument for errors or it might blow up when you use it together with some async lib
[23:24] b_i_d: Yeah. I do that anyway.
[23:24] jhbot: I am only artificial stupidity :(
[23:25] b_i_d: Although I handle most of the error-stuff with events and listeners.
[23:25] b_i_d: Aww, poor bot. Not that I wanna replace you...
[23:25] mmalecki: I wonder why do people emit in nextTick sometimes
[23:26] SargoDarya: wtf. When I do var foo = function(){ this.bar = 'test'; } and try to console.log foo.bar it gives undefined?
[23:26] SargoDarya: any idea why?
[23:26] mikeric has joined the channel
[23:26] b_i_d: See? Callbacks... :D
[23:27] perezd: SargoDarya: construct it
[23:27] perezd: foo = new function() ..
[23:27] SargoDarya: ok
[23:27] devongovett has joined the channel
[23:28] perezd: so…constructors, you should check those out
[23:28] lyte has joined the channel
[23:28] lyte has joined the channel
[23:28] janm has joined the channel
[23:28] SargoDarya: ok, now when I try to pass something into function it's undefined.
[23:28] SargoDarya: grr
[23:29] AvianFlu_ has joined the channel
[23:29] TooTallNate has joined the channel
[23:29] benvie: because you're calling it
[23:29] erichynds has joined the channel
[23:30] benvie: instead of constructing it
[23:30] piscisaureus_ has joined the channel
[23:30] SargoDarya: oh, right.. now I'm confused.
[23:30] charlenopires has joined the channel
[23:30] benvie: too many steps at once
[23:30] SargoDarya: thought so
[23:31] hellp has joined the channel
[23:31] benvie: er also
[23:31] erichynds has joined the channel
[23:31] benvie: nevermind I have no idea what you're doing
[23:32] perezd: yeah, this is troubling..
[23:32] benvie: but what I said is probably true
[23:32] boltR has joined the channel
[23:32] ninjapig has joined the channel
[23:32] ninjapig has joined the channel
[23:32] perezd: SargoDarya: perhaps read "JavaScript: The Good Parts" by Douglas Crockford
[23:32] perezd: get an idea of what you're trying to accomplish
[23:32] mmalecki: ryah: (just to clarify, I didn't reopen https://github.com/joyent/node/issues/2003, it was referenced from another project)
[23:33] lukemelia has joined the channel
[23:33] SargoDarya: perezd: I was trying to call this in the var foo = function(){} to set some initial values but it seems they are kindly ignored
[23:33] perezd: what do you intend foo to be
[23:33] perezd: an object? a function?
[23:33] benvie: a callable function with properties?
[23:34] perezd: thats not really a thing
[23:34] perezd: you have objects, and you have functions
[23:34] perezd: objects have properties
[23:34] perezd: functions are functions
[23:34] SargoDarya: Wait a second
[23:34] perezd: functions can create objects, with properties, and those properties can be functions too
[23:34] charlenopires has joined the channel
[23:35] lyte has joined the channel
[23:35] lyte has joined the channel
[23:35] benvie: well a function object
[23:35] perezd: benvie: yes, but thats not what you want it to be in this case
[23:35] benvie: which is callable as functionName() but also has functionName.property
[23:35] AvianFlu_ has joined the channel
[23:35] perezd: I really don't think thats a thing
[23:35] benvie: well it's just a function
[23:35] perezd: how does that imply that it has object like properties?
[23:36] benvie: because you can call it but also access its properties
[23:36] perezd: is that working out for you?
[23:36] benvie: well it's basically a singleton pattern
[23:36] benvie: a callable singleton
[23:37] perezd: I am very worried about what you're trying to do
[23:37] benvie: which requires you to be aware that its callable is going to be treated as a constructor
[23:37] alexdoom has joined the channel
[23:37] mynyml has joined the channel
[23:37] AvianFlu_ has joined the channel
[23:37] benvie: well I know what I'm doing but I'm not asking questions =D. SargoDarya is
[23:37] perezd: so prototypal languages don't have the notion of singletons
[23:37] perezd: every object is effectively a singleton
[23:38] perezd: well
[23:38] perezd: not true
[23:38] benvie: the singleton pattern produces a singleton like object in that if try to create a new one it just returns the original copy
[23:38] perezd: you basically need to closure out a singleton at a higher level
[23:38] perezd: http://javascript.about.com/od/byexample/a/objectoriented-singleton-example.htm
[23:38] perezd: thats a way to do this
[23:38] benvie: exactly
[23:38] perezd: properties on functions is not
[23:38] perezd: you need something to build you the singleton
[23:38] perezd: that is not itself
[23:39] AvianFlu has joined the channel
[23:39] ezeql has joined the channel
[23:39] SargoDarya: this is so weird… I have to try again, it seems it works now for some odd reason
[23:39] zackattack has joined the channel
[23:39] ryah: mmalecki: oh okay
[23:39] perezd: SargoDarya: you should be _REALLY_ careful you understand what you're doing to your object state
[23:39] ryah: mmalecki: github bug then
[23:39] benvie: I'd just use a Proxy at this point anyway if it wasn't for the browser
[23:39] craig has joined the channel
[23:39] perezd: yes
[23:39] shipit_ has joined the channel
[23:40] mmalecki: ryah: yeah, sorry for the confusion
[23:40] jaminja has joined the channel
[23:40] jaminja has joined the channel
[23:41] neurodrone has joined the channel
[23:42] SargoDarya: …the fuck? It's working in jsfiddle but not on site.
[23:43] charlenopires has joined the channel
[23:43] dshaw_1 has joined the channel
[23:44] benvie: gist it
[23:44] jstash has joined the channel
[23:45] mraleph has joined the channel
[23:45] SargoDarya: YEEEEES!
[23:45] SargoDarya: Apparently in 99% of all cases the error is between the keyboard and the chair.
[23:45] themiddleman_itv has joined the channel
[23:45] benvie: id10t errors are a bitch
[23:46] Dulak: pebkac
[23:46] SargoDarya: Il <- find the difference.
[23:46] benvie: jk
[23:46] davidpadbury has joined the channel
[23:46] SargoDarya: yea, and I was wondering why it was undefined. typed an i instead of an L
[23:46] benvie: IJkl?
[23:47] SargoDarya: what?
[23:47] benvie: como?
[23:47] jldbasa has joined the channel
[23:47] SargoDarya: still don't know what you mean
[23:48] benvie: well you fixed it and that's all that matters
[23:48] lyte has joined the channel
[23:48] lyte has joined the channel
[23:48] Swizec_ has joined the channel
[23:49] SargoDarya: yep, so now I can get back to my whisky
[23:49] benvie: that's how I like programming. Mixed with alcohol, and definitely not stirred
[23:50] jldbasa has joined the channel
[23:53] quackquack: How can i make vows print the stack traces of the exceptions it gets?
[23:53] zackattack has joined the channel
[23:54] tomlion has joined the channel
[23:56] stagas has joined the channel
[23:57] SargoDarya: There's just nothing better than cask strength, 21yo whisky.
[23:58] benvie: let us have a chat over this whiskey my friend
[23:59] SargoDarya: It's a Murray McDavid Limited Gold Edition from the Bowmore Distillery.
[23:59] SargoDarya: 56,1%, only 479 bottles produced
[23:59] benvie: man
[23:59] SargoDarya: and it's as old as me :>