Hello (Virtual) World: Your first Daydream app
I recently bought Google's new phone, the Pixel – and alongside with it, the Daydream View virtual reality headset. It took me a while to figure out how to create programs for it myself (using the JMini3d library); this write-up is meant to help the next person with the same problem. And my future self.
The making of StackEgg
Ever since I joined Stack Exchange in 2010, I've been the developer tasked with implementing the April 1st happenings on Stack Overflow and the other Stack Exchange sites. This is the story of the 2015 April 1st feature, StackEgg.
Catastrophic backtracking: When regular expressions explode
I gave a short talk about catastrophic backtracking in regular expressions at our company meetup, and made a recording of it for anyone else interested in regex performance.
Android development: What I wish I had known earlier
At the beginning of the year, I jumped from web development to Android development. Both Java in general and programming for Android in particular were totally new for me. Half a year later I've learned a lot, and while I'm obviously still lightyears away from being able to call myself an Android pro, here are a few tips that would have been great back then, when I knew even less.
Plain text considered harmful: A cross-domain exploit
I recently found an exploit that can allow malicious sites to get access to certain kinds of cross-origin data that is not wrapped in any container format. This post is a description of that vulnerability, together with some general talk about cross-domain communication.
An unexcited look at browser sniffing
Do you use browser sniffing? Oh, you evil person! Your poor soul will rot and burn forever, you're summoning the wrath of the heavens!
Do you use feature detection exclusively? Aah, a pure spirit! Enlightenment has come to you; you shall forever be applauded by the angels above!
Do you live in the real world? Then this post may be for you.
jQuery script insertion and its consequences for debugging
Look, honey! I injected a dependency!
I've been a fan of using
yield to create generators in Python for a long time, and when I was dragged into
doesn't offer this, so I came up with a little project that tries to emulate
A shout-out to the people of Meta Stack Overflow
Jeff Atwood calls it human unit tests and cheating. Alex Miller calls it User Based Monitoring. Namely, relying on user feedback and bug reports to let us know when we break something.
This works remarkably well – when something is wrong, we'll know about it pretty quickly. You can be sure that Meta Stack Overflow will have a new post, complaining about the bug we just introduced. In no time.
This system has been working great so far. But why? Why do people help us, for free, even though we prove bug after bug after bug that after one thing is fixed, another issue is right around the corner?