Ben Nadel
On User Experience (UX) Design, JavaScript, ColdFusion, Node.js, Life, and Love.
Ben Nadel at dev.Objective() 2015 (Bloomington, MN) with: Andy Matthews and Tim Cunningham and Matt Gifford and Dave Ferguson and Dan Wilson
Ben Nadel at dev.Objective() 2015 (Bloomington, MN) with: Andy Matthews@commadelimited ) , Tim Cunningham@TimCunningham71 ) , Matt Gifford@coldfumonkeh ) , Dave Ferguson@dfgrumpy ) , and Dan Wilson@DanWilson )

Tom Mollerus

Member since Dec 11, 2008

Recent Blog Comments By Tom Mollerus

  • My First Year As A Mac User On The Apple MacBook Pro

    Posted on Jun 7, 2011 at 3:32 PM

    I agree with Ben that OSX's windowing isn't as good as in Windows, but to me that's a minor flaw. One of the biggest reasons I like the Mac platform? As Paul Carney said, *Time Machine*. I don't care whether you're on a PC or Mac, your hard drive will fail at some point (or you'll lose your laptop).... read more »

  • JavaScript Web Applications By Alex MacCaw

    Posted on May 31, 2011 at 9:10 AM

    Ben, have you investigated the JavaScript MVC framework called Backbone.js? I've just started looking at it myself, but it seems to provide just enough MVC functionality to be very helpful without requiring or enforcing any other libraries, styles, or back ends.... read more »

  • Project HUGE: WTF, Waist Line, And Money

    Posted on Sep 16, 2008 at 1:27 PM

    Ben, I have to admit that after listing problems of health, spending, and diet, I found it ironic that the first solution you mention (wrist straps) is more spending. I hope they weren't too expensive! ;) Seriously, good for you for getting back into shape. My company has moved to a new office bu... read more »

  • Translate Microsoft SQL (MSSQL) To MySQL

    Posted on Apr 15, 2008 at 5:07 PM

    @Dan, Yeah, TOP and LIMIT are placed at opposite ends of the query. I wish that MS-SQL had LIMIT's ability to specify a starting place in the resultset, since it makes pagination so easy.... read more »

  • Translate Microsoft SQL (MSSQL) To MySQL

    Posted on Apr 15, 2008 at 3:49 PM

    Ben, it's a fantastic idea to gather a "translation" list of different terms between MS-SQL and mySQL. I've always wondered whether you could ever put something like that into code so that you could create dynamic queries which would be translated into either format... but, my guess would be that t... read more »

  • Ben Nadel's Easy Tips For Writing Better, More Optimized SQL

    Posted on Mar 27, 2008 at 4:36 PM

    Eric, it's a good point that you don't want to create indexes *everywhere*, but I don't know of any rule of thumb to help guide you... other than do it if it makes your queries perform faster. On certain tables of mine (where we store millions of records of click-tracking data, for instance), I'm su... read more »

  • Ben Nadel's Easy Tips For Writing Better, More Optimized SQL

    Posted on Mar 27, 2008 at 3:19 PM

    I'd go one step farther than Tony's good suggestion on creating indexes on foreign keys. I'd suggest creating indexes on ANY column that you use in a WHERE statement, no matter whether it's a foreign key. I've found it really speeds up queries on large tables: read more »

  • Ben Nadel's Easy Tips For Writing Better, More Optimized SQL

    Posted on Mar 27, 2008 at 2:05 PM

    Jeff, I agree with you-- I think that the database will cache just about any query that it comes across, regardless of whether or not it uses parameters, pushing the least-recently used item out of cache as it needs to. Parameter binding just makes more queries identical and therefore makes the pla... read more »

  • Ben Nadel's Easy Tips For Writing Better, More Optimized SQL

    Posted on Mar 27, 2008 at 1:46 PM

    @Scott- I think what Ben means with the technique of using "1 = <cfqueryparam value="1" /> is not that you'd add a WHERE clause to a query that didn't have one before... I think he means that you should use query params even for values that don't ever change in your query. For instance, I ofte... read more »

  • Randomly Sorting A ColdFusion List

    Posted on Mar 19, 2008 at 4:15 PM

    Ben, this is a really interesting article. It gave me some good inspiration for a UDF that returns a random list for a query, array, or struct: read more »

  • Name vs. Variable In ColdFusion

    Posted on Mar 12, 2008 at 10:46 AM

    Yup, I'd agree with the comment on WDDX's usefulness. It's great if you need to serialize/deserialize a complex variable in order to store it somewhere for later retrieval. For instance, we use it to store someone's workflow state in our database so that they can log out, then come back later and ... read more »

  • Odd MySql CFQueryParam Truncation Issue (Help)?

    Posted on Feb 28, 2008 at 9:47 PM

    Ben, have you tried using the maxlength attribute of cfqueryparam?... read more »

  • EasyCaptcha() For Multi-Image CAPTCHA Creation

    Posted on Feb 13, 2008 at 4:17 PM

    Absolutely, the trick is to make something that is easy for the human brain and very hard for the computer one. Sadly, one of the great purposes of software development and microchip development is to make a computer brain that works exactly like a human's does. There are lots of little advances th... read more »

  • CSSRule.cfc - Parsing CSS Rules In ColdFusion

    Posted on Feb 4, 2008 at 11:22 AM

    Ben, I'm familiar with using POI to generate Excel docs, but I've never heard of the use of CSS with it. Does Excel actually use CSS rules? Otherwise, I think your CSS parser/generator is rather handy if you have to create dynamic styles. Nice work!... read more »

  • Generic Form Processing / Emailing In ColdFusion

    Posted on Feb 1, 2008 at 10:15 AM

    @Ben, On the subject of deleting file attachments, just to be clear, there is an attribute of cfmail called "spoolenable" which lets you enable or disable spooling on a case-by-case basis. You could set it to "no" for any email which had attachments, and leave it set to yes for all other emails, w... read more »

  • They're All Just Text Files (Adobe ColdFusion IDE Survey)

    Posted on Jan 7, 2008 at 1:28 PM

    So Ben, if you don't use CFEclipse, what ARE you using? Like you, I've tried CFEclipse, but 'll admit to a preference for Homesite.... read more »

  • ColdFusion CFPOP - My First Look

    Posted on Nov 29, 2007 at 9:28 AM

    @Ben, Regarding whether changing the javaService's pop3 properties affects other applications or other sessions, the answer is that I think it does , but not in a bad way. After changing the javaService properties to enable SSL in one session (for a connection to a Yahoo! mailbox over port 995), ... read more »

  • ColdFusion CFPOP - My First Look

    Posted on Nov 28, 2007 at 9:45 PM

    Hey Ben, I was just researching CFPOP and SSL tonight when I came across your post. It turns out there is a way to support CFPOP over SSL: just go into the JVM properties and set it to use SSL over the specified port. I learned of this technique by looking at the code in a UDF at http://cf_sslpop... read more »

  • Graceful ColdFusion Timeout Disaster Recovery (Thanks Barney Boisvert)

    Posted on Aug 23, 2007 at 3:48 PM

    @Ben: Good to know that it works on Standard as well as Enterprise, and CF7 as well as CF8. (Anyone care to test it out on CF6, for the heck of it?)... read more »

  • Graceful ColdFusion Timeout Disaster Recovery (Thanks Barney Boisvert)

    Posted on Aug 23, 2007 at 3:34 PM

    This is fantastic! I see that this technique works on CF7-- this isn't limited only to the Enterprise version of CF, is it? (I ask because Enterprise is all I can currently test on.)... read more »