Monthly Archives: May 2010
Programming Challenges:110507 The Stern-Brocot Number System
Last night I was bored, and decided to tackle a Programming Challenges problem: 110507 The Stern-Brocot Number System seemed easy, and in the end it was. However it took two attempts, due to messing up the termination logic. ie run … Continue reading
GetTextMetricsW causing memory corruption
I have been converting our ANSI product to UNICODE, and today during testing I was getting “Run-Time Check Failure #2 – Stack around the variable ‘tm’ was corrupted.” error messages. Turned out it was this code: I isolated the code … Continue reading
Why my file operations fail on the Mac
My first thought for why things fails is the the Environment.SpecialFolder don’t map, and thus I found this page talking about it So I ran the code on my Windows XP box and got: and on my MacBook I get … Continue reading
Sony Walkman NWZ-E345 and MacBook
We purchased a Sony Walkman NWZ-E345 for Michaela’s welcome to the USA present. We had some concern once we got home because it only mentions support for Windows XP and Windows Vista on the packaging, and nobody on Amazon had … Continue reading
Curse of the Azure Bonds port working on Mac OS X
Just tried running the game under Mono on my MacBook, and it like works! Except for Saved games/player file IO does not work. I think this is due to the new Vista locations, thus I’ll need a new pick a … Continue reading