YAPC::Europe 2013 video

A short video about the venue and slides requirements.

Yet another try/catch module

Try::Tiny is nice. But it's just an eval wrapper. Most of the time I have to catch exceptions by specifying their isas. And I want to receive an object in every catch callback, without overriding the global $SIG{__DIE__}. I like Error::Simple, but it's not supported and not recommended. That's why I decided to reimplement it.

YAPC::Europe 2013. Week minus 27. Current progress

Time definitely flies. We're almost the half way towards our journey's destination -- YAPC::Europe 2013 in Kiev. Here is a quick wrap-up of the current progress and the future plans.

Design by contract in Perl

Design by Contract is a programming approach when method calls are checked againts specific requirements by embedded in the language or implemented as a library functions. Usually incoming and outgoing values are checked, sometimes it is possible to check the throwable exceptions. Below are various modules that allow contracts in Perl.

Scraping pages full of JavaScript

When scraping internet websites I use Web::Scraper. It's simple, readable and very handy. I can use XPath and CSS3 selectors or can get raw HTML and parse it with regexps when in despair. But sometimes the pages are full of JavaScript that is required to be run in order to modify the DOM, do some adjustments and so on. Good thing Web::Scraper does not only accepts URLs but the raw content also. So let's use WebKit to render the HTML!

Testing WebSockets from console

Since August 2012 Protocol::WebSocket is shipped with a websocket console application (under util/ directory), that can be used for testing, debugging and/or learning more about websockets.

YAPC::Europe 2013 in Kiev, week minus 41. Venues

As I am in the org team of the next YAPC::Europe in Kiev, I have some news about the venues. I have been visiting all the previous selected 7 venues and 2 new that we found on the way. Not an easy task I should say. So here is my report.

YAPC::Brazil 2012!

Yesterday I came back to Kiev from YAPC::Brazil 2012 in Sao Paulo. To say the trip was great is to say nothing. And of course all the karma goes to @garu for hosting us in Rio and taking care of us in Brazil in general!

YAPC::Europe 2013. Week −49

As I am in the org team of the next YAPC::Europe in Kiev, I have some good news for you, fellow Perlers! But first a short note about the venue. We started going to the every venue (out of 7 selected previously), meeting the people there, getting all the details we need for choosing the best one. We have prepared an extensive list of the things that must be present, so we won't forget anything. As usual, if you have any suggestions what a venue of your dream must be ping us on twitter. And now to the fun part.

Test::More inside of Test::More

While working on http://perltuts.com I had to write a test runner what would test tutorial exercises. It would create a Perl package that uses Test::More than evaluate it, catch the output and return to the caller. This was easy. But than as a good Perl guy I had to test it, actually I had to write a test before writing an implementation, but that's another story! So... I wanted to test it with a Test::Class (uses Test::Builder internally). Needless to say it didn't work, because Test::More is an evil singleton! I had to deploy soon so I had to do something. And I did. I did a very dirty thing and it worked.