Mar 2007: all entries
   Sleepimage and you: How to free extra drive space on MacBook
   Fun + classic online games
   Cthulhu for President!
   Dog & cat food recall: which brands are affected?
   iPod vs. Zune: Zune still irrelevant
   Climate Control problems on BMW E36
   I can't hear you
   Disable "Front Row" keyboard shortcut
   Eeyore's Birthday 2007
   Calfee's "Spider Bike"
   New Apple Store in Austin
   Speeding up Mail.app

I've noticed that my hard drive space decreases by 3 to 5 gb after a clean restart. Why? I didn't know, and decided to do some investigation.

What I found is that on MacBook + MacBook Pro laptops, OS X will automatically create and maintain something called a "sleepimage". Basically if your computer loses all power, OS X can recover your system state from the "sleepimage". I guess that's nice, but also a bit unnecessary I think... in 4+ years of using a laptop as my primary computer, I've never lost power completely.

From what I found, the sleepimage is a copy of your computer's current system memory, and it's size is directly related to how much ram you've got. If you have 512mb ram, sleepimage will be 512mb. If you have 2gb of ram, your sleepimage will be 2gb.

The sleepimage is stored on disk as a physical file, so if you have a 2gb sleepimage, that's 2gb of hard drive space that you cannot use for anything else (applications, files, etc.). I no like.

The sleepimage lives under /var/vm, and you can see how much disk space you're currently sacrificing to it by opening a Terminal window and typing the following command:

ls -lh /var/vm/sleepimage

Here's what it looks like on my MacBook Pro with 2gb ram, showing that my sleepimage consumes 2,048 mb on disk (or 2gb). Yikes.

% ls -lh /var/vm/sleepimage
-rw------T 1 root wheel 2048M Mar 30 05:36 /var/vm/sleepimage

So how do you turn this off? To disable the automatic creation (and update) of sleepimage on your MacBook and permanently free up that disk space, do the following:

  1. Open a Terminal window and type the following (enter your password when prompted): sudo pmset -a hibernatemode 0; sudo nvram "use-nvramrc?"=false
  2. Restart your computer
  3. Open a Terminal window, and take note of your current sleepimage's size by entering this command: ls -lh /var/vm/sleepimage
  4. Now that you've restarted OS X, you can manually remove the sleepimage file: sudo rm /var/vm/sleepimage
  5. That's it, you should now have that extra space permanently available on your laptop.

Note: this should also speed up the time required to put your computer to sleep. Without this change, each time you sleep your MacBook/MacBook Pro OS X will take a little while to update the sleepimage. Once you've disabled the sleepimage, it will skip that extra work. As a result, your laptop should sleep much more quickly now (5 seconds vs. half a minute).

Fun + classic online games
more from fun
Mar 30, 07

Frogger
I've put together a small collection of some great game classics. Several of these are no longer available through their original website, others are still available but I've copied them here. Please note that I did not create any of these games myself, I'm just hosting them. You'll find the original author/creator somewhere in the game itself (main splash page, help screen, etc.).

Happy game playing!

Frogger
Laser Reflections
Pac Man
Ping Pong
Simon
Snake
Space Invaders
Tic Tac Toe

Cthulhu for President!
more from fun
Mar 28, 07

Yes! He would make a great president.

More about Cthulhu here and here.

Here is a photo of Cthulhu sitting on some rocks.

Most people have heard about the dog & cat food recall, and one of the most important questions is, "Which brands are affected?" In short, "most of them", including the fancy brands Iams, Eukanuba, and Science Diet.

The problem is that a large manufacturer of dog & cat food - Menu Foods - managed to produce millions of pet food products with rat poison. Actually, what they found was aminopterin, a chemical can cause kidney failure in animals and humans (reference). In addition to the ample news coverage, Menu Foods has posted information on their website: www.menufoods.com/recall.

After reading several stories that claimed different brands were affected, I decided to do a little digging. Here's what I found out...

Who the hell is Menu Foods? They're a contract manufacturer of wet pet food products sold under dozens of different brand names across the country. Menu Foods manufactures food for 17 of the top 20 North American retailers (PetSmart, Wal-Mart, Safeway, etc.) (reference).

