Discrepancies in the way ColdFusion validates dates.

{ Posted By : Eric Cobb on February 8, 2010 }
131 Views
Related Categories: CFML, ColdFusion

There seems to be discrepancies in the various date validations used throughout ColdFusion, or at least I've found one case where it inconsistently considers a value a valid date. It's probably easier to demo what I'm talking about than to try to explain it. Here's an example:

More »

Good developers are not talented, they just work hard.

{ Posted By : Eric Cobb on January 15, 2010 }
368 Views
Related Categories: General

This is really just a re-post of John Nunemaker's blog post on DZone.

More »

Problem with cfqueryparam and Oracle's char datatype.

{ Posted By : Eric Cobb on January 8, 2010 }
628 Views
Related Categories: Databases, CFML

I ran into a problem this afternoon with cfqueryparam when querying an Oracle database that really had me scratching my head. In my query's WHERE clause I was filtering against a column that had a CHAR(8) datatype, but whenever I ran the query with cfqueryparam it wouldn't return any results.

More »

Fun Code Comments

{ Posted By : Eric Cobb on January 8, 2010 }
749 Views
Related Categories: Fun Stuff

Today I was going through a file and found a comment block that started with this: "The reason for the CRAP (Candidly Ridiculous Application Programming) code below is...".

I thought it was pretty creative and got a good chuckle out of it. I've always liked it when I come across funny comments like this in code. It shows that (some) programmers do have a sense of humor about their work...even if their code is CRAP. ;-)

I'm just not that creative, the best I've ever come up with was when I named a variable "darnSkippy".

Trying to install Railo on Windows Vista 64 bit

{ Posted By : Eric Cobb on December 29, 2009 }
563 Views
Related Categories: Rant, Ramblings

This is a recap of how I spent my entire morning. While I'm sure it will be amusing to some, hopefully one day it will be of use to someone in the same situation. Who am I kidding? No one's going to be in this same situation...I'm putting this here to remind me what to do the next time this happens to me!

More »

Goals for 2010

{ Posted By : Eric Cobb on December 28, 2009 }
520 Views
Related Categories: Personal

As 2009 comes to a close, it's time for me to set some goals for 2010. Goals, not resolutions. I gave up on making new year's resolutions some time ago. My resolutions never worked. They were always things that I would like to do, or knew I should do, but I wasn't really dedicated to or serious about. As such, if I didn't keep the resolution it wasn't a big deal. Like most people, my new year's resolutions were usually broken, dead, and gone within the first week (if not the first day) of the new year.

More »

CFML 101 - Fun with Lists

{ Posted By : Eric Cobb on December 23, 2009 }
675 Views
Related Categories: CFML 101

I love lists in CFML. I try to use lists whenever possible. They're efficient, clean, and powerful. I've wished for a long time that SQL Server and Oracle had built in list functions that were as easy to use as the CFML list functions. I'm not going to go over all of the list functions here, but I will cover a few examples and ways they can make your life easier.

More »

Times are tough, even for Santa.

{ Posted By : Eric Cobb on December 23, 2009 }
290 Views
Related Categories: Fun Stuff

Bad Santa robs Nashville area bank

Wow. How do you explain that one to the kids?

CFML 101 - Rookie Mistakes Part 2

{ Posted By : Eric Cobb on December 17, 2009 }
548 Views
Related Categories: CFML, CFML 101

Just as in Rookie Mistakes Part 1, this post will cover mistakes that we've all made at one point or another. These are things that seasoned developers instinctively know to do, but beginners may not realize are better or more efficient. Some of this post is based loosely on Adobe's Coding Best Practices for ColdFusion Performance, with a few of my own personal favorites thrown in there.

More »

1 Billion Spams and counting!

{ Posted By : Eric Cobb on December 15, 2009 }
415 Views
Related Categories: General

I received an email today from the Project Honey Pot Team announcing their latest milestone: Project Honey Pot received its 1 billionth spam message. I use Project Honey Pot, along with Akismet, for comment Spam on this blog and it works great! If you're not using these guys, you should be.

They have published some Spam statistics based off of five years worth of data. Some of the highlights include:

More »

More Entries »