Pages

Wednesday, 6 February 2013

What’s really wrong with Apple?

Despite the huge tumble Apple has taken on their share price, the reality is they are doing well on most measures that count, and exceptionally on some. Take for instance the way they have pushed Samsung to second place in the US cell phone market in the last quarter of 2012. Samsung has a vast range of phones including some very cheap entry level models, whereas Apple only has premium models. This is like Mercedes-Benz pushing Toyota or VW into second place.

Here’s a much bigger story of decline.

Dell is buying back its shares and going private, while pretty much scaling back on manufacturing.

Anyone following this story will no doubt have seen numerous reminders of Michael Dell’s advice to Steve Jobs: close Apple and give the money back to the shareholders (repeated in the article I point to above). Apple right now could buy Dell for cash and still have $100-billion left in the bank. For now it seems that Apple had the right business model all along, it was just poorly executed until the Jobs revival.

Next year, we could have a different theory of the universe.

My view: Apple does some things right, other things wrong. They could still have a major stumble if one of the competition gets a major thing Apple is missing right, whereas they are all trying to do better than Apple at the minor things and missing the big picture.

Next year, we could have a different theory of the universe.

Microsoft Surface: a precision-engineered kick stand, I ask you: what major problem does that solve? Microsoft has designed a laptop you can’t use on your lap and is selling it as a better kind of tablet.

Many of the arguments about what Apple is missing revolve around minutiae, like the absence of this or that port, or this or that hardware or software feature deemed so essential that the Apple product will surely fail if one of the competition remedies the defect. One of the competition remedies the defect, and sinks without trace. How often have we been told some Apple product would be a success if only it had a USB port, could use SD flash cards, or could receive FM radio? Products like Zune that supposedly met one or more of these needs litter the trash heap (or, better, the recycling bin).

If any competitor is to get serious traction, they need to focus on finding something major that Apple is missing or getting wrong – and finding a product or niche is not enough. You need also to find a fundamental flaw in their business model that stops them taking on your new idea.

All these other things excite geeks, not people who just want something that works and don’t care about technology.

Of course Apple did get things badly wrong in the past. In the late 1990s, they almost went broke.

The original Mac OS did not have a proper kernel, so it did not implement memory protection or true multitasking, meaning one program could take over the machine if it went awry, destroying data of other programs or requiring a hard reboot to get the machine back under control. In the late 1980s, I told someone from Apple that they already had a solution. At the time, Apple had a version of UNIX, called A/UX, that included a way of running Mac apps in a compatibility layer called Blue Box. I proposed that they give up on their own operating system project that eventually became the disastrous Copland project, and create a new Mac-like interface on top of UNIX, with Blue Box for old apps. No, they said. UNIX was way too heavyweight for ordinary users. At the time, A/UX only ran on the top of the line Mac II (with a wicked fast 16MHz Motorola 68020). I tried to explain that they didn’t need all of UNIX, just the kernel, and the application layer could be a version of the existing Mac application layer, but they insisted it wasn’t possible. Nearly 10 years later, Apple bought NeXT, and the resulting new Mac OS, called Mac OS X, was pretty much what I proposed. You may argue that the entry level Macs of the day didn’t have hardware to support a proper operating system with memory protection, but that’s very short-sighted. By 1991, System 7 was launched with virtual memory support, requiring a hardware memory manager (though still without protection, since that would have required a major rewrite of many applications that relied on accessing a single common memory).

Where Apple went wrong in this whole exercise was taking focus off their key strengths: usability and clean integration between multiple hardware and software components. Design of an operating system kernel is secondary to this focus. Once they reverted to their traditional strengths, they recovered fairly quickly (in the process also addressing another of my criticisms, a complex product range no one could understand).

Apple went badly wrong because they took their eye off the ball, and wasted huge amounts of money on something that no one but a geek or hard-core computer scientist would care about, a highly innovative operating system kernel.

So if anyone is to seriously dent Apple’s dominance of their key markets, what it will take is a clear understanding of the important things Apple does well and the important things they do badly. Identify the latter, and address them, and you’re in with a chance.

What options are there? Here’s a few hints. Apple’s serious weaknesses are not in areas like ports, memory expansion or kickstands. So what are they then?

I do think Apple has some serious weak points, and I’ve been right on these things in the past. So what do I think Apple’s real problem is (or will be if someone sees it and exploits it)?

Sorry, I’m tired of giving my ideas away for free. If you have a serious amount of money to invest, let me know.

Monday, 28 January 2013

Limoncello almond poppyseed cake

Here’s another of my occasional culinary forays, my adaptation of this recipe for a wheat-free cake:
  • 4 eggs, 3 of which separated
  • 2 tablespoons limoncello* (limoncino) or zest of 3 lemons
  • 1 tablespoon poppy seeds
  • 100g brown sugar, split into halves
  • 170g almond flour
  • 1 teaspoon baking powder
  • icing sugar (powdered, for Americans) to decorate
