Archive for the ‘Software Engineering’ Category
Checking for Existing Index In RavenDB
For my current personal project (i.e., code I am writing for my wife) I am using RavenDB for a few reasons:
It’s time to break out of the OO/RDBMS impedance mismatch
Ayende is a freaking monster
It seems the most promising of the document db’s out there
In order to do queries by anything other than [...]
The Day of Pomodoro
I have a problem with shiny things distracting me. But since the shiny things are so compelling, I need a mental way to deal with them. It needs to be streamlined, simple, and effective. I’ve tried the GTD way, but I can’t seem to hold onto doing it for than a week at a time.
For [...]
Using CodedUITest in Visual Studio 2010
Since the company I work for doesn’t have a big QA presence (we’re working on it), it’s often the case that UI changes break things with no one being aware of it.
I’m not a giant fan of automated UI tests, my brief experience with them has shown them to be brittle. Regardless, I was still [...]
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.
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.
