Ok. I get it. A lot of people are calling the popular tile-based puzzle game 2048 a rip-off of Three’s. Taylor Casti of the Huffington Post made her sentiments very clear: “I played the game for about 10 seconds before I told my editor that we should let this one go; it didn’t sit well […]
If you’re trying to do unit testing using async functions in Visual Studio 2012, you may be in for a surprise.
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:
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 […]
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 […]