Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

Journal of ambs (3914)

Wednesday May 20, 2009
11:34 AM

Testing Modules on Different Operating Systems

I think this is a missing tool for Perl developers. If I am wrong, and there is any solution out there, please let me know.

But I think there should be available a computer farm with different operating systems. For instance, I have a Linux server, a Mac laptop, and a Windows VMWare with Strawberry. But I do not have a Windows with ActiveState Perl, neither a Windows with Cygwin Perl, neither a BSD. Not to mention other strange operating systems.

I know that to give random users access to a machine is not secure. Thus, if this farm gets created, I suggest that some precedents should be requested to the CPAN author to get the account. For instance, to have at least one released module. Other options might arise when we start discussing this.

Also, for easier maintenance, it would be great if this farm would be of virtual machines. This way it would be easy to define a time (say, 0:00 GMT) to delete the running virtual machine and install a new snapshot. Of course that would annoy people logged in at that time, but it won't hurt much.

Thoughts?

Well, all this to say I need to test my Config::AutoConf module on BSD :P

Friday February 06, 2009
02:07 PM

TPF 2009Q1 Grant Proposals

Is that time again. The deadline for grant proposals submissions ended six days ago, and now they are available for comment during a week. Please use each proposal post to comment about that project. Please do not post with simple messages as I like it , or +1 . If you like it, state why you do. That is what will help us voting, not just another person name associated to the proposal.

Proposals for this quarter:

Wednesday January 07, 2009
04:33 PM

2009Q1 Call for Grant Proposals

The Perl Foundation is looking at giving some grants ranging from $500 to $3000 in February 2009.

