Valgrind kicks ass
I spent some time today using Valgrind to
uninitialized memory reads and similar problems in
far, 4 out of 5 have been legitimate problems, and at least
probably capable of real mischief. The one false positive
was due to a
compiler optimization, and became clear on viewing the assembler
(roughly, ashort == 42 && ashort == 69 being
into a single comparison).
Peter Deutsch reports that his stabs using Purify and
very frustrating, because about 90-95% of the reports were false
The lack of a good free memory debugger has long been a
disappointment to me. Valgrind has singlehandedly done a lot
my faith in free software.
The new monitor for spectre appeared
today. It's a ViewSonic P95f.
it seems pretty good, but not sensational. I wanted a 19" to
space and power, figuring that the next monitor I buy will be a
high-res LCD such as the IBM T221 (drool).
The monitor goes up to 1920x1440 (about 140 dpi), but
patterns shows that the horizontal resolution is limited by the
aperture grill, which is about 100 stripes per inch. As far as
vertical resolution goes, you can actually see individual
even at that resolution.
So the "real" resolution is somewhere around 1600x1200
dpi). I wonder how shadow mask monitors such as the Hitachi CM715
stack up by comparison. That display has a dot pitch of
which should match the 1600x1200 well. It's cheaper and
I haven't finished playing with font rendering, but so far
like my original suspicion is true: at 140 dpi, antialiased
text is nearly as contrasty as monochrome. Driving the
monitor at more
than its "real" resolution might be a good deal, if it means
use unhinted aa fonts without compromise.
Wes posted a link
recently. Basically, it's a mapping from telephone numbers
names, so you can use DNS to resolve them to IP addresses.
the digits, join with '.', and put .e164.arpa at the end. So
number is 126.96.36.199.188.8.131.52.0.7.1.e164.arpa. This should
something like 184.108.40.206, but of course doesn't. The phone
companies prefer it this way. There's no good technological
have a phone any more, but as long as it's too hard for
the phone companies don't have much to worry about.
I tried setting up gnomemeeting with blanu (who is
experimenting with streaming media), but we didn't get it to
my side, it was probably the laptop's sound driver, for
never really bothered to get the microphone to work.
Part of the problem is trying to use general purpose
hardware like a
PC with a sound card for a specific task. However, there's
why you couldn't build internet phone hardware. In fact, I
a great idea.
For my setup, I'd want two pieces of hardware. One would be
the same hardware as an Apple AirPort, but the phone port
would be for
voice calls, not for the modem. The AirPort is a 386 PC
anyway, so I
wouldn't be surprised if you could use it for this.
The other piece of hardware is simply A/D and D/A converters, an
802.11b card, and a battery. The cost of the 802.11b chipset
$22, and cards are now retailing for $35
after rebate. There's no reason why this part couldn't be
$100. Of course, what makes this product really
playing Ogg files from your home media server. Before the
released, some people thought that's what it would be.
I think whichever manufacturer figures this out is going to
hell of a lot of them. Making the (Windows) software nice
and easy to
use is nontrivial, but I don't care. I'd just run it off my
Google and the dangers of centralization
Google is amazing. When in online conversations, I routinely ask
Google for the answers to questions that come up, and I
get the answers. Not only that, but Google is fast. In
it's quite competitive with DNS.
It's going to be very, very hard for anyone else to compete with
Google, in part because of their PageRank algorithm (the
rest of it is
just kick-ass good implementation). As a result, Google is
danger of become a central point of failure for the whole useful
Internet. People don't seem to have started worrying about
probably because they're so damn good at what they do. By
VeriSign (formerly Network Solutions, formerly the InterNic) got
people worried fairly early on, because they suck so hard.
But Google is not a public service. In fact, it will
probably become a
publicly traded corporation soon, with a fiduciary obligation to
shareholders. How much money might they be able to extract
position? Think about that when you read The Google AdWords
I note with some Schadenfreude that SourceForge no longer
seems to be
hosting their own downloads, using mirrors at Telia,
Why Schadenfreude? In large part because they don't listen
when I have
things to say. Other, healthier organizations and people
don't seem to
have this problem. Oh well.