Monday, September 11, 2006

Never store your Prof's mobile number on your cell

A very hilarious thing happened last week. There is this guy in CS dept who had put a night out last Thursday. Let me call him X. X felt terribly sleepy during all the classes on Friday. He had a 2 hour class of Prof. Y in the afternoon on Friday at 2:00 PM. This was after another lecture from 1:00 to 2:00 PM Since he was too sleepy, he decided that he would bunk the 2 hour class. He wanted to know if his friend Z was attending the class. So he put in an SMS - "Attending Class?" to Z during the 1'O clock class. He did not receive any reply from Z. At 2, he met Z outside the classroom and both decided to bunk the 2 hour class. So both went back to their rooms and crashed.

Later in the evening on Friday, X left his mobile in his room when he went to the mess. After dinner, he went to the lab to do some assignment. Then he noticed that there was a missed call from Prof. Y. He wondered how Prof. Y knew his mobile number. He did not want to call Prof. Y as it was already 10 PM. So he sent an SMS to Prof. Y saying - "Sorry. I did not have my mobile with me when you had called sir. Anything important?" He did not receive any reply though.

Then on Sunday, X was just checking the sent messages folder on his mobile. That is when he got a shock. He had sent 2 messages to Prof. Y. He remembered sending only one. So when he checked them, he saw that he had sent the "Attending Class?" message to Prof. Y instead of X.

Shit!!!

The actual names of Prof. Y and Z start with the same alphabet. So X chose Prof. Y in the phonebook by mistake. Yeah this is the problem of storing your Prof's mobile number on your cell. Well after this incident, X immediatly prefixed the names of all Prof's in his phonebook with "Z_" so that the likelihood that he sends a message to one of them by mistake is reduced immensely.


PS : No marks for guessing that X is me!!!

Sunday, September 03, 2006

VMware

I just installed VMware on my SuSE 10.1 so that I can use Windows XP also simultaneously. I must say it is a truly good software. It provides literally and entire new virtual machine. My windows installation on the virtual machine actually seems to be running faster than my native install!!!

It is a phenomenal concept. Of course now the virtualization is moving down to the hardware level where next generation processors offer virtualization technology at the basic processor level - well that is a lot different from the software virtualiazation though. In software virtualization, you provide a virtualization layer between the guest OS and host OS which runs on the actual machine. But in hardware virtualization, you will actually have 2 native OS that can run on the physical hardware.

Below are the steps that I used to get Windows XP Pro (guest OS) running on my SuSE 10.1 (Host OS). I need this post as a reference for myself if I need to reinstall it later :) These are the settings that I used and I guess would pretty much work for most systems.
  1. Install VMware Server on Linux (From RPM).
  2. run vmware-config.pl - Use all default settings. Only change the location for the Virtual Machine files if required.
  3. Run VMware.
  4. Click on Create new virtual machine - Set it to Windows XP Professional and follow steps to create the Virtual Machine drives.
  5. Insert Windows XP CD and click on "Power ON the virtual Machine". Then follow normal windows installation procedure.
  6. Shutdown the virtual machine.
  7. In VMware go to Edit->Preferences. Check the autofit guest option.
  8. Do this step if fullscreen mode does not work without doing this... gedit ~/.vmware/preferences -> Change the option pref.autoFitFullScreen from "fitGuestToHost" to "fitHostToGuest". Only then does full screen mode seem to work in higher resolutions. This is because the host OS might not support certain video modes that the guest OS uses.
  9. Now let us set up the virtual sound device. Click on Edit Virtual Machine Settings and in hardware click Add. Choose Sound adapter and follow the steps.
  10. Boot Windows XP on the Virtual Machine. It will first recognise a new sound device and install a driver for it. Dont bother if it is not the driver that for the sound card that you actually have on your PC. It only requires driver for the sound card on the virtual machine.
  11. Click on VM->Install VMware Tools. This will install it on the guest OS. After this, change resolution to anything supported by your monitor and hit Ctrl+Alt+Return. That will take you to full screen in the Guest OS.