temp sensor grappling in OS X

for i in `ioreg -l | grep "current-value" | cut -d"=" -f2`; do echo "$i / 65536 * 9/5+32" | bc -l ; done

This doesn’t work everywhere, alas.

My iBook returns this:

32.00000000000000000000 <- bogus

The iMac G5 returns:

32.04663696289062500000 <- these are all suspect
32.04117126464843750000 <-
32.06311645507812500000 <-
32.01227722167968750000 <-
32.02210998535156250000 <-
32.01738586425781250000 <-
32.00000000000000000000 <- bogus

(The 32° readings are actually zeroes.)


all you need to know



I might watch it if they tried this

But while an aircraft’s wings provide lift, an F1 vehicle’s spoilers, along with its sloping upper body shape and intricate underbody surfaces, do just the opposite: They create downforce, giving the vehicle wicked-fast cornering speeds and massive amounts of braking power. The downforce is so strong that the cars could theoretically drive upside down on the roof of the tunnel at Monte Carlo, Hughes says.

[From Inside the Scandal That Rocked the Formula One Racing World ]

That would be entertaining: Hot Wheels, in large scale.


note to self: fire crew

no idea how far “a couple of gallons” would go, but still . . . I thought these cars had all this super instrumentation?

INDIANAPOLIS — Danica Patrick’s greatest triumph at Indianapolis Motor Speedway also happens to be her biggest disappointment at the world’s most famous racetrack.
Patrick was zipping along in the lead of the 2005 Indianapolis 500, 25 miles from becoming the first woman to beat the Brickyard, when crew orders came to conserve fuel. Patrick backed off 226 mph to 221, fading behind Dan Wheldon, Vitor Meira and Bryan Herta.

The fourth-place finish became more frustrating when, Patrick says, she learned her car had a couple of gallons left at the checkered flag.

[From At Indy, Patrick after a greater sense of history –]