Software This is why I participate in an Open Source community The other day I received this email from a user of one of my CPAN modules. This is what makes participating in an Open Source community really worth it! The tool he's talking about is XML::Rabbit. Thanks a lot, Jack! Just a note to say thank you.
Software Hiking and hacking at Preikestolen Recently, I was participating in the Moving to Moose hackathon at Preikestolen near Stavanger, Norway together with a lot of other Perl hackers. I was one of the few people that actually drove to the venue, and it took quite some time to get there. During the trip I stopped
perl New project: ZNC IRC bouncer log viewer I've just published a new project on GitHub, named znc-log-viewer, that might be useful for IRC junkies. If you use the ZNC IRC bouncer to keep you logged on to IRC all the time, you might've enabled the log module to avoid missing messages
perl Config::Role - Object constructor parameters from file made easy After I wrote that big 5-part article on WWW::LastFM / XML::Rabbit I noticed several things that could be improved. One of them was the fact that loading configuration information from a file in the home directory was a pretty generic thing to do. I decided to factor that
Software How to automatically block IPs that do a dictionary attack on your SSH server Have you ever noticed that the sshd on your publicly facing machines gets bombarded with dictionary attacks several times per day? This problem is mostly an annoyance, as it fills up the logs with lots of User authentication failed, wrong password for <username> messages. There are of course
perl Implementing WWW::LastFM with XML::Rabbit - Part 5 * Part 1 of 5 * Part 2 of 5 * Part 3 of 5 * Part 4 of 5 * Part 5 of 5 In the previous article we started implementing the geo.getEvents Last.FM API call. In this article we will complete the implementation of the Event class and create a small
perl Implementing WWW::LastFM with XML::Rabbit - Part 4 * Part 1 of 5 * Part 2 of 5 * Part 3 of 5 * Part 4 of 5 * Part 5 of 5 In the previous article we finished implementing the geo.getMetros Last.FM API call with XML::Rabbit. That particular API call doesn't include a lot of interesting information,
perl Implementing WWW::LastFM with XML::Rabbit - Part 3 * Part 1 of 5 * Part 2 of 5 * Part 3 of 5 * Part 4 of 5 * Part 5 of 5 In the previous article we looked at how XML::Rabbit does its magic to give us a very compact syntax for creating Moose attributes that mirror simple XML document values.
perl Implementing WWW::LastFM with XML::Rabbit - Part 2 * Part 1 of 5 * Part 2 of 5 * Part 3 of 5 * Part 4 of 5 * Part 5 of 5 In the previous article we created a simple framework for making HTTP requests to the Last.FM API. In this article we'll go into detail on how XML:
perl Implementing WWW::LastFM, a client library to the Last.FM API, with XML::Rabbit * Part 1 of 5 * Part 2 of 5 * Part 3 of 5 * Part 4 of 5 * Part 5 of 5 In this series of articles I'm going to implement a client to the Last.FM web services API which allows us to find concerts and other events in
perl Unicode::Collate is really, really slow I noticed a while back that there was something fishy with perl's built-in sort when dealing with Unicode text. Doing some research made me eventually notice the Unicode Collation Algorithm (UCA) and the perl implementation in Unicode::Collate and the very useful Unicode::Collate::Locale. Thanks a
perl Using perl instead of awk in my one-liner I was filtering some output in the shell today, and I reached for my trusty awk '{ print $1 }' to get the first part of a line separated by whitespace. Then I started to think; why am I using awk for this when I know so much perl, and
Literature The new Catalyst book from Packt Publishing Some weeks ago I got a copy of the new Catalyst book from Packt Publishing on the popular MVC web framework for Perl. The new book covers the 5.8 release of Catalyst, which is based on Moose. The book also includes some chapters on Modern Perl topics, namely Moose
perl Having problems to install CPAN modules that use Module::Install on Windows? I have been discussing this problem with Adam Kennedy and some other people at #win32@irc.perl.org today: Line 388 of Module/Install/Makefile.pm is a blank line, but the line after it is a simple two-arg open(). open MAKEFILE, "> $makefile_name" or die
perl Apple, the devil in our midst So Matt Trout has lost the Iron Man Challenge. As part of the competition rules it is time to make a vote for a hair color for him and a talk title that he will present at an upcoming Perl conference. My vote goes to a light blue color as
perl How to get a PSGI app running with mod_fastcgi on Ubuntu with Apache2 First make sure you activate the multiverse repository for apt. Then install the required modules (if you don't already have them enabled) sudo aptitude install libapache2-mod-fastcgi apache2-suexec Enable the fastcgi and rewrite modules: sudo a2enmod fastcgi sudo a2enmod rewrite Edit /etc/apache2/mods-enabled/fastcgi.
perl Playing with Alias' new CPANDB This is a somewhat simple query that identifies CPAN authors that use modules from the Test namespace in their runtime phase, according to the data from CPANDB. SELECT d.author, count(r.module) AS test_namespace_used_in_runtime_phase FROM requires r JOIN distribution d ON r.distribution = d.
Software Deprecated code analyzer for perl After reading NPEREZ's blog article DarkPAN SchmarkPAN -- STOP THE MEME, it suddenly comes to me: We need a tool that enable users to profile their codebase to verify if they are using any removed, deprecated or changed features of a new version of the perl interpreter. This would
Software Lets make a perl appreciation survey for the masses This is a response to John Napiorkowski's article: Why All the Hate?Matt S. Trout was talking about the fact that we need to become better with marketing. I second that. One of the tools of marketeers is the survey. My suggestion is this: Why don't
jquery How to make an unordered list from a tree Last week I showed you how to take an adjacency list in a database and turn it into a nicely indented textual output. Today I will show you how you can take that same (flat) data structure and turn it into an HTML unordered list (UL) using Template Toolkit. The