Today I have been debugging code. Just one more bug is the catch cry of any programmers. I think I have just located that ‘Just One More Bug’. I am doing a simulated driving trip with the GPS tracking unit I am working on right now, and I think it is now working properly. The issue was ‘Operator Precedance’. This means nothing to most people. Let us for a minute think about
3 * 4 + 5 * 6
What does this mean. Commonly it means (3*4) + (5*6) or 12+30 or 42. Now the problem comes when you add other operators such as AND and SHIFT operators, and then things get complex. And get confusing. And what was happening was that position reports were being corrupted. Since this is a piece of software that is only under development things are fine.
Sesame Street
There is a Web Site where a guy (an Adult) has listed his 25 favourite moments from Sesame Street. I did not go looking for this, but it was linked to on BoingBoing.Net. You can read more about it on the Web Site
Also on the subject of slightly strange things, I saw a link to a book called ‘The Men Who Stare at Goats’ by by Jon Ronson. This book actually exists, and can be purchased at Amazon.Com. It is about strange US Military experiments such as invisibility cloaks and using psychics in warfare. Not stuff I believe would ever be realistic or even sane.
What is sane is a plane that is being tested from the Nimitz Carrier Group. This plane weighs under a kilo, and contains a GPS, a couple of cameras and some radio links. Rather cute. You can read more about it on DefenceTech.Org
Music: