Winner of Name that Ware June 2008!

August 18th, 2008

The ware for June 2008, provided courtesy of xobs, is a “Kitchen Sync” expansion card from the ’90s, used with the Video Toaster. The Kitchen Sync is a sync generator for video signals, and it includes two independent time base correctors.

I love retro hardware like this — brings me back to the day when garage startups could really build and market hardware products that made a difference. Thanks for playing!

The winner for June 2008 is Stern! email me to claim your prize. Drew (winner from May 08) — I will send your prize out soon. Sorry it took so long, I recently got back from a long business trip to China and I’m slowly getting my head above water level.

Name that Ware June 2008

July 19th, 2008

The ware for June 2008 is shown below. Click on the image for a much larger version.

The flip side of the daughtercard is shown below:

Thanks to xobs for the wonderful piece of retro-Ware!

Sorry for the late posting again — I’ve been in China running around. If you ever find yourself on the way to visit the Foxconn compound near Shenzhen, I have one piece of advice for you: pack your own lunch. Until now, I’ve had pretty decent food in most of the factories I’ve visited (3CEMS actually has quite delicious food), but for some reason the food at Foxconn is awful and I’ve been ill the past two days.

Winner of Name that Ware May 2008!

July 19th, 2008

The winner of Name that Ware May 2008 is Drew, who gave the first correct response identifying the device as a barcode scanner. It is a 3800 series linear barcode scanner by Hand Held Products. Drop me an email to claim your prize!

I was a bit surprised by the overall electronics complexity of the device, but I imagine that’s an artifact of using a camera-type sensor to do barcode recognition — they need a fairly powerful CPU on the inside to run the DSP algorithms to extract the barcodes from images taken by the sensor array that is bonded on the bottom side of the board (and carefully hidden from view in the photo because it would be way too easy to guess the device based on the sensor alone!). It’s an interesting turn on how barcode scanning used to be done — with a rotating mirror and a laser and a simple detector that demodulated the bits mostly in the analog domain. As a general philosophy, the idea of “wrapping a CPU around things” (in this case, cheap, noisy sensors) to create a system that is net more reliable and more versatile is a useful architectural paradigm.

Thanks to everyone who played!

Miles per Gallon vs. Gallons per Mile

June 28th, 2008

Here’s an interesting question.

