Home Depot Fridge Installer Incompetence 
1.) First, the installers didn't turn the water off when they removed the old ice maker water line.

2.) Then they kinked and crimped the crap out of the copper line trying desperately to stop the spray that went all over the place.

3.) Next, they told my wife that the 1/4'' copper line would not "fit" the new fridge and we'd need to pay a plumber to run a new line.

So I salvaged what remained of the existing copper line and used the new compression fitting that CAME WITH THE NEW FRIDGE and did it myself. You'd think these guys would at least get a day of training!

I can add this experience to my long list of complaints about Home Depot including buying a drain snake that was broken and used (indicated by the hair and gunk wrapped around the coil) inside the sealed box. It was apparently returned by a customer and put right back on the shelf without inspection. If you think that's bad, the same thing happened with a toilet I bought that someone installed but then decided they didn't want.

(I would have passed on shopping at Home Depot again, but unfortunately they were the only ones that had the refrigerator we wanted.)

[ add comment ] ( 3 views )   |  [ 0 trackbacks ]   |  permalink
Favorite Semordnilap 

Well, it's actually two semordnilaps. The semordnilaps are from the old adventure game Manhunter: San Francisco and are part of a rather clever puzzle that involves signage on a glass office door at a murder scene. You (the gamer) must realize that you are seeing the lettering from the INSIDE of the office and thus a mirror image of the correct text. Once you realize this, "bAT VOMIT" becomes:


Knowing the correct name, you can identify the victim and this allows you to make progress in the game. The use of the lowercase 'b'/'d' does make the puzzle a little less elegant, but offers a clue as to how to solve it.

Here's a screen capture of the murder scene in all its gruesome 16-color glory:

UPDATE: This "bAT VOMIT" phrase should probably actually be described as Mirrored Semordnilaps, following the pattern of Mirrored Palindromes.

[ add comment ] ( 14 views )   |  [ 0 trackbacks ]   |  permalink
XCode Preprocessor Declarations for String Aliases 
I recently ran into a problem with adding some preprocessor declarations to an XCode project. Basically I needed to make the equivalent of a #defined symbol but declared within the project rather than source (a pretty common thing to do).

Googling quickly identified the project setting "Preprocessor Macros" as being the way to do it. It maps to the command line GCC option "GCC_PREPROCESSOR_DEFINITIONS".

The documentation says to specify the symbol and if it's an alias simply list the symbol followed by the equal sign and the value.

Like this:


In my case, I needed the symbol to be a string.

Like this:


This is where I ran into problems. When I attempted to compile, I got errors that indicated that my quotes had disappeared by the time the preprocessor got the declaration. So I figured this should be a simple solution. I just needed to figure out how XCode expects me to escape the quotes.

I tried everything to figure out what the stupid escape was. I tried the standard C-style /", double-quotes, two single quotes, @"STRING", HTML tags, etc. NOTHING worked. I tried Googling for solutions but came up empty too.

Finally, I had my eureka moment. I'll just create my own "stringify" macro function and pray I can define macro functions in XCode.

If declared in C(++), it would look like this:


The # sign has special meaning inside preprocessor macros and converts the succeeding argument to an encapsulated string.

The full solution is to first define STRINGIFY under XCode's "Preprocessor Macros" and then use that to define your alias declaration.

Like this:


And it worked! I don't feel too bad about this being a bit hackish because the alternative would be modifying a lot of source code. ;)

[ add comment ] ( 3 views )   |  [ 0 trackbacks ]   |  permalink
Stolen from "Hognoxious" on Slashdot.

Overheard in a museum:

Boy: Mister, how old is that dinosaur skeleton?

Curator: [after some mumbling and finger counting] 60 million and four years, eight months and sixteen days.

Boy's mother: How can you know so accurately?

Curator: Well, in the training course they told me it was 60 million years old. That was when I joined, which would be back in January 2006...

[ add comment ]   |  [ 0 trackbacks ]   |  permalink
SR-71 Blackbird 
SR-71 Blackbird

I recently went to the Air Force Armament Museum in Fort Walton, FL. It's definitely worth checking out if you are ever in the neighborhood. It's completely free, though I recommend giving a donation.

The coolest thing at the museum is definitely the retired SR-71 Blackbird on display out in front of the museum. Here is a pic I borrowed from an article about the museum:

It was cool to actually be able to get so close to the plane. One thing that was interesting is just how light the materials were. It felt very hollow away from leading edges. It even seemed a bit fragile and would probably easily dent. I guess if nothing can catch you, it doesn't matter if you're fragile. :)

Also, the heat expansion joints were quite prominent. I've often heard how the Blackbird leaked fuel through the joints until the skin heats up from supersonic flight and seals tight. The joint separation was smaller closer to the center of the plane and progressively got larger out towards the wings. I guess the heat makes the plane bow outwards.

The other interesting thing is that there are actually quite a lot of seams, welds, and ripples in the skin. It's not perfectly smooth like an expensive sports car. That matte black paint really gives the impression of being perfectly smooth in the press photos though. I guess those small imperfections don't have any significant affect on the plane at Mach 3+.

Here is a recent story from a real SR-71 pilot on Gizmodo. It's actually an excerpt from a book. Be sure to read the story about the speed check from an air traffic controller.

[ add comment ] ( 7 views )   |  [ 0 trackbacks ]   |  permalink

<Back | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | Next> Last>>