Whisk the 3 egg yolks with one whole egg and half the sugar until smooth and light. The trick here is to keep one egg whole so the mix is less likely to collapse compared with whisking all 4 egg whites separately.

Thoroughly mix the baking powder and almond flour. Add the limoncello (or lemon zest), poppy seeds and sweetened egg yolks, and mix thoroughly until smooth. Aside from adding flavour and texture, distribution of the poppy seeds is a good indicator of whether everything is thoroughly combined. For the alcohol intolerant: the alcohol should all cook out.

Whisk the 3 egg whites until very frothy, then gradually add the rest of the sugar, while continually whisking. Stop at the soft peak stage (the mix just holds its shape when you lift the whisk). Some tricks of the trade: use an unlined copper bowl, and whisk the egg whites at room temperature. Egg white is hard to aerate from cold, and a copper bowl makes whisking much more effective and more stable without additives like vinegar or salt.

Incorporate the egg white into the almond mix slowly at first, until you’ve added about half the egg white, then gently fold in the rest so you don't flatten out all the air.

Put a disk of non-stick baking paper in the bottom of a spring-form cake tin, and butter the sides. Slide the mix in and bake in a 175°C oven for 30 to 35 minutes (checking at the end that a skewer comes out clean).

Cool the cake on a rack, baking paper down.

When the cake is cool, ease off the baking paper and decorate with a little icing sugar (put about half a teaspoon in a strainer and smack the side lightly to spread it evenly; this is best done just before serving as the cake is quite moist and will absorb the sugar).

*Edit: I used 4 on my first try but it came out a little too lemony.

Monday, 24 December 2012

Second-Chance elections

South Africa has a purely proportional representation (PR) election system at all levels, except for town councils, which have a mix of PR and ward councillors. A ward is essentially the same thing as a geographic electoral district (US terminology), constituency (UK and old South Africa) or electorate (Australia). To standardise the terminology, I choose the shortest term for the concept of voting for a representative in a given region: district, and MP for representative, since “member of parliament” is very common terminology.

A pure PR system as we have in South Africa, in which each voter chooses a party, and the party decides how to order its party list, puts a disproportionate amount of power in the hands of the party. How high you are on the party list determines your chances of election: the higher you are on the list, the fewer votes the party needs to win for you to make it. Yet your position on the party list is not in any way influenced by how you perform in the election. A party can reward a stalwart, or worse, corruption, by placing a candidate high on the list, while making sure they do no public campaigning that might reveal their weaknesses. Also, you have no concept of your own MP, so the line of accountability is very indirect.

It would be desirable to fix these problems without losing the benefits of PR system. But first, let’s examine the disadvantages of the alternatives.

A pure district system has the problem that it can skew representation relative to the popular vote. If a party has concentrated regional support, for example, it may score a low fraction of the vote nationally yet win several seats. A party with wide appeal but not quite enough to win anywhere may score significantly more votes than this regionally-based party. In Australia, we see this effect with the Greens, who win typically 10–15% nationally, yet only hold one seat in the lower house of parliament. By contrast, the Nationals poll about a third of the votes the Greens win, and have 7 seats. The Australian system, even so, is not as unfair as the lower house systems in the US and UK, which use a first past the post system (FPP).

The Australian system requires that voters rank candidates in order of preference. If your first-preference candidate has the lowest number of votes in a first-round count where no one has over 50% of the vote, that candidate drops out, and your ballot is reallocated to your second-preference candidate, and this continues until one candidate has over 50% of the vote. The advantage of the Australian system is that it doesn’t “waste” the vote of someone who votes for a small party or an independent. The disadvantage is it’s complicated to understand and difficult to audit results in a close race. And it can still result in unfair outcomes, as I explain above with the skewed representation of the Nationals versus the Greens in Australia.

To illustrate the point, I constructed a scenario for a 400-seat parliament, with each seat (to keep things simple) contested by one each of a small left party, a bigger left party, a bigger right party, a small right party and an independent. I didn’t do the distribution of preferences accurately, but the results represent a plausible outcome:
systemsmall Lbig Lbig Rsmall RInd
PR801121244935
Australian 6276901414
FPP 15143392210





What we have is three very different outcomes (based on the way I chose to allocate votes geographically). In a PR election, the two left parties have 192 seats, enough to form a coalition if they can win over a bit over 20% of the independents. The right parties have 173, and need almost all the independents to form a ruling coalition. In the Australian system (based on plausible assumptions about preferences), the bigger left party has enough seats to rule in its own right. In the FPP system, the bigger right party has enough votes to rule in its own right.

