husk.org. a website by Paul Mison.

2008-05-11

Photoshop Express and Flickr

vox 08:31:46

When Adobe first launched Photoshop Express (from hereon in, PX) a month and a half or so ago, it featured integration with three online sites: Facebook, Photobucket, and Picasa. Unfortunately, I don't use any of those for photos. So when I saw that there was an update to add Flickr support, I dug out my old registration - the one that required me to claim I was living in the US, sigh - and had a very quick look.

Flickr appears under the "Other Sites" heading on the left nav - or is it a palette? - of the main window. Clicking the "Flickr" item asks you to authenticate, although somewhat oddly it uses desktop-style auth, so instead of using a nice redirect, PX instead uses a pop up window, which was naturally blocked. It also means you manually have to click about three more buttons than you would with web based auth. Perhaps this is explained by the amount of client-side code, but it still jarred for me. I expect users who don't have to wrangle API auth code would probably cope, though.

Once logged in, Px starts fetching images from Flickr. This is done pretty nicely- pulling each image is slow, so it will carry on if you're not doing anything else, and present the images it's already found for you. Images are sorted by date taken, which is odd if you're used to Flickr's photostream order, which is by date uploaded. (Dates are, naturally, in American format, which annoys me no end, but let's try and ignore that for now.) However, for me it stopped after just over 550 images, which is only about a tenth of the total. I'm not sure why, or how to get it to look for the rest.

Once the images are listed in the Flickr album, they're editable just like any other image available to PX. The tools aren't as sophisticated as those in the main desktop version of Photoshop, Photoshop Elements, or even iPhoto: there's no "levels" tool, and minimal highlight and shadow controls, for example. However, the white balance editor is pretty good, and there's a "Pop Color" effect for those images where you want a red London bus in a monochrome city. Beyond desktop apps, I'd also say that it compares fairly shabbily to Picnik, which is also web-based, but manages a much richer set of tools. Handily, Picnik's integrated into Flickr, making it even more likely to be used.

After editing my image, I wondered where the "save" dialog was, and where I'd get to choose whether the original image was replaced, or who'd get permissions on the new image. It turns out that this is all done automatically. An edited image gets uploaded as a new photo, with your default permissions. The title and description are preserved, but tags and date metadata aren't. To me, this is a killer flaw. Firstly, I want the option to replace an existing image. Secondly, throwing away image metadata is something Photoshop hasn't done since about version 7; it's appalling that PX does this today. Thirdly, I want the option to set privacy levels.

Once again, Picnik's Flickr integration gets all of these things right - in fact, it even seems to have an option to bump images up your photostream with comments intact, which is a very clever trick indeed. In contrast, PX looks like it's hardly trying.

One place that Photoshop Express does try very hard - for publicity - is with images that are copied from its library to Flickr. You can explicitly copy an image into the internal library, create an "album" on Flickr (what's more usually called a set, there), and then copy it back to Flickr in that set. Doing this creates a description that lets everyone know you're using Photoshop Express, and, hey, would you like to use it too? I know everyone is after viral exposure these days, but please let me know you're doing it first and let me set something more sensible.

On the subject of albums, PX loads your Flickr sets as a list of albums, although for some reason this didn't happen the first time I tried it. They're listed in alphabetical order, which, like the "date taken" ordering, is a little odd - Flickr preserves set ordering, and it would be nice if PX would honour that, at least as an option. Opening an album, unfortunately, shows an empty screen, even if there are images in the set. I assume the photo download process is linear. Hopefully a later release will change this, and let the UI take priority, as well as adding caching - each time you open the web app, it has to fetch the list of photos and sets from Flickr afresh.

For all this criticism, I do recognise that Adobe's product is just a beta. On the other hand, given how slick Picnik is, and how nicely it's integrated, it's hard to see how Photoshop Express has much to offer Flickr users, other than a brand name.

Reluctantly Switching from Eudora to Apple Mail | TidBITS

delicious 11:38:41
I've still got all my archived mail - everything from something like '02 to August of last year - in Eudora, but I'm now using Mail as my primary client. At some point I'll look at this and put everything in one place. Sigh.

2008-05-09

Aggregating people | philwilson.org

delicious 14:13:55
Phil distinguishes between what he (sensibly) calls data-centric and people-centric aggregation, and goes on to note that duplication is a problem. As I note in the comments, there's beginning to be a consensus here.

Event Calendar | London Festival of Architecture

delicious 13:47:43
"The London Festival of Architecture 2008 is a celebration and exploration of the city's buildings, streets and spaces, aimed at Londoners and visitors alike." Looks like this replaces the London Biennale.

Stephen Fry - Some Thoughts | BBC

delicious 10:05:30
A (very nicely presented, albeit paged) transcript of a speech Stephen Fry gave on Wednesday about the future of the BBC and public service broadcasting more generally. Via speechification, but I get much more out of reading not hearing.

One week of the Guardian: Monday | Designing The News

delicious 09:44:54
I need to go back and look at these properly when I have time, and then decide which piece of ffffound fodder is the best. Visualisations of the news by type in the Guardian for a week earlier this year.

Web type can't be improved? | IHT.com Developer Blog

delicious 09:43:25
Avoid orphans by dynamically replacing the last space in a sentence with   (although I'm wondering if using CSS and white-space: nowrap might not be nicer).

Muni on the rise | SPUR

delicious 09:28:45
San Francisco Planning + Urban Research Association report on what the public transport system in the city needs to do to be better. It kind of worked for me as a tourist, but I could tell it wasn't anywhere near London's standards.

Simon Patterson | National Maritime Museum

delicious 08:45:02
I saw (and photographed, pointlessly) an advert for this on the Tube only to come in and find that nice Mr Jones had bookmarked it, and I do want to go - I do like his stuff, even if it feels as much design as art - so here's my aide-mémoire.

Processing.js | John Resig

delicious 08:39:14
Impressive, but almost as interesting are the 350 links in 5 hours, and that fact that it's about 50% of my network's output since then. As yoz put it: " it bounces on a lot of coolness buttons in one go".

2008-05-08

From Simple to Obvious | Like It Matters

delicious 15:33:35
In which Brian Oberkirch complains about "simple", "your mum could use it" and the phrase "regular people". Thing is, geeks *aren't* normal, so we need a category for the ones who don't care about, say, OpenID. I use "real people" - anything better?

The Future of Money | Chris Woebken

delicious 15:08:42
Thoughts on money, smartcards and so on. "It is possible to ride on [London buses by] recording the oyster-beep [and playing] it when you touch-in" has the ring of truth.

tms | fernLightning

delicious 13:04:59
tms "allows basic cvs style operations on local (not yet Time Capsule) Time Machine volumes" " "why? As someone who is often in a Terminal environment I become frustrated with the Time Machine GUI and found it totally inadequate"

2008-05-07

Gecko, Firebug, and web development

vox 21:58:37

Opera just launched their alpha of Dragonfly, "the foundations of Opera's upcoming Developer Tools", which prompted Tom to note that

"Firebug seems to have defined the universe for this lot."

('This lot' includes Safari's Web Inspector, which is actually not that similar to Firebug - the JS debugger is a seperate app for a start - and IE8's developer tools, which I really should look at once I get a disposable Windows image.) It means that all four of the major browsers now ship with developer tools - an impressive change in the last year.

Tom's observation is mirrored by Michael Smith of the W3C: in his XTech presentation when he says that Firebug sets the standard by which all web development tools are to be judged.

The discussion reminded me of Steve Yegge's point in his long, but worthwhile, post about XEmacs in which he said

IDEs are draining users away, but it's not the classic fat-client IDEs that are ultimately going to kill Emacs. It's the browsers. They have all the power of a fat-client platform and all the flexibility of a dynamic system. I said earlier that Firefox wants to be Emacs. It should be obvious that Emacs also wants to be Firefox. Each has what the other lacks, and together they're pretty damn close to the ultimate software package

To be honest, I suspect what he really means here is Firefox + Firebug. At least, if he doesn't mean that, he should be. For me, doing serious web development now requires that combo, even though I dislike Firefox otherwise.

The really interesting point for me is that Firebug, unlike the three other browser development tools, is actually not under the Mozilla Foundation's control. Firefox ships with a DOM Inspector, but this is more of an internal developer tool. Firebug, a third party tool, builds on DOM Inspector's abilities, and it's built for Firefox because Mozilla have developed not just a browser, but a platform. Maybe when I criticised Gecko for their choice to build a platform as well as a browser I was missing something very important.

That extensibility means more than just Firebug, though. If there's a browser that you want to rewire from inside, using the same tools as you do to create web pages (more or less), it's the one from Mozilla. This is where Yegge is coming from, and I suspect that, hidden in a long post that's titled to attract only command-line editor users, it's a point that's likely to be missed.

Browsers on the Move | Adactio: Journal

delicious 16:12:46
Jeremy Keith's write-up of Michael Smith's survey of the browser landscape. Covers development tools - Dragonfly, Firebug, etc - as well as capabilities for HTML, CSS, JavaScript and so on.

Twitter Charts | Xefer

delicious 13:36:35
Really nice Twitter visualisation using Google Charts, Yahoo Pipes and so on. Only let down, as so many Twitter tools are, by its inability to look at private timelines (bring on the OAuth already).

A Diamond In The Rough - Sigma DP1 | Petteri's Pontifications

delicious 10:43:59
A good review of the new full-frame compact camera from a Helsinki-based photographer. He doesn't rate the DP1 for low-light stuff - mainly due to the lens, not the sensor - but reckons it matches a EOS 5D for image quality.

RSS aggregation as a friend filter | Mildly Diverting

delicious 09:53:47
"Fluidity, and smartness, and the understanding that friendship ebbs and flows." "We each need a secretary who can compile a weekly or monthly summary of all the interesting bits of our friends' activities"

FriendFeed is too much info | Laughing Meme

delicious 09:53:27
"We need routing not aggregation"

The Apple of your iMac | smh.com.au

delicious 09:23:59
Looking back at the iMac a decade on. "It will ship with built-in networking (great if this was a built-for-business bMac or a network computer nMac, but a curious inclusion for homes and quite a slab of the educational market)" How things change.

2008-05-06

Do Americans Have a Right to TV? | Popular Mechanics

delicious 09:25:50
"98.2 percent of American households have a television. By some measures, that even beats the penetration rate of basic adult literacy skills, which was last pegged in 2003 at 86 percent"

2008-05-05

Fermi's Paradox and Peak Oil | O'Reilly Radar

delicious 18:46:43
Are technological civilisations curtailed by the lack of cheap energy, and is that what's going to happen to our civilisation? It's not a new thought, as I note, but it's good to see it getting coverage.

2008-05-03

Creating a custom HTML theme | Tumblr

delicious 14:54:28
Available variables for use with Tumblr's custom themes. (Goodness knows why I'm looking at this when I still have a blog and photo site to reskin.)

2008-05-02

Catloaves | Flickr

delicious 19:20:57
It's a bank holiday weekend in the UK, so OMG SQUEEE CUTE KITTENS

Videos in the Flickr API | Code: Flickr Developer Blog

delicious 09:06:02
The official "how to do video via the Flickr API" post, which thankfully doesn't seem to contradict anything in my post from a few weeks ago (which is, shockingly, top result for 'flickr video api' - for now).

2008-05-01

10 Things I Learned from Mental Detox Week | iain tait

delicious 17:20:35
Good stuff in here. In particular, another aspect of computing I'd ignored- TV makes you tired but not sleepy, and so does computing. Books, on the other hand, let you recognise sleepiness.

Consumption is also about choice | Infovore

delicious 11:17:45
More post-Shirky commentary, this from Tom Armitage, arguing that TV-by-choice is different from TV-that's-on, taking in participation and radio as he goes.

2008-04-30

Twitter API updates, FireEagle and flickr.places | geobloggers

delicious 16:10:41
Thoughts on Twitter, Fire Eagle and using place IDs (as also supported by Flickr, and API-accessible) to do location things.

we do it for the war stories, right? | this is aaronland

delicious 16:02:01
"you can use (drum solo, please) Flickr::Upload::FireEagle to not only geotag your photos but, in turn, use your photos to update FireEagle itself"

Subversion’s Future? | iBanjo

delicious 14:39:54
Thoughtful piece on Subversion's (corporate?) future in the distributed VCS world. "We need to focus on making Subversion the best tool for organizations whose users need to interact with repositories in complex ways"

The American Scene | British Museum

delicious 14:00:29
I keep trying to get to this and being foiled by early closing or helping with exam revision, but one day, ONE DAY I'll manage it.

Dumb Boxes | Lebbeus Woods

delicious 13:07:58
A pean to "dumb boxes", the rectilinear blocks that made up the majority of the modernist cityscape. He's going to love London soon, then, with the few examples there were swept away by cheesegraters and walkie-talkies.

San Francisco walks, 1 | SpiekerBlog

delicious 09:08:30
Even the relatively public-transport-friendly SF has rubbish bus signage. I was shocked at how poor it was in St Louis, but I did take a few buses in NY without mishap, so they must vaguely work. Not as good as London's, mind.

2008-04-29

Terminal's Big AppleScript Bug

vox 21:29:17

I've never been one of the people who's seen a need to use any terminal application in Mac OS X other than the one supplied by Apple in Utilities. It does the job, uses Monaco 9, doesn't anti-alias (or at least, can be made not to). It starts up in Mac-ish black on white, and generally Just Works.

10.5 saw a bit of an overhaul, with a much saner configuration interface (all in Preferences, rather than hidden in a rather baffling out-of-the-way inspector) and tabbed browsing. Now, I still don't use tabs on the Mac OS, personally; I like the established app/window split and don't see the need to bring a third level of indirection into play, especially when it doesn't even have consistent shortcuts. (Tabs on Windows? Now that's a different story.) In fact, for years I'd quite happily got by with a bunch of scripts in ~/Library/Scripts/Applications/Terminal/ that would neatly stack all the windows.

Sadly, the new version of Terminal also introduced an annoying AppleScript bug which renders these scripts less than useful. When positioning a window, the vertical positions aren't honoured correctly: instead, the window ends up 320 pixels up the screen from the desired location - OK if you want a window at the top, but certainly not if it's meant to be at the bottom right, which is my usual position. I mention this now because the bug in Terminal that broke my window arrangers will also affect a script to centre windows that TALlama (no really) posted in response to a lazytwitter invocation by John Siracusa. If you try to centre a Terminal window, it ends up jammed at the top of the screen, for no apparent reason.

Now, I'm not down with the cool kids who post radr:// URLs, so if anyone who's reading this is, it's really easy to replicate the error: get a Terminal window towards the bottom of the screen, run this script - which should do nothing, as it's merely putting the window back where it started - and watch your window shift around. Do that, report it, and hopefully eventually I'll be able to retire my "set voffset to 320 -- work around AppleScript bug" line.

tell application "Terminal"

    set b to bounds of window 1

    set bounds of window 1 to b

end tell


Anyway, thanks for listening, and here's hoping for a better Terminal AppleScript interface in 10.5.3.

2008-04-28

Why Don't You?

vox 21:30:41

Chris Heathcote has a great post - everything ie anything - which looks at a couple of points in Clay Shirky's much-linked Web 2.0 conference keynote about television, web 2.0 content creation, and the "social surplus". Chris says

I find it a flimsy argument that grinding in World of Warcraft, watching Youtube videos, or I dunno, playing Sim City for 40 hours straight (Spore is going to kill me) is in any way better than watching TV, merely because it’s ‘doing something’.

Last week, I noticed Iain Tait taking part in Mental Detox Week. Previously, this was Turn Off TV week, and years ago, when I read the White Dot book about television, and recognised a lot of what it was saying, and decided to do what it said. In the ten years since then, I've lived in a house with a TV for only three.

Did I ever miss TV? Not really. I had the radio for news, and much more besides - and the reports seemed much more raw, without the need for a camera crew to tag along (although I know usually the BBC was using the same people for both). Newspapers and magazines brought information to me. I still went to see films - in fact, one year early on I nearly saw a hundred films, many of them foreign or classic.

You'll notice something missing from this. Back then, home internet was still a luxury, with dial-up charges and per-minute call costs. It wasn't until 2000 that I got always-on internet. Over the years, I've slipped more and more into using the laptop for more and more of my leisure time. At first I was easily able to convince myself that this was different. I was creating and communicating. Look, here's all my friends on IRC. Here's the website I just built, and the photos I've taken.

Recently, though, I'm finding that belief harder to sustain. I can produce, but I also consume more. There's Flickr friends to surf, a dozen news sites to read. Along with IRC, there's Twitter- and I don't feel comfortable holding conversations there*. Instead of creating websites, I pour content into Vox and a blog - and there's less and less of a personal touch, more a sense of a piling up of stuff. I can spend an hour flicking though videos on YouTube, surfing through Orbital live performances, or I can spend an evening on iPlayer watching BBC Four documentaries.

Wait. I can spend an evening on iPlayer watching BBC Four documentaries. Isn't that what I was trying to get away from? Is it really that much better for me to be watching TV with the ability to be snarky about it via instant messaging? So it's tempting to switch the computer off, and do something less boring instead. No wonder Mental Detox Week includes computers as well as television now.

It's hard, though. It's harder than it was with TV. There, I was ignoring imaginary people. Now, I'd be ignoring friends, family, along with random - but real - strangers, whose work I've liked for one reason or another. I'm also finding it harder to socialise, now I've let ties wither down to merely digital connections. I have to use a computer at work, whereas avoiding TV there is trivial. Nonetheless, it's something I think would be worth some effort.

If I can't do any of that, though, I do need to make sure that I make my time at the laptop worth as much as possible.  The Internet isn't inherently better than TV, but if I make the right decisions, I hope I can at least make sure it's not worse.

* I know plenty of people do. I don't.

More Aggregation Definitions

vox 11:00:21

In the wake of Zeldman's post, two definitions:

  • Shallow Aggregation: what I do. A single home page that pulls in concept from other sites, but where the links leave my site to go instead to the place the content is hosted.
  • Deep Aggregation; what Tom Insam does. An entire site fed on and republishing content from other sites, in so far as possible. Allows a consistent look.

Questions.

  • Are the joins better when they're more obvious (shallow) or better hidden and (arguably) less predictable?
  • Is there a market for software for either sort of aggregation? (MT provide "Action Streams", which are shallow. There's Django code for deep aggregation.)
  • Is there a future for either kind, given Friendfeed et al? 
  • Given the questions above, is it even worth defining the above?
  • Is aggregation the right word? Republishing? Personal mirroring?
  • Why am I so keen on defining things as a way of understanding them?
  • Does anyone else care?

2008-04-19

Further WebKit vs Gecko Thoughts

vox 22:50:03

Earlier this week, I published a post entitled Hackability: Gecko vs WebKit. Actually, it sort of snuck out in the middle of the night; as is my wont, I left it as a neighbourhood-only draft overnight, only to find that Simon had turned up and made some of the points I was going to go back and edit in as a comment. Since nobody ever reads comments on the internet, and also since Simon, Tom and myself had a bit of a discussion on the subject on IRC, I thought I'd follow up the post with some further thoughts.

Firstly, Simon made further mention of Gecko 2, the next-big-thing coming from Mozilla. It does sound like it's going to be a great deal of work, and that it's probably dumb for them to be gung-ho about fixing some of the Acid3 issues in the 1.9 branch when 2.0 is around the corner. On the other hand, the very fact a 2.0 is needed is a bit worrying, and I'd also argue that perhaps there should already be a code branch being worked on. In comparison, I strongly suspect that the WebKit team have been lucky enough to time any major reworkings of their codebase to be out of the public eye.

Secondly, Gecko and WebKit both turn out to be about the same age- nearly ten. Admittedly, KHTML was initially much more minimal¹. On the other hand, this turns out to be key to the point I really should have made in the first post.

One of WebKit's stated project goals is hackability. In contrast, Gecko's layout engine doesn't really have a project page; the closest thing there is to one admits that

much of the code for the cross-platform toolkit is mixed in with this code, it is described elsewhere

This is really, I suspect, where the two projects diverge. WebKit is designed as an embeddable renderer. It's pretty modular - one of the KHTML legacies is that the JavaScript implementation is separate, as you can see from the fact that Quartz Composer embeds JSCore but not WebKit. It does one thing, and does it pretty well. (The same is somewhat true of the most common browser using it, Safari.) Given this, it's no wonder that it's adding features and passing tests at a rate of knots.

In contrast, Gecko is part of Mozilla's platform. It's a fairly major part of XULRunner, a cross-platform application framework that hosts Firefox, Thunderbird and other apps. That makes it big and gnarly, and probably makes it harder to work with, but it also offers a great deal of flexibility. Firefox is so extensible because the UI is itself written in a markup language, and it can be modified and extended without learning (too much) new stuff. In contrast, there are no supported ways to extend Safari's interface².

So far, I think we all agreed. Different goals lead to different priorities, and as Simon put it:

Teams focus on different things. saying "Well it's Apple's policy not to do plugins" is like saying "It's Mozilla's policy not to spend resources on what could quite reasonably called a PR exercise" but, as we know from Perl, PR exercises and easy hackability keep a project alive.

Where we parted company was that Simon argued one of the keys to the success of Firefox was this extensibility. Since it comes at a cost, it would be good if one could argue that it had also had a benefit. Unfortunately, personally, I doubt that the success it's managed against IE (which, compared to the market share of its prehistoric ancestor, Netscape Nagivator, isn't actually that good - although numerical I'm sure Firefox has more installs than Navigator ever managed) has anything to do with extensibility. Do real people install extensions - even lauded ones like Firebug and AdBlock? Somehow, I doubt it.³

No, the success of Firefox is down to offering a familar enough UI (Opera fails here, however compelling the features are once you get through to them), free (again, until recently, an Opera weakness), and with better security than IE (perhaps less so now, but older versions of Microsoft's browser didn't get their reputation for nothing). That's not to say that the work on XUL isn't good - extensibility helps get geek mindshare, just like passing Acid tests - but again, I do wonder if it's costing more than it's worth. After all, if easy hackability keeps a project alive, what does a lack of the same do?

¹ A fair chunk of the discussion was about how KHTML and WebKit were related. I don't think it's particularly relevant here and nobody bothered with the relevant Slashdot forensics, so I'm going to skip it.
² Hopefully that wording is clear enough to be understood as meaning "things that aren't browser plugins". I believe that none of the other WebKit based browsers offer much of a UI customising API either.
³ I'm more willing to believe they install themes. Shudder.

2008-04-18

More Transport Informatics

vox 10:30:23

Dan Hill posted an incredibly wide-ranging roundup of developments in transport informatics a couple of days ago on his site, and it's justifiably been widely linked to by the sort of people who care about such things. Of course, I'm one of them. I also tried to add a few things he missed in a rather dense, link-laden comment. Unfortunately, it was so link-laden that Typepad thinks it has to be comment spam, and it's now spent two nights in an approval queue, so I fear it's lost. Fortunately, I have my own blog, so here are some additional, somewhat London-centric notes.

Holisitic As Chris Heathcote noted when I mentioned the Guardian story on Helsinki's bus mapping, the statement that "every bus and tram is visible on a Google map" isn't true as of yet - the beta only covers a couple of trams and a few buses, if I'm remembering correctly. However, it's a promising start; London's iBus will generate similar raw data, and we'll see if the will's there to use it. Maybe someone should ask the mayoral candidates?

Here's a piece on the implications of Google Transit in the UK.

Rail The UK's National Rail maintains real-time arrivals and departures information, available on the web. It's probably unrealistic to map more than the trains going to a single terminus at the moment, because scraping doesn't scale, but that would be an interesting (hackday/barcamp?) project. A few Tube lines have similar information available, but that'll be harder to scrape into a single map.

Maritime There's a real-time high-resolution map of shipping in the San Francisco Bay available.

Walking Although not strictly informatics, on the subject of walking in London, there's a couple more initiatives; Legible London is a trial of maps for tube stations, bus maps and street pedestals, currently limited to the Bond Street area, but aiming at a unified signage standard for the entire city, and next week there's a Walk to Work day, encouraging people to walk, if not the entire distance, the first or last 30 minutes of their commute.

Edit: as often happens when I do something like this, it's now emerged. Thanks, Dan. I'll leave this up for posterity, though.

2008-04-14

Hackability: Gecko vs WebKit

vox 22:59:31

This post has been brewing for a while, but I've been prompted to actually write it by seeing John Gruber's offhand remark on his most recent linked list entry, about CSS gradients in WebKit:

Just me, or is WebKit racing way ahead of Gecko in terms of support for cool new stuff?

No, it's not just him. WebKit, and Opera's layout engine Presto, raced towards Acid3 compliance in March, with both effectively reaching a photo finish on the 26th. Meanwhile, Microsoft hasn't even shipped a non-beta Acid2 passing browser¹; no surprise there. But where's Gecko, the Mozilla layout engine, the one that powers Firefox?

Well, to be blunt, it doesn't look as if they care much. We have one developer saying that Acid3 is basically worthless, and another (more diplomatically) stating that it's a missed opportunity and an exercise in making browsers jump hoops, rather than improve "real" functionality. As others (almost certainly more qualified than I am) have noted, this sounds a lot like the noises from Microsoft around the time of Acid2's release.

The thing is, I'm not here to kick Gecko, but to understand its problems, if it has them. Does the team's response to Acid3 mean it does? Possibly not on its own, but coupled with events like the move of Epiphany to WebKit², and the aforementioned speed of development on WebKit (and to a lesser extent Opera's Presto³) I have to wonder. Why is development there so slow?

One stated reason is that the Mozilla Foundation is on a rush to release Firefox 3, and it's certainly true that it is coming up for release. On the other hand, Apple certainly seem to be able to keep the open-source WebKit tree distinct from the version used in releases - Safari 3.1 shipped with an Acid3 score of 75 when nightlies were scoring 90-odd - so I should hope that's not the real reason. Maybe they're pulling people off the layout engine to work on the browser? That's not as stupid as it sounds for most apps, given the way the Firefox UI is set out using XUL, a markup language. Even so, it feels like a bad use of engineering. Maybe Gecko's reached that point where extending it's no fun. The language the team themselves uses, with talk of Gecko 2, makes me wonder if that's true.

I don't have answers, anyway, but I'd love to hear from people who do why Gecko is giving the appearance of stagnation, while WebKit seems full of life.

¹ Bafflingly, it seems that Microsoft develops not one, but four layout engines: Trident, for IE/Win, Tasman, originally for IE/Mac and now part of Office:Mac, and two unnamed engines, one in Word and Outlook 2007, and another in Expression Web Designer.
² Admittedly that's got contributing factors beyond merely Gecko; it sounds like the wrapper they were using to embed it (GTKMozEmbed) had some seriously nasty issues of its own.
³ I mentioned to Tom Insam that I was surprised I'd never heard of the name of this engine, but he sagely noted that, as it's not open source or embeddable, there's no reason I would have.

2008-04-13

Rotating Video for Flickr - Solved

vox 18:47:11

As hoped, after my previous post detailing my failure to rotate a video for display on Flickr, I've had a useful hint which has since led to me successfully uploading a couple of videos.

Gareth pointed me at a page detailing how to use mencoder, part of mplayer, to rotate the video (along with a bunch of other steps at the end assuming you want your video to stay landscape in the end; I don't.) At first I had no luck getting it to work, but a download of the source and compile (which was error, if not warning, free on this Intel Mac) left me with a working command-line application. Starting with Scott Hansleman's invocation, I ended up using

./mencoder -vf rotate=1 -o output.mov -oac copy -fafmttag 1 \
           -ovc lavc -lavcopts vcodec=mjpeg input.mov

to convert the file from the Ixus to one that Flickr would accept. The important bit is the "-vf" tag, which gives a list of video filters to apply; -oac and -ovc are for the output audio and video codes respectively, and I'm using mjpeg as it's the same as the input. (Using "copy" didn't work, probably because it was using the frames without rotating them).

Ideally there'd be a nice front end for this, but most of the mencoder GUI wrappers I've seen for Mac OS X were abandoned long ago. For now, using the command line is fine for me, and if you're trying to do the same, hopefully it'll work for you too.

Rotating Video for Flickr?

vox 16:04:52

I posted nice and early about Flickr and the API, without even posting a video of my own, and with no inkling of the protests that were about to bounce around Flickr's forums. Eventually I pulled a couple of videos from my old photo site (I'm particularly fond of this one, since you really need the movement to see what the point is), and posted them, while I looked for more videos that I'd shot with my old Ixus, generally five years ago now.

This morning, there were two more videos I wanted to post. However, both were in portrait not landscape orientation, and so far I've not found a way of posting them to Flickr the right way up, despite trying a few things. So, here's what doesn't work, before I ask the crowd what will.

Firstly, and most simply, I tried using QuickTime Pro to rotate, using the Movie Properties window as discussed at The Unofficial Apple Weblog, amongst many others. Unfortunately, while this looks as if it works, it's actually just a metadata flag, and Flickr discards it on upload. This fate also befell a "hinted movie" export.

This started me on a search for a suitable Export format. I tried AVI with Cinepak, but that looks truly awful, and I wasn't prepared to even try uploading it. AVI + DV-PAL looked as if it worked, but on upload Flickr converted it to a 4:3 aspect ratio, rather than 3:4, which is obviously no good. The same problem affected various MPEG-4 exports, including the presets for the iPhone and so on that QuickTime offers. I had a look at the 3GPP formats, but these have a maximum size of 320 pixels, while my originals are 640x480. That's no good.

Thinking that maybe I was in the wrong application, I turned instead to iMovie. However, it turns out that it won't even think about producing a movie unless it's in landscape format*. I suppose I can see why: if it's a video for TV, or that would eventually be shown on one, then it'll have to be that way around for it to work. On the other hand, this is the exciting new digital era! Who knows what sort of device your video will end up on? The best I could manage here was to mark the video as rotated, and then crop the middle out to return it to 4:3. Sigh.

After this exploration, though, I can see why post-upload rotation is still on Flickr's to do list for video support (along with replacing videos) - although if it was there, it'd be the solution to my problem right there. Anyway, that's basically the end of the road so far. I keep seeing Windows MovieMaker mentioned as a way to rotate video, but I don't (yet) have Windows installed here, and I'd really rather not for something that I'd thought was trivial. Can anyone else suggest a way of doing this with a Mac software package? In the meantime, you can't see my shiny carousel. Sorry.

Updated: Thanks to Gareth, here's a command line solution.

* iPhoto 7 has a similar problem with cropping images to a 16x9 aspect ratio. For 3x2 and 4x3, you can choose either landscape or portrait; for 16x9, you can only use landscape. My workaround is to rotate, crop, then rotate back, but that's stupid. More sigh.

2008-03-04

Feeding The Daemons

chaff 23:37:56

For over a year, the home page of husk.org has been a collection of content elsewhere. The reason's pretty simple; I don't write long form posts often enough for a standard blog to work as a front page, but I didn't like the static nature of a plain index either. Keeping things updated with links and photos as well seemed like a plan. (Nowadays, you can do this sort of thing within Movable Type itself, but a year ago, you couldn't. Also, I'm rubbish at getting around to upgrades anyway.)

The code that generates the front page is pretty simple, really; it fetches four RSS feeds, does a bit of data munging to group them by day then source, with a bit of caching around the edges. However, despite relying on RSS for the content, there wasn't a syndication feed of the aggregated material. Now there is, and, perhaps sensibly, it uses the same Perl library (XML::Feed) to generate as it uses to consume the feeds elsewhere. (There's actually another post in the technical problems there, if I find time.)

So, if you're following this blog via a feed, why not switch to one of the aggregated ones instead? There'll be more content (as they pull in my more-regularly-updated Vox blog, as well as other stuff), and you might even find it interesting.

There's actually a choice of four feeds; one that shows everything, two that show text (one for long form writing, like this post, only; the other, posts and links combined) and finally one for images, which, right now, is just my Flickr photos, but that might change. If I do add feeds, there'll be a post about how to exclude things. (It's already there in the code.)

Speaking of excluding things, I've started using a feed reader again, a little. This time, I'm not using it for news (I know to check that), or sites that have aggregation (like Twitter, del.icio.us, Flickr, or LiveJournal), but for those one-off blogs you don't check otherwise. Unfortunately, there are a few people I'd subscribe to, but they insist on posting either their del.icio.us links, twitters, or both, to their feed. I can understand why - hell, I bring in links - but I also offer a feed without, and that's what I'd really want from them, too.

It might just be me (after all, I already see things via the sites mentioned above), but I've also started seeing grumblings about this from other people. With the launch of friendfeed and other lifestreaming/aggregation services, for example, people are flagging "duplication, or the infinite echo problem" as an emerging problem. Meanwhile, others are finding that infrequent blogging suits them fine. The comments note that an RSS feed lets you subscribe to someone who posts interesting stuff, but rarely; I'd argue that bringing in links to pad your content might actually drive people to leave again.

Just to make this a constructive criticism, here's how I'd work around this if I was using a blogging engine alone. All my long-form posts would get a category or tag (say "longform") and, as well as an overall RSS feed, I'd advertise a feed for original posts only. The bottom line? Aggregation's good, but let your consumers choose what they want to subscribe to.

sources

elsewhere

otherwise

images

Marchers

Islington

Camden Trade Council

Red, Star

Fiat 500

Barbican

Between

"Service" Washes

Ladybirds

Icons

Frida

more from flickr