22 sept 2011

Most RxR modules - top 30

The project http://cpanratings.perl.org allows us to rate the perl CPAN modules, and it provides interesting information in terms of starts and comments. You can analyze the stats csv file in order to elaborate new stats. The question I'm trying to answer is this: what's the most rated module? ...

Each line of the CSV file give us the name of the module, the rating (a number between 1 and 5) and the reviews counter. I thought about the list order, which field should I use? After a while, I decided to calculate a new value:

RxR = Rating x Reviews

A simple perl script display the list I was asking for (top 30):

 #                    Module Name Rating Reviews     RxR
== ============================== ====== =======  ======
 1                            DBI    4.7     31    145.7
 2         Spreadsheet-WriteExcel    4.8     26    124.8
 3               Template-Toolkit    4.6     21     96.6
 4               Catalyst-Runtime    4.8     20       96
 5                  Devel-NYTProf    4.9     18     88.2
 6                CGI-Application    4.8     18     86.4
 7                  HTML-Template    4.1     21     86.1
 8                  WWW-Mechanize    4.6     18     82.8
 9                         Dancer    3.5     23     80.5
10                     XML-Simple    4.4     17     74.8
11                     DBD-SQLite    4.6     16     73.6
12                    Devel-Cover    4.9     15     73.5
13                          Moose    4.9     15     73.5
14                      Class-DBI    4.4     16     70.4
15                  App-cpanminus    5.0     13       65
16                       DateTime    4.6     14     64.4
17                   Module-Build    3.2     20       64
18                            ack    4.9     13     63.7
19                     HTML-Mason    4.9     13     63.7
20                            POE    4.9     13     63.7
21                 File-Find-Rule    4.5     14       63
22                    libwww-perl    4.5     14       63
23                     DBD-Oracle    3.7     16     59.2
24                         CGI.pm    4.5     13     58.5
25                     XML-LibXML    4.5     13     58.5
26                         Imager    4.8     12     57.6
27                      MIME-Lite    4.8     12     57.6
28                        XML-RSS    4.1     14     57.4
29                 SQL-Translator    3.9     14     54.6
30                     DBIx-Class    4.9     11     53.9

I named it: The top RxR module list.
Do you know how many modules are rated? 2707 (11% of the whole), and 1700 has only one review.

21 sept 2011

Perl related blog traffic

I have written only a few posts of perl related topics (about 30). With the new blogger interface, it's easy to check the google analytics and obtain a lot of valuable information. It's interesting the wold map with green colors (dark signals more traffic). These are the country stats of my blog:
My top ten visitors are from:

  1. United States
  2. Spain
  3. Germany
  4. United Kingdom
  5. Russia
  6. Argentina
  7. Canada
  8. Netherlands
  9. Brasil
  10. Australia

I think the blog language it's the first reason that justifies the territory colors. The second place is justified because of my good friends in Spain. But it's interesting to observe that there isn't any traffic from Africa, and others countries like India...

Of course, another reason it's the quality of the contents I wrote, but I imagine that the light colors of the map won't vary too much...

Do you have similar stats you like to share?

19 sept 2011

Perl Weekly gratitude

I am sure you already know the Perl Weekly newsletter, a great work of Gabor Szabo. If not, please take a look at this url: http://perlweekly.com/.

It's not only an integration work about the news, modules, articles, etc. It also includes excellents comments, which are a great summary of the topics they introduce. I recommend you the suscription.

Every Monday since the project was born, I read the newsletter, and find interesting news and articles. And this morning I saw a link to my article in the "Not Perl" section, Bootstrap && Perl. It was a pleasure  and a surprise. So, thank you Gabor.

My favorite resources to get information about Perl are the following:

  1. http://search.cpan.org/recent
  2. http://ironman.enlightenedperl.org/
  3. http://perlweekly.com/
  4. http://blogs.perl.org/
  5. http://jobs.perl.org
Have you got anyone not listed? please, write down!

Of course, a lot of blogs indexed by enlightnedperl (I don't want to forget anyone, so I don't enumerate them). 

17 sept 2011

Bootstrap && Perl

I recently found the bootstrap twitter project, which I'm going to use in my projects. Bootstrap is a toolkit from Twitter designed to kickstart development of webapps and sites. It includes base CSS and HTML for typography, forms, buttons, tables, grids, navigation, layouts, and more.
It also supports javascript, and provide you with some awesome plugins to get you started!
This javascript provides a basic interactive layer on top of the included styles.

Of course, this isn't an only-Perl related topic, but I think it is a very interesting way of improvement for the user interface of any CGI::App, Catalyst, Dancer, Mojolicious, ...  application.

Hope this helps in your next projects.
If you used this tool, it would be nice to hear from you...

15 sept 2011

Rebecca Perl

Hi, Rebecca
I found your video when I was looking for Perl videos at youtube. Perl is a nice programming language, and a lot of clever people uses it every day. It was invented 24 years ago, probably near to your birthday...
You voice is amazing, this song is awesome... this kind of feelings are the same that we get when we work with Perl. From now on, your songs will go along with my work.
Thanks, Rebecca !


13 sept 2011

Gearman: framework to farm out work

Gearman provides a generic application framework to farm out work to other machines or processes that are better suited to do the work. It allows you to do work in parallel, to load balance processing, and to call functions between languages.