Author: David Goodwin
-
Automated twitter compilation up to 27 July 2011
Arbitrary tweets made by TheGingerDog (i.e. David Goodwin) up to 27 July 2011
-
Slim Framework – using middleware for page caching in the front controller
The SlimFramework is a ‘minimal’ PHP5 framework. We’re using it in one project, integrating with Smarty, Propel and the Zend Framework (as I don’t like Zend_View, it didn’t seem worth using Zend_Controller_Action, although what we do have is very similar to one). Anyway, when creating your front controller in Slim, you can define ‘middleware‘ (i.e.…
-
Ebuyer & ParcelForce – a story in how not to treat your customer
5-6 weeks ago ago I ordered two 24″ widescreen monitors from EBuyer – when the ParcelForce guy delivered them I told him I expected 2, and there was only one delivered. He walked off. I presumed that the other would arrive the next day or something… but it didn’t. while(true) { David.ContactsEBuyerViaStupidENoteSystem(‘rah rah rah…
-
Upgrading iPhone – the iphone could not be restored an unknown error occurred 1013
On seeing JailBreakMe has released a new version – which allows me to upgrade to the 4.3.3 firmware – I thought I’d update my iPhone4 – but annoyingly kept getting the following error message (whether doing an update or a full restore) : “The iphone could not be restored an unknown error occurred 1013” In…
-
Zend_Cache – automatic cache cleaning can be bad, mmkay?
$customer uses Zend_Cache in their codebase – and I noticed that every so often a page request would take ~5 seeconds (for no apparent reason), while normally they take < 1 second … Some rummaging and profiling with xdebug showed that some requests looked like : Note how there are 25,000 or so calls for…
-
Automated twitter compilation up to 05 July 2011
Arbitrary tweets made by TheGingerDog (i.e. David Goodwin) up to 05 July 2011
-
Automated twitter compilation up to 20 June 2011
Arbitrary tweets made by TheGingerDog (i.e. David Goodwin) up to 20 June 2011
-
Delaying external javascript/content loading on a website…
One customer of ours, has a considerable amount of content which is loaded from third parties (generally adverts and tracking code). To the extent that it takes some time for page(s) to load on their website. On the website itself, there’s normally just a call to a single external JS file – which once included…
-
Checking varnish configuration syntax
If you’ve updated your varnish server’s configuration, there doesn’t seem to be an equivalent of ‘apachectl configtest’ for it, but you can do : varnishd -C -f /etc/varnish/default.vcl If everything is correct, varnish will then dump out the generated configuration. Otherwise you’ll get an error message pointing you to a specific line number.
-
Automated twitter compilation up to 31 May 2011
Arbitrary tweets made by TheGingerDog (i.e. David Goodwin) up to 31 May 2011