It's Good to be the King

No comments:
They're getting married! She's 32, blond, Olympic swimmer hot. He's 52 and looks like a jowly accountant. How did they hook up?

I don't know the story, but I'm guessing that being the fantastically wealthy prince of friggin' Monaco didn't hurt his chances.

Prince Albert of Monaco to wed Olympic swimmer Charlene Wittstock the headline reads. It should read, "It's Good to be the King."

The Smartphone Age is a great time to learn chess!

No comments:
I'm excited to report that the portable chess problem has been solved, and the solution is called a "smartphone" (aka iPhone 3GS). As a result, there is no reason not to learn this fabulous game.

My reintroduction to the game was made by my iPhone courtesy of Deep Green, but only really deepened with Shredder Chess (a total steal at $7.99 - the desktop version starts at $50) particularly thanks to the puzzle feature. "Puzzles" are generally mid-game problems with solutions from 1 to 8 moves in length. They are fantastic "aha!" teaching moments, and they are fun to solve. I've learned more about forks, time, and pinning from these puzzles than in years of casual play. I can apply these lessons directly to my normal games.
  • Click here to get a sense of a shredder chess puzzle (updated daily).
  • Click here to play against shredder free online.
The great innovation here is two fold. First, portable computer chess finally has found a great platform: the smart phone. Most people's interest in chess isn't high enough to justify a separate device, which have been sold for years. But it's enough to sustain an app on a phone you carry anyway. Forget Doodle Jump - play chess when you're waiting around for something! The second innovation is Shredder Chess' concept of a Chess puzzle.

Chess puzzles highlight the beautiful parts of a chess game. Openings are about memory and style, end games about mathematical certainty. But mid-game situations are where that big advantage is won or lost, and so where the game is won or lost even if it takes another 30 moves to knock over the king.

Shredder's software execution is all but perfect, particularly the ability to play the puzzle then switching to play the position against the computer, allowing you to test out alternate theories from both sides. That is, the solution to the puzzle is only the start. You can regress the game and ask the all-important question: I beat my opponent this time. How could he have avoided this fate?

Without a single word, these puzzles say so much! What a perfect way to learn the game: rather than memorize and apply the insights of masters, this method encourages you to make your own insights, which in turn makes the game in a very rewarding game of discovery rather than a boring game of regurgitation or application of theory. The insight of masters are invaluable, but to really appreciate them you must have your own framework of understanding. (Many Go teachers say that you should play at least 100 games of Go, before studying theory for this very reason.)

I should add that while you generally don't have to play out the puzzle game to it's end, I often do, as my end game is (was?) a big weakness. I might be up a queen and still lose in my rush to end it. But now I really understand the significance of a passed pawn and the slipperiness of the King and the need to be thoughtful and careful even when you have an enormous power advantage. Carelessness kills.

I can't say enough about Shredder on the iPhone, but there is one thing missing: openings. Very few of the puzzles occur in the opening, and most of those take advantage of fairly obvious opponent mistakes. Shredder has a cool feature where it identifies and names your opening. But it would be nice if it had an "opening drill" feature to help you memorize openings (and understand their implications for the rest of the game).

Not to take away anything from the amazing and innovative new kinds of games like Flight Control, Doodle Jump, Angry Birds, or Spider but why not kill two birds with one stone (or two stones with one bird, if you play Angry Birds). Chess is an aristocratic game of kings. It's good for the brain and a lot of fun, and perfect on this platform.

Kinda tempted to build a gaming computer

No comments:

9693859 Angle Large

A cheap, good gaming PC for $430. Really, just to play Portal 2, Counter Strike:Source, and maybe some old stand-by's like Supreme Commander and Ultima III in the Apple IIe emulator. (It may be a $60 card but it will drive my 30" Cinema at full resolution.)PNY GeForce GT 240 VCGGT2405G5XEB Video Card

The Oil Spill War.

No comments:
The oil spill is a major threat to the United States. It is correct for the federal government to act to act to mitigate this threat to us all. It is important for Obama to remain clear on this objective. BP has unwittingly triggered an attack on US soil, and they can and should help with defense, but it's our collective interest at stake, and we must take the lead.

This is a battle with three objectives:
  1. Stop the flow.
  2. Cleanup the mess.
  3. Don't get distracted.
Stop the flow. Cap it, divert it or plug it. And don't stop trying until you succeed. One solution would be to ask every oil company in the world to come and drill into the field and drain it as quickly as possible. Make this a condition of ever doing business in the US again. Oh, and make sure that your blowout preventers are working.

Cleanup the mess. Use booms and sponges to keep floating crude away from shore. Figure out a way to sieve dispersed oil from seawater (fund a research project). Enlist locals help cleaning the coast.

Don't get distracted. By the blame game. By flow calculations. By political calculation. By philosophical positions. By questions of prevention. By principles. By critics. This is by far the most important objective, because without it all other objectives will not be met.

9 ways to write native iPhone apps with JavaScript

No comments:
John Resig writes about iPhone JavaScript development back in November 2008. Here are the projects he mentions. (status as of June 2010 in brackets):

  1. JiggyApp requires a jailbroken iPhone [offline]
  2. JSCocoa "full bridge" for doing full bore Cocoa programming in JavaScript. My take: kind of like Swig but instead of Java/C it's JavaScript/Obj-C. Written by Patrick Geiller. [online. moderately active]
  3. PhoneGap adds some native functionality (accel, gps, but no magnetometer) to an app . Also has great documentation - a free O'Reilly book "iPhone Apps" (which talks about cached webapps, too). Targets Android and Blackberry, too. [online. active]
  4. WebTouch is basically a "blank" iPhone app with a single WebKit instance. John likes this one the best. Code. Author. Blog. [online. inactive]
