<?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</title>
	<atom:link href="http://shriphani.com/blog/feed/" rel="self" type="application/rss+xml" />
	<link>http://shriphani.com/blog</link>
	<description>In Pursuit of Truth and Beauty</description>
	<lastBuildDate>Wed, 15 May 2013 00:29:17 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5.1</generator>
		<item>
		<title>Diecast Collection</title>
		<link>http://shriphani.com/blog/2013/05/15/diecast-collection/</link>
		<comments>http://shriphani.com/blog/2013/05/15/diecast-collection/#comments</comments>
		<pubDate>Wed, 15 May 2013 00:29:17 +0000</pubDate>
		<dc:creator>shriphani</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://shriphani.com/blog/?p=1619</guid>
		<description><![CDATA[Recently, I added 2 cars to my diecast collection. A Kennedy Limo and a Duesenberg. These are fantastic looking cars and the full album is online here: What a beautiful car.]]></description>
				<content:encoded><![CDATA[<p>Recently, I added 2 cars to my diecast collection. A Kennedy Limo and a Duesenberg. These are fantastic looking cars and the full album is online here:</p>
<p><a href="https://www.dropbox.com/sc/uc9czdyu0ih0jbn/Qjs8aAFlpI"><img src="http://shriphani.com/pics/Kennedy_Limo_1-24.jpeg" /></a></p>
<p>What a beautiful car.</p>
]]></content:encoded>
			<wfw:commentRss>http://shriphani.com/blog/2013/05/15/diecast-collection/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Java Bullshit</title>
		<link>http://shriphani.com/blog/2013/05/09/java-bullshit/</link>
		<comments>http://shriphani.com/blog/2013/05/09/java-bullshit/#comments</comments>
		<pubDate>Thu, 09 May 2013 05:13:04 +0000</pubDate>
		<dc:creator>shriphani</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://shriphani.com/blog/?p=1616</guid>
		<description><![CDATA[Recently I had a couple of large gzip files that contained data from a single source and since I wanted to keep things together, I decided to store the files as one large gz file. Any sane person would do: cat file1.gz file2.gz &#62; file3.gz And the result is going to be a valid Gzip [...]]]></description>
				<content:encoded><![CDATA[<p>Recently I had a couple of large gzip files that contained data from a single source and since I wanted to keep things together, I decided to store the files as one large gz file. Any sane person would do:</p>
<p><code><br />
cat file1.gz file2.gz &gt; file3.gz<br />
</code></p>
<p>And the result is going to be a valid Gzip file. Next, I had a clojure process go and mine this gz file (which when decompressed should have data on each line so we can <code>line-seq</code> over it and things should be fine.</p>
<p><strong>Of course fucking no</strong>t. Turns out that such a gzip file that every piece of shit language's API can read cannot be read by yours truly: <strong>GZIPInputStream</strong> that Java uses.</p>
<p>Now, I have a 10+ gig Gzip file that java cannot read. This is obviously not fucking documented anywhere and I had to find this out in <code>#clojure</code> (the IRC room for clojure). In fact here is a Bug report closed as a wontfix: <a href="http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4691425">http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4691425</a></p>
<p><strong>I fail to understand how something with so many <a href="http://jcp.org/en/participation/committee">sugar daddies</a> can fail to even put together a GZIPInputStream that implements the full spec.</strong></p>
<p>There is so much fail in everything I use with Java. So much fail.</p>
<p>This cancer needs to end.</p>
]]></content:encoded>
			<wfw:commentRss>http://shriphani.com/blog/2013/05/09/java-bullshit/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Clojure Recur</title>
		<link>http://shriphani.com/blog/2013/04/30/clojure-recur/</link>
		<comments>http://shriphani.com/blog/2013/04/30/clojure-recur/#comments</comments>
		<pubDate>Tue, 30 Apr 2013 03:29:34 +0000</pubDate>
		<dc:creator>shriphani</dc:creator>
				<category><![CDATA[Daily life]]></category>
		<category><![CDATA[clojure]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[Lisp]]></category>
		<category><![CDATA[recur]]></category>
		<category><![CDATA[sleep]]></category>
		<category><![CDATA[tail call optimization]]></category>
		<category><![CDATA[tco]]></category>
		<category><![CDATA[thread]]></category>

		<guid isPermaLink="false">http://shriphani.com/blog/?p=1608</guid>
		<description><![CDATA[Recently, I was in a situation where avoiding a recursive tail-call would have been unavoidable (essentially, I was forced to do a Thread.sleep() call). The fine folks at #clojure pointed me to recur and it was exactly what the doctor ordered. No stack consumption and ability  to make tail calls. FWIW, this was the script: I [...]]]></description>
				<content:encoded><![CDATA[<p>Recently, I was in a situation where avoiding a recursive tail-call would have been unavoidable (essentially, I was forced to do a Thread.sleep() call). The fine folks at <code>#clojure</code> pointed me to <a href="http://clojure.org/special_forms#recur">recur</a> and it was exactly what the doctor ordered. No stack consumption and ability  to make tail calls. FWIW, this was the script:</p>
<p><script src="http://www.refheap.com/paste/14055.js"></script></p>
<p>I have really begun loving this language and maybe this will be the lisp that I will make my primary language of choice.</p>
]]></content:encoded>
			<wfw:commentRss>http://shriphani.com/blog/2013/04/30/clojure-recur/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Clojure For Scripting</title>
		<link>http://shriphani.com/blog/2013/04/29/clojure-for-scripting/</link>
		<comments>http://shriphani.com/blog/2013/04/29/clojure-for-scripting/#comments</comments>
		<pubDate>Mon, 29 Apr 2013 07:33:09 +0000</pubDate>
		<dc:creator>shriphani</dc:creator>
				<category><![CDATA[Daily life]]></category>

		<guid isPermaLink="false">http://shriphani.com/blog/?p=1602</guid>
		<description><![CDATA[I have been trying to make Clojure my default language for scripting and since I am a pillock, I used a new project for almost single-file code pieces.lein exec is apparently the way to accomplish this. This is going to make life easier henceforth. Links: Lein Exec]]></description>
				<content:encoded><![CDATA[<p>I have been trying to make Clojure my default language for scripting and since I am a pillock, I used a new project for almost single-file code pieces.<code>lein exec</code> is apparently the way to accomplish this. This is going to make life easier henceforth.</p>
<p>Links:</p>
<ul>
<li><a href="https://github.com/kumarshantanu/lein-exec">Lein Exec</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://shriphani.com/blog/2013/04/29/clojure-for-scripting/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ATH-M50 Pads</title>
		<link>http://shriphani.com/blog/2013/04/24/ath-m50-pads/</link>
		<comments>http://shriphani.com/blog/2013/04/24/ath-m50-pads/#comments</comments>
		<pubDate>Wed, 24 Apr 2013 17:49:38 +0000</pubDate>
		<dc:creator>shriphani</dc:creator>
				<category><![CDATA[Daily life]]></category>
		<category><![CDATA[ath-m50]]></category>
		<category><![CDATA[audio technica]]></category>
		<category><![CDATA[dt250]]></category>
		<category><![CDATA[ear pad]]></category>
		<category><![CDATA[head gear]]></category>
		<category><![CDATA[headphone mod]]></category>
		<category><![CDATA[headphones]]></category>
		<category><![CDATA[m50]]></category>
		<category><![CDATA[mod]]></category>
		<category><![CDATA[pad]]></category>

		<guid isPermaLink="false">http://shriphani.com/blog/?p=1592</guid>
		<description><![CDATA[I am a big fan of Audio Technica's products. I own an ES7 (which has sadly been discontinued) and an M50. Unfortunately, these are designed for those with smaller ears than mine. The plastic on these headphones has always touched my ear and hurt after prolonged usage. I used a cotton mod once upon a time [...]]]></description>
				<content:encoded><![CDATA[<p>I am a big fan of Audio Technica's products. I own an <a href="http://www.amazon.com/gp/product/B000R0TPQ8/ref=as_li_ss_tl?ie=UTF8&amp;camp=1789&amp;creative=390957&amp;creativeASIN=B000R0TPQ8&amp;linkCode=as2&amp;tag=shriswebl-20">ES7</a> (which has sadly been discontinued) and an <a href="http://www.amazon.com/gp/product/B000ULAP4U/ref=as_li_ss_tl?ie=UTF8&amp;camp=1789&amp;creative=390957&amp;creativeASIN=B000ULAP4U&amp;linkCode=as2&amp;tag=shriswebl-20">M50</a>. Unfortunately, these are designed for those with smaller ears than mine. The plastic on these headphones has always touched my ear and hurt after prolonged usage. I used a <a href="http://www.head-fi.org/t/535646/ath-m50-mod">cotton mod</a> once upon a time and that worked ok for a short while and then the problem ensued. I mostly ignored it but recently I had a chance to fix this issue. I remembered someone who owned a <a href="http://www.amazon.com/gp/product/B0002V9EA4/ref=as_li_ss_tl?ie=UTF8&amp;camp=1789&amp;creative=390957&amp;creativeASIN=B0002V9EA4&amp;linkCode=as2&amp;tag=shriswebl-20">DT250</a> with velour pads (I do not like sweat and leather and sweat don't mix) and someone on head-fi mentioned that I could use those as a replacement for the ATH M50 pads. The DT250 pads completely eliminate any issues with comfort that emerge when using the ATH-M50. You can order the DT250 pads <a href="http://www.amazon.com/gp/product/B0016MF7W2/ref=as_li_ss_tl?ie=UTF8&amp;camp=1789&amp;creative=390957&amp;creativeASIN=B0016MF7W2&amp;linkCode=as2&amp;tag=shriswebl-20">here</a> and put them on your M50</p>
]]></content:encoded>
			<wfw:commentRss>http://shriphani.com/blog/2013/04/24/ath-m50-pads/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>A wrapper around SUTime</title>
		<link>http://shriphani.com/blog/2013/04/21/a-wrapper-around-sutime/</link>
		<comments>http://shriphani.com/blog/2013/04/21/a-wrapper-around-sutime/#comments</comments>
		<pubDate>Sun, 21 Apr 2013 23:25:13 +0000</pubDate>
		<dc:creator>shriphani</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[clojure]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[jvm]]></category>
		<category><![CDATA[Stanford NLP]]></category>
		<category><![CDATA[sutime]]></category>

		<guid isPermaLink="false">http://shriphani.com/blog/?p=1590</guid>
		<description><![CDATA[Recently, for some of my work, I had to use SUTime. Here is a clojure wrapper around the java library: https://github.com/shriphani/sutime-clojure &#160; It is available on clojars too : https://clojars.org/sutime-clojure &#160;]]></description>
				<content:encoded><![CDATA[<p>Recently, for some of my work, I had to use SUTime. Here is a clojure wrapper around the java library: <a href="https://github.com/shriphani/sutime-clojure">https://github.com/shriphani/sutime-clojure</a></p>
<p>&nbsp;</p>
<p>It is available on clojars too : <a href="https://clojars.org/sutime-clojure">https://clojars.org/sutime-clojure</a></p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://shriphani.com/blog/2013/04/21/a-wrapper-around-sutime/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Links for 13-Apr-2013</title>
		<link>http://shriphani.com/blog/2013/04/13/links-for-13-apr-2013/</link>
		<comments>http://shriphani.com/blog/2013/04/13/links-for-13-apr-2013/#comments</comments>
		<pubDate>Sat, 13 Apr 2013 20:44:31 +0000</pubDate>
		<dc:creator>shriphani</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://shriphani.com/blog/?p=1573</guid>
		<description><![CDATA[I was recently studying some material for scribe notes for a class on Graphical Models. In Bayesian stats, there is such a thing as the De Finetti's Theorem. Scribe notes from Michael Jordan's class contained excellent content on the topic. The takeaway message from the theorem is that (this is an excerpt from the notes I've [...]]]></description>
				<content:encoded><![CDATA[<p>I was recently studying some material for scribe notes for a class on Graphical Models. In Bayesian stats, there is such a thing as the <em><strong>De Finetti's Theorem.</strong></em> <a href="http://www.cs.berkeley.edu/~jordan/courses/260-spring10/lectures/lecture1.pdf">Scribe notes</a> from Michael Jordan's class contained excellent content on the topic. The takeaway message from the theorem is that (this is an excerpt from the notes I've linked to):</p>
<p><p style='text-align:center;'><span class='MathJax_Preview'><img src='http://shriphani.com/blog/wp-content/plugins/latex/cache/tex_1f6bcf35ddec31b4298fc7fcc1f6bc92.gif' style='vertical-align: middle; border: none;' class='tex' alt=" p(x_{1}, x_{2}, x_{3}, x_{4}, \dots, x_{n}) = \int \! p(x_{1} | \theta) d \! \theta" /></span><script type='math/tex;  mode=display'> p(x_{1}, x_{2}, x_{3}, x_{4}, \dots, x_{n}) = \int \! p(x_{1} | \theta) d \! \theta</script></p></p>
<ul>
<li>There must exist a parameter <em>θ.</em></li>
<li>There must exist a likelihood <em>p(x|θ).</em></li>
<li>There must exist a distribution on <em>θ.</em></li>
<li>These quantities exist to make a sequence of random variables (observed data) conditionally independent.</li>
</ul>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://shriphani.com/blog/2013/04/13/links-for-13-apr-2013/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SUTime HowTo</title>
		<link>http://shriphani.com/blog/2013/04/13/sutime-howto/</link>
		<comments>http://shriphani.com/blog/2013/04/13/sutime-howto/#comments</comments>
		<pubDate>Sat, 13 Apr 2013 19:07:11 +0000</pubDate>
		<dc:creator>shriphani</dc:creator>
				<category><![CDATA[Daily life]]></category>
		<category><![CDATA[clueweb12++]]></category>
		<category><![CDATA[nlp]]></category>
		<category><![CDATA[Stanford NLP]]></category>
		<category><![CDATA[sutime]]></category>
		<category><![CDATA[time]]></category>

		<guid isPermaLink="false">http://shriphani.com/blog/?p=1569</guid>
		<description><![CDATA[I was a super-noob and I didn't know how to use SUTime well but after a few hours of poking around, I managed to get time annotations (turns out it is all in 1 pipeline - silly me). Also, after delving into Lein, I have been using maven and I haven't been able to make it [...]]]></description>
				<content:encoded><![CDATA[<p>I was a super-noob and I didn't know how to use <a href="http://nlp.stanford.edu/software/sutime.shtml">SUTime</a> well but after a few hours of poking around, I managed to get time annotations (turns out it is all in 1 pipeline - silly me).</p>
<p>Also, after delving into Lein, I have been using maven and I haven't been able to make it do what I want it to do without opening <code>pom.xml</code>. Essentially, these two gists will get you going: <a href="https://gist.github.com/shriphani/5379637">pom.xml</a> and <a href="https://gist.github.com/shriphani/5379640">TestSUTime.java</a></p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://shriphani.com/blog/2013/04/13/sutime-howto/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Year 22</title>
		<link>http://shriphani.com/blog/2013/03/30/year-22/</link>
		<comments>http://shriphani.com/blog/2013/03/30/year-22/#comments</comments>
		<pubDate>Sat, 30 Mar 2013 19:20:03 +0000</pubDate>
		<dc:creator>shriphani</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://shriphani.com/blog/?p=1556</guid>
		<description><![CDATA[So I turned 22 yesterday and while I haven't accomplished much last year, I plan to change that. First, in the mind department, I will read books from Africa. First, I am going to try and learn the stories behind Nigerian personalities (I lived there for a year) and I think Achebe is a good [...]]]></description>
				<content:encoded><![CDATA[<p>So I turned 22 yesterday and while I haven't accomplished much last year, I plan to change that. First, in the mind department, I will read books from Africa. First, I am going to try and learn the stories behind Nigerian personalities (I lived there for a year) and I think Achebe is a good place to start (Achebe was an Igbo who was around during the Nigerian Independence). Next, I will want to study about at least two wars in the Area and Liberia. Let us see how that goes.</p>
<p>Apart from that, my project for the year has begun taking shape and I am feeling a bit better about my PhD career. Hopefully I will do well here on and accomplish a lot.</p>
<p>Next, I need to lose weight. I take to comfort food and when things are not going well, I put on those pounds. That needs to change.</p>
]]></content:encoded>
			<wfw:commentRss>http://shriphani.com/blog/2013/03/30/year-22/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Warc-Clojure</title>
		<link>http://shriphani.com/blog/2013/03/15/warc-clojure/</link>
		<comments>http://shriphani.com/blog/2013/03/15/warc-clojure/#comments</comments>
		<pubDate>Fri, 15 Mar 2013 05:04:07 +0000</pubDate>
		<dc:creator>shriphani</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[clojure]]></category>
		<category><![CDATA[warc]]></category>

		<guid isPermaLink="false">http://shriphani.com/blog/?p=1520</guid>
		<description><![CDATA[I wrote this library since I was learning clojure (mostly to avoid using Java). Somebody might find it useful: https://clojars.org/org.clojars.shriphani/warc-clojure]]></description>
				<content:encoded><![CDATA[<p>I wrote this library since I was learning clojure (mostly to avoid using Java). Somebody might find it useful: <a href="https://clojars.org/org.clojars.shriphani/warc-clojure">https://clojars.org/org.clojars.shriphani/warc-clojure</a></p>
]]></content:encoded>
			<wfw:commentRss>http://shriphani.com/blog/2013/03/15/warc-clojure/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
