ColdFusion 10 cache bug

Written on 14 October 2014, 02:10pm

Tagged with: ,

After upgrading to ColdFusion 10 I noticed that the error timeToLive can't be negative is thrown for each query that was cached for more than 15 days.
This bug is already reported in the Adobe’s Bugbase: Error when using CFQUERY’s cachedWithin with value > 15 days
A quick workaround is to cache the query for less than 15 days; like that:

<cfquery name="myQuery" datasource="#dsn#" cachedwithin="#CreateTimeSpan(15,0,0,0)#">

Starting to understand the frustration of the people commenting on the last ColdFusion 11 update: blogs.coldfusion.com

… the current state of affairs is not good enough anymore in 2014. To be honest it already wasn’t good enough anymore in 2011 or 2012. You need to get your processes under control. … If your build and test process for CF is too cumbersome to do faster releases, it seriously needs to change or you’ll end up like the dinosaurs a few 100 million years ago — you’re trying to compete with modern web technology stacks/frameworks there and there should be an update every 4-6 weeks.

Update: a few hours after I wrote this, the status of the bug changed to ‘Fixed’ – as the CF 10 Update 14 was released.

The tools that I am using #2

Written on 13 October 2014, 03:25pm

Tagged with: , , ,

I am updating the post from last year, thinking about the possibility to switch to Mac platform.
Naturally, most of the applications are still there, but there are some consistent changes:

Productivity

The items in bold have Mac equivalents, the others are not that important or really necessary if switching to a Mac

  1. Chrome
  2. Dropbox
  3. f.lux
  4. Skype
  5. CrashPlan
  6. WinRar
  7. Avira MalwareBytes
  8. KeyTweak
  9. Logitech SetPoint

Work

Again, the items in bold have Mac equivalents.

  1. Sublime Text
  2. Total Commander (there are Mac alternatives)
  3. Wamp
  4. Putty (#)
  5. TortoiseSVN (Versions for Mac)

I removed from the list HexView, EditPlus, Console 2, Beyond Compare and PoEdit. Turns out, I did not use them in a long while and are not that important. All of them have Mac equivalents.

Entertainment

  1. GomPlayer
  2. FastStone Viewer (Lyn?)
  3. ĀµTorrent

AllShare, Lightroom and Sopcast are all gone from the list. So is Winamp, replaced by Spotify on my iPad (turns out, I no longer listen to music on my notebook).

So, at first, I am ready to move to Mac. I am looking at the 15′ MacBookPro with Retina display. But its price tag is still holding me :)
overview_hero