In the past, we've supported Adam Kennedy's PPI, Strawberry Perl and Perl on a Stick, Nicholas Clark's work on Perl internals, Jouke Visser's pVoice, Chris Dolan on Perl::Critic and many others (just check http://www.perlfoundation.org/grants for more references).

You don't have to have a large, complex, or lengthy project. You don't even have to be a Perl master or guru. If you have a good idea and the means and ability to accomplish it, we want to hear from you!

Do you have something that could benefit the Perl community but just need that little extra help? Submit a grant proposal by January 31.

As a general rule, a properly formatted grant proposal is more likely to be approved if it meets the following criteria

* It has widespread benefit to the Perl community or a large segment of it.
* We have reasons to believe that you can accomplish your goals.
* We can afford it (please, respect the limits or your proposal should be rejected immediately).

To submit a proposal see the guidelines at http://www.perlfoundation.org/how_to_write_a_proposal and TPF rules of operation at http://www.perlfoundation.org/rules_of_operation. Then send your proposal to tpf-proposals@perl-foundation.org. Note that starting with this round, proposals should be properly formatted accordingly with our POD template.

On February 1st, proposals will be made available publicly (on this blog) for public discussion, as it happened in the previous round. So, please make it clear in your proposal if it should not be public.

Tuesday December 16, 2008
06:30 AM

TPF needing Grant Manager

The Perl Foundation is needing one more grant manager. At the moment there are two grants that did not start because current grant managers have a reasonable number of grants to manage.

Grant Managers are the mean of communication between TPF and each Grantee. They are responsible to organize grantee payments (to work with TPF treasurer on the payment bureaucracy), and are responsible to keep the community (through the Grant Committee Chair) updated about grants evolution.

If you think you are responsive, and you would like to help TPF with this task, drop me a line (or a comment). Received names will be discussed on the Grant Committee so we can choose somebody by Friday.

Wednesday October 01, 2008
11:13 AM

2008Q4 Call for Grant Proposals

The Perl Foundation is looking at giving some grants ranging from $500 to $3000 in November 2008.

In the past, we've supported Adam Kennedy's PPI and Strawberry Perl, Nicholas Clark's work on Perl internals, Jouke Visser's pVoice, Chris Dolan on Perl::Critic and many others (just check http://www.perlfoundation.org/grants for more references).

You don't have to have a large, complex, or lengthy project. You don't even have to be a Perl master or guru. If you have a good idea and the means and ability to accomplish it, we want to hear from you!

Do you have something that could benefit the Perl community but just need that little extra help? Submit a grant proposal by October 31.

As a general rule, a properly formatted grant proposal is more likely to be approved if it meets the following criteria

  • It has widespread benefit to the Perl community or a large segment of it.
  • We have reasons to believe that you can accomplish your goals.
  • We can afford it (please respect the limits or your proposal should be rejected immediately).

To submit a proposal see the guidelines at http://www.perlfoundation.org/how_to_write_a_proposal and TPF rules of operation at http://www.perlfoundation.org/rules_of_operation. Then send your proposal to tpf-proposals @ perl-foundation.org.

On November 1st, proposals will be made available publicly (on this blog) for public discussion, as it happened in the previous round. So, please make it clear in your proposal if it should not be public.

Note that accepted but not funded proposals in the previous round do not need to be re-submitted.

Monday September 22, 2008
03:16 PM

How would you write factorial?

There are a lot of ways to write a factorial function in Perl, from the more recursive functional approach, to the standard iterative solution.

I prepared a bunch (well, four for now). If you have any other creative way of coding this function, please let me know (by email or commenting here). Note that I am more interested in the algorithm than in the golfing or obsfuscation.

Solution 1: Recursive is beautiful

sub factorial {
    my $v = shift;
    if ($v > 1) {
        return $v * factorial($v-1);
    } else {
        return $v;
    }
}

Solution 2: Iterative is fast

sub factorial {
    my $v = shift;
    my $res = 1;
    while ($v > 1) {
        $res *= $v;
        $v--;
    }
    return $res;
}

Solution 3: Perl is a dynamic language

sub factorial {
    my $v = shift;
    return eval (join "*", (1..$v));
}

Solution 4: There are other ways of iteration

sub factorial {
    my $v = shift;
    my $res = 1;
    grep {$res*=$_} (1..$v);
    return $res;
}

Friday August 22, 2008
07:56 AM

Acme::EpicFail

In the last times there is this 'Epic Fail' or 'Epic Mega Fail' usage for everything. The Portuguese guys on YAPC::EU::2009 used it a lot, as well. So much, that I come back and wrote this ACME module. It doesn't do much. Specially because I am in vacations without much Internet access, and thus, not being able to discuss it properly. Thus, this post is a call for ideas: what can I do to make this ACME module more ACME interesting?

Friday August 15, 2008
01:24 PM

Best Perl Release Ever!

YAPC::EU::2008 in Copenhagen ended today. During the conference a lot of people said something like: Perl 5.10 is the best Perl release ever!. I think that who repeated this most was Damian Conway. Given his talks content I can understand why. But it wasn't the only one.

Now, what I can't understand is why http://ftp.cpan.org/src/README.html still says that perl 5.10.0 is a testing release, 8 months old.

I discussed this previously in perl 5 porters mailing list, but some months elapsed and no news. It is really important to re-tag that distribution with a stable tag, if it is really the best Perl release ever. Another option is to make 5.10.1 available. I know Rafael has some milestones for 5.10.1. But it might be more important for the Perl community to have 5.10.1 wide spread than to wait for really new cool features.

Why? For instance, because some Linux distributions will not include perl 5.10.x while it is tagged with testing. Also, because we all know that changes from 5.6 to 5.8 were basically from internals (Unicode, especially). But the changes from 5.8 to 5.10 are significally a breath of fresh air. We should make 5.10 the best Perl release ever for all users, and not just those geeks that want to use the new features.

Friday August 01, 2008
07:22 AM

15 Proposals for Third Quarter of TPF Grants

The Perl Foundation grants committee received 15 proposals during the third call for grant proposals for 2008. These proposals are published for public discussion. You are invited to comment each proposal about its relevance and objectives.

During the month of July we received the following grant proposals:

Please take some time on reading the proposals carefully and give some feedback on the relevance of the proposals. This discussion period will end about August 10. Starting that date, the GC will begin the voting process. Please comment on each specific grant post or, if you want to give a broad opinion and comparison on the proposed grants, please comment this post. Thanks!

NOTE The committee received one last proposal, but was asked not to make it public.

Tuesday July 01, 2008
02:09 PM

2008Q3 Call for Grant Proposals

The Perl Foundation is looking at giving some grants ranging from $500 to $3000 in August 2008.

In the past, we've supported Adam Kennedy's PPI and Strawberry Perl, Nicholas Clark's work on Perl internals, Jouke Visser's pVoice, Chris Dolan on Perl::Critic and many others (just check http://www.perlfoundation.org/grants for more references).

You don't have to have a large, complex, or lengthy project. You don't even have to be a Perl master or guru. If you have a good idea and the means and ability to accomplish it, we want to hear from you!

Do you have something that could benefit the Perl community but just need that little extra help? Submit a grant proposal by July 31.

As a general rule, a properly formatted grant proposal is more likely to be approved if it meets the following criteria

  • It has widespread benefit to the Perl community or a large segment of it.
  • We have reasons to believe that you can accomplish your goals.
  • We can afford it.

To submit a proposal see the guidelines at http://www.perlfoundation.org/how_to_write_a_proposal and TPF rules of operation at http://www.perlfoundation.org/rules_of_operation. Then send your proposal to tpf-proposals @ perl-foundation.org.

On August 1st, proposals will be made available publicly (on this blog) for public discussion, as it happened in the previous round. So, please make it clear in your proposal if it should not be public.

Note that accepted but not funded proposals in the previous round do not need to be re-submitted.