Of these variations, arguably the PR outcome most accurately reflects voters’ intentions: they are reasonably evenly divided between left and right, with a slight preference for the left, but with a significant minority disenchanted with the parties, and who want an independent voice in government. In practice, in an FPP system, small parties lose because a bigger party tries to frighten voters of a smaller party of their side of politics into supporting them (think Ralph Nader’s Green votes being blamed for Al Gore losing in Florida), so an outcome like this FPP example is not too likely – but the stifling of the growth of smaller parties is bad for democracy.

How, then could you achieve the fairness of a PR system without the disconnect between voters and MPs resulting from a party-list system as in South Africa? There are various hybrid systems including the municipal election system in South Africa, where some candidates are elected from a party list, and others directly (on a first past the post district system). However that hybrid system still puts significant power in the hands of the party, and still has the risk that the party becomes a source of unaccountable patronage.

My proposal, which I call a second-chance election (2CV for second-chance vote, not the venerable Citroën car, illustrated), is to have two MPs per constituency. The first is elected on a first past the post basis, and the second on a party list system with the wrinkle that the party list is formed out of the candidates who ran and didn’t win in the first round, ranked within party by how well they did. If for example a party wins 70% of the vote in a constituency, 20% of their vote there is in effect wasted since they only need 50%+1 to win, and their second candidate should probably be in parliament. If on the other hand the first past the post candidate won with 30% in a highly split race, the second candidate from that party should end up a lot lower down the party list. The tricky part is working out exactly how to do the voting; I work through one approach here, and don’t prescribe it as the only option.

Going back to our example, if we only elect 200 MPs on a first past the post basis, assuming the votes split the same way as in the above example, on the first pass, the elected members will look as follows (with deficit indicating how many seats each party is short of its entitlement):

2CV stepssmall Lbig Lbig Rsmall RInd
FPP half87169115
deficit72105–3830
correction5986–3124
final72931694229
error vs. PR-13-1945-7-6









We can’t completely fix the deficit, because one party, the bigger right party (big R), already has more seats than it’s entitled to in a pure PR system, so it gets no more seats. The other parties’ deficits have to be scaled to a correction that adds up to 200 (each proportionate to the number of seats they are short of the PR total), so we get 400 MPs in total. The bottom row of the table shows the error versus a pure PR election (a minus value means a party has too few seats).

Compare the revised chart with the original. The 2CV system ranks the parties in the same order as PR, which is an improvement, though the result is not exactly the same. The two right parties can form a ruling coalition, which is not an exact reflection of the electorate’s intent, but the result is not as skewed as the FPP result, or as inaccurate as the Australian system, for this example. This is however a fairly extreme outcome, as it requires that one party be able to win nearly 85% of the seats in an FPP election, with only 31% of the national vote.

You could reduce the probability of an inaccurate outcome such as this by having more MPs per district, or by converting the entire election into a party list system after voting in districts. Working through such detail is a secondary concern once the principle is accepted.

Finally, two issues are worth considering: how independents are handled, and how switching parties is handled.

Independents may be of extremely diverse views but treating them collectively as a party list after voting in districts ensures that those with strong enough support are elected. If their support base is diverse, this will be reflected in a diverse independent “party list” being elected.

Since representatives are directly elected, unlike with a party list, they should have a right to switch parties, and this creates a clear division of accountability between the party (which can provide resources for re-election) and the voter (who may reject a candidate who abandons their principles or fails to deliver). In a pure party list, switching parties (or “crossing the floor” as it is described in South Africa, though that technically only applies to joining or abandoning the ruling party) is less defensible because representatives are not elected in their own right – though they can argue that their party has deviated from its principles or platform).

Where does this all take us?

What I have here is a basis for discussion. There are many details to work out. To create a direct line of accountability, if there are two representatives per district, that implies you have 2 votes. Do you have a different ballot for a different slate of candidates, or are all candidates on one ballot, that has to be marked twice? If a party exceeds its quota in the FPP stage, is there a good way to correct for this? For example, you could have an upper house that absorbs some of the excess MPs – though typically an upper house is elected on a different basis to provide some sort of checks and balances.

There has to be a better way: pure PR has served South Africa badly. The Australian system has too many imperfections to be a good alternative, and a pure FPP system is too unfair and locks out small parties. I don’t like a mixed-member PR and representative system like the South African municipal system (with variations in other countries like Germany and New Zealand) because it retains a party list as a component. The party role should end at nominating and supporting the candidate; if the party chooses badly, they deserve to lose.

Wednesday, 7 November 2012

The Real Significance of the Obama Win

As the 2012 election fades into history, let's take stock.

