_UnPrEdictAbLe_

All that you need to find out about what am I upto.

Archive for February, 2006

Translating ‘Rang De Basanti’ song in English.

Posted by Anurag on 25 February, 2006

Someone anonymous requested that I translate the song, Rang de basanti. I am not too good at Hindi or Punjabi, but still I want to give it a try. Please don’t laugh if I go wrong. And if you can correct me, please do.

thodisi dhuul meri dharti ki mere watan ki
A little bit of soil of earth of my country,
thodisi Khushbuu baurai se mast pavan ki
A little bit of scent of the mad winds,
thodisi dhondhane waali dhak-dhak dhak-dhak dhak-dhak saansein
{dunno the meaning of dhondhane wali, maybe it means fast}
A little bit of lively and fast breaths,
jin mein ho junoon junoon voh boonde laal lahuu ki
Those red drops of blood, which have passion in them,
yeh sab tuu mila mila le phir rang tuu khila khila le - 2
You mix all of them, and create a new color,
aur mohe tuu rang de basanti yaara
And friend, you color me saffron,
mohe tuu rang de basanti
mohe mohe tuu rang de basanti - 9
oh mohe rang de basanti basanti rang de basanti - 2
Color me saffron .. {repeated many times}

sapnen rang de, apne rang de
Color my dreams, color my beloved,
khushiyaan rang de, gam bhi rang de
Color the happiness, and the sadness too,
naslen rang de, faslein rang de
Color all species, color all crops,
rang de dhadkan, rang de sargam
Color the heart beats, color the notes,
aur mohe tuu rang de basanti yaara
And friend, you color me saffron,
{after this, repeated from the first stanza}

dheemi aanch pe tuu zara ishq chadha
On a mild flame, put some love (to cook)
thode jharne laa, thodi nadi mila
Bring some waterfalls, mix some rivers,
thode saagar aa, thodi gaagar laa
Come here some oceans, bring some (water) pots,
thoda chhidak chhidak, thoda hila hila
Sprinkle a little, and then shake it,
phir ek rang tu khila khila
And then create ONE color,
mohe mohe tuu rang de basanti yaara
And friend, you color me saffron,
mohe tuu rang de basanti
Color me in saffron (color).

basti rang de, hasti rang de
Color the inhabitation, color the existance,
hans hans rang de, nas nas rang de
Color in jubiliation, color each vein (or artery, ;))
bachpan rang de, joban rang de
Color the childhood, color the joban {don’t know what joban means}
ab der na kar sachmuch rang de
Don’t delay it anymore, color me in reality,
rang rez mere sab kuchh rang de
O painter, color everything,
mohe mohe tuu rang de basanti yaara
And friend, you color me saffron,
{continued from the first stanza again}

I hope I was able to do justice with the translation, but this is only a word by word literal translation, don’t know the ‘deeper’ meaning. Try to figure it out. Cheers!

Posted in Movies and Songs | 12 Comments »

Good morning

Posted by Anurag on 24 February, 2006

Good Morning, welcome 24 February 2006. Whats the occasion? Nothing, just another day. But from today, I’ve decided to welcome each day, and utilize it, live it to the fullest (possible). Yeah, I can’t just go mindless and do whatever, so thats why ‘fullest possible’.

Yesterday night, I leaned on to the bed for taking a small nap, and fell asleep. So that meant no dinner for me, hehe. Then I was like, kya yaar, if it was home, people would have given me food when I got up, hehe. Its okay, I wont die without one dinner. Missed eating the tablets too, god, eradicate that chest pain thing, its getting too dramatic now. And actually people have come to me and asked, howz your chest pain? I was like, woah, you people read my blog or what?

I had a general review meeting for the BTP yesterday. I didn’t know what to do, as it was first of its kind. I just tried to complete the code, and made a 8 page ppt. The professor wasn’t angry yesterday, he never is. Most people misunderstand him. I think Jawahar sir is the coolest professor in the college. Anyways, a lot of people were even confused about what they had to do. The professor wanted ‘clear goals’ and not ‘progress made’. He later explained that we should be able to make even the most dumb person understand what we are talking about, and basically begin from the beginning, saying all the Raam kahani of the project, motivation, problems, goals, efforts, etc. It was quite inspiring. Almost every student there was like, woah, he has changed, he is so nice, and so inspiring. But I said, he always is, its just that in your fear, you don’t understand him.

