Thursday, November 20, 2008

Take a Mozilla survey!

Mozilla has been working hard to learn more about the technology landscape in India and has participated in a number of successful events the past couple of years to help educate people about Mozilla and Firefox. Mozilla has made a lot of progress, but want to get more people involved in our strategy in India.

Now it's time for you folks to tell us what we might have missed and to share what you know. Please take our survey at: http://moz.india.sgizmo.com (Understanding the Internet community in India) AND pass the link along to family, friends, and colleagues that can also provide Mozilla with their feedback.

Thank you for helping the Mozilla community and for sharing your knowledge with us..

Do comment if you have any queries regarding the survey!

Wednesday, October 22, 2008

A wise man once said!


Sunday, October 5, 2008

Finally a debian talk by me!

Exams season is here for Mumbai University students. And for past entire week we had our practical exams, presentations, etc.

We have a subject "Internet Security", of course with M$ Windoze specific syllabus. And we had to give presentation on any topic related to the subject. I would never give a presentation with anything related to M$ in it..

Just had a peaceful talk with our professor, gave her idea of entire thing. Luckily, it was okay with her and I'm talking on Debian GNU/Linux..

My presentation was yesterday and it went well! :-) Feels awesome, that I got a chance to talk about Debian. I'd given a presentation about Mozilla Firefox during release of Firefox 3.

But, finally I think people loved my talk and they'll love Debian too..

Saturday, September 6, 2008

Random quotes!

Came home from college(attending boring lectures) and brother gave me some 'quotes' from some book he was reading. Would like to share them.. Loved them because they are fact that everyone must know!

1] It is best to learn as we go, than to go as we have learned.

2] Education has produced a vast population able to read but unable to distinguish what is worth reading.

3] I've never let my schooling interfere with my education.

4] The mediocre teacher tells. The good teacher explains. The superior teacher demonstrates. The GREAT teacher inspires.

5] If you want to make peace, you don't talk with friends. You talk to your enemies.

6] When I give a lecture, I accept that people look at their watches, but what I do not tolerate is when they look at it and raise it to their ear to find if it has stopped.

7] Be ashamed to die unless you've won some victory for humanity.

8] One of the greatest victory you can gain over someone is that beat him at being truthful.

9] Be careful that victory does not carry seeds of future defeats.

NIce ones, aren't they?

Saturday, August 16, 2008

Happy Birthday King of Swirls!

I wish Debian project a very Happy Birthday. Its now 15 years since its first release on 16th August, 1993 and hence we can say today is Debian's 15th Birthday..



On this occasion, I planned to do some artwork in form of poster to put up besides my home desk. But today, its Raksha Bandhan and all relatives coming to our place. So, no time to do it. Instead I'll tell everyone about Debian and of course a cake for debian.

If I make any such artwork, will post it..

[TAB] in Python interpreter..

I always use bash on terminal and often find the tab-completion feature useful. Bet on it, without that, life would be horrible..

Yesterday, I and Kunal were working on some pythonic stuff. It is regarding pyslide story. We needed some kind of xmlparser in pyslide as python-xml is to be removed. I don't have any idea of what is XML and so was googling around today. While trying for some stuff with Python shell, I realized that their is no tab-completion in Python interactive shell. And it would be of great help. So bumped on this in Python Docs. While searching for proper way to do tab completion, I saw a video on dgplug tv by Kushal.

Here's what I did to get tab-completion in Python's interactive shell..

1]Create a ~/.pythonrc file with following content.

 try:
import readline
except ImportError:
print "Module readline not available."
else:
import rlcompleter
readline.parse_and_bind("tab: complete")

2] Put the following line in ~/.bashrc file.
 export PYTHONSTARTUP=~/.pythonrc

Now, everytime you start the python interactive shell, the ~/.pythonrc file is executed and HURRAY [TAB] works in Python shell.. :-)


Results:


aamod@cowbee:~$ python

Python 2.5.2a0 (r251:54863, Jan 3 2008, 17:59:56)
[GCC 4.2.3 20071123 (prerelease) (Debian 4.2.2-4)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import os
>>> os.pa
os.pardir os.pathconf os.pathsep
os.path os.pathconf_names
>>> os.pa