Ben Nadel
On User Experience (UX) Design, JavaScript, ColdFusion, Node.js, Life, and Love.
I am the chief technical officer at InVision App, Inc - a prototyping and collaboration platform for designers, built by designers. I also rock out in JavaScript and ColdFusion 24x7.
Meanwhile on Twitter
Loading latest tweet...
Ben Nadel at Scotch On The Rocks (SOTR) 2011 (Edinburgh) with:

WebManWalking

Member since Apr 10, 2010

Recent Blog Comments By WebManWalking

  • Exceptions Are For Exceptional Circumstances Is Not A Value-Add Answer

    Posted on Nov 1, 2014 at 12:07 PM

    @All, Ben asked for a reason to thrown an error, and ameliorating a raw exception message by substituting a friendlier one is a reason. But here's an idea some of you haven't considered. Why does it have to be either/or? You control your code. You set your own conventions that make for a more sta... read more »

  • CFFinally Will Execute Even If CFCatch Throws An Error In ColdFusion

    Posted on May 8, 2014 at 4:58 PM

    Hi @Ben, That's what CFFinally is for, but that's okay. It never hurts to write experiment pages. They're always so much more reassuring than accepting some human's word for it. In ye olden days, experiment pages were called "sleuthing". In most systems I work on, there's usually a subd... read more »

  • Chunking File Uploads With Plupload And ColdFusion

    Posted on Feb 21, 2014 at 8:30 AM

    @Ben, My second guess is, to reduce the complexity of index.cfm to the blog audience, you replaced sections of its listing with View Source. DId I guess it? Did I guess it? Did I guess it? :-)... read more »

  • Chunking File Uploads With Plupload And ColdFusion

    Posted on Feb 21, 2014 at 8:25 AM

    @Ben, Less than an hour ago, you tweeted that there's more coming on this topic, so the following is offered in the spirit of helping, not nit-picking: At line 20 of your index.cfm page, I see the typical doubling of pound signs, but at lines 48 and 49, I don't. I surmise that it was once an HTML ... read more »

  • Sending And Receiving UDP (User Datagram Protocol) Messages With ColdFusion

    Posted on Feb 5, 2014 at 11:18 AM

    P.S.: On a Unix system, such as your MacBook Pro, you need to be root to listen to a low-numbered reserved port number. That's how experienced users (sysadmins) prevent neophyte users from messing up existing services. That's why you have to turn on the MBP's Apache web server using System Preferen... read more »

  • Sending And Receiving UDP (User Datagram Protocol) Messages With ColdFusion

    Posted on Feb 5, 2014 at 11:03 AM

    @Ben, By role, there are 2 kinds of sockets, client sockets and server sockets. Using the telephone analogy, clients initiate the phone call and servers sit by a port and wait for someone to call them on that port. On the C level, servers call "listen", specifying any-old port they want... read more »

  • Sending And Receiving UDP (User Datagram Protocol) Messages With ColdFusion

    Posted on Jan 21, 2014 at 11:01 AM

    UDP is much more similar to TCP than HTTP. A perfect example of when you want to use UDP is streaming audio or video. If you were transferring a song to keep (as in purchasing a song on iTunes), you'd want to use TCP. But if you want to stream it in real time, not to keep, you'd want to use UDP. ... read more »

  • After 2013, I'm Looking Forward To 2014

    Posted on Jan 5, 2014 at 11:44 AM

    That unstructured time really helped, didn't it? When I read your post, it seemed that the diagnostic symptom was joylessness. Joy happens when you're not just a meaningless cog in the machinery of your survival systems. More time off in 2014!... read more »

  • Default Argument Expressions Are Executed Only As-Needed In ColdFusion

    Posted on Aug 22, 2013 at 9:29 AM

    @Phillip, What you're saying about ColdFusion's support for SQL would be true if it weren't for the fact that CFML can be nested inside of a cfquery. In my work environment, it's routine to say stuff like cfquery ... select ... cfif Variables.DatasourceIsSybaseOrMS (column expression using i... read more »

  • ColdFusion 10 Beta, Apache Tomcat, And Symbolic Links On Mac OSX

    Posted on Feb 19, 2012 at 4:12 PM

    Thanks, Ben. Is your MacBook Pro running Lion or Snow Leopard? (My ONLY reason for not upgrading my MBP to Lion was that it wouldn't support CF 9. No PowerPC apps on the laptop to get messed up by the loss of Rosetta. I'm still on Snow Leopard for that sole reason.)... read more »

  • How Client-Side Validation Is Changing The Shape Of Server-Side Validation

    Posted on Dec 31, 2011 at 3:41 PM

    @Ben, Yeah, that was my point. Used properly, JavaScript is the magic ingredient that can fix everything that's still royally messed up about HTML and CSS. It now helps accessibility much more than it hurts it. You're well justified in your numerous experiments and explorations to expand JS and i... read more »

  • The Five Secrets You Must Discover Before You Die By John Izzo

    Posted on Oct 31, 2011 at 7:20 PM

    @Anna, It takes so much concentration to keep your mind from wandering, the instant you stop, your mind fills up with somethings again.... read more »

  • Creating A CFThread-Based Process In ColdFusion In Order To Learn About Concurrency

    Posted on Dec 23, 2010 at 12:31 PM

    @Ben, My big eye-opener about modern multicore computers and concurrency was Java Concurrency in Action: http://www.amazon.com/Java-Concurrency-Practice-Brian-Goetz/dp/0321349601/ref =sr_1_1?ie=UTF8&qid=1293123640&sr=8-1 It's written by the folks who wrote the java.util.concurrent packa... read more »

  • Learning Event-Driven Programming Best Practices From Web Browsers

    Posted on Dec 14, 2010 at 1:19 PM

    @Ben, This observation might help: If the onevent() handler can prevent the default behavior by returning false or calling preventDefault(), the event() method generally doesn't call the onevent() handler. That way, you can call onevent() to decide whether to trigger event(). But you said that fo... read more »

  • Learning Event-Driven Programming Best Practices From Web Browsers

    Posted on Dec 14, 2010 at 3:21 AM

    @Ben, The reason why browsers decouple submit() and onsubmit() is so that your JavaScripts can do only one thing. It can be thought of as a logical atomism or fine granularity. For example, suppose that you have an (input type="button") button that you want to go to a different action p... read more »

  • Very Simple Pusher And ColdFusion Powered Chat

    Posted on Nov 29, 2010 at 10:36 PM

    @asim, There are actually 2 message gateway types already defined in CF Admin's Gateway Types page: SMS (phone text messaging) and XMPP instant messaging. In other words, you don't need to write a messaging app. CF ships with 2 of them. You just need to hook them up. You could actually create a... read more »

  • Very Simple Pusher And ColdFusion Powered Chat

    Posted on Nov 28, 2010 at 11:23 PM

    @Ben, You'll like it. Event Gateways are a different way of coding, but fun. Here's a good, practical use for Event Gateways: Define a "directory watcher" that looks for new files in an FTP upload directory. If it sees any, it cfexecutes a virus scanner on the file. If the file's clean,... read more »

  • Building A Fixed-Position Bottom Menu Bar (ala FaceBook)

    Posted on Nov 19, 2010 at 10:32 AM

    @All, In case you missed it: http://jqueryui.com/demos/position/ Positioning is such a generic problem, it was only a matter of time before there would be a generic jQuery UI solution. One of the options is positioning relative to the window. As far as I can tell, you don't need to adopt the... read more »

  • Creating An ArgumentArray Collection In ColdFusion 9 Using TreeMap

    Posted on Nov 5, 2010 at 12:56 PM

    @Ben, just as an aside on maps: For all intents and purposes, you can think of java.util.HashMap as a ColdFusion struct and java.util.TreeMap as a struct on which you've done x = ListSort(StructKeyList(struct)) and you're using x to iterate over the struct. That is, TreeMap is like an ordered stru... read more »

  • Javascript Patterns By Stoyan Stefanov

    Posted on Nov 2, 2010 at 9:23 AM

    Yay!... read more »