Ben Nadel
On User Experience (UX) Design, JavaScript, ColdFusion, Node.js, Life, and Love.
Ben Nadel at dev.Objective() 2015 (Bloomington, MN) with: Jessica Kennedy
Ben Nadel at dev.Objective() 2015 (Bloomington, MN) with: Jessica Kennedy@mistersender )

Ryan Guill

Member since Dec 11, 2008

Recent Blog Comments By Ryan Guill

  • The Philosophy Of Extending Lodash In JavaScript

    Posted on Jun 11, 2015 at 8:19 AM

    Yeah, its great - I sing the praises of lodash on a regular basis, and always finding something new. Have you ever used _.template() ? Might not be as useful for you with angular, but its great.... read more »

  • The Philosophy Of Extending Lodash In JavaScript

    Posted on Jun 10, 2015 at 9:01 AM

    Good article ben, I haven't ever looked into lodash's mixin functionality - good stuff. Also, just wanted to throw out that you could also consider using map() for your purposes: friends =, function(item) { item.createdAt =; return item; });... read more »

  • ColdFusion 10 Beta - Closures And Function Expressions And Threads

    Posted on Oct 24, 2014 at 2:52 PM

    Tristan, I replied on your gist (im not sure if you get notifications for that or not) - this seems to be a compile (syntax parse) error with that code. Certainly strange! Simplified example: read more »

  • Rule Of Thumb: Always Define And Consume An ArgumentCollection Map In A Single Context

    Posted on Oct 14, 2014 at 8:39 AM

    If you are going to do the intermediate step, you can clean it up a little: var inputs = { a = rc.a, b = rc.b, c = rc.c, d = "Dang" }; fwiw, I go back and forth between the different sides of this argument. I like being declarative and self-documenting, but I also like to... read more »

  • ColdFusion 10 Beta - Closures And Function Expressions And Threads

    Posted on Sep 22, 2014 at 9:34 PM

    Great resource ben, just so happened to be doing a lot of this stuff today. Just fyi though, you can compare equality of objects and functions using .equals(). See: read more »

  • Getting The Decimal Part Of A Number In ColdFusion

    Posted on May 7, 2007 at 9:18 AM

    I didn't do speed tests, but why not this? <cfset number = 3.14159 /> <cfset decimal = number - int(number) /> <cfdump var="#decimal#">... read more »

  • Force ColdFusion Server To Recompile A ColdFusion Template

    Posted on May 2, 2007 at 8:22 PM

    Chances are its not coldfusion that is not recompiling, it is probably the webserver itself (apache, iis, etc). If the filesize doesn't change, sometimes it wont pull the file again. One time, I was even getting a 404 not found error on a file that I knew existed and I was beating my head on the ... read more »

  • Spacious Formatting For Inline ColdFusion Variable Evaluation

    Posted on Apr 30, 2007 at 8:07 AM

    I don't find that very readable at all. Im sure ever situation is different and you are forced to write code like that sometimes, but if it starts getting unreadable, and especially if you are having to do the same code more than once, why not pull the logic out into a udf? even if its on the same... read more »

  • SQL Aggregates Support CASE Statements

    Posted on Mar 15, 2007 at 1:01 PM

    You can actually make it simpler. because you are just counting, you can use a 1 instead of the field for the value to count, and if you want a null, you can just leave out the else: # COUNT( # CASE # WHEN did_date = 0 # THEN 1 # END # )... read more »

  • Could Not Unlock The Names Lock "GOOGLE.TXT" Because No Lock Is Known By That Name

    Posted on Jan 30, 2007 at 7:55 AM

    Is this code recently written? the name google.txt seems strange to me, only because it possibly may be that cf is thinking that is a variable of some sort? Does it error every time, or just once in a blue moon?... read more »