このページは大阪弁化フィルタによって翻訳生成されたんですわ。

翻訳前ページへ


blogs.perl.org - blogging the onion
The Wayback Machine - http://web.archive.org/web/20120425165432/http://blogs.perl.org:80/

So, you want to run a Perl event?

Dan Wright will give a talk at YAPC::NA 2012 described as:

Perl events come in all shapes and sizes ranging from tiny hackathons to a full-fledged YAPC’s.

In this talk, I will cover various lessons learned from years of running Perl events. I’ll reveal some often hidden pitfalls and outline methods for success in running your event. I will also cover some of the resources that are available to help you run your event.

Audience: Perl experience isn’t really relevant to this talk. This t…

Ninja Code

As this is only my second post—my first merely being a plug for a Damian Conway talk at my local Perl Mongers meeting—I thought I’d keep it short and silly.

At OSCON 2008, Amazon had a prominent booth advertising heavily that they were hiring. They didn’t want to hire just anyone. No, the question posed on the large sheet of poster board was, “Are you a ninja coder?” This was combined with a raffle, which as anyone who has ever been to a conference knows, is the most common tool used to get people to hand over their contact information. To enter, one had simply to look over some Perl code written out on that same poster board and tell them what it did. It looked a little something like this:

my $code = qq{
    print 1+1 . "\n";
    $code =~ m/(\d+)\+(\d+)/;
    $new = $1 + $2;
    $code =~ s/\d+\+(\d+)/$2+$new/;
};

for ( 1 .. 10 ) {
    eval($code);
}

Do you see the bug? It’s actually besides the point, but it’s there.

Yes, it should use q{}, or the variables will interpolate on the initial assignment to $code. To the credit of those staffing the booth, when I pointed this out they responded that the original version used single quotes, but people told them it was too hard to read.

I wasn’t content with just figuring out what the code did and fixing a small bug. I think the code itself can be improved upon. So I hacked something up between sessions:

eval($code = q{
    print 1+1 . "\n";
    $code =~ s/(\d+)(\+)(\d+)/"$3$2" . ($1 + $3)/e;
    eval $code;
});

Much better. Not only is it more concise, I was able to remove that pesky loop, so I wouldn’t be bothered by any silly upper bounds. Except for, you know, overflows and stuff. What’s more, it’s given me something to scare interview candidates with.

YAPC::NA *NOT* sold out after all.

I’m very sorry, I posted the sold out message before verifying that my counts were correct. I’m apparently a little too excited about this. =)

Once again, I’m very sorry for posting f…

Alien::Base Perl Foundation Grant Report Month 2

After last month’s breakneck development pace, I knew this month wouldn’t be as gratifying, and indeed it turned into quite a slog.

This month involved lots of little bug fixes, posting dev releases to CPAN, then waiting for test results from CPANtesters. As a side note, there are a larger number of reports coming from Solaris and BSD than I would have expected. Sadly one of the bugs that still hasn’t been sorted out is this recurring Solaris bug when changing working directory. It would appear that I am going to have to find a Solaris box or VirtualBox appliance, since waiting for test results for every fix attempt would take far too long.

I do have some nice things to report. I have received help from fellow WindyCity.pm member David Mertens and new contributor JT Palmer this month, so thanks guys! Next I have just pushed a new dev release which (again) changes the mechanism of dynamic loading; this one more reliant on DynaLoader’s facilities rather than munging ENV variables. This seems to be more platform independent, or I should say, as platform independent as p5p has written into it. I have much faith in them! Preliminary results seem promising. David had been having problems with a candidate Alien:: module that he is writing and this release seems to have fixed it. I hope to see Darwin and Win32 start passing too (gasp).

With that said, I am still targeting more documentation and a basic testing framework before a 0.001 alpha release. Seems like I’m always saying this, but I hope this will be coming shortly.

Fork Alien::Base on Github and note that the 0.000_009 dev release is still contained in the dlopen branch. I will merge it once the tests seem to bear it out.

Post-mortem Linguistics in Zurich

For reasons I don’t entirely understand, it’s been quite a few years since I last gave a public talk in Zurich. Happily, we’ve been able to remedy that on this visit.

Digicomp run a regular seminar series entitled “Open Tuesday” on the first Tuesday of each month, and I’m going to be speaking at that event on (no surprise) Tuesday May 8, from 6pm. Specifically, I’ll be giving my Fun with Dead Languages seminar.

The event is completely free, but they do need people to register so they can manage numbers correctly (just follow the “shopping cart” link on the Open Tuesday webpage)

Meanwhile, my various Perl-related classes at ETH are slowly filling, but there are still plenty of places left if you’re interested in some (entirely new) classes on Test-Driven Development, OO or API design, or optimizing your Perl development processes.

So if you’re in Zurich in early May, sign up for one (or more!) of my events. At very least, drop in to the “Open Tuesday” talk and see me do great and terrible things with ancient langauges.

Damian

Continuous deployment with Perl

Lenz Gschwendtner will give a talk at YAPC::Europe 2012 described as

Continuous Deployment is a big topic if you want to push out code to production as fast as possible. The little pitfall is that it is not that straight forward if you want to use a PP approach. We at iWantMyName came up with a pure perl tool chain all the way from your git repository via integration testing to deployment to your production servers.

My first perl blog

write down my thought, experience and life about perl.

DuckDuckGo and Perl

Torsten Raudssus will give a talk at YAPC::NA 2012 described as:

Talk about DuckDuckGo and Perl. The application and infrastructure of DuckDuckGo and about the Open Source and GreyPAN movement. Also giving an overview how to contribute to DuckDuckGo. Good for beginners to dive into Perl and contribute to a real world service directly.

[From the YAPC::NA Blog.]

About blogs.perl.org

blogs.perl.org is a common blogging platform for the Perl community. Written in Perl and offering the modern features you’ve come to expect in blog platforms, the site is run by Dave Cross and Aaron Crane, with a design donated by Six Apart, Ltd.