Anyways, so today I don’t have any deadline and all, but will work on the BTP. My code is producing the FACE VIDEOS, but has some problems (none seen as yet, but my psychology says there is a problem). I’ll correct it and embed it in the 24×7 system. Now the thing is, I WANT to make it work, I WANT that Jawahar sir sees my effort and becomes happy, not for the grades, but for the Excitement of Research. Oh, no, not for ExOR, but for the ‘actual’ Excitement of Research, hehe.

I came across another great blogger, Devil’s own. Great at english, and I came to know that her IQ is 170! I didn’t know what an IQ test is, but still tried out. Got a score of 137. Lets see if I can improve.

Couldn’t talk to Tanu yesterday night, poor girl, kept on buzzing online, calling on phone, and smsing, but kumbhkaran was deep in sleep. Hope this day is like what I want it to be. Good morning!

Posted in Blogging, Life at IIIT, Moods, Project work | No Comments »

Life goes on…

Posted by Anurag on 22 February, 2006

Finally, Mid Sem 2 has come to an end. Everyone’s first reaction is “wow, its over, what a relief!”. But then after a while, when we come to senses, we realize that its just one of the struggles that has ended. There are many that lie ahead, just at the doorstep.

For most of the UG2K3, its time for project report submission of their BTP, including mine. People have been long asleep on this regard. Those who began afresh in January have nothing very concrete to show, and most of them are expected to showcase their projects in R&D showcase, which is about a week or 10 days later (3 March).

I am also worried about my BTP. Well, its not that I have nothing to show, or I don’t have a plan to go forward, but still the major ‘research’ oriented part is still pending, and I keep avoiding to think about it. I was looking at the sphagetti code one fine morning. So, out of the blue, I decided to rewrite the whole project in a clean, modular, well-designed and well-distributed fashion. I’ve been quite successful too, and basically I have to do module testing and integration testing after the last module is done. And then, I’ve to deploy it and make it work real time with real news videos round the clock, hopefully before tomorrow afternoon. Thats something like a total of 10-15 hours of work. How am going to extract 15 hours from 15?

The other projects like Robotics project, J2ME project, etc. also need to be done before 5 March, and I am worried about them too. I’m like, I can’t even have a prioritized time division, because there is no time left. Hopefully everything will be fine.

Since about 10-15 days, I’ve been having some kind of chest pain, pain in ribs, pain in the throat and problems in breathing. It could have been due to cough and cold maybe, or maybe its a little serious. I talked to mom about this though, and she suggested taking some antibiotics and antiallergic tablets. Lets see if things get better.

Before this, I just finished up with my Mid Sem 2. Though I anticipated that it will be as bad as was Mid Sem 1, this one was comparatively better. Even the vision paper was quite understandable, and Linear programming was superb. Software Engineering was a little bad as usual. I mean, why on earth do they have that subject? And why is it being taught so badly? I mean, why an exam for learning a method to develop software? Why not something practical? Is it like they have to have an exam on anything and everything? Can’t they learn from Robotics?

Anyways, now I am a little tired and basically bored because I have no one to talk to. I mean, yeah there is Tanu, but I don’t know why I don’t feel like talking to her right now. By the way, this blog is a good listener, hehe. Ciao.

Posted in Life at IIIT, Project work | No Comments »

Yahoo! Answers and Carpel Tunnel

Posted by Anurag on 20 February, 2006

Yesterday I came across a new thing, Yahoo! Answers Beta. Its a new concept by Yahoo! in which people post a question and specify the category and subcategory of the topic. There is a place to answer the questions. You get a list of posed questions, just click anyone you want to answer, and post a reply. There is a limit of the number of questions one can ask in a day, but replying is limitless. You get a +2 for replying and -2 for asking, with a opening balance of 100. Its really fun, and you get a reply to your question generally within 5 mins. Try it out!

I came to know what is a Carpel Tunnel through Yahoo! Answers. Its some disease caused due to stress on nerve fibres. Something like when you work on the computer or some other place for long hours, your nerve gets pressed and due to this, your hands will go numb or feel tickling or become weaker. This has cure from using pads to going for a surgery. After knowing all this, I have begun having symptoms of Carpel Tunnel. Hope its just psychology.

