James May Hits The Ditch

Rolls Royce Corniche

You know James May from Top Gear. He’s the calm guy: “Captain Slow”.

So it’s a bit unnerving to hear he took a dive into a ditch. At least he did it in style: in a Rolls Royce Corniche!

James brings to his defense the argument that it’s probably not the best car for handling, with a strong personality and initiative. But still, the car wouldn’t have made it so far (it was a ’72 model) if it’s only goal was to dig into ditches.

Continue reading

WordPress Stats Helper Plugin v0.2, Internal Options – Based Cache Details

Version 0.2 of the WordPress.com Stats Helper Plugin is out. Among the main changes:

  • internal, option-based, cache for data fetched from wordpress.com
  • added possibility to not display post views count (when using either as a function or as a widget)
  • capped post list to a maximum of 25 items

Andy expressed some serious concern when I first asked him to review this plugin: it was using wp_cache for data fetched from stats.wordpress.com. By default the cache is not enabled in wordpress (you have to manually set a variable in wp-config.php). He suggested I use the options to emulate a cache for my plugin. Here’s how I did it: Continue reading