Monthly Archives: July 2008

Fixing Printing Problems with IE7 and Vista

If you are having problems printing from Internet Explorer 7 under Windows Vista, check to see if you have AVG 8.0 installed. If so, get the latest version from http://free.grisoft.com. I did have build 8.0.101 and upgraded to build 8.0.138–everything works fine now.

I’ve also seen reports that it could be an error while running IE7 in Protected Mode. There’s a thread in the Microsoft forums about this.

Good luck.


Check out my latest book, the essential, in-depth guide to performance for all .NET developers:

Writing High-Performance.NET Code by Ben Watson. Available now in print and as an eBook at:

Close-up shots of the Space Shuttle Enterprise

I’m currently building a large-scale LEGO model of the Space Shuttle, and in order to get some detailed shots of a shuttle that are hard to find on the Internet, I visited the nearby Air & Space museum in Chantilly, VA.

You can find the photos on flickr.


Check out my latest book, the essential, in-depth guide to performance for all .NET developers:

Writing High-Performance.NET Code by Ben Watson. Available now in print and as an eBook at:

log4cxx + VS2005 + Windows SDK v6.0 = compile error

If you are following the instructions to build log4cxx 0.10 in Visual Studio 2005, and you have the Windows Platform SDK v6.0 installed, you may get errors compiling multicast.c in the apr project.

I found the solution, and it’s pretty easy. Open up multicast.c and edit the lines:

136: #if MCAST_JOIN_SOURCE_GROUP

148: #if MCAST_JOIN_SOURCE_GROUP

to be, instead:

136: #if defined(group_source_req)

148: #if defined(group_source_req)

 

e voilĂ ! now it compiles.


Check out my latest book, the essential, in-depth guide to performance for all .NET developers:

Writing High-Performance.NET Code by Ben Watson. Available now in print and as an eBook at:

Nuclear Energy and the Question of Uranium Supply

In the replies to my article about nuclear power, there were statements about the supply of uranium the world can provide and that in the end, nuclear power may not be the panacea we hope it would be.

I respectfully disagree.

First, let me state my bias: I am an optimist. I almost never buy into doom and gloom scenarios in any domain. I am cynical about a few things (the ability of politicians to do what’s best for us, for example), but by and large I think things generally work out.

That said, I don’t believe we’ll run out of uranium anytime soon.

It is easy to find reports out there on the availability of uranium. For example, this one by the World Nuclear Association, or another by the European Commission. Those both limit the supply to less than the next 100 years on the outside, and just a couple of decades worst-case.

However, this is by no means the whole story. All of these studies make assumptions that I think are a bit weak, such as the amount of known reserves, current exploration, research, funding, scientific breakthroughs, etc.

Once nuclear energy is a more fundamental part of our energy and economic infrastructure, technology will improve, efficiency will improve, uranium harvesting will improve. It’s cliche, but I’m still going to point out the silly estimates of oil reserves (we’ve had 50 years of oil left for the last 100 years), or food reserves, or overpopulation, or [pick fad]. The reality is that humans are amazing at developing technology to increase our efficiency to amazing levels. We make huge leaps that completely negate all previous predictions. There is no reason to think this will end.

One idea that came up a few times in my research is the idea of mining uranium versus reusing it. Currently, most nuclear plants can only use uranium once before discarding. By using different processes, breeder reactors, including plutonium in the process, the efficiency and life span of uranium can be dramatically increased. Unfortunately, it looks like politics gets in the way of some of these ideas (such as the usage of plutonium).

Politics is tricky. On the one hand, we don’t want bad guys to get a supply of high-grade, volatile nuclear material. On the other hand, we need to learn to take advantage of it for the advancement of all mankind.

A report by the IECD and IAEA estimate uranium supplies lasting from 270 to 8,500 years, depending on our technology and process. There is also an interesting essay by James Hopf, a nuclear engineer, at American Energy Independence. It may be a little biased, but it’s worth reading.

Read the references at the bottom of the Wikipedia article on uranium depletion. There is also a good summary of some of the main studies and ideas on the subject in the article itself.


Check out my latest book, the essential, in-depth guide to performance for all .NET developers:

Writing High-Performance.NET Code by Ben Watson. Available now in print and as an eBook at: