The maze book for programmers!
mazesforprogrammers.com

Algorithms, circle mazes, hex grids, masking, weaving, braiding, 3D and 4D grids, spheres, and more!

DRM-Free Ebook

The Buckblog

assorted ramblings by Jamis Buck

Jamis and Marcel at MountainWest RubyConf 2007

29 May 2007 — Announcing the video of a presentation in which the author and Marcel Molina co-delivered a live code review — 1-minute read

Marcel Molina, Jr. and I were able to attend the MountainWest Ruby Conference back in March. At the last minute, one of the speakers was unable to attend, so Pat Eyler asked Marcel and me if we wouldn’t mind doing a live code review. One of the sponsors of the conference, COSL, graciously (and courageously!) provided a Rails project that we could pick apart.

The 45-minute presentation is now available on the Confreaks website. The TextMate window is a bit hard to read, but if you squint just right you can make it all out. :) Considering that Marcel and I only had an hour to prepare, I think it turned out pretty well!

Reader Comments

Ahh, thanks. That was a great presentation.

Jamis, I believe this presentation was the breakout hit of the conference. We received more comments about this presentation than any other. I’m glad that we finally have the record of this available online for those that weren’t able to be there.

A huge thanks to both you and Marcel for really stepping up and helping us out of a jam. (Our backup speaker was also unable to make it.) I know I speak for many when I say I hope to see more presentations like this in the future. Great job!

Just for them of you, who wonder if the video could be resized, I stumbled upon a (little bit tricky) solution: - Resize the <object> in the

with Firebug to 1.5 of it’s original size. - Right click on the flash movie and click on the first entry (“Flash Video Player by….”) - You are getting to the site of this Flash Video Player. - Now just hit the Back-Button and (for me) the video was sized up.

I hope this helps some of you.

Great session, I learned a lot! But the other sessions seems to be worth a look, as well. Just watched the JRuby talk and after a few minutes it’s getting really interesting and does not stop until the last second. It’s a great win, that this videos are available to the public!

Hrmpf… Don’t want to use HTML ;)

- Resize the <object> in the

with Firebug to 1.5 of it’s original size.

- Right click on the flash movie and click on the first entry (“Flash Video Player by….”)

- You are getting to the site of this Flash Video Player.

- Now just hit the Back-Button and (for me) the video was sized up.

I hope this works.

AHHH! It’s too late!

- Resize the <object> in the <p id=”player1”> ( -> kill-HTML-interpreting-character) with Firebug to 1.5 of it’s original size.

Sorry for three posts in a row!

Can’t wait for some brave soul to post the mp3 of your talk Jamis. The slides of cap 2.0 look great btw!

”...Its like a SuperModel…”

Haha…

The best squinting I’ve done in a long time :)

The ConFreaks guys have been very busy getting their business up and the videos edited. We have higher resolution of both the video and the screen capture and we have discussed plans to release a higher quality version. But it will take a bit of time to get all that work done.

Thanks for sharing Jamis, very insightful. Inspired by this, I’ve been trying to massage more logic from controllers into models. One thing I find a common challenge, is how to handle associations when doing this. Eg. an account has a logo, and in my controller I’d do:

account.update_attributes(...)

And then in account:

def logo=(data)
  logo = Logo.new(data)
  ...
  unless logo.save
    #Add logo errors to self.errors..?
  end
end

This doesn’t seem quite right for some reason. Possibly one should not handle different models in the same update if at all avoidable? This is probably more a “The Rails Way” question than an appropriate comment for your blog, I got carried away..

Or, view source and download the .flv then view it in a decent movie player..

Looks like Marcel did all the talking. A bit of a chattermouth, innhi? ;-p

Zing, I wonder if you’ve confused marcel with me. :) I got the impression from watching that I did quite a bit of chattering myself! However, given that we had little time to prepare and virtually no time to rehearse, I think we carried it off alright.

Just in case you want to get the source code to this application you can download it from source forge:

http://sourceforge.net/project/showfiles.php?group_id=187808

If you want to see it running it is located at http://www.ozmozr.com

Thanks again to Jamis and Marcel for reviewing the code. That presentation was our favorite.

Justin

Hi Jamis et al,

We have just finished posting higher resolution AVIs to the site. Please go back and take a look at Jamis and Marcel’s presentation in an easier-to-read format.

Thanks,

Carl Youngblood Confreaks LLC