rhesa
Recent Actions
-
Commented on Identifying CPAN distributions you could help out with
With regards to CGI, the latest release isn't from 2001, but from a month ago. MetaCPAN shows the github repo for it, so contributing to CGI is easy....
-
Commented on Thread pool for a boss/worker model
Another suggestion: beanstalkd and the Perl module Beanstalk::Client. I use this by forking off a number of workers per machine. Then I add more machines as load increases. Having isolated processes that only talk to the beanstalkd server means I...
-
Posted Method::Signatures::Simple 1.01 released to CPAN to rhesa
I’m pleased to announce version 1.01 of Method::Signatures::Simple. It provides a little sugar for writing methods and functions. Chip Salzenberg requested the addition of a function keyword with the same signature…
-
Commented on SSH Can Do That? Productivity Tips for Working with Remote Servers
I like using autossh to persist and share ssh connections. see http://aaroncrane.co.uk/2008/04/ssh_faster/ for a good writeup....
-
Commented on Hash::ConstantHash
I think the reason you didn't find anything on CPAN is that this is usually called "consistent hashing". There are at least two on CPAN that I know of: Set::ConsistentHash, Algorithm::ConsistentHash::Ketama. Furthermore, libmemcached has a couple of consistent hashing algorithms...
-
Commented on Method Extraction in Vim
I've been using a script by Jesse Vincent, ever since Piers Cawley mentioned it. @Aristotle, I see you commented on that post. Is this the script you mean?...
-
Commented on Perl101: Encapsulation via Protected Abstract Methods
Thought I'd whip up an example using MooseX::Declare: https://github.com/rhesa/example-encapsulation It doesn't actually use subclassing. I've chosen to make the abstract Employee a role. The input and output validation is done using types. I'd like to know if my approach makes...
-
Commented on Google Talk with Perl
I have no idea where I found this solution, but it works fine: $conn->Connect( ... ); # as above # change hostname on session my $sid = $conn->{SESSION}{id}; $conn->{STREAM}{SIDS}{$sid}{hostname} = 'gmail.com'; $conn->AuthSend( ... ); # as above It doesn't read...
-
Commented on Beauty
You don't really need the arrow: $actions{$chosen}(@inputs); works just like $AoH[1]{foo} vs. $AoH[1]->{foo}. The arrow does provide a clue that you're calling a subroutine, so I leave the arrow in, while omitting it with nested data structures....
-
Commented on Hello
perl -E 'say "Hi"'...
-
Commented on Migration Issues
I signed up on the 9th (with username "rhesa"), and wanted to see if I could post something today. I got a "user not found" error, so I signed up again with the same username, but it turns out I'm...
Comment Threads
-
Neil Bowers commented on
Identifying CPAN distributions you could help out with
This is my pragmatic process based on the official process, which I've fixed on while working on reviews.
-
ruslan-zakirov.myopenid.com commented on
Identifying CPAN distributions you could help out with
Second request for a list based on impact, e.g. reverse deps.
-
Neil Bowers commented on
Identifying CPAN distributions you could help out with
Yeah, I think that'll probably be the next thing I hack in.
-
Ether commented on
Identifying CPAN distributions you could help out with
What code did you use to determine the number and age of outstanding bugs? I was thinking of creating a Kwalitee data point on these stats.
-
Neil Bowers commented on
Identifying CPAN distributions you could help out with
You can get the RT bug data as an SQLite database from https://rt.cpan.org/NoAuth/cpan/rtcpan.sqlite.gz
My query for getting the oldest and newest unresolved bug per dist is
select distribution, substr(min(created),1,10) as oldest_bug, substr(max(created),1,10) as newest_bug from ticket where status in ('new', 'open', 'stalled', 'patched') group by distribution;
About blogs.perl.org
blogs.perl.org is a common blogging platform for the Perl community. Written in Perl and offering the modern features you’ve come to expect in blog platforms, the site is run by Dave Cross and Aaron Crane, with a design donated by Six Apart, Ltd.