To earn or not to

All who know me, know that I like to work on hobby projects every now and then. And sometimes I somehow manage to create something nice. I always used to release things under open source license.

But lately, I have received an offer. An offer which is quite appealing. For last few weeks I have been working on another project I have been working on as a hobby. I showed it to one of my friend. And the first words that his vocal chords produced were

WOW dude … We should sell this stuff as SAAS and make money!

This is when my mind took a roller coaster ride. I never thought about my any project like this. I mean seriously? Should I sell stuff I create? Thee questions are bothering me because, I have always been a avid supporter of open source. And selling software has never been my cup of tea.

Now he’s constantly trying to sell is idea of selling stuff and maybe I will buy his idea. After all making some extra money isn’t bad 😉

8 Things I hate about Ubuntu

Post title says it’s all… Following are the ten things that I hate about Ubuntu:

  1. It’s Free – It’s free that means I don’t have to pay anything. And company is loosing millions of dollars by freely distributing it.
  2. It’s Open Source – Being Open source, I can put my fucking name on the start-up screen. I love Windows which don’t let me change anything.
  3. So many Free games – There are so many free games available on the Internet for Ubuntu, I only want to have Solitaire to be playable in Ubuntu.
  4. Support is readily available – I hate the way I can post a message in support forums and get a solution within hours (sometimes in minutes).
  5. Runs on everything – I can run Ubuntu on my netbook, laptop, PC, and everything thing else. Why?? I don’t need multi hardware support.
  6. Faster than Windows – I don’t like it when I see Ubuntu booting up ten times quickly than Windows
  7. That n-th level of customization – I can make my desktop look like anything by using easy to use apps.
  8. It’s Easy – Ubuntu is so easy to use that I can even teach my grandma how to use it. Sick!!! I don’t want her to sneak up in my F drive


Convert your PC into an Ultimate Idiot Box

in this fast paced world, technology now days changes very frequently. this amazes me that back in those old days one was confined to it’s idiot box for entertainment. But now, everybody watches videos on youtube.

Anyways, I am not that good in writing stuff and articles, so I’ll skip the chitchat and come straight to the point.

Good Ol’ Microsoft

Many of you guys must be using Media Center from Microsoft. Media Center is a very good software that will convert your system into an entertainment hub. Only downside I know about it is it’s price!!! It’s costly and many of us don’t wanna spend that much fro a new software.

But thank god there is open source freaks out there. Lately, I was trying to ind a good alternative for Media Center and what I found changed my way of watching movies on computer and damn yes I’ll purchase a TV tuner card now.

Let’s Meet Boxee

Boxee is an open source initiative which allows you to watch movies on you PC or TV either from Internet or your local hard drive.

Boxee is the best way to enjoy entertainment from the Internet and computer on your PC or TV

What I like about Boxee is that It’s open source which means it’s completely free. It’s intuitive and has a very good GUI which most of the open source software lacks. It let’s you watch videos, movies and even listen to podcasts or music either from Internet or your PC.

Boxee Beta from boxee on Vimeo.

Also, It’s extensible, which means there are lots of plugins available for it. You can even use facebook on it. It runs on multiple platforms like Windows, linux, Debian and MAC.

Geeky Stuff

For all those geeks out there here’s little information about it for you:

  • It’s open source, means you can change the name to your name
  • It’s based on award winning XMBC. But it has more intuitive GUI
  • It fetches subtitles and disc images fro movies from IMDB
  • Has inbuilt media library
  • Uses DirectX and OpenGL for rendering.

Give it a try, it’s worth.

Portraiture ver 0.2

I am glad to announce the release of Portraiture version 0.2

This version contains many bug fixes and other things from previous release.

Screenshot of Portraiture

Download link:

Save Tigers, Save Earth!

Today I saw a commercial on TV. It said that there are only 1000+ tigers left in India. The first thought that came to my mind is that we will now be telling only bedtime stories to our children after 5 years about tigers!!!!

This is very depressing and should be given a very serious thought. If you think that nothing can be done or a single person can’t help, then this post is for you!

Bengal Tiger
Bengal Tiger