Computer Vision paper was fine. It was in English rather than Greek for a change. I did some usual blunders, but hopefully I’ll get something acceptable. Lets prepare for LP.

Posted in Internet, Life at IIIT | 2 Comments »

KDE and Cricket scorecard…

Posted by Anurag on 16 February, 2006

I was just seeing the scorecard in the India-Pakistan match. I wondered whether I could help out my browser from those refreshes. I wasn't seeing each and every line of the commentry, so why not have something better, like a desktop scorecard, but a little less annoying.

I wrote a script that will SPECIFICALLY give me a live scorecard of TODAY's CRICKET MATCH. It can be modified to work more generically. Here is a sample output.

Just download it and run. It will work if you have KDE.

#!/bin/sh

while [ 1 ]
do
        rm -f IND_PAK_ODI4_16FEB2006.main.html
        wget http://usa.cricinfo.com/db/ARCHIVE/2005-06/IND_IN_PAK/SCORECARDS/frames/IND_PAK_ODI4_16FEB2006.main.html
        info1=`cat IND_PAK_ODI4_16FEB2006.main.html | grep overs| grep Cricinfo| cut -f 2 -d \'`
        info2=`cat IND_PAK_ODI4_16FEB2006.main.html | grep overs| grep Current|cut -f 2- -d :|cut -f 1 -d \<`
        info2="Current Partnership: $info2"
        info3=`cat IND_PAK_ODI4_16FEB2006.main.html | grep overs| grep Last|cut -f 2- -d :|cut -f 1 -d \<`
        info3="Last batsman: $info3"
        info="$info1 — $info2 —  $info3"
        kdialog –passivepopup "$info" 30 &
done

Eat cricket, sleep cricket, use only K D E!!

Posted in KDE tips and tricks | 3 Comments »

Rang De Basanti

Posted by Anurag on 11 February, 2006

Nothing much to say.. rest is said by this song..

ding ding ding ding ding ding ding
ding ding ding ding ding
thodisi dhuul meri dharti ki mere watan ki - 2
thodisi Khushbuu baurai se mast pavan ki
thodisi dhondhane waali dhak-dhak dhak-dhak dhak-dhak saansein
jin mein ho junoon junoon voh boonde laal lahuu ki
yeh sab tuu mila mila le phir rang tuu khila khila le - 2
aur mohe tuu rang de basanti yaara
mohe tuu rang de basanti
mohe mohe tuu rang de basanti - 9
oh mohe rang de basanti basanti rang de basanti - 2
(ding ding ding ding ding ding ding
ding ding ding ding ding) - 2

sapnen rang de, apne rang de
khushiyaan rang de, gam bhi rang de
naslen rang de, faslein rang de
rang de dhadkan, rang de sargam
aur mohe tuu rang de basanti yaara
mohe tuu rang de basanti
thodisi dhuul meri dharti ki mere watan ki - 2
thodisi Khushbuu baurai se mast pavan ki
thodisi dhondhane waali dhak-dhak dhak-dhak dhak-dhak saansein
jin mein ho junoon junoon voh boonde laal lahuu ki
yeh sab tuu mila mila le phir rang tuu khila khila le - 2
aur mohe tuu rang de basanti yaara
mohe tuu rang de basanti

dheemi aanch pe tuu zara ishq chadha
thode jharne laa, thodi nadi mila
thode saagar aa, thodi gaagar laa
thoda chhidak chhidak, thoda hila hila
phir ek rang tu khila khila
mohe mohe tuu rang de basanti yaara
mohe tuu rang de basanti

basti rang de, hasti rang de
hans hans rang de, nas nas rang de
bachpan rang de, joban rang de
ab der na kar sachmuch rang de
rang rez mere sab kuchh rang de
mohe mohe tuu rang de basanti yaara
mohe tuu rang de basanti
thodisi dhuul meri dharti ki mere vatan ki - 2
thodisi KHushbuu baurai se mast pavan ki
thodisi dhondne waali dhak-dhak dhak-dhak dhak-dhak saansein
jin mein ho junoon junoon voh boonde laal lahuu ki
yeh sab tuu mila mila le phir rang tuu khila khila le - 2
mohe mohe tuu rang de basanti yaara
mohe mohe tuu rang de basanti - 9
mohe rang de basanti basanti rang de basanti - 4
rang de rang de rang de basanti
(ding ding ding ding ding ding ding
ding ding ding ding ding) - 3
mohe rang de basanti basanti rang de basanti basanti
mohe rang de basanti rang de basanti rang de basanti yaara

