Pardon Me, Do You Have the Time?

I’ve recently moved my sites over to a new VPS, with a new CF9 Professional install. This blog has been there for about a month now, and there’s been an issue that I never noticed until today.

There’s a new site that I’ve been working on, and is just about complete. One of the last things I wanted to add was a “dateLastUpdated” column into one of the database tables, which I did this morning. I’m passing ColdFusion’s #now()# value as the dateLastUpdated. I know that it’s generally considered better practice to use a database-specific variable (e.g. getDate() in SQL Server or CURRENT_TIMESTAMP in mySQL), but I didn’t want the column populated when the record was initially created, so I didn’t set it as a default value on the column. I’m using ColdFusion 9′s ORM integration, which I’m new to, so the path of least resistance was for me to just pass now() as the value. It’s not going to be a high-traffic site, so I wasn’t particularly worried about whatever performance implications might result from not “letting the database do the work”.

It should have been straightforward enough, but when I went to test, I noticed that the dateLastUpdated value was 12 hours in the future. I VPN’d into the VPS and verified the system time was correct (same as my local time here in AZ). I recalled that there was a DST bug in a previous JVM, but since the time difference was greater than an hour, I assumed this wasn’t a DST issue. After some googling, I found a post on the Adobe Forums, with a very helpful answer by Paul Hastings (of course… Paul’s very well known for his knowledge of all things i18n/timezone related, and deservedly so).

Read More»

jQuery Exercise: Tabbing in Textarea

The other day I came across a question on stackoverflow, where the developer wanted to allow his users to use the tab key in a <textarea>. Of course, the issue is that by default, when a form element has focus and the tab key is pressed, the next form element (either consecutively or via the tabindex attribute, if used) gets focus.

I thought that’d be an interesting quick exercise, so I set about writing some code. The good news is that I got it to work, and relatively quickly. The bad news is that by the time I did, somebody else had answered… and with a better answer than mine.

The “good” answer is to use an existing plugin, and Tab Override was suggested. Generally, as programmers, we try not to reinvent the wheel, so I voted that answer up. But now I’ve got some code sitting here doing absolutely nothing, so I thought, “hey… blog entry” :)

Read More»

Conference Recap: MAX and CF DevCamp Phoenix

Since my last entry had a hint of an, “Oh, God, oh, God, we’re all gonna die” overtone to it, I thought perhaps something more upbeat might be in order.


Last month (and I still can’t believe it’s been that long), I was in Los Angeles at Adobe MAX. For the second year in a row, I’ve had the honor of helping Ray Camden and Ezra Parker organize the ColdFusion Unconference. As I spent all of my time at the Unconference, this will be more of a recap of the Unconference rather than MAX itself.

First off, I’d be remiss if I didn’t thank Adobe for their support in helping make sure that all of the Unconferences ran as smoothly as possible. I’m sure that what with organizing MAX proper, their resources were stretched pretty thin to begin with. But we still got whatever we needed and that’s very much appreciated.

Read More»

On ColdFusion Builder vs CFEclipse and the Sky Falling

Maybe you’ve heard…

Adobe recently published a whitepaper (PDF) comparing ColdFusion Builder and CFEclipse (see Adam Lehman’s post here). Some people were, um… less than enthusiastic about this.

With the full disclaimer that I do not work for Adobe, nor was I even aware of the effort to put this paper together (I didn’t know about it until after it was published… right around the time many others first saw it), I’d like to offer up a response. My response is directed more towards the overall reaction to the paper than to the paper itself. The opinions expressed are mine entirely. And they’re just that. Opinions. Mine. OK, glad we’re clear on that.

Read More»

GMail Account Hacked

Late Friday night, I got a somewhat cryptic DM on Twitter from Pradeep Viswanathan. It said, “You have been attacked by some virus!!! take the required measures :)” I don’t know Pradeep very well (not outside of Twitter, at least), so I wasn’t quite sure how he knew that I had been attacked by a virus. In fact, my first thought was that Pradeep had been attacked by a virus which sent out DMs to his followers stating that they had been attacked by a virus.

Shortly after that, Judith Barnett emailed me at my primary e-mail account, stating that my gmail account had been hacked, and was sending out spam.


I logged into gmail, and before I could even get to my “Sent Items” folder to verify, I saw several bounced emails in my inbox, sent by me (apparently). The message stated:

Hi friends

Please download and watch my girlfriend’s self-view video
http://(link removed by me)/video.exe

After reading, please reply me……Very exciting.

So… what to do?

Read More»
Page 6 of 24« First...45678...20...Last »
© Copyright Charlie Griefer