KimDaBa’s HTML export explained

May 4th, 2006

Update: KimDaBa is now known as KPhotoAlbum.

Problem
KimDaBa's HTML export dialogKimDaBa doesn't always have the clearest interfaceKimDaBa, despite being a wonderful program, still has a few interface issues left to work on. Notably, the gallery creation tool, "HTML Export", requires quite a bit of trial-and-error before it can be used successfully. I could not find any useful documentation on the "Destination" tab's fields, so I write it here today.
Solution

The philosophy behind the KimDaBa HTML Export dialog is that you will have a series of galleries in the same folder. The "Base URL" is the publicly accessible base directory, while the "Base directory" is the location you want to store the actual files to. "URL for final destination" is the most confusing of all; it refers to the address of the main page of the gallery. I use index.html, but you can use an absolute address instead, if you want. "Output directory" is appended to the "Base URL" and "Base directory" to form the full directory path.

Enough with the philosophy, here's an example. I want to publish a set of photos, accessible at http://brainonfire.net/gallery/party/index.html. Let's say brainonfire.net runs off of my local machine, to make this easier. The server is located at /var/www, and has a directory called gallery. Here are the proper field values:

Base directory
file:///var/www/gallery
Base URL
http://brainonfire.net/gallery
URL for final destination
index.html
Output directory
party

You can publish to an ftp server as well, or over various other protocols. I won't go into that here.

Installing JamSeeder on Linux

May 1st, 2006
Problem
Jamendo.com offers a program called JamSeeder that allows users with good bandwidth to seed album torrents. Unfortunately, the info page is hidden and there is little to no documentation, though the statistics page is referenced prominently on the main page. There is also no documentation on installation or usage.
Solution
  1. Download the tool from the project page on SourceForge.
  2. Install the RPM. On Debian-type systems (like Ubuntu), use sudo alien --to-deb --install jamseeder-0.9.1-2mdv.noarch.rpm
  3. Run the program using python /usr/share/jamseeder/jamseeder-gui.py
  4. Every time you change the settings, you will need to close and re-open the program.
Notes
Since JamSeeder uses the official BitTorrent client, which does not support encryption, users behind traffic-shapers or external firewalls will not be able to seed torrents well or at all.
Resources

Download a torrent from behind a firewall

April 17th, 2006
Problem
Is your ISP practicing traffic shaping so restrictively that you can't use torrents?
Solution
Use an encryption-enabled torrent client, such as Azureus.
  1. Get Azureus from azureus.sourceforge.net. (You need to have Java installed on your machine first.)
  2. Run and configure Azureus:
    • Skip any updates, because they rely on torrents.
    • Set your proficiency level to Intermediate, so you can change the encryption settings later.
  3. Go to Tools -> Options -> Connections -> Transport Encryption, and require encryption.
  4. Under Mode, set your proficiency to Beginner. (Beginner has all the options you'll ever need as a downloader.)
  5. Restart Azureus, and let it do any updates it deems necessary.
Explanation
Encrypting the transport layer prevents your ISP from determining what kind of traffic is passing through. If it can't tell it's a torrent, it can't slow or restrict it.
Notes
If you are only trying to avoid traffic shapers, set the minimum encryption level to Plain, which only obfuscates the packet headers. If plain encryption fails, Azureus will automatically escalate to RC4, which encrypts the entire packet. If you are also trying to avoid being caught downloading commercial music or software, you should probably use RC4 as the minimum. Actually, the best way to avoid being caught pirating is to use an extension like SafePeer. Encryption won't do anything, because your IP address is still visible.
Resources