<?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>Shriphani Palakodety &#187; PITA</title>
	<atom:link href="http://shriphani.com/blog/category/pita/feed/" rel="self" type="application/rss+xml" />
	<link>http://shriphani.com/blog</link>
	<description>In Pursuit Of Truth and Beauty</description>
	<lastBuildDate>Sat, 28 Aug 2010 23:54:01 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Decline of Journalism</title>
		<link>http://shriphani.com/blog/2010/06/27/decline-of-journalism/</link>
		<comments>http://shriphani.com/blog/2010/06/27/decline-of-journalism/#comments</comments>
		<pubDate>Sun, 27 Jun 2010 23:36:18 +0000</pubDate>
		<dc:creator>Shriphani</dc:creator>
				<category><![CDATA[Daily life]]></category>
		<category><![CDATA[PITA]]></category>

		<guid isPermaLink="false">http://shriphani.com/blog/?p=575</guid>
		<description><![CDATA[A rant on the media and its many shortcomings.]]></description>
			<content:encoded><![CDATA[<p>One of the more visible themes I observe on Gandhian values (Gandhian values = values that Gandhi lived by during and after the Indian freedom struggle) is that they are not valid in the 21st century. The arguments cited included that non-violent protest wouldn&#8217;t gain the attention of the media.</p>
<p>This concern is valid. Like most educated people, I have lost faith in modern journalism. India has generated a news channel ecosystem that dedicates solid portions of a day to exploring thought-provoking concepts like the afterlife, asks the leader of India&#8217;s neighbor (Pakistan) if surgical strikes by the Indian army on Pakistani soil would lead to war (I mean seriously, do you not know what sovereignty is?), spends time exploring conspiracy theories and here&#8217;s the kicker &#8211; engages in irritating nationalist worship. No, really. Since 2005, every article about Indians has had one tune: How rich Indians owning companies started by their grandparents, able to achieve monopolies in India through bribery, corruption and other questionable activities, are acquiring companies abroad and hence <strong>putting us on the world map</strong>.(nothing reeks of underdog behavior more than stating every Indian achievement as an assertion of our geographical boundaries) Every year we learn about <strong>Bollywood showing its power </strong>(they make movies. Why is it admirable if they can pull strings?).And every game India plays against Australia is about <strong>24+ aged men troubled by Aussie mind games</strong>. They are fucking adult men. They don&#8217;t need you to defend them because they are just as big dickwads as anyone else who is playing the game.</p>
<p>The Indian media is a fucking joke. I guess this is the curse of 24 hour news. You hire people to generate so much crap 364 days in a year to fill 24 hours of every one of those days that on the one day something important happens, you have the collective journalistic capability and insight of a mediocre high school graduate.</p>
<p>Don&#8217;t agree with me? Monopolies and oligopolies are the biggest curse you can heap on an industry. Yet, all of India&#8217;s most powerful industrialists are the media&#8217;s darlings. The BCCI has been glorified by the media for the power it wields over the cricket world. Yet this one organization is responsible for the future of India&#8217;s most popular sport. We are a nation of 1 billion. We cannot generate opportunities for such a large population through one organization that conducts 2 domestic leagues. This organization is so caught up with its lucrative ventures that the Indian team is guaranteed to be tired before any major event thus putting our chances of winning the world cup at a severe risk. The BCCI is bad for the nation. The media doesn&#8217;t even question its monopoly status and its aggressive behavior towards any players who participate in a non-BCCI-blessed league.</p>
<p>And of course I read this economic times masterpiece: http://economictimes.indiatimes.com/features/the-sunday-et/people/Its-time-we-beat-the-West-let-the-East-rise/articleshow/5681401.cms</p>
<p>The headline of the fucking story is, <strong>&#8220;It&#8217;s time we beat the West &amp; let the East rise&#8221;.</strong> Really? Here&#8217;s  a 2-bit manufacturer no-one knows anything about and he uses his only marketing avenue to speak about how he is the soldier in a war against a civilization. And the paper which is the &#8220;exclusive&#8221; marketing avenue (self-proclaimed) has reporters and editors with the IQ to publish this article. The kicker is that product will first launch in the United States. How is that for building goodwill?</p>
<p>Gandhi achieved what he did because he ensured that the injustice he faced did not go unnoticed. He took the blows and then ensured that this went on record and that the world got to see it. Non-violent protest itself wasn&#8217;t a powerful tool. It needed journalism from an unbiased organization to achieve its goals since this gave credibility to the protesters&#8217; cause. To combat non-violent protest, the oppressors had to adopt methods outside the legal system and it would be hard to pull this off quietly if you attracted the media&#8217;s attention.</p>
<p>I do not believe that our media is capable of assisting another Gandhi, if a situation ever calls for an individual to assume a role similar to his in India&#8217;s struggle for her independence.</p>
]]></content:encoded>
			<wfw:commentRss>http://shriphani.com/blog/2010/06/27/decline-of-journalism/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>The One PITA</title>
		<link>http://shriphani.com/blog/2009/11/29/the-one-pita/</link>
		<comments>http://shriphani.com/blog/2009/11/29/the-one-pita/#comments</comments>
		<pubDate>Sun, 29 Nov 2009 05:22:15 +0000</pubDate>
		<dc:creator>Shriphani</dc:creator>
				<category><![CDATA[Daily life]]></category>
		<category><![CDATA[PITA]]></category>
		<category><![CDATA[python]]></category>

		<guid isPermaLink="false">http://shriphani.com/blog/?p=414</guid>
		<description><![CDATA[Well, it is thanksgiving break and I was so far having a decent semester, straight As in all exams (a perfect score in economics &#8211; not that I should be proud of it or anythin) and then terror strikes. Or well whatever the college version of a cataclysm is. I managed to f&#8217;kin ruin (misunderstand) [...]]]></description>
			<content:encoded><![CDATA[<p>Well, it is thanksgiving break and I was so far having a decent semester, straight As in all exams (a perfect score in economics &#8211; not that I should be proud of it or anythin) and then terror strikes. Or well whatever the college version of a cataclysm is. I managed to f&#8217;kin ruin (misunderstand) the spec on a project and I am in danger of throwing away a coveted 4.0 GPA which would have been a great reward for the long hours of study I have put in + a retooling of my schedule so I have the multitasking capability of a mule and those $$ my parents spend so their son can enjoy a pain free life in a first world country and try to make them proud. Well, as it happens, I managed to (or at least I think &#8211; the scores are not yet out) misunderstand a spec AAAAARRRGGHH! In a datastructures course, I mastered AVL &amp; Red-Black trees, spent hours trying to tweak my implementations, did well on the exam and managed to blow it when it came to reading a text file and filling an array. I just wonder how I even pull this stuff off. With Grad School apps coming in 2 years, what will I have to show  &#8211;  a carelessness in even reading specs seriously that puts doubts on the efficacy of my research methodology, I just hope I don&#8217;t cause major problems for myself.</p>
<p>Well, in case this doesn&#8217;t make sense, I managed to misunderstand a technique to populate an array with data (the data structs would work with this but oh no, in my interest to take the maximum from this course, I devoted long hours to getting the data structs right). There is a very good chance that the part I screwed up would end up being insignificant but that is not the point. The point is that once again my grade is going to shuttle between the first two letters of the english alphabet.</p>
<p>Anyway, in all this self hatred that I have been building up for myself, I have managed to learn some cool stuff in Dr. Kihara&#8217;s lab. The work there is pleasant, I can feel good boasting about it and when I talk to my friends&#8217; parents, I can make them believe I am going to find a solution to poverty in 4 years and find a cure for cancer in my spare time (you can see I am not popular).</p>
<p>However, a weird question I was dealing with was that most of the stuff I have written for my work is in Python and it would be cool if I could call it from Java since there are a bunch of people in the lab who use it. I am not looking for something complicated, just want to call a bunch of methods from a Python module. JPype and Jython seem to the things I should be looking for but with my awesome constraints (Python 2.6 should be supported, It should make coffee etc), I will need to use my Uber-GOOGLE-SKILLZ.</p>
<p>Anyway, this blog has managed to get to pagerank 0 (I will interpret that as the pagerank o loner being relevant ) and I am now a suggestion on Google (yay! my plan for world domination is in full swing!)</p>
<p>And I love this Charlie dude who bites his bro&#8217;s finger, as for kanye, well even the prez thinks he&#8217;s a jackass:</p>
<p><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="425" height="344" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowFullScreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://www.youtube.com/v/FMbVPMzSqYY&amp;hl=en_US&amp;fs=1&amp;" /><param name="allowfullscreen" value="true" /><embed type="application/x-shockwave-flash" width="425" height="344" src="http://www.youtube.com/v/FMbVPMzSqYY&amp;hl=en_US&amp;fs=1&amp;" allowscriptaccess="always" allowfullscreen="true"></embed></object></p>
]]></content:encoded>
			<wfw:commentRss>http://shriphani.com/blog/2009/11/29/the-one-pita/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Deccan Chronicle Ads</title>
		<link>http://shriphani.com/blog/2008/09/07/deccan-chronicle-ads/</link>
		<comments>http://shriphani.com/blog/2008/09/07/deccan-chronicle-ads/#comments</comments>
		<pubDate>Sun, 07 Sep 2008 14:01:31 +0000</pubDate>
		<dc:creator>Shriphani</dc:creator>
				<category><![CDATA[PITA]]></category>

		<guid isPermaLink="false">http://shriphani.com/blog/?p=220</guid>
		<description><![CDATA[Deccan chronicle is a leading newspaper in Southern India and its online version is marketed by a company &#8211; Pressmart. Deccan Chronicle&#8217;s blog carried the following ads this morning: The Indian media&#8230;.]]></description>
			<content:encoded><![CDATA[<p>Deccan chronicle is a leading newspaper in Southern India and its online version is marketed by a company &#8211; Pressmart. Deccan Chronicle&#8217;s blog carried the following ads this morning:</p>
<p><a href="http://www.dc-epaper.com/blog/index.html" target="_blank"><img class="alignnone size-full wp-image-221" title="Deccan Chronicle Blog Ads" src="http://shriphani.com/blog/wp-content/uploads/2008/09/deccan_chronicle_wtf.jpg" alt="" width="500" height="306" /></a></p>
<p>The Indian media&#8230;.</p>
]]></content:encoded>
			<wfw:commentRss>http://shriphani.com/blog/2008/09/07/deccan-chronicle-ads/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>News Bloopers</title>
		<link>http://shriphani.com/blog/2008/08/09/news-bloopers/</link>
		<comments>http://shriphani.com/blog/2008/08/09/news-bloopers/#comments</comments>
		<pubDate>Sat, 09 Aug 2008 06:30:50 +0000</pubDate>
		<dc:creator>Shriphani</dc:creator>
				<category><![CDATA[PITA]]></category>

		<guid isPermaLink="false">http://shriphani.com/blog/?p=194</guid>
		<description><![CDATA[I&#8217;ve caught incompetence on the part of news agencies yet again. In this article on the opening ceremony of the olympics by Xinhuanet News: http://news.xinhuanet.com/english/2008-08/09/content_9069055.htm. The article says that the ceremony was watched was 40 billion people. Dear Mr. Reporter, the population of this planet is just over 6.8 billion. So much for accuracy. 40 [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve caught incompetence on the part of news agencies yet again. In this article on the opening ceremony of the olympics by Xinhuanet News: <a href="http://news.xinhuanet.com/english/2008-08/09/content_9069055.htm">http://news.xinhuanet.com/english/2008-08/09/content_9069055.htm</a>. The article says that the ceremony was watched was 40 billion people. Dear Mr. Reporter, the population of this planet is just over 6.8 billion. So much for accuracy. 40 billion is like 33 billion people more than the population of this planet. Excellent stuff I say. </p>
<p>I am sure, the media is composed of a bunch of farts (except for Jon Stewart) and these nutjobs need a crash course in general awareness.</p>
]]></content:encoded>
			<wfw:commentRss>http://shriphani.com/blog/2008/08/09/news-bloopers/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>IQ &lt; 0</title>
		<link>http://shriphani.com/blog/2008/06/27/iq-0/</link>
		<comments>http://shriphani.com/blog/2008/06/27/iq-0/#comments</comments>
		<pubDate>Fri, 27 Jun 2008 08:32:28 +0000</pubDate>
		<dc:creator>Shriphani</dc:creator>
				<category><![CDATA[PITA]]></category>

		<guid isPermaLink="false">http://shriphani.com/blog/?p=168</guid>
		<description><![CDATA[This is seriously stupid. Have a look at what something called ELCOT does to test the durability of their laptop]]></description>
			<content:encoded><![CDATA[<p>This is seriously stupid. Have a look at what something called ELCOT does to test the durability of their laptop</p>
<p>
<object width="425" height="344"><param name="movie" value="http://www.youtube.com/v/p5TF3gA43wA&#038;hl=en"></param><embed src="http://www.youtube.com/v/p5TF3gA43wA&#038;hl=en" type="application/x-shockwave-flash" width="425" height="344"></embed></object></p>
]]></content:encoded>
			<wfw:commentRss>http://shriphani.com/blog/2008/06/27/iq-0/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>SAT 2: Recovering from the &#8220;Shriphani Conjecture&#8221;</title>
		<link>http://shriphani.com/blog/2007/10/06/sat-2-recovering-from-the-shriphani-conjecture/</link>
		<comments>http://shriphani.com/blog/2007/10/06/sat-2-recovering-from-the-shriphani-conjecture/#comments</comments>
		<pubDate>Sat, 06 Oct 2007 11:17:11 +0000</pubDate>
		<dc:creator>Shriphani</dc:creator>
				<category><![CDATA[Daily life]]></category>
		<category><![CDATA[PITA]]></category>
		<category><![CDATA[college prep.]]></category>

		<guid isPermaLink="false">http://shriphani.com/blog/?p=24</guid>
		<description><![CDATA[The Shriphani Conjecture states that: &#8220;If something is judged by you to be impossible, then it is sure to happen to you.&#8221; Well here goes. Two days ago I chanced to look at my Toefl iBT profile on ets&#8217; website and clicked on the &#8220;View Scores&#8221; button and wonders of wonders, 117 on 120. So [...]]]></description>
			<content:encoded><![CDATA[<p>The Shriphani Conjecture states that:</p>
<p>&#8220;If something is judged by you to be impossible, then it is sure to happen to you.&#8221;</p>
<p>Well here goes. Two days ago I chanced to look at my Toefl iBT profile on ets&#8217; website and clicked on the &#8220;View Scores&#8221; button and wonders of wonders, 117 on 120. So I am safe I said and moved on to read Einstein&#8217;s special theory of relativity.</p>
<p>Today I sat for SAT 2. A comedy scene took place at the center.</p>
<p><em>Scene 1:</em></p>
<p><em>(Enter Shriphani Palakodety and Mother)</em></p>
<p>Shriphani Palakodety: Hmm&#8230; from what I gather by looking at the contents of the bag, I seem to have forgotten to get my calculator.</p>
<p>Mother: WHAT !!</p>
<p>SP: Yeah, I am without the electronic device that seems to be so needed to write this exam.</p>
<p>M: We paid more than a 100 dollars for that calculator!</p>
<p>SP: It will be useful at some later date.</p>
<p>M: It won&#8217;t be serving the purpose we got it for !! You made us go through a lot of trouble to get hold of this calculator</p>
<p>SP: Relax ! I can write the exam.</p>
<p>M: You wasted money ! That calc. was for your SAT</p>
<p><em>(I still think that calc. is for playing minesweeper and figuring out why the look-to-us-if-you-want-to-learn-about-open-source-and-linux company doesn&#8217;t have a linux version of their calculator-pc syncing software. I still managed to copy the binaries using pyserial to play games on my calc)</em></p>
<p>SP: Sorry.</p>
<p>M: hmph</p>
<p>So I went in and wrote my name, encircled the dots and came out. I did leave quite a few. I will probably cross 2250 easily. I should have taken the calc. DAMN !</p>
]]></content:encoded>
			<wfw:commentRss>http://shriphani.com/blog/2007/10/06/sat-2-recovering-from-the-shriphani-conjecture/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>jammed dirname.py on top of mount.py</title>
		<link>http://shriphani.com/blog/2007/05/15/jammed-dirnamepy-on-top-of-mountpy/</link>
		<comments>http://shriphani.com/blog/2007/05/15/jammed-dirnamepy-on-top-of-mountpy/#comments</comments>
		<pubDate>Tue, 15 May 2007 06:02:15 +0000</pubDate>
		<dc:creator>Shriphani</dc:creator>
				<category><![CDATA[PITA]]></category>
		<category><![CDATA[Storage]]></category>
		<category><![CDATA[python]]></category>

		<guid isPermaLink="false">http://shriphani.com/blog/?p=8</guid>
		<description><![CDATA[Trouble&#8217;s struck !!. Ubuntu&#8217;s libATA has stopped functioning and my partitions are now seen as IDE subsystems once again. Hence we have a conflict between udev rules and device names leading to automount getting &#60;censored&#62;. I seriously can&#8217;t be bothered by this. Considering that I try to behave as much as a sysadmin as possible, [...]]]></description>
			<content:encoded><![CDATA[<p>Trouble&#8217;s struck !!. Ubuntu&#8217;s libATA has stopped functioning and my partitions are now seen as IDE subsystems once again. Hence we have a conflict between udev rules and device names leading to automount getting &lt;censored&gt;. I seriously can&#8217;t be bothered by this. Considering that I try to behave as much as a sysadmin as possible, I tried to whip up a script that would mount the device specified as I have no idea what filesystems my 3 identical (in appearance) external drives have on them. I think one has reiserfs, another has ext3 and the third has fat32 on it. I tried to find out the command that would let me know about the fs I have on my external drive without actually mounting it. fdisk didn&#8217;t help and I was stuck with waiting for the new kernel 2.6.20-16-generic to be fixed. Later that day I did:</p>
<pre>
man -k locate</pre>
<p>The first line in there was:</p>
<pre>
blkid (8)            - command-line utility to locate/print block device attributes</pre>
<p>Was this command the solution to my troubles? It indeed was. I then whipped up a script in no time. Here it is:</p>
<pre> #!/usr/bin/python

#mountcreatingdir.py

#Author:Shriphani Palakodety

import commands

index = 1

while True:

 dir = "/mnt/usbdisk" + str(index)

 string = commands.getoutput('mkdir %s' % dir)

 if string == "":

  continue

 else:

  index = index + 1

 device = raw_input('Enter the name of the device you want to mount: ')

 a = commands.getoutput('blkid %s' % device)

 import string

 number = string.find(a, " T")

 print number

 requirement = a[number+6:]

 s = commands.getoutput('mount -t %s %s %s' % (requirement, device, dir))

 print s</pre>
<p>That&#8217;s about it.</p>
]]></content:encoded>
			<wfw:commentRss>http://shriphani.com/blog/2007/05/15/jammed-dirnamepy-on-top-of-mountpy/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
