April 2011 Archives

Jonathan Leto wrote:

I am still on the path of increasing test coverage in src/extend_vtable.c. It is much like a zen study, where you methodically concentrate on many tiny little pebbles, one at a time, moving them in the sand, to just the right place. According to the latest code coverage statistics, we are now at 72% code coverage, which is an increase of about 8% since my last report.

Many, many more tests involving Key PMCs were added. For an intro to what they are, take a look at my previous grant update. Many of the tests are clusters of related tests, because most VTABLEs have many similar forms which take integer, string or PMC-flavored keys. I ran into some platform-specific bugs which only manifest on Darwin machines, which were reported by Jim Keenan in TT #2098 and which I then fixed by querying with a non-empty Key, which is more prudent.

I also ran into some actual bugs which I reported as Trac Tickets. First is that the cmp_pmc VTABLE does not seem to be working correctly from extend_vtable, which was reported in TT #2103. Then I fell into a "hole" in the VTABLE API, where ResizablePMCArray does not respond to defined_keyed(), which it should. This is described in TT #2094.

In retrospect, this was one of the most productive periods of my grant work. I estimate that I will be very close to the 95% milestone by my next grant update at this pace, which is very exciting.

Original article at dukeleto.pl .

The 5th Annual Pittsburgh Perl Workshop will be held at the Carnegie Mellon University's Gates Hillman Complex on October 8 and 9, 2011. The call for presentations is now open and closes on Wednesday, May 18th. Please view The PPW announcement for more information.

Dave Mitchell writes:

As per my grant conditions, here is a report for the March period.

I concentrated on bugs that were 5.14 blockers, and also spent a fair amount of time working to reduce smoke failures, which isn't being charged to the grant, as that work wasn't done against RT tickets.

Over the last month I have averaged 5 hours per week. As of 2011/03/31: since the beginning of the grant:

56.0 weeks
661.7 total hours
11.8 average hours per week

There are 238 hours left on the grant.

Report for period 2011/03/01 to 2011/03/31 inclusive


Effort (HH::MM):

7:35 diagnosing bugs
13:25 fixing bugs
1:25 reviewing other people's bug fixes
0:00 reviewing ticket histories
0:00 review the ticket queue (triage)
22:25 Total

Numbers of tickets closed:

5 tickets closed that have been worked on
0 tickets closed related to bugs that have been fixed
0 tickets closed that were reviewed but not worked on (triage)
5 Total

Short Detail

7:50 [perl #80190] Length-caching bug in utf8::decode
3:30 [perl #82086] Still "keys" performance regression between 5.10.1 and 5.12.3-RC1
1:05 [perl #82250] tainted sprint format only dies if part of an expression
1:25 [perl #84294] /((\w+)(?{print $2})){2,2}/ problem
2:15 [perl #85206] op/magic.t test 7 corrupts saved stack on cygwin
6:20 [perl #86534] op/pack.t failures in blead

Its that time of the year, again. The Perl Foundation is looking at giving some grants ranging from $500 to $2000 in May 2011.

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/completed_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 May 15.

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 GC current rules of operation at http://www.perlfoundation.org/rules_of_operation. Then send your proposal to [email protected] Note that should be properly formatted accordingly with our POD template.

By the end of May, proposals will be made available publicly (on this blog) for public discussion, as it happened in the previous rounds. So, please make it clear in your proposal if it should not be public, and why.

Finally, this quarter our Grants Committee is tight in founds. Therefore, expect few approved grants.

Jonathan Leto wrote:

This wayward son is still on his treacherous journey to increase
test coverage in src/extend_vtable.c. When we last left off our traveler, he explained what the mythical VTABLE beast looked like, and we shall continue with the study of this chimerical fauna.

According to the latest code coverage statistics, we are now at 64% code coverage, which is an increase of about 10% since my last report.

Most of this grant work concentrated on vtables that required Key PMCs. A Key PMC is an object that can be used to look something up in a Hash PMC or other aggregated object that supports "keyed access". It is very much similar to a "hash key" that can be used to look up the appropriate value.

One of the lessons that I have learned in working on these tests is that it is very easy to write tests that pass on gcc, but which absolutely explode with g++. This has to do with gcc not being as strict when some questionable type casting is done. I have learned my lesson and I promise not to break the test suite anymore. I will use g++ in my testing from now one, promise!

My productivity was definitely hampered by moving to a new house and having a two week business trip in the last month, but my new home office is finally set up, so I expect productivity to approach previous levels of adding a few dozen tests per week.

Original article at dukeleto.pl .

I am pleased to announce that Moritz Lenz's Hague Grant for Structured Error Messages has been accepted. Will Coleda has agreed to be the grant manager for this project.

We received a lot of positive feedback regarding this grant and we are delighted that we are able to fund this work. If you would like to help fund grants like this or any of our other projects please visit https://donate.perlfoundation.org.


We are into the final week for students to sign up to the Google Summer of Code. The program is accepting submissions from students and mentors until Friday 8th April so now is the time to get involved before it is too late and you suffer from last regrets.

What can I do?

Students can suggest any topic to work on, but for those wishing to try something new, or are looking for general guidance, there is a list on the EPO Wiki which outlines some suggestions and ideas from a number of Perl projects. Once you have a project idea, speak to the other participants in #soc-help (on irc.perl.org) and we will advise you on application and match you to a mentor.

Connect the dots...

You can join our Facebook page where we will be posting new information for this year and in the future. Please join in and "like" our page so we can help raise awareness of Perl's involvement this year and in the future. You can also follow Florian Ragwitz or
Mark Keating on Twitter where they go by the usernames perldition and shadowcat_mdk respectively.

The main site for the Google Summer of Code is: http://www.google-melange.com/, a timeline for participation can be found at http://www.google-melange.com/document/show/gsoc_program/google/gsoc2011/timeline.

If you cannot join in as either a student or a mentor you can still help to spread the word. You can download a flyer for distribution at: http://www.community.markkeating.me.uk/promotion/GSOC-2011-Flyer.pdf, please print out copies and pin them to notice boards or distribute them in classes near to your area, as always your participation is greatly appreciated.

This post was a guest blog by: Mark Keating, who is the Managing Director of Shadowcat Systems Limited and a Director/Secretary of the Enlightened Perl Organisation, he regularly writes on Perl Blog and Work Blog.

About TPF

The Perl Foundation - supporting the Perl community since 2000. Find out more at www.perlfoundation.org.

About this Archive

This page is an archive of entries from April 2011 listed from newest to oldest.

March 2011 is the previous archive.

May 2011 is the next archive.

Find recent content on the main index or look in the archives to find all content.


OpenID accepted here Learn more about OpenID
Powered by Movable Type 6.2.2