<?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>Code-itch &#187; Uncategorized</title>
	<atom:link href="http://www.code-itch.com/blog/category/uncategorized/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.code-itch.com/blog</link>
	<description>A non-coders attempts at writing useful code</description>
	<lastBuildDate>Sun, 19 Dec 2010 11:47:39 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Crystallization reports at the RCSB or PDB : crystallization conditions for already crystallized protein</title>
		<link>http://www.code-itch.com/blog/2010/11/crystallization-reports-at-the-rcsb-or-pdb-crystallization-conditions-for-already-crystallized-protein/</link>
		<comments>http://www.code-itch.com/blog/2010/11/crystallization-reports-at-the-rcsb-or-pdb-crystallization-conditions-for-already-crystallized-protein/#comments</comments>
		<pubDate>Mon, 15 Nov 2010 09:03:53 +0000</pubDate>
		<dc:creator>harijay</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.code-itch.com/blog/?p=219</guid>
		<description><![CDATA[Embarking on a quest to crystallize a protein that others have already crystallized?  You need to get a detailed report of all the crystal conditions that have been used in the literature for your protein of interest. Thanks to the many excellent features of the PDB  (RCSB)  you can use the Generate Reports drop down [...]]]></description>
			<content:encoded><![CDATA[<p><script src="http://dm6905kj7qmzs.cloudfront.net/mediaplayer-5.3-viral/swfobject.js" type="text/javascript"></script></p>
<div id="mediaspace">Embarking on a quest to crystallize a protein that others have already crystallized?  You need to get a detailed report of all the crystal conditions that have been used in the literature for your protein of interest.</div>
<div>Thanks to the many excellent features of the PDB  (RCSB)  you can use the Generate Reports drop down tab to get  a nice tabular report of all the Experimental, crystallization conditions once you have narrowed down your list of PDB files.</div>
<div></div>
<div>The above short screencast, shows you how.</div>
<div></div>
<div>Static image credit: Tabular help documentation at the RCSB/PDB</div>
<div>There is also documentation at the PDB: (<a href="http://www.rcsb.org/pdb/static.do?p=help/tabularHelp.html">Tabular help documentation:http://www.rcsb.org/pdb/static.do?p=help/tabularHelp.html</a>)</div>
<p><script type="text/javascript">// <![CDATA[
      var so = new SWFObject('http://dm6905kj7qmzs.cloudfront.net/mediaplayer-5.3-viral/player.swf','mpl','489','367','9');   so.addParam('allowfullscreen','true');   so.addParam('allowscriptaccess','always');   so.addParam('wmode','opaque');   so.addVariable('viral.onpause','false');so.addVariable('file','crystallization_reports_from_rcsb.mov');   so.addVariable('image','http://dm6905kj7qmzs.cloudfront.net/tabularHelp_std.png');   so.addVariable('streamer','rtmp://screencast.code-itch.com/cfx/st');   so.addVariable('stretching','fill');   so.write('mediaspace');
// ]]&gt;</script></p>
]]></content:encoded>
			<wfw:commentRss>http://www.code-itch.com/blog/2010/11/crystallization-reports-at-the-rcsb-or-pdb-crystallization-conditions-for-already-crystallized-protein/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Why the ipad will change everything</title>
		<link>http://www.code-itch.com/blog/2010/03/why-the-ipad-will-change-everything/</link>
		<comments>http://www.code-itch.com/blog/2010/03/why-the-ipad-will-change-everything/#comments</comments>
		<pubDate>Sat, 20 Mar 2010 20:13:04 +0000</pubDate>
		<dc:creator>harijay</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.code-itch.com/blog/?p=163</guid>
		<description><![CDATA[I was watching Steve jobs&#8217;s ipad announcement keynote the few months back and a few minutes into it when the ipad slide first appeared ..I impulsively said &#8221; they will sell it for $499 and this will change everything&#8221; . A few slides later I felt happy I was right with my price bet and [...]]]></description>
			<content:encoded><![CDATA[<p>I was watching Steve jobs&#8217;s ipad announcement keynote the few months back and a few minutes into it when the ipad slide first appeared ..I impulsively said &#8221; they will sell it for $499 and this will change everything&#8221; . A few slides later I felt happy I was right with my price bet and I started thinking about what I think the device will do for us.</p>
<p>As we are now weeks from the device getting to market I thought I would put down my thoughts on how well the ipad will do.</p>
<p>The ipad IS the new &#8220;ipod&#8221; and &#8220;iphone&#8221; , a trendsetting device which will first define and then dominate the category of handheld content consumption devices.</p>
<p>At 499 it is the perfect internet reading device . Yes it will bring the internet to everyone!. Just as we all stopped using our CD collection once we could carry our albeit lower quality mp3 collections around with us. We will stop using our laptops and computers to consume our internet content on the ipad and other similar devices.</p>
<p>Multitouch is the best thing to happen to UI since windows and the mouse. Anyone who has an iphone and the kindle realizes how much more intuitive it is to slide across the screen and touch something and see it respond.  It does seem like Apple with its custom silicon and ipad screen will dominate the innovations around multitouch as it gets integrated into more and more apps that work on this bigger screen. The new avataar of of iphoto and Mail.app it seems are so revolutionary in their approach to UI, that ipad apps will become the new showcases for killer apps across all platforms.</p>
<p>Despite the fact that it does not give you the refresh free comfort of e-ink. The fact that it can do video and the web natively will ensure that e-ink and kindles etc move away from mainstream towards the hardcore reader market. The ipad will become the reader of choice for everyone. It will be wrong to call this the kindle-killer , but for everyone who has not already bought a kindle or reads less than one book a week , they will prefer the ipad.</p>
<p>The rebirth of the web-app.  If you have ever saved a website as an icon on your iphone , or used a site specific browser like Fluid or others , you know how much sense it makes to consume a website as an App. The ipad will ensure that javascript and native web interfaces will get comeback as the chosen way of delivering functionality to users without suffering the control of the apple app store. </p>
<p>Perhaps contradictorily, the app store will retain its stranglehold over the iphone-ipad ecosystem. Just as everything from Yelp  to Evernote to even gmail is now &#8220;just an app&#8221; for everyone. Teams of people will develop exclusive Apps for their portals , if they chose not to re-engineer their websites to feel native on the ipad screen. App development will now make more sense for everything from board games to radiology and imaging to photo-management and sharing. </p>
<p>If there ever was a non computer &#8211; web browsing device..this is it! It really will change the way we consume content, watch video , listen to podcasts , watch HULU , Boxee , read Ebooks , subscribe to podcasts, watch webcasts&#8230;.you name it!. I believe the ipad is the next iphone and will be a worthy successor to the ipod and iphone as trendsetting devices that will be huge successes.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.code-itch.com/blog/2010/03/why-the-ipad-will-change-everything/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The burden of python deployment</title>
		<link>http://www.code-itch.com/blog/2010/01/the-burden-of-python-deployment/</link>
		<comments>http://www.code-itch.com/blog/2010/01/the-burden-of-python-deployment/#comments</comments>
		<pubDate>Wed, 13 Jan 2010 19:12:59 +0000</pubDate>
		<dc:creator>harijay</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.code-itch.com/blog/?p=156</guid>
		<description><![CDATA[Sorry for a grouchy new years post , but I figured I will attempt to get started blogging for the year with this post. I had authored this post a while back ( October 09) when I struggled with deployment of a python app. Much of what I talk about still holds true. Indeed python [...]]]></description>
			<content:encoded><![CDATA[<p>Sorry for a grouchy new years post , but I figured I will attempt to get started blogging for the year with this post. I had authored this post a while back ( October 09) when I struggled with deployment of a python app. Much of what I talk about still holds true. Indeed python deployment remains a problem with many solutions , and therefore quite painful since there is still no sure shot way to deploy a python app across platforms.</p>
<p>Its been almost three weeks since I released my maiden python-wxpython app. While Ive been busy doing other things , I decided to write this post to say how painful the &#8220;deployment&#8221; process of writing an application has been.<br />
The most ironic fact is that the easiest platform to deploy for has ironically been Windows.<br />
Once I used py2exe and innosetup I had a working setup.exe that installed the app on Windows Xp and Vista , 32 and 64 bit.<br />
The next most fun platform to create a deplyment target for was linux. It was almost trivial to use the cxfreeze to create a binary build for Ubuntu Linux 32 bit and 64 bit . With the help of a Virtualbox VM for 64 bit SUSE, I could even release a binary build for that platform because someone asked.</p>
<p>But thats when the fun ended!. The mac has been an extremely painful platform to deploy  python application for!.<br />
I am using py2app to create standalone binaries. The idea is to have an app that I can click on and have it launch on any mac.<br />
Some interesting hurdles:<br />
1) If you create a standaone py2app build on Leopard it is not guaranteed to work on tiger<br />
2) If you create one on Leopard it definitely does not work on snow leopard.</p>
<p>The only solution is to create a standalone app on tiger and then maybe it will work on Leopard.</p>
<p>In the end <a href="http://bioscreencastwiki.com/Creating_a_universal_standalone_build_for_the_Mac_platform_for_a_python_app_using_py2app">I did manage to solve my mac deployment issues which I detailed on this wiki page.</a> Also <a href="http://delicious.com/gotgenes/python+distribution">Chris Lasher Lasher pointed me onto his series of links which talk about python deployment</a>, Ian Bickings response is specially worth noting.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.code-itch.com/blog/2010/01/the-burden-of-python-deployment/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>c2cbio .25 episodes and counting</title>
		<link>http://www.code-itch.com/blog/2009/08/c2cbio-25-episodes-and-counting/</link>
		<comments>http://www.code-itch.com/blog/2009/08/c2cbio-25-episodes-and-counting/#comments</comments>
		<pubDate>Thu, 27 Aug 2009 16:03:32 +0000</pubDate>
		<dc:creator>harijay</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.code-itch.com/blog/?p=129</guid>
		<description><![CDATA[Since October 2008 my good friend Atom ( Deepak singh to most of you) and myself have spent many of our Sundays recording the coast to coast bio podcast.  With the last episode the c2cbio podcast has completed 25 episodes, and we are thrilled. These 25 episodes have seen us talking about everything from version [...]]]></description>
			<content:encoded><![CDATA[<p>Since October 2008 my good friend <a href="http://mndoci.com/">Atom ( Deepak singh to most of you)</a> and myself have spent many of our Sundays recording the <a href="http://www.c2cbio.com">coast to coast bio podcast</a>.  With the last episode the <a href="http://www.c2cbio.com/2009/08/25/episode-25/">c2cbio podcast has completed 25 episodes</a>, and we are thrilled. These 25 episodes have seen us talking about everything from version control , to meta-programming to synthetic biology to to pubsubhubub  to synchrotoron data collection to hadoop and all things cloud computing. The unifying theme  ( if any) is that mixing technology and science makes both better and definitely a lot more fun.</p>
<p>Its mainly thanks to c2cbio that I finally decided to sit down and start coding . Thanks to our many conversations about what makes a good programmer ,  version control , IDEs , test driven development and agile programming, I decided to try and put these into practice while I attempted to statisfy my code-itch.  Thanks to all the git topics from Atom , I too decided to<a href="http://github.com/harijay"> start playing with git</a>. The fun part was when I could see myself coding a lot more and <a href="http://www.code-itch.com/blog/2009/01/my-first-object-oriented-codea-set-of-python-classes-to-create-dispense-lists-for-the-formulatrix-liquid-handler-robot/">writing code that even I reused</a>. <a href="http://www.c2cbio.com/2009/01/29/episode-10/">Another conversation had us talking about Living code</a> , about how Paul Buchheit built gmail and add-sense  . The take home message for me was to prototype and test extensively, and release often .   All of these lessons combined with<a href="http://www.code-itch.com/blog/2009/01/my-first-object-oriented-codea-set-of-python-classes-to-create-dispense-lists-for-the-formulatrix-liquid-handler-robot/"> version contro</a>l have ensured that I am few days away from a simple app that hopefully makes creating and keeping track of crystallization solution grids easier.</p>
<p>Thanks to the podcast I feel I get to keep up with the goings on, especially when bench work leaves me with little time to browse and catch up.</p>
<p>Thanks to everyone for listening and writing in  . Heres to podcasting , coding and hopefully a lot more episodes of c2cbio.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.code-itch.com/blog/2009/08/c2cbio-25-episodes-and-counting/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ahh ! for argparse</title>
		<link>http://www.code-itch.com/blog/2009/07/ahh-for-argparse/</link>
		<comments>http://www.code-itch.com/blog/2009/07/ahh-for-argparse/#comments</comments>
		<pubDate>Wed, 01 Jul 2009 15:17:29 +0000</pubDate>
		<dc:creator>harijay</dc:creator>
				<category><![CDATA[Python]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[argparse python]]></category>

		<guid isPermaLink="false">http://www.code-itch.com/blog/?p=123</guid>
		<description><![CDATA[Its been a while since I blogged . Just a lot happening on the crystallography side of things to allow me the time to blog. I have also been coding a lot lately and have gotten started with some GUI writing in wxpython. This post is about trying to get back into the groove by [...]]]></description>
			<content:encoded><![CDATA[<p>Its been a while since I blogged . Just a lot happening on the crystallography side of things to allow me the time to blog.</p>
<p>I have also been coding a lot lately and have gotten started with some GUI writing in wxpython.</p>
<p>This post is about trying to get back into the groove by telling you about argparse .<a href="http://www.code-itch.com/blog/2009/04/command-line-handling-in-python-with-optparse/"> Having talked about optparse</a> and command line parsing , I heard about argparse thanks to a talk that I caught  by clicking a link on  the<a href="http://us.pycon.org/2009/conference/schedule/"> Pycon2009 master schedule</a> .  This link has all the Pycon 2009 slides and video links in one place &#8211; a great resource.</p>
<p>For those interested in <a href="http://code.google.com/p/argparse/">argparse</a> check out the &#8220;Plenary Evening session &#8221; on Sunday Mar 29th 1.20 pm at PyCon2009 where<a href="http://us.pycon.org/2009/conference/schedule/event/97/"> Steven Bethard talks about argparse.</a><br />
<object width="720" height="510" data="http://blip.tv/play/AfiLMZWmLQ" type="application/x-shockwave-flash"><param name="src" value="http://blip.tv/play/AfiLMZWmLQ" /><param name="allowfullscreen" value="true" /></object></p>
<p>The most important difference between <a href="http://code.google.com/p/argparse/">argparse </a>and optparse is that argparse provides better handling for positional <a href="http://argparse.googlecode.com/svn/trunk/doc/argparse-vs-optparse.html">arguments in addition to optional arguments</a> . Argparse also provides automatically generated useage information and   takes care of handling cases like when the user forgets to provide any arguments and prints the help information by default.</p>
<p>The key differences are summarized in the <a href="http://argparse.googlecode.com/svn/trunk/doc/argparse-vs-optparse.html">excellent documentation at this URL</a> , so I will not rehash it . But I have happily switched over to argparse from optparse and hope argparse becomes part of the python standard libraries soon.</p>
<p>For <a href="http://github.com/harijay/xtaltools/tree/master">some code examples check out my github repository</a> especially the script <a href="http://github.com/harijay/xtaltools/blob/e683fcef6a5ad7394b87382e58d4dce32a85585b/maskconvert.py">maskconvert.py</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.code-itch.com/blog/2009/07/ahh-for-argparse/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>

