development

Project Euler

In the comments to my post about my prime sieve from last week, Duncan pointed me to Project Euler, which is a collection of math problems that you can solve.  Not sure if it makes me crazy that I think it's really cool, but I do.  Even better, once you solve a problem, you gain [...]

CFGroovy 1.0 RC3

This is the final expected RC for CFGrovoy 1.0 and includes a couple more API tweaks (backwards compatible, of course).  Bad form to do this right now, but like the attributes-to-params change, I want to get them in before the 1.0 release so I can build the next round of enhancements without mucking up the [...]

The Groovy Sieve of Barney

Ok, it's really Eratosthenes', but it's my implementation (in Groovy, of course) along with simple display (in CFML, of course), and can be found here (with full source, of course).  If you just want to see the core sieve, here it is ('bound' is the upper range of the search):
class Node {
[...]

More CFGroovy Goodness, Now With RC2

Four things of import, in no particular order:
First, another bug fix to CFGroovy today, this one more serious.  I made a silly blunder in the way I was executing scriptlets that lead to a slow memory leak from extraneous java.lang.Class instances being created.  It also reduced performance of scriptlets by a tangible amount.  If you're [...]

Mentor.com Accounts are Live!

And why am I writing about this?  Because it's also the first CFGroovy / Hibernate app we've deployed into production.  So how did this first real-world adventure go for my youngest project?  Just swimmingly.
The adoption was actually championed by Joshua since I was working on another project at the time.  We went skunk-works, helped Koen [...]

getSubversionRevision UDF

First, a confession.   I cheat hard-core on the deployment for most of my personal apps.  In almost all cases I check out a working directory in the production webroot and just use `svn update` to "deploy".  I've a couple apps that I use an Ant/Rsync-based mechanism to deploy where I actually have stuff to build, [...]

Adventures in Monkey Code

I did a little experiment this weekend.  I needed (well, wanted) to build a really simple little photo viewer application.  Create a gallery, add some photos, view the photos as a slideshow.  Really basic.  The catch is that I build it using no framework at all, aside from Application.cfm.  Note the 'm'.  And no IDE: [...]

1 Items Found [sic]

If you're showing a textual label such as "N items found", please, pretty please, put the logic in there to hide the "s" when N is equal to one.  Same goes for changing "children" to "child", etc.  It's not hard, and it makes your software look retarded (or super enterprise-y) when you don't do it.  [...]

Tag Hierarchies

About four and a half years ago I wrote a little event tracking app that accepts a timestamp and a list of tags, and then provides a pile of ways to report on the data.  Think Twitter, except a couple years earlier, and designed for consumption by software, not people, at least at the individual [...]

Joe on ORM

Joe Rinehart made a very good post about the state of "ORM" in CFML.  Namely, that there isn't any.  There are several abstract persistence frameworks for CFCs, but no real ORM solutions.
Like Joe, I've been using Hibernate/Groovy to back a lot of CFML applications of late and it's wonderful.  Certainly not without some downsides, but [...]