The Obama campaign made two major mistakes: failing to tout the president's successes in the early stage of the campaign when Romney wasn't advertising, instead focusing on defining Romney negatively, and failing to prepare adequately for the first debate. The first failure meant the second failure left the president with a very weak message: Romney is a flake, but I'm not very convincing in making that case. It also allowed the Republicans to run riot with defining him negatively. According to some of the propaganda, he's a fundamentalist Islamist Europe-loving Marxist. If you can believe all of that simultaneously, you have a very weird head. Or you're a tea party Republican. (Did I say "or"?)

That takes me to the real significance of the campaign.

Obama won despite these very significant mistakes in a year when the economy has been doing poorly. Had he defined himself positively, taking credit for health insurance reform (emphasizing it's essentially the same model as Romney's in Massachusetts), stopping the Bush-era slide, saving Detroit and putting an end to expensive and damaging foreign wars, he should have won easily. So why did Romney still contrive to lose? Part of if was an astonishing succession of mistakes, including:
  • having aligned himself with the tea party in the primaries, he compounded the mistake by choosing a running mate notable only for being the poster child of that side of politics (without e.g. the sort of state-wide profile that could deliver his home state... did Romney really think he needed to pander so comprehensively to one niche of voters who would never vote Obama?)
  • letting Clint Eastwood do an unscripted monologue at his nominating Convention, shifting the news coverage from the candidates
  • being caught on camera dissing 47% of the electorate (incorrectly claiming that non-taxpayers are all Obama supporters: retirees for example disproportionately vote Republican)
  • taking positions to win over the tea party, then reversing himself when those turned out to be unpopular, yet failing to repudiate in no uncertain terms weird views of Republican senate candidates on rape and abortion
  • an advertising campaign in Ohio that earned the ire of auto executives for inaccurately claiming that Jeep production was to be moved to China
  • a failure to offer a clear economic alternative: I'm a businessman and I know best is not exactly compelling
  • tying himself in a knot in the foreign policy debate over what was or wasn't said about the death of the ambassador in Libya
  • a chaotic attempt at converting a rally to a hurricane relief event
  • a last-minute dash to win over Pennsylvania, when the vote in Ohio, Virginia and Florida was much closer (the only rational explanation I can think of for this was an attempt at diverting Obama resources from tighter races, but it didn't work)
But the real issue is demographics. The Reagan winning coalition changed the Republican Party. It used to perform poorly in the South, yet no Democrat has won Texas since Carter's 1976 victory. Hubert Humphrey won Texas in 1968, the year of Nixon's first win: a hardly imaginable outcome today (see map: contrast it with the 2012 map at the top of the page). Reagan's combination of fundamentalist Christian "values", low taxes on the rich, spending wildly on the military and simultaneously pandering to plutocrats and the racist white poor can't win any more because it appeals to a dwindling constituency of ageing white males. CNN's exit polls show the demographic that splits most sharply Republican (61%) is whites aged 45 and above. As age drops, the skew narrows with 18-25-year-old white voters voting Republican 51%. CNN doesn't break out white males by age as category, but white males as a whole vote Republican 62% vs. white women 56%. Contrast this with other demographics: 93% African-Americans voted Democratic, as did over 70% of Hispanics and Asians.

Aside from demographics, there are other interesting breakdowns. Let's look at one, ideology:
  • liberal (25% of voters) voted Democrat overwhelmingly (86%)
  • moderates (41% of voters) voted Democrat by a significant margin (56%)
  • only 35% of voters identify as "conservative" and the Republicans win 82% of those
The last set of figures illustrates the Republican's dilemma. Having embraced the tea party, they are setting themselves up to be unattractive to all but 35% of the electorate. Conservatives may outnumber liberals, but the tea party brand of conservative is unattractive to anyone who thinks of themselves as "moderate".

As long as tea party activists retain their enthusiasm for voting in primaries that gives them a disproportionate say in choice of candidates, the Republicans will battle to nominate electable candidates. About the best they can do is find one who is willing to say different things to different audiences. And that worked, didn't it?

What about finding another Reagan, someone who can seem friendly, fun and caring, while promoting these positions that, objectively, most voters see as completely wacko? There's little chance of that. They've been trying since and not found anyone. And anyway, it's a hard act to follow. If you've done it once, the other side sees through it and attacks you on substance.

Finally, a word on polls. Various right-wing pollsters claimed that the mainstream polls were all wrong, and created their own. The narrative was that the polls were "skewed" so they "unskewed" them. This is all very reminiscent of attacks on climate science. Real-world data is noisy, and any proper analysis of it should eliminate sources of bias, like artificial warming in urban areas, and artifacts like moving the location of a weather station. Properly done, these measures produce reliable data. The anti-science position is it's all just data massaging, and they can do it just as well to produce the result they want. With electoral polling, we've seen how well that works. Good scientific analysis requires honest unbiased processing of data. That applies as much to polling as it does to climate science.

BONUS: Here's another view of the demographic time bomb facing the Republicans.