http://github.com/floby/node-blue ?
On Wednesday, 30 May 2012 14:15:46 UTC+2, Oliver Leics wrote:
>
> Hallo,
>
> is dustjs[1] really the only template engine that implements rt
> streamed render output and supports asynchronous calls within
> template-functions?
>
> [1] https://github.com/akdu
are you sure, the callback is called several times? sounds like the a
callback is attached several time to me. this can happen in complex
environemnt, and you could check that very easy by checking the listeners
array of the emitter.
if the array is fine, then you can debug the code. you can in
It's rather simple to create a wrapper that counts a number of times
callback is called and throws when this number isn't 1. And call it like
this:
fs.readFile('something', wrap(callback));
But you'll have to do it every time, so I don't think it's going to be used
widely.
On Tuesday, Octo
Node-blue, Interesting... to study an implementation of Readable
I think it is a typo:
https://github.com/Floby/node-blue/blob/master/lib/Template.js#L53
you are using 'self' (not defined?) and in the following lines, you switch
to use 'this'
On Tue, Oct 1, 2013 at 4:52 AM, Floby wrote:
> http
Hello,
I whould like to know what are some of good ressources to learn Node.js
effectively.
This includes books (preferable free ebooks), and some frameworks which
works well with node.
Thank you in advance.
--
--
Job Board: http://jobs.nodejs.org/
Posting guidelines:
https://github.com/joy
http://nodeschool.io and https://github.com/maxogden/art-of-node are
probably the best places to start with.
Gary Katsevman
gkatsev.com
On Tue, Oct 1, 2013 at 11:47 AM, Anton Zakharov wrote:
> Hello,
>
> I whould like to know what are some of good ressources to learn Node.js
> effectively.
> T
I would like to use arparse with a module. This becomes a problem when
a parseArgs() is global with the global process object. Does anyone have a
solution as to how I might ignore any flags which I do not need in
the process arguments. I would think that a simple "ignore undefined" like
functionali
This is my current curated list:
Purpose
To provide a curated list of resources for getting started with node.js
(Note: Separated by category and ranked within each)
*Overall*
1. Realtime Web with Node.js (Code School):
http://www.codeschool.com/courses/real-time-web-with-nodejs
2. M
Scratch that, using parseArgs() in my module causes all other usage to
break. My question was supposed to be: do I have to do this the hard way?
On Tue, Oct 1, 2013 at 11:58 AM, Robert Steckroth wrote:
> I would like to use arparse with a module. This becomes a problem when
> a parseArgs() is g
Control-flow libraries are the first line of defense between your
application code and third-party modules. Stepup for instance, my
control-flow library of choice, has such protection:
https://github.com/CrabDude/stepup
Cheers,
Adam
On Tue, Oct 1, 2013 at 1:23 AM, Alex Kocharin wrote:
>
> It's
I've just released version 1.0 of Faye, the simple pub/sub message bus for
the web.
http://blog.jcoglan.com/2013/10/01/announcing-faye-1-0/
--
James Coglan
http://jcoglan.com
+44 (0) 7771512510
--
--
Job Board: http://jobs.nodejs.org/
Posting guidelines:
https://github.com/joyent/node/wiki/M
Yeah, I was going to mention that in there somewhere, but then forgot =).
It does, I think, have to be on the load balancer instance instead of
distributed among your application instances though, which means a lot more
load on the load balancer (need to have multiple of them to deal with a
re
The answer depends on the reason why the callback called multiple times,
possible are:
- by design
- when multiple parallel running functions callback
The last one could happen f.e. one of them fails and calls back with an error,
the other one calls back without error despite of the errored oth
where this is a concern you should just use once. the request 3.0 branch is
doing so, as are several other projects i've written, and it works quite well.
https://npmjs.org/package/once
-Mikeal
On Oct 1, 2013, at 10:51AM, Oleg Slobodskoi wrote:
> The answer depends on the reason why the callb
Hi,
I was looking for an FTP client and then I was overtaken by a doubt... What
are the uses of the *TFTP *protocol beyond router image loadings? It cannot
be used by untrusted users, so it is basically used to move files from 2
machines inside a trusted environment. It is still useful in bash
> The answer depends on the reason why the callback called multiple times,
> possible are:
> - by design
> - when multiple parallel running functions callback
>
or:
- when there's a missing return statement
like this:
function read_something(name, cb) {
fs.readFile(name, 'utf8', function(
On Tue, Oct 1, 2013 at 11:30 AM, Jorge Ruíz wrote:
> I was looking for an FTP client and then I was overtaken by a doubt... What
Are you looking for an FTP client...
> are the uses of the TFTP protocol beyond router image loadings? It cannot be
or a TFTP client? The protocols are unrelated, in
In the node.js world, where could you use a tftp client/server?
El martes, 1 de octubre de 2013 21:44:04 UTC+2, Sam Roberts escribió:
>
> On Tue, Oct 1, 2013 at 11:30 AM, Jorge Ruíz >
> wrote:
> > I was looking for an FTP client and then I was overtaken by a doubt...
> What
>
> Are you looking
On Tuesday, October 1, 2013 10:30:48 PM UTC+4, Jorge Ruíz wrote:
>
> Hi,
>
> I was looking for an FTP client and then I was overtaken by a doubt...
> What are the uses of the *TFTP *protocol beyond router image loadings?
>
As far as I know, it is used only to transfer boot images (netinstall or
- First of all:
http://www.toptal.com/nodejs/why-the-hell-would-i-use-node-js
- Event loop:
http://blog.mixu.net/2011/02/01/understanding-the-node-js-event-loop/
- Read the docs, all the functions, etc...
Nothing more. If you need X feature, then google it.
El martes, 1 de octubre de 2013 17:47
> I'm seeing those bugs much more frequently than I'd like to.
Me too. And I also see the opposite where I don't remember to put cb()
everywhere it is needed and no callback happens at all. At least I know
the symptom well. Everything just stops.
On Tue, Oct 1, 2013 at 12:43 PM, Alex Kocharin
Hi!
My team is developing a service in node. We are experiencing high CPU
utilization and are attempting to profile, but are having a hard time
getting a sufficient picture of what’s going on. We have experience
profiling in various other environments, but this is our first crack at
node.
On Wed, Oct 2, 2013 at 12:48 AM, Kenneth Gunn wrote:
> Hi!
>
>
> My team is developing a service in node. We are experiencing high CPU
> utilization and are attempting to profile, but are having a hard time
> getting a sufficient picture of what’s going on. We have experience
> profiling in vario
On Wed, Oct 2, 2013 at 5:34 AM, Ben Noordhuis wrote:
> On Wed, Oct 2, 2013 at 12:48 AM, Kenneth Gunn wrote:
>> Hi!
>>
>>
>> My team is developing a service in node. We are experiencing high CPU
>> utilization and are attempting to profile, but are having a hard time
>> getting a sufficient pictur
This is the more insidious bug in my mind, because things just hang.
Requests randomly time out. It sucks.
On Tuesday, October 1, 2013 1:09:28 PM UTC-7, Mark Hahn wrote:
>
> > I'm seeing those bugs much more frequently than I'd like to.
>
> Me too. And I also see the opposite where I don't remem
I like this pattern for making nice utilities available on the function
prototype. IMO it's the "safest" proto to modify. It would be handy in
modules that do other specific function-wrapping things, like memoizing,
currying, throttling, etc. This opinion is probably ripe for sparking nerd
figh
@Adam: i'd suggest to add node-modules.com to Package search. it's awesome.
Do you have this list somewhere as pretty-linkable content?
Am Dienstag, 1. Oktober 2013 18:03:11 UTC+2 schrieb Adam Crabtree:
>
> This is my current curated list:
>
> Purpose
>
> To provide a curated list of resources fo
27 matches
Mail list logo