April 2008
[Click to print this article]
Here are the articles that were published in April 2008.
PCPlus: Take Care of the Pennies
published: Wed, 30-Apr-2008
Every now and again developers get caught out when using decimal values in floating point variables. We investigate how numbers are stored in floating point variables, the problems that occur when such numbers are rounded - especially when those numbers represent monetary values - and how to avoid these problems. Read more...
Not slashdotted, codinghorrored
published: Wed, 30-Apr-2008
Dustin Campbell IMed me this
morning to say that he's suddenly been getting higher rates of visits
form a link on a post
on my site. What was going on?
Read more...
Twin Peaks
published: Mon, 28-Apr-2008
A little over three weeks ago I finished watching the complete Twin
Peaks (at least the episodes that appeared on TV, I haven't watched
the movie). Oh boy, did this ever bring back some memories from 1990
and 1991.
Read more...
Orpheus Lives On
published: Mon, 28-Apr-2008
A long time ago in a galaxy just down the street, Lee Inman and I
wrote the first version of a UI controls library for Delphi, which
TurboPower Software marketed and sold as
Orpheus. This
post is not about that product. At about the same time I started going
out with my now wife Donna. This post is not about that either.
Instead it's about Orpheus, the cat.
Read more...
Red-black trees (part 5)
published: Sat, 26-Apr-2008
In our previous installment, we'd
introduced the principles behind red-black trees as well as an
appreciation of why they would produce more balanced binary search
trees than pure randomness by using a process called a rotation. Then
we got stuck when actually inserting a node. Obviously this is one
algorithm we are going to have to crack in order to be able to build a
red-black tree that we can search.
Read more...