Youtube bug ?

10/04/2008

I guess youtube upgraded their site sometime tonight and introduced a small bug in their system. Take a look below

Do you see the title? next to every video link ? That definitely isn’t a new feature in youtube ;) ..

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.

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.

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 :)