jump to navigation

Zoomify September 22, 2009

Posted by gordonwatts in DeepTalk, computers.
3 comments

A bit of a technical post.

One of the biggest criticisms I get about DeepTalk (besides the fact that you can’t navigate using the arrow keys) is that it requires Microsoft’s Silverlight. There are two other options I’m aware of. First, to understand the problem that I’m working with, check out this simple conference that I’ve deeptalk’ed. Use the mouse wheel to zoom in/out and see how the display works.

For this discussion it is important to keep in mind the steps that a conference goes through on its way to becoming a DeepTalk:

  1. All the slides are sucked down from the internet, turned into jpgs, and then programmatically laid out.
  2. A rendering program reads the layout and all the images in and slices and dices the images into layers. These slices are stored on a web server with a decent internet connection.
  3. Code is downloaded to the browser that reads the layout and the slices and renders them just like any mapping website with zoom capabilities does.

First, raw javascript. This is an ideal solution. Every browser already has it installed and most modern browsers are pretty efficient. Indeed, all the mapping programs I use like live maps and google maps use this solution for terabytes of data. So why not me!? Well, the first requirement is I’m not willing to re-write the code, so I have to find it on the web. Actually, I did find one (are there others?) – from Microsoft and it can replace the Silverlight code. Ok! They I’m all set, right? Well, not. The code isn’t as capable as I need. For example, it can render only a single image at a time. For DeepTalk a single image is roughly equivalent to a single talk. I could render the whole conference as a single "image” however I do not have the memory on any machine I own to do that.

Second is a commercial Adobe Flash library called Zoomify. Check out their web page – very cool. It does exactly what I need. It requires Flash, which pretty much everyone has (even if they have to update – please do it – old software == hacker target!!!). Further, unlike Silverlight, Flash, works on Linux so – so this would be a big plus. Unfortunately, there are two problems. First, in order to automate the rendering you need the Enterprise version ($800 US – more than was spent on the server that is currently serving the DeepTalk content). Second, the project is well integrated with Adobe Flash – which is all great and fine for people who are used to Flash. But for the rest of us we need to learn a new programming language.

And finally there was the Silverlight version. This had the zooming built-in and the tools, including a rendering library I could link against, were all free. Further, the programming model for Silverlight is any .NET language – which includes C#, which looks a lot like C/C++ – something I can immediately start writing code in without having to buy a reference book.

So. That is why I’m using Silverlight for this project, and why, for the moment at least, it still remains the best choice for me for this project.

Now, as for the most popular criticism I’ve gotten about the project. I now have working on my desktop a version that allows you to use arrow keys to move around. Sadly, it still crashes due to bugs on about 1 in 3 conferences – which means it isn’t good enough to go on the web backend. You all will have to wait, sadly, for a little while longer: classes start next week, so a lot of my summer spare time is going to disappear!! Happy end of the summer!

Timeshifting A Conference: Can we all agree? Please? August 21, 2009

Posted by gordonwatts in Conference, DeepTalk, Video, computers.
7 comments

A video feed or recording of a big physics conference is a mixed blessing.

image

If there is a video recording of a huge conference – like DPF – it would be 100’s of hours long. Many of the parallel sessions describe work that is constantly being updated – so it isn’t clear that if you posted the video how long it would be relevant. I’ve seen conferences just post video of plenary sessions and skip the parallel sessions for I imagine this very reason.

I definitely appreciate it when one of the big conferences does furnish video or streaming. But I have a major problem: time shifting. Even if I’m awake during the conference it is rare I can devote real time to watching it. Or if there is a special talk I might have to try to arrange my schedule around the special talk. But, come on folks – we’ve solved this problem, right? Tivo!?!? Or for us old folks, it is called a VCR!!!

Which brings me to the second issue with conference video. Formats. For whatever reason the particle physics world has mostly stuck to using RealMedia of one form or another. Ugh. I was badly burned back in the day with the extra crap that RealMedia installed on my machine so I’m gun shy now. But the format is also hard to manipulate. I tried a recent version of their player (maybe about 6 months ago) and they have a nice recording feature – exactly what I need here. But I couldn’t figure out how to convert its stored format to mp4 or other things to download to my mp3 player! There are some open source implementations out there – but I’ve never encountered one that has been good enough to reliably parse these streams.

