user-avatar
Today is Friday
November 29, 2024

September 1, 2008

Happy Days– did not make me very happy

by viggy — Categories: Uncategorized — Tags: Leave a comment

When I downloaded the movie from dc++, as I had heard very good comments from non-gulty friends. That was the main reason why i thought of watching it. I had great expectations from the movie but unfortunately, it was not upto my expectations.
The story is about 8 students,4 boys and 4 girls who have just joined an engineering college. They become friends because of the ragging process that they face and in very little time they become very close friends. Till now, it was fine. But then the ragging gets intensified and surprisingly, one of them slaps a senior. That was the first incident which took the film away from reality. And the reason was because even the senior was behind the girl and he was using seniority funda and forcing her to come with him for a movie. And amazingly, to settle this matter between juniors and seniors, someone i dont know whom, comes in between and arranges a meeting and in that meeting they decide to settle this matter in a way simple manner, a cricket match. Well i suppose everyone had just watched Lagaan and when Britishers can agree to decide matters by the result of a cricket match, then why shouldnt the college students follow the same. After all, for every system in India, we follow the British style. Well my disappointment doesnt end here.
During the cricket match, in which the seniors have State level players(as in all movies), there is a fat boy in the senior team and to lure him, what the juniors do is throw a boiled egg on the ground in which they mix some drugs (I dont know which one, but i surely would buy loads of those drugs!!). And the fat boy picks it up from the ground during the match and eats it(what happened to hygiene!). The effect of the drug is that instead of fielding the ball, he kicks it outside the boundary line(Sorry, i forgot to say, The fat boy is fielding at boundary!!Imagine Inzamam ul haq fielding at boundary, India would have won so many matches). And after all this, junior team wins the match and guess what it is the end of their ragging period. You see, we werent so lucky. Even our year guys had won the college cricket tournament in first year but till then our ragging period was already over :(.
After all this bullshit which made me loose all the interest I had on the movie, the story goes on like any other movie involving friends. there is some difference among friends and then they fight amongt eachother. In between there is also fight in between all the couples and blah blah blah.
The only good thing that i found was the way they show how all these friends in their final year, concentrate on their futures and the way they show how all of them are sad for leaving the college. Well i might have liked it because even now i am in my final year of engineering. However i always try to find some good point in any thing, and this is what i found in this movie.
Also please remember that i have not discussed about the boy is in love with a senior right from the first day of the college and how one of them proposes a college teacher who reacts by showing him a box which contains all the love letters she recieved from her students(hehehehehe) and also the way the placements are held in their college.

In short, I would say even though the frist 15 mins and the last half an hour was good enough and the theme was wonderful and different, the writer sadly fucked the story in middle.

I would give it a rating of 5/10. But again the theme was good but it was badly put into a story.

August 25, 2008

understanding gtk

by viggy — Categories: Uncategorized — Tags: Leave a comment

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.

August 11, 2008

poem

by viggy — Categories: Uncategorized — Tags: , Leave a comment

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.

August 8, 2008

The English Language…… Do you find it perplexing?

by viggy — Categories: Uncategorized — Tags: Leave a comment
  • 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.

July 28, 2008

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

by viggy — Categories: Uncategorized — Tags: Leave a comment

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.
UPDATE: The patch was accepted. Yippee, my first contribution to free software. :).

July 20, 2008

philosophy

by viggy — Categories: hardware, software — Tags: , , , Leave a comment

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.

June 14, 2008

How to download video that you watch on online?

by viggy — Categories: download — Tags: , , , 2 Comments

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.

 

June 5, 2008

just thinking

by viggy — Categories: Uncategorized — Tags: Leave a comment

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.

June 5, 2008

Wonderful Divisibility Rule

by viggy — Categories: Uncategorized — Tags: Leave a comment

