bio photo

Notes on things I've learned

→ Twitter → Github

Google Code Jam Practice May 03, 2013

I was playing around with Google Code Jam practice question and was thinking of a smarter way to solve this question. The particular challenge I'm doing is Hedgemony problem. I ended up solving it with two solutions and I did performance benchmark for fun. First solution First solution is pretty

Deserializing Json list of objects Apr 28, 2013

I am currently working to finish up Pocket Api wrapper for C#/.Net. In turned out that the Api returned list of articles/items in Json and the list is not in array form. It is actually a list of object. We will see how we can deserialize this using

WP8 Uri association with Caliburn.Micro Apr 27, 2013

Windows Phone 8 has this new feature of opening an app (in this case my own app) by assigning Uri. It is useful when you are doing Oauth and need to supply the redirection uri. If you are using this new feature, then your app can be automatically opened after

ETag in HTTP Headers Apr 27, 2013

One of the thing that I learned while making my app is how to optimize call to the webservice returning XML (RSS feed and the like). There is one cool feature called ETag. Sometimes you need to know whether the RSS feed has changed, so you can make a request

RestSharp Oauth 2.0 Apr 26, 2013

My Forex News app (WP8) has been released. Yeay for that! Currently working on my next app. In the meantime, I am in the process of creating an API wrapper for Pocket/Read It Later for C#. Initially I implemented all the Oauth 2.0 manually using WebClient class, but