Async Unit Tests in Visual Studio 2012

Posted by on 12 Dec 2012 | Filed under: C#, Testing

If you’re trying to do unit testing using async functions in Visual Studio 2012, you may be in for a surprise.

Parallel Patterns Library (PPL) and Visual Studio 2010 SP1

Posted by on 16 Aug 2012 | Filed under: C++, Random Stuff

I figured I’d write a short but sweet blog entry that is bound to help someone. In a nutshell, I was using the parallel_for_each function in PPL and Visual Studio 2010 gave me the following error message:

How Long Should Functions Be?

Posted by on 08 Apr 2012 | Filed under: Software Design

When it comes to programming, a question that everyone eventually asks is, “How long should functions be?” Unfortunately the question is very subjective. There is no “right” answer to this question, but there are plenty of wrong answers. On the one hand, you have absolute beginners to write functions that are 3000 lines long (for [...]

Joining Multiple Bézier Curves

Posted by on 04 Dec 2010 | Filed under: Random Stuff

Not too long ago, I answered a question on stack overflow where the question was about how to join multiple bézier curves. What he wanted to do was to draw a continuous “Bézier Curve” along several thousand points as though it were one curve (assume that we’re talking about a cubic bézier curves). I answered [...]

Introducing Checklist

Posted by on 06 Sep 2010 | Filed under: Applications

I spend a lot of time ranting and raving about how code must be clean, maintainable, and must have a clean user interface.

Today I would like to introduce an online application that (I feel) embodies those concepts. It is called (get ready for it…) Checklist! Checklist is an extremely simple checklist application that was thrown together in a weekend and designed to be simple and easy to use. [...]

Older Entries »