I had always appreciated the orderness of decimal number system. And that is why i always believed that even number 7 should have a divisibility rule. And with this belief, i had tried many times to find it. Well i had actually never tried seriously, i spent time thinking on it only when i had nothing else to do like when i was travelling on the train or on the bus or when i was sitting idle in my village. However I never succeeded in getting any closer to a solution.
But still i maintained my belief. And i was awarded for it when i was once looking into tutorial for programming in basic c++ in topcoder here. After going through the tutorial, i looked into the sample programming problems . That is when i found this problem statement and the wonderful theory about decimal number system. The theory stated that, for a ‘n’-digit number,x, to be divisble by a number ‘p’, there should exist a set of numbers a={a1,a2,a3…,an; a1=1, ai<=p}

y=(X1.a1)+(X2.a2)+(X3.a3)+….+(Xn.an),

is divisible by p where X1,X2,X3 are the n digits of the number x. For example, in case of 7, a1=1,a2=3,a3=2,a4=6,a5=4,a6=5…. Consider X=357, so X1=7,X2=5,X3=3. So

y = (X1.a1) +(X2.a2)+(X3.a3)
= (7.1)+(5.3)+(3.2)
= 7+15+6
= 28 which is divisble by 7.
Hence X=357 is divisible by 7.

This divisbility rule can be applied to any number and is very useful if to find whether a big number is divisible by a another big prime number. I still have not understood the rule completely like what is the reason behind it and whether there exist a proof for such rule. But,really, I was very happy to know this proof. It just requires that you know the number set, a.
Also finding the number set,a, is very easy. For Example, consider that we have to find the number set,a, for p=13. We know that,always, a1=1. Also for any n-digit number, p, ai=pow(10,i), where i<=n. Hence in this case, a1=1,a2=10. To find a3, consider a 3-digit number which is divisible by 13, like 117. So X1=7,X2=1,X3=1. Hence y=(1.a3)+(1.10)+(7.1). So now solve the above Equation by substituting values for a3 which are less than 13, such that y is divisible by 13. We find a unique solution, which is, 9. Following the same method, we find for p=13, a1=1,a2=10,a3=9,a4=12,a5=3.

June 3, 2008

wget: wonderful utility to download web-pages to surf offline

by viggy — Categories: Uncategorized — Tags: Leave a comment

wget is a nice tool for downloading resources from the internet. The basic usage is wget url:

wget http://linuxreviews.org/

Therefore, wget (manual page) + less (manual page) is all you need to surf the internet. The power of wget is that you may download sites recursive, meaning you also get all pages (and images and other data) linked on the front page:

wget -r http://linuxreviews.org/

But many sites do not want you to download their entire site. To prevent this, they check how browsers identify. Many sites refuses you to connect or sends a blank page if they detect you are not using a web-browser. You might get a message like:

Sorry, but the download manager you are using to view this site is not supported. We do not support use of such download managers as flashget, go!zilla, or getright

Wget has a very handy -U option for sites like this. Use -U My-browser to tell the site you are using some commonly accepted browser:

  wget  -r -p -U Mozilla http://www.stupidsite.com/restricedplace.html

The most important command line options are --limit-rate= and --wait=. You should add –wait=20 to pause 20 seconds between retrievals, this makes sure you are not manually added to a blacklist. –limit-rate defaults to bytes, add K to set KB/s. Example:

wget --wait=20 --limit-rate=20K -r -p -U Mozilla http://www.stupidsite.com/restricedplace.html

A web-site owner will probably get upset if you attempt to download his entire site using a simple wget http://foo.bar command. However, the web-site owner will not even notice you if you limit the download transfer rate and pause between fetching files.

Use –no-parent

--no-parent is a very handy option that guarantees wget will not download anything from the folders beneath the folder you want to acquire. Use this to make sure wget does not fetch more than it needs to if just just want to download the files in a folder.


Copyright (c) 2000-2004 Øyvind Sæther. Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is included in the section entitled “GNU Free Documentation License”.

courtsey::http://linuxreviews.org/quicktips/wget/