whatspop - Kunal Anand

My computer is hosed

4/24/2006

First of all, I want to give my thanks to all the individuals who have sent me emails and del.icio.us xml files. All of you guys rock. Now comes the bad news. Unfortunately, I cannot seem to run any Python script (including the interpreter) without encountering a blue screen of death (I have seen error messages including "bad caller" and other exceptions). Also, Windows XP seems to forget where Python is despite resetting the environmental variable on boot. On the last boot, Windows did a disk check and complained that the "volume appears dirty." Now it appears I cannot even log in and use my computer for more than 45 seconds before encountering any error. Yikes. Until I get this situation sorted out, I am going to be on a slow computer that lacks the capability to create visualizations. This whole thing is depressing.

Some XML exam questions

4/09/2006

Inspired by Daniel Lemire's post, if I was teaching a class about XML, the following practical (and interesting) questions would certainly comprise my exam:

  1. Given at least 10 blog/link feeds, determine the top ten outbound URLs?
  2. Parse an iTunes library file and capture all the unique artist/albums.
  3. Given a user's XML file from del.icio.us, determine the top 10 intersecting tags.
  4. Scrape a dynamic list from a web site (i.e. the Google Zeitgeist) and serialize a well-formed Atom feed.
You can implement a solution using XML and one scripting language (Perl, Python, Ruby); I have used Python for all of these. I have completed all of these questions and will share my sources with those that take my practical exam and email me answers. There are no awards or prizes, as these are fun and practical bedtime exercises.

About I am currently a Senior Engineer at MySpace. Feel free to check out my personal collective.

Archives
April 2005
May 2005
June 2005
July 2005
August 2005
September 2005
October 2005
November 2005
December 2005
January 2006
March 2006
April 2006
May 2006
June 2006
July 2006
August 2006
September 2006
October 2006
November 2006
January 2007
February 2007
April 2007
November 2007
December 2007
January 2008
March 2008
April 2008
May 2008
June 2008

Subscribe to my feed