Small code with powerful results, the occasional opinion … and beer. 

11 Jan 2011
Don’t lose track of time to advance your commercial interest.

Lately I have been frustrated in general with forum-based sites, regardless of subject matter. And yet, I don’t blame them for my frustration. The problem is systemic in nature. Forum-based web sites function as an archive of data over long stretches of time, like a traditional library, but are much more dynamically built. Its content […]

16 Feb 2010
Old rounding errors never die, they just fade into images…

My friend Matt Owen posted a snapshot of the stock results on his Facebook wall today, which showed some interesting results on NASDAQ. It’s amusing to see little math slip ups appear from time to time like this on commercial web sites.  Seeing this error reminded me of other experiences I have had in coding […]

28 Oct 2009
Time Change with the TimeZoneInfo class

It seems appropriate to talk about this class, with the switch from Daylight Savings Time to Standard Time occurring this coming weekend in the United States. I’ve done a bit of work with this class lately, and wanted to share a test application I wrote to demonstrate some conversions. It also shows the effects which […]

11 Sep 2009
Don’t brick my iPhone: I might just throw it at you

Wow !  The mysterious and annoying RDC problem on my laptop took a dangerous turn yesterday.  The problem has to do with the power setting properties sometimes mutating, when I bring my Windows XP Media Center laptop out of hibernation, and connect to it via RDC.  The original problem is described in this post. Apple […]

09 Sep 2009
The lost art of break and continue

BREAK and CONTINUE are two forms of loop control, which I have seen under-used lately.  I think it is time to revisit how these two statements can help you make more maintainable and readable code, with some basic comments where needed. BREAK is used to prematurely exit a loop sequence, be it a WHILE loop, […]