Categories
Development

Some good OO design

Anders Norås has a blog entry where he shows how one can easily apply the wrong solution to a problem. It’s from a book, so of course the authors set out to show one specific thing, but it could be a real world scenario too. People tend to fall in love with one way to do stuff, and try to apply that to everything. On the way he shows some good OO design that should be the first thing that springs to mind. Check out his entry here.

Also check out the link he supplies to Primitive Obsession. I knew it was wrong, I just didn’t have a name for it. Sweet. 🙂

And while you’re at it check out his post on software factories. It is a thorough explanation of how building frameworks is the right way to go instead of doing code generation.

Categories
Photo

Sigma 18-200mm DC OS arrived

Alright so it’s been a few days, but I have finally received my Sigma 18-200mm DC OS. For those of you that don’t understand those numbers it’s a zoom lens with a huge zoom range. It also sports a Optical Stabilization so all those zoom pictures won’t be distorted by my shaking hands. 🙂 Below is a couple if pictures to illustrate the zoom difference compared to my last all round lens:

Zoom ca. 160mm:

Zoom ca. 55mm:

My impressions so far is that it’s a good all round lens, but I’m still getting to know it. It does require a lot of light at max zoom, but that’s just to expect. Check my photoblog for future postings with this lens. 🙂 Read a more detailed review here.

Categories
Development

Load testing Spring Webflow

Here is an article describing how to load test Spring WebFlow with JMeter. Some guys at work has been struggling with the same stuff in Mercury LoadRunner. They did a lot of http header debugging with Fiddler and got it running.