For CPAN Day, you could check the test coverage for your distributions using Devel::Cover. If your distributions are already covered, or you don't have any distributions, take a look at the coverage results for some other dists on CPAN Cover, and maybe you could submit something for someone else's dist.
I remembered from the perl docs to use vec to compress arrays of
integers to bitvectors. In my case with Perfect::Hash::Urban the
size advantage is 3320 byte vs 88 bytes for two integer arrays of size
20 with values [0..19], which compress to 8 bit per entry with
vec. This is 300x less bytes.
The theoretical maximal simple compression would be 13 byte,
i.e. 5 bits per entry * 20 = 100 bits = 13 byte. Stored as Perl PV
this would require 68 byte PV overhead + 13 byte for the bitvector.
plenv is one of perl building tools. As similar tool, perlbrew is famous. I use both tools based on some environment.
plenv install and setting is little hard job. Tasks are clone of some git repository, rewrite shell profile file and reload it, and so on.
plenvsetup supports your such tasks. It is written by Satoshi AZUMA a.k.a @ytnobody / PAUSE: YTURTLE and some contributers.
When you want to setup plenv, run only one line:
curl -L http://is.gd/plenvsetup | bash
plenvsetup considers various environments situations.
In Japanese today, some volunteers organizes study course in Perl, called Perl Entrance for truly beginners of programming. This event is 3rd year since startup. In this year, we use plenvsetup in a curriculum for student's Perl environment structure. This trial gives good result. Anybody could setup plenv envrionment as easy and speedy even beginners.
Do you need to setup plenv? Remenber plenvsetup when it is needed.
I just organized a CPAN Day mini-hackathon and social meeting for my local Perl Mongers.
If you like this idea and your local PerlMongers is overdue for a meeting, sieze the Chopsticks of Destiny. You can use this announcement as a starting point.
=============================================
Several People have been blogging at blogs.perl.org about CPAN Day on
August 14. Standard Tap have offered their dining room for our use.
The Standard Tap has wi-fi but there are also several xfinity and verizon
hotspots there, so bring your laptop. While the meeting won't be the
perfect opportunity for creating awesome new cpan modules it is a great
time for light maintenance and documentation.
Don't have any modules to work on? Don't fret, you can always proofread
someone else's work. You can also look at http://neilb.org/adoption/ for
modules that are be available for adoption (the list is auto generated it
includes many modules that don't need a new maintainer). You can also work
on patches to other peoples modules.
The DESCRIPTION section of your module's documentation should come after, and provide the narrative for, the SYNOPSIS. In particular, make sure that the first paragraph is a good summary of what your module does / provides. After the abstract, the first paragraph is your most powerful tool in selling your module to potential users.
For CPAN Day (next Saturday 16th August), make sure all your modules have a DESCRIPTION section in the pod, and that the first paragraph is a good summary. And if you do, tweet about it, using the hashtag #cpanday.
For the last several months I had some more free time during the long (for me) nights in Central Europe. I didn't have to work any more additionally to cover some expenses. Having done several projects on Mojolicious, looking at the code, I clearly saw same patterns — repeating over and over again — in the code of my projects.
I had also, I would say, successful previous open source project on GitHub (which code had the same "issue" and some more), but I just left it after some time. I think I disappointed some people. Apologies. I left it because it was looking to me too monolithic, too "hard-codded", promising to be hard to maintain, and test...
Inspired by PoC||GTFO, herewith is a (pseudo) quine written in Perl that generates a copy of itself as a PDF which is also a mountable ISO with that PDF as the sole file.
Copy the script as quine.pl, run it, and you'll get a quine.pdf which can also be mounted as a filesystem:
bash$ file quine.pdf
quine.pdf: # ISO 9660 CD-ROM filesystem data 'CDROM'
bash$ sudo mount -o ro quine.pdf /mnt
bash$ ls /mnt
quine.pdf
bash$
If you're a module author, and looking for something to release on CPAN Day, have a look at your CPAN Testers results. If you've got any failures, check the test report(s) and see if you could release an update to prevent those in the future.
We are still accepting proposals for Lightning Talks and will continue to do so until a week before the conference. We will be having a Lightning Talk session, which will have about 10 Lightning Talks of 5 minutes, towards the end of each conference day.
It will be possible to submit a Lightning Talk proposal during the conference as at least two speaking spots on days 2 and 3 will be held open until the day before the talks to give you a chance to see something at the conference and put together a Lightning Talk response. As there will be fewer spots available during the conference we recommend that you submit your proposal as soon as you can.
If you would like more information about Lightning Talks please read R Geoffrey Avery's detailed description on the conference website.
In December last year released the first version of Time::Moment. I don't foresee any major changes in Time::Moment 0.16 API, so in next release I'll remove the "early preview release" notice in the description. I have been using 0.16 in production two different deployments with great success, by removing DateTime from the ORM we have seen significantly reduced the memory usage and CPU usage and increased the throughput when inflating timestamps from a RDBM, previously DateTime was a one of our bottleneck in our profiling.
Curtis Poe, one of the top presenters in the world of Perl (and testing and ...) recently posted How Do Conference Speakers Get Compensated? in LinkedIn. There had been a bit of a kerfuffle on the YAPC Europe Conference Organizers mailing list after some mail that would have been better handled in private email.
There's an undercurrent idea in the open source world that money is dirty and paying for services is bad. YAPC started as a reaction to the much higher priced (and much higher produced) The Perl Conference that only met on the west coast of the United States save for a couple of tries in Europe. At the first YAPC, Kevin Lenzo literally passed the hat at the end to make up for the shortfall. Mostly, YAPC still acts like that and waits for a big sponsor to fix it.
If you're still looking for something to do on CPAN Day (Sat 16th August), you could fix a bug in a CPAN distribution. It might be a bug in one of your own distributions, but it doesn't have to be — you could fix a bug in someone else's distribution. If their dist is on github you could send them a pull request, otherwise attach a patch to the issue in RT.
Regularly, CPAN authors are reminded that CPAN is a large collection of files, mirrored all over the world, and that it would be nice to keep its size reasonable.
Over the last twelve years, we've seen regular calls to remove old versions of distributions from CPAN. Because I'm too lazy to look for more, I'll point to the earliest and the most recent I could find.
My topic for today is not just removing old releases, but actually removing all the versions of a published distribution from CPAN (thus making it disappear entirely, except from BackPAN).
Here are some good reasons to do this:
the module was an experiment and the experiment failed
the module serves no purpose any more
the module is interfacing with an online service that has disappeared or radically changed (i.e. the other half of the equation has disappeared entirely -- this is different from interfacing with an obsolete library: old code never dies)
it will live forever on BackPAN -- in suspended animation
Having lost interest or not being able to maintain the code any more are not valid reasons to remove a distribution from CPAN, but they are good reasons to make ADOPTME a maintainer.
So, if you've got an old distribution that doesn't belong on CPAN any more, maybe you could consider removing it on CPAN Day?
After Adam Kennedy made his last release of PPI in February 2011 with 1.215, the contributions of Revision: Tom Wyant, Olivier Mengué, David Steinbrunner, Matthew Horsfall (alh), massive amounts of work by Mike O'Regan, more help and most importantly the blessing of Adam Kennedy, moral and substantial support by Matt Trout, and some work by myself, the first release candidate of PPI in 3.5 years is now on CPAN, soon to be a real release.
The change log has a detailed listing and the git repository is even more detailed (it even has tags if you clone it). That said, the summary of the changes is:
[ I have been sending these grant reports to the perl-qa mailing list, whence they have found their way to news.perlfoundation.org. It was quite rightly suggested that it was appropriate to post them here too and so, somewhat belatedly, I am doing just that. ]
In accordance with the terms of my grant from TPF this is the monthly
report for my work on improving Devel::Cover covering May and June 2014.
Actually, it's really only for May. I did some work on Devel::Cover in June,
but I am not charging that to the grant, so the month referred to here is May.
This month I released versions 1.14 and 1.15.
Perls 5.20.0 and 5.21.0 were released this month and, thanks in no small part to
work by Matthew Horsfall, they are both fully supported by Devel::Cover.
On Saturday I wrote about naming your distribution, and how that should be based on your (lead) module name. ETHER pointed out that if your module is sub-optimally named, then you should also consider renaming your module (and thus probably the distribution) on CPAN Day.
I thought it would be helpful to expand on that, and give some pointers to resources that might help you with naming.
A while ago I've registered perlpolls.com and perlsurveys.com but in the end I have not done anything with them. They are about to expire and I don't intend to renew them. If any of you is interested in these domains, please let me know and I can pass the ownership.
Quite a while I got interested in the idea of short, clear examples showing Perl as glue for CPAN. I recently refound these, and they caught my imagination: