August 2010 Entries
Almost a year ago, during my WCF Date<-->JSON Date adventure, I discovered a bug in the Firefox native JSON implementation where in the stringify replacer does not behave properly.
I and several other people bugged it on bugzilla, but it still hasn't been fixed.
So, you can not trust Firefox native JSON stringify.
What is the solution?
If you are using JSON, you are (or should be) loading json2.js regardless and letting it defer to native implementations when they are present. In the case of Firefox, this leaves you flat, so here is a feature detecting prefix for json2.js.
(function() {
//...
A few years ago, Rob Houweling published a port of #ZipLib for Silverlight 2. This was a good solution for basic needs all the way through to Silverlight 3.
Some breaking changes in the runtime, unnecesary changes in my opinion, rendered slSharpZipLib incompatible with Silverlight 4.
Then there was to be found Nick's wpSharpZipLib which worked for all versions of Silverlight in a limited capacity.
I used wpSharpZipLib in my multi-platform Stack Exchange API client library, Soapi, without issue for several months.
It wasn't until I found myself struggling to perform common use cases in Silverlight that I decided that a dedicated, complete port was in...
Let me answer the last question first:
Why should you care?
You shouldn't care unless
you are a .NET or JavaScript coder who can leverage robust client access libraries for the Stack Exchange API that abstract most all of the messy details of accessing a vast, sometimes unforgiving REST based API allowing you to focus on implementing your ideas and not plumbing.
you are an XXX coder who can leverage API discover tools and services in the development of your Stack Exchange API code.
Otherwise, feel free to add [soapi.xxx] to your ignored tags list.
What is SOAPI?
The Soapi eco-system has evolved from a machine...
After several months of hard work, Soapi.CS is finally ready for general distribution.
[from the StackApps announcement page]
A robust, easy to use, strongly typed, end-to-end StackOverflow API Client Library.
Out of the box, Soapi provides you with a robust client library that abstracts away most all of the messy details of consuming the API and lets you concentrate on implementing your ideas.
A few features include:
A fully relational model of the API data set exposed via a fully 'dot navigable' IEnumerable (LINQ) implementation.
Simply tell Soapi what you want and it will get it for you.
...