OK, OK, We Get It. Terry’s Brilliant. Enough!

The (A for Australian) ABC‘s current affairs show, “The 7:30 Report”, interviewed his mathjesty a couple of days ago, and
the video is now online (yay Auntie), as well as the transcript.
Yours truly makes a cameo at around the 4:15 mark, exposing our dark and violent past. Hi, mum! I’m on the telly. Do I really sound like that? Strewth!

Linux munchkins that want [1] to pull down the 18MB .wmv should do something like this:

mimms "mms://media3.abc.net.au/winlibrary/730report/200609/20060927-730-tao_16_9_bband.wmv"

[1] Why would they want to do that? I dunno. But then again, I don’t know the 12 year old nameless fangirl gushing over “meeting the smartest guy, practically, in the world… wow!”

P.S. I love Nautilus’ cute thumbnail, complete with sprocket holes. Yeah, every decent OS does it, but it’s still pretty sweet.

This Shiny Blue Arrow Walks Into a Bar…

Half a year ago, before its first stable release, the Deskbar shed its icon du jour, a shiny, blue arrow pointing into a bar thingamajig. Oddly enough, it appears to have re-surfaced as a proposal (in the blog post’s comments) for a new ‘save’ icon, given that the, uh, iconic floppy disk doesn’t reflect real life these days.

Gee that Onion Guy gets around.

The Drinks are Most Definitely on Him

Not content with ‘just’ a Fields Medal, it looks like my bro has just picked up a MacArthur Foundation Genius Grant. I’ve said it before, and I will say it again: nice one, brother!

Even more spectacular was that he made the front spot of the (online) Sydney Morning Herald on a day when the most popular story was about the perils of modern day medical procedures. It’s a poignant window into the Australian psyche…

Supersubsomething

It’s been a quite a few months where nothing happened with superswitcher (or actually anything at all from me on the OSS front), but my eleventy-half loyal users will be happy to know that it now has a subversion repository and issue/bug tracker, thanks to code.google.com. Already, a bug (Doesn’t work when Num-Lock is on) has been filed and the one-liner fix has been committed.

Ah baby steps, back on the path to world domination. Now to contemplate my massive deskbar to-do (or at least, to-look-at) backlog…

Amaīh!

Dusting off my archives of the last millenium, I came across the records of my old comrade and El-Presidente-in-Exile, “Big Sexy” Ryan M (not to be confused with “Sexual Life” Catherine M). This is his story.


That Guy! I Have Half His DNA!

My brother, Terry Tao (he’s the one stuffing his face; no, the other one; the other other one), has just been awarded a Fields Medal. Smart cookie, that kid. I tried to read his thesis once, and gave up around page 7. But really, his best achievement is fathering my favorite nephew, which got my folks off my back about getting married / having kids. For now.

Ladies, form an orderly queue…

Update (2006-09-12): Terry is also known as 陶哲軒. Theoretically, I am also known as 陶哲仁, but I don’t actually read or speak Chinese (I think my name loosely translates to something like Top Aussie Bloke). What this does mean is that there’s a bunch of blogs that mention my name and I don’t know what they’re saying. Creepy.

A Portrait of the Hacker as a Young Man

The Plug-ins, They Are A-Changing

One of the things about the 2.14 deskbar-applet release was that, although it supported third-party plug-ins, the GUI to manage them was all-but-nonexistant. Basically, whilst you could enable and disable installed plug-ins via the checkboxes in the preferences dialog, you couldn’t (a) find and install new plug-ins, and (b) update existing plugins through the GUI — both of which Firefox lets you do, for example. Instead, you had to download a file (or download and unpack a tarball) and copy that to a secret directory (~/.gnome2/deskbar-applet/handlers/) — i.e. one that you couldn’t find in nautilus.

In the last few months, Sebastian Pölsterl and the other deskbar hackers have worked on being able to install new plug-ins through a friendly GUI. The deskbar-applet-list mailing list discussion starts in April, continues in May and there’s also the PluginManager wiki page. Here’s the current state of play (no, this isn’t finalized, yes there are issues, which I’ll touch upon at the end of the tour). First off, there’s a new Check For Updates button on the list of installed plug-ins.

Clicking on that invokes the NewStuffManager a new (Python) program that communicates with deskbar-applet via D-Bus. To be precise, NewStuffManager provides the org.gnome.NewStuffManager service. NewStuffManager is not deskbar-applet specific, and could provide any app with update info. The app-specific part is another Python file, deskbar-applet’s spec is the only instance so far, and looks like this:

OPTIONS = {
"repo": "http://raphael.slinckx.net/deskbar/repository/deskbar-repository.xml",
"install-path": "~/.gnome2/deskbar-applet/handlers",
}

And note that it mentions http://raphael.slinckx.net/deskbar/repository/deskbar-repository.xml, which is the master list of plug-ins and their versions. The intention is that distros can customize this URL, if they choose to. An example snippet of that XML file looks like this:

<item>
<id>yahoo.py</id>
<name>Yahoo! Search</name>
<description>Search Yahoo! as you type</description>
<author>Deskbar Team <foo@bar.com></author>
<version>3.1.1</version>
<url>http://raphael.slinckx.net/deskbar/repository/yahoo.py</url>
</item>

NewStuffManager will note that there is a new version of the Yahoo handler, and the UI will show that it is updatable.

