Issue #211 - 2015-08-10 - CPAN Day is Sunday 16th August

latest | archive | by Neil Bowers
Don't miss the next issue!

There is a new version of the MongoDB driver coming for Perl 5, and David would like you to try out the first release candidate.

This Sunday, 16th August, is CPAN Day, and this year marks the 20th anniversary of the first upload to CPAN.

I still don't know what a monad is.

Neil

Neil Bowers


Sponsors

Morgan Stanley Budapest Perl developer for cloud Tweet Facebook Google+

Create internal cloud hosting solutions within Morgan Stanley. As a contributor on our budapest-based team, you will have responsibility to contribute not only to the code, but to the design and engineering of the full PaaS systems.

Front-end with AngularJS, Back-end with Perl Dancer and MongoDB - Save 100 Euro. Tweet Facebook Google+

There are going to be 3 courses at YAPC::EU in Granada, Spain. At one of them you can learn how to use Angular JS together with Perl Dancer. Save 100 Euro by signing up before 14th August!


CPAN News

What's new on CPAN - July 2015 Tweet Facebook Google+
by David Farrell (DFARRELL)

David's monthly curated round-up of new distributions on CPAN, including his personal choice for new module of the month, which comes from Damian Conway.

Announcing the MongoDB Perl driver v1.0.0 Release Candidate Tweet Facebook Google+
by David Golden (DAGOLDEN)

David announced the first release candidate for the Perl MongoDB driver, version 1.0.0. This is a "substantial rewrite" of the original Perl driver, so if you use MongoDB, they'd like you to kick the tyres, and perhaps a little bit more.

Developing virtualhost-aware PSGI applications Tweet Facebook Google+
by Aristotle Pagaltzis (ARISTOTLE)

Aristotle has created Plack::Middleware::MockProxyFrontend to make it easier to test websites where the content served depends on the domain name.

On the status of HTTP::BrowserDetect Tweet Facebook Google+
by Olaf Alders (OALDERS)

This is a state of the HTTP::BrowserDetect nation from Olaf, who has been maintaining it for 5 years. He wants to let us know it's still very much actively maintained, and that he's keen to receive, and quick to act on, pull requests to keep the coverage update. And he also wants to shame those of us who are tardy at merging PRs, and rightly so.

Do something for CPAN Day 2015 Tweet Facebook Google+
by Neil Bowers (NEILB)

CPAN Day is August 16th, and celebrates the date of the first upload to CPAN in 1995. So this coming Sunday marks the 20th anniversary. Why not do something on/for CPAN Day?


Hacking with Perl

Perl ❤ Kickstarter Tweet Facebook Google+
by Arthur Axel "fREW" Schmidt (FREW)

Frew wrote a wee script using WWW::Kickstarter to watch a kickstarter project and let him know when an early bird offer came available (because an existing backer had cancelled).

Fun with Catalyst and Heroku Tweet Facebook Google+
by Gabriele Mambrini (GMAMBRO)

Gabriele shares experiences getting a Catalyst app up and running on Heroku.

Accepting Input from Multiple Sources Tweet Facebook Google+
by David Bradford (DBRADFORD)

David talks through the multi_input function he wrote, so that scripts can take input from STDIN, one or more files, or a default input file. He also illustrates the use of the reverse builtin to invert a hash, which at least two long-term perl hackers weren't aware of.

Finding the index and number of occurrences of a pattern in a string Tweet Facebook Google+
by Daniel Culver (PERLSUFI)

Daniel explains that a common task in bio informatics is to find instances of a pattern in a string. But you often can't use the obvious regexp approach, because you want to find overlapping occurrences of the pattern in the target string. He shows us his solution.

The list monad in Perl and Python Tweet Facebook Google+
by Mark Dominus (MJD)

Mark wrote a Perl version of a previous Haskell program using a list monad to solve a cryptarithm puzzle. In writing this I decided I should find out what a monad is. I found various pages declaring themselves to be simple explanations of monads, but I'm not sharing the links here, because I still don't understand monads :-)


Windows

Test failures and directory separators: Take N Tweet Facebook Google+
by Sinan Unur (NANIS)

Sinan tested Inline::CPP on Windows 8.1 and had some test failures. He steps us through the path to fixing them, which as you can guess from the title, came down to directory separators.

ActiveState: What's Next? Tweet Facebook Google+

ActiveState address the question of what's going to happen to them given the sale of their Stackato (PaaS) business to HP.


Community

RFC: Perl software of the year award Tweet Facebook Google+
by Makoto Nozaki