Posted in Moods, Movies and Songs | 1 Comment »

Some KDE 3.5.1 Screenshots..

Posted by Anurag on 11 February, 2006















More awaited as and when I use it.

Posted in KDE based software upgrades | 1 Comment »

KDE 3.5.1 on FC4 : Job accomplished!!

Posted by Anurag on 11 February, 2006

* Download all rpms using the script.
* rpm -e kdeartwork-icons
* mv kdeaccessibility-kttsd-gstreamer-3.4.3-1.0.fc4.kde.i386.rpm ..

Dependencies and download links
===============================
libsamplerate.so.0
ftp://194.199.20.114/linux/fedora/extras/4/i386/libsamplerate-0.1.2-3.fc4.i386.rpm

libstdc++.so.6
ftp://fr.rpmfind.net/linux/fedora/core/updates/4/i386/libstdc++-4.0.2-8.fc4.i386.rpm

libjasper-1.701.so.1
ftp://195.220.108.108/linux/fedora/extras/4/i386/jasper-1.701.0-9.fc4.i386.rpm

liblcms.so.1
ftp://194.199.20.114/linux/fedora/extras/4/i386/lcms-1.15-1.fc4.i386.rpm

libsndfile.so.1
ftp://194.199.20.114/linux/fedora/extras/4/i386/libsndfile-1.0.11-3.fc4.i386.rpm

libIlmImf.so.2
ftp://195.220.108.108/linux/fedora/extras/4/i386/OpenEXR-1.2.2-5.fc4.i386.rpm

libslp.so.1
ftp://194.199.20.114/linux/fedora/extras/4/i386/openslp-1.2.1-4.fc4.i386.rpm

libgnokii.so.2
ftp://ftp.pbone.net/mirror/rpm.livna.org/fedora/4/i386/RPMS.lvn/gnokii-0.6.10-0.lvn.1.4.i386.rpm

libgpgme.so.11
ftp://194.199.20.114/linux/fedora/extras/4/i386/gpgme-1.0.3-2.fc4.i386.rpm

fortune-mod
ftp://195.220.108.108/linux/fedora/extras/4/i386/fortune-mod-1.99.1-4.fc4.i386.rpm

kdelibs-apidocs
ftp://194.199.20.114/linux/fedora/core/development/i386/Fedora/RPMS/kdelibs-apidocs-3.5.1-2.1.i386.rpm

mathml-fonts
ftp://195.220.108.108/linux/fedora/extras/4/i386/mathml-fonts-1.0-19.fc4.noarch.rpm

libAiksaurus-1.2.so.0
ftp://194.199.20.114/linux/fedora/extras/4/i386/aiksaurus-1.2.1-7.i386.rpm

libqscintilla.so.6
ftp://195.220.108.108/linux/fedora/extras/4/i386/qscintilla-1.6-3.fc4.i386.rpm

librecode.so.0
ftp://195.220.108.108/linux/fedora/extras/4/i386/recode-3.6-19.fc4.i386.rpm

gnupg2
ftp://194.199.20.114/linux/fedora/extras/4/i386/gnupg2-1.9.20-1.fc4.i386.rpm

libpth.so.20
ftp://195.220.108.108/linux/fedora/extras/4/i386/pth-2.0.4-3.i386.rpm

libtunepimp.so.3
ftp://194.199.20.114/linux/fedora/extras/4/i386/libtunepimp-0.4.0-4.fc4.i386.rpm

libvisual.so.0
ftp://195.220.108.108/linux/fedora/extras/4/i386/libvisual-0.2.0-6.fc4.i386.rpm

libksba.so.8
ftp://194.199.20.114/linux/fedora/extras/4/i386/libksba-0.9.13-2.fc4.i386.rpm

pinentry
ftp://195.220.108.108/linux/fedora/extras/4/i386/pinentry-0.7.1-4.i386.rpm

libstdc++-devel
ftp://194.199.20.114/linux/fedora/core/updates/4/i386/libstdc++-devel-4.0.2-8.fc4.i386.rpm

