Monday, August 25, 2008

understanding gtk

well i started reading about Gtk when i started fixing usability bugs in evolution and the main thing i found about Gtk was that it has many many functions.

Monday, August 11, 2008

poem

I feared being alone
until I learned to like
myself.

I feared failure
until I realized that I only
fail when I don't try.

I feared success
until I realized
that I had to try
in order to be happy
with myself.

I feared people's opinions
until I learned that
people would have opinions
about me anyway.

I feared rejection
until I learned to
have faith in myself.

I feared pain
until I learned that
it's necessary
for growth.

I feared the truth
until I saw the
ugliness in lies.

I feared life
until I experienced
its beauty.

I feared death
until I realized that it's
not an end, but a beginning.

I feared my destiny,
until I realized that
I had the power to change
my life.

I feared hate
until I saw that it
was nothing more than
ignorance.

I feared love
until it touched my heart,
making the darkness fade
into endless sunny days.

I feared ridicule
until I learned how
to laugh at myself.

I feared growing old
until I realized that
I gained wisdom every day.

I feared the future
until I realized that
life just kept getting
better.

I feared the past
until I realized that
it could no longer hurt me.

I feared the dark
until I saw the beauty
of the starlight.

I feared the light
until I learned that the
truth would give me
strength.

I feared change,
until I saw that
even the most beautiful butterfly
had to undergo a metamorphosis
before it could fly.

Friday, August 8, 2008

The English Language...... Do you find it perplexing?

  • The bandage was wound around the wound.
  • The farm was used to produce.
  • The dump was so full that it had to refuse more refuse.
  • We must polish the polish furniture.
  • He could lead if he would get the lead out.
  • The soldier decided to dessert his dessert in the desert.
  • Since there is no time like the present, he thought it was time to present the present.
  • A bass was painted on the head of the bass drum.
  • When shot at, the dove dove into the bushes.
  • I did not object to the object.
  • The insurance was invalid for the invalid.
  • They were too close the door to close it.
  • The wind was too strong to wind the sail.
  • I had to subject the subject to a series of tests.

Sunday, July 27, 2008

what i counldnt do in around 15 days, was done in one hour

today atlast i have fixed the bug in Evolution . I had tried fixing this bug in my holidays for around 15 days. But due to some or other reason evolution used to crash with whatever code i had written. At the beginning, I was trying to destroy the categories-dailog and restart it. But later, after jjonny's advice, I tried to reorder the list instead of restarting the dailog. But still I was not able to write any correct code. However, today I dont know how I did it.

I slept at around 2 am(strange considering that i had spent night-outs for last 8 days). I was feeling so sleepy that i thought it was best to sleep. But I woke up at 4:45 am. Since I had nothing to do for entertainment(due to some missing dependencies, I have not been able to install any video player in Opensuse 11), I thought I should try to fix the bug. So I again started to write fresh code to fix the bug, as I had re-installed Opensuse and due to my foolishness, I had lost all my previous codes. After about half an hour, I had completed writing about 15 lines of code which was very similar to codes that i had tried earlier. And when i re-builded Evolution, strangely the bug was fixed.

Ofcourse, now i have to see whether my patch will be accepted. If it is accepted, then it will be my first bug that i have fixed successfully. let us see.

Sunday, July 20, 2008

philosophy

today Debayan made an excellent comparison of soul and body with software and hardware. it made so much sense. if hardware stops working, software disappears. but without software, hardware does not have any purpose. it is just some matter. but with software, it gains a purpose and becomes a machine. similarly, body without soul(after death) is just some matter without any purpose. but when body is alive, it runs due to some software which we call as soul. ofcourse, the software associated with the body is highly architecture specific and its future highly depends on the environment in which the hardware is present. also, the software continuosly changes the hardware. now getting more deeper, let us think about the main memory and secondary memory. I think the role of main memory and secondary memory is played by heart and brain, not necessarily in same order. ofcourse, what is what changes from person to person. people keeping everything in their heart and listening to brain, use brain as main memory and heart as secondary memory. but people using their brain to store memories and who listen to their heart, use heart as main memory and brain as secondary memory.
another importent observation is that there is no restart option. you can just put it to stand by for sometime by sleeping or you can shutdown only once.

Saturday, June 14, 2008

How to download video that you watch on online?

Before discussing different ways to download video, let me first tell you that in most of the ways i am going to discuss, you will have to spend time watching that video online atleast once.

To download videos from youtube
For this, view the video online completely once, or atleast let it buffer completely while you spend time working on something else. Then go to the cache folder of your Browser and search for a file with .flv format. The name of the file might be anything. This is the video which you wanted to download. Copy it to any different folder before closing the Browser as the cache might be deleted after you close the Browser. You can view the .flv format video in any FLV Player or VLC.




To download videos from other sites 
For this, just follow as discussed above. When you open cache folder of Browser, instead of .flv format video, you might find files of .swf format and when you try to play it on your media player, you might just not get any clear video. Dont worry, just open the file with your Browser and you can watch the video.



To download videos without watching it (It might not work on most of the sites)
For this, open the site from where the video can be watched online. Then look into the source of the webpage. If you are lucky, you might just find a complete link of a .flv format file. Copy and paste the link in a new tab in your Browser. The Browser will ask permissions to download the file. After the file is fully downloaded, you can enjoying watching it using any Flv player. This method works only on non-commercial webpages in which the user has shared the video for free for the public to watch it.


So now enjoy downloading videos.

 

Thursday, June 5, 2008

just thinking

I just completed watching all 3 parts of Godfather. No doubt they are counted in the list of best movies ever made. Wonderful story and so well directed and acted. Over all a very good movie. I was just thinking about the way it ended. Michael lost his daughter whom he had always thought of protecting. I am going to describe about some roles in the movie and how i understood them.

I think about the 3 gangsters, Vito Corleone, Santino Corleone and Micheal Coleone. Vito Corleone was a very good person by heart and i liked the way he ruled. His decision to go against supporting Drug dealing was right but as we know it had very bad consequences on him and his family. This again raises an importent moral question. Can a person try to be good while working along with bad persons? This is a very importent question and i am sure you would agree with me if i say that a definite yes or no for this question cannot be given. Santino, on the other hand,was a person who loved his family very much, but he was a person who had power but not the patience to think before useing it which ultimately made him loose his life.

Now the main character, Micheal Corleone, a gangster who never wanted to be a gangster, but had to become a gangster to protect his family. He liked his father very much but didnt like his father's work. But still he got involved when his father needed him. So now let me share with you the moral question that i have always been thinking about. What do you do when someone whom you like very much but is superior to you (in some or other way) is doing wrong? You have only 2 option, either support him in whatever wrong deed he is doing or leave him and try to lead your own life leaving all concerns about the person. Micheal's daughter choose the first option and was killed whereas his son choose the second option and became a good musician. Both loved their father very much but choose different way to show their love. So which is right? What would his son do if Micheal was shot instead of his daughter and was badly injured?

We find similar examples in both Ramayan and Mahabharta. In Ramayan, we see how Bharath cuts off all his relationship with his mother for being so unjust to his brother Ram. Where as in Mahabharta, due to the support Dhritarastra gives to his son, Duryodhana, he loses not only all his sons but also his dynasty is washed off completely. So history and also as in Godfather suggests that, it is always good for you to leave a person who is very much involved in his bad deeds.