Tigers will get extinct someday, so what?

Let me first start of with what will happen if there will be no tigers left.

Think of those days of your school when your sciences teacher used to teach you about food chain. We all know that tigers are predators, they hunt herbivorous (vegetarian) animals. Now if there are no tigers left then herbivorous will grow in population. If there is  blast in there population, then there will be more animals feeding on vegetation (trees, plants, grass). And do keep in mind they eat like hell (try googling it if you want proof). Then obviously scarcity in vegetation will arise, as a result these animals will start dying.

So, In the end we are left with no forests (or very little forests) and no animals (or very few animals). This will lead to less tress and then eventually to less oxygen, more carbon dioxide. Planet will become more warmer. Now combine this with global warming, which is already happening.

End result? I won’t be surprised if our planet Earth converts into second Mars in our solar system. In practical sense, this won’t be happening overnight, but if negligence continues, then I am sure that in next 50 years we will have more deserts than Earth has ever seen before.

What Can a Single Person Do?

Obviously a single person can’t do it all by himself unless he is a superman. But still you can contribute and believe me, it helps.

You can do following to help Mother Nature:

  • Stop using polybags
  • Use recycled paper for rough work
  • Don’t burn paper or wood items, rather give them to a recycling center
  • Switch off your vehicle’s engines at red light
  • Ask your wife not to buy things which are derived from tigers like tiger’s skin purse
  • Be a very responsible tourist, don’t feed tigers or any other wild animal
  • Don’t leave garbage in forest
  • Ask your children, office staff to utilize paper efficiently. Don’t leave white spaces much.

Above points are not only related to tigers, but to environment also.

A Quick Fact

At the turn of the 20th century, according to sources, India had an estimated 40,000 tigers in the wild. In 2002, based on pug mark census, this number was 3,642. As per the monitoring exercise by Wildlife Institute of India in association with National Tiger Conservation Authority (NTCA), Government of India using camera traps, in 2008 we were left with only 1,411 tigers. This number is so small that they will be gone soon if we don’t wake up to the crisis.


In the end, may be you have heard these things everywhere, but merely listening to these things will solve nothing. Start acting now and I bet you, son’t take polythene bag next time and you will feel better.

Permanent 301 redirection of non www domains to www domains

How to redirect your domain to domain with www prefixed

redirection of your domain ( name to is very useful and must be done. Reason for this is that when you have a non redirected domain name then search engines will see and as two separate websites. Hence you will lose much of the website traffic due to this.

One of the simplest solution for this is to add a .htaccess file and permanently redirect your domain name to www prefiixed domain name. Here’s how to do it step by step:

  1. Create a file with name ‘.htacess’
  2. Add the following code to it:
    RewriteEngine On
    RewriteBase /
    RewriteCond %{HTTP_HOST} !^$ [NC]
    RewriteRule ^(.*)$$1 [L,R=301]
  3. replace the ‘’ with your domain name
  4. upload this file to your web servers root folder

Thats it. You are done. You can check the redirection by typing your domain name in the browser without www prefix.

Note: Above told method only works for apache web servers. For IIS servers I recommend reading

Hope this tip will help you! cheers!

Why Do Most of the Startups Fail

This post is related to my life. It’s a kind of experience I have gained in last few years.

Never trust anyone, not even your best friend

This one’s hard to digest but is a bitter truth about life. Money can make anybody crazy like a coo-koo :) If you are starting a business in a partnership then do remember to agree everything on papers not on words. It’s doesn’t take much time to make people crazy

Never start without money

Everyone talks about this, you must have read it over Internet. This one specifically applies for those who are not fully enthusiastic about their businesses. Everyone thinks that they are, but think again!

Never open your cards unless required

Never share what you have in your mind related to your business, You never know who may steal your idea. There’s a saying that says

anyone can copy your idea, but no one can copy your execution

This is true but only if you have launched your product. Don’t share it if you have not started developing it.

Get a MBA if it’s required

There are a lot of debates happening all the time on this. Not every body requires a MBA. Some are born leaders and some have support in many other ways. I would suggest if you are require MBA then go for it. It’s only two years that will be wasted on studies and it’s better to waste them on studies then rather repenting your whole life.

