02 February 2009

Welcome to the Anti-Social

So I was on the bus today, and noticed someone was flipping through something on his iPhone. Turned out it was his playlists. And once he picked a song, I could easily see which album it was from, because of the album cover (easy to recognize because I too have some Vampire Weekend on my iPhone).

To me that’s just as valid a music sharing experience as whatever the Zune is supposed to do. And we didn’t even have to cooperate.

30 January 2009

Mac Box Set & Leopard

Just got my Mac Box Set (Mac OS X, iLife and iWork). At $149 (Amazon price as of 30 Jan), it’s the same price as iLife and iWork bought separately. I wanted both of those.

As it happened, I used the Mac OS X DVD to update a machine to 10.5.6, and tried to use that computer as part of my compile farm (using Xcode’s Distributed Build feature). It showed up as incompatible with the others. Apparently Mac Box Set includes 9G66, while the combo update installs 9G55. I didn’t realize Apple was distributing multiple builds of 10.5.6. Normally no one would really care, but distributed builds need perfect configuration matches.

So I probably won’t be able to use this machine in my compile farm until the next Mac OS X update.

25 January 2009

Control Room

Just watched the documentary Control Room, about Al Jazeera during the invasion of Iraq. Poor Al Jazeera! They were hated by both sides, as near as I could tell because they were devoted to broadcasting the truth.

The movie was for me full of ambiguities. For example, the soldiers going door to door (pretty scary stuff from my own training) vs the poor civilians caught in this. The soldiers trying to control the civilians without being able to speak their language vs the poor civilians who had no idea what they were being told. The reporters wanting information, the military not wanting to give out something useful to their enemy.

I found 1Lt Josh Rushing very sympathetic (perhaps because I was once a 1Lt). He seemed to be honestly trying to understand the Arab point of view. And was keenly aware that he reacted to dead Americans on TV differently than to dead Iraqis.

The DVD includes deleted scenes. I didn’t watch all, but many were political discussions that may be enlightening but didn’t really relate to the main theme of the film.

An interesting and thought-provoking documentary, still relevant.

05 January 2009

Class Names under gcc

We recently changed our C++ framework to use the language’s RTTI (historically we didn’t because some compilers didn’t do a good job with it, but that’s pretty ancient history by now). Previously we used a bunch of macros to roll our own, including the ability to print an object’s class (for debugging purposes), something like “ResourceImage.” The first cut at “native” support showed this as “N3GF213ResourceImageE,” which is too ugly for my liking. (It’s essentially a mangled name.)

So Chris Blackwell pointed me in the right direction, and we now have
#include <cxxabi.h>

template <typename ObjType> std::string class_name(ObjType* anObject)
{
int status;
char *realName;
realName = abi::__cxa_demangle(typeid(*anObject).name(), 0, 0, &status);
std::string retVal(realName);
free(realName);
return retVal;
}
which returns a human-readable name.

30 November 2008

I’m Finally Digital

TV, that is… I don’t watch much TV, but for at least two years I’ve been eying the impending switch to digital broadcast. I don’t feel like paying $35/month for cable, so it seemed like upgrading my TV was the way to go (rather than paying for a converter — even with the coupon). We’re using a 19 inch model we inherited (the 19 inch model I bought in 1980 is essentially a spare). So it seemed like I could kill two birds with one stone — upgrade to HDTV, and switch to digital.

But two years ago this would have cost about $1200 for a 32 inch model. This year, I was able to find a Black Friday special model for $499: a Samsung LN32A300. Everyone had them for the same price, so I want to a local store (Magnolia Audio/Video).

I was really amazed at how much better the picture is. Hooking up the same rabbit ear antenna we used before, the picture is now totally sharp, where most of the channels were rather fuzzy before. Even the VCR looks a lot better (no doubt because it’s now connected via video instead of RF on channel 2).

Elise tried getting a new antenna with an amplifier, but this actually made things worse (one channel would cut off with the amplifier on), so she returned it.

The remote seems reasonably well designed (though it doesn’t light up), and the menu system is quite usable.

I haven’t tried hooking up a computer yet (need to track down a reasonably priced DVI/HDMI cable), but I’m sure I will at some point.

So we now have more channels (many of the stations apparently have a second or even third signal, though I’m not entirely sure what they use it for), about twice the screen size (by area), and no longer have to futz with the antenna to get an OK picture. I’m surprised at how pleased I am.

21 November 2008

Pandora on iPhone

Due to an upgrade glitch, I didn’t have any music on my iPhone for the half hour bus ride home. So I decided to use Pandora Radio.

Even though I had only an EDGE connection, the experience was fine. The app did take a while to start up and play the first song, but then I just listened to music. Some of which I already own, some that I think was new to me. But all worth listening to, and all free. And I didn’t hear any “buffering” style pauses — just continuous music. (There were apparently ads, but only on screen.)

Pandora Radio is not built in like the iPod application, so you can’t do anything else while it’s running, but I didn’t need to.

It’s worth getting this, and spending a little time customizing it so it can recommend music (I had originally done this a Macintosh using their online service — your account is available from any device).

04 November 2008

I Voted For President!

For the first time in my life, I have voted for a president! (I’ve always voted, but my candidate had never won.)