<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss1full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:foaf="http://xmlns.com/foaf/0.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns="http://purl.org/rss/1.0/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0">
<channel rdf:about="http://planet.python.org/">
    <title>pradeepgowda.com</title>
    <link>http://pradeepgowda.com/feed.xml</link>
    <description />
    <items>
		<rdf:Seq>
			<rdf:li rdf:resource="http://pradeepgowda.com/blog/2009/04/15/" />
		</rdf:Seq>          
		<rdf:Seq>
			<rdf:li rdf:resource="http://pradeepgowda.com/blog/2009/04/02/" />
		</rdf:Seq>          
		<rdf:Seq>
			<rdf:li rdf:resource="http://pradeepgowda.com/blog/2009/03/22/" />
		</rdf:Seq>          
	</items>

<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" href="http://feeds.feedburner.com/btbytes_rss2" type="application/rss+xml" /><feedburner:browserFriendly>This is an XML content feed. It is intended to be viewed in a newsreader or syndicated to another site.</feedburner:browserFriendly></channel>    
    <item rdf:about="http://pradeepgowda.com/blog/2009/04/15/">
        <title>Attractive Charts with Open Flash Charts and Django</title>
        <link>http://feedproxy.google.com/~r/btbytes_rss2/~3/BpRlH2SPmS0/</link>
        <content:encoded>&lt;p&gt;On request from a user, I've put together a sample django app that uses &lt;a href="http://btbytes.github.com/pyofc2"&gt;PyOFC2&lt;/a&gt; to render charts in web browsers using &lt;a href="http://teethgrinder.co.uk/open-flash-chart-2/downloads.php"&gt;Open Flash Charts 2&lt;/a&gt;. &lt;/p&gt;

&lt;p&gt;The django+pyofc2 demo code can be downloaded from &lt;a href="http://github.com/btbytes/djofc2_demo/tree/master"&gt;github&lt;/a&gt;.&lt;/p&gt;

&lt;h3&gt;Using PyOFC2 with Django&lt;/h3&gt;

&lt;ol&gt;
&lt;li&gt;Download &lt;a href="http://teethgrinder.co.uk/open-flash-chart-2/downloads.php"&gt;Open Flash Chart 2&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Download and install &lt;a href="http://github.com/btbytes/pyofc2/tree/master"&gt;PyOFC2&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Download &lt;a href="http://code.google.com/p/swfobject/"&gt;SWFObject&lt;/a&gt; and put the files in your static media directory&lt;/li&gt;
&lt;li&gt;Add references to the SWFObject files and &lt;code&gt;open-flash-chart.swf&lt;/code&gt; file in the header section. See &lt;code&gt;templates/index.html&lt;/code&gt; for details  &lt;/li&gt;
&lt;li&gt;Create a view to serve the json data from. See &lt;code&gt;demoapp/views.py&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Configure &lt;code&gt;urls.py&lt;/code&gt; to map the view to the url endpoint.&lt;/li&gt;
&lt;/ol&gt;
</content:encoded>
        <dc:date>2009-04-16T01:52:56-05:00</dc:date>
    <feedburner:origLink>http://pradeepgowda.com/blog/2009/04/15/</feedburner:origLink></item> 
    <item rdf:about="http://pradeepgowda.com/blog/2009/04/02/">
        <title>Adding OpenID to your website</title>
        <link>http://pradeepgowda.com/blog/2009/04/02/</link>
        <content:encoded>	&lt;p&gt;With the advent of openid providers like &lt;a href="http://clickpass.com"&gt;Clickpass&lt;/a&gt; , having your own OpenID has become very easy. Services like clickpass use the APIs provided by popular service providers like Yahoo, Google to enable you to use those accounts as openids.&lt;/p&gt;

	&lt;p&gt;However, nothing beats having your website or blog act as your OpenID. After all, &lt;code&gt;btbytes.com&lt;/code&gt; is shorter than &lt;code&gt;my.yahoo.com/btbytes&lt;/code&gt;.&lt;/p&gt;

	&lt;p&gt;To make your website a OpenID &amp;#8220;provider&amp;#8221;, you need two files and 5 minutes.&lt;/p&gt;

	&lt;ul&gt;
		&lt;li&gt;Download &lt;a href="http://siege.org/projects/phpMyID/"&gt;phpMyID&lt;/a&gt; .&lt;/li&gt;
		&lt;li&gt;Edit MyID.config.php&lt;/li&gt;
		&lt;li&gt;Create a md5 hashed password : &lt;code&gt;&amp;#60;pre&amp;#62;$ echo -n &amp;#39;username:realm:password&amp;#39; | openssl md5
&amp;#60;/pre&amp;#62;&lt;/code&gt;&lt;/li&gt;
		&lt;li&gt;Upload the files to your website root directory.&lt;/li&gt;
		&lt;li&gt;Add these two lines to &lt;code&gt;head&lt;/code&gt; section of your frontpage (or the header template of your blog software).&lt;/li&gt;
	&lt;/ul&gt;

	&lt;p&gt;&lt;code&gt;
&amp;#38;lt;link rel=&amp;#34;openid.server&amp;#34; 
    href=&amp;#34;http://mysite.com/MyID.config.php&amp;#34;&amp;#38;gt;
