Clutter animations talk

Here are the slides, code and the transcription of my Clutter animation talk. This is the latest version that I gave earlier today at OSCON, based off of the version I gave at GCDS. Hopefully people will find it of use (note, presentation in OpenOffice format, transcription in plain ASCII text, code in tarballs inside the zip).

]]>

OSCON ’09 Talk

In case anyone’s at OSCON and, miraculously, follows my blog (likely via aggregation) but doesn’t follow my twitter and hasn’t already heard it from other more popular blogs, I’m reiterating my GCDS talk about animations using Clutter here at OSCON tomorrow at 10:45, Meeting Room C2. I’ll also be doing a chalk talk at the Intel booth, 1:30pm, on the work that went/goes into building the Moblin Web Browser (so if you want to check if your pet complaint(s) from the beta have been fixed (they have), please drop by!)

Note that I’ve beefed up the talk a little bit since GCDS and added a couple of new demos, some more slides and generally more detail. I under-ran pretty spectacularly at GCDS and I don’t think it’d be prudent to rely on having as many questions as there were there, so hopefully I’ll gauge time a bit better this time around! I hope to see you there 🙂

And the slides/code will be online soon, honest!

]]>

GCDS 2009 Query

Dear lazyweb, why is there no iCal for the schedule? Or Google Calendar? Or at least a PDF booklet, or something? I guess this is something I could do myself, but I’m busy/lazy and I figure that someone must have done this already, right? Like previous Guadecs?

]]>

Mozilla is actually pretty good guys!

I’ve not blogged in a while, but now we’ve released, I figure it’s time to break radio silence. Since we were assimi^Wacquired, I’ve been hard at work on browser bits. I’ve already blogged about the headless Mozilla back-end and accompanying Clutter library; since then we’ve created a Mozilla services daemon and we’ve made the source code for the browser public.

I’ve been meaning to blog for a while about Mozilla, and the current trend of abandoning it in favour of WebKit. I’m not against WebKit and there are definitely advantages it has over Mozilla in certain situations, but I’d like to highlight some of the great things in Mozilla and why I think we ought to reassess the whole webkit move.

Comparing Mozilla and WebKit is quite a difficult task. They’re extremely different. Yes, you can use both to render web pages, but WebKit won’t do much more and it’s the least that Mozilla can do. This difference affects things at pretty much every level; their structure, their API, their coding styles, their build systems, everything. I’d also say that, in the long run and given its current maturity, this is a huge advantage for Mozilla. Want a download manager? Just use the built in Mozilla download manager. Want to override it? Sure, that’s fine, just implement the interface and register it at run-time. This is the same for pretty much any component you can think of that may be required for anything web-related. Use WebKit and you’ll have to implement all of these things from scratch, there’s no fallback option (generally). On the other hand, the WebKit API to implement these things will probably be a bit nicer. Swings and round-abouts.

And that whole run-time overriding thing? Very cool. Pretty much everything in Mozilla has an interface definition and is accessible and overridable via XPCOM. At runtime. Anything that uses Mozilla has a powerful and accessible extension mechanism, something that I don’t believe WebKit can boast. Not only does it have this mechanism, but there’s already a huge community of talented developers that are well versed in it.

The last advantage (that I’ll mention) that I think Mozilla has over WebKit is a slightly political one; From my experience (and this is purely anecdotal, I don’t mean to offend anyone), the Mozilla developer community is a lot more open and a lot more willing to take risks. I think their extensible architecture helps this, but it does seem to be a prevailing mindset amongst Mozilla developers. They really want to see Mozilla succeed in every way, and to encourage its development in all directions. Obviously, I’m sure the powers that be also want to see WebKit succeed, but it’s not the innocent, wide-eyed enthusiasm that I’d like to think embodies Mozilla developer spirit. The fact that I’ve been given a repository hosted upstream at Mozilla.org for our headless backend says something, and the amount of support and encouragement I’ve received from Mozilla developers has been nothing short of astounding.

So why exactly did we (Gnome) abandon Mozilla? Maybe people thought that contributions to the gtk embedding API (which has some annoying bugs and an API that could really use some love) wouldn’t be accepted? From my experience, I think this would be highly unlikely. Why exactly are we creating an entirely new backend and API for a new rendering engine (an API that bears an eery resemblance to gtkmozembed anyway, in a lot of places) when we have a perfectly capable, and in fact more than capable platform, funded by a foundation and accepting of contributions? There are a lot of problems with Mozilla. I do wish they used autotools, for example, and I’ve often run across a bug in my code that’s down to me not having some obscure and highly undiscoverable knowledge… But these problems can be fixed… And are becoming fewer… So what’s the deal?

]]>