Mochabot log - CommonJS IRC channel: #commonjs on irc.freenode.net

2009-11-09:

[12:41] <the_undefined> Does anybody know where the commonjs page on multipart parsing would be?
[13:13] <ashb> the_undefined: there isn't one, nor do i think there needs to be
[13:14] <ashb> thats the job of a module
[13:56] <the_undefined> ashb: right, and doesn't common js try to define a common set of module amongst other things?
[13:56] <dom> anything which can be done purely in JS space can be shared between commonjs implementations
[13:57] <dom> thus there doesn't need to be a spec to agree a shared interface
[13:57] <dom> (I'm pretty uninformed on the whole commonjs thing, but that's my basic understanding of things)
[13:58] <the_undefined_> dom: so none of them are supposed to be shipped with each implementation ?
[13:58] <ondras> we would like to have a centralised repository of js modules
[14:02] <the_undefined_> yeah, so what's the process on proposing modules for that repo?
[14:02] <ashb> write the module
[14:02] <ashb> stick it online
[14:02] <ashb> tell people about it
[14:03] <the_undefined_> ashb: ok: )
[14:03] <the_undefined_> http://github.com/ry/node/blob/master/lib/multipart.js
[14:03] <the_undefined_> is the module
[14:03] <the_undefined_> http://nodejs.org/api.html#_multipart_parsing
[14:03] <the_undefined_> the docs
[14:04] <ashb> bit node-specicif still
[14:05] <the_undefined_> ashb: the implementation is, but the api should translate
[14:05] <the_undefined_> I think
[14:05] <ashb> yeah
[14:10] <ashb> the_undefined_: oh it does multipart writing too?
[14:12] <the_undefined_> ashb: nope, it could be added so
[14:12] <the_undefined_> the .write() function is meant to 'push' data into the stream
[14:12] <ashb> Part.prototype.write
[14:12] <MisterN> multipart is one of the things where pure-async shines
[14:12] <ashb> ah
[14:12] <the_undefined_> yeah
[14:21] <ondras> hmm
[14:21] <ondras> why does it depend on setTimeout?
[14:22] <the_undefined_> ondras: it only does so for streaming http requests in node in
[14:22] <ondras> that brings the idea of implementing setTimeout/setInterval into v8cgi :)
[14:23] <the_undefined_> you should :)
[14:23] <the_undefined_> it's very useful
[14:23] <ondras> there was no need so far actually
[14:23] <ashb> i've worked out how i can do it with Zest
[14:23] <ondras> it is not used in php and people use v8cgi primarily in the way php is used
[14:24] * ondras is considering libevent
[14:25] <ashb> thats sort of what i was thinking
[14:25] <ashb> or something like perl's Any::Event
[14:25] <ashb> right now zest uses boost's ASIO library
[14:26] <ashb> which has a timeout functionality to it
[17:48] <ashb> so how was JSConf?
[17:54] <dom> we should go to that next year
[17:54] <ashb> yeah
[21:17] <voodootikigod_> _ry: hey wanted to verify something about node.js http client with you
[21:17] <voodootikigod_> you around?
[21:18] <ashb> probably not yet - jsconf only just ended i think
[21:28] <voodootikigod_> ended yesterday
[21:28] <voodootikigod_> all good though
[21:47] <_ry> voodootikigod_: hey
[21:47] <voodootikigod_> hey
[21:47] <voodootikigod_> you recovered yet from jsconf
[21:48] <_ry> no, still hung over
[21:48] <voodootikigod_> hahah
[21:48] <voodootikigod_> then you had the real experience
[21:48] <voodootikigod_> just wait until we get a hold of you over stateside
[21:49] <_ry> :)
[21:49] <voodootikigod_> so have a quick question
[21:49] <voodootikigod_> http client
[21:49] <voodootikigod_> no http auth currently right?
[21:49] <voodootikigod_> or am i missnig it
[21:50] <voodootikigod_> like http://un:pw@server.com
[21:50] <_ry> voodootikigod_: nope - would be cool to have some module to do that though
[21:50] <voodootikigod_> cool
[21:50] <voodootikigod_> working on it
[21:50] <voodootikigod_> just didnt want to duplicate
[21:50] <_ry> rad
[21:51] <voodootikigod_> btw
[21:51] <voodootikigod_> way to be the superstar
[21:52] <_ry> i'm surprised that people liked it so much - i thought i had done awfully. i'll have to see the video evidence
[21:52] <_ry> kind of thinking everyone is making fun of me
[21:52] <_ry> :)
[21:52] <voodootikigod_> haha
[21:52] <voodootikigod_> we are
[21:52] <voodootikigod_> we got together
[21:52] <voodootikigod_> all of us
[21:52] <voodootikigod_> around the world
[21:52] <voodootikigod_> and decided, hey this guy
[21:52] <voodootikigod_> yea him
[21:53] <voodootikigod_> we will all just make him think it was awesome
[21:53] * voodootikigod_ is lying
[21:53] <_ry> :)
[21:53] <ashb> http://www.out-law.com//default.aspx?page=10510
[21:53] <ashb> wow. wtf.
[21:54] <Wes--> thank God they didn't mention the user local data area
[21:54] <Wes--> "You are trying to use your computer. Allow or Deny?"
[21:55] <Wes--> OMG - I just figured out how M$ is solving their anti-trust issues.....they are infiltrating Parliament!
[23:28] <isaacs> voodootikigod_: you might want to ask in #node.js maybe someone else could help if ry isn't around.

 

 

Logs by date :