You’d think I’d learn

Adding a feature to the crawler today, I ran across this line:

if (!(entry.IsGood && entry.LastStatus != StatusCodes.SpeculativeAdd))

Now what idiot would write something like that? Oh, wait. I’m the only one who’s ever worked on this program.

There are two serious problems with that conditional. First, it’s incredibly difficult to keep the truth table . . . → Read More: You’d think I’d learn

Have a banana

Something today reminded me of the time my older brother was practicing the song Hava Nagila on his trumpet. I guess I was 9 or 10 years old. A catchy tune, that. I of course had no idea what the title meant or what the lyrics were, but when he started playing the refrain, I . . . → Read More: Have a banana

Yaesu FT-90R squelch problems

When I got back into ham radio in 2003, Debra bought me a Yaesu FT-90R dual band mobile radio for the truck. I’ve used it quite a bit over the years and have been really happy with its performance until recently.

I noticed a couple of weeks ago that the plastic or vinyl covering on . . . → Read More: Yaesu FT-90R squelch problems

WiFi booster experiment

Debra and I bought a new TV last week, along with a computer and other accessories required to launch us into the wide world of Internet TV. Installation went pretty much as expected, with only minor problems, and now we can get all the online offerings on our new 42″ LCD television. Including, I might . . . → Read More: WiFi booster experiment

CSS incompatibilities

I updated my WordPress installation the other day, and also the Atahualpa theme. The updates installed without a hitch, but the updated theme breaks some of my posts. Specifically, those that have images.

For example, my Bears! post has two images. The size of the first one is set to 780 by 429 pixels, and . . . → Read More: CSS incompatibilities

More fun with constants

In How constant is a constant?, I explained how constant values are hoisted from the .NET assembly they’re defined in and at compile time “baked in” to the assembly that references them. The result is that constants are forever. If the value of that constant ever changes then the referencing assembly will have the incorrect . . . → Read More: More fun with constants

Stay out of Libya

When announcing the U.S. involvement in the U.N. approved action in Libya, the President stressed that we would not be sending ground troops. Now, we have a diplomat on the ground discussing possible humanitarian and financial assistance to the Libyan rebels. I suspect that soon there will be U.S.-based aid organizations in Libya, funded in . . . → Read More: Stay out of Libya

More fun with CSS

I just spent an embarrassing amount of time wondering why my Web application wasn’t displaying things the way I thought it should. When in desperation I made a totally outrageous change to the stylesheet and the display didn’t change, I finally figured out the problem. In my stylesheet, the class name was newVidPreviewImg. In the . . . → Read More: More fun with CSS