Podcast with Jesse Vincent

Not so much about Perl, but Jesse Vincent and I did a Podcast episode where we talked about his keyboard.

Tut # 7: jQuery, Ajax, xml, Perl, databases and utf8

I've tried to cover significant interactions between the topics mentioned in the Title above:

Tutorial # 7

The tutorial includes references to various now more-or-less standard documents, or collections thereof, pertaining to Perl, databases and utf8.

Perl Open Report Framework 0.901 released

Hi all,

I startet last month with developing a new Report Framework for Perl:

Perl Open Report Framework

It is really open, really a framework and so easy to use and develop only in Perl.

Documentation is in work, but first code - containing examples - is available as tarball at:

http://www.jupiter-programs.de/prj_public/porf/Porf.0.901.tar.gz

A little information in german can be found at
http://www.jupiter-programs.de/prj_public/porf/index.htm and
http://porf-jpr1965.blogspot.de/2013/05/hier-gibt-es-alle-informationen-uber.html

Waiting for comments,

bye Ralf.

Perl Hunter Job Leads

The Perl Hunter has several new job leads. Check them out on the Perl
jobs web site. If you are interested, send your resume in PDF and code
samples (URL is fine) to PDF at PerlHunter.com

http://jobs.perl.org/job/17351
http://jobs.perl.org/job/17355
http://jobs.perl.org/job/17353

Alien::Base Final Report

I have just sent my grant manager, Makoto Nozaki, my final grant report for Alien::Base. As I have said in the report, it has been slowed recently by my Ph.D. Thesis and Defense (successful!) and the lack of Mac CPANTesters (or at least the lack of reports on my testing modules). TL;DR, Alien::Base is essentially ready, but work still needs to be done, and will continue.

The report is included after the break.

Improved autobox-ing. I'm loving it :o)

print (0..9)->grep { $_ > 5 }
            ->map  { $_ * 2 }
            ->join(' - ');

 # prints: 12 - 14 - 16 - 18

Isn’t that nice ? It is now possible with

use autobox::Core;    
use PerlX::MethodCallWithBlock; 

Tags now available with Test::Class::Moose

Side note: Why did I miss that last Perl QA-Hackathon? I've attended every one since they started ... except for the last one. I missed it because the damned French government can't get around to reissuing my damned visa, despite the fact that they're legally required to. I've also had to pass on some business opportunities and a trip Romania. /me is very unhappy with France right now.

So I've finally gotten around to updating Test::Class::Moose to have tags. You can read my previous post when I explain why they're useful. You can go out to github and grab it now, or wait a bit for it to hit your favorite CPAN mirror.

The constructor is very straightforward. For the case I previously described when the network went down? Skip test methods with a network tag!

Test::Class::Moose->new(
    exclude_tags => 'network', # scalar or arrayref of tags
)->runtests;

Type::Tiny - not just for attributes

OK, so I've gotten back from the May Day parade, had some lunch, and now it's time for me to write about Type::Tiny some more...

German Perl Workshop 2014 is on its way to Hanover - T-324 days

In my last post I had promised to write an update on the status of the GPW 2014 in May. It is only a minor update, but here it is.

We are happy to announce that everything is working out great so far. We've found a really cool venue. It's pretty central and will fit up to 200 perl hackers comfortably. We have also made progress on getting the talks on video.

Regarding the social event we are still in the finding phase and do not have any concrete information yet.

The progress on the official Act website is good, too. I will be online at the beginning of June.

German version: http://www.perl-community.de/bat/poard/message/167728

The clearest way(s) to check if a List contains...

There is more than one way to do it.Toby Inkster’s Creating your own Perl hits the nail on the head: with Perl you can choose the language that you code in

"So go on; create your own Perl. Make it your gift to yourself." 

( Syntax::Collector makes it very simple, and will also help you bundle your “most used modules” - more useful modules in Toby’s article)

Today i’m going to explore one aspect of the Perl language:

how do you check that a list contains a given element?

