Thursday, December 30, 2010

0003 Amnesia


ahhhh, another thing that is only possible due to the joy of 64Bit.
64Bit would be the main solid reason to go with .NET in the new age. Write once run on AnyCPU.
PS: "you sick sick man" was coined by O over chess.

Tuesday, December 28, 2010

0002 StackOverflow


I hate these errors in third party APIs. The only way to handle them in .NET is the load your assembly in a new AppDomain.
Here is the code I used to get the screenshot:

namespace B { class A { static void Main() { Main(); } } }

This just happens to be the shortest compilable code in C# that you can write that contains at least one function call in Main. And by definition also the shortest code that can raise a StackOverflow Exception. Also it requires no usings

MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMSO

Sunday, December 26, 2010

0001 Mindfulness


Woot! First comic up. Wait for this one to settle in. It's a bit close to home.
Learn more about mindfulness : http://en.wikipedia.org/wiki/Mindfulness_(psychology) :)
As always all content available at http://cid-b1318f9920bb8f82.office.live.com/browse.aspx/BooleanArt/