Even though you think you're making choices as a consumer, you're basically being sold the same dog & cat food with different packaging and different prices. But inside, it's all the same stuff.

Here is a full list of cat food brand names that are actually made by Menu Foods and part of the cat food recall (reference):

Americas Choice, Preferred Pets Nutro Natural Choice
Authority Paws
Best Choice Pet Pride
Companion Presidents Choice
Compliments Price Chopper
Demoulas Market Basket Priority US
Eukanuba Save-A-Lot Special Blend
Fine Feline Cat Schnucks
Food Lion Science Diet Feline Savory Cuts Cans
Foodtown Sophistacat
Giant Companion Special Kitty Canada
Hannaford Special Kitty US
Hill Country Fare Springfield Prize
Hy-Vee Sprout
Iams Stop & Shop Companion
Laura Lynn Tops Companion
Li'l Red Wegmans
Loving Meals Weis Total Pet
Meijer's Main Choice Western Family US
Nutriplan White Rose
Nutro Max Gourmet Classics Winn Dixie

Here is the full list of dog food brand names that are actually made by Menu Foods and part of the dog food recall (reference):

Americas Choice, Preferred PetsNutro
AuthorityOl'Roy Canada
AwardOl'Roy US
Best ChoicePaws
Big BetPet Essentials
Big RedPet Pride - Good n Meaty
BloomPresidents Choice
CadillacPrice Chopper
CompanionPriority Canada
Demoulas Market BasketPriority US
EukanubaPublix
Food LionRoche Brothers
Giant CompanionSave-A-Lot Choice Morsels
Great ChoiceSchnucks
HannafordShep Dog
Hill Country FareSpringsfield Prize
Hy-VeeSprout
IamsStater Brothers
Laura LynnStop & Shop Companion
Loving MealsTops Companion
Meijers Main ChoiceWegmans Bruiser
Mighty Dog PouchWeis Total Pet
MixablesWestern Family US
NutriplanWhite Rose
Nutro MaxWinn Dixie
Nutro Natural ChoiceYour Pet
Nutro Ultra 

I wrote a blog post last November one week after the Zune player went on the market showing some data about iPods vs. Zune on Amazon.com. I thought it was an interesting comparison, so I'm doing another one as a 4-month follow-up.

Here are the current Top 100 Bestsellers at Amazon.com right now, edited to show only iPods and the Zune:

5. Apple 30 GB iPod video Black (5.5 Generation)
11. Apple 80 GB iPod video Black (5.5 Generation)
18. Apple 2 GB iPod Nano Silver (2nd Generation)
24. Apple 1 GB iPod Shuffle Metal (2nd Generation)
40. Apple 8 GB iPod Nano Black (2nd Generation)
44. Apple 30 GB iPod video White (5.5 Generation)
47. Apple 4 GB iPod Nano Silver (2nd Generation)
68. Apple 1 GB iPod Shuffle Blue (2nd Generation)
72. Apple 1 GB iPod Shuffle Pink (2nd Generation)

Oh no! Zune is not in the Top 100 list!

Well, we could all see that one coming, right? I wonder which one is selling better right now: the Zune, or Windows Vista.

Microsoft has yet to release any actual sales numbers for the Zune, opting instead to make vague statements about sales goals. If I recall correctly, Microsoft said they were trying to sell 1 million Zunes in 2007. Apple sells 10+ million iPods every few months.

My E36 M3 has recently had problems with the Climate Control system (intermittent shut down, settings get stuck, etc.). A little online research turned up this excellent page: BMW E36: Repairing the Climate Control Computer. The basic idea is that a capacitor fails inside and the computer has problems getting enough power, so it freaks out, doesn't respond, and generally annoys you.

If the Climate Control system in your E36 is having problems, you've got three options:

  1. Get a dealer to fix it for you (probably $400 to $600)
  2. Order a replacement Climate Control system and swap the old / new units yourself ($368 for new system, $221 rebuilt)
  3. Try to fix the problem yourself (about $1)

