<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Sameer Ahuja</title>
	<atom:link href="http://sameerahuja.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://sameerahuja.com</link>
	<description></description>
	<lastBuildDate>Mon, 08 Feb 2010 08:04:57 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>My Windows 7 Themepack</title>
		<link>http://sameerahuja.com/blog/my-windows-7-themepack/</link>
		<comments>http://sameerahuja.com/blog/my-windows-7-themepack/#comments</comments>
		<pubDate>Sat, 24 Oct 2009 05:15:56 +0000</pubDate>
		<dc:creator>sameer</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://sameerahuja.com/?p=200</guid>
		<description><![CDATA[I just discovered that it takes one click in Windows 7 to pack all my wallpapers, sound scheme, and Aero color scheme into a single file, and another click to load it onto another Win7 PC. Given that information, I just had to create a pack of my own. Lo and behold, here&#8217;s a themepack [...]]]></description>
			<content:encoded><![CDATA[<p>I just discovered that it takes one click in Windows 7 to pack all my wallpapers, sound scheme, and Aero color scheme into a single file, and another click to load it onto another Win7 PC. Given that information, I just had to create a pack of my own. Lo and behold, here&#8217;s a themepack with all my favorite wallpapers that I&#8217;ve acquired over months of idle time, along with my favorite Aero color scheme (Gray), and my favorite sound scheme (As few as possible).  If it interests you, here&#8217;s the link:</p>

<p><a href="http://sameerahuja.com/files/SA.themepack">SA.themepack</a></p>

<p>Be warned though, it&#8217;s huge (~89MB). It has several wallpapers, and they are as super-high-resolution as I could get. The wallpapers are all from publicly available sources, and I&#8217;ve been careful to not include any restricted content. However, remembering all the sources I&#8217;ve acquired them from is beyond my human capacity, so let&#8217;s just thank the Internets for them. If you own the rights to a wallpaper in the pack and would like me to remove it or to credit you in this post, please send me an email using the contact page, and I&#8217;ll do that in a jiffy.</p>

<p>Oh, and when you get to <em>END</em> wallpaper, please excuse me for it. You know I had to do it.</p>
]]></content:encoded>
			<wfw:commentRss>http://sameerahuja.com/blog/my-windows-7-themepack/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>A story with a moral</title>
		<link>http://sameerahuja.com/blog/a-story-with-a-moral/</link>
		<comments>http://sameerahuja.com/blog/a-story-with-a-moral/#comments</comments>
		<pubDate>Sun, 12 Jul 2009 10:13:58 +0000</pubDate>
		<dc:creator>sameer</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[life]]></category>

		<guid isPermaLink="false">http://sameerahuja.com/?p=156</guid>
		<description><![CDATA[Image via Wikipedia

&#8220;I am going to just go back to India. I&#8217;m just not responsible enough to do anything worthwhile.&#8221;

As I stood sweating in the hot summer sun waiting for the 3PM Tom&#8217;s Creek A to arrive, I could not seem to find words degrading enough to describe myself. This was my second day in [...]]]></description>
			<content:encoded><![CDATA[<div class="zemanta-img" style="margin: 1em; display: block;"><div><dl style="width: 210px;" class="wp-caption alignright"><dt class="wp-caption-dt"><a href="http://en.wikipedia.org/wiki/Image:Indian_passport_Cover.jpg" rel="lightbox[156]"><img src="http://upload.wikimedia.org/wikipedia/en/7/73/Indian_passport_Cover.jpg" alt="Indian passport Cover" title="Indian passport Cover" height="255" width="200"></a></dt><dd class="wp-caption-dd zemanta-img-attribution" style="font-size: 0.8em;">Image via <a href="http://en.wikipedia.org/wiki/Image:Indian_passport_Cover.jpg" rel="lightbox[156]">Wikipedia</a></dd></dl></div></div>

<p><em>&#8220;I am going to just go back to <a class="zem_slink" href="http://en.wikipedia.org/wiki/India" title="India" rel="wikipedia">India</a>. I&#8217;m just not responsible enough to do anything worthwhile.&#8221;</em></p>

<p>As I stood sweating in the hot summer sun waiting for the 3PM Tom&#8217;s Creek A to arrive, I could not seem to find words degrading enough to describe myself. This was my second day in <a class="zem_slink" href="http://en.wikipedia.org/wiki/Blacksburg%2C_Virginia" title="Blacksburg, Virginia" rel="wikipedia">Blacksburg, Virginia</a>. And I had concluded that I was going back to where I came from. You see, when I came here, I came with the understanding that out of everything that I possessed, there was just one thing that was critical to my presence. My passport. This understanding had been ingrained in my mind by my father&#8217;s persistence in repeating it to me, even at the cost of me mocking him every time he did so, once every couple of hours for each day of the week before I actually left India.</p>

<p>And so I stood there; now almost soaking wet from all the sweat in that hot, hot summer sun; trying to avoid the realization of the enormity of the fact that I had lost my passport on my <strong>second day</strong> at <a class="zem_slink" href="http://www.vt.edu/" title="Virginia Polytechnic Institute and State University" rel="homepage">Virginia Tech</a>. Earlier in the day I had found that the passport wasn&#8217;t in its natural habitat: The leather pouch in the inner pocket of the document holder I kept in my backpack. Since then, I had traced every step I took the day before. I mean that literally. I had searched the dorm room I stayed at, the laundry room of the dorms, the pavements that I had walked, all the paths on drillfield (I didn&#8217;t remember the one I had walked on), and of course, the empty apartment I was going to stay in before I lost the only document that I was not supposed to lose. I had given up on the search.</p>

<p>I went back to the apartment and lied down on the bare floor next to the two trolley bags, the backpack and the handbag that represented everything that I had brought with me to the States. Everything except the only thing that I wasn&#8217;t supposed to lose. I tried replaying the last day for one last time in my head. No luck. I was as doomed as Windows Me was the day it released. Well, maybe not <em>that</em> much.</p>

<p>But I digress. Having resigned to my fate, I tried to go to sleep. Now the part from here to what happened next is a gray area in my memory. But here&#8217;s what I do remember: I woke up shouting &#8220;The Bag!&#8221;. I opened the zip of the front document pocket of the larger  bag. It was empty. I opened the zip of the front document pocket of the smaller trolley bag. There, at the bottom of the pocket, my fingers touched the leathery material that makes up the cover of all passports issued by the Indian Republic.</p>

<p>The next few moments are hard to describe. So I won&#8217;t. Suffice to say, I really <strong>was</strong> the happiest person on the planet for those moments.</p>

<p>This is what had happened: When I had arrived in Blacksburg, my baggage didn&#8217;t arrive with me &#8211; it had been lost in one of the 547 transfers you need to make when coming to Roanoke Regional Airport from anywhere else in the world. Fortunately, the airlines found my bags soon enough. On the evening the day before, the airlines had called me and told me that they were sending the bags at the apartment. When I received the bags, I had to show the personnel my ID. The only ID I had on me was my passport. So I took it out of its natural habitat to show it to the personnel. They gave me the bags and went away.</p>

<p>Now these were heavy bags, filled beyond their legal limits. One person couldn&#8217;t lift them both together. Ideally, I should have taken them in one by one. But having lived in big Indian cities for all 25 years of my life, my brain was conditioned to believe that you never leave <strong>anything</strong> unattended. Anywhere.</p>

<p>So I had to pull in the two trolley bags together, one in each hand. But I was holding the passport in one of my hands. I could keep it in one of the pockets of my Jeans, but that might bend it. This was the most important document in my possession, I couldn&#8217;t let it be bent. Umm, wait, I&#8217;ll keep it in the front pocket of one of these bags. It&#8217;ll be safe there. Later, I&#8217;ll take it out and put it in its natural habitat. And then, something happened. I went in, and completely forgot about taking the passport out of the bag. Hell, I even forgot I put it there.</p>

<p>Well, now that this trauma was over, that night I went out of the apartment to the nearby park to watch the stars in the sky. I come from Delhi &#8211; I&#8217;m blown away whenever I can see anything more than the moon in the night sky. As I was watching the stars, I thought to myself &#8211; lesson well learnt. In the future, I would not let magical moments dictate my life, and no matter what happens, I would <strong>always</strong> keep documents where they belong.</p>

<p>Now, you must be thinking &#8211; &#8220;I read through this whole post just to read that? I mean, that&#8217;s a pretty bland story.&#8221; To which let me respond by saying that its less bland than <a href="http://www.youtube.com/watch?v=NOwPGqIzNwQ">watching kittens sleep for three minutes in a YouTube video</a> &#8211; an activity I&#8217;m sure you&#8217;ve indulged in before. But anyways, the story doesn&#8217;t end there. I wish, oh god I wish, that it did. But it doesn&#8217;t. In the course of the next two years, I managed to (really) lose my passport once, and my I-20 twice. Over the course of these mishaps, my sense of self-deprecation has mellowed, and I&#8217;ve come to accept things for what they really are. Today, as I get ready to finish up with my degree and get started with the next chapter of my life, I still remember vividly that second day in Blacksburg, and often think of  the real moral of my story &#8211; &#8220;Shit happens.&#8221;</p>

<div style="margin-top: 10px; height: 15px;" class="zemanta-pixie"><img style="border: medium none ; float: right;" class="zemanta-pixie-img" src="http://img.zemanta.com/pixy.gif?x-id=cbb66935-77bb-4573-a36e-eb1d98ac848a"><span class="zem-script more-related pretty-attribution"><script type="text/javascript" src="http://static.zemanta.com/readside/loader.js" defer="defer"></script></span></div>
]]></content:encoded>
			<wfw:commentRss>http://sameerahuja.com/blog/a-story-with-a-moral/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Editing Wordpress pages using blogging tools</title>
		<link>http://sameerahuja.com/blog/editing-wordpress-pages/</link>
		<comments>http://sameerahuja.com/blog/editing-wordpress-pages/#comments</comments>
		<pubDate>Thu, 26 Feb 2009 21:44:31 +0000</pubDate>
		<dc:creator>sameer</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Code]]></category>
		<category><![CDATA[TextMate]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://sameerahuja.com/?p=56</guid>
		<description><![CDATA[I&#8217;m a heavy user of TextMate, and use the blogging bundle to create and edit posts. I&#8217;m also a heavy user of Wordpress Pages that enable wordpress to be used as a CMS. The one issue that always bugs me with any new Wordpress installation is that you cannot edit pages from XML-RPC blogging tools [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m a heavy user of TextMate, and use the <a href="http://blog.macromates.com/2006/blogging-from-textmate/">blogging bundle</a> to create and edit posts. I&#8217;m also a heavy user of Wordpress Pages that enable wordpress to be used as a CMS. The one issue that always bugs me with any new Wordpress installation is that you cannot edit pages from XML-RPC blogging tools like TextMate, Ecto, Windows Live Writer and such. The only working solution I&#8217;ve found to the same is a <em>little</em> ugly: You&#8217;ll need to edit one of the core wordpress files. I wouldn&#8217;t do it if I didn&#8217;t love TextMate so much.</p>

<p><a href="http://maisonbisson.com/blog/post/10834/editing-wordpress-pages-via-xml-rpc/">This post</a> from Maison Bisson described the process of editing the files for a previous version. The good news is, for the latest Wordpress releases (I&#8217;ve checked 2.7.0 and 2.7.1), the data model has been changed to remove the &#8220;static&#8221; post status for pages (They now have the same status codes as posts), which means that no changes are required to the update fundtion; and a field called post_type now stores information about the kind of post (blog post, page, attachment).</p>

<p>So, essentially, here&#8217;s all you need to do to magically get the list of latest posts AND pages on your blogging client:</p>

<p>Modify this query in <code>wp_includes/post.php</code>:
<pre class="brush: php;"> $sql = &quot;SELECT * FROM $wpdb-&gt;posts WHERE post_type = 'post' ORDER BY post_date DESC $limit&quot;;</pre></p>

<p>to this:</p>

<p><pre class="brush: php;"> $sql = &quot;SELECT * FROM $wpdb-&gt;posts WHERE post_type = 'post' OR post_type = 'page' ORDER BY post_date DESC $limit&quot;;</pre></p>

<p>This is a scotch-tape solution that&#8217;s worked well for me so far. Try it at your own risk. Also, remember that when you update your Wordpress installation, these changes might get overwritten.</p>

<p><strong>UPDATE</strong>: This works for 2.9.1 too, see comments below.</p>
]]></content:encoded>
			<wfw:commentRss>http://sameerahuja.com/blog/editing-wordpress-pages/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>The social loop between my foot and my mouth is now complete</title>
		<link>http://sameerahuja.com/blog/the-social-loop-between-my-foot-and-my-mouth-is-now-complete/</link>
		<comments>http://sameerahuja.com/blog/the-social-loop-between-my-foot-and-my-mouth-is-now-complete/#comments</comments>
		<pubDate>Tue, 25 Nov 2008 01:02:05 +0000</pubDate>
		<dc:creator>sameer</dc:creator>
				<category><![CDATA[SNS]]></category>
		<category><![CDATA[Opinions]]></category>
		<category><![CDATA[Orkut]]></category>
		<category><![CDATA[Twitkut]]></category>
		<category><![CDATA[Twitter]]></category>

		<guid isPermaLink="false">http://sameerahuja.com/2008/11/the-social-loop-between-my-foot-and-my-mouth-is-now-complete/</guid>
		<description><![CDATA[Since my body and mind are refusing to do any productive work today, I thought I&#8217;ll spend some time to post this thought that has been ringing in my head for quite a while. As is pretty clear these days to any social media specialist, there is a very strong personal identity management aspect to [...]]]></description>
			<content:encoded><![CDATA[<p>Since my body and mind are refusing to do any productive work today, I thought I&#8217;ll spend some time to post this thought that has been ringing in my head for quite a while. As is pretty clear these days to any <a href="http://www.gapingvoid.com/Moveable_Type/archives/004719.html">social media specialist</a>, there is a very strong personal identity management aspect to the web today. The first thing that any HR worth his/her salt will do on receiving your resume, for example, is google your name. Secondly, they might use tools like <a href="http://pipl.com">Pipl</a>, <a href="http://www.123people.com">123People</a> or <a href="http://www.spokeo.com">Spokeo</a> to get deeper insights into what you&#8217;ve been up to on the web. If you&#8217;re on <a href="http://www.friendfeed.com">friendfeed</a>, you can make their task a little easier and aggregate your online activities at one place. And, all of us are generating tons of stuff on the web for these services to aggregate and search. Try searching for your name on Pipl. If you are in the core demographic of the people who read this blog, I bet that you&#8217;ll find something in the results that you didn&#8217;t expect to see. And you can&#8217;t delete it.</p>

<p>And that&#8217;s the thing about the web and social applications, which is not necessarily bad, but its something that not everyone understands. It&#8217;s hard to remove your footprints.</p>

<p>Which brings me to what I really wanted to share in this post. It&#8217;s an imaginary scenario that popped into my head the day I installed <a href="http://ankitahuja.com/blog/webapps/twitkut/">Twitkut</a> on my <a href="http://www.orkut.com">Orkut</a> profile. (Disclaimer: The author of the app is my younger brother. I am giving his app free publicity here in the hope that he&#8217;ll stop asking me for a MacBook for Christmas.) It&#8217;s an app that shows my tweets on my orkut profile and in my orkut update stream. As soon as I installed the app, I realized that it wasn&#8217;t the smartest idea in the world. You see, I post a lot of stuff on twitter that I expect only a small set of people to read. I know any one can read all of my posts by simply going to <a href="http://twitter.com/sam33r">my twitter home</a>, but I don&#8217;t expect them to care enough to go there, or to even know enough about me to go there. I certainly don&#8217;t expect my mom to go there. And I know she never will. She&#8217;s a normal person who uses a computer only for utilitarian purposes that include email, skype and browsing photos. That&#8217;s it. And Twitter, as a <a href="http://perez.cs.vt.edu">smart person I know</a> once said, Twitter is still this underground movement in the whole scheme of things, and sometimes its surprising to the &#8216;tweeter&#8217;, as it may, when a more mainstream audience gets access to and comments on the tweet.</p>

<p>Now, Orkut is a social network that is becoming increasingly and scarily mainstream in India. I have school friends, ex-bosses, cousins, relatives and even past teachers as friends on Orkut. (I have <a href="http://twitter.com/mapq">my advisor</a> as a friend on Twitter, but that&#8217;s another story) And my tweets aren&#8217;t meant to be read by all of these people. Especially the relatives. Because that brings them from the online social domain to the very active Ahuja family network domain. Here&#8217;s a potential scenario:</p>

<p><img src="http://sameerahuja.com/wp-content/uploads/2008/11/social-loop.png" alt="Social Loop" /></p>

<p>I&#8217;m willing to be my guinea pig and wait for this to happen some day. When it does, I promise to report in full detail. Till then, enjoy tweeting and friend-feeding, and remember to keep forgetting to keep those wild party pics private. It&#8217;s so much more fun to browse through photos when you know you are not meant to see them.</p>
]]></content:encoded>
			<wfw:commentRss>http://sameerahuja.com/blog/the-social-loop-between-my-foot-and-my-mouth-is-now-complete/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>A note on the Delhi blasts</title>
		<link>http://sameerahuja.com/blog/a-note-on-the-delhi-blasts/</link>
		<comments>http://sameerahuja.com/blog/a-note-on-the-delhi-blasts/#comments</comments>
		<pubDate>Sat, 13 Sep 2008 20:50:38 +0000</pubDate>
		<dc:creator>sameer</dc:creator>
				<category><![CDATA[Opinions]]></category>
		<category><![CDATA[Delhi]]></category>

		<guid isPermaLink="false">http://sameerahuja.com/2008/09/a-note-on-the-delhi-blasts/</guid>
		<description><![CDATA[I read the news of the blasts today, and it brought back bad memories. I was in Delhi the last time the city was victim to an act of terrorism of an even greater scale. This is what I had to say about it then. I just wanted to post a note on this blog [...]]]></description>
			<content:encoded><![CDATA[<p>I read <a href="http://timesofindia.indiatimes.com/Terror_strikes_Delhi_30_killed_in_5_blasts/articleshow/3479914.cms">the news of the blasts</a> today, and it brought back bad memories. I was in Delhi the last time the city was victim to an act of terrorism of an even greater scale. <a href="http://sameer.ddhd.com/2005/11/kuch-baat-hai-ki-hasti.html">This is what I had to say about it</a> then. I just wanted to post a note on this blog reiterating the same feelings.</p>

<p>If the cowards&#8217; intention was to cause fear; then my city was a wrong choice, is a wrong choice, and always will be a wrong choice. We&#8217;ll be distraught, angry, strained, even broken. But not afraid. That&#8217;s just not how we roll. What they should really be praying for, is that they don&#8217;t fall into the hands of one of us.</p>
]]></content:encoded>
			<wfw:commentRss>http://sameerahuja.com/blog/a-note-on-the-delhi-blasts/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Read-Write Culture, Lawrence Lessig, and why he should be in the Congress.</title>
		<link>http://sameerahuja.com/blog/read-write-culture-lawrence-lessig-and-why-he-should-be-in-the-congress/</link>
		<comments>http://sameerahuja.com/blog/read-write-culture-lawrence-lessig-and-why-he-should-be-in-the-congress/#comments</comments>
		<pubDate>Sun, 17 Feb 2008 01:35:54 +0000</pubDate>
		<dc:creator>sameer</dc:creator>
				<category><![CDATA[Around the web]]></category>
		<category><![CDATA[Opinions]]></category>
		<category><![CDATA[SNS]]></category>
		<category><![CDATA[Web 2.0]]></category>
		<category><![CDATA[Copyrights]]></category>

		<guid isPermaLink="false">http://sameerahuja.com/2008/02/read-write-culture-lawrence-lessig-and-why-he-should-be-in-the-congress/</guid>
		<description><![CDATA[A few days back, I stumbled onto this TEDTalk by Lawrence Lessig. It&#8217;s by far the most convincing description that I&#8217;ve come across of the state that our culture and law finds itself in today. Watch it and decide if you&#8217;d like to vote for drafting him into the Congress.

 
]]></description>
			<content:encoded><![CDATA[<p>A few days back, I stumbled onto this TEDTalk by Lawrence Lessig. It&#8217;s by far the most convincing description that I&#8217;ve come across of the state that our culture and law finds itself in today. Watch it and decide if you&#8217;d like to vote for <a href="http://www.facebook.com/group.php?gid=13417986140">drafting him into the Congress</a>.</p>

<p><!--cut and paste--><object width="446" height="326"><param name="movie" value="http://video.ted.com/assets/player/swf/EmbedPlayer.swf"></param><param name="allowFullScreen" value="true" /><param name="wmode" value="transparent"></param><param name="bgColor" value="#ffffff"></param> <param name="flashvars" value="vu=http://video.ted.com/talks/embed/LarryLessig_2007-embed_high.flv&#038;su=http://images.ted.com/images/ted/tedindex/embed-posters/LarryLessig-2007.embed_thumbnail.jpg&#038;vw=432&#038;vh=240&#038;ap=0&#038;ti=187" /><embed src="http://video.ted.com/assets/player/swf/EmbedPlayer.swf" pluginspace="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" wmode="transparent" bgColor="#ffffff" width="446" height="326" allowFullScreen="true" flashvars="vu=http://video.ted.com/talks/embed/LarryLessig_2007-embed_high.flv&#038;su=http://images.ted.com/images/ted/tedindex/embed-posters/LarryLessig-2007.embed_thumbnail.jpg&#038;vw=432&#038;vh=240&#038;ap=0&#038;ti=187"></embed></object></p>
]]></content:encoded>
			<wfw:commentRss>http://sameerahuja.com/blog/read-write-culture-lawrence-lessig-and-why-he-should-be-in-the-congress/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Experiments with publishing application activity</title>
		<link>http://sameerahuja.com/blog/experiments-with-publishing-application-activity/</link>
		<comments>http://sameerahuja.com/blog/experiments-with-publishing-application-activity/#comments</comments>
		<pubDate>Sun, 10 Feb 2008 15:29:57 +0000</pubDate>
		<dc:creator>sameer</dc:creator>
				<category><![CDATA[Play]]></category>
		<category><![CDATA[Web 2.0]]></category>
		<category><![CDATA[Code]]></category>
		<category><![CDATA[Mashups]]></category>
		<category><![CDATA[RescueTime]]></category>
		<category><![CDATA[Wakoopa]]></category>

		<guid isPermaLink="false">http://sameerahuja.com/2008/02/experiments-with-publishing-activity/</guid>
		<description><![CDATA[For a couple of weeks now I&#8217;ve been monitoring what I do on my Mac using two tracker tools: Wakoopa and RescueTime. Both have unique approaches to the theme of tracking. Wakoopa builds a social network around the applications that you use. It lets you build &#8216;teams&#8217; of people and see what your friends have [...]]]></description>
			<content:encoded><![CDATA[<p>For a couple of weeks now I&#8217;ve been monitoring what I do on my Mac using two tracker tools: <a href="http://www.wakoopa.com">Wakoopa</a> and <a href="http://www.rescuetime.com">RescueTime</a>. Both have unique approaches to the theme of tracking. Wakoopa builds a social network around the applications that you use. It lets you build &#8216;teams&#8217; of people and see what your friends have been using. The other two significant things that it does are statistical visualizations, and recommendations of apps based on what you&#8217;ve been using. So if you&#8217;ve been using a lot of TextEdit lately, it might recommend TextMate as a &#8217;similar&#8217; application. This, according to my guesswork, they do by matching application tags.</p>

<p><img style="float: none;" src="http://sameerahuja.com/wp-content/uploads/2008/02/wakoopa-recommendations.jpg" alt="Wakoopa Recommendations" /></p>

<p>The other way to do these recommendations could be to match people based on their application sets (or better still, their activity sets. If app = Microsoft Word, then Activity = word processing); and then provide recommendations based on what other people who have similar appication/activity sets are using, that the current user isn&#8217;t.</p>

<p>Anyways, Wakoopa does provide a simple API to accessing its data, and that is a great thing to do. That&#8217;s something that RescueTime hasn&#8217;t done yet, but they promise to do the same soon on their site. RescueTime has a unique approach to this whole domain. They aren&#8217;t building a social network (at least till yet), and this is how they track your apps: If you are using a standard application, the RescueTime tracker records its usage as any other tracker. If, however, you are on a browser, the tracker records the website that you&#8217;re visiting as an &#8216;application&#8217;, which makes some sense in this era of online applications. You can then go to the website and assign &#8216;tags&#8217; to applications. These can later be visualized to see how much time, for example, you spend &#8216;Watching Videos Online&#8217;.</p>

<p><img style="float:none; margin: 3px 3px 3px 3px;" src="http://sameerahuja.com/wp-content/uploads/2008/02/rescue-time-dashboard.jpg" alt="Rescue Time Dashboard" /></p>

<p>So anyways, I&#8217;ve been itching to use the incredibly simple to use <a href="http://code.google.com/apis/chart/">GChart APIs</a> with an interesting enough data-set, and Wakoopa stats are sortof interesting (at least for me&#8230;), so last weekend I cooked up a script to make a pie chart of my recent application usage. Its available <a href="http://sameerahuja.com/playground/visualize-this/">here</a>, and at the point of writing this post, this is how my stats looked:</p>

<p><img style="border-width: 2px; float:none; margin: 3px 3px 3px 3px;" src="http://sameerahuja.com/wp-content/uploads/2008/02/application-use-chart.jpg" alt="Application usage chart" /></p>

<p>Which, I suppose, is a pretty reasonable graph. Half of what we do on our computers these days is more or less on the web (50% of which is on YouTube, which is, IMHO, the greatest time sink ever invented). Mail takes about 20%, and the actual work takes the rest. (Source after the jump)</p>

<p><span id="more-34"></span></p>

<p>The source code for the vis is pretty simple. All it does is load the XML API URL, parse through to generate a Google Chart compatible format, and call the image URL for Pie Charts:</p>

<p><pre class="brush: php;">
$request_url = &quot;http://api.wakoopa.com/sameer/most_used.xml&quot;;</p>

<p>//App names
$names = &quot;&quot;;
//Usage values
$values = &quot;&quot;;
//For calculations
$total = 0;</p>

<p>$ch = curl_init();
$timeout = 5;
curl_setopt($ch, CURLOPT_URL, $request_url);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, $timeout);
$data = curl_exec($ch);
curl_close($ch);</p>

<p>$xml = new SimpleXMLElement($data);</p>

<p>//Computing total
foreach($xml-&gt;software as $sw){
   $total += intval($sw-&gt;{'active-seconds'});
}
//Computing values in GChart-compatible format. Have a look at this: http://code.google.com/apis/chart/#pie_charts
foreach($xml-&gt;software as $sw){
       $names = $names.&quot;|&quot;.$sw-&gt;name;
       $values = $values.&quot;,&quot;.(round(intval($sw-&gt;{'active-seconds'})*100/$total, 1));
    }</p>

<p>//That's it! Load the image.
echo '&lt;br&gt;&lt;img src=&quot;http://chart.apis.google.com/chart?
cht=p&amp;chco=3587DCFF,99E142FF,993C99FF,90A4E5FF,DAD52EFF,C95854FF,AE4496FF&amp;
chd=t:'.trim($values, &quot;,&quot;).'&amp;chs=450x300&amp;chl='.trim($names,&quot;|&quot;).'&quot;&gt;';
</pre></p>
]]></content:encoded>
			<wfw:commentRss>http://sameerahuja.com/blog/experiments-with-publishing-application-activity/feed/</wfw:commentRss>
		<slash:comments>10</slash:comments>
		</item>
		<item>
		<title>Information visualization on the web</title>
		<link>http://sameerahuja.com/blog/information-visualization-on-the-web/</link>
		<comments>http://sameerahuja.com/blog/information-visualization-on-the-web/#comments</comments>
		<pubDate>Sat, 25 Aug 2007 13:53:39 +0000</pubDate>
		<dc:creator>sameer</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[InfoVis]]></category>
		<category><![CDATA[Link]]></category>

		<guid isPermaLink="false">http://sameerahuja.com/blog/2007/08/information-visualization-on-the-web/</guid>
		<description><![CDATA[I got the link to this excellent post during my first InfoVis class at VT, it&#8217;s a great collection of Information Visualization projects on the web. A must-bookmark for anyone interested in visualizations. The web is like the melting pot for such applications, and that&#8217;s understandable, if not for anything else, then for the sheer [...]]]></description>
			<content:encoded><![CDATA[<p>I got the <a href="http://www.smashingmagazine.com/2007/08/02/data-visualization-modern-approaches/">link to this excellent post</a> during my first InfoVis class at VT, it&#8217;s a great collection of Information Visualization projects on the web. A must-bookmark for anyone interested in visualizations. The web is like the melting pot for such applications, and that&#8217;s understandable, if not for anything else, then for the sheer number of data sets available to visualize.</p>

<p>As I was browsing through them, I enjoyed some more than the others, and that led me to wonder if I can setup an experiment to rate them. That&#8217;s pretty difficult though. If providing a &#8220;higher insight&#8221; is considered as the ultimate goal of a visualization, then it becomes rather hard to rate them. Insights are a function of so many things that even an experimental setup may find it hard to extract the &#8220;Interface driven insight&#8221; part of them. Especially when the visualizations themselves are about such diverse subjects. However, what attracts me to visualizations is the fact that they are so much like works of art, and hence, some of them just stand apart.</p>

<p>The stand apart for me was the <a href="http://www.ted.com/index.php/talks/view/id/92">Hans Rosling talk at TED</a>. You&#8217;ve got to watch it.</p>
]]></content:encoded>
			<wfw:commentRss>http://sameerahuja.com/blog/information-visualization-on-the-web/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Some updates</title>
		<link>http://sameerahuja.com/blog/some-updates/</link>
		<comments>http://sameerahuja.com/blog/some-updates/#comments</comments>
		<pubDate>Tue, 01 May 2007 17:31:13 +0000</pubDate>
		<dc:creator>sameer</dc:creator>
				<category><![CDATA[Usability]]></category>
		<category><![CDATA[Notes]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://sameerahuja.com/blog/2007/05/some-updates/</guid>
		<description><![CDATA[Following up on the last post regarding better conversational experiences on blogs, I thought why not improve the experience on the blog, as long as it has to be there. So I&#8217;ve put in a mix of conversation-specific plugins and hacks for ease of commenting on this blog -

 Wordpress 2.1, for some evil reason, [...]]]></description>
			<content:encoded><![CDATA[<p>Following up on the last post regarding better conversational experiences on blogs, I thought why not improve the experience <em>on </em>the blog, as long as it has to be there. So I&#8217;ve put in a mix of conversation-specific plugins and hacks for ease of commenting on this blog -</p>

<ul> <li>Wordpress 2.1, for some evil reason, eats up all the line breaks&nbsp;one puts&nbsp;in&nbsp;the comment, and replaces it by the standard &lt;p&gt;&lt;/p&gt; combination. So as a stop-gap solution to having all the paragraphs in a comment mashed up together, I&#8217;ve increased the margin in their CSS for a feeling of visual separation.  <li>You can now subscribe to the future comments on a post that you comment on. All that you need to do, is to click the checkbox in the commenting form that says &#8220;Notify me of followup comments via e-mail&#8221;.  <li><a href="http://www.gravatar.com">Gravatars</a>!  <li>If you&#8217;d like to quote someone&#8217;s comment, there&#8217;s a &#8216;Quote&#8217; link in each comment&#8217;s header, that you can click to auto-fill that comment&#8217;s content as a quote within your comment. Or, if you&#8217;d like to&nbsp;quote some text from the post or from within a long comment, select the text, go to the comment field and click the link that says &#8220;quote selected text&#8221;. You can DOO it! (Yes, Rob Schneider is my favorite actor.)  <li>You&#8217;d notice, while commenting, that there&#8217;s a live preview just above the form that starts filling in as you type, providing a quick way to know what your comment would look like. This isn&#8217;t perfect yet- it recognizes line breaks and doesn&#8217;t render quotes as it should &#8211; but I&#8217;m working on it, and it&#8217;s good enough to give you a reasonable idea as to what your comment might look like.</li></ul>

<p>&nbsp;Have an idea as to how commenting can be made more intuitive? Comment on..</p>
]]></content:encoded>
			<wfw:commentRss>http://sameerahuja.com/blog/some-updates/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Dear Wordpress: Why not an XML-RPC for commenting?</title>
		<link>http://sameerahuja.com/blog/dear-wordpress-why-not-an-xml-rpc-for-commenting/</link>
		<comments>http://sameerahuja.com/blog/dear-wordpress-why-not-an-xml-rpc-for-commenting/#comments</comments>
		<pubDate>Sun, 29 Apr 2007 21:40:50 +0000</pubDate>
		<dc:creator>sameer</dc:creator>
				<category><![CDATA[Usability]]></category>
		<category><![CDATA[Web 2.0]]></category>
		<category><![CDATA[APIs]]></category>
		<category><![CDATA[Code]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://sameerahuja.com/blog/2007/04/dear-wordpress-why-not-an-xml-rpc-for-commenting/</guid>
		<description><![CDATA[We&#8217;re very much in the middle of the Syndication revolution &#8211; Everything out there on the web can be syndicated&#160; &#8211; Be it the latest news, your friends&#8217; photos and videos, your favorite TV Show episodes, and so on. Even sites lacking any technological platform for publishing can be subscribed to using online tools. 

Now [...]]]></description>
			<content:encoded><![CDATA[<p>We&#8217;re very much in the middle of the Syndication revolution &#8211; Everything out there on the web can be syndicated&nbsp; &#8211; Be it the latest news, your friends&#8217; photos and videos, your favorite TV Show episodes, and so on. Even sites lacking any technological platform for publishing can be subscribed to using online tools. </p>

<p>Now in all this &#8211; perhaps the most&nbsp;popular type of feeds that we syndicate to are blog posts. And typically, they support commenting. In fact, commenting is an integral part of the blogging experience. The discussion adds mass to the content of the original post, sometimes even surpassing it in meaningful content. Or, it can go completely haywire and spread out into several branches of context. Either ways, it&#8217;s something without which blogging won&#8217;t be blogging.</p>

<p>So my rue is this &#8211; I would like to participate in the discussions on a blog post right from my <a href="http://google.com/reader">newsreader</a>. That implies two things-</p>

<ul> <li>I want to view the stream of comments along with the post. This isn&#8217;t hard to achieve, given that almost all blogging platforms provide RSS feeds for comments to posts, and a couple of <a href="http://www.sharpreader.net/">newsreaders</a> that support the display of those comments.  <li>I want to be able to comment right from my newsreader.&nbsp;This is important because&nbsp;it makes the whole process of &#8216;participating&#8217; with the said blog or news site much more intuitive for me, <strong>and,</strong> the newsreader can then keep&nbsp;track of my comments and conversations in a more organized way than I do currently through <a href="http://www.cocomment.com">coComment</a> or <a href="http://commentful.blogflux.com">commentful</a>. They&#8217;re really good tools, both of them, but they sporadically don&#8217;t work. coComment, for instance, is a very nice tool that integrates with a lot of social sites apart from just blogging platforms, but somehow for me it isn&#8217;t able to update the latest comments on a lot of them.</li></ul>

<p>The second feature requires the website to publish an XML-RPC API (<a href="http://www.xmlrpc.com/">Here&#8217;s what XML-RPC means</a>)&nbsp;similar to the ones that allow people to be able to post to their blog from desktop applications. Wordpress is the only blogging platform that I&#8217;ve worked with, and I&#8217;ve checked &#8211; it doesn&#8217;t have one. There is an XMLRPC for traceback, but nothing for commenting.</p>

<p>Is this something that just hasn&#8217;t been implemented because no one thought of it, or is it just that no one wants to have this &#8211; for fear for people not coming to the blog&#8217;s website for commenting? Or is the concern related to additional spam?</p>

<p>I think lack of visitors is a self-countering argument &#8211; While there may be lesser people visiting to comment on the site&#8217;s interface, there would actually be more people commenting and being active on the site &#8211; and the positive effect of that should balance out the concerns. I&#8217;m not sure if spam is a factor either &#8211; sure, the spammer now has one URL to attack &#8211; but the post id (That I suppose would be a parameter in the call to such a service) is still dynamic. And in any case, the interface just as secure as the rest of the site is to spammers. I&#8217;m not sure how captchas can be implemented in such a service &#8211; but I&#8217;m sure they can be.</p>

<p>Reading this on a newsreader? Click the post title, wait for the page to load, scroll to the bottom for my cute little commenting interface, and fill in your thoughts!</p>
]]></content:encoded>
			<wfw:commentRss>http://sameerahuja.com/blog/dear-wordpress-why-not-an-xml-rpc-for-commenting/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
