rtnpro @ Mukti 2012

Mukti is the annual FOSS festival organised by the GNU/Linux Users Group of NIT Durgapur. Mukti 2012 was held on 3-5th February 2012. I have attended every Mukti in NIT Durgapur from 2008 to 2011 as a student and this time (in 2012) as a speaker. My talk was on Localization and Transifex. NITDGPLUG, as always, put a lot of effort in making Mukti a grand FOSS event in the region....

February 18, 2012 · Ratnadeep Debnath

#Transifex now supports comments in Apple .strings i18n files

#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: [sourcecode] /Comment for key1/ “key1” = “value 1”; /* This comment will not be included in key2*/ /* comment for key2*/ “key2” = “value 2”;...

January 13, 2012 · Ratnadeep Debnath

NVIDIA issues fixed on Fedora 16

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. I ran gnome-shell for some time with the nouveau driver....

November 12, 2011 · Ratnadeep Debnath

Me & FUDCON India 2011

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....

November 7, 2011 · Ratnadeep Debnath

Start testing Transifex

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’d be building on top of that to show you how to start testing Transifex using django-nose. What packages will you need? django-nose, nose, nose-exclude, coverage You can install the above packages using pip install <package_name> Configure Transifex settings to enable django-nose Test Runner...

November 1, 2011 · Ratnadeep Debnath

Regex pattern for c style comments

Today, I am going to discuss my attempts to parse c style comments. For example, //This is a comment<br></br> ** /***This is also<br></br> *** a comment ***/ ** Initially, I came up with a regex for /…/ style comments : <strong>/*.**/</strong> Well, the above expression was not able to parse comments like: <br></br> /*** This is a comment ***/<br></br>``` I googled and came across [http://ostermiller.org/findcomment.html](http://ostermiller.org/findcomment.html) where I found the regex: `<strong>/*(....

October 27, 2011 · Ratnadeep Debnath

Add plug-n-play functionality to your Django project using Django-addons

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 for your Django project much easier. Add django-addons to your Django project and you can drop all the addons to ‘/addons’ directory. How to install Django-addons? You can install the latest version of django-addons running...

October 19, 2011 · Ratnadeep Debnath

Transifex implements related tag cloud

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....

October 10, 2011 · Ratnadeep Debnath

Blogging from HTC Sensation

I just installed WordPress for Android in my HTC Sensation. This is a test post from my phone. Posted from WordPress for Android

September 28, 2011 · Ratnadeep Debnath

A brief introduction to coverage.py

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 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. Getting started: Install coverage: pip install coverage easy_install coverage Use coverage to run your program and gather data: $ coverage run my_program....

September 22, 2011 · Ratnadeep Debnath