Sunday, April 29, 2007

Computer & IT **** Funny quotes****


"Computers are useless. They can only give you answers."
Pablo Picasso.

"Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning."
Rich Cook.

"Computer dating is fine, if you're a computer."
Rita May Brown.

"All sorts of computer errors are now turning up. You'd be surprised to know the number of doctors who claim they are treating pregrant men."
Isaac Asimov.

"To err is human, but to really foul things up you need a computer."
Paul Ehrlich.

"The trouble with the internet is that it's replacing maturbation as a leisure activity."
Patrick Murray.

"Beware of computer programmers that carry screwdrivers."
Leonard Brandwein.

"UNIX is basically a simple operating system, but you have to be a genuis to understand the simplicity."
Dennis Ritchie.

"The perfect computer has been developed. You just feed in your problems and they never come out again."
Al Goodman.

"The most overlooked advantage of owning a computer is that if they foul up there's no law against whacking them around a bit."
Eric Poterfield.

"The most likely way for the the world to be destroyed, most experts agree, is by accident. That's where we come in; we're computer professionals. We cause accidents."
Nathaniel Borenstein.

"To err is human--and to blame it on the computer is even more so."
Robert Orben.

"If the automobile had followed the same development cycle as the computer, a Rolls-Royce would today cost $100, get a million miles per gallon, and explode once a year, killing everyone inside."
Robert X.Cringely.

"If you put tomfoolery into a computer, nothing comes out of it but tomfoolery. But this tomfoolery, having passed through a very expensive machine, is somehow enobled and no-one dares criticize it."
Pierre Gallois.

Monday, April 23, 2007

Windows 98 Source Code

Have a look at this guys


/* Windows '98 source code */
/*
TOP SECRET Microsoft(c) Code
Project: Chicago(tm)
Projected release-date: Summer 1998
*/
#include "win31.h"
#include "win95.h"
#include "evenmore.h"
#include "oldstuff.h"
#include "billrulz.h"
#define INSTALL_HARD
char make_prog_look_big 1600000;
void main()


{
while(!CRASHED)


{
display_copyright_message();
display_bill_rules_message();
do_nothing_loop();
if (first_time_installation)


{
make_50_megabyte_swapfile();
do_nothing_loop();
totally_screw_up_HPFS_file_system();
search_and_destroy_the_rest_of_OS2();
hang_system();
}
write_something(anything);
display_copyright_message();
do_nothing_loop();
do_some_stuff();
if (still_not_crashed)


{
display_copyright_message();
do_nothing_loop();
basically_run_windows_3.1();
do_nothing_loop();
do_nothing_loop();
}
}
if (detect_cache())
disable_cache();
if (fast_cpu())


{
set_wait_states(lots);
set_mouse(speed, very_slow);
set_mouse(action, jumpy);
set_mouse(reaction, sometimes);
}
/* printf("Welcome to Windows 3.11");*/
/* printf("Welcome to Windows 95"); */
printf("Welcome to Windows 98");
if (system_ok())
crash(to_dos_prompt);
else
system_memory = open("a:\swp0001.swp",
O_CREATE);
while(something)


{
sleep(5);
get_user_input();
sleep(5);
act_on_user_input();
sleep(5);
}
create_general_protection_fault();
}

Sunday, April 15, 2007

OpenGL game programming

Next week an assignment for Interface Design & Computer Graphics has to be submitted. We had choices between a graphic application developed using OpenGL or an animation using Maya PLE in groups of two. In my case, my partner Kevina and I are working on the application with OpenGL; more precisely developed a simple game "tic-tac-toe". The major problem when working with OpenGL, is that there is little information on the web explaining how it works, there are many variation in the tutorials that can be found...very frustrating indeed. However, the basic drawing have already been done this week, only fine tuning of the game have to be done i.e. adding the rules and improving its appearance. After submitted the assignment, I will post the source code. 

Wednesday, April 11, 2007

Majestic United storm into semis

Last week Manchester United was beaten in Roma 1-2 in the first leg of the Champion league quater final.Yesterday a win was expected for the home team but such a victory over the same team of AS Roma 7-1, its was simply fabulous.What a match...a display of superiority in the competition.Hopefully the historic treble of 1999 is about to be repeated by this generation.Below are some pictures of the event of last night.








Mind game: Neighbours

This quiz was made up by Albert Einstein and according to him 98% will not solve it.

Try your luck!

There is a row of five houses, each having a different color. In these houses live five people of various nationalities. Each of them nurtures a different beast, likes different drinks and smokes different brand of cigars.

  1. The Brits lives in the Red house.
  2. The Swede keeps dogs as pets.
  3. The Dane drinks tea.
  4. The Green house is on the left of the White house.
  5. The owner of the Green house drinks coffee.
  6. The person who smokes Pall Mall rears birds.
  7. The owner of the Yellow house smokes Dunhill.
  8. The man living in the centre house drinks milk.
  9. The Norwegian lives in the first house.
  10. The man who smokes Blends lives next to the one who keeps cats.
  11. The who keeps horses lives next to the man who smokes Dunhill.
  12. The man who smokes Blue Master drinks beer.
  13. The German smokes Prince.
  14. The Norwegian lives next to the Blue house.
  15. The man who smokes Blends has a neighbour who drinks water.

Who has fish at home?

Try it.Its really fun.I've did in about 8-10 mins.Post your answer.