Sunday, October 29, 2006

Perception

I finally finished the paper on perception for the class from last fall. I investigate the "ordinary concept of perception"---what it is that we ordinarily mean when we say someone perceives (e.g., see, hears, touches, smells, etc.) something. A standard way of investigating our ordinary concepts is to imagine various scenarios involving the concept and extracting how we, intuitively, think about the scenarios. Here are the key "thought experiments" which I use to make my arguments:

1. The neurosurgeon

Joe is blind, due to a recent eye injury. Sue is a neurosurgeon who can give patients visual experiences by directly stimulating their brain. Sue mounts video cameras on Joe and links them to a probe which stimulates Joe's brain. Joe turns toward, say, a clock on the shelf. The video cameras, which pick up the clock, send images to the probe, giving Joe a matching visual experience. Does Joe see the clock on the shelf?

2. The kaleidoscope

A bug scrambles the visual experience which Joe receives. Instead of a visual experience of a clock, Joe gets the sort of colorful image you see when you look into a kaleidoscope. Since this pattern is derived from the video signal, it changes as Joe turns toward different objects. The changes, however, look to Joe as if a kaleidoscope is being rotated. Does Joe see the clock on the shelf?

3. The holodeck

Sue takes Joe into an empty room and jacks his brain (wirelessly) into her computer. This computer feeds Joe a fully interactive, digitally-generated visual experience. The hallucination is completely convincing to Joe: he doesn't know it's made without the help of video cameras. The hallucination is of a clock on a shelf.

The room, however, is a "holodeck," a Star Trek inspired virtual environment in which "holographic" items may be materialized. Somebody happens to hook up Sue's computer so the holodeck acquires a description of Joe's hallucination. The holodeck proceeds to materialize, at the apparent location, a "clock on shelf" which matches Joe's hallucination. Sue is next to Joe in the holodeck; she can see this "clock on shelf" with her own eyes. Does Joe see the clock that Sue sees?

4. The holodeck, part II

Joe turns toward Sue. The computer, still stimulating Joe's brain, supplies Joe with a visual experience that matches Sue. The computer does this using an array of video cameras, which capture Sue's image and adjusts it to account for Joe's position and the perspective he should have of Sue. Does Joe see Sue?


Here are what I take to be our ordinary intuitive reactions to these cases. In 1. The neurosurgeon, the special glasses enable Joe to see. In 2. The kaleidoscope, the scrambling of the video signal is so severe that Joe no longer sees. In 3. The holodeck, Joe does not see the same clock that Sue sees. In 4. The holodeck, part II, Joe sees Sue. His visual experience is being created in the same manner as Joe's visual experience in case 1.

Thursday, October 26, 2006

Changing the Hard Drive in a Panasonic CF-R3

The laptop I use is a Panasonic Let's Note CF-R3E which I got in Hong Kong in December of 2004. Last winter, I slipped on some ice and fell on my back: crushing my backpack and the R3. Thankfully, only a bit of plastic got broken, and I thought all was well.

As it turns out, the corner of the laptop which I fell on was also where the hard disk is at. And a few weeks ago, I began to notice some intermittent hard drive flakiness. It looked to me like I would need to change it out soon.

The stock disk in the CF-R3E is a 3.3V Toshiba MK4025GASL, a 40GB 2.5" 4200RPM drive. This site claims that it can be replaced by a 5.0V Toshiba MK1031GAS, which is a 100GB 4200RPM drive that costs $85 from ewiz.com. Apparently, you can convert a 5.0V drive to a 3.3V drive by clipping pins 41 and 44. Since my stock drive was clearly on its way out, I decided to go ahead and give it a try.

