Day: July 1, 2004

  • Dive Into Series 60 Python

    For the past month or two, I have been tinkering with Python for Series 60. I regret that I have not had enough time to pound on it, but what I have played with has been awesome. I can parse HTML, like an adaptation from this page of Dive Into Python. When things like from sgmllib import SGMLParser just work, I’m amazed. Hey, check that out, I’m parsing HTML on my phone. Rock!

    Series 60 Python is still a research project at Nokia. There are no guarantees that it will ever see the light of day beyond limited testing. There’s only one problem: sockets. It always comes back to sockets. Don’t get me wrong, sockets are available in Series 60 Python, but you can’t do something like urllib.urlopen(url). That little thing is keeping a lot of people from doing useful things with Series 60 Python. Part of the reason that so many people use and love Python is because it’s sort of runnable pseudocode. It’s intuitive, it makes sense, and the syntax that you think ought to work often does. Once writing a Python app for a platform becomes much harder than that, you start loosing developers quickly. So many killer mobile apps that would be awesome to code in Python involve the following steps:

    1. Grab a specific resource (XML, HTML, etc)
    2. parse the resource and do something with the data
    3. interpret and present the data to the user

    If the first step is overly complicated, or doesn’t work as Python programmers expect it to, you’re going to loose a lot of potential developers quickly. There’s a bit of a catch 22 though: Nokia needs to be sure that Python for Series 60 is a worthwhile project, so they’ve seeded it to developers. However the developers are frustraed because they can’t just type urllib.urlopen(url). Which came first, the useful apps taking full advantage of a connected mobile platform, or the infrastructure to do so?

    It is obvious that Nokia has put a lot of time and effort in to Series 60 Python. There’s a lot beyond your standard Python distro buried in there. It would be an absolute tragedy to see this die half-ripened on the vine. Hey Nokia: you’ve done a great job so far, keep it up! Hey developers and bloggers: make some noise! Play with it. Have fun. Post your thoughts. Let them know what you think.

    Further Reading:

  • Multiplatform Rendezvous: Big News

    Apple opened the Rendezvous floodgates yesterday with new multiplatform Rendezvous releases. Most notable was the technology preview of Rendezvous for Windows XP/2000. It ships with Howl-like IE integration (Russ wants a Firefox plugin), but more important are the hooks. The platform ships with .dlls so that developers can bring on the apps with Rendezvous/Zeroconf integration. The package also ships with .jars so that Java developers can have access.

    This really is big news. Now we Windows users can become full-fledged citizens of the Rendezvous world.