window.onload firing too early in IE

12th May, 2012 - Posted by David - No Comments

The Problem Where I work, our tool supports 6 different languages, where translations are contained in various sets of language files. One of these sets consists of the translations stored in Javascript files as JSON blocks Read More

php, error_log and newlines: a solution

15th March, 2012 - Posted by David - No Comments

When it comes to coding and debugging, I generally keep things simple, opting for a basic text editor (Sublime Text 2 with Vim key-bindings being my current choice) and simple debug output statements when trying to track down a bug. With my current job, I deal with an API over AJAX so it’s not easy » Read More

MySQL reached max integer limit

23rd August, 2011 - Posted by David - No Comments

Whenever anything generates a MySQL error at work, the whole technical team gets an email about it, with full debug info. We recently got one for an area that I look after, so it was up to me to investigate. The title of the error was a slightly cryptic Error: Duplicate entry ’0′ for key » Read More

Google Maps Zoom Control missing in Internet Explorer (IE): a solution

23rd February, 2011 - Posted by David - No Comments

When I was working on rebuilding daft.ie’s mapping system for the modern web, it involved writing alot of Javascript (JS) code and loading this via a couple of JS source files, one external one from Google (i.e. the core Google Maps JS) and another from our own web-servers. It all worked fine in most browsers, » Read More

HTML Div’s layered onto Google Streetview: Chrome issue

16th December, 2010 - Posted by David - No Comments

While working on Daft‘s Map Search facility, we naturally decided to integrate Google’s Street View (SV) as a feature, especially since we were one of the launch partners for the product in Ireland. We decided to do this as follows: For each property icon on the map, when you click on it, bring up a » Read More

Inconsistent JSON arrays using PHP’s json_encode

14th September, 2010 - Posted by David - No Comments

I’d be amazed if anyone ever has come across this problem before, but it’s one that stumped me recently and I feel would make a good first ‘real’ post for this new blog. Firstly, a bit of background: in work, we have an API that uses the XML-based SOAP protocol over HTTP. You can request » Read More