Per-host settings.py for Django projects

When working as part of a team on a Django project, it is often useful to have a per-host settings file. There are many ways to do this but the approach that I liked most is creating a local_settings.py file in each environment. I’m often the only programmer on web projects, but even then I still find it helpful to have a local_settings.py file on my local host. In it I include things such as debug-related settings, test keys for the different API providers, a modified logger configuration and flags that turn off any added security measures.
Read more →

Joining SpringerLink pdfs

My workplace has a subscription to SpringerLink. So I’ve been having a blast looking at the different books over there. I found lots of books that are on my Amazon wish list and so i was like a child at a candy store. The problem is that the books are provided via separate pdf files for chapters. I am not sure why they do that, I think to make it tougher to pirate the files?
Read more →

My bzr Workflow

Michael Ivey recently wrote about his git work flow over at My Git Workflow and it turned out to be a pretty useful article and was just the encouragement that i needed to blog about my own experience. Although I’ve used git before, I much rather use bzr whenever possible. I’m not into religious wars about tools, so use whatever you like. I work as an independent programmer(freelance programmer if you prefer) and so I am often working on several projects at the same time, mostly on my own, but sometimes with 1 or 2 more people involved.
Read more →

Quietly working on my Bomb Maker

Strange title, isn’t? I don’t actually make bombs :) although during the last war, a lot of people probably thought i did. In my KDE days, i used to make a lot of use of an applet called KTeaTime(http://docs.kde.org/stable/en/kdetoys/kteatime/introduction.html#whats-kteatime). Its a nice little applet that tells you when your tea is ready after you select what type of tea you want. So if you select extra black tea for example, it will remind you that your tea is done after 10 mins for example.
Read more →

Working with Hadoop: My first MapReduce App

Update: I removed the source code from the blog post. You can now find it on my github account. Most Hadoop tutorials use the wordcount application as a demo application. And while this might be a good demo application, it is not particularly helpful. So i wanted to think of an idea for a more useful application to use on a cluster. My first thought was trying to implement the famous Sieve of Eratosthenes.
Read more →

Working with Hadoop

My last twitter was “Its after midnight and i just finished my first MapReduce application. Next up, blogging about it.” Well now its time to blog about it. And share some code…won’t that be fun? So I’ve always wanted to do some distributed programming or parallel programming(technically not the same, but aim at solving similar problems), but the barrier of entry was always too high and the learning curve a bit steep.
Read more →

On getting Ruby-fied and its aftereffects

As a follow-up on I am getting Ruby-fied, Ruby’s not ready - glyphobet • ???????? • ???????? does a much better job at going over Ruby’s faults. Ruby on Rails is not discussed except to say that it and Pylons are very similar, but i tend to agree that a lot of the different web frameworks out there are quite similar because they all include what is needed of a modern framework.
Read more →

On Adobe Flex and dynamic websites

I still get a lot of searches and hits on my “Mytube” page as well as some inquires by mail…which tells me two things. One is that people still do not fully understand how to fully use flex and the other is that RIAs are pretty popular these days. To help people who come searching for this, let me shine some light on the matter. I’ll do so in the form of bullet points to speed up the process.
Read more →

The Evolution of Frameworks

I read today about Microsoft releasing the source code of the .Net class libraries and i have to say that it is an excellent move on their part. In an earlier post, i argued why i think that all frameworks should be open sourced and i still believe that. In fact, it is because of this that i started cutting down on using .Net programming for any of my work.
Read more →

Mobile Development, Part 1

A year ago, i decided to replace my mobile phone. The battery had terrible durability and this was the second one that i replace. So i decided to bite the bullet and replace the phone. I spent a little time doing some research to know what types of phones are available locally and was quickly saddened by the alternatives. You see, i wanted a phone that would do more than make calls.
Read more →