[nodejs] Advice when using streams, pipe and waiting for metadata

2012-12-12 Thread Paul Connolley
Hi there Long time lurker, first time poster. I've been working on a module for the last couple of weeks as a bit of a training exercise. I´ve been digging in to node for the last 6 months and I´m trying to make all my modules streaming. The latest exercise is a reverse image proxy for mapping

Re: [nodejs] Advice when using streams, pipe and waiting for metadata

2012-12-14 Thread Paul Connolley
Hey Kelsey & Alexander Having already fellated streams and the stream handbook a while back, I was already looking for this to be the answer. I suppose I was waiting for somebody to say, 'do this but watch out for...' In the absence of any warnings, I'm ploughing ahead with this. Thank you for,

Re: [nodejs] Advice when using streams, pipe and waiting for metadata

2012-12-14 Thread Paul Connolley
Too much perhaps? Let's go with 'enjoyed' then, so that I don't lower the overall tone of the group. ;-) On Friday, 14 December 2012 23:51:40 UTC, Mark Hahn wrote: > > fellated? > > On Fri, Dec 14, 2012 at 3:29 PM, Paul Connolley > > wrote:

[nodejs] Abstracting a chain of duplex/transform streams

2013-08-28 Thread Paul Connolley
Hi folks I'm currently in the process of writing a streaming email module (stream your text, HTML and attachments in and stream a nicely formatted email out to sendmail etc) and I'm currently deep in the middle of extracting lots of little streaming modules out before I finish what I started.

Re: [nodejs] Abstracting a chain of duplex/transform streams

2013-08-28 Thread Paul Connolley
On Wednesday, 28 August 2013 14:31:11 UTC+1, bryce...@gmail.com wrote: > Hi Paul, > > I recently wrote https://github.com/brycebaril/stream-splice to do just > that. > > -Bryce > Hi Bryce, I *love* the elegant use of .reduce() there. That's exactly the sort of implementation that I was thinkin