Few Examples of those whom I think should get an MBA

  • A Person from a non business background or family
  • A person who have less money and want to start a traditional business
  • A person from a pure technical background without managerial experience
  • A person who lacks managerial skills

These are some thing that I have learnt, hope will help you guys.

Twitter is down again

It seems that Hackers have fallen in love with twitter. This is the second time I am seeing twitter being down for more than 20 minutes. Twitter is really finding it hard to handle “Over Capacity”.

Yeah It’s been more than 20 minutes now. If you goto you’ll see following image:

Twitter home page
Twitter home page

I think twitter guys should take their system’s weaknesses more seriously now. On the other side, I was wondering whether Mr. Bill Gates has to do something with it 😉 He recently joined Twitter *grin*read about this news here!

Asset Management in CodeIgntier

This is a quick tip, I wanna share with you all.

many of you must be using CodeIgniter for development of web apps. And I know everyone of you must have faced the problem of asset management (css, JS, images) in Codeigntier. Well here’s a quick tip for it and making it hassle free.

use of base tag in head section

First of all place all your files in some folder, this is how I use it. I always create three folders viz. css, images and js in root folder of codeigniter app. Then add following in head section

<base href=”<?php echo base_url(); ?>” />

After this, u can use only partial links in all you linking relative to you base href’s property!

For eg.

<script src=”js/jquery.min.js”></script>

and thats all, You won’t have to include base_url all the time in your codes for linking. It can be used for everything like images, scripts, css files etc.

Hope you find it useful!

A Better Programming Stack!

We all programmers always try to find ways to do work more quickly and efficiently. Ask any programmer and he’ll say that “I have to write code again and again for so many things! I hate it!”. I am not talking about using for loops and functions here. I am talking about database connectivity, cross platform compatibility. I am talking about Frameworks!

In this post, I will try to emphasize on the benefits and usefulness of using development framework and how to update your development stack to next level. In short, this post is meant for those LAMP developers who still are using core PHP/CSS and HTML for development.


Frameworks for LAMP has been around for some time now and have evolved a lot. According to wikipedia

software framework, in computer programming, is an abstraction in which common code providing generic functionality can be selectively overridden or specialized by user code providing specific functionality. Frameworks are a special case of software libraries in that they are reusable abstractions of code wrapped in a well-defined API, yet they contain some key distinguishing features that separate them from normal libraries.

PHP Frameworks

There are a lot of php frameworks to choose from, But I suggest CodeIgniter to beginners.

CodeIgniter - PHP Framework
CodeIgniter - PHP Framework

Why is it best? because it’s really easy to install and learn. Requires minimal configuration and it’s ready to use in 3 minutes. It supports all major databases. All you have to do is call it’s API and it’ll automagically generate SQL queries according to database used. It’s also supports XSS filtering, also has form validation class etc. etc.

It’s also extensible. You can create your own library classes and extend it’s core. There is an extensive documentation which covers each and every aspect of codeigntier.

Home Page:

Other Frameworks to look at

CSS Frameworks

I can list you more than 10 useful CSS Frameworks, but the one that’s very popular and my personal favorite is: BluePrintCSS.

BlurPrintCSS - CSS Framework
BlurPrintCSS - CSS Framework

CSS framework allows you to quickly create websites. This one in particular offers you a grid, typography, forms and even a print css. It’s cross browser compatible so you don’t have to worry about cross browser compatibility. All you have to do to use it is to include screen.css and that’s it. And obviously you’ll have to learn it’s classes though 😉


Other Frameworks to look for

Javascript Frameworks

Javascript frameworks are awesome tools which let you do all kind of animations on the fly, you can also do ajax painlessly.

My personal favorite is: Jquery

Jquery - Javascript Framework
Jquery - Javascript Framework

If you ask me, which framework will win the JS Framework war, I’ll bet on Jquery. It’s so much fun and easy to use. You’ll never look back after using this. I bet you!

Other Javascript Frameworks to look at

Well I think that will be all to get you guys started! If you think I missed out something then do let me know! All comments are welcome