Thanks for surfing with a better browser. Please consider changing your web browser.
January 11, 2007

iPhone, language wars, browser wars, and platform wars

In the programming world, some parts of the Python community have been complaining about this new upstart, Ruby, luring developers away from the fold. Some parts of the Perl community have been thinking, "Ha ha, Pythonistas! See how you like a taste of your own medicine!" There's C++ vs. Java vs. C#. There's LISP vs. Haskel vs. whatever. But for years I've been saying "never mind the language wars, JavaScript already won." JavaScript quietly conquered the world by hitching a ride with web browsers. Whatever language is your favorite, javascript is the most widely deployed language in the world. Google Maps and Gmail drove that point home. AJAX hype followed. Mozilla gets credit for taking javascript seriously for probably the longest.

When Apple introduced Dashboard and Widgets, I thought they were wisely trying to lower the barrier for web developers to build applications specifically for OS X. As if noticing that they needed to make it easy for JavaScript developers to build stuff for MacOS. Microsoft followed suit with "Gadgets" in Vista. (Google offers widgets too.)

Just in case you weren't paying attention to the Stevenote, javascript just[1] made the leap to cell phones.

On a related note there have been browser wars for a long time now: you know, Internet Explorer vs. Firefox most recently, (which was Netscape before that, always Mozilla underneath). While those two have been fighting it out on the desktop, Safari just made the leap to cell phones. If Apple can deliver on the vision they've painted at Macworld, Safari just became a contender.

Apple also just lowered the barrier to cell phone application development because if you're a web developer, now you're also developing apps for phones just like Google and Yahoo. Not much extra effort required: how does your web app look in Safari?

Another thing to read between the lines: OS X now runs on at least three different processors: PowerPC, Intel, and whatever is inside the iPhone prototypes.

There's an OS wars hook in here too. Not just the cell phone OS wars: Palm vs. Symbian vs. Microsoft Smartphone OS vs. vs. Blackberry vs. embedded Linux. For years Windows fans have claimed that market share is why Windows suffers five orders of magnitude more viruses and malware than Mac OS. If Apple can deliver, the iPhone is going to take the smart phone market by storm. They'll quickly become the leader in that market just as they have with iPods. And that's Mac OS running in there. We might just get to see a real-world test: is the blight on Windows market share as Windows fans contend or is it sucky software as Mac fans contend? That debate has always been vacuous theory only -- how many angels can dance on the head of a pin? We may yet live to see an answer to the question about market share and virus proliferation.

Hat's off to Apple.

[1] Eric's standard Mac-bigotry disclaimer: Apple is never the first to market with some whizzbang technology (with the exception of the original personal computer). I know that Microsoft put IE on a smart phone and Javascript came along for the ride there. Apple is never the first. What they do is popularize technologies. Mice and graphical user interfaces, laser printers (and therefor the entire desktop publishing industry), build-in networking (AppleTalk was included with the original Mac in 1984), fashionable enclosures (e.g. the original iMacs), USB, Bluetooth, Rendezvous Bonjour (aka. Zeroconf), iPods. All of those technologies were not Apple innovations per se. But the broader market follows their lead when Apple bets on a given technology. Apple does reshape the market landscape on a pretty regular basis. They've just staked a claim on the smartphone market.

One more argument just for you, Jeff. Apple's move into the phone space could be an abuse of the power they now hold in the music player market. Just as Microsoft leverages their OS monopoly to wedge themselves in other markets, so is Apple leveraging their monopoly to conquer a new market. I'm keeping my eyes peeled for abuse of power on Apple's part too. But accuse me of suffering from the Steve-Jobs-reality-distortion-field if you like, the iPhone looks like a real improvement on anything I've seen in the way of PDAs, phones, or music players for that matter. Apple still looks like it will be a kinder, gentler monopolist than Microsoft, if indeed it develops the kind of market power the Microsoft has. But I will grant you that there is still time for the corruption of power to creep into Apple's corporate behavior as they command a larger share of these markets.

Posted 11:12 AM | Comments (0)
January 04, 2007

Fingerprints, FBI, Patriot Act, oh my!

Brandon Mayfield, an Oregon Lawyer, was arrested by the FBI in May 2004 and jailed for eleven(ish)[1] days as a material witness to the March 2004 bombings in Madrid, Spain. He was arrested because his fingerprints closely matched those found among evidence connected with the bombing. Had the case proceeded differently Mayfield could have been wrongly executed under Oregon law because his fingerprints were similar to those of a terrorist. Thankfully, that's not how it worked out.

I happily celebrate that the judicial branch of government corrected a mistake on the part of the executive branch. Mr. Mayfield was released, the FBI apologised, and a two-million dollar settlement was reached.

The case must also caution us against widespread adoption of biometric technology. Moreover we must remain vigilant in holding the government to account for its actions and guard against increasing the powers of government.

Annotated readings

