Tuesday, June 24, 2008

wtf?

I really don't know how to comment on this. If anyone out there isn't surprised, please raise your hand, so that I can point my finger at you and call you a liar.

Of course, promises are cheap, and "open" is a word that's almost completely empty in the corporate world, but the massive restructuring of the Symbian platform is radical enough.

It's comforting to know that the mobile blogosphere will give me answers to all the questions that this announcement raises within the next couple of days. So what are they going to say? "Facing ever sterner competition from Windows Mobile, Google's Android and Apple's iPhone, the key players in the Symbian ecosystem decided to take action, to lead to market to bla-bla"? Yes, probably. "Symbian finally succumbed to Nokia"? Yes, probably. "So how are they planning to make a profit?" Definitely.

Oh well, if this works out, it will have various interesting consequences. UIQ and MOAP will disappear (the useful parts that don't have counterparts in S60 will be assimilated, like a proven to be working outside the lab touch support). The mess that is Symbian will clash with the open source community, both technically and politically, and the Symbian Foundation will be the 666th company that come to learn that open source isn't about getting people to get engineers to work for you without paying them.

Can't be bothered to write anything more about this right now, but thanks to Nokia et al for an interesting press release, which I hope isn't a belated April fools joke.

Wednesday, April 23, 2008

Land of the free and all that

I'm in the USA right now, so it's kind of fitting that I just had one of those "wtf usa" blog experiences. Check this one out. I just love the "oh dude steve jobs just invented the cellphone lol" attitude in this one. You're saying there's a company in Europe (that country across the eastern ocean where there be nazis) that already had a webkit based browser on their phones? You're saying Japan (here be ninjas) are 5 years ahead of us? No way, we have bigger cars! And burgers!

Executive summary: iPhone killed Mowser!

Wednesday, April 9, 2008

More insights into the zen of programming

As a programmer (or "software developer", as it says on the business card) you're always impressed by cool quotes. It might not be the 90s anymore, but the really cool quotes still come from Linux kernel developers. Check this one out. In case you're too lazy to click the link, here's the important line: "inline is the register keyword for the 21st century".

I haven't researched this, but if Rusty Russell says so, I'm inclined to believe it. Basically, the compiler knows more about register allocation than you do, and these days, it also knows more about inlining than you do. The "inline" keyword has always made me feel a bit uneasy, and these days, it's next to impossible to keep track of how inlining affects performance. But we have powerful AI engines that take care of worrying about that kind of stuff, and they're called compilers.

Both you and me know that compilers don't know everything. In extreme circumstances it pays off to read a disassembly (from one particular target platform) of the code it produces, but we should all know better than to optimize without using tools to measure the improvements. Profilers have been around forever. The message is: don't inline without profiling with and without the inline keyword. Don't turn functions that you think are used a lot into messy macros. Use your head, and let the tools take care of the things that your head can't cope with. One of the things that your head can't cope with is writing C code that the compiler can turn into good stuff on an almost infinite range of target architectures.

I can't believe I just said that. But this isn't the 80s anymore.

Thursday, April 3, 2008

N-Gage goes live

If you're lucky to have one of the supported devices, go ahead and check it out. I tried to install the N95 package (unpacked just like the first access method, of course, as they used the same sort of "protection" again) on my N93, but couldn't start it. However, it might work if I remove the first access package first. We'll see, right now I feel more like going to bed.

It's interesting to note that the N-Gage team keep mocking the poor 3rd party developers by using an excessive set of capabilities for something as simple as the installer application. Alienating 3rd party developers seems to be very popular in the Symbian camp these days. And "security" is obviously just a buzzword to them.

Tuesday, April 1, 2008

N810 wimax

Suddenly it's all starting to make sense: the big, ugly N700/N800/N810 with their limited connectivity and all. Suddenly it's not just a testbed for a crummy UI platform in a crummy device over at the Nokia factories, now it's starting to look useful for real. With wimax, it's no longer just a surfboard, the line between surfboard and phone is blurring.

More amazing analysis of the smartphone market

Too bad you have to pay to read all these studies from analysts, because the news items that they result in are almost always to vague to really say anything. Read this one. This one says that Linux has 15% of the smartphone market, with Symbian at 50% and Windows Mobile at 18%. I don't even know what they mean by "smartphone", but that's beside the point, because I see no way to count that'd give you those result. I know Gartner doesn't count S60 phones as smartphones, which means Windows Mobile gets a much larger market share than in other places. But with that sort of criteria (I think they require qwerty or touchscreens or something), how many Linux smartphones are there? The Japanese ones maybe. Anyway, this just doesn't reflect reality, unless you define "reality" as "what's reported by some analyst".

Now, with those figures in mind (Linux at 15% and Windows Mobile at 18%), doesn't it sound a bit weird when it says, later in the article, that they think "that it [Linux] will emerge as a worthy competitor to market leaders Symbian and Windows Mobile"? I'm starting to think that "15 percent" is a typo.

I also have no clue what they mean when they say that "
Motorola's recent troubles in the handset market have coincided with its increasing emphasis on Linux over Symbian". When has Symbian ever been an important platform to Motorola? They released a few Symbian phones back in 2003-2004 (A920, A925 and A1000). Then they took a break for a few years, and have now released a few new ones (Z8, Z10). Could someone please explain to me what they're talking about?

An advantage for Linux, says the report's author, is "
the waning interest in Symbian's monopoly", which I've never heard mentioned before. Symbian has about 70% of the smartphone market (using more conventional definitions of "smartphone"), but I've never heard anyone complain about that. That's still just 7 or so percent of the total phone market. But sure, this is an analyst speaking, not a simple developer like me. I agree with the report that Linux will probably grow a lot in the phone market, and that Symbian will lose in the long run, but apart from that, I have a hard time finding anything else to agree on. To me it just sounds like a manifestation of incompetence.

This reads like a report that was ordered by some commercial Linux distributor. I don't see why any regular Linux developer would be interested, as all the Linux phones so far have been closed devices. People who are into developing for Linux tend to like the open nature of the system. If you lock it down, and don't even give developers access to native API:s (Android), there's no difference between developing for Linux than for any other platform. I'd love to have an open Linux phone, like the new OpenMoko one (but preferably not as big, clunky and ugly), because then I might actually consider writing code for it if I got the idea for some cool app. But having a closed Linux phone is of absolutely no use to me. As it is now, Windows Mobile and even the security locked-down Symbian are more open platforms for mobile phones than Linux is.

Friday, March 28, 2008

Security is all the rage these days...

...and people just love to talk about it, although they don't have a single clue.

I recommend you read this article (and the comments) over at All About Symbian. The article is written by a guy who has no knowledge about computer security, but has made it his life's mission to claim that Symbian OS is secure, as in completely unbreakable. Not that he actually has any knowledge to back it up. He just assumes that as there's a security system and there hasn't been any dangerous malware in the wild yet, it's secure (whatever that would mean, in an absolute sense, in a system that just oozes with connectivity and consists of millions of lines of code). Because Symbian told him so, and they should know, I guess.

Now, the case is complicated a bit by the fact that it has recently been proven that S60 phones can be hacked. It's not a case of dangerous malware. It's another aspect of Symbian that has been hacked. But apparently, if you have to be an "uber-geek" (have a look in the mirror sometime!) to hack your own phone, it's not a real breach of security. And well, it seems that if a vulnerability in a security system is discovered by an amateur, it's not a real problem.

This guy's been doing this for a long time, because he's a fan, just like the Michael Jackson fans who know that Michael Jackson would never do anything improper with a child, because he writes such wonderful songs (oh, and he's a married man). Now and then I've been thinking of putting on my black hat and come up with something nasty, just to shut him up. But you know, he's just some uber-geek in Britain, so why would I care?

The sad truth is probably that the only reason why no real hacker has bothered to hack Symbian yet, is that it's such an incredibly unsexy platform to work with. That's its most important security feature. The iPhone's webkit based browser was easily hacked, so no one should be surprised if that could be used as an entrance to S60 phones as well. And while the browser doesn't have a full set of capabilities, everyone in the know should know where to start looking for local exploits to escalate their privileges. I'm not telling anyone to do this, but it would be a bit fun if someone did it, just to see what mr. Litchfield would have to say about it. I guess in his view, it wouldn't be a real problem if it didn't empty his bank account, and if it did, I guess it would be the bank's fault, rather than Symbian's.

And the stuff that some people write in the comments... Isn't it damn easy to have strong opinions about things that you're clueless about?

Rant mode turned off for now.