A train journey of self reflection

Met with a guy in the train today. He is just out from his college, now doing an internship in PHP, at IPSR, hoping that it’ll help him nail his first job, as companies out there was asking him for ‘experience'(The classical chicken/egg problem). He reminded me a lot about myself, more than three years ago.
Just out of the college  I was also looking onto get a straw to hold on(get my first job). It was during that time that the three of us Reshil, Mohazin and I, joined Keltron Bigleap Finishing School(KBFS) for the LAMP internship program  they were conducting. We were also told that the 6 months of internship there, will be counted on as experience, and help us get the first job.
The internship at KBFS taught me, and the others a lot of industrially useful things about LAMP, and helped us get our first jobs, mainly owing to George sir, who was our instructor there, and had a lot of years of experience working in the industry(He was a knowledge bank, I used to pester him with doubts, and he used to answer all those with utmost patience). But, no company considered our time(6 months) as experience. We got our first jobs because we were able to make our respective employers understand that we have learnt and knew how to use a thing or two.
Down the line, more than three years later, now in my second job, I have learnt a lot about LAMP and more. What guided then, and keeps guiding me now, is my all-time friends: curiosity and the want to learn more. I explained the usefulness of both these, to that guy. In our brief conversation, I explained to him how PHP actually executes, why PHP is not exactly an interpreted language, the importance of coding standards(indentation, naming, etc. ) in programming languages, PHP’s standard(PSR)(I feel like I’ll want to put up an article about each of these individually, let’s see where it goes). It always feels good to share what I know with others, especially when the person(s) on the other side is actually interested. I also suggested him go looking deeper, and deeper to understand how things work, it’ll help us appreciate and understand those things better, and make us better equipped to handle those.
He also made me understand how things that I talk about so easily these days, were totally alien to me, when I was at the same stage. I believe that I have been able to spur an interest in him to look deeper, and understand PHP better.(This makes me feel so happy)
So, to programmers out there(at all stages) I would like to say, keep that fire to learn, understand things, that curious person in you, burning brightly. It’ll give you that satisfaction, and help you move ahead. Also, make it a habit to share what you know with anyone who is interested, it’ll only make yourself a more intelligent/knowledgeable person.
I know that I have reached nowhere in my career, but still I see nothing wrong in sharing things that I feel important and true. :D

1. I haven’t attended the internship program of IPSR, so I don’t know if they’re providing actual projects to ‘interns’, and so, if it’ll actually be considered as experience.
2. This is my first blog post in a long time, and the first one typed from my mobile phone. It was prepared quickly, and is basically a rundown of my thought-train at the moment. So, bear with any mistakes that I might have inadvertently made.

Zend Framework 2.0.0 has arrived

Zend Framework 2.0.0 Stable has arrived, five years after the release of version 1.0 in June 2007.

Major new features:

Courtesy: http://www.h-online.com/open/news/item/Zend-2-0-0-Stable-adds-modules-and-events-1702028.html
Official Post: http://framework.zend.com/blog/zend-framework-2-0-0-stable-released.html

How to add an entry for Zend Studio in your Ubuntu programs list

I had been trying to add a shortcut/entry for Zend studio in my Ubuntu 11.10.  Finally I could find a way to make Zend studio entry come up in the Unity Application search or Filter. Actually its a rather straight forward procedure. Create a file zendstudio.desktop in the /usr/share/applications/ as root, add the following contents to it, using your editor of choice(I used vi editor).

[Desktop Entry]
Name=Zend Studio
GenericName=PHP IDE
Comment=Zend's PHP IDE

(You could check out the above link to find way to add antry for any custom software using the same method).

N.B: Its my first blog post after nearly one year. Hope that I can follow it with more such useful posts.
The above method was tested by me in Unity based Ubuntu. But it should work fine in any GNOME based OS.

How to type New Indian Rupee Symbol(the right way)


To display the Indian rupee symbol , you must have a font—such as the Ubuntu Font Family—with support for the character.

Windows users may use the new Rupkara font which has the Unicode postion mapping for the symbol. For  downloading the font, please visit-http://blog.foradian.com/rupakara-first-font-with-indian-rupee-symbol


For K/Ubuntu 10.10 users, this is automatic.The sign can inserted in your own documents using copy-and-paste from another location, or using the Unicode-entry method, which is the correct way of doing it, and it is as follows-

  • Ubuntu 10.10:<Ctrl-Shift-u>20b9<enter>
  • MS Windows: <Press-and-hold Alt>20b9<Release Alt>
  • Kubuntu 10.10: Copy-and-paste ‘₹’
  • HTML: insert “&#x20b9;”


The codepoint at U+20B9 was assigned by the Unicode consortium on 11 August 2010 (2010-08-11).

A fact-

Ubuntu 10.10 is the first operating system to ship with out-of-the-box support for displaying the Indian Rupee Sign, and this happened on 10 October 2010 (2010-10-10).


How to clear the MySQL Server Command-Line

Have you ever felt that your MySQL command-line prompt is getting too untidy and you want to clear it.
Here is how you do it-
To clear the terminal when using MySQL, from within the MySQL server prompt.

mysql>\! clear

Note: \! operator is to run any terminal command from within the mysql server prompt.
e.g. mysql>\! ls
Executes ls command and shows it output, i.e, the contents of the current working directory.

Shell commands for Shutdown/Restart/Logout

I would like to share with you, the linux shell commmands for shutdown, restart and logout. You may find these commands handy if your GUI is inaccesible, due to some particular reason, or if you’re a die-hard terminal/TUI fan.
So, the commands are-

  • Shutdown
  •           saji@saji-laptop:~$ sudo shutdown -h now
  • Restart
  •           saji@saji-laptop:~$ sudo shutdown -r now
  • Logout
  •          saji@saji-laptop:~$ gnome-session-save --gui --logout

N.B: The logout command is for Gnome only.

Automatic startup of IBus daemon on ubuntu startup

Hi guys, you might have found it difficult to run I-Bus everytime you want to type in your local language. I for one, use it to type in my mother tongue Malayalam. Also being the admin of the team carrying out Malayalam translations of Ubuntu and related software at Launchpad, I use Malayalam a lot. Also I use Malayalam every now and then, while chatting, simply to surprise my friends, mostly Windows users, and even Ubuntu users who didn’t know that such an option existed. all the more, in Ubuntu 10.04 IBus had the Malayalam input methods in it by default, one just had to enable it by selecting the method of his/her choice. So, it’s very useful for me to get IBus enabled at the start of Ubuntu OS. What triggered the idea for this post was a simple doubt asked by one of my friends, Vijay Narayankutty(who blogs at http://vijaynarayankutty.wordpress.com/), who like many of us is an opensource software lover. Well, he asked me how we can do this automatic startup, then I thought why not post about it, and make it available to everyone who wants to do the same. Ok then, let’s move on to the stuff. :)

Steps to be taken-

  1. Go to System > Preferences > Startup Applications.
  2. Click the Add button
  3. In the resulting window(Add startup program), enter anything for the name(e.g.IBus Daemon) and comment section(e.g.IBus Daemon for language input methods), its for your understanding.
    In command box, enter the following-

    /usr/bin/ibus-daemon -d
  4. Click Add to confirm.

You’re geared up now, next time Ubuntu starts up, the IBus daemon is automatically started, hence you can now switch to the language of your choice and start typing with no further delay.