tools

My Real URL Shortening Service

For those of you who didn't get the joke last night, the whole thing was a joke.  While it does do exactly as advertised, it deliberately creates exceptionally long URLs.  In order for the app to actually return a shorter URL than you submit, the original URL must be at least 189 characters long.  I [...]

My New URL Shortening Service

Joshua, Koen and I were discussing URL shortening services (tinyurl, bit.ly, is.gd, etc.) over lunch this week, and so I decided to write my own (UrlShrink) available here: http://www.barneyb.com/applications/urlshrink/app/
It's ludicriously simple.  I opted for memory storage (think Mailinator) instead of a database for performance reasons.  With the load I anticipate, I think it'll be a [...]

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 [...]

CFGroovy HibernateTransactionAdvice Update

If you've used the HibernateTransactionAdvice CFC from the CFGroovy framework you may have witnessed weird behaviour after a failed transaction.  I had neglected to close the active session after an error is encountered and the transaction rolled back.  If you continued to use the Hibernate context after this happened for write operations you could encounter [...]

User Stylesheets

Just used a user stylesheet for the first time yesterday for tweaking WordPress 2.7's new QuickPress widget.  The TEXTAREA for entering the body is way too short, but a simple line in my userContent.css file and it's magically fixed.  Not even remotely the use case user stylesheets were designed to handle, but it's simple and [...]

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: [...]

Yay VPNs!

I've been having a hell of a time with the office VPN client this week.  It refuses to install on my laptop (a stock ThinkPad) for some reason.  The "Determinisit Network Enhancer" can't add a plugin.  Whatever that means.  Tried a few different version of the client, all to no avail.  This prompted my walk [...]

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 [...]

Minor Schema Tool Update

I just committed a minor update to my award winning schema tool that allows you to write your migrations as CFM files, as well as CFCs and SQL files.  The naming convention is the same (migrationNNNNNN.cfm), and the entire file represents the only minor version for that migration step.
What I've found over time is that [...]