Suppose you had a household with two cars, and each car needs to be driven 10,000 miles per year. One car consumes 34 MPG, and the other car consumes 18 MPG. Since gas is expensive, you want to replace one car. Because of utility constraints, you have two choices:

  • Replace the 34 MPG car with a 50 MPG car — a 16 MPG improvement
  • Replace the 18 MPG car with a 28 MPG car — a 10 MPG improvement
  • Which car replacement would save you the most gas?

    Normally, I consider myself not bad with quantitative comparisons like this, yet initially I picked the answer of replacing the 34 MPG car with the 50 MPG car based on the superior 16 MPG improvement. Another seemingly more analytical approach also leads to the same conclusion: 50 + 18 MPG giving a 34 MPG household average seems more efficient than 34 + 28 MPG giving a 31 MPG household average.

    This very interesting article in Science, “The MPG Illusion” by Richard P. Larrick and Jack B. Soll at the Fuqua School of Business in Duke University (Vol 320, June 20, 2008, p. 1593), points out the mathematically obvious truth that gas used per mile is inversely proportional to miles per gallon, which means that you have a steeper slope at lower MPG ratings, and diminishing returns at higher MPG ratings.

    (The above image is taken from the article, available here with subscription).

    When you run the numbers, replacing the 34 MPG car with a 50 MPG (a 16 MPG improvement) car saves you 94.1 gallons per 10,000 miles, whereas replacing the 18 MPG car with a 28 MPG (a 10 MPG improvement) car saves you 198.4 gallons per 10,000 miles — more than double the savings.

    Or, to give an even more clear-cut example, replacing a 5,000 MPG car with a 10,000 MPG car saves you just one gallon of gas, whereas replacing a 1 MPG car with a 2 MPG car saves you 5,000 gallons of gas, using a fixed mileage of 10,000 miles driven for comparison.

    There are some important policy implications of this. Relatively small MPG improvements in the most gas-hungry vehicles pay off greater than larger improvements in already efficient cars (hence, it does make sense to offer tax breaks for modest improvements in SUVs versus tax breaks for hybrids, which typically replacing already gas-efficient sedans). Also, personal driving habits, especially for gas-hungry cars, can often times add or subtract a few MPG to a car’s efficiency on average. For example, a car that may get 25 MPG “average highway” will degrade to under 15 MPG if you gun it out of stoplights in city traffic. That’s a huge increase in gas consumed per distance driven, especially for the less efficient cars, whereas for more efficient cars it doesn’t hurt as much to goose the engine a bit.

    Apparently the thinking that gas savings is linear with MPG is not uncommon. A survey of college students revealed that a majority of them shares this misconception. I’m not sure what the sociological term is for such a massively accepted factual inaccuracy, but it seems like a textbook case for how common wisdom can fail the common person. It’s also a good example of why you don’t want to put policies to a vote — people just don’t have the time to run the numbers, and simple numbers can be so simply deceptive, even with the best intentions. Good democracies are probably more about the people directly controlling principles (“conserve oil”), rather than the policies (“reward car makers that achieve the greatest fleet MPG delta”). Of course, that doesn’t address the problem of creating accountability between principles, policies, and politicians that make the policies to execute the principles.

    Exit Review: IBM T60p

    June 28th, 2008

    Keeping in line with the exit review series, I’ve written an exit review of my IBM T60p laptop, which was recently retired.

    The T60p was purchased back in March 2006, right when the first dual-core mobile chips started shipping. The IBM model number was 2623-DDU, and it featured an Intel T2500 (2GHz), 2GB RAM, 100GB 7200rpm HD, 15″ 1600×1200 LCD, 512MB ATI FireGL V5200, CDRW/DVDRW, Intel 802.11abg wireless, WWAN, Bluetooth/Modem, 1Gb Ethernet, UltraNav, Secure chip, Fingerprint reader, 9 cell Li-Ion batt, and WinXP Pro. Like most of my key gadgets, the T60p followed me everywhere around the world; I spend probably 16 hours a day with it, so it got plenty of wear and tear.

    I retired my T60p because Microsoft is retiring Windows XP, and I really don’t want to downgrade to Vista (“congratulations, your new faster hardware now runs slower than ever thanks to Vista!”), so I decided to get the latest, greatest Windows XP laptop available today, and hunker down and hope it lasts me until Microsoft figures out how to get Vista right (or they realize what a terrible mistake they’ve made and bring back XP…sort of like how Intel brought out the Pentium 4 but now all the new designs are Pentium III derivatives). Or maybe before that, Linux support for all of my key apps will get so good, I can finally depart from the Windows ecosystem.

    So the reason for getting rid of the T60p isn’t because it had any functional flaw; it’s actually in fair working order, and its performance is still decent.

    Here were some of my favorite features about the T60p:

  • Integrated Verizon EVDO. This was a life-changer; the availability of broadband wireless anywhere in the US in an integrated fashion has literally changed the way I work and live, and it has greatly increased my productivity, especially when traveling. No more searching for free hotspots! Less worry about people sniffing my wireless signal!
  • 1600 x 1200 screen. Can’t live without the pixels!
  • Good horsepower. Plays WoW well, although it struggled a bit with TBC expansion pack. Runs all my design software adequately.
  • Decent battery life. On a 9-cell battery, I get about 3.5 hours a charge. The 6-cell battery gave me about 2 hours, which is long enough for general use; typically I go around with the 6-cell battery as it’s lighter and easier to carry.
  • Nice keyboard. I’ve always liked the Thinkpad keyboards.
  • Fingerprint sensor. There’s something sexy about stroking your laptop to log into it, even if it is a security gimmick.
  • TrackPoint mouse. The TrackPoint is essential for precision CAD work, and one of the reasons I can’t use a whole class of laptops that lack this feature, including Apple laptops.
  • Nice looking. I like the austere black slab look of the Thinkpads — the Dell and HP laptops look so cheesy and plasticky, I feel like I’m carrying around a Fisher-Price toy when I have one of those. I hate to say it, but the Apple notebooks are also getting a bit trite, and from what I’ve seen metal tends to dent, deform and scratch, whereas plastic is more resilient.
  • Good accessories. The AC/DC adapter was the best — compatible with every voltage in the world, auto DC adapters and those funky EmPower adapters found on some airplanes. Also there was a pretty good parallel/serial adapter provided by IBM (as well as one integrated into the minidock), which is key for embedded hardware development.
  • Great thermal management system. The laptop’s fan is whisper quiet, but it pumps out a lot of heat. It’s great to be able to hold your hand about five inches away and feel the heat being quietly pumped out of the laptop — a true sign of good thermal design.
  • Great customer support. Every one of my interactions with warranty service was positive, with the exception of talking to the guy to renew my warranty service. He was pretty clueless, but it was a moot point since I got a new laptop anyways.
  • Solid construction. With the exception of a service-induced crack (more on that later), the T60p is in good condition. The clutch on the screen is still solid, and the hard drive is still in good condition (although it does operate noticeably slower, probably due to the bearings being degraded by years of operation in tough conditions, such as airplanes in turbulence and bumpy car rides in China).
  • Good uptime. My average uptime for my laptop was about two weeks without a reboot — this is through multiple sleep cycles and reconfigurations to my external dual-monitor rig, etc. The chief cause for reboots was actually windows running out of GDI resources due to application leaks.
  • Reasonably light and thin. I wish it were like the ultra-thin laptops, but hey, for the amount of performance I demand and the pixels I require on the LCD, this is probably the best compromise. I do keep a spare ultra-light laptop around for the times when I go on vacations to far-flung regions of the world and I can’t afford the weight of my primary laptop.

    However, I also had many, many problems with the T60p as well. Here are some of the more significant ones:

  • About a year into using the laptop, the ThinkVantage access software blew up on me, rendering my internal WiFi card useless. This was triggered when I once installed an external Wifi card for testing purposes, and the installed drivers broke some internal configuration. I tried just about everything short of wiping the OS to get my WiFi card working again, but alas, I never got it back. It’s tragic, as it’s like I had a hardware failure due to a software error. Fortunately, I have copious quantities of USB Wifi dongles laying around thanks to my work, so I just carried one of those around all the time.
  • The Verizon Access software is flaky. I had a little ritual for getting it to work — turn off the radio, start the app, let the app crash once, turn the radio on, start the app again, and then it works. If you started the app with the radio on it’d never figure out that there was signal. What a weird wart.
  • The case near the trackpad cracked. This was due actually to a flawed repair job by a technician that replaced my LCD. The technician didn’t mate one of the friction-lock connectors on the keyboard bezel exactly, which created a stress point and eventually caused the panel to crack.
  • Speaking of which, the LCD had to be replaced once. The LCD failed by having a set of horizontal lines across the bottom of the panel (I recognized that failure as stress-related failure of the COB drivers on the panel). The replacement LCD had a flaw in it too — there was a spot of blue pixels, about ten pixels on a side, that were always stuck-on, just faintly. It wasn’t annoying enough for another return but still, it’s unfortunate that the replacement LCD had a significant flaw as well.
  • One of the DRAM SO-DIMMs failed about 1.5 years into the laptop’s life. It was manifested by lots of bluescreens, and then I ran some DRAM test software and identified the problem. Spray-cooling the DRAM chips fixed the problem, so I installed some extra heat sinking in the laptop, which got around the problem for another month. Eventually, I had to call in for a replacement of the chips, which was laudably painless. The IBM service rep just sent out the replacement chips right away, no questions asked, and everything worked fine from then on (the laptop was still under its extended warranty at this time). However, it does highlight the fact that there is a thermal design flaw in the DRAM area: there is no heat piping or heat sinking around it. I think that’s because most configurations use less DRAM; I really cranked up the DRAM configuration, which meant I installed the most extreme, power-hungry devices in my laptop, pushing the thermal design margin right to the edge.
  • The trackpoint mouse was flakey sometimes; the drivers would sometimes not load properly or crash, which is annoying.
  • The ThinkVantage system update software, while a nice concept, is a bit annoying to use as it has to update itself typically before updating the system. As a general note, I don’t like vendor-specific extensions to the OS. They are never very well done, and often break: “Dear vendor, please stop trying to ‘add value’. You actually are destroying the value of your brand. Just make your good hardware and don’t get in my way, kthx bai.”
  • The FireGL V5200 graphics chipset, while very powerful, had some serious compatibility limitations. The OpenGL drivers never really worked right, and it was totally unsupported by some games, such as Second Life. Unfortunately, graphics drivers for laptops lag the main branch, since it seems every laptop requires a bit of tweaking to the drivers by the vendor.
  • The UltraBay lithium polymer battery that I purchased failed — twice. The failure was manifested in the battery going to 60% capacity within two months of use. The first time I called it into warranty service and got a replacement, and the second time it failed I just decided it was a design flaw and gave up on replacing it. The UltraBay lithium polymer is handy for situations where you’re on battery power and you want to swap out the main battery without going into hibernation. Fortunately, that situation was rare and the battery life of the main batteries was good enough, so it wasn’t really a problem in practice.
  • This is more my fault than anything else, but 100 GB was too small to live in. It didn’t help that I had multiple VMware images on my machine and my hardware design tools often chew up over 3GB per tool. The 2 GB of DRAM was also tough to live in; Altium DXP eats a gigabyte on its own, so starting and stopping the tool is painful as the page file starts kicking in.
  • Minor nit: the TrackPoint mouse will become uncalibrated if you lean on it lightly for too long, and the mouse will start gliding across the screen on its own. Fortunately, the driver is very intelligent and detects this condition so it’s short-lived.
  • This is a general fault of windows, but the 65k GDI resource limitation just sucks. Running out of GDI resources was the key source of reboots for me; Adobe tools and Altium DXP were notorious for leaking GDI objects, and unfortunately I use both heavily.
  • Bluescreens were rare, typically caused by either pulling out USB devices at inopportune times or problems occurring during standby, but one weirdness really got to me. Toward the end, if I walked around with the laptop, it would blue screen. This was because the hard drive shock detector would pause the drive, which would cause some application fault in windows that wasn’t expecting the pause. If I had to move around, I had to suspend the shock protection, which is sort of defeating the purpose of the protection. This wasn’t the case when I first started using my laptop. Why it developed this problem over time is a mystery to me.
  • Well, that’s my experience with the IBM T60p. I think my experience can be summarized by the fact that my new laptop is an IBM T61p — they won a repeat customer. The T61p is still settling in. I like the extra performance it brings, but it has some quirks of its own that I’m still learning to get used to. It’s funny, but every time I get a new laptop, I have to learn all of its little bugs and find ways to patch my behavior to avoid aggravating them. For example, I’ve trained myself to unplug my webcam before hitting the eject button on the minidock, because failing to do so causes a blue screen without fail. So far, none of the quirks have been so bad that I’ve given up on the machine. In addition to the webcam issue, I did have a spate of blue screens to deal with when I first got the laptop (mostly around minidock ejection and going into and out of standby), and I had to do some digging around in the Minidump logs to figure out exactly what behavior was triggering them. I wonder what other users do when this sort of thing happens to them?