Resetting MySQL Passwords

I downloaded a Ubuntu 8.10 VMPlanet.net image with MySQL server, but the root password was set to something other than the standard vmplanet.net password. Logging in without a password or username didn’t give me enough permissions to set my own users and change passwords. Here is the solution for this problem (thanks Keystone [...]

Grown-up Kids

We’re all kids at heart. It’s no secret that my wife and I enjoy waving our Wiimotes at the TV, driving the Warthog through alien-infested marshlands, or jumping around in giant, inflatable castles. A while ago, we were playing various ticket-rewarding games at our local arcade — basketball, whack-a-mole, skee-ball, etc. But [...]

OS X .htaccess

For some reason, I could not get .htaccess files to work on my system for the longest time. I’ve since upgraded to Leopard, and I eventually just gave up on it (I could do that, since I’m only running a development environment).
Anyway, the solution depends on which version you’re running:
For Tiger, edit /private/etc/httpd.conf AND [...]

The Final Blow

Here is the video that killed my camera A85:

RIP my little Canon A85. You went out like a true champion.
Taken at the Prescott Rally, Prescott, AZ, October 6th, 2007.

OSX, Octave, Gnuplot

To lessen the pain, here’s a tutorial on how to install gnuplot with Octave on OS X:
http://island94.org/setting-octave-and-gnuplot-osx
[EDIT: This method may be obsolete now]

Today, I think I finally picked out my Master’s project, with the help of Dr. Michael Shafae. I will be working towards the Netflix $1 Million prize. Yeah, I am probably late given that the contest went live in 2006, but a winning solution (one that beats the Netflix current system by 10%) [...]

There is no excerpt because this is a protected post.

PHP and Internalization

I was recently tasked with supporting multiple languages in a PHP script. I found an article on about.com that was a good starting point. The author basically suggested creating associative arrays with different translations:
(P.S. I modified his code just a little to better conform to PHP 5 standards)

Đoković wins his first Grand Slam at the Australian Open by defeating the Frenchman Jo-Wilfried Tsonga in 4 sets 4-6, 6-4, 6-3, 7-6 (7-2). He was the heavy favorite to win against an unseeded Tsonga, who has blasted his way through the tournament with an upset over Rafael Nadal, reaching his first-ever Grand Slam [...]