Archive for the ‘programming’ Category
Having worked with unit-testing and test-driven development for the past three years, I repeatedly see people making the same common mistakes. These mistakes don’t necessarily undermine the benefits of unit-testing but they do serve to make the process less than ideal:
Writing monolithic tests. More often than not, I see … Read more
I just spent a few minutes factoring out my TTC subway map Javascript code so that it can be called to insert the TTC subway into any Google Map:
<div id=”map”> <script src=”http://crazedmonkey.com/ttcgooglemap/ttcgooglemaps.js” type=”text/javascript”></script> <script type=”text/javascript”> <!– var map = new GMap( document.getElementById( “map” ) ); map.addControl( new … Read more
To make stations on my TTC subway map easier to locate, I have added an alphabetical, clickable list of subway stations, colour-coded by subway line. Enjoy.
I spent a little time this weekend playing with the Google Maps API and creating an overlay of the TTC subway. Not surprisingly, creating the station markers and route lines was easy. The most difficult part, however, was obtaining a list of subway stations and their addresses in a text format for easy … Read more
The Toronto auditor general’s report on the failed eCOPS project reads like a list of what not to do with a large software project. To start, the project was handled in-house with no regard for the expertise of existing employees. Probably because of their lack of experience, requirements and use-cases were “inadequate, incomplete, … Read more