<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Zero_Dogg's blog &#187; perl</title>
	<atom:link href="http://blog.zerodogg.org/category/programming-languages/perl/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.zerodogg.org</link>
	<description>Geeky comments on geeky things</description>
	<lastBuildDate>Mon, 27 Sep 2010 16:37:41 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=abc</generator>
		<item>
		<title>SWEC 0.4</title>
		<link>http://blog.zerodogg.org/2009/10/15/swec-0-4/</link>
		<comments>http://blog.zerodogg.org/2009/10/15/swec-0-4/#comments</comments>
		<pubDate>Thu, 15 Oct 2009 16:21:01 +0000</pubDate>
		<dc:creator>Zero_Dogg</dc:creator>
				<category><![CDATA[perl]]></category>
		<category><![CDATA[SWEC]]></category>

		<guid isPermaLink="false">http://blog.zerodogg.org/?p=160</guid>
		<description><![CDATA[About two weeks back I released SWEC version 0.4. The largest new thing in this release is an updated file format for writing test definitions. Thew new format is a lot more flexible, and will also allow me to extend its syntax with more capabilities more easily later on. It can still read the old [...]]]></description>
			<content:encoded><![CDATA[<p>About two weeks back I released <a href="http://random.zerodogg.org/swec/">SWEC version 0.4</a>. The largest new thing in this release is an updated file format for writing test definitions.  Thew new format is a lot more flexible, and will also allow me to extend its syntax with more capabilities more easily later on. It can still read the old file format, and I&#8217;ll keep the compat code in there until SWEC 0.6 &#8211; so people have time to update their files (only minor changes are needed to update them to the new file format, should only take a couple of minutes).</p>
<p>Other than that I extended the command-line parser, so you can now say &#8220;<code>swec example.com -s /test.html</code>&#8221; where you would previously have had to do &#8220;<code>swec --baseurl example.com -s /test.html</code>&#8220;. Other than that it&#8217;s mostly a bunch of cleanups, some refactoring and a few minor bugfixes, in addition to a new test suite so the thing can be properly sanity-checked before release.</p>
<p>If you need to sanity check dynamic websites, give <a href="http://random.zerodogg.org/swec/">SWEC</a> a go.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.zerodogg.org/2009/10/15/swec-0-4/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Music sorting 0.2</title>
		<link>http://blog.zerodogg.org/2009/08/14/music-sorting-0-2/</link>
		<comments>http://blog.zerodogg.org/2009/08/14/music-sorting-0-2/#comments</comments>
		<pubDate>Fri, 14 Aug 2009 19:00:49 +0000</pubDate>
		<dc:creator>Zero_Dogg</dc:creator>
				<category><![CDATA[mussort]]></category>
		<category><![CDATA[perl]]></category>

		<guid isPermaLink="false">http://blog.zerodogg.org/?p=131</guid>
		<description><![CDATA[Last week I released mussort version 0.2. This release is a huge update from version 0.1 that I released back in early 2008. mussort is a simple command-line music sorting program. It recursively processes a directory tree, and then sorts whatever music files it finds there, renaming the files and putting them in a nice [...]]]></description>
			<content:encoded><![CDATA[<p>Last week I released <a href="http://random.zerodogg.org/mussort">mussort</a> version 0.2. This release is a huge update from version 0.1 that I released back in early 2008.</p>
<p>mussort is a simple command-line music sorting program. It recursively processes a directory tree, and then sorts whatever music files it finds there, renaming the files and putting them in a nice directory tree.</p>
<p>0.2 added a load of features designed to make mussort faster. It introduced optional caching of file tags, which has a <b>major</b> impact on the performance on subsequent runs on a directory tree. I optimized away an insane amount of readdir() calls that it kept doing over and over, even though nothing had actually changed since the last readdir(). It also only supported <i>id3info</i> and <i>ogginfo</i> as sources for information, which is problematic because ogginfo is very very slow at times. So in 0.2 it can use the <i>Audio::File</i> perl module if it is available. It provides redundancy (should Audio::File fail for an ogg file, it falls back to ogginfo, should id3info fail for an mp3 file it tries Audio::File) and a large speed increase for ogg vorbis files. It can also use <i>id3v2</i> if it is available. Because of the caching however, even without Audio::File, any subsequent runs on ogg vorbis files will be a lot faster.</p>
<p>When it comes to actual features, the largest one is support for detection of compilation albums. It will locate an album that contains a lot of different artists and then put those into a single directory named after the album, rather than put them into separate artist/album dirs. For those that don&#8217;t want that, it is important to note that the feature is optional and must be explicitly requested (like case-insensitive sorting). </p>
<p>Other than that there&#8217;s a bunch of code cleanups, along with minor additions, such as selectable verbosity (&#8211;verbose, &#8211;quiet) and the option to keep all duplicate files around (&#8211;keepdupes). mussort is also now <a href="http://github.com/zerodogg/swec">hosted on github</a>, so if you are interested, fork the repository and let&#8217;s see what cool stuff you can come up with! Remember to prod me with a pull request so that any nice things you do get included upstream.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.zerodogg.org/2009/08/14/music-sorting-0-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SWEC future plans</title>
		<link>http://blog.zerodogg.org/2009/02/09/swec-future-plans/</link>
		<comments>http://blog.zerodogg.org/2009/02/09/swec-future-plans/#comments</comments>
		<pubDate>Mon, 09 Feb 2009 21:06:33 +0000</pubDate>
		<dc:creator>Zero_Dogg</dc:creator>
				<category><![CDATA[perl]]></category>
		<category><![CDATA[SWEC]]></category>
		<category><![CDATA[Web development]]></category>

		<guid isPermaLink="false">http://blog.zerodogg.org/?p=108</guid>
		<description><![CDATA[I&#8217;ve got some plans for SWEC in the future. One of its primary limitations at the time is that it can&#8217;t really do advanced tests using things like POST or specific pattern matching. So I&#8217;m planning a simple command-based file format where you can define advanced checks for sites, to compliment the already existing fully-automated [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve got some plans for <a href="http://random.zerodogg.org/swec">SWEC</a> in the future. One of its primary limitations at the time is that it can&#8217;t really do advanced tests using things like POST or specific pattern matching. So I&#8217;m planning a simple command-based file format where you can define advanced checks for sites, to compliment the already existing fully-automated checks.</p>
<p>The basic syntax will be something like this (any input is welcome):<br />
<code><br />
URL http://...<br />
GET<br />
MATCH /regex/ or STRING<br />
RUN_CHECKS</p>
<p>URL http://<br />
POST 'SOME_POSTDATA'<br />
MATCH /regex/ or STRING<br />
[My regex] MATCH /regex/<br />
[String equality] MATCH STRING<br />
RUN_CHECKS</p>
<p>RUN_MAIN<br />
</code></p>
<p>Here any URL statement defines a new check, where all previous data is dropped. Each section can have a <i>POST</i> or <i>GET</i> statement, and then any number of <i>MATCH</i> statements, as well as a <i>RUN_CHECKS</i> statement. If any <i>MATCH</i> statement fails (ie. the regex doesn&#8217;t match, or the result isn&#8217;t equal to <i>STRING</i>) then it will skip the remaining tests and skip ahead to the next <i>URL</i> or <i>RUN_MAIN</i> statement.</p>
<p><i>MATCH</i> is obvious, it runs a test on the entire content to see if it matches a regex, or equals a string.<br />
<i>RUN_CHECKS</i> would start the standard (SDF-based) SWEC checks on the returned data.<br />
<i>RUN_MAIN</i> would start the main SWEC mode<br />
<i>[SOMETHING] MATCH</i> would create a named match, so the content within [ ] would be the returned error if it doesn&#8217;t match, instead of something generic like &#8220;failed to match /regex/&#8221;.</p>
<p>Other commands I&#8217;ve thought of that I might or might not want to do include one to clean the cookiejar, so that tests can be performed on how a page acts when cookies are missing, and a way to add custom skip filters based upon for instance the URL.</p>
<p>THese are just random ideas and plans that I&#8217;ve got at the moment, I haven&#8217;t begone coding it yet, but it&#8217;s definetely something I&#8217;m going to do at some point. I&#8217;ll welcome any input if you have any.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.zerodogg.org/2009/02/09/swec-future-plans/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Simply checking my web</title>
		<link>http://blog.zerodogg.org/2009/02/02/simply-checking-my-web/</link>
		<comments>http://blog.zerodogg.org/2009/02/02/simply-checking-my-web/#comments</comments>
		<pubDate>Mon, 02 Feb 2009 10:31:57 +0000</pubDate>
		<dc:creator>Zero_Dogg</dc:creator>
				<category><![CDATA[GNU/Linux]]></category>
		<category><![CDATA[perl]]></category>
		<category><![CDATA[SWEC]]></category>
		<category><![CDATA[Web development]]></category>
		<category><![CDATA[automated testing]]></category>
		<category><![CDATA[catalyst]]></category>
		<category><![CDATA[html]]></category>

		<guid isPermaLink="false">http://blog.zerodogg.org/?p=101</guid>
		<description><![CDATA[I&#8217;ve been doing some web development lately, and the old question of testing has of course come up (and some might say, of course I had to roll my own solution). I wanted a simple way to sanity check a site, to ensure that my article changes didn&#8217;t suddenly break comments on images (lagacy apps [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been doing some web development lately, and the old question of testing has of course come up (and some might say, of course I had to roll my own solution).</p>
<p>I wanted a simple way to sanity check a site, to ensure that my article changes didn&#8217;t suddenly break comments on images (lagacy apps are strange beasts). So I ended up writing <a href="http://random.zerodogg.org/swec">SWEC, the simple web error checker</a>. It&#8217;s a basic app that goes through all links in a site (or &#8220;webapp&#8221;) as long as those are present in the HTML (ie. it doesn&#8217;t run any JS, so its use in JS/AJAX/AJAJ-heavy webapps can be somewhat limited). It parses all pages it downloads, looking for known errors and then reports those. For instance, if you run it on a site based on Catalyst (perl) and catalyst crashes with its standard backtrace, SWEC will return which page it happened on, which page referenced it and a quick line about what happened. Ie. if it&#8217;s an exception it&#8217;ll say &#8220;Exception in Catalyst controller&#8221;.</p>
<p>It uses a very simple file format for writing tests (which is well documented in SWEC&#8217;s manpage). It has several different types of tests, but the most common one looks something like this:<br />
<code>[SWEC_CATALYST_CONTROLLER_EXCEPTION]<br />
type = regexs<br />
check = Caught exception in.*Controller.*Request.*Catalyst<br />
error = Exception in Catalyst controller<br />
sortindex = 11</code><br />
What&#8217;s between the brackets [ ] is the name of the test. All tests that are shiped with SWEC are prefixed with SWEC_.<br />
The type defines which &#8220;type&#8221; of test it is. This one is &#8220;regexs&#8221; which is a &#8216;smart&#8217; regex, a standard perl regex that swec modifies during runtime to easier match HTML. The check is in this case a normal perl regex that is applied to the entire html document. As the type is regexs, swec will modify the regex to this during runtime: <code>Caught(\\s+|&amp;nbsp;|&lt;[^&gt;]+&gt;)+exception(\\s+|&amp;nbsp;|&lt;[^&gt;]+&gt;)+in.*Request.*Catalyst</code></p>
<p>The error is the string that will be returned, and the sortindex is used for prioritizing tests, the lower the better (bundled tests will always be positive, so one only needs to give tests a negative index to ensure they will be run before bundled ones).</p>
<p>By default the bundled tests (<code>default.sdf</code>) and the user-specific rc file <code>~/.swecrc</code> will be loaded. The user-specific one can disable bundled ones easily, and you can disable them on the command line on an individual basis.</p>
<p>SWEC supports sessions, where SWEC remembers previously checked URLs, and previous errors and can then either check pages that used to have errors before the others, or only report &#8216;new&#8217; errors that did not exist before. This will also remember all settings that you set so you don&#8217;t have to type it every time (although it&#8217;ll allow you to do that as well). It has cookie support so it will run just fine as a logged-in user, though you probably don&#8217;t want to run it on a live database, but rather a test one, as it&#8217;ll click on any link it sees (with a few exceptions, it tries to avoid &#8216;logout&#8217; and &#8216;delete&#8217; links, additions to the exceptions list is welcome).</p>
<p>It&#8217;s GPLv3, so feel free to hack your own things into it. I&#8217;ll accept patches for the app itself, as well as new tests to be bundled. As long as they are either specific to a language, web server or framework, I&#8217;ll happily add more bundled checks (or fixes to existing ones), however I will try to avoid app-specific checks as that might just get a bit too much.</p>
<p>Happy hacking</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.zerodogg.org/2009/02/02/simply-checking-my-web/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Day Planner 0.9, and looking forward</title>
		<link>http://blog.zerodogg.org/2008/05/03/day-planner-09-and-looking-forward/</link>
		<comments>http://blog.zerodogg.org/2008/05/03/day-planner-09-and-looking-forward/#comments</comments>
		<pubDate>Sat, 03 May 2008 14:20:09 +0000</pubDate>
		<dc:creator>Zero_Dogg</dc:creator>
				<category><![CDATA[Day Planner]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[GNOME]]></category>
		<category><![CDATA[GNU/Linux]]></category>
		<category><![CDATA[gtk2]]></category>
		<category><![CDATA[Maemo]]></category>
		<category><![CDATA[Mandriva]]></category>
		<category><![CDATA[perl]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://blog.zerodogg.org/2008/05/03/day-planner-09-and-looking-forward/</guid>
		<description><![CDATA[Day Planner 0.9 has been released. It is available for download as a Mandriva RPM, Ubuntu deb, Debian deb, generic installer and source tarball. The release focused primarily on fixes and cleanups. A bunch of minor bugs were fixed, and I rewrote most of the iCalendar back-end. It should be faster now and preserves files [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.day-planner.org">Day Planner</a> 0.9 has been released. It is available for download as a <a href="http://www.day-planner.org/index.php/download/mandriva">Mandriva RPM</a>, <a href="http://www.day-planner.org/index.php/download/ubuntu">Ubuntu deb</a>, <a href="http://www.day-planner.org/index.php/download/debian">Debian deb</a>, <a href="http://www.day-planner.org/index.php/download/gnulinux">generic installer</a> and <a href="http://www.day-planner.org/index.php/download/source">source tarball</a>.</p>
<p>The release focused primarily on fixes and cleanups. A bunch of minor bugs were fixed, and I rewrote most of the iCalendar back-end. It should be faster now and preserves files better than it used to.</p>
<p>This release includes a dummy maemo interface. It can currently fully display a Day Planner calendar, and has a UI quite similar to the desktop edition. However, it can not edit or add any events, and is as such not as useful as it might have been. The plan is for the maemo port to be ready for 0.11.</p>
<p>0.10 will (among other things) feature a new HTML exporting module (which has been in the works for quite a while), a cleaner, object-oriented version of the add/edit event windows (to simplify their use and maintainance. The current code that handles it is a bit ugly).</p>
<p>The major user-facing change will be the addition of a GUI for calendar subscriptions. 0.9 includes support for them (though it isn&#8217;t really announced because the feature isn&#8217;t ready), but one has to manually edit the config file.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.zerodogg.org/2008/05/03/day-planner-09-and-looking-forward/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Automated Day Planner development snapshots</title>
		<link>http://blog.zerodogg.org/2008/04/25/automated-day-planner-development-snapshots/</link>
		<comments>http://blog.zerodogg.org/2008/04/25/automated-day-planner-development-snapshots/#comments</comments>
		<pubDate>Fri, 25 Apr 2008 11:20:12 +0000</pubDate>
		<dc:creator>Zero_Dogg</dc:creator>
				<category><![CDATA[Day Planner]]></category>
		<category><![CDATA[GNOME]]></category>
		<category><![CDATA[GNU/Linux]]></category>
		<category><![CDATA[gtk2]]></category>
		<category><![CDATA[perl]]></category>
		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://blog.zerodogg.org/2008/04/25/automated-day-planner-development-snapshots/</guid>
		<description><![CDATA[I&#8217;ve added automatic development snapshots of Day Planner to the Day Planner homepage. There are currently three different branches (trunk, next stable, current stable) being built, in two flavours (tarball and installer). The snapshots are updated twice each day and are available at http://www.day-planner.org/index.php/download/snapshot. Feel free to take them for a spin.]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve added automatic development snapshots of Day Planner to the <a href="http://www.day-planner.org/">Day Planner</a> homepage. There are currently three different branches (trunk, next stable, current stable) being built, in two flavours (tarball and installer). The snapshots are updated twice each day and are available at <a href="http://www.day-planner.org/index.php/download/snapshot">http://www.day-planner.org/index.php/download/snapshot</a>. Feel free to take them for a spin.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.zerodogg.org/2008/04/25/automated-day-planner-development-snapshots/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Day Planner&#8217;s second anniversary (and a development snapshot)</title>
		<link>http://blog.zerodogg.org/2008/04/19/day-planners-second-anniversary-and-a-development-snapshot/</link>
		<comments>http://blog.zerodogg.org/2008/04/19/day-planners-second-anniversary-and-a-development-snapshot/#comments</comments>
		<pubDate>Sat, 19 Apr 2008 16:33:07 +0000</pubDate>
		<dc:creator>Zero_Dogg</dc:creator>
				<category><![CDATA[Day Planner]]></category>
		<category><![CDATA[GNOME]]></category>
		<category><![CDATA[GNU/Linux]]></category>
		<category><![CDATA[Maemo]]></category>
		<category><![CDATA[perl]]></category>

		<guid isPermaLink="false">http://blog.zerodogg.org/2008/04/19/day-planners-second-anniversary-and-a-development-snapshot/</guid>
		<description><![CDATA[Today is the second anniversary of the Day Planner project. So hurray for Day Planner, and here&#8217;s to all the great releases to come. In other related news, I&#8217;ve just released a development snapshot of Day Planner 0.9. It is available at http://www.day-planner.org/index.php/download/devsnapshot. It contains all of the developed features for 0.9 (including the unfinished [...]]]></description>
			<content:encoded><![CDATA[<p>Today is the second anniversary of the <a href="http://www.day-planner.org/">Day Planner</a> project. So hurray for Day Planner, and here&#8217;s to all the great releases to come.</p>
<p>In other related news, I&#8217;ve just released a development snapshot of Day Planner 0.9.<br />
It is available at <a href="http://www.day-planner.org/index.php/download/devsnapshot">http://www.day-planner.org/index.php/download/devsnapshot</a>. It contains all of the developed features for 0.9 (including the unfinished maemo port), but is not yet stable enough to be labelled stable, so If you&#8217;ve got time and feel like it, give it a spin and report any bugs you find. The whole iCalendar back-end has been almost completely re-written for this version, which is why I want some additional testing before I release a stable version.</p>
<p><i>Please do not package this release or submit it to news sites, it&#8217;s just a svn snapshot.</i></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.zerodogg.org/2008/04/19/day-planners-second-anniversary-and-a-development-snapshot/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>A bunch of new stuff</title>
		<link>http://blog.zerodogg.org/2008/03/19/a-bunch-of-new-stuff/</link>
		<comments>http://blog.zerodogg.org/2008/03/19/a-bunch-of-new-stuff/#comments</comments>
		<pubDate>Wed, 19 Mar 2008 01:32:32 +0000</pubDate>
		<dc:creator>Zero_Dogg</dc:creator>
				<category><![CDATA[perl]]></category>
		<category><![CDATA[Projects]]></category>
		<category><![CDATA[python]]></category>
		<category><![CDATA[Random]]></category>
		<category><![CDATA[SkoleLinux]]></category>

		<guid isPermaLink="false">http://blog.zerodogg.org/2008/03/19/a-bunch-of-new-stuff/</guid>
		<description><![CDATA[I&#8217;ve finally taken the time to prepare a website for all the various programs and scripts I&#8217;ve got in use here that the world might also find some use for. The address, right now, is http://random.zerodogg.org, though once I find some more imaginative name I&#8217;ll probably move it, but for now it&#8217;s random. Everything mentioned [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve finally taken the time to prepare a website for all the various programs and scripts I&#8217;ve got in use here that the world might also find some use for. The address, right now, is <a href="http://random.zerodogg.org">http://<b>random</b>.zerodogg.org</a>, though once I find some more imaginative name I&#8217;ll probably move it, but for now it&#8217;s <i>random</i>.<br />
Everything mentioned is either GPLv3 (most of it) or GPLv2 (some of it).</p>
<p>I&#8217;ll write a quick word on the various new projects, and note those that I have moved from older websites to random.</p>
<p><i>New stuff:</i></p>
<p><b><a href="http://random.zerodogg.org/audioutils">Audio Utils</a></b><br />
This is just a collection of scripts I&#8217;ve had in use (and had uploaded for the world to download previoulsy, but never together nor on a proper website) that assists in various audio-related tasks. These are:<br />
aac2ogg &#8211; a quick and dirty aac to ogg converter, using mplayer, faad and oggenc<br />
wma2ogg &#8211; the same for wma, using mplayer and oggenc<br />
reencode &#8211; a quick and dirty bash script that lets you re-encode an mp3 file to another bitrate. Useful for clearing up space on &#8220;mp3 players&#8221;, especially if you&#8217;re into audio-books, which can often have their bitrates drastically reduced and still be in a fairly decent quality.</p>
<p><b><a href="http://random.zerodogg.org/grandomwallpaper">GRandomWallpaper</a></b><br />
This is a wallpaper randomizer for GNOME/Nautilus. It takes a list of wallpapers (a directory) and selects a random one. This can be done on a timer, or just once. It keeps a hitlist for how many times a wallpaper has been shown, and is more likely to pick those that have not been shown as often. It also lets you ban wallpapers, which will cause it to always ignore the wallpaper in question.</p>
<p><b><a href="http://random.zerodogg.org/latexb">LatexB</a></b><br />
This is a quick script that assists in building LaTeX files. It can call latex or pdflatex, automatically spawn xdvi(k) or evince after building, and detect bibtex. It&#8217;s merely a utility script so that I can do &#8220;latexb file.tex&#8221; to build the LaTeX file properly in one go (it calls latex multiple times to ensure that everything is referenced properly).</p>
<p><b><a href="http://random.zerodogg.org/monitorgrowth">MonitorGrowth</a></b><br />
This is a simple perl program that lets you monitor how fast a file is growing, displays information similar to that of download utilities like wget.</p>
<p><b><a href="http://random.zerodogg.org/mussort">mussort</a></b><br />
This program sorts your music collection. It puts them into nice directories (artist/album) and renames the files, so that everything is consistent. It can also let you delete dupes. It works on MP3, and OGG Vorbis-files.</p>
<p><b><a href="http://random.zerodogg.org/spgal">SPGal</a></b><br />
This is my first python project. It builds a static XHTML-gallery from a set of images. It can work as a drop-in replacement of iGal and jGal.</p>
<p><i>Old stuff, new website:</i></p>
<p><b><a href="http://random.zerodogg.org/magicpo">MagicPO</a></b><br />
This is a program that helps you translate PO-files from one similar language to another. Right now it can do automatic translation of for instance Norwegian Bokm&aring;l to Norwegian Nynorsk (you only have to read through them afterwards).</p>
<p><b><a href="http://random.zerodogg.org/pdftopng">PDFtoPNG</a></b><br />
This is a quick program that lets you convert PDFs into a set of PNG files. It can also build HTML-files to go with the PNGs, for easy reading in a browser.</p>
<p><b><a href="http://random.zerodogg.org/slx-dict">SLX-Dict</a></b><br />
This is a simple command-line program that lets you look up words in the Norwegian <a href="http://i18n.skolelinux.no/nb/Fellesordl.eng-no.html">computer translation dictionary</a>. It&#8217;s useful if you don&#8217;t want to open firefox and search for words there all the time.</p>
<p><b><a href="http://random.zerodogg.org/sshman">SSHMan</a></b><br />
SSHMan is a simple ssh agent helper, along the lines of keychain. It does persistant management of ssh agents, will only ever prompt you for adding keys to the agent once, does not slow down logging into X and does not start when you&#8217;re logging in via ssh.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.zerodogg.org/2008/03/19/a-bunch-of-new-stuff/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Day Planner maemo port under way</title>
		<link>http://blog.zerodogg.org/2008/02/14/day-planner-maemo-port-under-way/</link>
		<comments>http://blog.zerodogg.org/2008/02/14/day-planner-maemo-port-under-way/#comments</comments>
		<pubDate>Thu, 14 Feb 2008 19:30:11 +0000</pubDate>
		<dc:creator>Zero_Dogg</dc:creator>
				<category><![CDATA[Day Planner]]></category>
		<category><![CDATA[gtk2]]></category>
		<category><![CDATA[Maemo]]></category>
		<category><![CDATA[perl]]></category>
		<category><![CDATA[python]]></category>
		<category><![CDATA[pygtk]]></category>

		<guid isPermaLink="false">http://blog.zerodogg.org/2008/02/14/day-planner-maemo-port-under-way/</guid>
		<description><![CDATA[Okay, I gave up on the point of getting the perl bindings for gtk2 going. It was just too much work, and would not only require getting the gtk2 bindings going, but also writing bindings for hildon, the maemo-specific stuff. So I went to plan B, which was to reimplement a maemo-specific GUI in python [...]]]></description>
			<content:encoded><![CDATA[<p>Okay, I gave up on the point of getting the perl bindings for gtk2 going.<br />
It was just too much work, and would not only require getting the gtk2 bindings going, but also writing bindings for hildon, the maemo-specific stuff.</p>
<p>So I went to plan B, which was to reimplement a maemo-specific GUI in python that just talks to a perl back-end which takes care of all of the actual data processing. This is now well under way. A working prototype of the GUI in python is now in SVN, it can read and display calendar data, but has no edit capabilities yet. The back-end portion is just about finished, it is a mixture of code from the dayplanner perl client and the dayplanner-daemon, what&#8217;s missing there is more configuration file handling (which can&#8217;t be done yet, because I&#8217;m not quite sure what config options the maemo UI actually needs) and synchronization code.</p>
<p>This has helped make Day Planner even more modular. I split out some code that is useful elsewhere into a DP::CoreModules module. That module now has code that for instance handles the configuration files, parses date strings, creates config dirs, runtime module loading, summary string wrappers and localtime() wrappers. All code that can be shared (and doesn&#8217;t merit having their own module) will be put there.</p>
<p>I expect the maemo port to have initial editing capabilities within 1-2 weeks, depending on my workload.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.zerodogg.org/2008/02/14/day-planner-maemo-port-under-way/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>N810!</title>
		<link>http://blog.zerodogg.org/2008/02/05/n810/</link>
		<comments>http://blog.zerodogg.org/2008/02/05/n810/#comments</comments>
		<pubDate>Tue, 05 Feb 2008 18:00:53 +0000</pubDate>
		<dc:creator>Zero_Dogg</dc:creator>
				<category><![CDATA[Day Planner]]></category>
		<category><![CDATA[GNU/Linux]]></category>
		<category><![CDATA[Maemo]]></category>
		<category><![CDATA[perl]]></category>
		<category><![CDATA[gtk2]]></category>

		<guid isPermaLink="false">http://blog.zerodogg.org/2008/02/05/n810/</guid>
		<description><![CDATA[It&#8217;s finally here, and I&#8217;m loving it so far :). Tried some basic stuff, installed ssh+scp and tried ScummVM on it. All running nicely. Now I&#8217;m about to move to the hard part, getting Day Planner actually ported to the thing. The gtk2 perl bindings still don&#8217;t have a maemo port. I&#8217;m going to have [...]]]></description>
			<content:encoded><![CDATA[<p>It&#8217;s finally here, and I&#8217;m loving it so far :).<br />
Tried some basic stuff, installed ssh+scp and tried <a href="http://www.scummvm.org/">ScummVM</a> on it. All running nicely.<br />
Now I&#8217;m about to move to the hard part, getting Day Planner actually ported to the thing.</p>
<p>The gtk2 perl bindings still don&#8217;t have a maemo port. I&#8217;m going to have a go at those first to see if I can get them running half-decently without too much work, if not I&#8217;ll have to look at other more dirty hacks. Though if I can get the bindings themselves running that would be much better and would make the port a lot easier to maintain. Here&#8217;s hoping!</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.zerodogg.org/2008/02/05/n810/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

