Friday, May 14, 2010
Thursday, May 13, 2010
In general, the reason is
“The reason we need a contiguous memory region for the heap is that we have a bunch of side data structures that are indexed by (scaled) offsets from the start of the heap. For example, we track object reference updates with a "card mark array" that has one byte for each 512 bytes of heap. When we store a reference in the heap we have to mark the corresponding byte in the card mark array. We right shift the destination address of the store and use that to index the card mark array. Fun addressing arithmetic games you can't do in Java that you get to (have to :-) play in C++.
This works for removing Ubuntu OS from a dual boot system.
In general, you have to restore your MBR and reformat your Ubuntu partition
To restore your MBR:
1. Insert the Windows Setup CD into the CD or DVD tray on your computer.
2. Restart your computer.
3. Hit Enter to reboot from the Windows CD when prompted to do so.
4. Type “R” and hit Enter in Windows Setup to enter the Recovery
Console. The Recovery Console will appear and list the Windows OSs
on your machine.
5. Select the number corresponding to the Windows installation you
wish to boot into. For most people this will be a “1”. (In some
versions of the Recovery Console the installations will be
numbered. In others, you will have to deduce the installation
number from the order of priority in the list.)
6. Windows will prompt you for an Administrator password.
Try your Administrator password or, if your Administrator password does not
work, hit Enter.
7. At the Windows prompt, type “fixmbr”.
8. Type “exit” to restart the computer.
Wednesday, May 5, 2010
Monday, May 3, 2010
When you setup SSH public key authentication, you may be hit by an error saying If you are sure that your authorized_keys file at the...
In Linux environment, if you want to use command base to capture network packets, you can use the following command with TCPDUMP tcpdump ...
This is a MP4 file format notes that reference from ISO IEC 14496-12 2005 edition about Information technology — Coding of audio-visual obje...
Problem I encountered the following exception when I tried to start up Hive Exception in thread "main" java.lang.IllegalArg...