I chose option #3, with option #2 as my backup plan.

After a little bit of struggling to get the CC computer removed my car, I took it over to the work bench. I found a replacement 0.47uF capacitor (tantalum) at Fry's for $1.29, and did a poor job of soldering it onto the board. It was so poor, in fact, that I was nervous I hadn't made the original problem any better, perhaps making things worse. Who knows? To my suprise, when I reassembled everything and re-installed inside the car, the Climate Control system worked beautifully! Total time spent: about 2 hours.

If you go with option #2 (either because you just want to swap the units, or you tried to repair it without success) you can order a replacement Climate Control system (OEM part made by BMW) from Pelican Parts for $368 (part # 64-11-8-378-466-M9) or a rebuilt unit (rebuilt by Programa) for $221 (part # 64-11-8-378-466-M250).

I have no idea what your dealer would charge for the 10-20 minutes it takes to remove the old unit and put a new one in, but my guess is "a lot", so it's probably a good idea to try to swap the units yourself. I've heard it's around $400 to $600, but who knows, your dealer might be higher or lower than that.

Note #1: From what I can see, the fix originated from "hoanboy" on bimmerforums. First here, and then later here. hoanboy, where- and whoever the hell you are, I owe ya one... :)

Note #2: If you decide to tackle the fix yourself, be aware that your car may turn the heater on automatically if you drive around without a Climate Control system installed (say, if you started working on it, but wanted to drive before you were finished). Once the engine warms up, you'd better hope you've reached your destination, because the heater will be HOT.

I can't hear you
more from fun
Mar 19, 07

Click to enlarge
I occassionally manage to invoke Front Row on my MacBook without intending to, usually because I use keyboard shortcuts liberally. A great shortcut is Command-` (that's a backtick), which lets you cycle through all windows for the current application. The ` character is uncomfortably close to the "Escape" key, and wouldn't you know, Command-Esc turns on Front Row...

So how do you turn that off? Front Row isn't a regular app, so where do you look? Where's the "Preferences" menu? How the heck is it invoked?

It turns out there's a setting (buried under System Preferences > Keyboard & Mouse > Keyboard Shortcuts) that will let you disable (or change) the "hide/show Front Row" setting. I'm fine to disable it because the remote still works and that's plenty good for me.

Eeyore's Birthday 2007
more from blah
Mar 13, 07

Click to enlarge
We're getting closer to the 44th Eeyore's Birthday Party in Austin. It's the last Saturday in April which falls on April 28th this year.

44th Annual Birthday Party
Saturday April 28, 2007
11:00am until dark
Pease Park

You can get to the park by taking a free shuttle (shuttle bus info here) or drive/bike/walk - here's a map to the south end of the park, that's where most of the activities will be.

If the weather is bad on the 28th, listen to KLBJ (FM) or check eeyores.sexton.com. If it ends up being cancelled because of rain, it will be moved to the following Saturday (May 5th).

Bring something to bang on and find the big drum circle. I'll be there with my 5-gallon water jug.

Calfee's "Spider Bike"
more from cycling
Mar 9, 07

Click to enlarge
This is the most insane carbon bike frame ever, made by Craig Calfee. I don't know much about it, but according to cyclingnews, Calfee says it's totally rideable. While he has a solid reputation for producing excellent work, this frame still makes me nervous. Really, really nervous.

More pictures here:
full photo
water bottle cage
crankset
front derailleur
"head tube" area
"top tube" area

New Apple Store in Austin
more from apple
Mar 5, 07

There's a shiny, new Apple Store opening this week in Austin. It's at the new shopping center "The Dominion" on Mopac just north of 183.

Map / directions here

Store info here

Speeding up Mail.app
more from apple
Mar 2, 07

A friend just sent this tip for speeding up the OS X Mail application. Follow these steps to vacuum the sqlite database it uses, which should result in noticeable performance increase.

  • Quit mail.app
  • open Terminal window
  • cd ~/Library/Mail
  • sqlite3 Envelope\ Index
  • vacuum;
  • ctrl-d to exit
  • start mail.app