gcc-c++
ftp://194.199.20.114/linux/fedora/core/updates/4/i386/gcc-c++-4.0.2-8.fc4.i386.rpm

gcc
ftp://195.220.108.108/linux/fedora/core/updates/4/i386/gcc-4.0.2-8.fc4.i386.rpm

cpp
ftp://194.199.20.114/linux/fedora/core/updates/4/i386/cpp-4.0.2-8.fc4.i386.rpm

libgcc
ftp://195.220.108.108/linux/fedora/core/updates/4/i386/libgcc-4.0.2-8.fc4.i386.rpm

gcc-java
ftp://194.199.20.114/linux/fedora/core/updates/4/i386/gcc-java-4.0.2-8.fc4.i386.rpm

gcc-gfortran
ftp://195.220.108.108/linux/fedora/core/updates/4/i386/gcc-gfortran-4.0.2-8.fc4.i386.rpm

gcc-gnat
ftp://194.199.20.114/linux/fedora/core/updates/4/i386/gcc-gnat-4.0.2-8.fc4.i386.rpm

gcc-objc
ftp://195.220.108.108/linux/fedora/core/updates/4/i386/gcc-objc-4.0.2-8.fc4.i386.rpm

apr-devel
ftp://194.199.20.114/linux/fedora/core/updates/4/i386/apr-devel-0.9.6-3.5.i386.rpm

apr
ftp://194.199.20.114/linux/fedora/core/updates/4/i386/apr-0.9.6-3.5.i386.rpm

libmudflap-devel
ftp://195.220.108.108/linux/fedora/core/updates/4/i386/libmudflap-devel-4.0.2-8.fc4.i386.rpm

libmudflap
ftp://195.220.108.108/linux/fedora/core/updates/4/i386/libmudflap-4.0.2-8.fc4.i386.rpm

libgfortran
ftp://194.199.20.114/linux/fedora/core/updates/4/i386/libgfortran-4.0.2-8.fc4.i386.rpm

libgnat
ftp://195.220.108.108/linux/fedora/core/updates/4/i386/libgnat-4.0.2-8.fc4.i386.rpm

libgcj
ftp://194.199.20.114/linux/fedora/core/updates/4/i386/libgcj-4.0.2-8.fc4.i386.rpm

libgcj-devel
ftp://195.220.108.108/linux/fedora/core/updates/4/i386/libgcj-devel-4.0.2-8.fc4.i386.rpm

libobjc
ftp://194.199.20.114/linux/fedora/core/updates/4/i386/libobjc-4.0.2-8.fc4.i386.rpm

libgcj-src
ftp://194.199.20.114/linux/fedora/core/updates/4/i386/libgcj-src-4.0.2-8.fc4.i386.rpm

libtool — multilib2
ftp://194.199.20.114/linux/fedora/core/updates/4/i386/libtool-1.5.16.multilib2-3.i386.rpm

Install attempt 1
=================

[root@unpredictable rpms]# rpm -hUv *.rpm /home/anurag/current/kde-3.5.1/rpms/*
warning: gnokii-0.6.10-0.lvn.1.4.i386.rpm: Header V3 DSA signature: NOKEY, key ID a109b1ec
warning: /home/anurag/current/kde-3.5.1/rpms/activeheart-1.2.1-0.0.fc4.kde.i386.rpm: Header V3 DSA signature: NOKEY, key ID ff6382fa
Preparing… ########################################### [100%]
package openobex-1.0.1-3 (which is newer than openobex-1.0.1-0.1.fc4.kde) is already installed
package kdemultimedia-3.4.2-0.fc4.1mp3 (which is newer than kdemultimedia-3.5.1-1.1.fc4.kde) is already installed
package kdemultimedia-devel-3.4.2-0.fc4.1mp3 (which is newer than kdemultimedia-devel-3.5.1-1.1.fc4.kde) is already installed
package openobex-devel-1.0.1-3 (which is newer than openobex-devel-1.0.1-0.1.fc4.kde) is already installed
file /usr/share/mimelnk/application/chm.desktop from install of kdelibs-3.5.1-1.5.fc4.kde conflicts with file from package kdevelop-3.2.0-2
file /usr/lib/libmeanwhile.so.0.0.0 conflicts between attempted installs of libmeanwhile0-0.4.2-0.2.fc4.kde and meanwhile-0.3-0.1.fc4.kde
file /usr/lib/pkgconfig/meanwhile.pc conflicts between attempted installs of meanwhile-devel-0.3-0.1.fc4.kde and libmeanwhile0-devel-0.4.2-0.2.fc4.kde

