Tonight I finally got to use the very awesome ON DUPLICATE KEY UPDATE feature in MySQL. If you are wondering this is a great feature in MySQL that allows you, in one statement, to insert a record, and if that record already exists, update it instead. The criteria for already...

Here’s a small problem I was asked about the other day. How, using jQuery, can you convert an array of number strings into an array of integers? Using jQuery this is actually pretty simple. With an input like this: ["1", "2", "3"] We want the end result to look like...

I’ve been playing with Jasper Reports lately as a solution for handling both pre-build and custom reports for customers in my application. The first hurdle to overcome was learning how to actually build a report using the iReport application. It’s not like this is hard, but more the fact that...

Steve Bryant came up with the idea to, on August 1st, post a blog entry on How I Got Started in ColdFusion. So I will do just that. My story is much like many of yours. It starts with a boy who wanted to be an astronaut (ok, so not...

Ran into a little issue today while writing a C# app to do unit testing of a ColdFusion-based webservice API. The ColdFusion service is running on a development server that has a self-signed certificate installed in IIS for HTTPS testing. When I finished up my C# application and attempted to...

Ok, this one was a beating. For my wedding website I am using Google App Engine, a cloud PaaS system. The application is written in Groovy on Gaelyk. So far everything has been great, until yesterday. While attempting to deploy my application I started getting an error like this: Unable...

Here’s a quick tidbit. I was asked if I had a quick way to track changes on an old, existing page in an application. Once a Cancel button was clicked, or the user tried to close the browser, the developer wanted to determine if anything changed, and alert the user...

Groovy 1.8 has finally been released, and let me comment on that with YAY! There are some really great enhancements to an already great language. I’m only going to point out a few of the areas that I am particularly interested in, but you can see the release notes here....

I’m about a day late to the game, but Google has released version 1.4.3 of their cloud-based PaaS. For those of us using OpenBD on the Google App Engine the latest enhancements to the Java platform side are particularly welcome. Concurrent Requests - This one is a big #winning! Instead...

Here’s a small function to hash a string in C# using the MD5 algorithm. using System; using System.Text; using System.Security.Cryptography; public String md5Hash(String input) { String result = ""; using (MD5 md5 = new MD5CryptoServiceProvider()) { result = BitConverter.ToString(md5.ComputeHash(ASCIIEncoding.Default.GetBytes(input))); } return result.Replace("-", String.Empty); } Note that the Replace() at the...