Archive for the ‘Linux’ Category

MeeGo: Quick thoughts on the Moblin and Maemo marriage

I’ve been excited with the Maemo platform for a few years now. I after all, had the Nokia N770, their first tablet that had Maemo on it. But as soon as they released the N800, things weren’t backward compatible, and due to frustration I gave up on the platform (the devices themselves were very difficult to find). All this changed sometime in January when I walked into the Maemo Lounge of the Nokia Store in London – the Nokia N900 was impressive. But it wasn’t for sale internationally.

Last week, I found out that Nokia will sell the device in Malaysia, Singapore and probably many other regions. I also had the opportunity to use the device for a couple of hours, and while I had a bunch of suggestions, I did like it. Maemo 5 is a clear win, and there’s going to be a lot more work to make Maemo 6 rock even harder. Simply put: the N770 was relegated to sitting by my bedside table after a while, but the N900 is something I would definitely carry in my pocket.

But that’s not the big news of the day. MoSync currently supports writing mobile software, that runs on Java ME, Symbian S60, Windows Mobile and Moblin platforms. If you notice, the coming soon is clearly: Android (I’m told it will appear real soon now), iPhone (a lot more difficult than you think), and Maemo. After playing with a Maemo 5 capable device last week, I was almost certain that this is a good future platform to bet on – I know, today it seems all the cool apps only run on the iPhone and the Android, with maybe the BlackBerry thrown is an afterthought, but I think Maemo will help Nokia rebuild/rebrand itself.

What better news, than to see Jim Zemlin announce to the world, that Intel’s Moblin and Nokia’s Maemo projects are being embraced by the Linux Foundation, to create a new “uber-platform”, called MeeGo?

Now, to crystallise some quick thoughts on this:

  1. When the N770 came out (and subsequently the N800, and the N810 – both devices I did not purchase), I would ask – where was the GSM chip? You create a fancy tablet, but you leave out the GSM chip. If I wanted to do voice, I’d have to use Gizmo Project (now Gizmo5, which has since been acquired by Google). Skype came later, only to the more modern devices. So, while the N900 is welcome, its been about 4 years since the first tablet was launched – what took Nokia so long to pop a GSM chip in?
  2. The promise of Linux on the phone has been met – Google unleashed Android to the world. From the G1, to the Nexus One, and the market of folk building against their devices, like HTC, Motorola, etc. And people have been happy with it – look at the endorsement Linus Torvalds, creator of the Linux kernel, gives to the Nexus One. A part of me asks – is this too little too late from Nokia?
  3. Moblin didn’t quite excite me, and I never took a look at the platform till I became involved in MoSync. But I can see where Nokia is headed – they are providing stuff in the “one connected device” mantra, and the N900 is their first take with truly mobile computing.
  4. From a developer’s perspective, you better be brushing up on your C++. Its quite clear that this will largely be driven by Qt. I forsee heavy investment in rich-applications provided by the Web Runtime widgets (WRT). You will also be able to build applications cross-platform (no need for a Microsoft Windows-based host, to create Symbian applications for example), and you’ll probably be creating some sort of cross-compiling development environment (Maemo has largely been ARM, Moblin is largely X86) to get apps going.
  5. MeeGo while it has been announced, is not completely concrete yet. You can see that there are no prepared downloads, but you can whet your appetite on their architecture documentation (note: GTK/Clutter left behind just for application compatibility – I’ve been away from the Maemo community for a while, but from what I gather, Qt has become the hype du jour these days), some information on Qt Creator (which runs on Windows, OS X, and Linux), and a quick introduction to creating your first MeeGo application.
  6. If you want to follow further resources, check out Quim Gil’s blog, as well as Ari Jaaksi’s blog. It probably wouldn’t hurt following Planet Maemo either.
  7. If Intel, Nokia, and the Linux Foundation get their act together, and gather buy-in to create all the cross-devices, it can be really useful for application developers – its going to get more reach. I don’t see why we won’t see an iPad competitor anytime soon, for example. Imagine running the Bloomberg application on your television, on demand. The possibilities are endless as we get more connected.
  8. Currently, while no devices support MeeGo, I expect the Maemo 6 platform to be MeeGo compatible. Will Nokia update the Maemo 5 software on the N900 for free? I hope this is true – otherwise the N900 owners aren’t going to be too happy, that they’ve got an outdated phone on their hands. Keep in perspective the leap from N770 to N800, and the OS differences (being bitten once, I’ll be just this more cautious the next time around).
  9. From a MoSync perspective, it looks that we may already support the new MeeGo platform to some extent. Once more developer SDKs come out, we’ll be able to update the community on this. And as a developer, supporting Moblin/Maemo (MeeGo), and other platforms, can be a real win for your application.

