Saturday, March 17, 2012

Challenging the iPhone, Part IV

A lot has happened in the past year. Starting in the Android camp, Motorola has engineered a brilliant sale to Google, HTC has faltered, and Samsung has emerged as the big winner. It's not in Google's interests for any single company to dominate the Android manufacturers (just as it wasn't in Google's interest for Apple to dominate smartphones), so the dynamics between the two would be interesting to observe over the next year or two.

Google also released Ice Cream Sandwich to critical acclaim, but actual adoption remains low, accounting for just 1.6% of Android devices, less than a quarter of ancient Eclair version's share. Froyo is 22-months old now, yet it still runs on over a quarter of Android devices. This slow adoption is a problem for Google in matching iOS features, and makes it difficult for third party developers to make use of new features. Some developers are finding that supporting the multitudes of Android handsets costs more than the effort brings in.

The story of the year, however, should probably be the global patent war. Apple, Samsung, Motorola, and HTC appear to be the principal players, and skirmishes have been won and lost by each party, with no end in sight. An Apple-Microsoft consortium bought thousands of Nortel patents for US$4.5 billion, and shortly after patents again appear to have been the key reason Google paid US$12.5 billion for Motorola. Away from the spotlight, Microsoft has quietly hit up several Android manufacturers to collect patent taxes as well. Even Openwave contributed a patent or two to the war.

Apple had a very good year. The iPhone 4S was released to lukewarm critical response, but the customers loved it, and the Siri voice assistant became an instant icon, appearing even in late night comedy shows. Apple would sell a record 37 million iPhones in the Christmas quarter, part of the reason its market cap surpassed Exxon-Mobil and stands today at a staggering US$546 billion.

In other news, Nokia doesn't seem to be doing a great deal better shipping Windows Phone 7 handsets, RIM continues to circle the drain, and Palm has been put out to pasture. The Microsoft-Nokia alliance may inherit third place by default, but there's certainly no evidence of a third power forming right now. The consolidation I talked about last year has happened, and the mobile landscape of 2012 is iOS versus Android, maybe even Apple versus Samsung.

But RIM deserves a mention here. Falling behind in the smartphone market, RIM allowed itself to be distracted by the iPad, and developed the Playbook with newly-acquired QNX as an answer. The Playbook was a disaster (like just about every other competing tablet), shipping without even an email client, and is now selling at or below cost. Samsung is said to be interested in investing in RIM and perhaps building phones based on the upcoming BB10 software, but I don't think that will be enough. If RIM doesn't ship a killer phone in 2012 by itself, I think they're done as a force in this market.

As for Microsoft, they'll do what they always do: plug along and hope they come upon that magical version 3 that takes over the market. A very interesting factor in 2012 is whether any suspicion between Samsung and Google would overcome their mutual interests, and develop into a real falling out, making Samsung do a real switch to BB10, Windows, or its own Bada operating system. Android is too attractive for Samsung to give up easily, but if Google tries too hard to weaken Samsung's dominance, I think it's possible.

Engineering

Resolution independence has been a problem for user interface developers since shortly after an abundance of graphics hardware became available. I remember experimenting in the early 90's with floating point coordinates, normalizing each coordinate to between 0.0 and 1.0. This allowed me to scale my UI to whatever screen size. Of course, that was probably not original, and was certainly not effective. Things squeezed together on lower resolutions, and left way too much white space on higher resolutions.

Later, Microsoft also allowed the user to scale the Windows UI to use a bigger system font, but it was also a failure. It would mess up the UI of all sorts of apps that never expected to be scaled.

When the technology for ~300 ppi displays became available for the iPod in 2007, we simply used it as if it was any other screen. The iPod had no third-party apps to worry about, so we simply got the benefit of sharp text and detailed graphics. But when the technology became feasible for the iPhone 4's screen size in 2010, there were already hundreds of thousands of third-party apps that weren't written with this in mind, and could not be expected to all put in the work to fix.

This is when Apple engineers came up with a brilliant engineering solution. They pretended that the number of pixels stayed the same as the older iPhone. Because the OS was responsible for rendering text, most text in the apps (except those the app has baked into a graphic) would look better automatically. Graphics were easily updated by creating a double-resolution version with a special name, with no code changes required, but if they weren't provided the OS would just scale up the original version. This might horrify a computer graphics purist, but it worked startlingly well. Even coming on two years after the iPhone 4, as predicted many apps still haven't been updated to take advantage of the Retina display, yet they continue to work.

