Your own Task::BeLike::$AUTHOR::Favorited

Do you mark favorite distributions on metacpan.org? Do you want to be able to do:

% cpanm -n Task::BeLike::YOURCPANID::Favorited

to install all your favorite modules in one go?

If yes, install Dist::Create::TaskBeLikeFavorited to create your task distribution, then type:

% create-task-belike-favorited-dist YOURCPANID
% cd Task-BeLike-YOURCPANID-Favorited
% dzil release

You'll probably want to tweak the generated dist.ini prior to dzil release.

An example distribution created by this tool is Task-BeLike-SHARYANTO-Favorited.

You'll also want to run:

% update-task-belike-favorited-dist
% dzil release

from time to time, to update your task, if you add/remove favorites.

Have fun.

A Glimpse of YAPC::Asia Tokyo 2012

So, like my entry on YAPC::Asia Tokyo 2011 last year, I thought I'd give you guys a very brief tour of what it was like this year. Before I start, you can find the full set of photos here, and videos will be uploaded here.

Find my signature in Google NY

Find my signature in the Google NY office, tell me where it is (you're not supposed to take pictures), and I'll send you a set of my books. It's not hidden, but it's not out of place either.

You don't have to work for Google to make good on this. The same technical sourced that gave me the tour can do the same for you. Ask for for the referral and I'll tell you who you have to talk to. If you were at dinner with me and NY.pm at Wildwood, you've already met him.

Google isn't known as a big Perl user, but Google isn't really looking for skills, unlike most companies I visit. They want people who know how things work, and everything after that is just tools.

Maybe I should send Google a set of books too. In there several walls of tech books, they have the right Perl titles, just in older editions.

Stupid benchmarks and a bit of confusion

Please note: the following was done as an exercise in intellectual curiosity and not in any way an example of a real optimization. Any comments about "premature optimization" will be downvoted as soon as we get a voting system ;)

We're deep in the heart of micro-optimizing some extremely performance-intensive code when I stumbled across this:

if ( $number == -1 ) {
    # do something
}

Clearly a numeric comparison isn't expensive and I managed to find a few areas where we could improve some performance, but out of curiosity, I decided to benchmark $number == -1. The -1 is returned if a function failed (because throwing an exception would be far too expensive here) and we test for that. In reality, we only care if the number is less than 0. I was mildly curious to know if I could get a tiny performance increase in bit comparison (again, this was curiosity only. If I have to get this deep in optimization, I have more serious issues than this).

Perl 5 Porters Weekly: September 17-September 23, 2012

[ crossposted from its original blog ]

Welcome to Perl 5 Porters Weekly, a summary of the email traffic on the perl5-porters email list. Normally, I'd have a dusty thread and some "witty" banter here, but I'm just running too far behind for that this week.

Topics this week include:

  • Perl 5.17.4 is now available
  • Parrot 4.8.0 "Spix's Macaw" Released!
  • WANTED: "whole program" benchmarks
  • Changing the Perl error message when a module is not found
  • Subroutine signatures on the blog
  • Why ugly Perl is a guide for optimizing Perl

Graphviz and fixed length paths

Hi

If you're using AT&T's Graphviz and you're interested in finding fixed length paths thru your graphs, there's a new module to help.

You'll need Marpa, and GraphViz2, and GraphViz2::Marpa. These will be installed as pre-reqs.

Then all you need is GraphViz2::Marpa::PathUtils, after it hits CPAN.

You can start reading the docs here.

Cheers

YAPC::Europe 2013 in Kiev, week minus 46. Another 2% off

The time has made its 2% and brought us one week closer to the YAPC::Europe 2013 in Kiev!

This time our main news is that we are also closer to the point when we are able to fix and announce the dates of the conference. This week we explored a couple more venues, and there are only two left in our list.

Kiev-Maidan-week46.jpg

Interestingly, we found a venue we did not met before, and it is the venue that a Python Pycon conference is exploiting in October. So far, there're President Hotel and European University that we will see in the following days. And then -- we select the venue based on different metrics :-)

Trying to hide from the Cloud

I'm trying to get Plync to work with my Nexus 7, mainly because I want non-Google calendar synchronization between my mobile, my desktop and this shiny toy. Authentication works, but the Nexus 7 does not want to list the available folders at all and does not attempt to synchronize the Calendar folder.

To further debug this, having a good+free (or at least, available) ActiveSync server that I could use to debug the network traffic against would be very convenient. $work does not use ActiveSync, so it won't be much use there...

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 hosted by Dave Cross and Aaron Crane, with a design donated by Six Apart, Ltd.