• Goodbye Mac mini…

    After 2 years of solid, reliable, trouble-free operation, my Mac mini suddenly experienced a hard drive failure.

    Yesterday around midnight I was busy working on a school project in Pages on my Mac mini G4. The songs I were playing were skipping like crazy and the computer gradually slowed to a crawling pace. I restarted the machine, but the computer appeared to be stuck at the grey boot screen.

    The Combo drive in my mini was half-working (a problem I couldn’t get Apple to fix under warranty over a year ago) but I was able to start from a Tiger CD (not DVD) and ran Disk Utility. Halfway through the repair, the computer froze. I restarted but this time it was really stuck. Booting in verbose mode exposed the nasty error IOATAController device blocking bus a few dozen times followed by a IO timeout on the hard drive, the journal replay failing, and the computer failing to mount the hard drive.

    About this time my Combo drive followed in my hard drive’s footsteps and refused to boot my Tiger and DiskWarrior CDs. I hooked up my LaCie FireWire CD drive and used OpenFirmware to clear my NVRAM and boot from FireWire. My DiskWarrior CD couldn’t even recognize my hard drive’s hardware and my Tiger CD failed to load its own kernel.

    In short, my mini was completely gone. I had a backup system in place and the only thing I lost was what I was working on that night. I’m thankful for that. Still, I need a computer. I would need to replace the Combo drive and the hard drive to fix the mini. However, I was intending to buy a MacBook later this year for college. After considering some of the annoyances the Rev. A mini gave me (flaky drives, including display artifacts when using DVI digital video, no Quartz Extreme) I decided that fixing the mini for about $200 wouldn’t be worth it considering I’d be migrating to a laptop in the near future anyway.

    So, I used my saved up money on a MacBook. I ordered the black one yesterday and can’t wait for it to arrive tomorrow. I wish that I could have waited until the next spec bump but I didn’t really expect my once-trusty Mac to just die. (In light of my experience, I bought 3 years of AppleCare and made sure with an Apple salesperson that I would not need to drive hundreds of miles to an Apple Store to get my computer fixed.) Here’s hoping that I won’t have any problems like this with my MacBook, because this thing is going to last me for the next 4 years.

    I’ll update when it arrives tomorrow.

  • MySpace Hacking: Hiding Code From IE

    Note This no longer works. I use their Profile 2.0 now anyway.

    Today I noticed that my MySpace profile looked awful in Internet Explorer. I recently changed some stuff in my profile but didn’t touch my custom CSS. However, after looking through the code, I discovered the problem: MySpace is now scrubbing out “<!” from my profile.

    This is bad, because I make use of Internet Explorer’s conditional comments to hide some CSS from the browser. Basically, I was using this:

    <![if !IE]>
    <style>
    .yourStylesHere { font-weight: bold; }
    </style>
    <![endif]>

    Now, the “<!” bit is replaced with “..“, making the conditional statement worthless and exposing IE to what it shouldn’t be seeing.

    After some research, I found that the IE-only tag <comment> works just as well as the conditional comment I used before. By simply replacing the conditional tags with the <comment> tag, everything worked great in Internet Explorer (even IE 7).

    Now I have:

    <comment>
    <style>
    .yourStylesHere { font-weight: bold; }
    </style>
    </comment>

    This works great. I hope this helps someone!

  • Verizon Contract Expires Just In Time for iPhone

    Speaking of the iPhone, it turns out I might actually be able to buy one when it comes out. According to Verizon, my cellular contract expires on 07/07/07… perfect timing for the June release of the iPhone. Awesome!

  • iPhone Ringtone

    So, how about that iPhone? I watched the keynote last night and I was amazed at all of the features. Who couldn’t be? If only it was available outside of Cingular…

    When I’m at work, blasting Red Hot Chili Peppers when I get a call is a bit annoying to other people, so I use the standard ring sound. It sounds pretty boring though. In contrast, when Steve was demonstrating receiving a call during the keynote, I thought the ringtone that the iPhone played sounded pretty good. I isolated the ringtone and wrapped in a little MP3 that now plays whenever I get a call now. I think I might just use it for everything…

    Download the iPhone Ringtone (MP3; 35KB).

  • University of Illinois Decision Deferred

    How anti-climatic: my admission decision to the University of Illinois has been deferred until March 1. Countdown updated, now only 75 more days to go. Very depressing and stressful, because now I have to consider the worst-case scenario and apply to more colleges before the new year.