This is engineering at its best. Given the constraints, engineers came up with a practical solution that worked well. It's no breakthrough in computer science by any stretch, but the point is that not everything needs to be one. It reminds me of the fable of an elevator engineer who was asked to reduce waiting times, and simply installed mirrors on each floor to give people something to look at while waiting. Engineers will do well to remember this example.

Saturday, March 3, 2012

The Republican Rebuild

Joe Nocera wrote an op-ed in the New York Times to point out that Rick Santorum as the Republican presidential nominee may suffer a defeat so humiliating that the Republican center finally wrests control back from the fringe, which would actually be a good thing for the country. It's just surreal that we're talking about contraception at all in 2012.

I've long thought that the Republican Party was hopelessly contradictory, torn between the small-government types and the religious types who very much want to use the government to force others to do what they think is right. The only thing that seems to be keeping it together is the ability of people to compartmentalize contradictory thoughts - otherwise known as hypocrisy - but it already doesn't look like Ron Paul's supporters would necessarily just fall in behind Mitt Romney or Rick Santorum, and it certainly remains to be seen whether the bulk of the party can actually unite behind either Romney or Santorum.

Nocera is right that a Romney loss will be blamed on his ideological impurity, and the problem will persist. The Republicans need a wake-up call in the form of a massive Santorum defeat, one that is undeniably the American public's rejection of these fringe beliefs.

There was a moment during the enactment of the Affordable Care Act when I realized that the most right-wing Democrats were still left of the most left-wing Republicans (or at least as left as those Republicans dared to be in public). It's a dangerous sign for the nation that the two parties appear to have no ideological overlap, because that's a recipe for legislative stalemates during a critical period of recovery for the country. I believe that if we don't play our cards right soon, the US will not be a technological leader within a generation.

I do find the parliamentary system appealing, where no party would be dominant, and several parties have to compromise in order to govern. That's not going to happen, so the Republican Party needs to be torn down and rebuilt, for the country to get back on the move. Pragmatism must win. If we ever want our leaders to consider more than just two solutions to each problem we face, then at least some Republicans must learn to compromise. "My way or the highway" actually ends up standing still.

Saturday, February 4, 2012

Obama Is...

Obama is socialist and anti-rich, but also guilty of bailing out the banks and car companies.

Obama is Muslim, but also guilty of his pastor Rev. Jeremiah Wright saying "God Damn America!"

Obama is the food-stamp president, but Romney's not worried about the very poor because they have safety net programs... such as food stamps.

Obama is responsible for the bad economy and joblessness, but Bush is not responsible for not preventing 9/11.

Obama is responsible for the deficit due to spending too much, but Republicans don't contribute to the deficit by cutting taxes.

Obama is elitist, but sides too much with the poor.

Obama is connected to terrorists, but ordered the attack on Osama bin Laden anyway.

Obama is weak because he "leads from behind" in Libya, but is too radical and unwilling to compromise with Republicans.

Obama is gutting the military, even though the military budget of the past three years were US$794 billion, $848 billion, and $904 billion, respectively.

Obama is the worst president ever, even though he took office in the most severe recession since the Great Depression, with unemployment having shot up from 5% to 8% (and going) in the previous year, and the collapse of the housing bubble that was powering much of consumer spending. Oh, and two unfunded wars, unfunded tax cuts, and unfunded prescription drug benefits. But anyway, worse than the two-term guy who left him this mess.

How do you people get these straight in your heads without it exploding?

Tuesday, December 20, 2011

The Case for a Strong Federal Government

There's been a lot of discussion on states' rights, particularly in the Republican primaries. Their targets vary from time to time, but the EPA and minimum wage have both been mentioned.

Here's the problem: the United States is a free trade zone. That means California cannot place tariffs on goods imported from Michigan or Alabama, and vice versa.

If environmental protection becomes a state domain, then companies that do pollute will all move to the least-stringent state, and still sell their products all over the US. A company in a stricter state will generally not be able to compete. Minimum wage also works in a similar way, as low-wage states take jobs from high-wage states. In other words, it is a race to the bottom.

