bitguru blog

a guru of bits, or just a bit player?

Archive for June, 2007

Presidential Footwear

Posted by bitguru on June 25, 2007

G.W. Bush’s feetThe front page of one of the inner sections of Friday’s Washington Post featured a photograph and story concerning presidential footwear (registration required, or look here for unhampered photo without story).

I didn’t read the entire story, but its primary focus is the brand of shoes. I have no opinion on this. In fact, as of Father’s Day I too own a pair of Crocs.

A secondary aspect of the story is its contribution to the continuing debate on whether wearing socks with Crocs is necessarily a style violation (and, if not, which sock colors are permissible). I have no opinion on this either. Yes, it does look a bit tacky but I’m definitely a fan of socks in general.

But there’s something else that astonishes me about the story, though it doesn’t seem to be getting much coverage. G.W. Bush wears presidential-seal socks?!? I mean, how uncool is that?

I guess I shouldn’t allow Bush to astonish me anymore after all he’s done, but what’s next? Sean Connery wearing James Bond 007 socks??


Posted in Uncategorized | 1 Comment »

Swing single threading rule and JSR-296

Posted by bitguru on June 12, 2007

I didn’t make it to the JavaOne conference this year, but I notice that the slides and video (registration required) have been posted for the session on JSR-296: Swing Application Framework.

The Swing Application Framework has a number of goals, but one of them is to provide an Application class that has lifecycle methods for the programmer to implement, sort of like the existing Applet class. Application makes it easier not to violate the more-stringent Swing threading rule by invoking its startup method on the event thread. [I originally wrote by automatically invoking but it’s not automatic. One must call launch(MyClass.class, argv) from main, which then calls startup(argv) via reflection.]

The idea is that JSR-296 will eventually be part of the JDK7 or JDK8. It’s possible to use it now as an external library, but the API is subject to change. It’s also possible to write code inspired by JSR-296 without actually using the library. Like other attempts to comply with the Swing threading rule, this is ugly but I throw it out there for discussion. Read the rest of this entry »

Posted in Java, Swing | Leave a Comment »

West Virginia table game referenda results

Posted by bitguru on June 10, 2007

Saturday was election day in two West Virginia counties for referenda to allow table games such as poker and blackjack.

The voters of Ohio County, an hour west of Pittsburgh, approved their referendum with 65.7% of 11,524 ballots cast. Construction begins Monday morning for new facilities at Wheeling Island casino. West Virginia Northern Community College already plans to train 400 new dealers for poker, blackjack, roulette, and craps.

The voters of Jefferson County, an hour west of Baltimore and Washington, defeated their referendum. Of 10,055 ballots cast, 44.0% were in favor. The owners of the casino in Charles Town may request another referendum in two years.

Kanawha and Hancock counties vote on table games later this summer.

Posted in Poker | 1 Comment »

Impressive iPhone Ads

Posted by bitguru on June 4, 2007

I know some people who have been almost drooling over the impending iPhone device, but it hasn’t interested me much. Maybe if I could write my own apps for it, or if it didn’t cost so much….

I must say, though, that the television advertisements Apple has posted for the thing are fairly impressive. I won’t be switching carriers to AT&T/Cingular, but perhaps I’ll be paying more attention to the iPhone.

If you take a look at the calimari ad, near the end they do this thing with Google Maps that I often do myself with my web browser. Until lately I’ve used Yahoo Maps for this because of its integration with Yahoo Yellow Pages (which I guess is now called Yahoo Local). If you follow that last link to it will give you a list of seafood restaurants ordered by distance from a location.

I don’t use Yahoo Maps anymore because they’ve changed it. Read the rest of this entry »

Posted in Consumer, Hardware | 1 Comment »