Wikipedia - Brandon Mayfield I like Wikipedia's piece, especially for briefly clarifying his conversion to Islam. Without some context, a fearful FBI agent might suspect Mayfield for anti-American motives in his conversion to Islam. On the contrary, it's a romantic story, briefly told. Boy meets girl on a blind date. They fall in love and get married. He converts to her faith. (She's the daughter of his professor, and Egyptian.) I added a bunch of links to the article including some I annotate here.

Washington Post: The Achilles' Heel of Fingerprints Still a little too much use of fear in here, but this article seems especially relevant. Really worth reading in its entirety, but here's the bits most directly of interest to me:

Fingerprinting, unlike DNA evidence, currently lacks any valid statistical foundation. This is gravely troubling. Even if we assume the unproven hypothesis that each fingerprint is unique when examined at a certain level of detail, the important question is how often two people might have fingerprints sufficiently similar that a competent examiner could believe they came from the same person. This problem is accentuated when analyzing a partial print, as those recovered from crime scenes frequently are. How often might one part of someone's fingerprint strongly resemble part of someone else's print? No good data on this question exist.

The growing size of computer fingerprint databases makes this issue still more acute. As a database grows in size, the probability that a number of people will have strikingly similar prints also grows. Instead of ignoring the issue, forensic scientists need to investigate the frequencies of different ridge characteristics and develop difficult proficiency tests that examine the capability of fingerprint experts to accurately differentiate between superficially similar prints.

The FBI called the resemblance between Mayfield and Daoud's prints "remarkable." What is truly remarkable is that we simply do not know how often different people's prints may significantly resemble one another, or how good examiners are at distinguishing between such prints. DNA profiling provides what is called a "random match probability" : the odds that the DNA of someone picked at random would match the profile in question. With fingerprinting, we entirely lack the information to provide an equivalent statistic. Yet without this knowledge we cannot accurately evaluate the evidentiary value of a supposed fingerprint match.

Associated Press care of MSNBC: FBI apologizes to lawyer held in Madrid bombings This article is about Mayfield's release from jail. Like many of these news articles, there's a strong emphasis on Mayfield's faith, but I especially like the closing quote:

"The climate of fear of terror makes this a cautionary tale about the way in which that fear can ensnare an innocent person in the type of abuse to which Mr. Mayfield was subjected," [Steve Wax, Mayfield's public defender]

FBI's May 24, 2004 Statement on Brandon Mayfield Case Mayfield's release in the FBI's own words.

US District Court - Oregon: re Brandon Mayfield Mayfield's case in the US District Court's own words.

Jackson Hole News & Guide: Spence says $2M settlement underscores loss of freedom Spence represented Mayfield in the suit against the FBI. Judging by the quotes in this article, Spence is really paranoid about increasing government power. I cringed at the accusations of growing fascism and religious bigotry. Even so, I found myself agreeing with him once I'd mentally watered down his accusations to match my own level of anti-government cynicism. :-) I mainly object to his glaring use of fear to make his point. Increasing fear only strengthens the call for more draconian laws, investigation and enforcement.

Washington Post: U.S. Settles Suit Filed by Ore. Lawyer More fear, but an interesting read on a couple levels. It's definitely slanted strongly against the FBI. I see various places where particularly strong words are chosen which highlight grievances against the FBI. Probably worth a grain of salt. That said, the FBI definitely screwed up in this case and the traditional role of newspapers is to challenge the government to keep their powers in check. That's a role that has been long neglected and despite the slantedness, I'm happy to see journalists taking up this responsibility anew. Content-wise, there's interesting stuff in here about the FBI's investigation and about powers granted by the Patriot Act. I'm also happy to see efforts to formally challenge the Patriot Act and this article while slamming the FBI is definitely also taking aim at the Patriot Act.

It seems like I've read variations on the following quote in several places:

Justice Department spokeswoman Tasia Scolinos issued a statement ... that investigators "did not misuse any provisions of the USA Patriot Act."

That's exactly the point. If you ask the Patriot Act, the FBI's investigation was an appropriate use of government power. If you ask me, (and the US District Court in Oregon), the FBI's investigation and arrest was an abuse of power. How about we reconsider the powers granted by the Patriot Act in light of this event, hmmmm?

CNN: Lawyer wrongly arrested in bombings: 'We lived in 1984' Yet more fear. Interesting to read it in light of the Washington Post piece, just so you can get a flavor of differences in slant, or maybe differences in technique. This article also takes aim at the FBI and the Patriot Act, but this one is a lot less aggressive in its choice of words, while nevertheless being aggressive in the choice of quotes to include in the article. Same comments apply: grain of salt in order, though the press is right to take the FBI to task on this one. There's also a link to a video of Mayfield which I wasn't able to watch. Might be interesting.

New York Times: U.S. Will Pay $2 Million to Lawyer Wrongly Jailed Another take on the same fears. But there's another quote in here to which I will respond. Another defense of the Patriot Act...

Although the F.B.I. has acknowledged serious missteps in the case, an investigation by the Justice Department inspector general released this year concluded that the government did not misuse its expanded counterterrorism powers under the Patriot Act and that Mr. Mayfield's Muslim faith was not the reason he was initially investigated.

I am not at all comforted by the Justice Department inspector general. The Justice Department has direct interest in the expanded powers granted by the Patriot Act. The reason we have checks and balances in this country is because we have a deep rooted belief that power corrupts -- we therefore insist there be checks against government power. I'll be somewhat happier when the courts start weighing in on the Patriot Act, though that is still the government checking up on the government.

[1] The eleven days figure is hard to confirm. Wikipedia says two weeks as do several of the above reports. One of the Washington Post articles says "a few days" and the Spence article says "around eleven". Take your pick.

Posted 12:04 AM | Comments (0)