Friday, May 23, 2008

Why C Programming Skills Are Important

I think this quote is awesome, but the whole post is worth a read for anyone thinking about learning C.

"A lousy developer who happens to know C is simply better equipped to hurt himself or somebody nearby."

C and Morse Code

Thursday, May 22, 2008

Firefox Hates YouTube

For the past while, Firefox on my machine at work, as well as both of my machines at home, refuses to play any more than 2 seconds worth of video on YouTube. It doesn't matter whether I'm actually on YouTube, or trying to play an embedded video, the result is the same: Video starts and then stops at 2 seconds. In the mean time, the cache indicator is marching across the screen, so you know that the video is streaming from YouTube, but the Flash player is frozen.

I tried many different fixes like clearing Firefox's cache, disabling and removing the Real Player add-in. No luck, until today.

Seems that QuickTime has some sort of hook into Firefox to allow itself to start playing videos as soon as a network connection is made, rather than spooling a small amount before playing.
I followed these instructions, and it now appears as though Firefox and YouTube play well together again.

  1. Start Menu > Programs > QuickTime > QuickTime Player
  2. Edit > Preferences > QuickTime Preferences > Streaming
  3. Look at the second box where it says Enable Instant-On and remove the check mark from this box.
  4. Click Apply and then OK.
  5. Restart Firefox
I need my YouTube...