Software


Gnomefiles just pointed me to a small python script that will generate a wallpaper with your local weather forecast. The script is named “weather wallpaper” and I have just submitted a gentoo ebuild for it.
On my system it works fine, there is just one drawback: your city needs a 4-letter NOAA weather code, numeric codes are not supported.

Just minutes ago I have uploaded version 0.2 of Lingua::DE::TypoGenerator to CPAN. The new release fixes some perl warnings that I didn’t realize before.
When looking for sites mentioning the module I also learnt that it did not seem to work with ActiveState perl because it required at least perl 5.8.8. I have “downgraded” this requirement to 5.8.0 and hope to see it PASS soon.

You can install the module via cpan soon or download it directly here:
Lingua-DE-TypoGenerator-0.2.tar.gz

The fine guys at CPAN Testers have meanwhile verified Lingua::DE:TypoGenerator on 6 platforms. But what about Gentoo? I have had problems with certain modules and g-cpan, so I tried my first perl module with it. And voila: Lingua::DE::TypoGenerator works fine with g-cpan on Gentoo.

Lingua::TypoGenerator has been a great help for me in my business as it creates a good list of typo errors that are likely to be produced. Unfortunately it uses an english keyboard layout and thus missed some typos a German user might make.
For some time I have had the plan to roll my own typo generator perl module and lately came up with Lingua::DE::TypoGenerator. The name is a little bit preliminary as I have only just registered the namespace with CPAN, so perhaps if it is not accepted the name will have to be changed.

The module can be used either old-style by importing the “typos” function or in OO-style. “typos” accepts one word and will return an array of all likely typo errors including umlauts and numbers. Errors with special characters like a dot or comma are not included. If there is a need for this I can add it in later versions.

Right now all input has to come encoded in ISO-8859-1 but support for more character sets is already partly included.

If you want to give the module a try you can download it here: Lingua-DE-TypoGenerator-0.1.tar.gz

This plugin should really be included in every wordpress installation: Spam Karma 2. Using blacklist, ip-filters and some other magic Spam Karma is catching at least 100 comment spams a day on every wordpress blog I own. I have just made a small donation to thank for this great help - without Spam Karma I (and probably many other bloggers) would probably already have given up blogging.

Next Page »