Development Tools-As-Services Are A Cash Crop

These days, lots of software development tools are turning into hosted services. GitHub and VCS hosting are the most obvious example, but there are others too. Most recently, I came across http://codeclimate.com which provides static analysis services for Ruby code. I think there are some great opportunities for an enterprising Perl developer to cash in here. Read on to learn more...

Reverse proxy with Mojolicious

This is my first post to the perl community also if i play with perl since a long time. In my working environment i choose mojolicious as a framework for my web apps but sometimes happens that a bit of php is needed (not obviously by me).
In have more web-apps in an internal network that needed a virtual name dispatcher, i could use nginx or apache mod_proxy but was very odd to me that wasn't a perl software that do that job easily and less painful.
After a little search i found Mojolicious::Plugin::Proxy but didn't have support for cookie so i was really unhappy :(
So i developed a little reverse proxy using mojolicious (so can leverage the hypnotoad workers management out of the box).
Mojolicious is so fun with a couple of lines you just accomplish your job.
With 6 lines you have your request cloned and dispatched.
Now the software reads YAML files to define configured virtual host and its routes.
The project it's not intended as a Mojolicious::Plugin because i think that with a bit of community effort this software can become a light webapp deployer and manager (that i felt it's missing out there).
If you are interested, and you may find it useful like me, bugfixes and developers are welcome :)
The project is hosted on Github

Perl Startups: Lokku/Nestoria

In the first part of the "Perl Startups" intermittent series of blog posts, I interviewed JT Smith about the Lacuna Expanse. For the next post, I was very interested in Lokku/Nestoria. Many of you probably don't know much about them, but I learned about them when I was living in London and found them to be a great company and nice people. Recently I interviewed Alex Balhatchet (CPAN account, the CTO of Lokku/Nestoria and his company's love of Perl and the Perl community.

Smoking CPAN in one line

I'm using CPAN::SQLite. I don't like it and I'm trying to improve the locking issues with concurrent process all trying to read from cpandb.sql by writing a new CPAN::UnQLite. But this is something else.

Today I want to smoke whole CPAN in one line to check the new experimental return-or check by Niels Thykier for "Possible precedence issue with control flow", for which we filed several bug reports in the last two days. See https://paste.debian.net/16932/ and perl #59802. To repro add this patch from Niels to latest blead, if it's not already included.

Modules ported to p5-mop

I recently started porting Plack to the p5-mop and yesterday I completed the "straight" port of the code. This means I didn't try to refactor anything to take advantage of any p5-mop features, I just converted plain Perl classes to their p5-mop equivalent.

My main reasoning for doing this was that I really wanted to push this prototype in real world scenarios, not just contrived tests and simplistic examples. This is a mistake I believe we made with the first prototype. So that said, I am happy to report that all 1152 of the Plack tests are passing.

German Perl Workshop 2014 - New ACT design - T-246 days

Just a quick update. We're not only enjoying the great summer, but also working on a more contemporary design for our website. The current looks were inherited from the late 90s. Granted, we're just the proverbial programmers without much design skill, but the web is full of inspiration.

So look forward to a better-looking and hopefully more user-friendly website in the coming weeks.

DE: http://www.perl-community.de/bat/poard/message/168933

Post by Perleone

Genuine Perl on RHEL

We all know that RHEL decoupled perl and real perl is shipped with "perl-core" package. However recently I found that even perl-core is not a real perl sometimes (at leas in CentOS 6 minimal netinstall), and this can cause weird bugs.

I reported this to RHEL, and seems that is going to be fixed!

Japanese Perl comunity for newbie, Perl entrance.

I introduce Japanese activities, Perl entrance(Perl入学式, Perl Nyuugaku shiki)

Perl Entrance in Fukuoka(Public site)

Perl Entrance

This is perl community for Perl newbie by papix.Instructor teach perl introduction using slide.And there are several supporters. They support newbie.

I think it is important for young people to know perl. Many people say that perl is old language.

Perl is given old flavor compared to ruby and python. but it is not truth. Old never equal to bad. Perl have many good features.

I'm glad that many young people join Perl entrance.
If you have opportunity, let's create or join perl community for newbie.

Before you use a rainbow color map, read...


...this.

Make me do some work, via Questhub!

I'm on a quest to fix up the Changes file for at least 10 distributions on CPAN. For every additional 'like' I get on my quest, I'll fix up another dist. This was inspired by a recent entry on the CPAN Testers blog, which mentioned Brian Cassidy's CPAN::Changes Kwalitee Service. The service shows how many dists have conforming Changes files, and results for recent uploads.

Contribute to Perl by completing quests on Questhub

Initially launched as Play Perl, Questhub is now a general place where groups of people can share their tasks as quests, and vote on quests to encourage each other. Play Perl is now the Perl realm on Questhub.

Contributing to Perl and the Perl community was never so easy. Last week Questhub gained support for stencils: pre-scripted quests with clear instructions, and bonus points. The perl realm now has an initial set of stencils, each of which defines a specific way you can contribute to Perl, CPAN or the Perl Foundation. Some of these only require a few minutes, some require a larger commitment of your time.

I am creating Perl tutorial site for newbie "Sampuru codo ni yoru perl nyuumon"

I am creating Perl tutorial for newbie "Sanpuru codo ni yoru perl nyuumon"(Perl Tutorial by code examples)

