TrueHoop's Stat Geek Smackdown 2009

With reference to this event, I’ve decided to take my own shot at predicting the outcome of the 2009 NBA Playoffs. 5 points are awarded for correctly picking the winner, with an additional 2 for correctly picking the number of games played. First Round (27) LAL-UTA (LAL in 5) (7 points, LAL won 4-1) DEN-NOH (NOH in 7) (0 points, DEN won 4-1) DAL-SAS (DAL in 6) (5 points, DAL won 4-1) HOU-POR (POR in 6) (0 points, HOU won 4-2) CLE-DET (CLE in 5) (5 points, CLE won 4-0) BOS-CHI (BOS in 6) (5 points, BOS won 4-3) ORL-PHI (ORL in 5) (5 points, ORL won 4-2) ATL-MIA (MIA in 6) (0 points, ATL won 4-3) I picked Miami (Dwayne Wade), New Orleans (Chris Paul), Portland (Brandon Roy) over the Hawks, Nuggets and Rockets respectively.

NBA game recaps, not game info!

With reference to this post, I decided to write my first Greasemonkey script. I don’t subscribe to cable TV, so I get my sports news fix mostly by reading. Now that the NBA playoffs are in progress, I use NBA.com on a daily basis to read recaps like this one. I’m upset enough that the Lakers – one of the eight teams I’m rooting for – lost, without having to right-click “Game Scoreboard”, copy the link, and replace “gameinfo.

Java plugin (Firefox) on MEPIS

I found this link useful. It helped me to get Java running in Firefox. The instructions are a bit outdated, so I’m reposting. First we need Java: apt-get install sun-java6-plugin Go to the Firefox “plugins” folder, and rename for the existing (not working!) plugin with a .bak file extension (or whatever you prefer), then create a symlink like so: cd /usr/lib/firefox/plugins mv libjavaplugin.so libjavaplugin.so.bak ln -s /usr/lib/jvm/java-6-sun-1.6.0.12/jre/plugin/i386/ns7/libjavaplugin_oji.so libjavaplugin.so You’ll also need to restart Firefox for the changes to take effect.

OCI_COMMIT_ON_SUCCESS

I received the following error in my CodeIgniter web application today: Notice: Use of undefined constant OCI_COMMIT_ON_SUCCESS - assumed ‘OCI_COMMIT_ON_SUCCESS’ in … It turns out that, on MEPIS at least, the packages bc, libaio, even having compiled support for OCI8. Adding those packages, restarting the web server and the error should go away.

MEPIS 8 and Fujitsu Lifebook S7110

Previously, I wrote that MEPIS worked (sound, wired networking, wireless networking) out of the box on my IBM R52. FYI, the wireless card is the Intel PRO/Wireless 2200BG. I’d also previously detailed instructions on Debian “Etch”. What I didn’t state was that I would encounter issues where wlassistant would complain about being unable to get an IP address whilst connected to a standard WEP SSID. However if it alone, it’d mysteriously work later on.

Oracle and PHP5 in Debian-like systems

This post helped me install Oracle XE on my developer machine successfully! It worked for my Debian Lenny system previously, and I’ve personally verified it to work with MEPIS 8.0, Ubuntu 9.04 and Linux Mint 7, Linux Mint 8 and Xubuntu 10.04. Oracle Express Edition (XE) This step is optional if you already have an Oracle server to use, but in my experience, it’s far better to have one setup locally.