Repair
======
rpm –force -Uvh kdemultimedia-3.4.2-0.fc4.1.i386.rpm kdemultimedia-devel-3.4.2-0.fc4.1.i386.rpm
mv openobex* ..

Install attempt 2
=================
[root@unpredictable rpms]# rpm -hUv *.rpm /root/rpms/*.rpm
warning: activeheart-1.2.1-0.0.fc4.kde.i386.rpm: Header V3 DSA signature: NOKEY, key ID ff6382fa
warning: /root/rpms/gnokii-0.6.10-0.lvn.1.4.i386.rpm: Header V3 DSA signature: NOKEY, key ID a109b1ec
Preparing… ########################################### [100%]
file /usr/share/mimelnk/application/chm.desktop from install of kdelibs-3.5.1-1.5.fc4.kde conflicts with file from package kdevelop-3.2.0-2
file /usr/lib/libmeanwhile.so.0.0.0 conflicts between attempted installs of libmeanwhile0-0.4.2-0.2.fc4.kde and meanwhile-0.3-0.1.fc4.kde
file /usr/lib/pkgconfig/meanwhile.pc conflicts between attempted installs of meanwhile-devel-0.3-0.1.fc4.kde and libmeanwhile0-devel-0.4.2-0.2.fc4.kde

Repair
======
rpm -e kdevelop
mv meanwhile-* ..

Install attempt 3
=================
Works!

KDE 3.5.1 looks nice. Has some interesting features. First one I noticed was the really awesome “Network link status applet”, just like the one in XP. Am still playing with it. KMplayer looks good too. Hopefully all will be okay. Cheers!!

Posted in KDE based software upgrades | 3 Comments »

KDE 3.5.1 on Fedora Core 4

Posted by Anurag on 10 February, 2006

Well, the newly released KDE 3.5.1 seems to be nice, with some good “Cosmetic repairs” plus added functionalities like the much required “plug in a CD and play” functionality inherently present in XP. To upgrade the existing version, it requires a painful download of too many RPMs, manually!

Here is a script to help the cause!

* Just create a new folder, say ‘kde-3.5.1′ and copy this script, say ‘download.sh’ into that.
* Create a directory ‘kde-3.5.1/rpms’.
* cd kde-3.5.1
* chmod 755 download.sh
* ./download.sh

and you can even run this script 2-3-4-5-6 times at the same time in different shells, so that this script downloads the rpms intelligently, i.e. they cooperatively download all data! then try to install the rpms. if some rpms got corrupt, delete them and run the script to redownload. I am also downloading right now, so lets hope it works!

Given below is the script.

#!/bin/sh

export http_proxy=”http://192.168.36.204:8080″
export ftp_proxy=”http://192.168.36.204:8080″

# existance of the html page
[ -f index.html ]
if [ $? = "1" ]
then
wget http://apt.kde-redhat.org/apt/kde-redhat/fedora/4/i386/RPMS.stable/
fi

# list of rpms
[ -f rpms.txt ]
if [ $? = "1" ]
then
cat index.html | tr ” ” “\n”| grep href|cut -f 2 -d \”|grep m$ > rpms.txt
fi

# mirrors
[ -f mirrors.list ]
if [ $? = "1" ]
then
wget http://apt.kde-redhat.org/apt/kde-redhat/fedora/4/i386/mirrors.list
cat mirrors.list | grep “http:”| cut -f 1 -d ” ” > mirrors.list
fi

# choose and download
for i in `cat rpms.txt`
do
[ -f rpms/${i} ]
if [ $? = "1" ] # the file needs to be downloaded
then
echo “Downloading … $i”
cd rpms
for k in `cat ../mirrors.list`
do
query=”${k}/kde-redhat/fedora/4/i386/RPMS.stable/${i}”
echo $query
wget –tries=2 $query
[ -f $i ]
if [ $? = "0" ]
then
break
fi
done
cd ..
fi
done

Posted in KDE based software upgrades | 2 Comments »