All I can say is: exciting times ahead. I’m glad to see Nokia isn’t just supporting Symbian based devices any longer, and are moving with the times. There’s an uphill battle to build interest amongst the developer community to be developing against their platforms – only a lot of evangelism and love is going to make this happen. Today’s web services completely ignore S60, but maybe they’ll jump on Maemo or MeeGo. And maybe we at MoSync can help them too (I bet once we get Android + iPhone support, it will look a lot more compelling).

Rekindling my love for the Sony Reader PRS-505

I wrote this before the Apple iPad announcement, so no thoughts on that yet, in this post. At the top of my head though, I’m still keeping my PRS-505, and not getting the iPad.

In May 2008, I picked up a Sony Reader PRS-505. Its an e-book reader, and in the day, was definitely the flagship device from Sony, for electronic books and PDF reading. Today, Sony still sells this, and they also have models with a touchscreen, as well as a mini-version of this (a pocket reader?). I used the device on-and-off, mostly to read PDFs, but of late, I decided to read full-length books on it, and the quick verdict is a simple win!

A bit about the device. It can be charged over USB (I did not opt to buy the AC charger), and uses a standard USB cable. It has a built-in rechargeable battery, and you’re meant to go for about 7,500 page turns. It does audio playback (which I never use), and it can read SD/MMC, as well as Memory Stick cards (again, I don’t use these options). It has over 128MB of storage available for you to store e-books, which seems plenty (failing which, the external storage options can be utilised). It looks like a book – comes encased in a soft leather cover. To turn pages, there are two sets of buttons, so I can read with one hand, or two.

It also is based on opensource software. It runs MontaVista Linux, and Sony distribute all the GNU based software on the web (mixes of GPL/LGPL software being used). More importantly, I can sync e-books via my Linux or Mac OS X boxes – I’ve never actually used Windows for this task. I can successfully import and export books to the Reader, using calibre.

So, why a Sony Reader rather than an Amazon Kindle? Simply, it boils down to availability. I don’t live in the United States, and Amazon tells me I can’t get myself a Kindle. I’d love one – the ability to buy a few books at 3am, to peruse on a topic I’m interested in? That sort of thing is priceless. I don’t even care about the DRM that they impose, the fact that they can come in and delete my purchases. Its the convenience that matters (beats going down to Borders the next day, finding I might have to wait for a title, etc.).

That aside, I also do not buy books that have been inflicted with DRM, from Sony. I’ve been burned once before – when the Palm Pilot’s were the craze around ~1998, I did buy a few titles. Last I checked, I can’t access them anymore, and for the life of me, I don’t own a Palm device capable of reading that stuff.

What do I read? PDF’s, mostly. Of books, of course. Today, O’Reilly’s Safari Bookshelf is really useful. For about 10 tokens, I usually can download a whole book. I’ve been doing this from time to time over the years, and now, instead of reading them on my workstation, I read them on the Sony Reader. Apress isn’t far behind, as most of their books have PDF versions to boot. So my technical reading material is covered.

calibre also allows me to read bundles of Newsweek, The Economist, and the like. I used to use this, but I tend to visit a library once a week once, at least, and end up reading the dead tree copies that are there. Reading fiction and non-fiction is admittedly harder – author/publisher buy-in is very sparse, and I’m sure I’ll have better luck with the Kindle here.

What don’t I like about the device? There’s no backlight. I’d like to read in the dark sometimes, and having lighting is inconvenient, so it would be great if it were backlit. While I can bookmark pages, I cannot highlight text, or even write notes about what I’m reading, inside the Sony Reader. In contrast, if I use the iPhone/iPod Touch to read a book, I get a nice backlight, and I can copy text out, as well as make notes in the notepad. Of course, I don’t get 7,500 page turns on such a device, but if I can squeeze about 20 hours of reading off any device, I’d be pretty happy (think: long flight).

Text from PDFs can be a bit too small. They don’t seem to use up all of the available space, which is truly annoying. Zoom options are available, but there are only two supported sizes: S or M. M makes for easier reading, but I wish it took up more of the device. I’d rather have more page turns, than bad eyes over the years!

Currently on the device (I purged everything from before, just becausedisclosure: most links below go to amazon.com and are part of their affiliate programme):

Two of the above are author released PDFs, while one is from O’Reilly’s Safari Bookshelf and the other an outright purchase from Apress.

Would I recommend one? Sure. If you like reading, have a tonne of PDF’s in ~/Downloads, its about time you got yourself a Sony Reader. Would I recommend one if you already have an iPhone/iPod Touch? Sure (I have an iPod Touch, too!). I think they’re two different devices, and its not time to converge them just yet (maybe, if the iPod Touch had a bigger screen).

Do you have an e-book reader? Where are you getting your fix of content?

KDE 4.2 brings the MySQL server to the desktop

If you’re using Fedora 10, and are a KDE desktop user, you’ll notice that your latest KDE 4.2 update, requires having a local MySQL server installed. This is due to Akonadi, part of the KDE PIM packages, that now rely on MySQL as a default server, for storing PIM data. Just a few months ago, I mentioned the news that Amarok 2 will also use MySQL as a default database.

