To Be GNU/Hurd

Fri, 26 Sep 2008

new version of RPC::XML, yay

It looks like a new version of the RPC::XML Perl module that supports the 'i8' type is out. This is what was holding me back from further developing smellatorrent, because rtorrent uses 'i8' if you are running it on certain machines.

It is rather frustrating that it took so long to get fixed. In my bug report I included a working patch, admitedly missing tests and docs, but it took a request from a "high profile" client for anything to happen. Oh well, I guess downloading movies just isn't important to some people!

Sun, 06 Jul 2008

WWW-Discogs initial release

In an effort to improve my cover art tool, I have started development on a new perl module that talks to discogs.com. This lets me search the site, and get art related to artists, labels, and specific releases. The site is very comprehensive (e.g. multiple versions of albums based on release format), so I am going to have to add some methods to make searching easier.

Here is what I have so far: WWW-Discogs-0.02

Tue, 10 Jun 2008

automatic per-user multiple-site setup on apache2


<Perl>
my $basepath = '/home/';
my $vhosts = '/sites/';
my $logs = '/logs/apache2/';

opendir my $users, $basepath;
my @users = readdir $users;

for my $user (@users) {
	next if $user =~ /^\./;
	next if ! -d $basepath . $user . $vhosts;

	opendir my $sites, $basepath . $user . $vhosts;
	my @sites = readdir $sites;
	close $sites;

	for my $site ( @sites ) {
		next if $site =~ /^\./;

		push @{ $VirtualHost{ '*' } }, {
			ServerName	=> $site,
			ServerAlias	=> "www.$site",
			DocumentRoot    => $basepath . $user . $vhosts . $site,
			ErrorLog    => $basepath . $user . $logs . "$site-error.log",
			CustomLog   => $basepath . $user . $logs . "$site-access.log combined",
		};
	}
}
</Perl>

I keep this in /etc/apache/sites-enabled/usersites. Users create sites by creating a directory of the format: /home/$username/sites/$domain/htdocs/. The only problem is that apache requires a restart each time one adds a new site.

Mon, 09 Jun 2008

hellasmella 0.11 fixes broken newzbin searching

Newzbin recently switched to v3 for the default interface, thus breaking the screen scraping that was being done. Here is a new version that forces the v2 interface.

HellaSmella-0.11.tar.gz

Sat, 07 Jun 2008

hellasmella 0.10

This release will hopefully fix some small bugs people where running in to. I have also added a speed plot to the status bar. Enjoy!

Changelog

HellaSmella-0.10.tar.gz

Wed, 27 Feb 2008

hellasmella 0.09

I went ahead and put my lighttpd config in the ex/ directory. Hopefully that will help some people get this set up. I also updated the README with some more details. Here is a list of the latest changes:

I need to do a little more styling of the extended information that pops down, but I think it is time for a new release.

HellaSmella-0.09.tar.gz

Mon, 07 Jan 2008

hellasmella 0.08

HellaSmella-0.08.tar.gz

posted at: 01:05 | path: /development/hellasmella | permanent link to this entry | (2 comments)

Sat, 08 Dec 2007

hellasmella 0.07

I took some time and created a Newzbin model for HellaSmella. This makes things a little less ugly, but they also let you configure your Newzbin login info in the hellasmella.yml config file.

HellaSmella-0.07.tar.gz

I was very close to switching to WWW::Newzbin for this release. Unfortunately, after some tinkering around I realized that the file searching provided by the Newzbinx FileFind API does not let you search "reports". In the world of Newzbin, reports are the collections of files that make up a single TV show, Movie, etc. Instead of searching reports, the FileFind API only lets you search for individual files (part001.rar, part002.rar). This is fairly useless for my purposes, so it looks like I'll have to stick with screen scraping.

Here's hoping they don't shut down v2 of the site!

Sun, 28 Oct 2007

initial release of smellatorrent

Here is the first release of my catalyst rtorrent front end. Right now it is more or less a recreation of the curses frontend in HTML. I don't plan to do too much more with it apart from bug fixes and add the ability to start new torrents (through upload or URL).

I don't see any point to a "detail" view for individual torrents. What other clients display in those views is largely information that user does not need, such as number of connected clients or graphs of completed parts.

SmellaTorrent-0.01.tar.gz

Sat, 29 Sep 2007

some rtorrent debs with xmlrpc support

