Wednesday, January 31, 2007

Keeping it up

While I was playing NFS:Carbon today, I remembered this story out of no where. 7 or 8 years ago, there was a game on Playstation -PS 1 indeed- called "Gran Turismo 2". It was a car racing game. I kept playing it with no luck of winning any race. The game had mutli-level driving license system. Level A to C and anther 2 advanced licenses. Some races require licenses higher than the others. Of course those races gets you has a much higher winning prizes. After a year, I was able to get license A; I think that was the most basic license. To win a license you must win through some tests. Anyway, that made me finally can access better races, thus buy better cars. I stayed at this license for another year. Then I got license B. Winning prizes per race of license A only reached 400 dollars. But with license B you can access races that gives up to 5000 dollars. I kept trying to win races with no luck. I had bought a Nissan Skyline. I had hard time to win. With extra money, I upgraded the car. I also tuned it (by the way, it has an advanced performance tuning system that none of NFS have reacehd, most of it could be understood only if you have studied car mechanics in details); as a matter of fact I tried tuning it for several values randomly. I kept trying for 3 months till I found optimal values that made me win a certain race very easy. That race winning prize was 5000$. But still after that I couldn't win races that require License C; those races winning prize can reach 200,000$. While seeing what cars I can buy I found an 1000 Horse Power car (this particular car had a subtitle that this value is fictional, other cars are normally equivalent to the real thing). That car costs 2 Million $. Of course by only winning races of 5000$ I couldn't afford it. But that car really deserves it. I was sure that it can make me win absolutely any race. What do you think I did ????

What I did was that I kept playing that 5000$ race until I could afford that car. I kept doing that for 5 months and I didn't even collect 400,000$. I learnt about another race of the same easiness -almost- that gives a car instead of 5000$. Normal used cars cost less than 5000$. But what was special about that race, is that it's car can be sold for 20,000$. That race required a license that is more than C. The international A license. I kept trying for 3 months till I got it. In these 3 months I also kep playing the old race. Anyway, finally I entered that 20,000$ race and won it enough times to make 2 Million $. I took 1 month only because I played it more than 12 hours a day, in the summer vacation. And I bought that car, and indeed it made me win all other races in the game and I lived happily ever after :D. No, this is not the end, there was one race, where I have to race the same car that I am riding. And of course I never won it.

The moral of the story: keep it up till you reach what you want, but be sure that what you want is the thing that you really need. In this story what I needed was better driving skill, not better car. On the other hand I would never be able to get that car if I didn't keep trying over and over. So never give up hope in something because if you believed in it and you kept working hard, isA you WILL reach it. Also know that what you reached will NEVER be the magical solution to ALL of your problems. Be wise and look inside yourself for the truth.

Friday, January 12, 2007

Xgl/beryl part 2 + ImageMagick

This is version 0.1.4 of beryl, the older post was version 0.1.1.

I NEVER used to mouse to make this single image from the screenshots.
Using the command line, I did 4 edits in these images.
  1. Resize each picture to 25% of its original size.
  2. Reduce quality of each picture to 60% (to reduce it from 200 KB per image to only 20 KB per image).
  3. Convert from PNG image format to JPG image format.
  4. Assemble these 6 images into one big image.
All that is done using only 2 lines in the command line. The convert tool is part of the ImageMagick package.
$ for myfile in ./*.png do
convert $myfile -resize 25% -qualilty 60% $myfile.jpg
done

$ convert -size 512x615 xc:skyblue \
Screenshot.png.jpg -geometry +0+0 -composite Screenshot-1.png.jpg -geometry +256+0 -composite \
Screenshot-2.png.jpg -geometry +0+205 -composite Screenshot-3.png.jpg -geometry +256+205 -composite \
Screenshot-4.png.jpg -geometry +0+410 -composite Screenshot-5.png.jpg -geometry +256+410 -composite out.jpg

Saturday, January 6, 2007

Linux XP ( joke )

(This "article" is a JOKE and has absolutely nothing to do with the real Linux XP distro. I have never used Linux XP myself and have absolutely no idea what that distro is like) , hey, just in case they sued me or something :D
This is a part of the text - see it for yourself :D:
Improved virus and worm support. The unfortunate fact is that there are many viruses for Windows but very few for Linux. Linux XP has a special support for Windows viruses, which means that Windows viruses can damage a Linux XP system just as much as they damage Windows! This makes users who migrate from Windows really feel like home. The new Outlook compatible mail client for Linux XP ensures the easiest and most efficient way of getting infected by new viruses and forwarding them to all of the user's friends. When a Linux XP system gets infected by a virus, a dialog box is displayed with a progress bar and the informative text "Please wait while your system is being damaged." At the same time some relaxing music is played in order to make sure the waiting is as pleasant as possible, since the process may take a while, depending on the virus.

Trojan Horse downloads. The Linux XP's website has huge software download archives, and the users can easily download many different Trojan horses to their system. And because every normal user on a Linux XP system has the same rights as the root user, our customers can be confident that the damages caused by Trojans are maximized on a Linux XP system, thus letting the users experience exciting moments.

Friday, January 5, 2007

Kids!

This video of one of our friends... :D : Khalid Adel Salama, Section 1, was the Student Union Vice President last year.

Xgl/beryl On Ubuntu - some screenshots




They are all on my machine, not from the internet.

Wednesday, January 3, 2007

Interesting... :D
Taken from: http://digg.com/hardware/why_doesnt_this_work_A_True_Dumbass