Perl 5 Porters Weekly: April 29-May 5, 2013

Welcome to Perl 5 Porters Weekly, a summary of the email traffic of the perl5-porters email list.

Topics this week include:

  • Sequence (?#...) not recognized in regex
  • How on earth did we manage to break pack() so badly?
  • DAVEM TPF Grant April Report
  • Problems with Carp::longmess() in 5.17.10 and before
  • What does PERL_HASH_SEED do?

Upgrading CORE Perl Modules? Use UNINST=1!

This one is easy to miss if you only develop in Perl part-time. If you have to upgrade a CORE module (usually because another module needs that upgraded CORE module), then you need to add UNINST=1 to your make(1) invocation.

There are few things more aggravating than to "make install" several times with different tweaks only to always end up with the same, out-of-date module stubbornly still installed. All for the lack of an UNINST=1.

QA Hackathon Website Update

The QA Hackathon website has had a bit of an update today. Primarily a new page and new photos have been added, but plenty of other updates have been included too.

Pinto Tutorial in 8 languages

A few days ago Viacheslav Tykhanovskyi (aka vti) has published the Russian version of the Pinto Tutorial Jeffrey Thalhammer wrote.

In the meantime we also got access to the English version and prepared translations of the article. I am really glad to announce that just within a few days
there are now 8 versions of the tutorial:

The original publication in Russian on the Pragmatic Perl site, the Pinto Tutorial in English , and in 6 other languages:

Similar to the Pinto Tutorial, there are many other articles on the Perl Maven site that have been translated. For each page, on the left-hand side you can find links to other versions of the specific article.

I am really impressed with all the work the translators have been doing in the past several weeks. For the list of contributors, and for the number of pages each language has, visit our Meta site.

#perl6 highlights/summary for April 25th - May 1st 2013

A highlights/summary of recent activity and discussion on the #perl6 IRC channel on Freenode.net:

  • nwc10: "jnthn: WTF did you just do? nqp head is 28% faster than 5 hours ago"
  • nwc10 noted a 10-fold speed up for some NQP code: "nqp-jvm: 1.4725e+02 ... nqp-parrot: 2.0425e+03".
  • pmichaud landed Rakudo commits to "Speed up repeated shifts of large lists/arrays by 70%+" noting that "More improvements are coming; this patch just gets a couple of the current big bottlenecks out of the way".

More in the full post...

It's time to admit I've failed

Two days ago I was so excited! I had an idea how to make the Perl world a bit better, faster and simpler. Of course, I didn’t spread such exciting news until I checked and double-checked and benchmarked, until I’m absolutely sure I’ve found The Holy Grail.

Well, see the title. It hurts. All my benchmarks contained a terrible mistake. And those +20%, or, maybe even +100% speed boost PugiXML interface could provide doesn’t worth all the buzz I created.

I apologize.

Interview with Pragmatic Perl in English

I was recently interviews to the Russian online Perl magazine Pragmatic Perl. It was a pleasure and truly an honor. The last issue just came out and the interview is appearing there in Russian. If you speak Russian, go ahead and read it here.

If, like me, you do not speak Russian, following is the uncensored version in English.

/usr/local/bin rant

So, imagine you're a CentOS user, and you want to install a CPAN module into the system. Let's say you want to install cpanm.

You get the root shell with sudo -s.
You enter: cpan App-cpanminus.
And then you enter: cpanm --help... and oops:

[root@localhost vagrant]# cpanm --help
bash: cpanm: command not found

WAT?

Reviewing web frameworks

One of my next reviews is going to be web frameworks. I've posted my current plans on my new blog, where I'll be recording progress as I work through the review. I plan to implement the same application in each of the main frameworks I review, but would also be happy if others want to join in.

Introducing Text::ANSITable

Even in the good old days of DOS, we already had color tables and extended ASCII characters to draw various border styles. So why limit ourselves with something like Text::ASCIITable? Introducing Text::ANSITable to make your text tables look pretty in terminals. See pictures for some examples:

Features:

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.