on at the
moment? Did the port to MIPs ever happen? Anyone running Node.js on an ARM in
big-endian mode? Any past dicussions in Node.js land of endianness and woe?
--
Alan Gutierrez ~ @bigeasy
--
--
Job Board: http://jobs.nodejs.org/
Posting guidelines:
https://github.com/joyent/node/wiki/Mailing-List
By my reading of the documentation, I'm expecting an `end`.
Any insight would be appreciated.
--
Alan Gutierrez ~ @bigeasy
--
--
Job Board: http://jobs.nodejs.org/
Posting guidelines:
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you
On Fri, Aug 09, 2013 at 09:29:29PM -0400, Alan Gutierrez wrote:
Attempting to create a `crypto.Hash` stream.o
https://github.com/bigeasy/hash/blob/master/hash.djb/index.js
I've implemented `_transform` and `_flush` and called the callbacks provided.
The base class of `StreamHash` class
so people can implement pure-JavaScript databases on top of Node.js. The
domain-specific Node.js database is going to be a thing.
Node.js is going to mean database.
--
Alan Gutierrez ~ @bigeasy
--
--
Job Board: http://jobs.nodejs.org/
Posting guidelines:
https://github.com/joyent/node/wiki
out?
I recently asked about blogs in this listserv. I really enjoyed the responses.
https://groups.google.com/d/msg/nodejs/lfka7YtNUZA/jGzZ5-12d7sJ
--
Alan Gutierrez ~ @bigeasy
--
--
Job Board: http://jobs.nodejs.org/
Posting guidelines:
https://github.com/joyent/node/wiki/Mailing-List-Posting
-JavaScript
embedded MongoDB clone that could scale just as well as MongoDB.
--
Alan Gutierrez ~ @bigeasy
--
--
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
Is it time to start using ES6 in Node.js libraries hosted on NPM? Or is ES6
going to be the new CoffeeScript?
--
Alan Gutierrez ~ @bigeasy
--
--
Job Board: http://jobs.nodejs.org/
Posting guidelines:
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message
-JavaScript for for Node.js. I believe
Node.js is the language that is going to give rise to the domain-specific
database, databases that are easy to extend and hack.
I'd be happy to help you to create Strata-based storage for TingoDB.
--
Alan Gutierrez ~ @bigeasy
--
--
Job Board: http
/blob/master/diary.md#what-do-nodejs-veterans-expect-from-an-error-first-callback
--
Alan Gutierrez ~ @bigeasy
--
--
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
wondering if there
isn't something in the core that does this already, or if there is a terse idiom
for string slurping that I'm not aware of.
--
Alan Gutierrez ~ @bigeasy
--
--
Job Board: http://jobs.nodejs.org/
Posting guidelines:
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
make a gist or something.
It's no fun to just post something in a vacuum, so what do you do to solicit
feedback? Is there anything that people do to solicit feedback that annoys you?
--
Alan Gutierrez ~ @bigeasy
--
--
Job Board: http://jobs.nodejs.org/
Posting guidelines:
https://github.com
. semver.satisfies('1.2', '1.3.0')
E. semver.satisfies('1.2', '1.2.4')
please don't look at the documentation, the question is:
what do you think it means?
A. Yes.
B. No.
C. Yes.
D. No.
E. No.
--
Alan Gutierrez ~ @bigeasy
--
--
Job Board: http://jobs.nodejs.org/
Posting guidelines:
https
, we eventually moved to RPi instead of Digi; easier to source.
--
Alan Gutierrez ~ @bigeasy
--
--
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
-bit, but not 32-bit.
--
Alan Gutierrez ~ @bigeasy
--
--
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
I need a stream that will gather it's results in a buffer or string
for testing. I'm sure that someone has written one already.
--
Alan Gutierrez ~ @bigeasy
--
--
Job Board: http://jobs.nodejs.org/
Posting guidelines:
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You
('ghoulie goo');
pt.end()
assert.equal(pt.read(), 'foobar\nghoulie goo')
That is perfect, thank you. It is long past the time for me to learn about the
new streams.
--
Alan Gutierrez ~ @bigeasy
--
--
Job Board: http://jobs.nodejs.org/
Posting guidelines:
https://github.com/joyent/node/wiki
(multiplied by 1000 to convert to
milliseconds).
First you need to convert the local time to UTC. See:
https://github.com/bigeasy/timezone
--
Alan Gutierrez - @bigeasy
--
Job Board: http://jobs.nodejs.org/
Posting guidelines:
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You
with Node.js than with Java.
--
Alan Gutierrez - @bigeasy
On 12/7/12 7:14 PM, Rick Waldron wrote:
I believe Nashorn purports to be a Node compatible JS engine on the JVM
https://oracleus.activeevents.com/connect/sessionDetail.ww?SESSION_ID=6661tclass=popup
http://www.theregister.co.uk/2012/11/27
for at
least a millisecond before invoking its callback.
--
Alan Gutierrez - @bigeasy
--
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
-release for the intrepid.
--
Alan Gutierrez - http://github.com/bigeasy - http://twitter.com/bigeasy
--
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
would fork it, and, I would then give that back to the
community, and it would be industrial strength and secure and designed to operate a Yahoo
scale and would make it available for everybody for free
Crockford uses Yahoo! as a trolling platform.
--
Alan Gutierrez - @bigeasy
--
Job Board: http
that this circumstance makes him sad.
It makes me sad.
I don't understand your vindictiveness. It's really off putting. Reads like a
craven display of deference to authority to me.
--
Alan Gutierrez - @bigeasy
--
Job Board: http://jobs.nodejs.org/
Posting guidelines:
https://github.com/joyent
I created Proof...
https://github.com/bigeasy/proof
It is nice to have your own test framework. You spend so much time and attention
on testing, you're going to be plauged with insights as to how testing should be
done. Creating my own test framework helps me to be my own programmer.
--
Alan
anyone uses it, they are told not to,
because checking for existence is an anti-pattern, and `stat` is better.
That is a waste of community energy: having a bright shinny function that draws
newbies like moths, only to have the community zap them when they use it.
It it a test?
--
Alan Gutierrez
of `node-bench` like throwing away the best and
worst run? (Found `visualbench` and plan on using it.)
--
Alan Gutierrez - http://twitter.com/bigeasy
--
Job Board: http://jobs.nodejs.org/
Posting guidelines:
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received
up for creating a benchmarking framework? Is the ease of use jsperf.com
misleading?
Ideally, I'd like a report that says, all things being equal, a is
faster than b. I can reason about whether all things will always be
equal separately.
--
Alan Gutierrez - http://twitter.com/bigeasy
--
Job Board
, what was the
reasoning behind do nothing?
--
Alan Gutierrez - http://twitter.com/bigeasy - http://github.com/bigeasy
--
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
On Thu, Aug 09, 2012 at 06:34:45PM -0700, Martin Cooper wrote:
On Thu, Aug 9, 2012 at 5:13 PM, Alan Gutierrez a...@prettyrobots.com wrote:
Have you ever written Node.js code that counts on the implementation
specific
Object behavior that mantains the insertion order of properties
On Sat, Aug 18, 2012 at 10:31:32AM -0700, Nathan Rajlich wrote:
On Sat, Aug 18, 2012 at 7:57 AM, Alan Gutierrez a...@prettyrobots.com wrote:
When I write beyond the end of a `Buffer`, nothing bad happens. I'm
expecting a
earth-shattering kaboom, or at least an exception. I'm happier
! Thank you very much. Great contribution.
--
Alan Gutierrez - @bigeasy
--
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
deferring decisions by programming to
interfaces, but instead making a commitment to a dependency. C# and Java are
afraid of commitment, they see it as a potential hostage situation.
--
Alan Gutierrez - http://github.com/bigeasy - http://twitter.com/bigeasy
--
Job Board: http://jobs.nodejs.org
you your test program, then report any errors in detail.
http://travis-ci.org/#!/bigeasy/cadence/jobs/1857606
I'll have to consider how domains fit into the library.
--
Alan Gutierrez - http://github.com/bigeasy - http://twitter.com/bigeasy
--
Job Board: http://jobs.nodejs.org/
Posting
to indicate that the error does
not involve a stack trace.
--
Alan Gutierrez - http://github.com/bigeasy - http://twitter.com/bigeasy
--
Job Board: http://jobs.nodejs.org/
Posting guidelines:
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you
On Mon, Jul 16, 2012 at 01:25:50PM +1200, Dominic Tarr wrote:
On Mon, Jul 16, 2012 at 6:18 AM, Alan Gutierrez a...@prettyrobots.com wrote:
I'm writing command line utilities in Node.js. Here's a snippet that is
a source of some concern for me.
try {
options = require('arguable
I could have swore I *just* saw a project that exposes the Stream API to
the browser so that you can use things like `event-stream` on the
browser to communicate with the server. It looked like it came out of
NodeConf. I even think I bookmarked it.
Or was it all a dream?
--
Alan Gutierrez - http
On Thu, Jul 12, 2012 at 01:38:02PM -0700, Andrew Lunny wrote:
On 12 July 2012 11:58, Alan Gutierrez a...@prettyrobots.com wrote:
I could have swore I *just* saw a project that exposes the Stream API to
the browser so that you can use things like `event-stream` on the
browser
When you use spawn, is there any substantial difference between piping the
spawned program stdout to the console and inheriting the parents stdout?
I know that tty.istty will return false for the stdout of the child. What other
behaviors will change?
--
Alan Gutierrez - http://twitter.com
to move back to a byte the
high-bit and that is the last character in the string, or else the top
two are set and the previous byte is last byte in the string. Then you
carry over any bytes you've not used to the next buffer.
--
Alan Gutierrez - http://twitter.com/bigeasy - http://github.com
that printing '\r' without '\n'
to the Windows console (in this case PowerShell) will allow you to overwrite the
line.
--
Alan Gutierrez - http://twitter.com/bigeasy - http://github.com/bigeasy
--
Job Board: http://jobs.nodejs.org/
Posting guidelines:
https://github.com/joyent/node/wiki/Mailing-List
. Works well.
It removes one level of annoyance. You don't need to assign each member of the
`simpletags` hash to a variable, but it isn't the full magic you're looking for,
where all of the variables magically appear.
--
Alan Gutierrez - http://github.com/bigeasy - http://twitter.com/bigeasy
('simpletags')(function (tags) {
with (tags) {
html(head(title('')), body(h1('...'));
}
});
--
Alan Gutierrez - http://github.com/bigeasy - http://twitter.com/bigeasy
--
Job Board: http://jobs.nodejs.org/
Posting guidelines:
https://github.com/joyent/node/wiki/Mailing-List
study? Do any of the event emitters in the Node.js API emit a series of
errors, or is it just one error prior to entering an error state?
--
Alan Gutierrez - http://twitter.com/bigeasy - http://github.com/bigeasy
--
Job Board: http://jobs.nodejs.org/
Posting guidelines:
https://github.com/joyent
, however xmldom focuses more directly on what I need to
accomplish, parse XML, not HTML, on the server side using W3 XML DOM.
--
Alan Gutierrez - http://twitter.com/bigeasy - http://github.com/bigeasy
--
Job Board: http://jobs.nodejs.org/
Posting guidelines:
https://github.com/joyent/node/wiki
On Thu, Jul 05, 2012 at 03:29:54PM -0700, MD wrote:
On Thursday, 5 July 2012 23:17:24 UTC+1, Alan Gutierrez wrote:
I'd like to parse XML and manipulate it on the server using W3C XML DOM, so
that the code can be shared with the browser.
I've begun working with https://github.com/jindw
On 6/30/12 2:17 AM, Brandon Benvie wrote:
Unterminated string literals ಠ_ಠ
I don't understand this at all. I'd really appreciate a link, because
all Google talks about are errors. How are Unterminated string literals
offloading the need to treat an API as asynchronous.
--
Alan Gutierrez
like it wouldn't be too bad. :)
Done.
https://github.com/rsms/node-imagemagick/pull/47
--
Alan Gutierrez - @bigeasy
--
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
library, I find that code gets cryptic when it gets
complicated; precisely the time it is best to be clear. The real work is
being done behind a curtain. I miss the names when they aren't there.
This is complexity I want to see.
--
Alan Gutierrez - http://twitter.com/bigeasy - http://github.com
be in
Spidermonkey, then it would be worth questioning the costs of closures.
--
Alan Gutierrez - http://twitter.com/bigeasy - http://github.com/bigeasy
--
Job Board: http://jobs.nodejs.org/
Posting guidelines:
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received
the better, therefore
I want to be as clear as possible.
Thank you for correcting me in the nicest way possible. I appreciate the
correction. I'm happy to learn the correct the nomenclature. I might even start
to sound like I know what I'm talking about.
--
Alan Gutierrez - http://twitter.com
time to create a convoluted new async pattern to second-guess V8.
--
Alan Gutierrez - http://twitter.com/bigeasy - http://github.com/bigeasy
--
Job Board: http://jobs.nodejs.org/
Posting guidelines:
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message
On 6/9/12 2:11 AM, Brandon Benvie wrote:
Part of the slowdown is because builtin bind has to handle construct as
well. But yeah, V8's bind is *notably* slow when you do a comparison of
either a full manual implementation of bind semantics yourself, or
compared to say Spidermonkey. I'm not sure
with this.
Timezone will address problems like one you mention above. It will
generate the correct time for any timezone string since the dawn of
standard time and into the future.
--
Alan Gutierrez - @bigeasy
--
Job Board: http://jobs.nodejs.org/
Posting guidelines:
https://github.com/joyent/node/wiki/Mailing
, no, this is different from the callbacks your
learned about in `fs`, error handling is a separate event?
--
Alan Gutierrez - @bigeasy
--
Job Board: http://jobs.nodejs.org/
Posting guidelines:
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because
to the
template.
A big issue is that if there is an error in your template, there's no
way to report it if you've already started streaming 200 OK.
--
Alan Gutierrez - @bigeasy
--
Job Board: http://jobs.nodejs.org/
Posting guidelines:
https://github.com/joyent/node/wiki/Mailing-List-Posting
. Then you're going to need a way to remap the default
exports. Pretty soon you're going to have Perl.
Actually, I am you're more likely to devolve into PHP, a global namespace full
of suprises.
--
Alan Gutierrez - @bigeasy
--
Job Board: http://jobs.nodejs.org/
Posting guidelines:
https
happens inside a
template-tag, display that error (bold and in red), probably say
'sorry' and log it with a full stacktrace.
I would never consider that an acceptable user experience.
--
Alan Gutierrez - @bigeasy
--
Job Board: http://jobs.nodejs.org/
Posting guidelines:
https://github.com/joyent/node
:
https://github.com/mgutz/mygrate
I thought it had the right goals.
--
Alan Gutierrez - @bigeasy
--
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
. The checksum algorithm is
any algorithm that emits a number.
Basically, checksummed frames of newline delimited JSON.
--
Alan Gutierrez - @bigeasy
--
Job Board: http://jobs.nodejs.org/
Posting guidelines:
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received
On 5/23/12 11:10 AM, Isaac Schlueter wrote:
Yes, it happens. In fact, it can happen quite often when you'er doing
a lot of large-ish reads and writes in parallel, and if you don't
account for it, then it does indeed suck.
That's why we have the fs.readFile and fs.writeFile functions for the
If I call fs.read using a buffer that is equal to or smaller than the
size of a file, will fs.read ever return a value for bytesRead that is
less than the size of the buffer to the callback?
If I call fs.write using a buffer that is equal to or smaller than the
size of a file, will fs.write
If I wanted to format a `Date` in Node.js, with a format string of my design,
using an arbitrary combination of locale and IANA timezone, how would I go
about doing this?
--
Alan - @bigeasy
--
Job Board: http://jobs.nodejs.org/
Posting guidelines:
I would be very interested in seeing resumable hashes and CRCs in the core API.
Is this something that could happen?
--
Alan - @bigeasy
On Feb 14, 2012, at 3:46 AM, Rong Shen wrote:
I've resoved this by using SparkMD5 (https://github.com/satazor/
SparkMD5) , and use the psedo-code below:
.
--
Alan Gutierrez - @bigeasy
--
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 nodejs
63 matches
Mail list logo