wesley tanaka


fvwm fedora package


There seems to be an FVWM package for fedora now, yay!

China Telecom Ads


the frameset ads are back

run java class, jar, applet files with binfmt


I remember running class files directly from the command line a long time ago when binfmt_misc first came out. There's an RPM containing the setup files necessary to make class files and jar files executable, and I've patched it to build in Fedora with recent versions of RPM.



Social Network Friend Spam


Both bebo and LinkedIn have little notes when you invite people to be your "friend" telling you to only invite people that are actually friends or that you actually know. LinkedIn even has a punishment for inviting people that you don't know:

recipients can indicate that they don’t know you. If they do, you’ll be asked to enter an email address with each future invitation.

Getting java sound to use ALSA default device


Using Java's javax.sound package to play audio seems to do something that prevents other applications from playing sound with ALSA at the same time. My sound card doesn't do hardware mixing, so I assume that ALSA's dmix is used by default, and Java is using a hw device directly instead of ALSA's default device.

I searched for a while, but couldn't find a solution.

Getting java sound to use OSS and running java inside aoss seems to workaround the problem.

Including Drupal from a stand-alone PHP file


It's been a while since I've wanted to use stand-alone PHP files and call drupal from those files. There are two cleaner ways to do such a thing:

tsocks and torify on fedora 7


The dries fc6 tsocks rpm still installs in Fedora 7. torify is a trivial shell script that gets generated if you compile tor yourself, but doesn't seem to be included in the tor rpms. The bulk of the work is done in a file called tor-tsocks.conf which you can create for yourself:

server =
server_port = 9050
local =
local =

Cash Register


While I was waiting in line to buy some stuff today, the cash register crashed while trying to open the drawer to make change for the person in front of me.  After a few minutes, they decided to reboot the machine, at which point I saw it had 256MB of memory and was running linux (it had the frame-buffer boot screen with the penguin at the top).  The first time it tried to boot, it crashed and rebooted while trying to run fsck.  Strangely, the second time it booted just fine.  The POS software started up exactly where it had died, and kicked out the drawer.

Online Games in Chinese (bluedj)


After a somewhat painful search (it's still very, very difficult for me to navigate around chinese web pages), I found some software that allows you to play 斗地主 (dou dizhu, aka the landlord game, aka the original variant of rich man, poor man/asshole/president/etc) against other people online in linux.

Syndicate content
by Wesley Tanaka