AutoScroller For Silverlight 2 ScrollViewer – Working on my own scrolling issues… there seem to be alot of them, but the more I dig into the control, the more I understand why.
How to set the row height of a Grid in the code – Valuable if you're creating grids on the fly… which you shouldn't have to do, but sometimes the UserControls aren't working the way you want and the client deadline is approaching and you're beginning to panic and a some solution is better than no solution…
Yeah, yeah… I know it’s long past the time when anyone want to revisit the wonders of the 2008 presidential campaign, but the stars aligned for me to build this thing.
Star #1: I’m been meaning to learn JSON forever because everyone is talking about it.
Star #2: I’ve been meaning to get into pulling data from a publicly available API using a Silverlight application.
And so, due to several late nights and the infinite patience of my wonderful wife, I’ve finished my first data driven Silverlight information visualization. An explanation follows below the app.
The application visually displays how many stories in the New York Times in a given week mentioned one of the presidential candidates. If your favorite candidate does not appear, I apologize. I chose the seven most frequently mentioned candidates in each party.
My journey of exploration began at the New York Times developer site where I got my developer key and started exploring the data from their brand new Article Search API, with which you can search articles in the New York Times as far back as 1981.
Because the NYT API returns a JSON result, that meant I had to learn JSON. I highly recommend it. Super easy. I ended up scraping the data I needed and parsing it into a custom JSON file of my own so I wasn’t making a couple hundred calls to their servers every time I wanted to run my application.
From there, it was actually a simple matter to pull the idealized data into my application and start visualizing it. In case you’re wondering, the placement on the map doesn’t represent anything at all… I was just looking for a good way to show the data and I liked this one.
A special thanks to my wife, the math genius, for reminding me to take the square root my data so that my circles ended up with proportional areas (instead of exponential ones).
There are, of course, several things I would change about this if I had the time. The slider can be flaky, the fonts could use some more work and the code in general is a bit of a disaster. But this is all the time I had and I think it works pretty well.
Integrating Silverlight and ASP.NET MVC – Vital information if you're using Silverlight with MVC… Which I think about from time to time even though I have no time to actually do something
Specialists Versus Generalists: A False Dichotomy? – Pabini Gabriel-Petit posits a counter argument to Jared Spool's discussion on specialists and generalists in UX. Or maybe I like it because Gabriel-Petit pretty much describes me to a tee. (thanks to jalderman)
WPF (Video) Hackery! Part I – Jer at http://jmorrill.hjtcentral.com has a hack for getting webcam to show up in WPF. Need to try! I got this fantastic webcam for Christmas and I've only goofed around with some AR stuff. (thanks to joemcbride)