Exploring Apps4Edmonton using Microsoft Live Labs Pivot

You’re going to hear a lot more about apps over the next few weeks! The deadline for submissions for the City of Edmonton’s Apps4Edmonton competition was Friday evening. Local developers came up with more than 30 really interesting and useful local apps, which will now compete for your votes and for the attention of the judges. You can learn more about the prizes and the competition here.

I started looking at some of the apps, and decided I wanted a better interface to browse them. I thought it would be nice to be able to sort the apps, to see a screenshot of each one, and to see which datasets each of the apps made use of. I also didn’t want to spend too much time on it, so with all of that in mind, this seemed like the perfect opportunity to experiment with Pivot.

Here’s what I came up with! Click on the image below to load the Apps4Edmonton Apps Directory in Pivot. You’ll need Silverlight 4 installed for it to work. Alternatively, if you have downloaded Pivot and have it installed on your computer, you can browse to this URL inside Pivot.

Click here to launch the Pivot!

Might take a minute or two to load. If it doesn’t, just refresh it. What you see are all the apps from the contest page, with a screenshot, description, contest URL, and list of datasets for each one. If you want to see just the apps that use the “Police Stations” dataset for example, you can select it in the navigation pane on the left and the view will update.

Ever since TechEd, I’ve been really interested in Microsoft Live Labs Pivot, an interactive data visualization technology. It’s great for exploring large datasets, identifying relationships, visualizing patterns, etc. The Apps4Edmonton dataset isn’t very large of course, but the tool still does a great job.

How It Works

I started out by building a Pivot Collection using Microsoft Excel. Pivot has a pretty handy tool for turning spreadsheets into collections, so that’s what I used initially. Quickly though I realized that I wanted to host this on the web somewhere, and that I wanted others to help me refine the dataset.

I uploaded the spreadsheet to Google Docs, and then downloaded the Just In Time Pivot Collection sample. After a little bit of experimentation with the Google Docs API (which I have never used before) I had the code working to create my collection on the fly. It loads the spreadsheet from Google Docs, creates the collection, and then serves up the XML and Deep Zoom images.

The spreadsheet is mostly complete, but a few apps are missing datasets. This is because either it wasn’t immediately obvious which they were using, or they simply don’t use any that are part of the data catalogue. You can update the spreadsheet here.

If you’d like to experiment with creating your own just-in-time Pivot Collection, you can download the sample code here and the code for the collection I wrote here. I also made use of CutyCapt to generate screenshots. You’ll also want to check the XML schema.

Apps4Edmonton

There are some really great apps in the Apps4Edmonton competition, so check them out. You’ve got until September 10 to vote for your favorite ideas and apps!

And for full disclosure, I submitted ShareEdmonton to the competition. If you like it, vote for it!

UPDATE: Thanks to John for helping me get the Pivot Collection right!

Five Geeky Things I Want To Learn More About

Like lots of other netizens, far too much information passes across my virtual desk in a day. With blogs, TechMeme, Twitter, and dozens of other sites and services, there’s far too many things to process all at once. At the same time, I don’t like missing anything. Usually what I do is bookmark things with del.icio.us, and then review them later. Sometimes those links are unrelated, other times they are part of a larger topic or subject. Here are five such topics:

  1. Silverlight
    Microsoft’s platform for Rich Internet Applications. I’ve checked out demos, examples, overviews, and other general information, but I need to get my hands dirty. I need to create something using Silverlight.
  2. F#
    Another Microsoft item on this list shouldn’t surprise anyone. F# is a functional and object-oriented programming language. I’ve heard many developers say that you should learn one new programming language a year, and F# seems to be worth looking into. Especially since Visual Studio will have full support for it!
  3. SOCAN
    Society of Composers, Artists and Music Publishers of Canada. The link is an Engadget article talking about the SOCAN push for a tax on music downloads here in Canada. I’ve been reading tons about the music industry lately, especially since the Radiohead experiment, but I want to know more about how Canada specifically is affected.
  4. OpenID
    A decentralized, single sign-on system that seems be all the rage these days. I’ve actually played with some code on this one, but I need to devote more energy to it. I want to know how it works with other systems, and where the system is going in the future.
  5. APML
    Attention Profiling Markup Language. Possibly the geekiest thing on this list. Essentially it’s an XML format for sharing your “attention” or “interests”. It enables you to rank your likes and dislikes, and to share that information with other services and applications. I think it could enable some really interesting scenarios if it was used widely enough.

There are dozens of other things I could have mentioned, of course, but these five are particularly interesting to me.

Flash, Silverlight and H.264

Post ImageAdobe launched a new version of Flash on Monday. The update is codenamed “Moviestar” because it adds support for H.264, a video compression codec. The release is significant because it allows Flash to play really high quality video. Adobe expects the final version to be ready this fall.

I think it’s clear that Adobe added H.264 support to Flash as a way to compete with Microsoft’s Silverlight and VC-1. SmugMug’s Don MacAskill thinks the announcement gives Adobe the edge:

Silverlight 1.0 is focused almost entirely on video, including HD, and clearly gunning for Flash. So why wouldn’t they go right for Flash’s big Achilles heel – no H.264 support?

Oh well – that opportunity is now lost, and I believe this basically nails Silverlight 1.0’s coffin shut.

Don goes on to say that he had high hopes for strong competition among Rich Internet Application frameworks. I really value Don’s opinion, and I think he’s a really smart guy, but I think his comment is somewhat misleading and I have to disagree with him here. Why? Because it’s only August 22nd, 2007, that’s why.

I realize that Don specifically mentioned “Silverlight 1.0” but I wouldn’t fault you for skimming over the version number, and that’s what needs to be addressed. First of all, Silverlight 1.0 hasn’t even been released yet. Secondly, the first real release is going to be Silverlight 1.1, which is currently in alpha. There’s a lot of time left before the final version of 1.1 is released. Who knows, maybe Microsoft will even add support for H.264 before that time (though Don says he has been told by MS employees that no more codecs will be added).

The point is that it’s still early. Don’t count Silverlight out just yet. Lots can happen between now and the final releases of both Flash “Moviestar” and Silverlight. I think it’s safe to say there won’t be a lack of competition in the RIA framework space.

I completely agree with Don’s last statement though:

You’re going to see a massive boom in the online video space shortly. You ain’t seen nothing yet.

Exactly. Lots to come still. It’s an exciting time!

Read: SmugBlog

Why does Microsoft hate Opera?

Post ImageI just went to checkout the Silverlight website, and was presented with this message:

Your current browser does not support WPF/E (codename). Click here for more details on WPF/E-supported browsers and platforms.

I am using Opera of course. So I click through to the suggested link, and here’s what I find:

Silverlight media capabilities include fast, cost-effective delivery of high-quality audio and video to all major browsers including Firefox, Safari and Internet Explorer running on the Mac or on Windows.

What?!

According to these stats, Safari had 1.7% market share last month compared with Opera’s 1.6%. The numbers are a little lower at Wikipedia, but it’s not like Safari has ten times the market share.

I realize that Safari is the offical browser for the Mac, but I still think that Opera is being unfairly left out by Microsoft. And it’s not the first time – it took them a very long time to support Opera with ASP.NET Ajax.

Especially with Silverlight, I think Opera should be supported. It is widely used on mobile phones and other devices, like the Nintendo Wii.

Read: Silverlight