Problems using xmms on KDE

Using KDE version 3.3.2 (among other window managers) I had been using JuK for a while. I had used xmms with my Debian Sarge installation at some point, but while playing around with fvwm, had switched to JuK. Not having been diligent while ripping my CD collection to mp3, not all mp3s had proper ID3 tags on them. Nor did they necessarily have "guessable" conventions for the file names, so that JuK could figure them out.

Being a Winamp junkie on Windows, I switched back to xmms. However, when I attempted to play an mp3 through xmms, I got a pop-up that said, "Couldn't open audio" and also:

Please check that:

Your soundcard is configured properly
You have the corrent output plugin selected
No other program is blocking the soundcard

After trying various configurations for xmms, I went to the Control Center, under the KDE menu. Under "Sound & Multimedia -> Sound System" I unchecked the box marked, "Enable the Sound System." I believe this turns off sounds for window events--but I'd rather listen to music from my preferred player that have sound effects for my windows.

How to Install Sun Java on Debian
Started from:
I've added some notes about installing plugins at the bottom, but I'm not claiming credit for the installation notes, I just wanted to post them here so that I always have an easily locateable copy of the instructions in case something happens to the original information. The above link provides much more in-depth information and resources.

1) Get a SunJVM binary.

2) Install the Required Builder Package (as root)
apt-get -u install java-package

3) Create the .deb Package File (substitute the .bin file you downloaded from Sun):
(You shouldn't be root for this step.)
fakeroot make-jpkg jdk-1_5_0_06-linux-i586.bin

4) Install the Java .deb Package (as root)
dpkg -i sun-j2sdk1.5_1.5.0+update06_i386.deb

5) Check that it Works:
java -version

Should be something like the following (the key is that you have Sun's Java(TM)):
java version "1.5.0_06"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_06-b05)
Java HotSpot(TM) Client VM (build 1.5.0_06-b05, mixed mode, sharing)

Setting up resources:
1) Create a Virtual Java
ln -s /usr/lib/j2dsk1.5-sun /usr/lib/java

2) Add the Environment Variable to /etc/profile before the "umask 022" line:
export JAVA_HOME

3) Install java plugin (this example is for Firefox, 1.7 I believe)
ln -s /usr/lib/java/jre/plugin/i386/ns7/ /usr/lib/mozilla-firefox/plugins

4) Test the installation of your Java plugin.

Sound card problems on a Compaq Deskpro in Ubuntu Linux

The initial set up for both Warthog (5.04) and Breezy Badger (5.10) didn't have sound working.

sudo su
modprobe sb io=0x200 irq=5 dma=1 esstype=1869

UML: A Beginner's Guide

Fresh out of a class that covered use cases as part of its syllabus, I read this book for a deeper understanding. I found inconsistencies between the Use Case diagrams that I studied and those in this book. Read the other review on Amazon's website for more--I found that I wasn't alone in my confusion.

Caro's Book of Poker Tells

Formerly known as Caro's Book of Tells, this is a Cardoza Publishing print of the original book. Stage-by-stage photos for the tells and profitability/accuracy of reading tells are included for each tell. Photos are from the original book (1970's?), but the descriptions and "Caro's Laws of Tells" are very useful. Over 300 pages, but at least 50% of the content contains photos or MCU Poker Charts.

Caro's Fundamental Secrets of Winning Poker

I borrowed this book from the library, both because it happened to show up in a catalog search, and because I recognized him from Poker Superstars II. Format is the Who Moved My Cheese? of poker. I see it as a motivational quick-read vs. providing detailed stategy: about 10 pages for each game, large print, with 1/3 page blackboards summarizing main points. The book is short enough that there's no risk in picking it up and reading it: at 150 large print pages, it's a quick read.

The Mythical Man-Month

The classic software engineering essay collection turns 20 years old. Interesting perspectives from 1975, 1986, and 1995. "Four new chapters" Chapter 18 is a re-examination of the original 1975 essays. Some minor clarifications are brought to light by time, but most assertions still prove completely true.

remotesplit for cscope revisited

I've decided to go with a remote tactic that's slightly more reliable than my previous tactic: Name the gvim server by the contents of the $DISPLAY variable. I have side-by-side PCs with their own X-servers, so I want to send the file to the gvim server that is outputting the same place as my cscope session. I now grep the $DISPLAY out of the gvim server list, to determing whether I am going to set up a new server or use an existing one.

My remotesplit:

gvim --serverlist | grep -i "$DISPLAY" 2>/dev/null
if [ $? -ne 0 ]
   gvim --servername $DISPLAY $*
   gvim --remote-send "<ESC>:sp $CSCOPE_ROOT/$2<CR>:0<CR>:$1<CR>:-1<CR>" 2>/dev/null