Fortunately, there are instructions online for disassembling a CF-R3E. Unfortunately, it's all in Japanese. I had to infer what to do from the pictures, and I spent the morning installing the drive. Thankfully, it went well. Here is an account of what I did.
  1. Back up my hard disk. I did this by booting with Bart's Network Boot Disk (you'll need the rtsnd.cab package, to drive the R3's Realtek RTL8139/810X Family PCI Fast Ethernet controller), mounting a large drive on another computer through the network, and using Norton Ghost to back up the drive.
  2. Disassemble the computer. The Japanese site's pictures come in handy. The first step is to remove the battery, revealing two metal brackets---one on the left and one on the right---which keep the keyboard affixed:

    Just slide each bracket upwards to take it off.

    The second task is to remove two sets of screws from the back of the computer:

    Each set is a different kind of screw: so there are two "cyan" style screws and six "yellow" style screws. Make sure you remember which is which (though that's easy since there are only two of one and six of the other.) The cyan screws go down all the way to the keyboard: make sure you're gentle with these. Don't press down too hard as you remove them.

    The third task is to remove two screws from the front, one underneath each hinge:

    You'll have to peel off the rubber covers to get to these screws.

    The fourth task is to detach the keyboard from the case. You can get the keyboard up off the case by pushing on the tabs in the back, where the brackets were grabbing the keyboard. Then you can grab the keyboard by the corners behind the ESC and DEL key. Slowly angle the top of the keyboard towards you. There's a bit of adhesive behind the P-key that keeps the keyboard down. Take care not to stress the keyboard too much, and make sure you watch out for the ribbon cable that attaches the keyboard (near the space bar) to the motherboard. You'll have to unplug this cable.

    You'll then find a metal heat spreader: just pull that up off the system. You'll find some thermal grease connecting it to two chips. You'll have to replace this grease later, when you reattach things.

    Now on to the fifth task: removing seven more screws!


    At this point you can remove the front cover from the system. A couple of notes on this: 1) be careful since there's another ribbon cable connecting the touch pad to the motherboard. 2) the cover to the ethernet and phone jacks can get snagged on the front case. Make sure you keep that cover open.
  3. Now we can replace the hard drive. It's in the lower right of the computer:


    Lift up the drive, taking care not to stress the ribbon cable connecting the drive to the laptop. You can pry the cable off the hard drive without having to detach the cable from the motherboard.
  4. Look at the 40GB 3.3V hard drive. Compare that drive with the 100GB. You'll notice that the 40GB drive is missing a pin. You'll have to get rid of that pin, and another one, on the 100GB drive. I was able to bend them away, and plug it in. Here's a diagram indicating which pins need to be modified:
    ◆◆  ◆◆◆◆◆◆◆◆◆◇◆◆◆◆◆◆◆◆◆◆◆◇
    ◆◆  ◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◇◆
  5. Reverse the procedure in step 2 and you will have reassembled your laptop!
  6. Finally, boot up using Bart's network boot disk and use Norton Ghost to restore the backup you made in step 1. Start it up and Windows XP should boot. To use the new space, run disk administrator and create a new partition with the extra 60GB. Alternatively, you can use Partition Magic to resize your existing partition.
All done! You now have a 1kg (2.2 lbs) notebook with 100GB of hard disk space! You can also install a 1GB PC2700 MicroDIMM to bump the total RAM to 1.25GB (this is 512MB more than the R3 is officially supposed to go to). Though the processor (a 1.1GHz Pentium M-733 with 2MB L2 cache and 400MHz FSB) limits performance significantly, the system is still quite functional. The extra ram cuts the battery life from the rated 9hrs to around 6hrs.

By comparison: the current model, just released a week ago by Panasonic, is the Let's Note CF-R5L, which features 512MB RAM (expandable to 1.5GB), a 60GB 4200RPM HD, a 1.2GHz Core Solo U1400 (2MB L2 cache, 533MHz FSB), and an 11-hr rated battery life.

So... Anyone want to buy a used Toshiba MK4025GASL drive? :)

Monday, October 16, 2006

Financial Planning

I've been coming across quite a few articles celebrating a financial plan crafted by Dilbert cartoonist Scott Adams. Called the "Unified Theory of Everything Financial", here is Adams's nine-point plan:
  1. Make a will
  2. Pay off your credit cards
  3. Get term life insurance if you have a family to support
  4. Fund your 401k to the maximum
  5. Fund your IRA to the maximum
  6. Buy a house if you want to live in a house and can afford it
  7. Put six months worth of expenses in a money-market account
  8. Take whatever money is left over and invest 70% in a stock index fund and 30% in a bond fund through any discount broker and never touch it until retirement
  9. If any of this confuses you, or you have something special going on (retirement, college planning, tax issues), hire a fee-based financial planner, not one who charges a percentage of your portfolio
This does seem to be pretty comprehensive to me. I would add disability insurance to the list, and perhaps health insurance belongs there as well. Six months of expenses in cash seems a bit high to me. But I suppose with folks like E-Loan paying a phenomenal 5.5% APY, we can go higher on the cash.

Saying this deserves the Nobel Prize in economics is certainly creative exaggeration. But it's useful advice, for sure.

Tuesday, October 03, 2006

EAC results

Previously, I had estimated 360 hours to rip 1000 CDs. This was based on a 4x rip speed using EAC on a HP dvd200i DVD writer. As it turns out, the drive was the problem. I had an old JLMS (Lite-On) XJ-HD166S drive lying around. It was able to rip at 12x with full error correction, and I recently finished all the CDs.

Unfortunately, I found a weird problem with using EAC on two drives. When ripping simultaneously, both drives slowed down to under 4x ripping speed. So it was 50% faster to rip using just the Lite-On drive than using both the Lite-On and the HP. I have no idea how to explain this.

Here are the stats:
  • Days to rip: 24
  • CDs: 1009
  • Bytes: 351982256 (FLAC Compressed)
So it all comes out to 336GB. Seems the best way to back this up is with a spare hard drive.

This, by the way, represents the threshold at which I will purchase a portable music player---when I can fit my entire music collection in a lossless format. Apple's ipod is at 80GB. I suppose it will be about another 3-5 years before it or a competitor gets to ~400GB.