The United States is also a free travel zone, so Arizona cannot deny entry to a New Yorker, and so on, which means the issue of universal health care also requires a strong central government. If one state subsidizes health care while another one doesn't, then sick people will go to the state with cheap health care, unfairly raising costs for everybody there. Just require the sick person to establish residency, I hear you suggest. The problem is that this shuts the door on people who move legitimately, but happen to be sick. In other words, each state must continue to provide whatever benefits it provides to citizens who depart for another state, at least for the duration of the residency period at the new state, or you'll have a (perhaps intolerable) gap in coverage. This is clearly a horribly messy situation that a nationwide coverage system can mitigate.

But you're free not to buy goods from polluting low-wage states, you say. The free market will take care of it, you say. How's that working for Chinese goods? Besides, the market is only a solution after the damage is done, and with things like carcinogens evident only after decades of exposure, punishing the polluters in the market is cold comfort. Worse, how would you like to travel halfway around the country to sue a polluter, while dealing with cancer?

Put simply, things that don't naturally obey borders require a central government. Pollution is not a state issue, because water flows from state to state, and the air is blown from state to state. Wages and other manufacturing costs are not a state issue, because we are all required to accept your products into our state. Communicable diseases. War. Long-Distance Transportation. Wild Habitat Conservation.

The US Federal Government may indeed be bloated, I'll freely grant. But unless you want to end free trade and movement among states, think twice about gutting the parts that require putting national interest above those of one or two states.

Wednesday, November 23, 2011

Wanderlust

I left Taiwan at age seven, and lived in the Philippines until I was 22, when I moved to the US. I lived in three different places in Taipei, three in the Philippines, two in Maryland, and two in California. So I think the longest I've ever stayed in one place is the eight or nine years in Mandaluyong, and the eight or nine here in Fremont.

Over the past few years, we thought it was probably time to buy a house, and started to save up for it. But on this previous vacation, an urge that had brewed for a couple of days came rushing out while we cooled our heels outside the Tate Modern museum in London, watching the Thames and fighting jetlag. An urge to leave it all behind and start over somewhere different.

I've always liked vacations for their time-warping quality. I feel like the whole world continues to move along its path while I've detached in observation, as if I've become timeless during those few days. This one was a bit different, and is probably mixed in with some mid-life crisis of sorts. I've long thought that aging was best represented as a narrowing of options, in the sense that as a child you could be almost anything, but as you go to college, graduate, and move from job to job, your path becomes more and more defined over the years. At some point, you are basically the one thing that you are, until the end. So this might really be an urge to fight nature, to create paths that are as wide as they were when I was young. A way to put off stagnation, decay, and therefore death?

I'm actually pretty happy with where I am, and I'm probably too responsible to actually do anything about it, yet the wanderlust tickles.

High

I'm tired of hearing Republicans complain about taxes being too high. What exactly is the magical percentage at which it isn't too high? Rick Perry wants 20%, Herman Cain is infatuated with 9%, but why not 8% or 2% or none at all?

I get the feeling that the Republican voter pictures the government as a Scrooge McDuck of sorts, hoarding all that tax money into a giant safe. In reality, every dollar collected is spent, in fact on top of taxes we borrow some more dollars to spend. Thus, taxes are not too high, they are by definition too low because we are incurring more debt every year. They might be spent on things you don't like, which is what we should be talking about instead.

Now, in many ways, government spending actually saves you money. If we each have to buy guns to defend our homes, it'll probably cost more than setting up a good police department, and probably won't even work that well (remember the wild west? really want to live like that?). Ditto for fire protection and various public works like roads, pipes, and bridges. Just imagine if your only way to get to work involves driving on a private road: how much do you suppose the owner's going to charge?

Other kinds of expenditures have a more indirect effect. The strong (and very costly) US military ensures the free flow of petroleum to fuel our economy. They deter foreign invasion, which provides a predictably safe environment for businesses to invest. All of that is worth money, but how much, exactly? If we cut the defense budget by a billion, what would it cost us indirectly? What about ten billion or a hundred billion? The same analysis can and should be done against each of the big expenditures.

In other words, there is no magic percentage to taxes or spending, and "too high" can only be true if you calculate it relative to what you're getting back. So let's talk about what government programs aren't worth the money instead.