2009

You are browsing the archive for 2009.

Running CFGroovy on in a Hibernate-Aware Environment

In my last post I mentioned the issue with using CFGroovy's Hibernate when Hibernate is already loaded by the app server, such as the case with JBoss 4.2+ and a certain unreleased CFML runtime (cough … Centaur … cough).  The gist of it is that Hibernate appears to create some static references to itself that [...]

CFGroovy 1.x Features

It was a big weekend for CFGroovy.  In addition to the 1.0 release, I started doing some work for the 1.x series (which is available in the trunk).  There are several significant changes to  the engine:

Groovy has been upgraded to 1.6.0 from the previous 1.5.6 version.
You can specify a custom Groovy JAR for your CFGroovy.cfc [...]

CFGroovy 1.0!

After a lengthy burn in period, I've officially released CFGroovy 1.0.  It is identical to CFGroovy 1.0RC3, so if you're running that version there is no need to upgrade.  You can get the 1.0 engine binaries, 1.0 demo binaries (including the engine), view the 1.0 tag in Subversion (engine or demo), or visit the project [...]

The Cookie Militia

The Cookie Militia

Saw this on pictureisunrelated.com and had to share:

Open Pandora

Based on several suggestions after my last post, I gave OpenPandora another try.  So far it's been pretty stable and handles the new player layout correctly.  Nice to have my keyboard shortcuts back, though it does occasionally throw up "do you want to debug this error" dialogs (from Visual Studio, I'm guessing?).  But working well [...]

Pandora Bookmarklet

Ever since Pandora prevented accessing the miniplayer directly a few months ago, I've been using a little bookmarklet to fake it.  Set http://pandora.com/ as my IE homepage (about the only thing I use IE for) and put the bookmarklet in my links bar to click immediately after launch.  Net result: a perfectly sized window, hiding [...]

HTTP is an API

Ray Camden posted an interesting article over on InsideRIA about expanding short urls using jQuery and ColdFusion.  After reading the article, I thought he was overcomplicating things somewhat by relying on the url shortening services' APIs to do the lookups.  Yes, that's what APIs are for, but for this case, HTTP happens to be a [...]

Spring 2 "scope" goodness for ColdSpring

In Spring 1.2 (and ColdSpring, which emulates it), you have the "singleton" attribute, which was a boolean flag for whether a bean is a singleton (the default) or a prototype (instantiated afresh for every getBean call).  If you've used Spring 2.0+, you've probably come across the "scope" attribute, which supersedes the "singleton" attribute, and allows [...]

Project Euler Test Harness

Project Euler is a collection of mathematics/computer science problems, as you probably already know.  I've solved almost 50 of them so far, and I've developd a collection of utilities to make my job easier.  Some of them (factorization routines, prime generators, etc.) I'm not going to share as they are fundamental to solving certain problems.  [...]

A Groovy Letdown

I'm a huge fan of Groovy, but it's major downside drove over me like a bus this evening.  What's that, you say?  Performance, of course.  Runtime "stuff" necessarily happens at runtime, and therefore affects performance.  Does this matter in most cases?  No, absolutely not.  In general it's far cheaper to buy hardware than to employ [...]