Iron blogger
A few days ago a fellow Hacker-Schooler proposed Iron Blogger to our batch. The rules are simple: Get a blogWrite on said blog at least once a weekFailing completion of #2, be humiliated and ostracized. Also, forfeit $5. I don’t think that we’ve decided on where the money is going yet; I’m hoping for giant Iron Blogger belt buckles. Of course I’ll do that! At the start of the batch I vowed to avoid any projects focusing on front-end design work, including a personal site. Oops. I also vowed to try my hand at blogging; breaking one vow to fulfill the other can’t be that bad, right? I made an addendum, stating that I could spend exactly two days making a site… and here we are! It had to…
window.clusterFuck
I started a project called Terra a few weeks ago. I added a conditional to that would complain if I’d already defined the library: (function (exports) { function init() { if (!exports.terra) { // do initialization things } else { throw 'You’ve already defined terra. Pay attention…'; } } // more stuff happens… init(); })(this); I’ll admit that this is a really ugly pattern for handling namespaces, but even common patterns are affected by this. Let me take you on a journey through the biggest browser wat I’ve ever seen. I ran the code and the console yelled at me. Strange… but maybe I forgot a somewhere. I set some…