rtorrent-svn_20070928-1_amd64.deb
libtorrent10-svn_20070928-1_amd64.deb
libtorrent-svn-dev_20070928-1_amd64.deb

I can put source packages up if anyone wants them. It does require the libxmlrpc-c3 packages from Ubuntu Gutsy, though.

Tue, 25 Sep 2007

oops, hellasmella 0.06 fixes more stuff

I accidentally removed some redirections that happen when you pause, continue, or remove a queue item. This new version fixes that, and in a way that works with non-root path installs.

HellaSmella-0.06.tar.gz

Sat, 22 Sep 2007

beginning work on a rtorrent frontend

I recently discovered that rtorrent has a very powerful XMLRPC interface. Now that I am so used to having a nice web interface for usenet I figured I would take a stab at something similar for torrents.

Unfortunately, the rtorrent package in Debian is not built with XMLRPC support because libxmlrpc-c3 is painfully out of date. I managed to find newer versions of the library package in Unutu "gutsy", which works fine in Debian unstable. I then rebuilt the Debian package with this line added to the debian/rules file.

DEB_CONFIGURE_EXTRA_FLAGS := --with-xmlrpc-c

Once I got the new rtorrent built and installed everything went very smooth. Right now I have a page that lists the current torrents and some status info for each. It should be trivial to add some simple controls thanks to Catalyst::Model::XMLRPC.

And in case you are actually interested, here is a screenshot of my progress:

hellasmella 0.05 fixes stuff!

I put together a new release of HellaSmella this morning that includes a number of changes. Some very important!

HellaSmella-0.05.tar.tz

Sun, 19 Aug 2007

hellasmella 0.04

Here is a new version of HellaSmella. Changelog is below:

HellaSmella-0.04.tar.gz

new netflix facebook application – because the others all look like shit

I recently renewed my netflix account and was interested in what netflix facebook applications existed. It turns out that there are two up there now, but they are both hideously ugly. Each application displays a rather large cover image along with a full description for each movie in your queue. As you might imagine this takes up a lot of real estate on the page, and is more information than most people are interested in.

To remedy this problem I decided to make a smaller netflix application that only shows the covers of your queue, highlighting the movies that are currently being viewed. I got a basic version working, but I have to say that the facebook api is one of the most over-engineered pieces of shit I have ever worked with. It really shouldn't be that complicated to get a tiny piece of dynamic HTML to display on a profile. Instead they decided to reinvent javascript, SQL, and HTML.

Sat, 07 Jul 2007

hellasmella version zero point zero three

This is mostly a bug fix release. The majority of the changes are just html rendering fixes and a few javascript changes. One thing to note is that previous releases wouldn't work without a patch to Catalyst::Model::XMLRPC. This is no longer the case with the latest version of C::M::XMLRPC. Joy.

HellaSmella-0.03.tar.gz

Sun, 24 Jun 2007

here is hellasmella 0.02~

This version adds some sw8 stuff:

HellaSmella-0.02

Tue, 19 Jun 2007

Here is the initial release of HellaSmella.

Features

TODO

HellaSmella 0.01

Mon, 18 Jun 2007

hellasmella: a hellanzb web interface

So I spent some time this weekend working on a web interface for hellanzb. I was amazed at how fast it went using Catalyst with the Catalyst::Model::XMLRPC module. I got a working version finished within an hour, and spent the remaining time working on HTML/CSS stuff. Here is a screenshot with code to follow soon.

Mon, 23 Jan 2006

Irssi and gnome-terminal

I finally figured out a way to get link-highlighting to work consistantly with irssi inside gnome-terminal. The problem was that if the url ended on the far left character of the terminal, gnome-terminal would think that they link continued down to the next line. This caused gnome-terminal to append the timestamp onto a url every once in a while. To fix this I simply added a space at the beginning of the timestamp format (and after, just to be symetrical).

/set timestamp_format  %H:%M
/save

Horray!

Wed, 13 Jul 2005

New lyric annotation wiki thing

Someone on a music forum I read wanted to make an MF Doom lyric discussion site, which gave me some motivation to get back into doing some web projects. I decided to see what I could come up with.

After fiddling around with javascript to work on both IE and FF I am nearly happy with this kwiki module I came up with. The kwiki module lets you add notes to a block of text. Then when people hover over the block a popup will appear with your note in it. I hope the guy who originally asked for it finds it useful, but if not I did manage to hone my javascript skills a bit.