Archive for June, 2009
Shiny Red Buttons (3)
Monday, June 29th, 2009Today, we’ll actually get around to the business of drawing some shiny pictures. We’ll be using Matt Gallagher’s gloss gradients code as a base, with some minor adjustments to allow for porting to the iPhone, and for personal taste. We’ll combine this code with Friday’s rounded rect clipping code to generate a rough draft of our shiny buttons. Let’s get started.
Grab Bag
Sunday, June 28th, 2009Shiny Red Buttons (2.5)
Saturday, June 27th, 2009Shiny Red Buttons (2)
Friday, June 26th, 2009Shiny Red Buttons (1)
Thursday, June 25th, 2009
One of the most striking elements of “modern” user interfaces is that half the buttons are so shiny that it’s a wonder magpies don’t break into your house and make off with your PC. This is all very pretty, but it can be a bit of a nuisance for the developer.
In particular, the iPhone’s built-in apps (e.g. Clock, Contacts) have some very nice, glossy, colored buttons that any developer would want to emulate. Unfortunately, there is no built-in API that allows a developer to conjure up similar buttons; you have to roll your own. To address this problem I’m going to spend the next several days walking through the process of creating the shiniest, happiest buttons imaginable. I hope you find it helpful.
MAF: Ratio of Fire
Wednesday, June 24th, 2009Today’s installment of Book Club looks at Chapter 5 of “Men Against Fire” (MAF), which introduces the metric at the heart of Marshall’s argument: the eponymous ratio of fire, or the fraction of men engaged in combat who fire their weapons at the enemy. Marshall reports that this ratio was astonishingly low in the WWII engagements he investigated, never surpassing 25%. He begins to draw certain conclusions from this, and I think it has interesting implications for other areas of human endeavor.
The Past
Tuesday, June 23rd, 2009While reading through a 1938 copy of Dale Carnegie’s “How to Win Friends and Influence People”, I came across this paragraph:
Shortly after the close of the war, I learned an invaluable lesson one night in London. I was manager at the time for Sir Ross Smith. During the war, Sir Ross had been the Australian ace out in Palestine; and, shortly after peace was declared, he astonished the world by flying halfway around it in thirty days. No such feat had ever been attempted before. …
Greta Garbo
Monday, June 22nd, 2009Garbo is an iconic name, of course, but one can lose sight of what a good actress, and compelling screen presence, she really was. If you haven’t seen any of her movies, I’d encourage you to buy/rent/add to your queue one or more of the following:
- Ninotchka (Probably the best movie Garbo ever did.)
The last mass trials were a great success. There are going to be fewer but better Russians.
- Anna Karenina (Basil Rathbone steals every scene he’s in.)
- Camille (It’s difficult to imagine anyone else pulling off this combination of cynicism, fatalism, and romanticism.)
- Mata Hari (Not necessarily a great film, but a great performance. I dare you to make it through the final scenes without misting up a bit.)
I just noticed that each of the movies I listed is named after the character Garbo plays. I guess that’s the sort of thing that means you’re a star.
BBQ
Sunday, June 21st, 2009One of the side-effects of BBQing some meat is a great deal of strongly aromatic smoke. If you’re manning (or just near) the grill, this tends to soak into you; as a result, you trail a cloud of BBQ scent for the rest of the day.
I suppose you can divide the world into those who consider this a problem, and those who consider it a bonus.