Akonadi uses MySQL mainly as a cache, not as a data store. This is something that Debian users will also see. Eventually, anyone with KDE 4.2 will see the requirement to have a MySQL server installed. If you already have a native installation of MySQL provided for by your distribution (maintained by RPM/DPKG), it naturally won’t be installing another copy – it just uses the system-wide version.

Not everyone is happy. Especially those that use netbooks, with limited disk space. Reading Reducing the MySQL 5.1.30 disk footprint by Ronald Bradford might help in that respect – there are ways to reduce up to 25% of the space.

However, from a MySQL perspective, and as a member of the Sun Database Group, I am happy to see the ubiquity of MySQL, on the Linux desktop.

For the technical folk amongst you, its worth looking at the akonadi spec file:

BuildRequires: mysql-devel
BuildRequires: mysql-server
..
# when/if akonadi grows support for other backends, consider splitting
# these similar to how phonon is done currently.
Requires: qt4-mysql
# not *strictly* required, but we need a functional default configuration
Requires(hint): mysql-server
..
%{summary}.
Requires an available instance of mysql server at runtime.
Akonadi can spawn a per-user one automatically if the mysql-server
package is installed on the machine.
See also: %{_sysconfdir}/akonadi/mysql-global.conf

DRBD Management Console

Wow, check out what just came out from Linbit: The DRBD Management Console. Written in Java (so it runs anywhere), completely open source (GPLv3), and allows you to manage DRBD and Heartbeat based clusters. You can install, configure, see your systems graphically, and a lot more. I’m interested to try the beta out, as soon as I get back to my lab (sitting in the airport now). If you know how to use DRBD/Heartbeat, and use it in production for your MySQL setup, it might be a good application to test out, and improve if need be.

From the screenshots, I’m surprised this isn’t a value added extra that Linbit would like to charge for. Kudos, Linbit, for keeping it GPLv3!

Notes from the Open Mobile Exchange

I was at part of the Open Mobile Exchange at OSCON today, so here are a few scraps of notes that I found interesting (from various speakers).

While we do live in the shadow of the iPhone now, this is going to change.

Every person in the modern world uses Linux multiple times EVERY DAY (even if you don’t know it). Linux is everywhere.

The AppStore is something that’s making the iPhone rock. The reason Windows is so popular, is because there are so many applications. This is changing in the open mobile world: think Android, for example.

There are 3.3 billion mobile phones (more than PCs, cars, telephones, credit cards, and TV even).

When Apple sends a million phones in the weekend, its a drop in the ocean when Nokia sells a million phones a day! The iPhone is about usage (German iPhone users use 30 times more data; Google notices 50 times the number of searches from iPhone usage)

  • User Interface – Vimeo has a video, “OpenMoko train wreck” which compares to why its a FAIL versus the iPhone
  • Access to Device Characteristics (camera, location, accelerometer, network, security, privacy) – today you really don’t get access to this, this needs to happen, really!
  • Standards
  • Performance – Firefox 3 for example, is very performance oriented. Remember, we’ve become bandwidth gluttons (webpage size has tripled since 2003… 22 times since 1995!). We’ve all been spoiled by having high broadband connection… look at Yahoo!’s 14 Performance Rules (34 today).

There are numerous mobile web browsers, and so little documentation about them today.

Leveraging Mobile Open Source for New Wireless Apps and Services
Stefano Maffulli, Funambol Community Manager
(instead of Hal Steger)

  • Push email, PIM synchronisation
  • Younger generations are using more than just voice, in mobile – its SMS, data, chat
  • Nokia Ovi (http://www.ovi.com/) – Nokia is using this to monetise user generated content

Average American gets 3,000 visual stimulus messages per day. That’s a lot of advertising!

Migrating Firefox/Thunderbird from Linux to OS X

Today, I completed my migration of my personal machine to one that runs OS X. For those not following Twitter, I picked up a MacBook Air last week, and have slowly been moving my stuff off from the Dell. The Dell can now serve as a full development machine, and I can start running “unstable” Linuxes on it now (“unstable” like Rawhide).

But I digress. This is about how I moved Thunderbird and Firefox over to my new box.

Thunderbird:
Copy ~/.thunderbird over, and place it in ~/Library/Thunderbird on OS X. Only problem I found was with the Lightning plugin, which managed to grab itself an update, and all was dandy.

Firefox:
Copy ~/.mozilla/firefox over, and place it in ~/Library/Application Support/Firefox. All the plugins I had, just ran fine.

Only snag? I couldn’t find a copy of Firefox 2 online. Good thing I had a copy on another Mac… Why did I need Firefox 2? Google Browser Sync. Though I suspect that in the very near future, I’ll move over to Mozilla Weave, and get all my systems up to speed with Firefox 3.

Next up, lets see how long I run OS X on the Air… or do I replace it with Linux if it annoys me significantly enough?


i