Monthly Archives: September 2008
Update from the United States
Well I have not posted for a while, and that has mostly been because I have been getting ready for, traveling, or just being in the States. So far I have had a grill (NZ BBQ) in Livermore (San Francisco), … Continue reading
TimeDirection graph
A work college was wanting some trivial code to draw a time based direction plot, and insisted that I do it. So here is my drawing class: using System; using System.Collections.Generic; using System.Drawing; using System.Windows.Forms; namespace LineCurve { public class … Continue reading
Learning to use foldl and map
I have been working on a small line drawing project, and part of that project is indexing nested lists based on sets of indices. Firstly I wrote a function to return the recursive nth item. So for this data [[[1,2],[3,4]],[[5,6],[7,8]]] … Continue reading
Evils of typedefs and legacy code
Our legacy C++ codebase once was a C codebase. Way back then, there was no standard boolean type. So in the wisdom of the day a type was declared typedef int tBool; The major problem with tBool’s is that over … Continue reading
0×1F Today
Today is my 0x1F birthday. Pre-writting this, therefore I still don’t know what I getting. I’m taking the day off from work, so it’s looking good already.