I was doing some programming this morning in VB.NET, and needed to use the random number generator. This was fine, except for one point. I was testing my code, and it would never complete. The code needed to have a number returned, for instance, between 1 and 100. These were labeled by Microsoft as the Maximum and Minimum numbers. However, this would return numbers between 1 and 99, and my code would not work. Hmm. What is going on. It seems that the random number generator generates a number ‘LESS THAN THE MAXIMUM’. In the case of an integer that is the number one less. ARGH. Why? How many other people have fallen into that trap? How many other times have I fallen into that trap and now known?

I ended up not going for a run… I worked out it was probably not a great idea if I wanted to actually get real work done today on the plane – in essence I was concerned that the running would tire me out – and I think that was a valid concern. So no great run today. Maybe tomorrow…

Last night I was watching ‘Top Gear’ from the BBC, and they were wanting to get people to vote on the best ‘driving song’ ever. That night they were featuring Bat Out Of Hell, performed by Meat Loaf. I quickly found the lyrics with google, and was amazed at how long they were. I was also amazed at how strange the lyrics look when written on paper. Not that you can understand them when being sung, but they look even worse on paper. Just my opinion. Not a bad song though.