Ben Nadel
On User Experience (UX) Design, JavaScript, ColdFusion, Node.js, Life, and Love.
Ben Nadel at CFinNC 2009 (Raleigh, North Carolina) with: Larry Lyons
Ben Nadel at CFinNC 2009 (Raleigh, North Carolina) with: Larry Lyons

Sam

Member since May 21, 2015

Recent Blog Comments By Sam

  • Exposing Promise / Deferred Functionality On Streams In Node.js

    Posted on May 21, 2015 at 2:05 PM

    I apologize for being spammy, However I cannot edit my comments On second thought, for arbitrarilly large objects or objects that hold large arrays and etc. We more than likely will only want a few kvs, so buffering it may give us much more than we expect, and or allow for an attack. That being sai... read more »

  • Exposing Promise / Deferred Functionality On Streams In Node.js

    Posted on May 21, 2015 at 1:30 PM

    TBH, I just recently did just that. I Concatenated the buffers and Parsed it, so I will definitely show humility in regards to these types of common use cases where a JSON Object is just wanted or something else which needs the whole buffer is necessary. This type of use case also applies to minimif... read more »

  • Exposing Promise / Deferred Functionality On Streams In Node.js

    Posted on May 21, 2015 at 3:26 AM

    I respect the idea, promises seem like an awesome api, however this kind of defeats the purpose of having a stream in the first place. Streams are more akin to lazy evaluation where you want to modify the data as you get it and only use what you need at any point in time. While, if you are waiting f... read more »