Youtube bug ?
10/04/2008
Murphy’s law at its best
07/04/2008
So the website goes down on my very first day of providing support for it. But whats even more interesting is the fact that it went down on the first day of vacation of the senior guy who sat next to me, trained me and used to support it.
Max open cursors exceeded
07/04/2008
You might come across this exception ORA-01000: maximum open cursors exceeded while using JDBC. This usually happens when you have too many ResultSet and Statement objects in a loop fetching thousands of rows.
To avoid this error, close every ResultSet and Statement before using it again. These are closed automatically when you close the connection but you don’t want to re-open the connection every time you iterate through the loop.
Reinstalling GRUB on Ubuntu
05/04/2008
This happens usually after you have just re-installed Windows on your PC and it decides to overwrite the MBR assuming you wouldn’t want any other OS on your PC because Windows is soo awesome.
Anyways here are the steps to reinstalling GRUB on your PC:
Use the Ubuntu Live CD and boot into Ubuntu
- Type in sudo grub at the terminal
- Type find /boot/grub/stage1. You will get something like (hd1 , 5) ..
- root (hd1,5)
- setup (hd0)
- quit
This will reinstall GRUB on your MBR
