Is this signature not worth considering?
stream.writev([chunks,...], encoding, callback)
It's an easier API to use. No need to create an object for each chunk.
Of course it'd be no use where there's a need to different encodings for
some of the chunks, but how common a requirement is that?
You could try tedious http://pekim.github.io/tedious/ (which I maintain).
It has (I believe) some features that msnodeql does not, and vice versa.
I don't know whether it'll meet your requirements, but you should find it a
lot easier to install, as there are no binaries involved.
On Tuesday, 16
I'm extending Transform, and I'm a little unclear when to
call transform._transform(chunk, encoding, callback)'s callback.
The documentation says Call the callback function only when the current
chunk is completely consumed. Note that there may or may not be output as a
result of any
to another partial
chunk and call done anyways.
Instead of hanging on to the callback (done), just call it once you've put
your partial chunk on to your _pendingChunks array
On Sunday, 14 April 2013 07:16:18 UTC-4, Mike Pilsbury wrote:
I'm extending Transform, and I'm a little unclear
the callback anywhere. It's the same function
each time :)
On Sun, Apr 14, 2013 at 9:03 AM, Mike Pilsbury
mike.p...@gmail.comjavascript:
wrote:
I have technically consumed it by hanging on to it.
That's the bit that I was concerned about. I wasn't sure that I could
rely
Like most io in node, tedious responds asynchronously. However you are
treating your connect_db function as if it operated synchronously. The
result array will still be empty when the function returns.
Pushing stuff in to the result array in the 'row' event is fine; that will
allow you to
Boomi, I really sorry that I didn't answer this question when you posted it
in the tedious group. I simply haven't had any proper spare time the last
few days.
I'm pleased that you got a good answer; better than one I might have
provided.
Mike
On Wednesday, 9 January 2013 07:37:13 UTC,
When you mention RC4-MD5 and DES-CBC3-SHA, do you mean the TLS cipher
Yes.
I misread the TLS and NET debug messages yesterday. I was wrong in my
original assertion that writing to the cleartext stream did not result in
the encrypted stream emitting anything. It does emit, and NET debug
I'm having some problems with secure connections in my implementation (
tedious http://github.com/pekim/tedious) of TDS. Under some conditions I
don't get any response from the SQL Server instance to a TDS login packet
sent to it.
If I use RC4-MD5 everything works fine. However if I use
http://pekim.github.com/tedious/ is a JavaScript implementation of TDS that
I (just about) actively maintain.
On Saturday, 22 December 2012 21:59:19 UTC, a...@2trackit.net wrote:
Hi guys,
I'm new to this group just joined in, so first I wanted to say HI.
next, I'm also quite new to
a)
(My only use of crypto is to createCredentials for tls.)
--
Job Board: http://jobs.nodejs.org/
Posting guidelines:
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups nodejs group.
To post to this
Or iconv-lite, which is pure JavaScript.
--
Job Board: http://jobs.nodejs.org/
Posting guidelines:
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups nodejs group.
To post to this group, send email to
https://github.com/pksunkara/npm-police can help with this.
On Thursday, 14 June 2012 16:38:10 UTC+1, Graeme Foster wrote:
Hi all
I just noticed that when I ran npm outdated it said everything was
hunky-dory but in fact some of my packages were out of date. The packages
*were* up-to-date
So doing an `npm ls` from a process is the only way to go? Whatever it
takes.
It looks like http://npmjs.org/doc/README.html#Using-npm-Programmatically
offers
another option.
--
Job Board: http://jobs.nodejs.org/
Posting guidelines:
I don't know of any use of Tedious in production.
Yes, my TDS implementation (Tedious) is currently more active than Chad's
(node-tds). I am addressing issues that are raised, and adding features.
However it does not yet have quite as much functionality as node-tds. For
example it has no
15 matches
Mail list logo