Posted: June 30, 2006 at 5:25 PM by Ben Nadel
I just overheard this little clip of a conversation this morning: "If you enjoy the same porn I do, there's something wrong with you." I have some good, fun co-workers to work with, I tell you what. ... read more »
Comments (0) | Post Comment | Ask Ben | Live Chat (Beta) | Permalink
Posted: June 30, 2006 at 1:36 PM by Ben Nadel
There was a discussion going on over a House of Fusion about NULL values in a ColdFusion query of queries. Some guy was having trouble with a function IFNULL(). His problem is that IFNULL() is not allowed in ColdFusion query of queries. But, the thread got me thinking about NULL values. I know that if you return a NULL value in a ColdFusion qu... read more »
Comments (9) | Post Comment | Ask Ben | Live Chat (Beta) | Permalink
Posted: June 30, 2006 at 12:08 PM by Ben Nadel
I was testing some ColdFusion Query of Queries functionality when I got this error: Query Of Queries syntax error. Encountered "(. Incorrect Select Statement, Expecting a 'FROM', But Encountered '(' Instead, A Select Statement Should Have a 'FROM' Construct. I know what was causing the error because I was testing to see if something worked, but ... read more »
Comments (4) | Post Comment | Ask Ben | Live Chat (Beta) | Permalink
Posted: June 30, 2006 at 11:19 AM by Ben Nadel
I am working on using some AJAX type stuff in my site's administration. The AJAX code itself is not that crazy or hard. For me, the hardest part is coming up with an interface that is AJAX-friendly, but is also consistent with the rest of my application. I want AJAX to be integrated seamlessly. I don't want someone (me) to go a page and have it be... read more »
Comments (0) | Post Comment | Ask Ben | Live Chat (Beta) | Permalink
Posted: June 29, 2006 at 9:24 AM by Ben Nadel
I just added two access keys to the site: ALT + s : Site Search ALT + 1 : Home Page I was just reading about access keys and web usability over here and these are the access keys that they recommend: Alt + 1 : Home page Alt + 3 : Site map Alt + 4 : Search Alt + 5 : Common Questions Alt + 6 : Help Alt + 9 : Feedback form Of these, I only have... read more »
Comments (0) | Post Comment | Ask Ben | Live Chat (Beta) | Permalink
Posted: June 29, 2006 at 8:50 AM by Ben Nadel
Handling 404 errors can be tricky no matter what. On your live, production server, you can set up custom 404 handling on a site-by-site basis via IIS custom error templates. However, for many of us, this is trickier on the development server where there are no site. Its just one web server with many sub directories, none of which are usually virtu... read more »
Comments (0) | Post Comment | Ask Ben | Live Chat (Beta) | Permalink
Posted: June 29, 2006 at 7:58 AM by Ben Nadel
I pulled my first with-girlfriend double-feature last weekend, sneaking from Nacho Libre into Click on the price of one admission ticket. After seeing Nacho Libre I needed a pick-me-up and Click delivered. For those of you who are Adam Sandler fans, you will know that from his slap-stick comedy to his serious roles, Sandler's movies have a resound... read more »
Comments (4) | Post Comment | Ask Ben | Live Chat (Beta) | Permalink
Posted: June 29, 2006 at 7:58 AM by Ben Nadel
Last weekend I went to see a matinee of Nacho Libre. I am HUGE Jack Black fan and I have to say that this movie was very disappointing. Rarely funny and with horrible accents that fade from spanish to italian, it was a movie clearly aimed at a younger age group. To support this, the children in the theatre were hootin' and hollerin' with delight a... read more »
Comments (2) | Post Comment | Ask Ben | Live Chat (Beta) | Permalink
Posted: June 29, 2006 at 7:52 AM by Ben Nadel
Went to a late show of the new Superman movie last night. It was not bad, but not super exciting. A little too much CGI, not quite enough story, and a bit too long. Some of the CGI stuff I just don't understand; they used CGI to do things that the old Superman movies did with live action. I have to say though, the guy who plays Superman was a perf... read more »
Comments (0) | Post Comment | Ask Ben | Live Chat (Beta) | Permalink
Posted: June 28, 2006 at 6:10 PM by Ben Nadel
Dan G. Switzer, II has taken my ColdFusion web services solutions and enhanced it by implementing the spell checker . He is using the Jazzy Spell Checker Java API. Awesome work Dan! When I get some free time I am going integrate his code into my source. There are several other minor updates from his code that I will be integrating including som... read more »
Comments (0) | Post Comment | Ask Ben | Live Chat (Beta) | Permalink
Posted: June 28, 2006 at 5:03 PM by Ben Nadel
This guy at work could not figure out why some errors in his application were being caught by his error handling template (as defined by the CFError tag) and some were not. The errors being caught were handled nicely. The ones that were seemingly not caught were dumped out on to the page as if no error handler was defined. This is a common probl... read more »
Comments (3) | Post Comment | Ask Ben | Live Chat (Beta) | Permalink
Posted: June 27, 2006 at 1:07 PM by Ben Nadel
A client just sent this to me: Thanks, Ben. You are so the "The Man", I am considering naming my soon-to-be born son after you. It's nice to know things go noticed by the clients :) ... read more »
Comments (0) | Post Comment | Ask Ben | Live Chat (Beta) | Permalink
Posted: June 27, 2006 at 10:11 AM by Ben Nadel
People are always posting questions about this form of ColdFusion SQL error on the House of Fusion CF-Talk list. It can be a really frustrating error if you have never seen it before since you look at it an you are like "What is this crap?!? 10 IS greater than or equal to 10!" The numbers will change from time to time, but once you've seen the e... read more »
Comments (0) | Post Comment | Ask Ben | Live Chat (Beta) | Permalink
Posted: June 27, 2006 at 8:42 AM by Ben Nadel
After going through CFJSON, I created my own version with my own coding standards and quirkiness. To point out some non-superficial changes, my version: Does not have any try-catch blocks. I don't get the point. I don't see where the code can really fail. I am only checking standard types that should have standard values. I can't see what would b... read more »
Comments (9) | Post Comment | Ask Ben | Live Chat (Beta) | Permalink
Posted: June 26, 2006 at 6:30 PM by Ben Nadel
I was beating my head against the wall today for a bit trying to figure out why some values coming back from my ColdFusion JSON-esque solution where not evaluation properly. I had the following code in my AJAX data handler: this.OnLoad( eval( this.Connection.responseText ); ); Damn thing was driving me crazy. Kept all kinds of errors like ... read more »
Comments (67) | Post Comment | Ask Ben | Live Chat (Beta) | Permalink