Clicking on Update will show a progress dialog box, and under the hood, download the newer yahoo.py from http://raphael.slinckx.net/deskbar/repository/, unpack the archive (if necessary), and copy those files to the right place in the file system: ~/.gnome2/deskbar-applet/handlers/. Note that this is the user’s installed plug-ins, not the globally-shared (and only-writable-by-root) plug-ins at /usr/lib/deskbar-applet/handlers.

The other thing to notice is the New Extensions tab. Switching to this tab will invoke NewStuffManager to check the master list for installable plug-ins. It looks like this:

Again, the Install button will download and install the plug-in. There really isn’t much difference between updating existing plug-ins and installing new ones, apart from that the user was (probably) aware of an existing plug-in beforehand, and updating an existing plug-in might involve an active existing plug-in.

That’s what it looks like. It is indeed easier to find and install plug-ins than before. And plug-ins rock, since they make users go, “I rock”. However, there are two very significant issues:

Security:
We will be downloading arbitrary Python files, which could be executed whenever the deskbar-applet initializes all of its plug-ins. This could be a major security hole. Personally, it’s not that I don’t trust Raphael or his web-site, or the third party websites that he chooses to endorse, but I don’t trust (the worst of) the internet. We don’t have digital signatures or other verification mechanisms implemented yet (and GNOME 2.16 is due only a few months from now). Auto-update (and auto–removal of obsolete files) is another issue that should be considered – whilst it is frustrating as a developer that users don’t manually upgrade to the latest and greatest, users should remain in control of their computers. Possible precedent / discussion point: Firefox auto-updates (IIRC).

Privacy:
This design means that http://raphael.slinckx.net/ (or whever the master list(s) get hosted) is pinged every time I look at the New Extensions tab. Possible precedent / discussion point: distros already provide updates, automatically, over the internet.

Clearly, dropping this feature onto millions of GNOME 2.16 users is not a decision to be taken lightly, and I think that to-date the discussion has been on too narrow a forum — the deskbar-applet-list (and the ephemeral IRC) rather than to the wider GNOME community, and I have procrastinated far too long on putting forth my thoughts on this matter. I’m just about to post to desktop-devel-list as soon as I publish this blog post. Join the discussion there, if anywhere.

Two final things – this is not a definite feature of GNOME 2.16 yet, this is a discussion of an unstable version, a work-in-progress. Because I’d hate to be misunderstood. 🙂

Secondly, Sebastian, Mikkel, Raphaël and others have already sunk a lot of time into this, and I’d hate to sound like I don’t appreciate their work, their enthusiasm, their contribution, and their intentions. I do. 🙂 And like Mikkel said: “I really think it’s a cool feature; I would just hate to botch it“.

I’ve Got a Fever…

Working Hard, and Hardly Blogging

It’s been… three months since I’ve blogged!? No, I’m not dead, just dying one day at a time, like the rest of us. Actually, I’m far from glum, just busy busy busy.

Truth is that I’ve been working. Earlier this year I joined Google as a software engineer (on Google Maps / Google Earth). A month or so ago we launched a wagonload of new stuff – you can even see a photo of me from Mike Pegg’s incredible Google Maps Mania blog about the developer day that we hosted, right before Where 2.0. Mike’s a cool guy, who maintains the busy site in his spare time. I’m also fourth from the left, back row at the Sydney Googlers photo, safely avoiding those giant novelty foam letters.

Yeah, Google is awesome to work for – there’s the oft-mentioned perks like the food, there’s plenty of interesting, smart, techy people who work and give talks here (y’know, things like the guy who invented Python answers your dumb posts to the internal Python-help mailing list), and you get to goof around for hours on Google Earth for Linux and call it work because you’re, uh, testing its cross-platforminess.

On the downside, they do work you hard, and especially hard leading up to launch, and addressing the inevitable teething problems afterwards. Which means I have hardly (haha! pun!) done any significant GNOMEy stuff for a long, long time :-(, and I missed what looked like a fantastic GUADEC. Oh, yeah, and then there’s real life stuff like moving house, and the sleep deprivation that was the World Cup. My compatriot Wes sums up the Australian tilt at the goblet (and ‘that penalty’) thusly: “Watching the Soccerroos lose to Italy was
like taking a girl out for posh, gourmet dinner, then drinks at a
quiet dark bar playing jazz, maybe a slow dance – whispering cute
witticisms in her ear; hushed giggles in response, a slow drive home,
and at the last minute, as you walk her to her door, she is shot in
the head by an Italian Sniper
.”

Deskbar sighting #1: Jorge Castro sneaks a peek at what will come in Deskbar 2.16.

Deskbar sighting #2: Mark Pilgrim switches from Mac to Linux, and soon afterwards adds his Bugzilla-searching Deskbar plugin (possibly based on Stewart Smith’s MySQL bug look-up plug-in??) to the GNOME Wiki. Hooray for Python applets in GNOME. No comment on Mono applets :-). Mark Pilgrim incidentally wrote the book that got me into Python. I went to the bookstore a few years ago, and saw a whole bunch of books on Perl, but not many Python books. My hypothesis is that potential Python book authors just give up in the face that Dive Into Python is both awesome and free to download (although the paperback is still nice to have), albeit written by a wacko who adds raisins to his fruit salads.

Deskbar sighting #3: Jokosher hacker Stuart Langridge took the PyGTK API plug-in and uses it to look up GStreamer API docs.