From the comments:
  1. Capuccino/Objective-J
  2. Use "Transfer and View" apps like Dropbox or Files - see this blog post.
  3. QuickConnect - an Xcode template. Code and blog. Development started 4 years ago?! [online. active.]
  4. MotherApp - generates an Objective C application from JavaScript (presumably). [online. active. commercial]
  5. Big5 is an app store app that somehow lets you tap into native functionality. Now open source at github. The readme points users to phonegap.
Not really sure what the state of the field is today, but PhoneGaps documentation (courtesy O'Reilly) is pretty huge.Summary: PhoneGap is the winner. But I really like the transfer and view concept, and JSCocoa for doing desktop development.

Make yourself happy and avoid the Nexus One

2 comments:
In the end, there are two reasons I cannot recommend this phone:
  1. The display is unreadable in sunlight. If you like the outdoors, like I do, this is a deal breaker. (If you're a vampire, read #2)
  2. The buttons along the bottom of the Nexus One do not work. Or rather, do not work all the time, which is actually worse from a usability standpoint.
Regarding the first point, it is astounding to me that anyone would sell an electronic device that completely fails in sunlight. The sun remains the world's most important light source, and to make something that doesn't work in the sun is outrageously stupid. Only those who never leave a building should consider this phone, and that includes using it in your car. And I don't like to disrespect the sun on general principle.

(I can't help but wonder what this implies about the Google culture and possible vitamin D deficiencies there.)

As for the second point, well, the buttons gotta work. Every time you hit a button and it doesn't work, your expectations are blown, and you cause feelings of fear and anxiety in the user. They are small feelings. But they add up. Eventually, the user is all but flinching before touching a key. They look for ways to avoid touching the offending keys. This is usability 101. But you have to stab, cajole, pray, and otherwise beg the shitty Nexus One buttons to register a tap.Absolutely unacceptable. Apple has shown how to do great touch UI with an absolute bare minimum of buttons. The back|menu|home|search buttons on the Nexus One are worse than useless: they actually eroded myexperience to the point where I just don't want to use the phone anymore.

And since point 1 rules out all users except vampires, that means point 2 is going to mean Google has to deal with a lot of pissed off vampires. Maybe someone can get Stephanie Meyer to chronicle the inevitable vampire assault on Mountain View. In the meantime, I'm selling my Google stock.

I'm sorely tempted to eat the $45 restocking fee and return the thing, but I need an Android device for a business project (which doesn't rely on the display, luckily). So I'm gonna keep it, but I'm not gonna like it.

(For the record, there are three good things about the Nexus One: Google Voice, Live wallpaper, and strong syncing tools. And, to be honest, when you turn the brightness all the way up the indoor display is quite fetching.)

Imponderables in the geekosphere

No comments:
What happens when you combine this law with this gadget?

The Joy of Shopvac

No comments:
Yesterday I bought a small ShopVac from Sears [correction: it's a Craftsman brand. But like Kleenex, the brand name is also used as the generic]. It's a 2 gallon, 1.5 hp model that cost me $25 + tax. And it's awesome. It is surprisingly powerful.

Why? Because it solved a hard problem: cleaning my bilge. And it will solve other problems, like cleaning my cushions and the deck. And I can use it to inflate the Avon. And it's small enough to put anywhere.

Fantastic.

A practical guide to "spreading the love"

No comments:
Lots of people talk about "spreading the love", but what do they mean and how do you do it?

Online, the first step to spreading the love is to filter. You read positive items, items that are useful to others, and ignore everything else. The actual love still needs to be spread, so send the link in one of myriad ways. Make them feel special, and that you're thinking of them. The love has been spread! Good job!

If this sounds good to you, read on. Realize that we read things for all sorts of reasons. To stay informed, to grumble, to reinforce our preconceived notions of how the world works, to waste time, to learn about a topic. This becomes clear when you observe yourself as you read: some items create feelings of hope, delight, or wonder; others create dread, fear, or pain.

Offline, "spreading the love" can take the form of an extra generous tip, a compliment, or a smile.

One of the most interesting things about it is that, if you are in a good mood and resolve to "spread the love" you will find a practical way to do it, and believe me, it will make a difference.

There is limited love that one can spread on a computer: recognize this limit when you reach it and close the thing down!

A great album - Kate Bush: Hounds of Love

No comments:
Hounds of LoveThe Hounds of Love, Kate Bush's 1985 tour de force, has been a favorite album of mine for many years. It is still as good today as it was in 1994 or so when I first heard it. The second side (titled "The Ninth Wave") is by far my favorite part of the album, and contains two of my most played tracks: The Morning Fog and Watching you Without Me.

Kate is known as a meticulous producer, and it shows. Every second of this album is impeccably produced, and the sound quality is amazing. Normally I would scoff at good production as being rather pointless - the music is what matters, after all. But Kate's music is so intricate that it requires this kind of careful treatment to be heard. Indeed, I can imagine that Bjørk would really benefit from production like this. (Actually, so would Sigur Rós, where bad production actually ruined Ágætis byrjun for me after I started catching all the artifacts on relistens.)

Do yourself a favor and buy this album today. It's amazing.