Archive for the ‘Software Engineering’ Category

Custom DataAnnotation for US States

Pivoting off this post by Phil Haack about creating custom data annotations, I found myself in need of one today when putting together some code for a project for the spousal unit. I wanted to be sure that a given field contained a valid abbreviation for a U.S. State.
It’s simple, but it works. I’m going [...]

Linq to Sql Won’t Generate Partial Methods for View

So let’s say that you drag your view onto the design surface in L2S. Why, you ask, aren’t there the extensibility methods for OnCreated() and the rest of the INotifyPropertyChanged interface?
Because a view doesn’t have a primary key and without one there is nothing to track.
Set a PK, save, and watch the magic happen.

November 23, 2009 • Tags: , • Posted in: Software Engineering • No Comments

Join the Steve Jobs Dead Pool

Apple and Steve Jobs have only themselves to blame for the rampant speculation that Jobs is seriously ill. Steve-O is skipping what has traditionally been the highlight MacBoy day of the year, the Macworld keynote address.
I have no idea whether or not the rumors are true (that’s the whole point of rumors, after all), but [...]

Close With Humor (or, The Tiger Did What?)

I had a job interview for a software engineering gig today. Hey, not all of us get to lead glamorous lives as full-time bloggers. As is increasingly common, I was asked to do a technical presentation. Here’s the slide I closed with:

To ask the quintessential focus group question, does this picture improve your image of [...]

Learning C#

In 10 years of programming, I’ve needed to switch languages frequently. Sometimes as many as five times a year. It’s good to have a breadth of knowledge, but there’s nothing wrong with depth.

December 2, 2008 • Tags:  • Posted in: Software Engineering • No Comments