Hexagons! Hexagons everywhere!

I feel bored. Sometimes I feel so bored that I start walking around as if I were on a tiled map. And sometimes I like to switch from rectangular to hex-shaped tiles 😀 I’ve started working on a hex-based map renderer, just because, as I said. I’m bored. Here’re the...

1 minute read

HttpContext.Current, I hate you.

What if you have some legacy code that you cannot refactor and that contains references to HttpContext.Current ? What if you are writing unit tests for your code and it has references to that legacy code? Option 1: refactor the calls to the legacy code with the proxy pattern and continue writing the...

1 minute read

Simple Membership Provider. Oh you!

{“The Role Manager feature has not been enabled.”} 1/2 hour. Took me half an hour to track down this. It all began with the ASP.NET MVC 4 template, with its shiny AccountController. “Why do I have to write all that auth code? Why can’t I use WebMatrix ? ” {“The...

1 minute read

Brand new start

A long time ago, I had the chance to read this post. At the time I thought it was a great idea (and I still do), but I was still too focused on learning the basic principles of Computer Graphics and all the math behind the scenes. Years have passed...

1 minute read