<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="wordpress/2.0.2" -->
<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/"
	>

<channel>
	<title>Semantic Void</title>
	<link>http://semanticvoid.com/blog</link>
	<description>Extracting the semantics from the void</description>
	<pubDate>Thu, 14 Aug 2008 22:48:06 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.0.2</generator>
	<language>en</language>
			<item>
		<title>The Monkey Just Got Delicious - II</title>
		<link>http://semanticvoid.com/blog/2008/08/11/the-monkey-just-got-delicious-ii/</link>
		<comments>http://semanticvoid.com/blog/2008/08/11/the-monkey-just-got-delicious-ii/#comments</comments>
		<pubDate>Tue, 12 Aug 2008 06:11:35 +0000</pubDate>
		<dc:creator>Anand Kishore</dc:creator>
		
	<category>Search</category>
	<category>Yahoo!</category><dc:subject>delicious</dc:subject><dc:subject>Search</dc:subject><dc:subject>search monkey</dc:subject><dc:subject>yahoo</dc:subject>
		<guid isPermaLink="false">http://semanticvoid.com/blog/2008/08/11/the-monkey-just-got-delicious-ii/</guid>
		<description><![CDATA[This is a follow-up post of The Monkey Just Got Delicious - I. The app is not yet public for the reasons mentioned in part I. As I had mentioned, my goal was to generate a tag cloud for the search results. Well, search monkey does not allow you to spit out arbitrary html, thus [...]]]></description>
			<content:encoded><![CDATA[<p>This is a follow-up post of <a href="http://semanticvoid.com/blog/2008/08/11/the-monkey-just-got-delicious/">The Monkey Just Got Delicious - I</a>. The app is not yet public for the reasons mentioned in <a href="http://semanticvoid.com/blog/2008/08/11/the-monkey-just-got-delicious/">part I</a>. As I had mentioned, my goal was to generate a tag cloud for the search results. Well, search monkey does not allow you to spit out arbitrary html, thus making it difficult to render a tag cloud. After much thought I settled for a color coded tag cloud (as in the screenshot below). You will notice the color of the tags gradually fading (darker shade means that the tag is more popular). </p>
<p>Got feedback, will listen.</p>
<p><center><br />
<table>
<tr>
<td><img src="http://farm4.static.flickr.com/3105/2756185874_3907a8df26_o.png" alt="New Deliciousify" /></td>
<td> <img src="http://farm4.static.flickr.com/3043/2756301394_021e904c67_o.png"/></td>
</tr>
</table>
<p></center>
</p>
<a href="http://semanticvoid.com/blog/index.php?tag=delicious" rel="tag">delicious</a>, <a href="http://semanticvoid.com/blog/index.php?tag=search" rel="tag">Search</a>, <a href="http://semanticvoid.com/blog/index.php?tag=search_monkey" rel="tag">search monkey</a>, <a href="http://semanticvoid.com/blog/index.php?tag=yahoo" rel="tag">yahoo</a>]]></content:encoded>
			<wfw:commentRSS>http://semanticvoid.com/blog/2008/08/11/the-monkey-just-got-delicious-ii/feed/</wfw:commentRSS>
		</item>
		<item>
		<title>The Monkey Just Got Delicious</title>
		<link>http://semanticvoid.com/blog/2008/08/11/the-monkey-just-got-delicious/</link>
		<comments>http://semanticvoid.com/blog/2008/08/11/the-monkey-just-got-delicious/#comments</comments>
		<pubDate>Mon, 11 Aug 2008 09:04:56 +0000</pubDate>
		<dc:creator>Anand Kishore</dc:creator>
		
	<category>Search</category>
	<category>Yahoo!</category><dc:subject>application</dc:subject><dc:subject>Search</dc:subject><dc:subject>search monkey</dc:subject><dc:subject>yahoo</dc:subject>
		<guid isPermaLink="false">http://semanticvoid.com/blog/2008/08/11/the-monkey-just-got-delicious/</guid>
		<description><![CDATA[[UPDATE] New tag cloud UI for deliciousify can be viewed here
[UPDATE] The search monkey app is currently disabled for public use as it was hitting the delicious rate limit. Hence it will remain as a prototype for now. BTW the delicious team is working on their own search monkey app and I bet its going [...]]]></description>
			<content:encoded><![CDATA[<p><strong>[UPDATE]</strong> New tag cloud UI for deliciousify can be viewed <a href="http://semanticvoid.com/blog/2008/08/11/the-monkey-just-got-delicious-ii/">here</a></p>
<p><strong>[UPDATE]</strong> The search monkey app is currently disabled for public use as it was hitting the delicious rate limit. Hence it will remain as a prototype for now. BTW the delicious team is working on their own search monkey app and I bet its going to be much cooler.</p>
<p><img src="http://developer.search.yahoo.com/images/searchmonkeyLogo147x150.gif" alt="" />I&#8217;m a big fan and an avid user of <a href="http://developer.search.yahoo.com">Yahoo! Search Monkey</a>. So this weekend I decided to write myself a search monkey application that I have always wished for. Well, we all will agree that nothing beats human created metadata and what better metadata about search results can there be than the vast and rich knowledge stored in bookmarking services. My search monkey application deals with enriching the organic search results from Yahoo! with metadata from del.icio.us.</p>
<p><center>[LINK DISABLED] <a href="">Try Deliciousify Search Monkey App here</a></center></p>
<p>Sometimes the search summary does not provide a useful insight into the contents of the search result (as seen below). The only way users ascertain relevance is by clicking on the result and figuring it out themselves. Wouldn&#8217;t it be better if the contents of the result could be summarized by just a few words - keywords that highlight broadly what the document talks about. Deliciousify (as seen below) aims to solve this problem by listing the top tags about a search result from del.icio.us, along with its popularity (number of people who have bookmarked it). In the future, I plan to display a tag cloud for the results. Give it a try and send any comments/feedback my way.</p>
<p><center>[LINK DISABLED] Make your search results more delicious - <a title="Add the deliciousify Enhanced Result to your Search preferences" href=""> click here </a></center></p>
<p><center><img src="http://farm4.static.flickr.com/3024/2753013032_2393cce7b0_o.png" alt="" /></center></p>
<a href="http://semanticvoid.com/blog/index.php?tag=application" rel="tag">application</a>, <a href="http://semanticvoid.com/blog/index.php?tag=search" rel="tag">Search</a>, <a href="http://semanticvoid.com/blog/index.php?tag=search_monkey" rel="tag">search monkey</a>, <a href="http://semanticvoid.com/blog/index.php?tag=yahoo" rel="tag">yahoo</a>]]></content:encoded>
			<wfw:commentRSS>http://semanticvoid.com/blog/2008/08/11/the-monkey-just-got-delicious/feed/</wfw:commentRSS>
		</item>
		<item>
		<title>The Three Day Puzzle</title>
		<link>http://semanticvoid.com/blog/2008/08/07/the-three-day-puzzle/</link>
		<comments>http://semanticvoid.com/blog/2008/08/07/the-three-day-puzzle/#comments</comments>
		<pubDate>Fri, 08 Aug 2008 03:40:41 +0000</pubDate>
		<dc:creator>Anand Kishore</dc:creator>
		
	<category>Trends</category><dc:subject>data</dc:subject><dc:subject>psychology</dc:subject><dc:subject>terrorism</dc:subject><dc:subject>traffic fatalities</dc:subject>
		<guid isPermaLink="false">http://semanticvoid.com/blog/2008/08/07/the-three-day-puzzle/</guid>
		<description><![CDATA[I came across this rather interesting paper - &#8220;Terror attacks influence driving behavior in Israel&#8221; authored by Guy Stecklov and Joshua R. Goldstein (Carnegie Mellon University), which provides interesting correlations between &#8216;terror attacks&#8217; and &#8216;traffic accidents&#8217;. Now what do &#8216;terror attacks&#8217; and &#8216;traffic accidents&#8217; have anything to do with some &#8216;3 day puzzle&#8217;. Some interesting [...]]]></description>
			<content:encoded><![CDATA[<p>I came across this rather interesting paper - <a href="http://www.pnas.org/content/101/40/14551.abstract">&#8220;Terror attacks influence driving behavior in Israel&#8221;</a> authored by Guy Stecklov and Joshua R. Goldstein (Carnegie Mellon University), which provides interesting correlations between &#8216;terror attacks&#8217; and &#8216;traffic accidents&#8217;. Now what do &#8216;terror attacks&#8217; and &#8216;traffic accidents&#8217; have anything to do with some &#8216;3 day puzzle&#8217;. Some interesting details regarding the 3-day mystery provided in the paper are as follows:</p>
<ul>
<li>No day-0, day-1, or day-2 effects of terror are observed on traffic fatalities, but there is an increase of almost 35% in the rate of traffic fatalities 3 days after terror attacks.</li>
<li>The findings suggest that the third-day effect of large terror attacks is even larger, with a 69% increase in traffic fatalities.</li>
<li>Interestingly, the 3-day lag observed is similar to that found in studies on imitative suicides, in which well publicized suicides are followed 3 days after with a rise in traffic fatalities. [<a href="http://www.sciencemag.org/cgi/content/abstract/196/4297/1464?ijkey=91bc1fe59484a68b8ebac8e9d5098a0e1d5a25a6&#038;keytype2=tf_ipsecsha">reference</a>]</li>
<li>A similar 3-day spike in homicides is also found after major boxing matches. [<a href="http://cel.isiknowledge.com/InboundService.do?product=CEL&#038;action=retrieve&#038;SrcApp=Highwire&#038;UT=A1983RD10100010&#038;SID=Q2MB43nAn9hgdC12CaG&#038;SrcAuth=Highwire&#038;Init=Yes&#038;mode=FullRecord&#038;customersID=Highwire">reference</a>]</li>
<li>Some fraction of the increase in traffic fatalities after terror attacks may be attributable to covert suicides and/or increased aggression on the road.</li>
<li>There is a notable lack of longer-term effects beyond the 3-day spike in fatal accidents. Days four and beyond have normal levels of traffic volume and accidents and suggest that the effects of terror are transient.</li>
<li>Why traffic fatalities increase on the third day after a terror attack remains a puzzle.</li>
</ul>
<p>Possible explanations to the 3-day lag are:</p>
<ul>
<li>The day-three increase in fatalities coincides with the time when those exposed to terror may try to return to their normal routines but are not yet psychologically, and perhaps physiologically, sufficiently recovered.</li>
<li>Yet another explanation for the 3-day lag is that it is a counterreaction to the collective bonding that occurs immediately after the terror event, similar to the “post-suppression rebound” found in experimental psychology.</li>
</ul>
<p>The interesting point to look for in the graphs below is the 3rd day after the attack.<br />
<center><a href="http://www.flickr.com/photos/27129624@N02/2743309620/" title="Terror attacks - Traffic accidents by anand.kishore, on Flickr"><img src="http://farm4.static.flickr.com/3129/2743309620_37fcace611_b.jpg" width="1024" height="711" alt="Terror attacks - Traffic accidents" /></a></center>Figure: Model estimates of proportional effects of terror attacks on traffic volume and accident rates by number of days after attack. (Upper) Results for all attacks. (Lower) Large attacks only.</p>
<p>Other similar interesting reads are in the references of the paper. I am listing a few of them below:</p>
<ul>
<li><a href="http://www.sciencemag.org/cgi/content/abstract/196/4297/1464?ijkey=91bc1fe59484a68b8ebac8e9d5098a0e1d5a25a6&#038;keytype2=tf_ipsecsha">Motor vehicle fatalities increase just after publicized suicide stories</a></li>
<li><a href="http://www.sciencemag.org/cgi/content/abstract/201/4357/748?ijkey=b42aa273dcd005a151a267472796f745fdc7e98c&#038;keytype2=tf_ipsecsha">Airplane Accident Fatalities Increase Just After Newspaper Stories About Murder and Suicide</a></li>
</ul>
<a href="http://semanticvoid.com/blog/index.php?tag=data" rel="tag">data</a>, <a href="http://semanticvoid.com/blog/index.php?tag=psychology" rel="tag">psychology</a>, <a href="http://semanticvoid.com/blog/index.php?tag=terrorism" rel="tag">terrorism</a>, <a href="http://semanticvoid.com/blog/index.php?tag=traffic_fatalities" rel="tag">traffic fatalities</a>]]></content:encoded>
			<wfw:commentRSS>http://semanticvoid.com/blog/2008/08/07/the-three-day-puzzle/feed/</wfw:commentRSS>
		</item>
		<item>
		<title>Only Humans</title>
		<link>http://semanticvoid.com/blog/2008/08/05/only-humans/</link>
		<comments>http://semanticvoid.com/blog/2008/08/05/only-humans/#comments</comments>
		<pubDate>Tue, 05 Aug 2008 17:56:36 +0000</pubDate>
		<dc:creator>Anand Kishore</dc:creator>
		
	<category>Artificial Intelligence</category>
	<category>Philosophy</category><dc:subject>ai</dc:subject><dc:subject>cartoon</dc:subject><dc:subject>humans</dc:subject>
		<guid isPermaLink="false">http://semanticvoid.com/blog/2008/08/05/only-humans/</guid>
		<description><![CDATA[The path to true AI.
source: &#8216;The Age of Spiritual Machines&#8217;

ai, cartoon, humans]]></description>
			<content:encoded><![CDATA[<p>The path to true AI.<br />
<center><a href="http://www.flickr.com/photos/27129624@N02/2735404875/" title="Only Humans by anand.kishore, on Flickr"><img src="http://farm4.static.flickr.com/3078/2735404875_d616ce561f_o.png" width="626" height="857" alt="Only Humans" /></a><br />source: <a href="http://us.penguingroup.com/static/packages/us/kurzweil/excerpts/exmain.htm">&#8216;The Age of Spiritual Machines&#8217;</a></center>
</p>
<a href="http://semanticvoid.com/blog/index.php?tag=ai" rel="tag">ai</a>, <a href="http://semanticvoid.com/blog/index.php?tag=cartoon" rel="tag">cartoon</a>, <a href="http://semanticvoid.com/blog/index.php?tag=humans" rel="tag">humans</a>]]></content:encoded>
			<wfw:commentRSS>http://semanticvoid.com/blog/2008/08/05/only-humans/feed/</wfw:commentRSS>
		</item>
		<item>
		<title>Dancing with Matt</title>
		<link>http://semanticvoid.com/blog/2008/08/04/dancing-with-matt/</link>
		<comments>http://semanticvoid.com/blog/2008/08/04/dancing-with-matt/#comments</comments>
		<pubDate>Mon, 04 Aug 2008 23:04:03 +0000</pubDate>
		<dc:creator>Anand Kishore</dc:creator>
		
	<category>Yahoo!</category><dc:subject>matt harding</dc:subject><dc:subject>yahoo</dc:subject>
		<guid isPermaLink="false">http://semanticvoid.com/blog/2008/08/04/dancing-with-matt/</guid>
		<description><![CDATA[Matt Harding visited the Yahoo! campus a few weeks back where we had a chance to participate in the video below doing the signature Matt dance. A must watch - especially Jerry Yang (@ 1:26) and Filo&#8217;s cube. I&#8217;m the white speck at the end of the &#8220;Y&#8221; in the Y! formation.


matt harding, yahoo]]></description>
			<content:encoded><![CDATA[<p><a href="http://wherethehellismatt.com">Matt Harding</a> visited the Yahoo! campus a few weeks back where we had a chance to participate in the video below doing the signature Matt dance. A must watch - especially Jerry Yang (@ 1:26) and Filo&#8217;s cube. I&#8217;m the white speck at the end of the &#8220;Y&#8221; in the Y! formation.</p>
<p><center><embed height="394" width="525" type="application/x-shockwave-flash" src="http://cosmos.bcst.yahoo.com/up/fop/embedflv/swf/fop_wrapper.swf?sv=0&#038;id=9069350&#038;autoStart=0&#038;infoEnable=1&#038;shareEnable=0&#038;prepanelEnable=1&#038;carouselEnable=0&#038;postpanelEnable=1"/></center>
</p>
<a href="http://semanticvoid.com/blog/index.php?tag=matt_harding" rel="tag">matt harding</a>, <a href="http://semanticvoid.com/blog/index.php?tag=yahoo" rel="tag">yahoo</a>]]></content:encoded>
			<wfw:commentRSS>http://semanticvoid.com/blog/2008/08/04/dancing-with-matt/feed/</wfw:commentRSS>
		</item>
		<item>
		<title>Tweetistics - fun statistics about your tweet</title>
		<link>http://semanticvoid.com/blog/2008/07/28/tweetistics-fun-statistics-about-your-tweet/</link>
		<comments>http://semanticvoid.com/blog/2008/07/28/tweetistics-fun-statistics-about-your-tweet/#comments</comments>
		<pubDate>Tue, 29 Jul 2008 00:59:47 +0000</pubDate>
		<dc:creator>Anand Kishore</dc:creator>
		
	<category>Trends</category>
	<category>Algorithm</category><dc:subject>analysis</dc:subject><dc:subject>statistics</dc:subject><dc:subject>Trends</dc:subject><dc:subject>twitter</dc:subject>
		<guid isPermaLink="false">http://semanticvoid.com/blog/2008/07/28/tweetistics-fun-statistics-about-your-tweet/</guid>
		<description><![CDATA[I started this project as a weekend thingy a day back but hit a hurdle due to the Twitter rate limits. Since I couldn&#8217;t complete this project, I thought it would be rather nice to write a post explaining what I had in mind. 
Twitterers like bloggers are driven/motivated by their *follower* counts (who doesn&#8217;t [...]]]></description>
			<content:encoded><![CDATA[<p>I started this project as a weekend thingy a day back but hit a hurdle due to the Twitter rate limits. Since I couldn&#8217;t complete this project, I thought it would be rather nice to write a post explaining what I had in mind. </p>
<p>Twitterers like bloggers are driven/motivated by their *follower* counts (who doesn&#8217;t like attention). But unlike blogs there is no mechanism in Twitter to determine the visibility of ones tweets or gain insights into how one can maximize the visibility of their tweets. By visibility I mean the chance of my tweet being read by my followers. I&#8217;ll try to explain my approach to estimate this *visibility* with the following example:</p>
<p><center><a href="http://www.flickr.com/photos/27129624@N02/2745064580/" title="tweetistic by anand.kishore, on Flickr"><img src="http://farm4.static.flickr.com/3010/2745064580_327226c405_o.jpg" width="552" height="313" alt="tweetistic" /></a></center></p>
<p>The image above depicts the user (imagine yourself) at the center along with his followers and the users they are following (users which your followers are following - this can get crazy). The idea is just this dead simple - the visibility of your tweet depends on the twittering habits of your followers followings. Let me slow down - imagine a queue of size 20 assigned to each of your followers. This is the list of recent tweets displayed on Twitter for every user. Your tweet&#8217;s lifetime is as long it doesn&#8217;t get pushed out of this queue - which depends solely on the twittering frequency of your followers followings. The faster they tweet, the faster your tweet vanishes off this list and vice-versa. This lifetime/visibility of your tweet averaged over all your followers can be figured out algorithmically as follows:</p>
<ul>
<li>Fetch all your followers and their followings (lets call this FF).</li>
<li>For each FF - calculate their average twittering time (do this by analyzing their last 50-100 tweets).</li>
<li>Using the times calculated above, calculate the time for your tweet to get pushed off the queue for each of your followers. This can be done by simulating tweets from each of the followers following (FF) at the frequency calculated above and pushing them into the queue.</li>
<li>Average this value across all your followers.</li>
</ul>
<p>The above not only gives you insight on how long would your tweet be visible but also which of your followers could potentially read your tweet. For example, you could answer queries like - &#8216;if I tweet now, which of my followers could still read this tweet after 5 hours&#8217; or &#8216;if I tweet now, which of my followers will have already read/missed this tweet after 3 hours&#8217;.</p>
<p>For more accurate results, one could also analyze the twittering habits of the FF&#8217;s (followers following) and generate a probabilistic model of their twittering frequency relative to the time of the day. This could help generate dynamic statistics depending on the time you intend to twitter.</p>
<p>Another insight that could be provided with the above statistics could be the duration one should wait before putting another tweet. I, for example, twitter sometimes in bursts (with just seconds delay between consecutive tweets). Followers usually give the most attention to your most recent tweet. The more consecutive tweets you have, the higher the chances of the older tweets getting less attention. If one can figure out the average time it would take for ones older tweet to get pushed off the &#8216;recent 20&#8242; list of his follower/s, it would give one a better idea of how long should one wait before twittering again.</p>
<p>I&#8217;m sure that there are many more cool statistics/insights one can figure out from ones network in Twitter. I would be glad to hear out your take on this as well as any improvements you might have to suggest. I would love to make this an app once I can get Twitter to raise the hourly request limit for me - Twitter are you listening?
</p>
<a href="http://semanticvoid.com/blog/index.php?tag=analysis" rel="tag">analysis</a>, <a href="http://semanticvoid.com/blog/index.php?tag=statistics" rel="tag">statistics</a>, <a href="http://semanticvoid.com/blog/index.php?tag=trends" rel="tag">Trends</a>, <a href="http://semanticvoid.com/blog/index.php?tag=twitter" rel="tag">twitter</a>]]></content:encoded>
			<wfw:commentRSS>http://semanticvoid.com/blog/2008/07/28/tweetistics-fun-statistics-about-your-tweet/feed/</wfw:commentRSS>
		</item>
		<item>
		<title>Glimpse - visualizing your browsing history</title>
		<link>http://semanticvoid.com/blog/2008/07/19/glimpse-visualizing-your-browsing-history/</link>
		<comments>http://semanticvoid.com/blog/2008/07/19/glimpse-visualizing-your-browsing-history/#comments</comments>
		<pubDate>Sun, 20 Jul 2008 06:05:41 +0000</pubDate>
		<dc:creator>Anand Kishore</dc:creator>
		
	<category>Web</category>
	<category>Artificial Intelligence</category>
	<category>Trends</category>
	<category>Patterns</category>
	<category>Project</category>
	<category>LifeLogger</category>
	<category>Research</category><dc:subject>browsing history</dc:subject><dc:subject>dataset</dc:subject><dc:subject>glimpse</dc:subject><dc:subject>lifelogger</dc:subject><dc:subject>Project</dc:subject><dc:subject>visualization</dc:subject>
		<guid isPermaLink="false">http://semanticvoid.com/blog/2008/07/19/glimpse-visualizing-your-browsing-history/</guid>
		<description><![CDATA[ I started working on my second weekend project, guess I&#8217;ll do something small every week. This one is an extension to LifeLogger. The aim is to analyze ones daily and weekly browsing history and extract themes which could aid in recommendations. It is still a &#8216;work in progress&#8217; - currently I have been able [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://semanticvoid.com/images/glimpse.png"/> I started working on my second weekend project, guess I&#8217;ll do something small every week. This one is an extension to <a href="http://semanticvoid.com/lifelogger">LifeLogger</a>. The aim is to analyze ones daily and weekly browsing history and extract themes which could aid in recommendations. It is still a &#8216;work in progress&#8217; - currently I have been able to generate the following visualizations:</p>
<p>The following visualization depicts the dominant keywords/topics for one day (the terms are stemmed):<br />
<script type="text/javascript" src="http://services.alphaworks.ibm.com/manyeyes/api/v1/snapshot/89ade5ae1b21b772011b3eec0aea0e56.js"></script><br />
I had been reading a couple of Yahoo! related articles and visualization blogs. This is captured by the above visualization - but there is still alot of noise which I need to get rid of.</p>
<p>The next visualization depicts the linkages and clusters for the keywords. There exists a link between two terms if they occur in the same document. [may take sometime to load - you&#8217;ll need to zoom in to get a better look - click on &#8216;compute layout&#8217; if the clusters don&#8217;t show]<br />
<script type="text/javascript" src="http://services.alphaworks.ibm.com/manyeyes/api/v1/snapshot/89ade5ae1b21b772011b3efce2280e70.js"></script><br />
Both the above visualizations depict important metrics that could be used to extract dominant themes from the browsing history. Dominance should not be just inferred from frequency but also from the prevalent of a term across multiple pages. I still need to work on removing noise and running this on larger datasets like browsing history for a week or so. If you have any ideas or good papers to recommend that would be nice.
</p>
<a href="http://semanticvoid.com/blog/index.php?tag=browsing_history" rel="tag">browsing history</a>, <a href="http://semanticvoid.com/blog/index.php?tag=dataset" rel="tag">dataset</a>, <a href="http://semanticvoid.com/blog/index.php?tag=glimpse" rel="tag">glimpse</a>, <a href="http://semanticvoid.com/blog/index.php?tag=lifelogger" rel="tag">lifelogger</a>, <a href="http://semanticvoid.com/blog/index.php?tag=project" rel="tag">Project</a>, <a href="http://semanticvoid.com/blog/index.php?tag=visualization" rel="tag">visualization</a>]]></content:encoded>
			<wfw:commentRSS>http://semanticvoid.com/blog/2008/07/19/glimpse-visualizing-your-browsing-history/feed/</wfw:commentRSS>
		</item>
		<item>
		<title>What&#8217;s up with July?</title>
		<link>http://semanticvoid.com/blog/2008/07/14/whats-up-with-july/</link>
		<comments>http://semanticvoid.com/blog/2008/07/14/whats-up-with-july/#comments</comments>
		<pubDate>Tue, 15 Jul 2008 04:49:46 +0000</pubDate>
		<dc:creator>Anand Kishore</dc:creator>
		
	<category>Trends</category><dc:subject>data</dc:subject><dc:subject>graph</dc:subject><dc:subject>visualization</dc:subject>
		<guid isPermaLink="false">http://semanticvoid.com/blog/2008/07/14/whats-up-with-july/</guid>
		<description><![CDATA[In my search for interesting datasets/visualizations I came across this graph depicting the average daily vehicle-distance traveled across urban highways in the United States. This graph lays out the trends for 2006, 2007 and 2008.

There is an interesting pattern that is consistent for 2006 and 2007, with 2008 probably following suit. I&#8217;ve been trying hard [...]]]></description>
			<content:encoded><![CDATA[<p>In my search for interesting datasets/visualizations I came across this graph depicting the average daily vehicle-distance traveled across urban highways in the United States. This graph lays out the trends for 2006, 2007 and 2008.</p>
<p><center><img src="http://semanticvoid.com/images/us_highway_trend.png"/></center></p>
<p>There is an interesting pattern that is consistent for 2006 and 2007, with 2008 probably following suit. I&#8217;ve been trying hard to make sense out of this graph and here is are my interpretations at the first glance:</p>
<ul>
<li>The dip around January and around December is probably due to christmas and new years - people staying at home celebrating the events with close family and friends. The cold season may also be a contributing factor.</li>
<li> The steep increase from February to June is probably due to the onset of summer - summer holidays.</li>
</ul>
<p>What somehow doesn&#8217;t make sense to me is the sudden dip in July. Is there any explanation for that? People opting to participate in the 4th of July celebrations at home? Hmm plausible? If you are based in the US, I would love to read your interpretation of the graph.
</p>
<a href="http://semanticvoid.com/blog/index.php?tag=data" rel="tag">data</a>, <a href="http://semanticvoid.com/blog/index.php?tag=graph" rel="tag">graph</a>, <a href="http://semanticvoid.com/blog/index.php?tag=visualization" rel="tag">visualization</a>]]></content:encoded>
			<wfw:commentRSS>http://semanticvoid.com/blog/2008/07/14/whats-up-with-july/feed/</wfw:commentRSS>
		</item>
		<item>
		<title>Cron &#038; background jobs in Google App Engine</title>
		<link>http://semanticvoid.com/blog/2008/07/13/cron-background-jobs-in-google-app-engine/</link>
		<comments>http://semanticvoid.com/blog/2008/07/13/cron-background-jobs-in-google-app-engine/#comments</comments>
		<pubDate>Sun, 13 Jul 2008 22:48:27 +0000</pubDate>
		<dc:creator>Anand Kishore</dc:creator>
		
	<category>Google</category><dc:subject>app engine</dc:subject><dc:subject>cron</dc:subject><dc:subject>Google</dc:subject><dc:subject>hack</dc:subject>
		<guid isPermaLink="false">http://semanticvoid.com/blog/2008/07/13/cron-background-jobs-in-google-app-engine/</guid>
		<description><![CDATA[Google App Engine has its advantages - easy deployment, scalability - but does it really matter if you can&#8217;t write number crunching code to utilize the Google architecture. The PARTICLE project I&#8217;m working on hit a stumbling block yesterday because Google kills processes that run over 3 seconds (dammit Google! not everyone can write good [...]]]></description>
			<content:encoded><![CDATA[<p>Google App Engine has its advantages - easy deployment, scalability - but does it really matter if you can&#8217;t write number crunching code to utilize the Google architecture. The <a href="http://semanticvoid.com/blog/2008/07/11/particle-on-the-way-to-a-findory/">PARTICLE</a> project I&#8217;m working on hit a stumbling block yesterday because Google kills processes that run over 3 seconds (dammit Google! not everyone can write good code). The only solution for me was to run the process in the background and at regular intervals. Google App Engine does not allow you to run processes in the backround or schedule jobs as in cron. The only way you can interact with an application in GAE is via http.</p>
<p>After giving it much thought, I figured out the following solution to running cron jobs in google app engine.</p>
<p><u>Step 1</u>: Create a datastore entity that represents a task the cron job has to perform:<br />
<code><br />
# Class representing tags cron job<br />
class CronJobTask(db.Model):<br />
    # Put any properties here<br />
</code></p>
<p><u>Step 2</u>: Create a class representing the cron<br />
<code><br />
class CronJob(webapp.RequestHandler):<br />
    def get(self):<br />
        # Do your cron processing here by fetching the crontasks from the datastore<br />
        # Do not forget to remove completed cron tasks from the datastore (if they are not periodic)<br />
        # Output the following code as a response<br />
        <font color="#44944A"><b>self.response.out.write(&#8221;< script >function reload(){ document.location = &#8216;/cron?time=&#8217; + new Date().getTime() } setTimeout(&#8217;reload()&#8217;, 1000); < /script >&#8220;)</b></font><br />
</code></p>
<p><u>Step 3</u>: Map some url to the cron job class like &#8220;/cron&#8221; below.<br />
<code><br />
def main():<br />
    application = webapp.WSGIApplication([(&#8217;/cron&#8217;, CronJob), (&#8217;/', MainPage)], debug=True)<br />
    wsgiref.handlers.CGIHandler().run(application)<br />
</code></p>
<p>The following code snippet is the key idea:<br />
<code><br />
<font color="#44944A"><b>self.response.out.write(&#8221;< script >function reload(){ document.location = &#8216;/cron?time=&#8217; + new Date().getTime() } setTimeout(&#8217;reload()&#8217;, 1000); < /script >&#8220;)</b></font><br />
</code></p>
<p>What the above does is that it causes the browser requesting this page to periodically poll the cron url. The cron can be started by pointing your browser to http://yourapp.appspot.com/cron. Opening multiple browser sessions/tabs to the same url spawns multiple cron processes which complete the cron tasks in parallel. You will always need to have atleast one browser tab pointing to this url at all times.
</p>
<a href="http://semanticvoid.com/blog/index.php?tag=app_engine" rel="tag">app engine</a>, <a href="http://semanticvoid.com/blog/index.php?tag=cron" rel="tag">cron</a>, <a href="http://semanticvoid.com/blog/index.php?tag=google" rel="tag">Google</a>, <a href="http://semanticvoid.com/blog/index.php?tag=hack" rel="tag">hack</a>]]></content:encoded>
			<wfw:commentRSS>http://semanticvoid.com/blog/2008/07/13/cron-background-jobs-in-google-app-engine/feed/</wfw:commentRSS>
		</item>
		<item>
		<title>Particle - on the way to a Findory</title>
		<link>http://semanticvoid.com/blog/2008/07/11/particle-on-the-way-to-a-findory/</link>
		<comments>http://semanticvoid.com/blog/2008/07/11/particle-on-the-way-to-a-findory/#comments</comments>
		<pubDate>Sat, 12 Jul 2008 04:52:32 +0000</pubDate>
		<dc:creator>Anand Kishore</dc:creator>
		
	<category>Tagging</category>
	<category>Artificial Intelligence</category>
	<category>Project</category>
	<category>Hacking</category><dc:subject>aggregator</dc:subject><dc:subject>article</dc:subject><dc:subject>news</dc:subject><dc:subject>particle</dc:subject><dc:subject>personalization</dc:subject>
		<guid isPermaLink="false">http://semanticvoid.com/blog/2008/07/11/particle-on-the-way-to-a-findory/</guid>
		<description><![CDATA[
Although I started this project as an experimental weekend thingy (to play around with Google App Engine), the project has shaped up well. Before you surf over to another blog, wondering what the hell I&#8217;m talking about, let me introduce you to &#8220;Personalized ARTICLE&#8221; aggregator (read as PARTICLE). The aim is to personalize a users [...]]]></description>
			<content:encoded><![CDATA[<p><center><a href="http://particle.semanticvoid.com"><img src="http://yucki.appspot.com/images/particle_logo.png" border=0/></a></center><br />
Although I started this project as an experimental weekend thingy (to play around with Google App Engine), the project has shaped up well. Before you surf over to another blog, wondering what the hell I&#8217;m talking about, let me introduce you to &#8220;<a href="http://particle.semanticvoid.com"><b>P</b>ersonalized <b>ARTICLE</b></a>&#8221; aggregator (read as PARTICLE). The aim is to personalize a users online reading (just like what Findory did). Findory was an excellent service and I&#8217;ll be glad if I can achieve even an iota of what Greg created. This project is at very rudimetary and experimental stage. Rather than tapping into the users reading history on the site (monitored by the links clicked), the idea is to study how a users <b>*interests*</b>, scattered around at various &#8220;databases of interest&#8221; like del.icio.us, could be used to personalize online reading (news articles, blogs and more). This way the user could merrily browse the world wide web, bookmarking pages, doing his usual stuff and let PARTICLE worry about making this data useful.</p>
<p><a href="http://particle.semanticvoid.com"><b>Click here to try PARTICLE</b></a></p>
<p>Presently you need to provide PARTICLE with your del.icio.us username, which it uses to analyze your <b>*interests*</b> and present you with recent news stories you may like. It works well if you have a decent number of bookmarks in del.icio.us. As I mentioned, the project is at a very rudimentary stage, so don&#8217;t feel disappointed by the results (ah! the unlucky few). I encourage you to play around with the app and recommend it to others to try. I&#8217;ll be making many changes/additions in the coming weeks.</p>
<p>Test drive PARTICLE at <a href="http://particle.semanticvoid.com">http://particle.semanticvoid.com</a>. Kindly leave your feedback/comments/suggestions in the comments or send me an email at &#8216;anand at semanticvoid.com&#8217;.</p>
<p><b>[UPDATE]</b> Yahoo! Research has a similar project called <a href="http://garcon.sandbox.yahoo.net/index.php">Garçon</a>.
</p>
<a href="http://semanticvoid.com/blog/index.php?tag=aggregator" rel="tag">aggregator</a>, <a href="http://semanticvoid.com/blog/index.php?tag=article" rel="tag">article</a>, <a href="http://semanticvoid.com/blog/index.php?tag=news" rel="tag">news</a>, <a href="http://semanticvoid.com/blog/index.php?tag=particle" rel="tag">particle</a>, <a href="http://semanticvoid.com/blog/index.php?tag=personalization" rel="tag">personalization</a>]]></content:encoded>
			<wfw:commentRSS>http://semanticvoid.com/blog/2008/07/11/particle-on-the-way-to-a-findory/feed/</wfw:commentRSS>
		</item>
	</channel>
</rss>
