Damien Krotkine will give a talk at YAPC::Europe 2012 described as
This in *not* a talk about doing a hello world in Dancer, as there are plenty of it. This is a real-life example of using Dancer to address a problem in an elegant and powerful way
At $job, we have cpan mirrors. We want them to stay a bit behind the real CPAN for stability, but we have a tool to update modules from the real CPAN to our mirrors. Cool.
I wanted to have a web interface to trigger it, and monitor the injection. This problem is not a typical one (blog, wiki, CRUD, etc). Here we have a long running operation that shall happen only one at a time, that generates logs to be displayed, with states that need keeping. In this regard, it's interesting to see how Dancer is versatile enough to address these situations with ease.
This talk details how I did that, the technology I used, and the full source code (which is quite short). I used Dancer + WebSocket + AnyEvent + Twiggy + some other stuff.
This talk doesn't require any particular knowledge beyond basic Perl, and very basic web server understanding.
Just a quick note : if you plan to use
MooseX::Singleton, beware ! It
is easy to use and it implements properly what it claims, however it is quite
slow.
If my profilings are corrects, each call to ->instance() calls meta(),
get_metaclass_by_name() one time, and blessed() two times.
So for now I'll avoid it and implement a simplified version using something
similar to this :
Prima is a graphical toolkit actually developed and maintained by Dmitry Karasik, now at version 1.34.
If offers a large set of feature that makes it a good choice for anyone looking for an event driven environment.
Prima basic concept is that of building an application as a process of creating windows, adding any needed menus, childs, images, properties, and relationships and then starting the whole.
The basic use directives to use Prima are:
use Prima;
use Prima::Application;
use Prima::ComboBox;
and so on
or
using the qw syntax:
use Prima qw (Application ComboBox);
When we have available the modules we could start creating a window that will be the main window of our application.
Oleg Komarov will give a talk at YAPC::Europe 2012 described as
Yandex is the leading internet company in Russia, operating the most popular search engine and the most visited website.
Yandex.Direct is a system for the placement of text-based advertising.
Yandex.Direct web interface is a mature Perl project with lots of users and data, a big codebase and a large team.
We always have lots of new features to implement, maintenance problems to solve and legacy code to refactor.
We'd like to give a brief talk on how we do it. Using Perl, of course.
A while ago I saw a post by Ovid on boxing hashes for configuration in Dancer. The idea seemed pretty neat, and I found myself doing something similar in some work for Net-A-Porter, so I wrote a generalized implementation (although the underlying mechanism is different). From the synopsis:
To reset/use another Netflix streaming server, disconnect your Internet service for 5 minutes (as in "turn off your cable/DSL modem"). Once you reconnect your Internet service, Netflix acts as if you had never connected to Netflix before so it assigns you a fresh server. This does not guarantee that you will switch servers, but it has been found agreeable to my practice.
However, I would like to elicit some comments here, especially from members of the discussed gender (that is, if they want to expose themselves). I admit, having never worked or lived in America/Europe/anywhere abroad really, I am pretty oblivious to the politics of the whole thing. Were this done in my country, I would expect no such ballyhoo. Something related to religion, however, ...
On the one hand, the information gathered is publicly available. In fact, most people's names indicate gender pretty clearly. Also, isn't nationality something that can also be the basis of discrimination (for which there are plenty Acme-CPANAuthors dists)?
On the other hand, I never asked for permission for the authors to be listed. But then I was also not asked for permission when included in a couple of other Acme-CPANAuthors dists.
Nevertheless, I understand the good intention of those who requested the library to be pulled.
Here's the short version: gender anonymity is protection, and in a male-dominated community many women prioritize safety. A machine parsible list of female CPAN authors threatens their anonymity even if they're not on it.
Here's the even shorter version: highlighting gender is advanced and should not be done lightly.
A module was recently uploaded to CPAN whose aim was to provide a big list of female CPAN authors. I believe the author had good intentions, or at least nothing more than "I was curious", and has been quite puzzled at the reaction that it's creepy and the requests for it to be deleted. Fortunately, he voluntarily removed the module when asked. Unfortunately, because the community is not well versed in gender politics, this sort of thing is likely to happen again. Here's an opportunity to talk about it so it doesn't.
So after further deliberations (or basically me nagging), I’m allowed to go to YAPC::EU. The rules? I can’t have hobos, drunks, robbers or serial killers as roommates. I have to take a single flight (not 3!) to get to my destination. I can’t stay for more than a week. I can’t have my head cut open. And… I must bring a shirt back. I think I can do it!
So, now that I’m coming to YAPC::EU 2012, there are few things to settle, and I require your assistance.
some things fun: i like dilbert and so should you. Its fun, witty, and its online. You can view every strip online. You could use curl or LWP to download strips, but I used bash and wget to do it: Look! wget --recursive --convert-links -A gif www.dilbert.com #recursively downloads the .gif images from ww.dilbert.com cd www.dilbert.com/dyn/str_strip/000000000/00000000/0000000 #changes to the directory with the strips mv $(find . -name "*.gif" $HOME) #moves the strips to a home directory. I would change this to a directory only for the images
Mark Keating will give a talk at YAPC::Europe 2012 described as
Part One of this ongoing series was presented at YAPC::EU::2011, in this second instalment I shall quickly refresh from part one (a previously on) and then run through with what we are doing in marketing, the state of the Perl promotional world, what we can do next and more...
Caution: may contain Lego, warfare, film references and idle speculation, the audience may bring kittens and beer (but only if they share with the speaker)
This year I attended my first YAPC in Madison, Wisconsin. I first met several Perl community members at OSCON and was amazed at how open, nice, and welcoming everyone has been. I had the same experience at YAPC::NA and I look forward to attending moar YAPC's!
I'd like to thank the organizers and all the of the participants!! I had a great time and I will definitely be participating in the future :D
Imagine you are a brilliant developer who just created a Perl script that takes form submissions from your website and imports them to your ticketing system. Well done! Now you want to set this script to run periodically so that as new requests come in they are automatically submitted to your ticketing system. Working in a Linux environment, you quickly add a line to the crontab to ensure this script runs every 5 minutes.
Perfect! Your done.
Time passes …
One day you start receiving complaints that duplicate tickets are being submitted to your ticketing system. After some investigation, you discover that the number of forms being submitted to your website is more than your script can process before another instance of your script is being called again. This results in your script processing the same form multiple times!
If you ask for vegan options in a restaurant, don't be surprised if not everybody knows what it means - or worse, they think they know it but don't =)
Regarding that Germany still seems to be a developing country. When in doubt, ask explicitly for no dairy products (Milch, Sahne, Käse, Joghurt etc.).
If you are from Frankfurt and know more vegan restaurants or shops, please add them to the wiki page.
We are very pleased to announce that Larry Wall has agreed to join YAPC::Europe 2012. Most of you probably know him as the guy that created Perl itself. Larry will come along with his wife Gloria. If you have attended more conferences you might know her...
We hope Larry will share some of his insights and reflections on Perl/perl, community and the world in general, but we do not currently know what he has planned.
We are however happy to have him and his wife visiting Germany and the YAPC::Europe conference.
Hi everyone, normally I talk to you all, but today I have a special request for all of you who are CPANtesters on Windows. I have been waiting for a couple weeks now for the automated systems to get around to filing tests for Alien::Base but the waiting is starting to hinder progress. I wanted to wait until I got the passing tests on windows before I both
Dive deeper into handling Mac’s problems
Announce an alpha version
So if you are a Windows-based CPANtester or have thought about becoming one and could move Alien::Base up your queue, I would be eternally grateful!