ASP.NET: How to avoid IE8 issues with one line of code

Internet Explorer is nearly always half-baked, never having decent support for the latest language syntax and causes more problems than it solves. IE8 is no exception, really causing ridiculous problems that it shouldn’t. Developers spend days on things that should normally take minutes, because Microsoft teams make a habit out of ignoring best practices and [...]

Confessions of a dummy: partial classes

So I am really dumb sometimes. Other times it is my obliviation to the obvious, otherwise known as true ignorance and unexplored knowledge, but certain things CAN be done in code that are allowed but should not be done. For example, there should only be one public partial class per page (as far as I [...]

Rails: What is new and awesome in Rails 3.1 beta 1

The new hotness of 3.1 beta 1 is the concept of Asset Template Engines (ATE if you condense that) which basically allows you to not have to deal with piles-o-files with javascript, css, images, etc. You can still have tons of them, but now you don’t have to figure out how to include them all. [...]

Rails: Fix your 3.1 beta 1 sprockets problem

So, Rails 3.1 is barely out, and being the brick-wall bashing guinea pig I am, I am ready to rock with it. One problem, sprockets is borked upon install, since rails 3.1 needs sprockets 2.0.0.beta.2 and if you just bundle install it gives you sprockets 2.0.0.beta.4, too new for school. Here’s how to unbork your [...]