Nozaki-san wonders whether there should be a (monetary) award for "best Perl application" each year, to try and make a bit more noise about successful Perl apps. He wants to hear what we think, so why not let him know?

Evangelizing Perl Tweet Facebook Google+

Notes from Stuart's talk to Sydney.PM about ways you can "spread the word" about Perl.

Make yourself heard Tweet Facebook Google+
by Peter Rabbitson (RIBASUSHI)

Ribasushi gave a lightning talk at YAPC:NA this year, and tweeted about the topic again this week. His message was: if there's something you don't like about a module, it's easy to let the author know by sending email to the RT mail alias. I thought it would be neat to have a bug email demultiplexor for CPAN, where we could email dist-name@bug.perl.org and it would check whether the dist has a specified bug tracker, using that if so, or RT otherwise. But Ribasushi pointed out that GitHub's T's & C's don't allow this kind of automatic bug submission.


Perl 5

Visualizing Perl 5 Release History – 2015 edition Tweet Facebook Google+
by David Golden (DAGOLDEN)

David periodically publishes a chart that shows the dates of the Perl 5 stable releases; this one shows from 5.4 to the most recent 5.22. The thing that really stands out is the steady march of yearly releases from 5.12 onwards.


Perl Tutorials

Beginner Perl Maven video course Tweet Facebook Google+
by Gabor Szabo (SZABGAB)

The slidecast Perl tutorial has passed 177 freely available episodes. Available on YouTube or downloadable from the Perl Maven site.


Perl 6

Fixing lots of RTs, digging into the GLR Tweet Facebook Google+
by Jonathan Worthington (JONATHAN)

Jonathan is taking the lead on the Great List Refactor, he fixed some issues related to our-scoped things inside roles, and a bunch of other thing besides.

Refactoring Very Old Perl 5 in Perl 6 Tweet Facebook Google+
by Aaron Baugher

Aaron took a Perl 5 script that he wrote ages ago, but has been using ever ince, and rewrote it in Perl 6. He talks through the new script, explaining it step by step. And it prompted some good discussion in the comments.

Benchmarking index() and regex in Perl 6 Tweet Facebook Google+
by Aaron Baugher

Following on from an earlier blog post, and comment from Liz, Aaron compared the performance of index() with a regexp, and found that for his case index was 10 times faster than his best regexp, and 100 times faster than his first solution.

Using Unicode in Emacs for Perl 6 Tweet Facebook Google+
by Aaron Baugher

Aaron's shows how he made it easier to enter more exotic characters in Emacs, which you might need to do when you're programming in Perl 6.

ctags now supports Perl 6 Tweet Facebook Google+
by Dmitri Tikhonov (DMITRI)

Support for Perl 6 has been added to ctags; you can grab it from github. If you're not familiar with it, ctags is "a programming tool that generates an index (or tag) file of names found in source and header files of various programming languages", says Wikipedia.


Not Perl

Things That Men Can Do To Be Real Allies For Women In Computing Tweet Facebook Google+

A list of 11 things that men can do to support women in computing.

Falsehoods programmers believe about versions Tweet Facebook Google+
by Caleb Cushing (XENO)

Inspired by a blog post by Jeff Atwood, Caleb put together of falsehoods that programmers sometimes believe about version numbers.

Expert developers don't necessarily make the best tech leads Tweet Facebook Google+

A good discussion about some of the challenges faced on the move from senior developer to tech lead, and why not everyone who's good at the former will be good at the latter. He's written a lot about tech leads, so Patrick's blog is a good source of additional material if you're interested in the topic.

This 90-Day Plan Turns Engineers into Remarkable Managers Tweet Facebook Google+

David Loftesness was the director of engineering at twitter. This is his guide for evolving engineers into good managers.

Postgres Guide Tweet Facebook Google+

"This guide is designed as an aid for beginners and experienced users to find specific tips and explore tools available within Postgres". It was written by Craig Kerstiens (with help from others), who also curates Postgres Weekly.


Perl Maven and Code Maven Articles

TODO in AngularJS Tweet Facebook Google+
by Gabor Szabo (SZABGAB)

The rite of passage entering the land of AngularJS.

Automatic counter using AngularJS Tweet Facebook Google+

Using $timeout for scheduled execution of a function.



You know, you could get the Perl Weekly right in your mailbox. Every Week.
Free of charge!

Just ONE e-mail each Monday. Easy to unsubscribe. No spam. Your e-mail address is safe.
Perl Weekly on Twitter Perl Weekly page on Google+ Like the Perl Weekly on FaceBook RSS Feed of the Perl Weekly. Updated once a week