Skip to main content

WebManWalking

Member since Apr 10, 2010

Recent Blog Comments By WebManWalking

  • How I Format The Conditional Ternary Operator In ColdFusion And JavaScript

    Posted on Oct 15, 2016 at 12:31 PM

    ...er, "why not KEEP your eyes from jiggling"... Sorry.... read more »

  • How I Format The Conditional Ternary Operator In ColdFusion And JavaScript

    Posted on Oct 15, 2016 at 12:30 PM

    Hey Ben, long time no talk (here). I do the exact same thing. In fact, I align the ? and : with the = as well. And I consistently align all the =, ==, ===, <, <=, >, >=, "is", "is not", "gt", "ge", "lt", "le", etc, mid-line br... read more »

  • 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... 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 a... 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 »

I believe in love. I believe in compassion. I believe in human rights. I believe that we can afford to give more of these gifts to the world around us because it costs us nothing to be decent and kind and understanding. And, I want you to know that when you land on this site, you are accepted for who you are, no matter how you identify, what truths you live, or whatever kind of goofy shit makes you feel alive! Rock on with your bad self!
Ben Nadel