Issue #103 - 2013-07-15 - How to make a viral video?

latest | archive | by Gabor Szabo

Hi,

there are quite a few very interesting articles and announcements this week. So I think I'll just let you go ahead and check them out:

Enjoy!


Sponsors

We're Hiring Telecommuters - Grant Street Group

We're a growing software company using open source software/modern Perl practices to build innovative e-payment, auction, and tax collection web applications.
We're looking for talented, motivated professionals committed to flawless work and customer service.
Email resume: 106686-CS-6734@grantstreet.hrmdirect.com


Announcements

Data::Dumper::GUI

Have you ever dealt with data structures that were too large to fit in your screen? Or do you have 1024 inch screen? Toby Inkster created a module that you can use as a simple replacement of Data::Dumper inside your code, and that will open a window, a real desktop GUI window(!) where you can drill down in your data structure. After installing the module you could already try it with this statement as well: perl -MData::Dumper::GUI -e 'Dumper {%INC}' to see which modules are loaded by perl and by Data::Dumper::GUI together.

jam - glue between pinto and scm

I am not entirely sure I like that instead of adding a feature to an existing project, people create a new tool because one feature was missing. OTOH, I love the fact that people are creating solutions to problems, so let's see what Alexey Melezhik builds.


Articles

Retry failed Gearman jobs

Gearman manages your computational tasks and hands them out to available workers. It can do it in a fault tolerant way. Sebastian Willing is showing us how to retry failed jobs.

Arrays vs. Lists in Perl: What's the Difference?

Mike Friedman provides a detailed explanation to the phenomenon. I think one of the commenters put it quite right, that basically lists are 'array literals'. There are of course differences, just as there are differences between $x and a string 'abcd' you could put in that scalar variable. (OK, between lists and arrays there might be a few more edge cases.)

The grep test - my personal experience

The grep test basically means that you should be able to grep for any meaningful string in your code base to find out the usage of those keywords. This sounds like a very reasonable approach and a good way to explain it, but what would you do if you had a piece of code where you get the name of a method passed to you and you call that method using the variable name? How can the name of that method grepped?


Discussion

Fiddling with the metacpan.org URLs

Olaf Alders, the leader of the Meta::CPAN projects asks your input on how the URLs on MetaCPAN.org should look like. As this is one of the most important web sites for any Perl user, you should probably take a look at the issue. In a nutshell, what should be the fixed URL of a script supplied in a CPAN package?


Testing

Fennec V2.x - Testing made better

Chad Granum has released the second version of his test module. It is a testing framework built on top of Test::More and Test::Builder so it is familiar to you. It looks like something I should try.

CPAN Testers Server Outage

There was an outage on the CPAN Testers system. It has been already fixed but reports are going to be delayed for a few days.


Community

Crowdsourcing self-confidence

Ribasushi (aka. Peter Rabbitson) the leader of the DBIx::Class project provides a rare glimpse into the world of open source project management. The frustration, the doubt and and the hope. As it turns out, it is not just code. There are real people behind theses things.

There are no Perl events in my country/city...

A couple of days ago I saw one of the bloggers complaining about the above. I could not stop myself from writing this.


Future Perl

p2 progress

p2 or p11 is one of the efforts, primarily of Reini Urban, to create a Virtual Machine that can run both Perl 5 and Perl 6. His current plan is to be able to parse 50% of the Perl 5 syntax by the end of the summer. (He lives in a place where the summer is long.)

Roles in p5-MOP

MOP is the meta-object protocol behind Moose. p5-MOP is the renewed(!) effort of Stevan Little, the author of Moose, to integrate MOP into the core of perl. In the last couple of weeks he made a lot of progress that you can see in his articles.

p5-MOP gets p6 style traits (sorta)

Another article by Stevan Little about the p5-MOP progress. If you'd like to get involved, you need to do it quickly! Before he finishes the whole implementation.


Fun

Scala for Perl 5 Programmers

Not only has Garu (aka. Breno G. de Oliveira) learnt programming in Scala, he also went all the way and prepared a Scala tutorial especially for people with Perl 5 programming background. Oh, and if you'd like to know why to learn Scala: if for nothing else, to be able to contribute to the Moe project. If that isn't interesting to you, then consider the fact that learning foreign languages improves the way you express yourself in your own language.

How to make a viral video.

I loved it! (...and it is only 2:30 min long.)


Web

BreakDancer - a framework for static webpages!

This is a new project announced by Filip Sergot and written in Perl 6.

Perl Startups: Lacuna Expanse

Ovid interviewed JT Smith, creator of the Lacuna Expanse and a few other Perl-based businesses. The written interview covers both the architecture of web-based application, and answers the question 'Why did they use Perl?'

How to create a portable web application in Perl

Yuki Kimoto, a Japanese Perl programmer who created GitPrep (an open source Github clone) now collects a few items showing how to build an application using Mojolicious.


Code

A generator object for Perl 5

Generators, the things that use the yield function, are quite interesting in Python. They might not be the easiest things to wrap your head around, but when you do, they can help you clean up some code. Joel Berger has implemented a module called Generator::Object that can provide you with similar functionality.


Business

APIs and Marketing

A short note from JT about why building an API is also good for marketing.


CPAN

Some articles, especially relevant to CPAN authors, or people who would like to contribute to a CPAN module.

Give your modules a good abstract

Every module on CPAN can have a single line 'abstract' that shows up in many places. This is the 'elevator pitch' of the module. The single line most people will see before they decide to further investigate your module or skip it. So Neil Bowers explains how you can make it better so the biggest number of people can benefit from your work. (Or easily decide that this is not what they need.)

Update on the licenses and the repository links on CPAN

Each package on CPAN comes with one or two META files. Among the many fields they can include the license of the code and a link to the source code repository. In this article I checked again what percentage of recently uploaded CPAN modules have this information. The situation improved from half a year ago, but we still have a long way to go.


Perl 6

All about Perl 6 – interview of Jonathan Worthington (Part 2 of 3)

So how does the JVM back-end and the new MoarVM back-end relate to each other, and why did they keep the development of MoarVM secret? How will Perl 5 inter-operate with Perl 6 on top of the MoarVM?


Weekly collections

Perl Maven Tutorial

Warning when something goes wrong

How to print to the standard error (STDERR), and how to use the warn() function.

Bare Here documents are deprecated - How to find offending code?

What do you think are bare here-documents? I am still not sure, but apparently there are bare ones and barer ones. The latter is gone from perl while the former stays. In the original version of this post I explained how to track down the bare here-documents, but after some detective work done by others, I had to updated the article. So now it contains both the bare and the barer ones.


Events

I usually list the next 3-4 events here. The list of all the events can be found on the web site. If your Perl event is not listed there, please let me know.

patch -p0 hackathon

July 26-28, 2013, Paris, France

Beijing Perl Workshop

August 10, 2013, Beijing, China

YAPC::EU 2013

August 12-14, 2013, Kiev, Ukraine

YAPC::Asia Tokyo

September 19-21, 2013, Keio University Hiyoshi Campus, Tokyo, Japan

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