Ben Nadel
On User Experience (UX) Design, JavaScript, ColdFusion, Node.js, Life, and Love.
Ben Nadel at the New York ColdFusion User Group (Jun. 2010) with: Andy Matthews
Ben Nadel at the New York ColdFusion User Group (Jun. 2010) with: Andy Matthews@commadelimited )

Ben Nadel

Member since Dec 11, 2008

Recent Blog Comments By Ben Nadel

  • Error Object Properties Are Not Iterable / Enumrable In Node.js

    Posted on Jul 27, 2015 at 10:31 AM

    @JC, For *these specific* properties... NO idea :D I can't think of any reason why I wouldn't want those to be part of the natural key collection. Seems like an odd choice to me.... read more »

  • Using Module.decorator() In AngularJS 1.4

    Posted on Jul 27, 2015 at 8:31 AM

    @Eric, This doesn't have to be about decorating your own services. You might be decorating a 3rd-party service, which still puts you in the problem where you have to declare the 3rd-party service *before* you try to decorate it. As far as decorating your own services, things can get interesting. ... read more »

  • Thinking About Tracking Requests And Errors Across Micro-Services

    Posted on Jul 27, 2015 at 8:20 AM

    @Andrew, You bring up a great point. I was definitely thinking about this in terms for "Requests". But, you are right, there is more to it than that. Stepping back, and trying to get at the more accurate picture, I'd say it's more about "Workflow" than a request. At some point, ... read more »

  • Thinking About Tracking Requests And Errors Across Micro-Services

    Posted on Jul 27, 2015 at 8:10 AM

    @Mark, At work, we are trying to move into more a distributed service architecture; but, to a good degree, we are learning as we go. So, this stuff is really interesting to think about. Part of what got me thinking about this was the user's IP Address. Imagine that there is some function that execu... read more »

  • Creating jqLite Plugins In AngularJS

    Posted on Jul 23, 2015 at 5:52 AM

    @Yazan, Thanks my man! I know people hate on jQuery, but I think there's a lot we can learn from it.... read more »

  • Creating jqLite Plugins In AngularJS

    Posted on Jul 23, 2015 at 5:52 AM

    @M'sieur, I believe that the only benefit of using Object.defineProperty() would be if you want to explicitly control how the method is seen. But, to be honest, I don't have much experience with Object.defineProperty() as I've never really understood the need for it. Meaning, it doesn't solve a pro... read more »

  • Using Module.decorator() In AngularJS 1.4

    Posted on Jul 20, 2015 at 8:52 AM

    ... I mean an "Issue"... I don't know how to make a PR for this project... yet :D... read more »

  • Using Module.decorator() In AngularJS 1.4

    Posted on Jul 20, 2015 at 8:52 AM

    I submitted the order-of-operations scenario in a Pull Request. https://github.com/angular/angular.js/issues/12382... read more »

  • Breaking Direct Object References At Cache Boundaries In AngularJS

    Posted on Jul 20, 2015 at 8:27 AM

    @Asad, That's an interesting question. You definitely don't want to perform more copy-operations than you have to if you don't need to. One thing you could do is check to see if your particular 3rd-party library uses direct object references. And, if it does, you could create a library decorator th... read more »

  • Breaking Direct Object References At Cache Boundaries In AngularJS

    Posted on Jul 20, 2015 at 8:22 AM

    @Robert, I was bit pretty hard by this in one of the InVision apps. The problem was that by the time I discovered the problem, the team had inadvertently built up other functionality that was dependent on it. Essentially, we had created a User-Experience that expected the cache data to be updated s... read more »

  • Rendering Large Datasets With AngularJS And ReactJS

    Posted on Jul 20, 2015 at 8:17 AM

    It's so interesting to see the different approaches next to each other. None of them provides seamless performance at this size of dataset. And, none of them seems particularly problematic.... read more »

  • Performing Online ALTER TABLE SQL Migrations Without Any Downtime

    Posted on Jul 20, 2015 at 8:06 AM

    @All, I've also been told that the most recent version of MySQL - 5.7 - apparently supports online ALTER TABLE operations, though I have not tried this personally. Looking at the docs, it looks like you can specify the algorithm that it is supposed to use: >> Specifying ALGORITHM=INPLACE mak... read more »

  • FusionReactor Offers Excellent Insight Into Java And ColdFusion Server Performance

    Posted on Jul 20, 2015 at 7:58 AM

    @Charlie, My pleasure, fine sir. I wish the log files were something that I was more comfortable with. Unfortunately, I never really took the time to learn too much about them. I think that's in part because I don't know much about log-reading tools and, in part, because I just didn't have a good... read more »

  • How Error Events Affect Piped Streams In Node.js

    Posted on Jul 19, 2015 at 6:57 AM

    @Jmilkiewicz, It looks like that was a bug in Node. I say that because I upgraded my version of node locally and re-ran this script and all the other pipes gets the correct data. When I run it under *v0.12.2*, the last stream reads: > Safe Target Buffer: What it be like? ... where as in my bl... read more »

  • $q.when() Is The Missing $q.resolve() Method In AngularJS

    Posted on Jul 15, 2015 at 7:00 AM

    @AndrĂ©, Ha ha, I just popped over here to post the same exact thing. You beat me to it :D... read more »

  • Rendering Large Datasets With AngularJS And ReactJS

    Posted on Jul 15, 2015 at 5:43 AM

    @Mike, @Jonny, Wow, that RiotJS version is interesting. Not having an understanding of how RiotJS works, it's a bit harder to follow as it seems like things are just haphazardly mixed together. But, I am sure that once you understand the syntax it makes sense. It looks like the JavaScript can just ... read more »

  • Rendering Large Datasets With AngularJS And ReactJS

    Posted on Jul 15, 2015 at 5:41 AM

    @Ganriel, Great question - I went back and forth on this. I actually had it on the cell-rendering values for while, {{ ::row.id }} and {{ ::item.value }}. But, I eventually opted since I wanted to try to keep the two approaches as similar a possible. While I am never changing the grid values, Reac... read more »

  • Rendering Large Datasets With AngularJS And ReactJS

    Posted on Jul 14, 2015 at 8:22 PM

    @Mike, I've not heard of RiotJS - I'll take a look Jonny's code in a bit. But, I am very interested in the Flux approach. I haven't gotten that far in my exploration yet. That said, from what I have seen so far, I think that a lot of the "React way" things can actually (and should actuall... read more »

  • Rendering Large Datasets With AngularJS And ReactJS

    Posted on Jul 14, 2015 at 8:18 PM

    @Ray, Ah, nice catch. I swear that sometimes that spell-checker just hates me :D... read more »

  • Rendering Large Datasets With AngularJS And ReactJS

    Posted on Jul 14, 2015 at 8:16 PM

    @Lars, From what I've heard in passing, it does seem like AngularJS 2.0 is going to be much smarter about the way it handles data. I keep hearing about this "constant time" diff-checking; but, I haven't really dug into any of it yet. Heck, I've never even used an ES6-ES5 transpiler yet, ... read more »