<?xml version="1.0" encoding="UTF-8"?><rss version="0.92">
<channel>
	<title>Pravin Paratey</title>
	<link>http://pravin.insanitybegins.com</link>
	<description>Natural Language Processing, Information Extraction &#38; Search</description>
	<lastBuildDate>Mon, 26 Jul 2010 14:25:46 +0000</lastBuildDate>
	<docs>http://backend.userland.com/rss092</docs>
	<language>en</language>
	<!-- generator="WordPress/3.1-alpha" -->

	<item>
		<title>Palindromic sub-sequences in python</title>
		<description><![CDATA[This bit of python code returns all palindromic subsequences in the input string.]]></description>
		<link>http://pravin.insanitybegins.com/2010/04/07/palindromic-sub-sequences-in-python/</link>
			</item>
	<item>
		<title>Join a list of integers in Python</title>
		<description><![CDATA[How do you run a string join on a list of integers in Python? After googling for about 10 mins, I gave up and did this. I am sure there is a better way of doing it!]]></description>
		<link>http://pravin.insanitybegins.com/2010/02/19/join-a-list-of-integers-in-python/</link>
			</item>
	<item>
		<title>Writing a spider in 10 mins using Scrapy</title>
		<description><![CDATA[I came across <a href="http://scrapy.org">Scrapy</a> a few days back and have grown to really love it. This tutorial will illustrate how you can write a simple spider using Scrapy to scrape data off <a href="http://www.paulsmith.co.uk/paul-smith-london-308/category.html">Paul Smith</a>. All this in 10 minutes.]]></description>
		<link>http://pravin.insanitybegins.com/2010/01/21/writing-a-spider-in-10-mins-using-scrapy/</link>
			</item>
	<item>
		<title>Using PHP and ImageMagick to resize images</title>
		<description><![CDATA[<p>Today, I had to write some code to generate thumbnails in PHP. The <code>php-gd</code> library wasn't installed and I had to work with ImageMagick. Not the most elegant of solutions, but it works *shrug*</p>]]></description>
		<link>http://pravin.insanitybegins.com/2009/09/09/using-php-and-imagemagick-to-resize-images/</link>
			</item>
	<item>
		<title>Script to generate URS from Wikipedia</title>
		<description><![CDATA[<p>A person’s URS is a phrase that could be used instead of his/her usual name in all circumstances, which makes it absolutely clear who he/she is. <b>ex.</b> <abbr title="Bhagat Singh (September 28, 1907 - March 23, 1931), the Indian freedom fighter, considered to be one of the most influential revolutionaries of the Indian independence movement">Bhagat Singh</abbr> was executed by the British in 1931.</p>]]></description>
		<link>http://pravin.insanitybegins.com/2009/07/23/script-to-generate-urs-from-wikipedia/</link>
			</item>
	<item>
		<title>Snippet to generate a random word in python</title>
		<description><![CDATA[Since I haven’t posted here in a while, I figured I’d whip up this example real quick. It illustrates the usage of the random function.]]></description>
		<link>http://pravin.insanitybegins.com/2009/04/26/snippet-to-generate-a-random-word-in-python/</link>
			</item>
	<item>
		<title>Java Regex Matching</title>
		<description><![CDATA[This snippet illustrates Regular Expressions in Java. Um, I didn't realize <code>matcher.find()</code> had to be called. Wasted half a day!]]></description>
		<link>http://pravin.insanitybegins.com/2009/04/16/java-regex-matching/</link>
			</item>
	<item>
		<title>Simple Webserver in Python</title>
		<description><![CDATA[This snippet illustrates how one can easily build a HTTP Web Server in python. self.args will contain the query parameters. WebServer.py1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 [...]]]></description>
		<link>http://pravin.insanitybegins.com/2009/04/15/simple-webserver-in-python/</link>
			</item>
	<item>
		<title>XML DOM in Java</title>
		<description><![CDATA[Of late, I have been working with Java. And one of the issues that I faced was XML parsing. With so many libraries available, I decided to stick to jaxp. What follows is sample code to Tree walk over the nodes: TreeWalk.java1 2 3 4 5 6 7 8 9 10 11 12 13 14 [...]]]></description>
		<link>http://pravin.insanitybegins.com/2009/03/29/xml-dom-in-java/</link>
			</item>
	<item>
		<title>Hacking wp-syntax plugin to show header</title>
		<description><![CDATA[I was recently asked how I got the wp-syntax plugin to show a header like so: test.cpp1 2 3 int main&#40;&#41; &#123; return 0; &#125; To show the test.cpp file name, I modified the wp-syntax.php file (present in /wp-content/plugins/wp-syntax/) like so: Changed the regular expression in the wp_syntax_before_filter function from: wp-syntax.phpfunction wp_syntax_before_filter&#40;$content&#41; &#123; return preg_replace_callback&#40; [...]]]></description>
		<link>http://pravin.insanitybegins.com/2009/03/28/hacking-wp-syntax-plugin-to-show-header/</link>
			</item>
</channel>
</rss>
