Many people are bewildered by regular expression. I don’t particularly blame them; they’ve been a slowly unraveling mystery for me for years, but I think I may have cracked one of the bigger reasons people don’t get them: anchor points.
As helpful as it was, WinRT lacks the ability to supply a string format, although it appears as though WPF still supports it in .NET 4.5. String format is extremely useful, allowing you to provide a format pattern in your Xaml and not have to jump through hoops.
I’ve created a converter to provide [...]
A couple of weeks ago, my company hosted a small code camp for, and by, our own developers. The topic was mobile development. We had 3 sessions: Windows Phone 7, Android, and iOS. I gave the talk on Windows Phone 7 development.
A random Twitterizer developer that emailed me was attempting to pull data for multiple users all in background threads, but noticed that his requests started to be rejected by Twitter. I proposed that it was possibly a spam countermeasure by the Twitter API, and that he needed to throttle his requests. He had no idea [...]
Last night I was playing around and ended up creating a new project to the small collection of example applications for the Twitterizer library. I ended up working around a complaint that a lot of desktop application developers have about implementing OAuth: PIN-Based authentication.
I’ve been spending some time lately writing test case for the Twitterizer library, my pet project. To ensure that all of the publicly accessible classes are marked as serializable, I whipped up a test case that uses reflection to check any class that inherits from a common interface, but also performs a binary serialization [...]