&amp;#38;lt;link rel=&amp;#34;openid.delegate&amp;#34; 
    href=&amp;#34;http://mysite.com/MyID.config.php&amp;#34;&amp;#38;gt;
&lt;/code&gt;&lt;/p&gt;

	&lt;p&gt;Thats it.&lt;/p&gt;

	&lt;p&gt;To test your setup, go to any openID enabled commenting system (eg: LiveJournal blogs) and enter your website&amp;#8217;s &lt;span class="caps"&gt;URL&lt;/span&gt;. The site you are on will make a request to your website, asking it to verify you. Your site will ask you for username and password. If the user name and password is correct, your site will in turn send a message to the requesting site saying that you are the genuine stuff.&lt;/p&gt;

	&lt;p&gt;Once you have logged into into your OpenID provider, as long you don&amp;#8217;t clear the browser cache, you should be able to just enter your website into any OpenID box and be automatically logged in. This is the major advantage over&lt;br /&gt;having to maintain a login for every site.&lt;/p&gt;

</content:encoded>
        <dc:date>2009-04-03T22:44:00-05:00</dc:date>
    </item> 
    <item rdf:about="http://pradeepgowda.com/blog/2009/03/22/">
        <title>Year 2009  prospects</title>
        <link>http://pradeepgowda.com/blog/2009/03/22/</link>
        <content:encoded>	&lt;p&gt;I am taking a graduate level course on Computational Intelligence at Purdue school of engineering/&lt;span class="caps"&gt;IUPUI&lt;/span&gt;. With this course, my long standing desire to study subjects related to genetic algorithms, machine learning etc has come true. &lt;/p&gt;

	&lt;p&gt;My first introduction to genetic algorithms was from the Nov 1996(?) issue of Resonance, a science journal from the Indian Academy of Sciences. &lt;br /&gt;The cleverness of GA prompted me to study it along with Neural Networks (esp. Self Organizing Neural maps) between 2000-2002. Between 2002 and 2003 I, as part my work at a (now defunct) startup, used  Naive Bayes, Decision Trees(J48), k-Nearest Neighbours etc  to improve credit card defaulter prediction in retail banking. I also  used the Fuzzy Logic module from &lt;a href="http://www.dataengine.de/english/sp/index.htm"&gt;DataEngine&lt;/a&gt; package to build a root cause analysis package for a power plant. My well thumbed and pencilled copy of Data mining by Han and Kamber is a prized possession from that time.&lt;/p&gt;

	&lt;p&gt;After that, the study of machine learning and data-mining algorithms continued to be a hobby. I studied &lt;a href="http://www.emp.pdx.edu/dea/homedea.html"&gt;data envelopment analysis&lt;/a&gt; and learned to solve &lt;span class="caps"&gt;DEA&lt;/span&gt; problems using the &lt;a href="http://www.gnu.org/software/glpk/"&gt;GLPK&lt;/a&gt; package on Linux in 2006-7.&lt;/p&gt;

	&lt;p&gt;After coming to US in 2008, I wanted to make use of the proximity to &lt;a href="http://iupui.edu/"&gt;IUPUI&lt;/a&gt; campus to study further. The first course I took was &lt;span class="caps"&gt;ECE&lt;/span&gt; 536 &amp;#8211; Computational Intelligence taught by &lt;a href="http://www.engr.iupui.edu/~eberhart/"&gt;Prof. Eberhart&lt;/a&gt;. He is one of the pioneers of the &lt;a href="http://www.swarmintelligence.org/"&gt;Particle Swarm Optimisation&lt;/a&gt; method.  I&amp;#8217;ve found much satisfaction in attending the classes and doing assignments.  I finally managed to use my fledgling TeX skills (via &lt;a href="http://wiki.contextgarden.net"&gt;ConTeXt&lt;/a&gt;) to do assignments. &lt;/p&gt;

	&lt;p&gt;In the coming months, I have a plan of doing self-study in mathematics refreshing pre-calculus trigonometry and  calculus.  The ability to read a page full of mathematics and  understand it is important.  The programmer in me pushes me to write code for all the neat algorithms I learn and discover. But, I realise that producing code should be a side effect of deep learning and solving problems, at least till I get a good grip of the algorithm fundamentals. &lt;/p&gt;

	&lt;p&gt;At work, I&amp;#8217;m getting to do a lot of Python coding along with Flex3, &lt;a href="http://www.erlang.org"&gt;Erlang&lt;/a&gt; and C. &lt;a href="http://lua.org"&gt;Lua&lt;/a&gt; looks to be an interesting and easy way to provide scripting capabilities to applications.  I&amp;#8217;m attending &lt;a href="http://us.pycon.org/2009/about/"&gt;PyCon 2009&lt;/a&gt; at Chicago. I&amp;#8217;m looking forward to see and hear from all the smart python people. &lt;/p&gt;

	&lt;p&gt;This site went through another styling change. But, more importantly, I have realised the utility of having a constantly updated public notebook of sorts. Once I took away blog format, and all its attendant bells and whistles, I started editing and improving what was already there. I have added a few new pages as starting points for later addition and editing. Between the twitters and delicious, the  ego-blogging and the link-blogging ideas  have withered. Good writing, sharing of code and ideas still remains a value proposition for personal websites. &lt;/p&gt;</content:encoded>
        <dc:date>2009-03-22T23:28:35-05:00</dc:date>
    </item> 
</rdf:RDF>
