In the Fishbowl

Posted by Doug Wed, 08 Mar 2006 13:43:13 GMT

At last night’s XP Cinci we did an interesting exercise called “The Fishbowl”. Mark Windholtz setup his powerbook with a terminal, Safari, TextMate and a time tracking application he had been working on. We then each took turns pair programming on the big screen. While there were two of us “at the console” all the time, we swapped one of them out every 10 minutes.

The exercise was interesting for several reasons. Mostly it turned out to be a good example of what test driven development looks like in Ruby on Rails. The skill level of xp-cinci is split pretty evenly. About half of us have done significant RoR development and the other half is either just interested or just learning. Regardless of skill level though, no one was going to code in public at an XP meeting without writing tests. The best way to learn TDD is by doing. Until you’ve lived through the development cycle of TDD it’s hard to really grasp what it feels like.

The other benefit from the exercise was a fairly lively discussion on “this is how we do it in Rails” versus “this is what I’m used to in Java.” Most of xp-cinci comes from a strong Java background. Even though about half of us are “ruby nubies,” pretty much everyone has a very strong developer background with one technology or another. Here’s a for-instance. I coded up a method that used MyModel.find_by_id(params[:id]) and was asked why I used find_by_id rather than just find. I said that I liked how find_by_id returned nil so I could use it as a false value when doing error checking. As a long-time Java smart-guy, Ed Summerfield was pretty quick to jump on this as a bad practice. He demonstrated how his Rails controllers looked using begin and rescue. I’m not entirely convinced that assigning nil to an object as a fail condition is bad, but his code looked fairly neat with all his error trapping in rescue blocks.

While the skill levels of various members varied, our application we worked on wasn’t really the typical “hello world” style application of tutorials. We started with a working application. Mark and Scott are actually using the application as part of their consulting work at Rails Studio. This gave us the chance to work in a more “normal” fare. We had an existing database we were migrating; we had existing code we had to live within; and we had a “real” customer looking for “real” improvements to their application.

Last night’s meeting was different from our usual fare. It was back to a hands on style where we actually wrote code. While we didn’t get very far in terms of feature points, I think we made a lot of progress in general understanding of both coding practices and Rails development. I hope we continue doing more and talking less.

Posted in , , ,  | Tags , , ,  | 5 comments

Montgomery Community Church Christmas Show

Posted by Doug Mon, 12 Dec 2005 19:14:01 GMT

Singing PraisesThis weekend I was the photographer for Montgomery Community Church’s Christmas Show. Make no mistake, I’m not a professional photographer. This was a hard environment to shoot. Overall I’m mostly pleased with the results. I saved about 50 images, probably 20 or so I’m actually proud of. You can browse through them in my gallery of MCC Xmas Images

Shane is a friend of mine and the worship minister at MCC. He invited my family to the show last year. My camera was about a month old at the time, and I couldn’t help but shoot the show. I got a few good images that he liked. His official church photographer moved away, so left without a better alternative, he asked me to shoot this year’s show. I think I did better than last year. I certainly kept more images. Of course, I was shooting a lot more images too. Last year, I was kinda sneaking around and taking a shot here and there. This year I was pretty much continually shooting.Dancing for Joy

In fact, I really didn’t get to enjoy the show as much. Knowing they do three or four shows, I should have attended one just to watch and enjoy. Then I’d be more in the loop to know what to shoot and be better prepared. Oh, well… maybe next year.

BTW, these were all shot with my Canon Digital Rebel and either my Canon 50mm/f1.8 or my Sigma 70mm – 200mm/f2.8. After a few sample shots, I set my ISO to 800 and left it there. I didn’t want mucking with the ISO to be something I had to worry about while shooting. The stage lighting was hard to deal with. Plus the choir was wearing white shirts with a spotlight on them. They also made heavy use of blue lighting filters that tended to blow that channel. My Rebel was having a hard time keeping up with both auto-focus and auto-exposure. No doubt a Canon 20D would have done better.

Posted in , ,  | Tags  | 2 comments

New Satellite Imagery from Google Maps

Posted by Doug Wed, 07 Sep 2005 00:45:22 GMT

Riverwood Trail Google has updated it’s satellite imagery for Cincinnati. For the longest time it had totally awful imagery for Cinci. I just found out tonight that it’s been updated. I can view my neighborhood at the highest resolution!

That’s the Little Miami River just south of us. The woods along the river make for very good hiking. We’re about a 5 to 10 minute walk to the river itself. Just to the West of us is the local High School. We can hear the band play at their Friday night football games. If you scroll a little further South West, you can see Paramount’s Kings Island.

Posted in  | Tags  | no comments

Older posts: 1 2

Copyright 2001 - 2005 by Lathi.net and Doug Alcorn

Creative Commons, Some Rights Reserved Ruby on Rails Developer Powered by Debian GNU/Linux Powered by Typo