Archive for September, 2012

Recording internet radio

September 30, 2012


You are reading the old blog! This post has been moved to


I’ve previously blogged about StreamRecorder.NET, which is useful for recording internet radio shows. However, sometimes you want to actually listen to the radio while you’re recording. You’d might also want to record tracks to separate files. Since StreamRecorder.NET is a front-end for other utilities, you could conceivably find a constellation that works for these cases as well. However, existing programs provide better alternatives. Screamer Radio is very nice, as is RadioSure. However, my favorite would be a far less known program: XMPlay. It is very minimalistic and does everything I want (I especially like its global shortcuts). Funny story, before I was aware of it I started writing a radio player of my own, based on the same library XMPlay is based on (BASS). You can see the result here. Suffice to say, I’ll be sticking with XMPlay for now ūüôā

Working with the new SourceForge svn+ssh protocol in Windows

September 30, 2012


You are reading the old blog! This post has been moved to


I’ve been using TortoiseSVN and AnkhSVN for quite some time with SourceForge. Both have been working flawlessly. However, SF recently updated their SVN system to use SVN over SSH (svn+ssh) for read/write access. For TortoiseSVN, this meant entering the password on every commit. AnkhSVN simply stopped working (something about not being able to open a tunnel to the repository). The recommended, secure fix for these problems appeared to be SSH keys. However, setting up my keys did not yield consistent results. TortoiseSVN worked, but most of the time it still asked for my password, which was annoying. AnkhSVN still didn’t work (it started plink which appeared to be stuck). I also didn’t like having Pageant running in the background all the time. Luckily, I’ve found another way. It may not be as secure, since you’re storing your password in plain text, but it’s good enough for me:

  1. Download plink.exe from
  2. Place the plink.exe in your windows installation directory (%windir%)
  3. Open the following file using Notepad %APPDATA%Subversionconfig
  4. Add or Replace the following line in the [tunnels] section (replace login and pwd with your sourceforge login and password) ssh = c:windowsplink.exe -batch -l <LOGIN> -pw <PWD> (note the double backslash)
  5. Save and close the file

Note that in step 4 I wasn’t able to use environment variables, even though the comments suggested it was possible. YMMV.


I’ve found a better way to do this, without storing your password in plaintext.

  1. Download  TortoiseSVN and either install it or extract its binaries to a folder using a tool such as UniExtract.
  2. Locate TortoisePlink.exe¬†among TortoiseSVN’s binaries and set an environment variable named¬†SVN_SSH to its path, using double backslashes (for example C:UtilitiesTortoiseSVNbinTortoisePlink.exe).
  3. Open SVN’s configuration file with your favorite text editor:¬†%APPDATA%Subversionconfig
  4. If you already modified your [tunnels] section as described above, revert it to: ssh = $SVN_SSH ssh
  5. Save and close the file

Note that I only tested this with the command-line client, so for AnkhSVN you may need to replace $SVN_SSH with the actual path of TortoisePlink.exe in the SVN config file (again with double backslashes). In that case, you can skip the creation of the environment variable altogether.

WinRABCDAsm – Flash ABC (ActionScript Bytecode) disassembly and reassembly made easy

September 30, 2012


You are reading the old blog! This post has been moved to


RABCDAsm is an excellent collection of utilities for assembling and disassembling actionscript 3 flash (SWF) files. Since using it requires a bit of work in the command line, and I’m very lazy, I’ve created a GUI front-end for it: WinRABCDasm. Once you enter your RABCDasm path in the settings window, the workflow is very easy:

  1. Drag the SWF file to WinRABCDasm to disassemble it.
  2. Navigate the disassembly tree and find the file you wish to modify.
  3. Double click to open it in your favorite editor, and make your changes (for syntax highlighting use asasm.hrc in Eclipse)
  4. Repeat steps 2-3 for all the files you wish to modify.
  5. Hit Reassemble (alt+R) to rebuild the SWF file. Backup your original SWF file before this step as it will overwrite it!