Robert Blackwell will give a talk at YAPC::NA 2012 described as:
This talk will explain how to have your doorbell do do more. By separating the chime and the button you can do more. I will show how to send a text mesasge and pause your TV when the button pressed. I will also show you how to ring your chime when some sends you a tweet. That will be enough to get you started to do even more cool things.
That works great, and I like the fasct that posting a blog entry is just a regular git push.
My blog is aggregated in some places, but it doesn't appear on
blogs.perl.org, because it's not an aggregator (and that's
cool, it's not its purpose). But, blogs.perl.org audience is big, and I'm
missing all these potential readers (in improbable case people would actually
be interested in what I have to say :) )
Anyway, so I decided to bite the bullet and write a script that would cross
post my entry to blogs.perl.org. I made the script generic enough to work with
different type of blogs, but here I'm going to explain only the blogs.perl.org
specific case.
If you haven’t already made your final travel arrangements for YAPC::NA 2012, what are you waiting for? It’s only one month to the conference, get on it already.
Remember, YAPC::NA 2012 is June 13-15 in Madison, WI. See you there. And bring your spouse!
While I am still working out the bugs from Alien::Base I have released a little scientific side project named Physics::RayTransfer.
Calling all laser physicists! Does modeling your cavity using Ray Transfer (ABCD) matrices bore you? Do you regularly forget to include one of the matrices on the reversed arm on the round trip? Do you hate using that symbolic mathematical language? Try Physics::RayTranser!
It slices, dices, makes julienne fries and of course is a totally object oriented way to model your laser cavities (or other optical systems). No round trip matrices needed!
I have been most fortunate to have been able to visit Zurich every year since 2008, to teach classes at the ETH.
Zurich is one of my favorite cities in the world: there’s something undefinably “civilized” about it. It’s elegant, but vibrant, and yet strangely tranquil too. From the glorious lake-front to the sylvan Zurichberg, its natural beauties always draw me back. Not to mention the wonderful food.
And yet, the reason I keep returning to Zurich is not any of those undeniable attractions. It’s the people I meet and work with there. Smart, serious, witty, genuine, and generous people. Developers, academics, and scientists, who are always a pleasure to teach…and a joy to learn from as well.
This year we’re going to try something a little different in Zurich. My previous visits have always been later in the year, but in 2012 we’re experimenting with a Spring schedule with four completely new classes.
For the past 2.5 months I mostly worked on converting my old Sub::Spec::* modules to the new Perinci::*. Sub::Spec is a mix of specification, convention, and tools to let you decorate functions with documentation as well as everything else, but most commonly argument specification and feature description. This decoration can in turn be used to do various things, from generating POD, to validating arguments, to shell completion.
The reason I picked a new name for the modules is because I want to decorate other code entities too, like variables and packages, thus the prefix "Sub::" is no longer apt. I also took advantage of this opportunity by introducing some backwards-incompatible changes like the change to schema of arguments specification. The specification is now separated more formally into Rinci (a la PSGI vs Plack) where the Perl implementation is called Perinci, short for "Perl Rinci". I envision Pyrinci, Rubinci, and Phinci seeing the light of day someday, though that would most likely be due to the effort of others.
Perrin Harkins will give a talk at YAPC::NA 2012 described as:
Your new viral marketing campaign is working a little too well? Servers are melting? Step right up.
This talk will show you how to use CPAN tools to find and fix performance problems in your web application. The focus will be on using modules to simulate visitors and analyze performance, with some practical advice about possible fixes for different kinds of problems.
After asking several times, Andreas thought he finally understood what the dates mean on the Status page for the CPAN Testers Reports. He started watching and making page requests to see whether his requests were actioned. On Day 3 he pointed out that the date went backwards! Once he'd shown me, I understand now why the first date is confusing. And for anyone else who has been confused by it, you can blame Amazon. SimpleDB sucks. It's why the Metabase is moving to another NoSQL DB.
Some time ago I was invited to write a Perl article to Software Developers Journal. It is (as far as I could gather) a magazine based on Poland. Their website is at http://en.sdjournal.org/. It is a paid magazine, so to read it you should buy the magazine.
Although the magazine doesn’t have good procedures for publication (there isn’t a review phase where the authors can check if everything is fine) we think (yes, I co-authored the article with Nuno “smash” Carvalho) that the article is interesting. Probably with some English errors written by us, and probably with some others introduces by the editors. And yes, it is not our fault that they write Pearl instead of Perl… oh shame…
We are working the permission to post the article in the web. Probably we can in some time. For now, buy the magazine.
This email slipped through Gmail's spam filter just now:
Subject: Hello
My name is Grace, i saw your profile at (www.cpan.org) today and became interested in you, i will also like to know you more, and i want you to send an email to my email address so i can give you my pictures for you to know whom i am. Here is my email address (gracejobe16@yahoo.de) I believe we can move from here. I am waiting for your reply in my mail. Remember the distance or color does not matter but love matters allot in life.
Yours Grace.
I don't know whether I should be sad or glad. Glad for the fact that cpan.org is considered popular enough to be worthy to be phished, or sad that no sites go unphished these days?
Cory Watson will give a talk at YAPC::NA 2012 described as:
Perl web applications have been running for a really long time. What started as CGI scripts has evolved into frameworks and middleware with JavaScript frontends. Perl itself has evolved with Perl 5 barreling along. Our modern applications also use lots of modules from CPAN. How can we use all this new, awesome stuff without making for a deployment nightmare? In recent client work we’ve tackled this problem and we’ve come up with a pretty good solution.
In this talk we’ll take the journey from concept to deployment. We’ll discuss the advantages, limitations and lingering problems. We’ll cover local::lib, cpanm, Dist::Zilla, carton, pinto and how much I hate all of them. We’ll culminate with a self-contained, repeatable, upgradeable Perl application and only a few unsolved gotchas.
Since updating to the latest XCode on OS X Lion, we've been unable to build or use mod_perl 2 on our development machines. If we ignore the test failures and make install anyhow, we get this error message when trying to start Apache:
Cannot load /opt/local/apache2/modules/mod_perl.so into server: dlopen(/opt/local/apache2/modules/mod_perl.so, 10): Symbol not found: _modperl_handler_anon_add
One of our developers discovered this morning that llvm/clang on OS X defaults to C99, but mod_perl expects the 89 "standard". As a result of this thread, we compiled mod_perl in the following manner:
perl Makefile.PL MP_APXS=/path/to/apache/bin/apxs MP_CCOPTS=-std=gnu89
make
make test
make install
And voila, we have a working mod_perl 2 on Lion.
Come to find out, while researching this blog post, the macports people have already run into this:
We welcome booking.com as a Platinum Sponsor of this years' YAPC::Europe. It's amazing to get so much support from companies using Perl. Thanks!
Due to the growth of Booking.com's IT department we are now hiring 30 Perl Developers!
Booking.com is part of Priceline.com and is the World’s #1 Online Hotel Reservations Company, offering over 200,000 hotels worldwide.
We use Perl, Apache, mod_perl, MySQL, Memcache, Mason, JavaScript, Git, Linux & more!
Our software development basis is SCRUM = Agile.
Are you ready to relocate to Amsterdam to an international, result driven, fun & dynamic work environment? Join us! Go to htttp://www.booking.com/jobs to apply.
I just wanted to share a “new to me” script in case its new to any of you too. After a quick twitter exchange between me and @rjbs he told me about the script perl-reversion which is a part of the module Perl::Version.
Just run
perl-reversion -bump
in your distribution folder and it will find and bump the version numbers in all the files! What a time saver when developing! Thanks RJBS for sharing this with me and thanks Andy Armstrong for releasing it!
Edit: A previous version of this post decried the fact that the script was not installed but rather was in the examples folder. After reading further I see that it IS in fact installed by using some Makefile.PL trickery. Why not just put the script in a directory named bin rather than examples and it will be installed without trickery?
Bluehost is one of the leading web hosting firms in the United States. The company has a rock solid shared hosting platform to support individuals, professionals and small businesses. In addition, Bluehost has the best customer support rating (NPS) in the industry. All development at Bluehost is done with Perl. The development team has a number of senior Perl developers who are regular contributors to CPAN, having written modules such as CGI::EX and Template::Alloy. One of the Bluehost developers helped write Strawberry Perl. If you are interested in joining a leading edge Perl development shop, come talk to us at the YAPC job fair.
Basically, the auto-dereferencing, in combination with Perl 5.12 allowing hash operators to extend to arrays, means that part of the problem doesn't care what you have and another part does. When you want to do a single element access, you still have syntax that must denote the reference type. If you have a hash, you need curlies:
foreach my $key ( keys $hash_or_array ) {
my $value = $hash_or_array->{ $key };
}
But, if that's an array reference, you need square braces:
Allright, long long time ago i got this TPF grant. You were all a generous boss to not tackle me because i had other important stuff to do for Perl community (including Perl 6 articles for $foo perl magazine, perlzeitung and heise online - the leading German IT news portal and a modern perl 5 tut to spread the praise of Perl into the free software world). But because slowly are coming in real results, I write now a real grant report the TPF can publish.
Using POD as the basis of documentation for Perl projects is the usual way to do. There are many modules available to convert POD into several formats. However, I was not able to find a module that creates a single PDF file from all the documentation available for e.g. a single project. Typically a series of PDF files are the result of a conversion. Combining these files and creating a hierarchical outline can be hard work.
As a simple aid, we peeked into pod2pdf and wrote a little wrapper around it in order to handle many files and create the outline. Well, this solution is not rock solid, as we rely on its internals but at least it is short and usually creating PDFs is not mission-critical.
Maybe some parts can still be improved, but for people interested, here is my first try: https://gist.github.com/2277444. Feedback welcome!