Sampuru codo ni yoru perl nyuumon

This is site for perl newbie.

I hear that perl is dirty, not cool, very loose. Ruby is good, python is good.
But Perl is good language.
Perl have ability to write code clean and beatutiful.

For example, Mojolicious have clean code.
This is perl.

The big reason perl is said dirty is perl very old code which is more than ten years old.
In the old days, non-programer write perl code for CGI script to create Web site.
The old perl code is dirty, but latest perl code is not dirty.

Perl is fast, light, and stable, less-memory.

I think Perl need more understandable tutrial which have examples.

Send-A-Newbie 2013

It is with great pleasure that I announce that Theo J. van Hoesel and Mihai Pop have been awarded places on this year's Send-A-Newbie Initiative, from the Enlightened Perl Organisation, and will have fully sponsored attendance to the Yet Another Perl Conference, Europe in Kiev from the 12th to the 14th August 2013.

As with other years the selection process was relatively straightforward and this year we offerred places to four candidates, however due to unforseen circumstances only two of them have so far been able to confirm their attendance and book places.

We would like to thank our sponsors for their continued support of this initiative and to those who made donations at the London Perl Workshop and online through the donation system.

If you are attending this year's YAPC::EU::2013 in Kiev I thoroughly encourgae you to seek out the neophytes and welcome them to our community. As always we will be re-starting the initiative in the autumn in anticipation of the 2014 conference season.

Please consider joining the Enlightened Perl Organisation or donating to next year's Send-A-Newbie initiative

function return in scalar context

sub lowercase {
    return map { lc } @_ ;
}

$jim = lowercase('jim') ;
print "$jim\n" ;

Naturally that this snippet of code prints 1. I understand the explanation of "an array in scalar context blah blah blah". But it's so counter-intuitive because many functions are intended to mutate each element in a list. Presumably one should define separate functions depending on whether an array is expected, but that's so non-perlish. There's no elegant way to throw the wantarray operator in that example function. And even if there was, it's awkward to use the same idiom repeatedly.

I'd prefer simply to use a pragma such as the following:

Salt Lake Perl Mongers welcome Damian Conway, August 1st

Salt Lake Perl Mongers, with help from Bluehost, and Utah Open Source are pleased to announce a special presentation by Damian Conway:

Temporally Quaquaversal Virtual Nanomachine Programming In Multiple Topologically Connected Quantum-Relativistic Parallel Spacetimes...Made Easy!

Now who could miss that?! (It is free, after all.)

Date: Thursday, August 1st at 7:15pm (Parking is free after 7:00pm.)
Location: Utah Valley University, Liberal Arts Building, Room 101.

Reservations are recommended; visit the Salt Lake Perl Mongers website for details.

The talk will last about 90 minutes, followed by a Q&A session. If you're within driving range of our venue in Orem, UT, or happen to be in Utah August 1st, -- quoting one of our members -- "Your nerd card will be revoked if you miss this."

Here's the synopsis of Damian's talk:

Firebase with perl

I was looking at ways to add instant notifications for a social feature that we are working on for the new version of Brainturk.com, I came across Firebase which is a scalable real-time backend database that makes it easy to build real time apps.

I wanted to use this from my server as well as from Javascript and looking at their libraries for custom generators they have libraries for ( php, python, ruby, node, java , .net ) but no perl library was available.

The beauty of CSV

So I'm working on a site right now that will be powered by Perl on the back and d3.js on the front.

And here's what I'm loving about d3, I can feed it CSV files. Yup. Not JSON. Not XML. Good old CSV.

I know, it's a bit primitive. And there's a good chance at some point I end up JSONing everything up. But I love me some CSV. And there are 551 CPAN packages for pushing, pulling, parsing, encoding or otherwise mangling it.

A note for users of Tree and Tree::Binary

There used to be 2 Tree::Binary modules on CPAN: One standalone and one within
Tree. The latter is now Tree::Binary2.

Please ensure the one you're using is the one you think you're using!

'Nuff said.

Figures from Week One of London Perl Workshop

It has been a week since the announcement of the London Perl Workshop hit the inboxes of all those on the announce list and was first populated across the internets. In the first of a series of weekly reports we look at what has happened in the past seven days in our Facts and Figures news.

Sponsors:
We have been happy to announce a new sponsor in the first week and the enticing news is that there should be a few more joining them in next weeks news (as evidenced by the news items today). We would like to firstly say a big hello to AntibodyMX, Magnum Solutions, Shadowcat Systems, the Enlightened Perl Organisation and the University of Westminster who joined us before the announcement last week. Joining them has been Nestoria who have been a long time supporter, sponsor and contributor to the event, it is good to have you along.

Submitted Talks:
We have had two talks submitted already:

John Davies has submitted: Bug driven documentation

Traits, traits and more traits

So, a few days ago I posted about adding p6-style traits to the p5-mop, a couple days later I posted about how they helped me keep things simple when adding overload support to the p5-mop. Since this is a new approach and has not had the benefit of battle testing that the subclass/role heavy Moose approach has, I have been experimenting with it to see how far it can be taken.

About blogs.perl.org

blogs.perl.org is a common blogging platform for the Perl community. Written in Perl with a graphic design donated by Six Apart, Ltd.