<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>rtnpro &#124; Ratnadeep Debnath</title>
	<atom:link href="http://ratnadeepdebnath.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://ratnadeepdebnath.wordpress.com</link>
	<description>Its all about DGPLUG, FOSS, Linux, Fedora, Personal</description>
	<lastBuildDate>Mon, 16 Jan 2012 06:46:37 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='ratnadeepdebnath.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>rtnpro &#124; Ratnadeep Debnath</title>
		<link>http://ratnadeepdebnath.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://ratnadeepdebnath.wordpress.com/osd.xml" title="rtnpro &#124; Ratnadeep Debnath" />
	<atom:link rel='hub' href='http://ratnadeepdebnath.wordpress.com/?pushpress=hub'/>
		<item>
		<title>#Transifex now supports comments in Apple .strings i18n files</title>
		<link>http://ratnadeepdebnath.wordpress.com/2012/01/13/transifex-now-supports-comments-in-apple-strings-i18n-files/</link>
		<comments>http://ratnadeepdebnath.wordpress.com/2012/01/13/transifex-now-supports-comments-in-apple-strings-i18n-files/#comments</comments>
		<pubDate>Fri, 13 Jan 2012 10:18:37 +0000</pubDate>
		<dc:creator>rtnpro</dc:creator>
				<category><![CDATA[Transifex]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[apple]]></category>
		<category><![CDATA[apple .strings]]></category>
		<category><![CDATA[comment]]></category>
		<category><![CDATA[i18n]]></category>
		<category><![CDATA[localization]]></category>
		<category><![CDATA[ratnadeep debnath]]></category>
		<category><![CDATA[rtnpro]]></category>
		<category><![CDATA[Strings]]></category>
		<category><![CDATA[transifex]]></category>

		<guid isPermaLink="false">http://ratnadeepdebnath.wordpress.com/?p=348</guid>
		<description><![CDATA[#Transifex now supports comments in Apple .strings i18n files. Only /* foo */ style comment in the line preceding the key value pair in the source file is saved as a comment for the key. The example below will explain &#8230; <a href="http://ratnadeepdebnath.wordpress.com/2012/01/13/transifex-now-supports-comments-in-apple-strings-i18n-files/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ratnadeepdebnath.wordpress.com&amp;blog=5702928&amp;post=348&amp;subd=ratnadeepdebnath&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>#Transifex now supports comments in Apple .strings i18n files. Only /* foo */ style comment in the line preceding the key value pair in the source file is saved as a comment for the key. The example below will explain this in a better way:</p>
<p><pre class="brush: plain;">
/*Comment for key1*/
&quot;key1&quot; = &quot;value 1&quot;;

/* This comment will not be
included in key2*/

/* comment for
key2*/
&quot;key2&quot; = &quot;value 2&quot;;

/* this comment will not be included in key3*/

&quot;key3&quot; = &quot;value 3&quot;;
</pre><br />
Well, I&#8217;m pretty sure that the above snippet explains which comments from source Apple .strings file are saved by Transifex. You can see the comment for a source string in its &#8220;Details&#8221; section in Lotte.</p>
<div id="attachment_384" class="wp-caption alignnone" style="width: 603px"><a href="http://ratnadeepdebnath.files.wordpress.com/2012/01/download.png"><img class="size-full wp-image-384" title="AppleStringsComments" src="http://ratnadeepdebnath.files.wordpress.com/2012/01/download.png?w=593&#038;h=241" alt="" width="593" height="241" /></a><p class="wp-caption-text">Comment for a source string imported from a source Apple .strings file</p></div>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ratnadeepdebnath.wordpress.com/348/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ratnadeepdebnath.wordpress.com/348/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ratnadeepdebnath.wordpress.com/348/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ratnadeepdebnath.wordpress.com/348/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/ratnadeepdebnath.wordpress.com/348/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/ratnadeepdebnath.wordpress.com/348/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/ratnadeepdebnath.wordpress.com/348/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/ratnadeepdebnath.wordpress.com/348/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ratnadeepdebnath.wordpress.com/348/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ratnadeepdebnath.wordpress.com/348/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ratnadeepdebnath.wordpress.com/348/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ratnadeepdebnath.wordpress.com/348/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ratnadeepdebnath.wordpress.com/348/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ratnadeepdebnath.wordpress.com/348/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ratnadeepdebnath.wordpress.com&amp;blog=5702928&amp;post=348&amp;subd=ratnadeepdebnath&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://ratnadeepdebnath.wordpress.com/2012/01/13/transifex-now-supports-comments-in-apple-strings-i18n-files/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/a7ace119fadfbbd11498e7b39891c198?s=96&#38;d=http%3A%2F%2F0.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=G" medium="image">
			<media:title type="html">rtnpro</media:title>
		</media:content>

		<media:content url="http://ratnadeepdebnath.files.wordpress.com/2012/01/download.png" medium="image">
			<media:title type="html">AppleStringsComments</media:title>
		</media:content>
	</item>
		<item>
		<title>NVIDIA issues fixed on Fedora 16</title>
		<link>http://ratnadeepdebnath.wordpress.com/2011/11/12/nvidia-issues-fixed-on-fedora-16/</link>
		<comments>http://ratnadeepdebnath.wordpress.com/2011/11/12/nvidia-issues-fixed-on-fedora-16/#comments</comments>
		<pubDate>Sat, 12 Nov 2011 13:43:33 +0000</pubDate>
		<dc:creator>rtnpro</dc:creator>
				<category><![CDATA[Fedora]]></category>
		<category><![CDATA[NVIDIA]]></category>
		<category><![CDATA[bug]]></category>
		<category><![CDATA[bugfix]]></category>
		<category><![CDATA[f16]]></category>
		<category><![CDATA[Fedora 16]]></category>
		<category><![CDATA[glibc]]></category>
		<category><![CDATA[glibc-2.14.90-4]]></category>
		<category><![CDATA[nvidia]]></category>
		<category><![CDATA[NVIDIA-Linux-x86-285.05.09.run]]></category>
		<category><![CDATA[NVIDIA-Linux-x86-290.06.run]]></category>
		<category><![CDATA[problem]]></category>
		<category><![CDATA[ratnadeep debnath]]></category>
		<category><![CDATA[rtnpro]]></category>
		<category><![CDATA[solved]]></category>

		<guid isPermaLink="false">http://ratnadeepdebnath.wordpress.com/?p=344</guid>
		<description><![CDATA[This week, I upgraded from Fedora 15 to Fedora 16 on my Dell XPS M1530 laptop. This laptop has a 256 MB NVIDIA 8600M GT graphics card. The default driver for NVIDIA cards that came with the installation was nouveau. &#8230; <a href="http://ratnadeepdebnath.wordpress.com/2011/11/12/nvidia-issues-fixed-on-fedora-16/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ratnadeepdebnath.wordpress.com&amp;blog=5702928&amp;post=344&amp;subd=ratnadeepdebnath&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>This week, I upgraded from Fedora 15 to Fedora 16 on my Dell XPS M1530 laptop. This laptop has a 256 MB NVIDIA 8600M GT graphics card. The default driver for NVIDIA cards that came with the installation was nouveau. Nouveau is an open source driver for NVIDIA graphics cards and is under development. Things are becoming better and better with nouveau.</p>
<p>I ran gnome-shell for some time with the nouveau driver. 3d rendering worked nicely and without any latency. I did not find any other issue except for some overheating issues. So, I decided to switch to the NVIDIA&#8217;s proprietary driver.</p>
<p>Here is a good tutorial to disable nouveau and install NVIDIA&#8217;s proprietary driver in Fedora 16: <a href="http://www.if-not-true-then-false.com/2011/fedora-16-nvidia-drivers-install-guide-disable-nouveau-driver/">http://www.if-not-true-then-false.com/2011/fedora-16-nvidia-drivers-install-guide-disable-nouveau-driver/</a></p>
<p>But, this would work perfectly if this was for Fedora 15. Fedora 16 comes with glibc-2.14.90-14 and the NVIDIA proprietary driver (the latest stable driver as of now is NVIDIA-Linux-x86-285.05.09.run). This issue has been reported at <a href="https://bugzilla.redhat.com/show_bug.cgi?id=737223">https://bugzilla.redhat.com/show_bug.cgi?id=737223</a>. The issues I faced after installing the proprietary NVIDIA driver in my Fedora 16 machine were:</p>
<ul>
<li>window manager behaving sluggishly</li>
<li>tab switch in applications like gnome-terminal, nautilus browser taking around 3-4 seconds (no such issues with KDE&#8217;s konsole)</li>
<li>System getting overheated</li>
<li>Increased latency in gnome-shell effects</li>
<li>Similar issues with window manager and tab switch on XFCE too</li>
</ul>
<p>I guess everything depended on glibc were affected.</p>
<p>This issue could be fixed  by downgrading glibc to  glibc-2.14.90-4. I tried to do this to find that there are quite a few applications depended on glibc-2.14.90-14 in F16. So, I gave up the idea. I was looking for nvnews for any news from NVIDIA about fix for the above issue. And I came across this thread <a href="http://www.nvnews.net/vbulletin/showthread.php?t=122606">http://www.nvnews.net/vbulletin/showthread.php?t=122606</a> where I found about the current releases of NVIDIA graphics driver and the beta driver at <a href="http://www.nvnews.net/vbulletin/showthread.php?p=2498046">http://www.nvnews.net/vbulletin/showthread.php?p=2498046</a>. I was desperate enough to try the beta driver. I did:</p>
<ul>
<li>$ wget -ivh <a href="ftp://download.nvidia.com/XFree86/Linux-x86/290.06/NVIDIA-Linux-x86-290.06.run">ftp://download.nvidia.com/XFree86/Linux-x86/290.06/NVIDIA-Linux-x86-290.06.run</a></li>
<li>$ su</li>
<li># init 3</li>
<li># sh NVIDIA-Linux-x86-290.06.run</li>
</ul>
<p>and then follow through the on screen instructions.</p>
<ul>
<li># init 5</li>
</ul>
<p>and logged in. To my surprise, everything was perfect this time. No latency in gnome-shell, no overheating issue. Everything is just fine. Now, I have been running gnome-shell on Fedora 16 in my laptop for over 24 hours. I did not find any issue with the NVIDIA beta graphics driver so far.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ratnadeepdebnath.wordpress.com/344/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ratnadeepdebnath.wordpress.com/344/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ratnadeepdebnath.wordpress.com/344/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ratnadeepdebnath.wordpress.com/344/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/ratnadeepdebnath.wordpress.com/344/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/ratnadeepdebnath.wordpress.com/344/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/ratnadeepdebnath.wordpress.com/344/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/ratnadeepdebnath.wordpress.com/344/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ratnadeepdebnath.wordpress.com/344/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ratnadeepdebnath.wordpress.com/344/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ratnadeepdebnath.wordpress.com/344/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ratnadeepdebnath.wordpress.com/344/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ratnadeepdebnath.wordpress.com/344/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ratnadeepdebnath.wordpress.com/344/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ratnadeepdebnath.wordpress.com&amp;blog=5702928&amp;post=344&amp;subd=ratnadeepdebnath&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://ratnadeepdebnath.wordpress.com/2011/11/12/nvidia-issues-fixed-on-fedora-16/feed/</wfw:commentRss>
		<slash:comments>15</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/a7ace119fadfbbd11498e7b39891c198?s=96&#38;d=http%3A%2F%2F0.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=G" medium="image">
			<media:title type="html">rtnpro</media:title>
		</media:content>
	</item>
		<item>
		<title>Me &amp; FUDCON India 2011</title>
		<link>http://ratnadeepdebnath.wordpress.com/2011/11/07/me-fudcon-india-2011/</link>
		<comments>http://ratnadeepdebnath.wordpress.com/2011/11/07/me-fudcon-india-2011/#comments</comments>
		<pubDate>Mon, 07 Nov 2011 19:44:14 +0000</pubDate>
		<dc:creator>rtnpro</dc:creator>
				<category><![CDATA[Fedora]]></category>
		<category><![CDATA[Transifex]]></category>
		<category><![CDATA[askbot]]></category>
		<category><![CDATA[django]]></category>
		<category><![CDATA[django testing]]></category>
		<category><![CDATA[fudcon]]></category>
		<category><![CDATA[fudconin11]]></category>
		<category><![CDATA[pym]]></category>
		<category><![CDATA[security exploits]]></category>
		<category><![CDATA[transifex]]></category>

		<guid isPermaLink="false">http://ratnadeepdebnath.wordpress.com/?p=335</guid>
		<description><![CDATA[I arrived in Pune for FUDCON on November 2, 2011. On November 3, 2011, I had an opportunity to visit the Red Hat office in the city and hang around with Fedora community members. I learnt more about the mechanism &#8230; <a href="http://ratnadeepdebnath.wordpress.com/2011/11/07/me-fudcon-india-2011/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ratnadeepdebnath.wordpress.com&amp;blog=5702928&amp;post=335&amp;subd=ratnadeepdebnath&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><a href="http://ratnadeepdebnath.files.wordpress.com/2011/11/button.png"><img class="aligncenter size-full wp-image-340" title="Button" src="http://ratnadeepdebnath.files.wordpress.com/2011/11/button.png?w=593" alt=""   /></a></p>
<p>I arrived in Pune for FUDCON on November 2, 2011. On November 3, 2011, I had an opportunity to visit the Red Hat office in the city and hang around with Fedora community members. I learnt more about the mechanism and importance of localization from Runa Bhattacharjee. In my free time, I also helped with some FUDCON related work. I  was able to meet Jared Smith, Joerg Simon and Robert Scheck for the first time in my life, talk with them. I couldn&#8217;t ask for anything better.</p>
<p><strong>Day 1: November 4, 2011</strong></p>
<p>Day 1 began with a speech from the Director of COEP followed by the keynote speech by Fedora&#8217;s Project Leader Jared Smith. Jared explained to people the various aspects of Fedora and how Fedora takes the lead in pushing the limits of FOSS development. Following that was my talk on Transifex. The audience included people mainly from the L10n domain. There were some mishaps during the talk. First, my Dell XPS laptop wasn&#8217;t able to use the projector; second, I had to use another netbook which I wasn&#8217;t used to; third, there were some power issues, and the netbook turned off and finally, there was power cut for a few minutes. What a chain of mishaps! I had to resort to reading the slides from my phone during the power cut. Finally, I used Kishan Goyal&#8217;s laptop to continue with the presentation. In  my talk, I explained the current features and upcoming features of Transifex. I explained it with a use case, starting from registering to advanced usage of <a href="www.transifex.net">www.transifex.net</a>. The audience appreciated our upcoming market place idea and the Translation Memory feature. I also got feature request for having a global glossary for a particular language in the language page. It was really nice that the audience were so actively communicating during the session. I also told how to start contributing to the Transifex project and shared my experience working on Transifex so far: from a contributor to an employee.</p>
<p>After the lunch, I attended <a href="http://fudcon.in/users/azneita">Heherson Pagcaliwagan</a>&#8216;s session on &#8220;Fedora web of trust&#8221; and got more insight into the use of GPG keys. We did a small workshop with Heherson on how to get introduced to each other, verify identity, share GPG key and sign it. Heherson also showed us how to encrypt mails using GPG key. Then I attended Joerg Simon&#8217;s talk on Fedora Security Lab and OSSTMM. Kital showed us a variety of security tools that can be found in the FSL, and mentioned others that need to be packaged. I must try out the tools in the FSL now. They are so cool.</p>
<p>Then I went back to the speaker&#8217;s lounge and started writing some code on Transifex. It was a great first day at FUDCON for me.</p>
<p><strong>Day 2: November 5, 2011</strong></p>
<p>The Second day of FUDCON began with Harish Pillay speaking about the community. Unfortunately, I was not able to turn up during the keynote, as I had to re create my slides on my talk on &#8220;Testing your Django app&#8221;. Because I had accidentally, deleted the folder which contained the slides. After I was done, I hurried to attend Arun Sag&#8217;s talk on &#8220;Creating web apps using Django&#8221;. I liked Arun&#8217;s way of presenting things to the newbies in a very lucid way. He used his classic Blog example for this.</p>
<p>Next was my talk on &#8220;Test your Django app&#8221;. As during Day 1, the projector did not work with my laptop, so I used Arun&#8217;s laptop for the purpose. I explained why tests are necessary, different testing frameworks in Django (doctest, unittest). Then I went forward to explain how to write simple unittests. For this, I wrote some tests for Arun&#8217;s blog example and used it so that the audience could relate things with the previous session taken by Arun. I showed some simple test cases and ran the tests. Then, I introduced the Django Test Client and spoke about its importance and features. After explaining things about the Test Client, I showed the relevant code and ran the tests again. Finally, I explained about coverage: what is it? why is it required? How to use coverage? I again ran the tests I had run before, but this time I ran them with coverage and explained how to read the coverage report. I haven&#8217;t been too happy with this session of mine. Now, when I think of it, for students who just got introduced to Django, the session on Django testing might have been asking too much. Anyway, the students now at least know something called Django testing exists. So, when they need it, they can learn.</p>
<p>After having lunch, I attended Siddhesh&#8217;s talk on &#8220;Security Exploits&#8221;. During the session, I could not but think that why I did not have someone like Siddhesh teaching me OS in my college. He was awesome. Back in my college days, I had tried reading about security exploits, but I did not get far. But during this session, thanks to Siddhesh&#8217;s explanations and my earlier reading, I have gained a better understanding of security exploits, especially stack smash attack, overwriting nearby entities in data region by string overflow, etc.</p>
<p>Following were two lightning talks on 1) How to deal with kernel panic? 2) Running external commands from Postgres. Yogesh in his talk on &#8220;kernel Panic&#8221; showed how to collect relevant data when there is a kernel panic. This data can be used for creating useful bug reports or for fixing the bug itself.</p>
<p>After attending Siddhesh&#8217;s talk on autotools, I joined mether&#8217;s talk on ask.fedoraproject.org or askbot. Mether discussed its roadmap and mentioned various feature requests. I picked up to implement a few of the feature requests. After the session, we had a group photo session of the almost all the people involved in FUDCON. Then all the speakers, volunteers and organizers went for the FUDPUB. I enjoyed a lot at the FUDPUB. I spoke with the community members, danced with them, drank Mirinda and ate some delicious food. It was just awesome.</p>
<p><strong>Day 3: November 6, 2011</strong></p>
<p>It&#8217;s the hackfest day. I decided to run a Transifex Testathon. I pitched the topic on stage and invited people to join me. I helped some of my friends install and setup transifex in their machines and showed them how to run tests. I started writing new tests for the watches addon in Transifex. I came across a chain of undiscovered bugs while doing so. It took me some time to write a proper test case for the watches and accordingly fix the bugs in the code. I also helped Kushal to get him logged into his Transifex account and creating a Transifex project for &#8220;Python for you and me&#8221;. Jared Smith, set up the tx client for &#8220;Python for you and me&#8221; and now PYM is hosted at <a href="https://www.transifex.net/projects/p/pym/">https://www.transifex.net/projects/p/pym/</a> for localization. Shreyank, Vaidik and I had discussions on the roadmap for Dorrie. I setup Dorrie on my machine and played with it for some time. I decided to write tests for Dorrie the coming weekend.</p>
<p>Then, at the end of Day 3, in the auditorium, a cake was cut to celebrate this FUDCON along with quite a few photo shoots. The FUDCON organizing group and the volunteers from COEP did a great job to make this event go on smoothly.</p>
<p>FUDCON India 2011 is the first ever FUDCON in India and the largest FUDCON in terms of the number of participants. Apart from learning new stuffs and hacking, FUDCON provided a great platform for Fedora contributors to meet with each other and make new friends. It is also a nice experience to work with people whom I had known only in the IRC until now. I am carrying sweet memories of this FUDCON with me. These memories will help me focus more on contributing to open source and be a better contributor.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ratnadeepdebnath.wordpress.com/335/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ratnadeepdebnath.wordpress.com/335/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ratnadeepdebnath.wordpress.com/335/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ratnadeepdebnath.wordpress.com/335/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/ratnadeepdebnath.wordpress.com/335/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/ratnadeepdebnath.wordpress.com/335/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/ratnadeepdebnath.wordpress.com/335/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/ratnadeepdebnath.wordpress.com/335/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ratnadeepdebnath.wordpress.com/335/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ratnadeepdebnath.wordpress.com/335/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ratnadeepdebnath.wordpress.com/335/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ratnadeepdebnath.wordpress.com/335/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ratnadeepdebnath.wordpress.com/335/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ratnadeepdebnath.wordpress.com/335/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ratnadeepdebnath.wordpress.com&amp;blog=5702928&amp;post=335&amp;subd=ratnadeepdebnath&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://ratnadeepdebnath.wordpress.com/2011/11/07/me-fudcon-india-2011/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/a7ace119fadfbbd11498e7b39891c198?s=96&#38;d=http%3A%2F%2F0.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=G" medium="image">
			<media:title type="html">rtnpro</media:title>
		</media:content>

		<media:content url="http://ratnadeepdebnath.files.wordpress.com/2011/11/button.png" medium="image">
			<media:title type="html">Button</media:title>
		</media:content>
	</item>
		<item>
		<title>Start testing Transifex</title>
		<link>http://ratnadeepdebnath.wordpress.com/2011/11/01/start-testing-transifex/</link>
		<comments>http://ratnadeepdebnath.wordpress.com/2011/11/01/start-testing-transifex/#comments</comments>
		<pubDate>Tue, 01 Nov 2011 17:43:27 +0000</pubDate>
		<dc:creator>rtnpro</dc:creator>
				<category><![CDATA[Transifex]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[contribute]]></category>
		<category><![CDATA[coverage]]></category>
		<category><![CDATA[django]]></category>
		<category><![CDATA[django-nose]]></category>
		<category><![CDATA[hack]]></category>
		<category><![CDATA[ratnadeep debnath]]></category>
		<category><![CDATA[rtnpro]]></category>
		<category><![CDATA[start test]]></category>
		<category><![CDATA[tests]]></category>
		<category><![CDATA[transifex]]></category>
		<category><![CDATA[unittest]]></category>

		<guid isPermaLink="false">http://ratnadeepdebnath.wordpress.com/?p=326</guid>
		<description><![CDATA[&#160; How do you setup Transifex? Here is all you need to know to setup Transifex: http://help.transifex.net/server/install.html http://fosswithme.wordpress.com/2011/10/20/setup-transifex-in-virtualenv/ is another good write-up on how to setup and run Transifex in virtualenv. So, I&#8217;d be building on top of that to &#8230; <a href="http://ratnadeepdebnath.wordpress.com/2011/11/01/start-testing-transifex/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ratnadeepdebnath.wordpress.com&amp;blog=5702928&amp;post=326&amp;subd=ratnadeepdebnath&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>&nbsp;</p>
<p><strong>How do you setup Transifex?</strong></p>
<p>Here is all you need to know to setup Transifex: <a href="http://help.transifex.net/server/install.html">http://help.transifex.net/server/install.html</a></p>
<p><a href="http://fosswithme.wordpress.com/2011/10/20/setup-transifex-in-virtualenv/">http://fosswithme.wordpress.com/2011/10/20/setup-transifex-in-virtualenv/</a> is another good write-up on how to setup and run Transifex in virtualenv. So, I&#8217;d be building on top of that to show you how to start testing Transifex using django-nose.</p>
<p><strong>What packages will you need?</strong></p>
<p>django-nose, nose, nose-exclude, coverage</p>
<p>You can install the above packages using</p>
<p><code>pip install &lt;package_name&gt;</code></p>
<p>Configure Transifex settings to enable django-nose Test Runner</p>
<p><code>cd &lt;transifex source code's root directory&gt;</code></p>
<p>cd transifex/settings</p>
<p>cp  90-local.conf.sample 90-local.conf</p>
<p>open and edit 90-local.conf and add the following lines:</p>
<p><code>INSTALLED_APPS += [</code></p>
<p>'django_nose',</p>
<p>]</p>
<p>TEST_RUNNER = 'django_nose.NoseTestSuiteRunner'</p>
<p>cd ..</p>
<p>Now, save the file. Now you are good to go.</p>
<p><strong>Start testing</strong></p>
<p><code>python manage.py test &lt;app_name&gt;<br />
</code><br />
for example:</p>
<p><code>python manage.py test resources<br />
</code><br />
You can also test a particular test class like below:</p>
<p><code>python manage.py test resources.tests:TestJavaProperties</code></p>
<p>You can even run a particular test method:</p>
<p><code>python manage.py test resources.tests:TestJavaProperties.test_properties_parser<br />
</code><br />
<strong>Run coverage on Transifex tests</strong></p>
<p>django-nose has a plugin for coverage. So, you can run the above tests and collect coverage data.</p>
<p>For example:</p>
<p><code>python manage.py test resources.tests:TestJavaProperties.test_properties_parser --with-coverage --cover-package=resources.tests.formats</code></p>
<p>All the coverage results are saved in a .coverge file by default in the current directory. Although, running tests with coverage plugin of django-nose shows the coverage results by default. You can also see the coverage results in the usual way:</p>
<p><code>coverage -rm</code></p>
<p>You can also use grep along with the above command to filter the results displayed.</p>
<p>Well, that's all you need to know to start testing Transifex.</p>
<p><strong>What's next?</strong></p>
<p>Start testing transifex. If you find a test fails, try to find the reason why it failed. Read the traceback info properly. Find where the error took place. There are various reasons why a test may fail:</p>
<ul>
<li>Test is not updated according to updates in code</li>
<li>Bug in code</li>
<li>A wrong test case</li>
</ul>
<p>and others...</p>
<p>You can report the issues or any bug you find at <a href="http://trac.transifex.org/newticket">http://trac.transifex.org/newticket.</a> Feel free to submit a patch that fixes the issue. The patch will be reviewed by the Transifex upstream and if it is ok, it will be merged with Transifex's code at <a href="http://code.indifex.com/transifex/">http://code.indifex.com/transifex/</a>.</p>
<p>Keep hacking <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ratnadeepdebnath.wordpress.com/326/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ratnadeepdebnath.wordpress.com/326/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ratnadeepdebnath.wordpress.com/326/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ratnadeepdebnath.wordpress.com/326/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/ratnadeepdebnath.wordpress.com/326/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/ratnadeepdebnath.wordpress.com/326/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/ratnadeepdebnath.wordpress.com/326/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/ratnadeepdebnath.wordpress.com/326/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ratnadeepdebnath.wordpress.com/326/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ratnadeepdebnath.wordpress.com/326/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ratnadeepdebnath.wordpress.com/326/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ratnadeepdebnath.wordpress.com/326/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ratnadeepdebnath.wordpress.com/326/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ratnadeepdebnath.wordpress.com/326/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ratnadeepdebnath.wordpress.com&amp;blog=5702928&amp;post=326&amp;subd=ratnadeepdebnath&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://ratnadeepdebnath.wordpress.com/2011/11/01/start-testing-transifex/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/a7ace119fadfbbd11498e7b39891c198?s=96&#38;d=http%3A%2F%2F0.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=G" medium="image">
			<media:title type="html">rtnpro</media:title>
		</media:content>
	</item>
		<item>
		<title>Regex pattern for c style comments</title>
		<link>http://ratnadeepdebnath.wordpress.com/2011/10/27/regex-pattern-for-c-style-comments/</link>
		<comments>http://ratnadeepdebnath.wordpress.com/2011/10/27/regex-pattern-for-c-style-comments/#comments</comments>
		<pubDate>Thu, 27 Oct 2011 11:47:27 +0000</pubDate>
		<dc:creator>rtnpro</dc:creator>
				<category><![CDATA[regex]]></category>
		<category><![CDATA[c]]></category>
		<category><![CDATA[comment]]></category>
		<category><![CDATA[parse]]></category>
		<category><![CDATA[ratnadeep debnath]]></category>
		<category><![CDATA[rtnpro]]></category>
		<category><![CDATA[style]]></category>

		<guid isPermaLink="false">http://ratnadeepdebnath.wordpress.com/?p=321</guid>
		<description><![CDATA[Today, I am going to discuss my attempts to parse c style comments. For example, //This is a comment /***This is also *** a comment ***/ Initially, I came up with a regex for /*&#8230;*/ style comments : /\*.*\*/ Well, &#8230; <a href="http://ratnadeepdebnath.wordpress.com/2011/10/27/regex-pattern-for-c-style-comments/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ratnadeepdebnath.wordpress.com&amp;blog=5702928&amp;post=321&amp;subd=ratnadeepdebnath&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Today, I am going to discuss my attempts to parse c style comments.</p>
<p>For example,</p>
<p><strong><code>//This is a comment<br />
</code></strong></p>
<p><strong><code>/***This is also<br />
*** a comment ***/</code></strong></p>
<p>Initially, I came up with a regex for /*&#8230;*/ style comments :<br />
<code><strong>/\*.*\*/</strong></code><br />
Well, the above expression was not able to parse comments like:<br />
<code><br />
/*** This is a comment ***/<br />
</code></p>
<p>I googled and came across <a href="http://ostermiller.org/findcomment.html">http://ostermiller.org/findcomment.html</a> where I found the regex:<br />
<code><strong>/\*(.|[\r\n])*?\*/</strong></code><br />
This was able to match comments like the above one. But it&#8217;d also match the following /*&#8230;*/ comments which are not really comments:<br />
<code><br />
s = "This is a string: /* with a comment */";<br />
//comment1 /*<br />
foo();<br />
//comment2 */<br />
</code></p>
<p>I then worked on a regex for //&#8230; style comments: <code>//[^\n]*\n</code></p>
<p>Then I combined the two regexes by or and my regex pattern becomes:</p>
<blockquote><p><code><strong>//[^\n]*\n|/\*(.|[\r\n])*?\*/</strong></code></p></blockquote>
<p>Now, this pattern is able to search for both: //&#8230; and /*&#8230;*/ style comments and avoid matches for patterns like:<br />
<code><br />
//comment1 /*<br />
foo();<br />
//comment2 */</code></p>
<p>One caveat that remains is the /*&#8230;*/ pattern in<br />
<code>s = "This is a string: /* with a comment */";</code><br />
getting matched. If any one has a work around this issue, please comment.</p>
<p>I hope this helps.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ratnadeepdebnath.wordpress.com/321/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ratnadeepdebnath.wordpress.com/321/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ratnadeepdebnath.wordpress.com/321/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ratnadeepdebnath.wordpress.com/321/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/ratnadeepdebnath.wordpress.com/321/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/ratnadeepdebnath.wordpress.com/321/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/ratnadeepdebnath.wordpress.com/321/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/ratnadeepdebnath.wordpress.com/321/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ratnadeepdebnath.wordpress.com/321/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ratnadeepdebnath.wordpress.com/321/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ratnadeepdebnath.wordpress.com/321/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ratnadeepdebnath.wordpress.com/321/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ratnadeepdebnath.wordpress.com/321/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ratnadeepdebnath.wordpress.com/321/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ratnadeepdebnath.wordpress.com&amp;blog=5702928&amp;post=321&amp;subd=ratnadeepdebnath&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://ratnadeepdebnath.wordpress.com/2011/10/27/regex-pattern-for-c-style-comments/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/a7ace119fadfbbd11498e7b39891c198?s=96&#38;d=http%3A%2F%2F0.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=G" medium="image">
			<media:title type="html">rtnpro</media:title>
		</media:content>
	</item>
		<item>
		<title>Add plug-n-play functionality to your Django project using Django-addons</title>
		<link>http://ratnadeepdebnath.wordpress.com/2011/10/19/add-plug-n-play-functionality-to-your-django-project-using-django-addons/</link>
		<comments>http://ratnadeepdebnath.wordpress.com/2011/10/19/add-plug-n-play-functionality-to-your-django-project-using-django-addons/#comments</comments>
		<pubDate>Wed, 19 Oct 2011 07:17:34 +0000</pubDate>
		<dc:creator>rtnpro</dc:creator>
				<category><![CDATA[Django]]></category>
		<category><![CDATA[Transifex]]></category>
		<category><![CDATA[diegobz]]></category>
		<category><![CDATA[django]]></category>
		<category><![CDATA[django-addons]]></category>
		<category><![CDATA[glezos]]></category>
		<category><![CDATA[indifex]]></category>
		<category><![CDATA[plug-n-play]]></category>
		<category><![CDATA[python]]></category>
		<category><![CDATA[ratnadeep debnath]]></category>
		<category><![CDATA[rtnpro]]></category>
		<category><![CDATA[transifex]]></category>

		<guid isPermaLink="false">http://ratnadeepdebnath.wordpress.com/?p=318</guid>
		<description><![CDATA[What is Django-addons? A Django app used to add true plug-n-play functionality to your own Django applications and projects. Django-addons is brought to you by Indifex, the company behind Transifex. Django-addons is a bunch of code that makes writing addon/plugins &#8230; <a href="http://ratnadeepdebnath.wordpress.com/2011/10/19/add-plug-n-play-functionality-to-your-django-project-using-django-addons/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ratnadeepdebnath.wordpress.com&amp;blog=5702928&amp;post=318&amp;subd=ratnadeepdebnath&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<blockquote><p><strong>What is Django-addons?</strong></p></blockquote>
<p>A Django app used to add true plug-n-play functionality to your own Django applications and projects. Django-addons is brought to you by <a href="http://www.indifex.com">Indifex</a>, the company behind <a href="http://www.transifex.net">Transifex</a>.</p>
<p>Django-addons is a bunch of code that makes writing addon/plugins for your Django project much easier. Add django-addons to your Django project and you can drop all the addons to &#8216;/addons&#8217; directory.</p>
<blockquote><p><strong>How to install Django-addons?</strong></p></blockquote>
<p>You can install the latest version of django-addons running<br />
<code>pip install django-addons</code><br />
or<br />
<code>easy_install django-addons</code></p>
<p>You can also install the development version of django-addons with<br />
<code>pip install django-addons==dev</code><br />
or<br />
<code>easy_install django-addons==dev</code>.</p>
<blockquote><p><strong>Source code</strong></p></blockquote>
<p><a href="http://code.indifex.com/django-addons/">http://code.indifex.com/django-addons/</a></p>
<blockquote><p><strong>Features</strong></p></blockquote>
<ul>
<li>Addons overview page</li>
<li>Automatic signal connecting of addons</li>
<li>Automatic URL discovery of addons</li>
<li>Template hooking system (inject code from addons to your main project)</li>
<li>Django-staticfiles to serve site media from each addon</li>
<li>Django-notifications support (automatic registration of noticetypes)</li>
<li>Per addon localization</li>
<li>Per addon settings</li>
<li>Disabling addons via ./manage.py addons</li>
</ul>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ratnadeepdebnath.wordpress.com/318/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ratnadeepdebnath.wordpress.com/318/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ratnadeepdebnath.wordpress.com/318/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ratnadeepdebnath.wordpress.com/318/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/ratnadeepdebnath.wordpress.com/318/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/ratnadeepdebnath.wordpress.com/318/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/ratnadeepdebnath.wordpress.com/318/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/ratnadeepdebnath.wordpress.com/318/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ratnadeepdebnath.wordpress.com/318/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ratnadeepdebnath.wordpress.com/318/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ratnadeepdebnath.wordpress.com/318/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ratnadeepdebnath.wordpress.com/318/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ratnadeepdebnath.wordpress.com/318/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ratnadeepdebnath.wordpress.com/318/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ratnadeepdebnath.wordpress.com&amp;blog=5702928&amp;post=318&amp;subd=ratnadeepdebnath&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://ratnadeepdebnath.wordpress.com/2011/10/19/add-plug-n-play-functionality-to-your-django-project-using-django-addons/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/a7ace119fadfbbd11498e7b39891c198?s=96&#38;d=http%3A%2F%2F0.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=G" medium="image">
			<media:title type="html">rtnpro</media:title>
		</media:content>
	</item>
		<item>
		<title>Transifex implements related tag cloud</title>
		<link>http://ratnadeepdebnath.wordpress.com/2011/10/10/transifex-implements-related-tag-cloud/</link>
		<comments>http://ratnadeepdebnath.wordpress.com/2011/10/10/transifex-implements-related-tag-cloud/#comments</comments>
		<pubDate>Mon, 10 Oct 2011 17:13:22 +0000</pubDate>
		<dc:creator>rtnpro</dc:creator>
				<category><![CDATA[Django]]></category>
		<category><![CDATA[Python]]></category>
		<category><![CDATA[Transifex]]></category>
		<category><![CDATA[django]]></category>
		<category><![CDATA[django-tagging]]></category>
		<category><![CDATA[indifex]]></category>
		<category><![CDATA[ratnadeep debnath]]></category>
		<category><![CDATA[related tag cloud]]></category>
		<category><![CDATA[related tags]]></category>
		<category><![CDATA[rtnpro]]></category>
		<category><![CDATA[tag cloud]]></category>
		<category><![CDATA[tag graph]]></category>
		<category><![CDATA[transifex]]></category>

		<guid isPermaLink="false">http://ratnadeepdebnath.wordpress.com/?p=295</guid>
		<description><![CDATA[Lately, I have been working on a bunch of exciting new stuffs for Transifex. I have worked on a tag-cloud implementation which not only shows the popular tags, but also shows tags related to a tag selected by the user. &#8230; <a href="http://ratnadeepdebnath.wordpress.com/2011/10/10/transifex-implements-related-tag-cloud/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ratnadeepdebnath.wordpress.com&amp;blog=5702928&amp;post=295&amp;subd=ratnadeepdebnath&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Lately, I have been working on a bunch of exciting new stuffs for Transifex. I have worked on a tag-cloud implementation which not only shows the popular tags, but also shows tags related to a tag selected by the user. It is pretty useful. It directs the user to select more relevant tags. The tag cloud is refreshed each time the user makes a selection to show the related tags.</p>
<p>I built this on top of the django-tagging module. I wrote a model to represent a tag as a node in a graph. The model includes all the tags related to it (that is tags which appear with the tag in concern) as adjacent nodes along with the weight (that is number of times the two tags appear together) of each edge between two related tag nodes. This data is updated and synced as necessary, e.g, after a project is added or updated. Now, whenever a tag is selected, the tag-cloud is refreshed to show the related tags. The font-size of a related tag is decided by taking into consideration both the weight of an edge it shares with the selected tag and its count. Below is a sample use case for related tag-cloud in Transifex.</p>
<p>Let&#8217;s say there are two projects, p1 with tag &#8216;foo1&#8242; and p2 with tags &#8216;gui&#8217;, &#8216;graphics&#8217;, &#8216;imaging&#8217; and &#8216;photography&#8217;. For sake of simplicity, I am showing only 3 most popular tags: &#8216;foo1&#8242;, &#8216;gui&#8217;, &#8216;graphics&#8217;. So, now when the maintainer for prohect p1 goes to edit the project, he sees the following tag-cloud:</p>
<div id="attachment_304" class="wp-caption aligncenter" style="width: 310px"><a href="http://ratnadeepdebnath.files.wordpress.com/2011/10/tag_cloud1.png"><img class="size-medium wp-image-304 " title="Initial tagcloud" src="http://ratnadeepdebnath.files.wordpress.com/2011/10/tag_cloud1.png?w=300&#038;h=183" alt="" width="300" height="183" /></a><p class="wp-caption-text">Initial tagcloud</p></div>
<p>Now, he selects a new tag &#8216;graphics&#8217; and the tagcloud is refreshed to show the tags related to &#8216;graphics&#8217;.</p>
<div id="attachment_305" class="wp-caption aligncenter" style="width: 310px"><a href="http://ratnadeepdebnath.files.wordpress.com/2011/10/tag_cloud2.png"><img class="size-medium wp-image-305" title="Tagcloud with related tags" src="http://ratnadeepdebnath.files.wordpress.com/2011/10/tag_cloud2.png?w=300&#038;h=185" alt="" width="300" height="185" /></a><p class="wp-caption-text">Tagcloud with related tags.</p></div>
<p>Such small things together can really take the user experience to a new level. By implementing related tag-clouds, we enable the user to choose relevant tags in a better way. At Transifex, we innovate to help people localize in a better way <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> .</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ratnadeepdebnath.wordpress.com/295/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ratnadeepdebnath.wordpress.com/295/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ratnadeepdebnath.wordpress.com/295/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ratnadeepdebnath.wordpress.com/295/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/ratnadeepdebnath.wordpress.com/295/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/ratnadeepdebnath.wordpress.com/295/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/ratnadeepdebnath.wordpress.com/295/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/ratnadeepdebnath.wordpress.com/295/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ratnadeepdebnath.wordpress.com/295/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ratnadeepdebnath.wordpress.com/295/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ratnadeepdebnath.wordpress.com/295/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ratnadeepdebnath.wordpress.com/295/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ratnadeepdebnath.wordpress.com/295/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ratnadeepdebnath.wordpress.com/295/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ratnadeepdebnath.wordpress.com&amp;blog=5702928&amp;post=295&amp;subd=ratnadeepdebnath&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://ratnadeepdebnath.wordpress.com/2011/10/10/transifex-implements-related-tag-cloud/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/a7ace119fadfbbd11498e7b39891c198?s=96&#38;d=http%3A%2F%2F0.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=G" medium="image">
			<media:title type="html">rtnpro</media:title>
		</media:content>

		<media:content url="http://ratnadeepdebnath.files.wordpress.com/2011/10/tag_cloud1.png?w=300" medium="image">
			<media:title type="html">Initial tagcloud</media:title>
		</media:content>

		<media:content url="http://ratnadeepdebnath.files.wordpress.com/2011/10/tag_cloud2.png?w=300" medium="image">
			<media:title type="html">Tagcloud with related tags</media:title>
		</media:content>
	</item>
		<item>
		<title>Blogging from HTC Sensation</title>
		<link>http://ratnadeepdebnath.wordpress.com/2011/09/28/blotting-from-htc-sensation/</link>
		<comments>http://ratnadeepdebnath.wordpress.com/2011/09/28/blotting-from-htc-sensation/#comments</comments>
		<pubDate>Wed, 28 Sep 2011 15:08:00 +0000</pubDate>
		<dc:creator>rtnpro</dc:creator>
				<category><![CDATA[Personal]]></category>
		<category><![CDATA[android]]></category>
		<category><![CDATA[HTC]]></category>
		<category><![CDATA[rtnpro]]></category>
		<category><![CDATA[sensation]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">https://ratnadeepdebnath.wordpress.com/2011/09/28/blotting-from-htc-sensation/</guid>
		<description><![CDATA[I just installed WordPress for Android in my HTC Sensation. This is a test post from my phone. Posted from WordPress for Android<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ratnadeepdebnath.wordpress.com&amp;blog=5702928&amp;post=298&amp;subd=ratnadeepdebnath&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I just installed WordPress for Android in my HTC Sensation. This is a test post from my phone.</p>
<p><span class="post_sig">Posted from WordPress for Android</span></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ratnadeepdebnath.wordpress.com/298/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ratnadeepdebnath.wordpress.com/298/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ratnadeepdebnath.wordpress.com/298/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ratnadeepdebnath.wordpress.com/298/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/ratnadeepdebnath.wordpress.com/298/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/ratnadeepdebnath.wordpress.com/298/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/ratnadeepdebnath.wordpress.com/298/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/ratnadeepdebnath.wordpress.com/298/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ratnadeepdebnath.wordpress.com/298/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ratnadeepdebnath.wordpress.com/298/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ratnadeepdebnath.wordpress.com/298/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ratnadeepdebnath.wordpress.com/298/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ratnadeepdebnath.wordpress.com/298/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ratnadeepdebnath.wordpress.com/298/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ratnadeepdebnath.wordpress.com&amp;blog=5702928&amp;post=298&amp;subd=ratnadeepdebnath&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://ratnadeepdebnath.wordpress.com/2011/09/28/blotting-from-htc-sensation/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/a7ace119fadfbbd11498e7b39891c198?s=96&#38;d=http%3A%2F%2F0.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=G" medium="image">
			<media:title type="html">rtnpro</media:title>
		</media:content>
	</item>
		<item>
		<title>A brief introduction to coverage.py</title>
		<link>http://ratnadeepdebnath.wordpress.com/2011/09/22/a-brief-introduction-to-coverage-py/</link>
		<comments>http://ratnadeepdebnath.wordpress.com/2011/09/22/a-brief-introduction-to-coverage-py/#comments</comments>
		<pubDate>Thu, 22 Sep 2011 16:07:25 +0000</pubDate>
		<dc:creator>rtnpro</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[coverage]]></category>
		<category><![CDATA[coverage.py]]></category>
		<category><![CDATA[django]]></category>
		<category><![CDATA[python]]></category>
		<category><![CDATA[ratnadeep debnath]]></category>
		<category><![CDATA[rtnpro]]></category>
		<category><![CDATA[test]]></category>

		<guid isPermaLink="false">http://ratnadeepdebnath.wordpress.com/?p=290</guid>
		<description><![CDATA[Coverage.py is a tool for measuring code coverage of Python programs. It monitors your program, noting which parts of the code have been executed, then analyzes the source to identify code that could have been executed but was not. Coverage &#8230; <a href="http://ratnadeepdebnath.wordpress.com/2011/09/22/a-brief-introduction-to-coverage-py/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ratnadeepdebnath.wordpress.com&amp;blog=5702928&amp;post=290&amp;subd=ratnadeepdebnath&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Coverage.py is a tool for measuring code coverage of Python programs. It monitors your program, noting which parts of the code have been executed, then analyzes the source to identify code that could have been executed but was not.</p>
<p>Coverage measurement is typically used to gauge the effectiveness of tests. It can show which parts of your code are being exercised by tests, and which are not.</p>
<p>Getting started:</p>
<p>1. Install coverage:</p>
<ul>
<li>pip install coverage</li>
<li>easy_install coverage</li>
</ul>
<p>2. Use coverage to run your program and gather data:</p>
<p><tt>$ coverage run my_program.py arg1 arg2<br />
blah blah ..your program's output.. blah blah</tt></p>
<p>3. Generate reports with coverage:</p>
<p>$coverage -rm</p>
<p><tt>Name                      Stmts   Miss  Cover   Missing<br />
-------------------------------------------------------<br />
my_program                   20      4    80%   33-35, 39<br />
my_other_module              56      6    89%   17-23<br />
-------------------------------------------------------<br />
TOTAL                        76      10    87%</tt></p>
<p>4. You can also use coverage to generate reports in other presentation oriented formats like HTML:</p>
<p>$coverage html</p>
<p>You can also use coverage.py with Django. You can run your Django tests along with coverage to check which codes in your app have been tested by your tests. With the coverage data, you can write new tests to test the codes which have not been tested so far by your tests. For example:</p>
<ul>
<li>$coverage -e        //This deletes previous coverage data</li>
<li>$coverage -x manange.py test foo_app.FooTest.foo_method        //Execute manage.py from coverage to collect coverage data</li>
<li>$coverage -rm | grep &#8216;foo_app&#8217;      // to filter the report to show the coverage of foo_app</li>
<li>coverage run &#8211;include=&#8221;*foo_app*&#8221; &#8211;omit=&#8221;*tests* manage.py test foo_app        //This will include *foo_app* pattern and omit *tests* pattern from your coverage report.</li>
</ul>
<p>You can also write custom Test Runners using the coverage API to measure code coverage in a more controlled manner. You can find more detailed documentation about coverage <a href="http://nedbatchelder.com/code/coverage/">here</a>.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ratnadeepdebnath.wordpress.com/290/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ratnadeepdebnath.wordpress.com/290/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ratnadeepdebnath.wordpress.com/290/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ratnadeepdebnath.wordpress.com/290/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/ratnadeepdebnath.wordpress.com/290/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/ratnadeepdebnath.wordpress.com/290/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/ratnadeepdebnath.wordpress.com/290/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/ratnadeepdebnath.wordpress.com/290/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ratnadeepdebnath.wordpress.com/290/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ratnadeepdebnath.wordpress.com/290/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ratnadeepdebnath.wordpress.com/290/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ratnadeepdebnath.wordpress.com/290/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ratnadeepdebnath.wordpress.com/290/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ratnadeepdebnath.wordpress.com/290/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ratnadeepdebnath.wordpress.com&amp;blog=5702928&amp;post=290&amp;subd=ratnadeepdebnath&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://ratnadeepdebnath.wordpress.com/2011/09/22/a-brief-introduction-to-coverage-py/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/a7ace119fadfbbd11498e7b39891c198?s=96&#38;d=http%3A%2F%2F0.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=G" medium="image">
			<media:title type="html">rtnpro</media:title>
		</media:content>
	</item>
		<item>
		<title>Quick start Django development server with HTTPS</title>
		<link>http://ratnadeepdebnath.wordpress.com/2011/09/14/quick-start-django-development-server-with-https/</link>
		<comments>http://ratnadeepdebnath.wordpress.com/2011/09/14/quick-start-django-development-server-with-https/#comments</comments>
		<pubDate>Wed, 14 Sep 2011 17:56:32 +0000</pubDate>
		<dc:creator>rtnpro</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://ratnadeepdebnath.wordpress.com/?p=288</guid>
		<description><![CDATA[Here is a good tutorial to start Django development server with HTTPS using stunnel. http://mgile.com/post/4729505823/django-stunnel<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ratnadeepdebnath.wordpress.com&amp;blog=5702928&amp;post=288&amp;subd=ratnadeepdebnath&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Here is a good tutorial to start Django development server with HTTPS using stunnel.</p>
<p><a href="http://mgile.com/post/4729505823/django-stunnel">http://mgile.com/post/4729505823/django-stunnel</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ratnadeepdebnath.wordpress.com/288/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ratnadeepdebnath.wordpress.com/288/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ratnadeepdebnath.wordpress.com/288/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ratnadeepdebnath.wordpress.com/288/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/ratnadeepdebnath.wordpress.com/288/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/ratnadeepdebnath.wordpress.com/288/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/ratnadeepdebnath.wordpress.com/288/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/ratnadeepdebnath.wordpress.com/288/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ratnadeepdebnath.wordpress.com/288/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ratnadeepdebnath.wordpress.com/288/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ratnadeepdebnath.wordpress.com/288/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ratnadeepdebnath.wordpress.com/288/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ratnadeepdebnath.wordpress.com/288/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ratnadeepdebnath.wordpress.com/288/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ratnadeepdebnath.wordpress.com&amp;blog=5702928&amp;post=288&amp;subd=ratnadeepdebnath&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://ratnadeepdebnath.wordpress.com/2011/09/14/quick-start-django-development-server-with-https/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/a7ace119fadfbbd11498e7b39891c198?s=96&#38;d=http%3A%2F%2F0.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=G" medium="image">
			<media:title type="html">rtnpro</media:title>
		</media:content>
	</item>
	</channel>
</rss>