This year’s Lepton-Photon is trying something new. They are streaming in RealMedia, but they also have a mp4 stream. And the free VLC player can play it. What is better is the free VLC player can record it! And convert it! Hooray!!! I can now download and convert these guys and listen/watch them on my commute to work and back, which is perfect for me (the picture above is a screen capture of the stream in VLC). The picture isn’t totally rosy, however. VLC seems to loose the stream every now-and-then. So when I’m recording it I have to watch the player like a hawk and restart it. Sometimes it will go two hours between drops, and other times just 10 minutes. It would be nice if it would auto-restart.

Which brings me to the last problem. Discoverability. I really like the way my DeepTalk project puts up a conference as a series of talks. But the only reason it works is because the conference is backed by a standard agenda/conference tool, Indico. My DeepTalk tools can interface with that, grab the agenda in a known format, and render it. We have no such standard for video.

Wouldn’t it be great if everyone did it the same way? You could point your iTunes/Zune/RealMedia/Whatever tool at a conference, it would figure out the times the conference ran, schedule a recording for streams, or if the video was attached, it would download the data… you’d come back after the conference was over, click the “put conference on my mp3 player” and jump on that long plane flight to Europe and drift off to sleep to the dulcet sounds of someone describing the latest update to W mass and how it has moved the most probably Higgs mass a few GeV lower.

Would that be bliss, or what!?

DPF & Lepton-Photon August 20, 2009

Posted by gordonwatts in Conference, DeepTalk, physics.
add a comment

It is conference season! Whee!

A few weeks ago the main American particle physics conference, DPF occurred. This is a big conference with lots of plenary and parallel sessions:

image

At the time I was a short distance away from Detroit, in Ann Arbor, being a Dad. It was a bummer not to be able to attend. I made sure the conference was rendered on my DeepTalk site (picture grab from above). I spent a few lunches the other day browsing it – there are some excellent talks – I definitely recommend checking it out!

This week it is the big Lepton-Photon conference here in Europe. They are simul-casting it as well, so I’m doing my best to watch and record bits of it (more on that in another post). I see someone already submitted that to DeepTalk, so it is partly rendered already. Unfortunately, DeepTalk can’t yet tell that the conference is still ongoing, so it doesn’t automatically update itself. I’ll make sure that happens over the weekend.

DeepTalk on your Desktop May 4, 2009

Posted by gordonwatts in DeepTalk.
add a comment

After getting back from CERN on Friday I spent a few hours on Saturday night fixing a few bugs (you know… relaxing!). The result is a new version of the deeptalk desktop application. This version has numerous fixes since the version that was released to the web and CHEP. Frankly, it is the version that should have been released at CHEP! Among other things, it will do the layout for a very large conference correctly, and also knows what to do with pptx files (office 2007 PowerPoint).

Eventually I want to be able to do password protected web sites this way (i.e. ATLAS talks, for example). At least, that is the reason why I’ve also got a non-web version of this.

The website remains unchanged for now. I want to make a few very minor updates to it and then roll in these big changes above – and reimage all the conferences. There should be a noticeable improvement when I get to that. As always, this is a hobby, know telling how long it will take!

DeepTalk a Conference April 17, 2009

Posted by gordonwatts in DeepTalk.
7 comments

Ever wanted to view all the slides from one conference at once, on a really big (or small) screen? And zoom in on just the talks that looked interesting? Well, now you can: DeepTalk. :-)

This was one of my hobby projects. Most of the work was done the evenings while I was on sabbatical. Since I’ve returned to UW development has slowed way down – but I managed to finish up a web site version of this for the CHEP 2009 conference (and presented a poster on it).

The idea is pretty simple. Download all the slides from a conference in an Indico web site, lay them out on a very large gym floor. Then zoom the camera way way out. That is the initial view when you are looking at a conference (for example, the Chamonix workshop discussing the future of the LHC). You can then zoom in using your mouse scroll wheel (or just doing a single click with your left mouse button), pan around by click-and-dragging, etc. If you have a conference you want rendered, there is a small text box at the bottom of the page – just put in an indico web site URL for the conference main agenda page and it will get queued for rendering (or take you to the correct web page if it has already been rendered).

It is based on Silverlight (which runs on Windows and Mac – Linux coming when Moonlight makes its 2.0 releases). There are some known bugs, but if you see other things or additions you think would be cool, definitely send a comment! I’ve been having a lot of fun using it to browse conferences I’ve missed (which is most of them, obviously).