By barneyb on January 24, 2009
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 [...]
Posted in cfml, tools
By barneyb on January 23, 2009
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 [...]
Posted in cfml, tools
By barneyb on January 16, 2009
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 [...]
Posted in cfml, development, groovy, tools
By barneyb on January 13, 2009
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 [...]
Posted in cfml, development, groovy, personal, tools
By barneyb on January 12, 2009
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 [...]
Posted in cfml, groovy, tools
By barneyb on January 5, 2009
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 [...]
Posted in meta, tools
By barneyb on December 28, 2008
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: [...]
Posted in cfml, development, fusebox, tools
By barneyb on December 18, 2008
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 [...]
Posted in tools
By barneyb on December 10, 2008
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 [...]
Posted in ajax, database, development, javascript, tools
By barneyb on December 5, 2008
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 [...]
Posted in cfml, database, tools