Mar
02
2010

Building Slides with Ease

This entry is part 1 of 1 in the series Hands-Free Slide Decks

Presentations have a very big limitation – they’re fleeting. As passionate as you may be, you need to ensure that the content you’re trying to pass along stays with your audience. For some talks, a video recording may be sufficient. In my particular area, code snippets and slide handouts are almost a necessity.

As an ideal, I’d like to be able to take my content, and be able to painlessly derive:

  • A presentable set of slides
  • A slidedeck that can be hosted to be reviewed later
  • An outline view of the presentation content
  • A PDF of slides that can be printed and distributed
  • A code repository for any demos
  • A text file of any code snippets used in the presentation
  • Incidental thumbnail images and description text

Much of this can be done using free services like GitHub and Heroku, so we’ll postpone talking about headless Firefox and Selenium, and spend the first half of the tutorial examining just how we can begin creating an integrated environment.

Read the full post »

Nov
12
2009

A Curious Use For Selenium – Slideshows

As a cheap, and tech-agnostic developer, I’ve particularly enjoyed using the Slideshow (S9) gem to create my slidedecks for various presentations I’ve given. Thanks to some phenomenal jQuery, I’m able to write up my talks in Markdown, generate an HTML page, and give my talk directly from the browser.

But I’m a lazy, cheap, tech-agnostic developer. To make things a bit easier, I went to the trouble of creating a continuous build system on my private git repository, that creates my HTML page when I commit the Markdown file, pushes it out to http://slides.kevingisi.com/presentation, and no manual building for me anymore.

There was a problem, however. While S9 will gracefully degrade into an outline format, there was no real way for me to display a nice thumbnail version of the slides. I was left with no distributable of my slidedeck. And sadly, Internet Explorer users were unable to view my slides, because S9 is utterly incompatible with IE (read: S9 was written in the past 10 years).

Enter Selenium! After a bit of setup, I was able to get Selenium working with Firefox-headless, to grab a screenshot of each slide in the slidedeck. Selenium, Firefox-headless, and Xvbf let me grab snapshots of each of my slides, and ImageMagick created a PDFTo make this easy, I took a copy of @jeffrafter’s Crocodile gem, made a few modifications (mainly, executing Javascript calls to advance slides before taking screenshots), set up the X virtual frame buffer out on my server (big thanks to this tutorial: Running Selenium Headless), and boom! Now, I’ve got PNG images of every slide in the deck, ready and available. Throw in a little ImageMagick (convert slide_*.png slide.pdf), and now I’ve got a fine distributable that can be uploaded to SlideShare, printed off, copied, and viewed by Internet Explorer users. Just take a look at the results!

Ruby on Rails: The Third Age

The Ruby on Rails framework is going through some radical changes. Not only are we on the cusp of Rails 3, but new technologies like InheritedResources and Formtastic allow us to do things we never could have dreamed of before. Have you seen Ryan Bates’ tutorial on building a blog in 15 minutes in Rails? Let’s cut that down to five.

Together, we’ll take a look at some of the new gems and plugins that have been released, along with some of the upcoming changes with Rails 3 to see how this technology can make your development experience even easier.

Associated Resources
Slides: HTML | PDF
SpeakerRate
Dates and Locations
Chippewa Valley Code Camp—November 14, 2009

Selenium has notoriously been used for integration testing, and @jeffrafter used it to grab screenshots of submissions for the Rails Rumble 2009, but this modification makes browser-based Slideshows even more accessible!

Oct
23
2009

Twin Cities Code Camp #7

Conference & code camp season is in full swing—beginning with the Twin Cities Code Camp tomorrow—Saturday, October 23, 2009.

The code camp boasts some fantastic presentations, ranging from .NET MVC, to Silverlight, to CSS, to the MS Robotics Developer Studio. Friend and mentor @bphogan will be presenting an Introduction to Ruby, which promises to be a great talk.

I’ll personally be presenting No More Excuses: Test Your Javascript, where I’ll discuss the gamut of Javascript issues – from testing performance, testing functionality, and testing accessibility. Credit where credit it due: many of my slides on the JSpec testing framework come directly from @tjholowaychuk himself. At the time of this writing, I’m still adding to these slides, but you can see the current working copy here.

We’ve got at least five ECRuby members heading up for the event, and it’s very exciting to see this group make an appearance. Hopefully, we’ll be primed with a whole bunch of new information for the next ECRuby meeting—currently scheduled for Thursday, November 5, 2009.

Search