Logging Hell
Thomas Klausner will give a talk at YAPC::Europe 2012 described as
Logging looks so easy, yet it's very hard to get right. A hateful rant about logging in general and several CPAN modules that "help" with logging.
Thomas Klausner will give a talk at YAPC::Europe 2012 described as
Logging looks so easy, yet it's very hard to get right. A hateful rant about logging in general and several CPAN modules that "help" with logging.
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
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
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)
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!
I created a page and listed some restaurants which are vegan/vegetarian or have vegan options:
http://act.yapc.eu/ye2012/wiki?node=Food
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.
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
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!
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.
Here are the most popular ebooks from Jun 25 2012 to Jul 1 2012:
Modulehello world! this is my perl blog!
With all I've written about regarding YAPC::NA 2012, I forgot one crucial thing: to thank those who made the conference what it was: fucking amazing!
I want to thank JT Smith and the Mad Mongers who were really both mad and mongering!
I want to thank all the people I've met during the conference, who both enriched and tolerated me, which I'm sure wasn't easy. :)
To the sponsors who made it possible for JT and Mad Mongers to set up such a conference.
It was my first NA conference, my first US trip and an experience I'm not likely to forget any time soon.
My hat's off to you.
Also, we're opening a new foundation called "Dancing Scientists", which will incorporate the best of both worlds. Here are the founding members, in their default stance, thanks to garu:
Kenichi Ishigaki will give a talk at YAPC::Europe 2012 described as
I've started maintaining a CPANTS (Kwalitee) website since YAPC::Asia 2011, and now the site is being redirected from cpants.perl.org.In this session, I'd like to share some of the tools I made to maintain it. I'll also explain what's going on behind the scene.
"You know," I said to my friend C. Auguste Dupin, "I can not help feeling that there must be a simpler solution for M. Tueur's problem of the Incompatible Safe".
"But there is, mon ami -- now."
"Now? Why now and not before?"
"Because in the interim, M. Garcia-Suarez, the author of the Safe module, has enhanced it to work nicely with Devel::Cover."
"Wonderful," I replied. "It must have been a complicated matter."
"Simplicity itself, mon ami. He simply adds '&Devel::Cover::use_file'
to the default share list if Devel::Cover
is detected."
"So, Dupin, you know this M. Suarez-Garcia and informed him of the problem?"
"Non, mon ami, this was done without my involvement. Though it would be nice to think that your small note upon the problem helped to bring it to his attention."
My apologies to Rafaël Garcia-Suarez and my readers for being so long about writing this epilog. The change was made in version 2.32 released March 31 2012. His solution could probably have been implemented by hand, but though Dupin is certainly smart enough to figure this out, I was not.
No, I do not consider a blog entry a substitute for an RT ticket, but in this case I was unsure which module to ticket, and then other things in life intervened.
Note: although this article is directed at current PDL users, I would particularly appreciate the opinion of Perl users who are considering using PDL. Does my assessment seem accurate to you?
I was just watching a few of the talks on youtube from from YAPC::NA that I wanted to attend in Madison but could not because I was busy (writing my talks) or attending other talks. And it reminded me of the revelation that I had at YAPC. Although I am not looking for a job, I spoke with the sponsors at their job booths, just to get a feel for what's out there. Is it possible for a Perl programmer to get a job doing real data crunching? The answer, happily, was "yes".
I have a distributed design problem that I thought Monks might find interesting and perhaps be willing to offer suggestions on.
The Setup
I'm writing real time bidding software. It works like this:
Point number 3 above means I don't find out if I've won a request until shortly after I've made the request.
Currently, on a server farm of about 36 boxes, we're receiving roughly 400 bid requests a second, or about 11 requests/second per box. This is an extremely light load and will likely increase by one or two orders of magnitude when the system goes live.
We have various campaigns, each with individual daily and total budgets that cannot be overspent (a bit of wiggle room is allowed). The servers run separate databases and the only shared data source we have is a Redis server with two slaves, though we could implement others.
So that's the setup. Now on to the problem.
Maik Hentsche will give a talk at YAPC::Europe 2012 described as
At the OSRC we run a test infrastructure to test Linux in many orthogonal dimensions: hardware generations, software visible features, kernel branches, Linux-based distributions, virtualization with upstream or distro-specific Xen and KVM, multi-machine scenarios, and running in simulators. Inside of those dimensions we cover regression, functional, and stress tests, benchmarks, guest migration, and reboot and suspend/resume tests.This talk will give an overview of our test infrastructure (codename "Tapper") and dive deeper into some interesting technical topics like the machine scheduler and the query interface, show the combination of open-source standard protocols and tools to glue everything together, and how we break down that complexity into easy but powerful, scriptable APIs with no client-side toolchain dependencies for the users.
print 'hello world! \n'; #code test
The Game Crafter is a Perl-shop that allows anyone to create their own board game or card game. The website and the backend code is in Perl. It's providing Perl jobs, and more important, Perl initiative. It shows not only that Perl is alive and well, but that it creates some of the more fun things that are going on.
They were at YAPC::NA 2012 and provided game night with lots of board decks (many of which were given away) and board games for all of us to play.
There is a competition to get $250,000 (!!) of sponsorship for startups. If you have Facebook, you can vote for The Game Crafter to get this money.
Here are the five step instructions.
They have only two more days of voting. Get to it!
blogs.perl.org is a common blogging platform for the Perl community. Written in Perl with a graphic design donated by Six Apart, Ltd.