Wednesday, August 17, 2011

YAPC::EU 2011 - day 2

The second day started with Damian Conway's keynote "(Re)Developing in Perl 6" where he showed the Perl 6 versions of some of his modules. Usually the new version was one third of the size of the Perl 5 version. His message was: port your CPAN modules now to Perl 6.

Next was Valentin Guillois with "DBIx::Class::Tree::Mobius" about tree representations in SQL databases. He explained materialized paths, nested sets and nested intervals. His module implements the Moebius encoding, which is based on continued fractions. Unfortunately he could not finish his talk, so here are some materials:
I skipped the next two slots, because I was not particularly interested in any of the talks, and used the time to reharse my presentation (which was scheduled for later this day).

After the lunch I was attending Peter Rabbitson's "DBIx::Class guts 1.1 (or how SQL sausage is made)". I was looking forward to this talk, because I switched from Rose::DB::Object to DBIx::Class (and I still want to write a post about my reasons for this) and the initial learning curve is quite steep. Peter explained the four abstractions of DBIC. It made sense to me, but I have to do some homework and study it further.

Now it was "showtime" for me. I presented "Sanitizing HTML 5 with Perl 5". After all, it didn't went so well as in Asheville (YAPC::NA), but it was okay. There were a lot more attendees (thanks to the weak spot I was in - no heavy competition) and the participation (remarks/questions) was higher. I have doubt about the naming: HTML5::Sanitizer. The "HTML5" might be a bit misleading, so I will release it to CPAN as HTML::Sanitizer in the next weeks (and blog about it).

Next was Marcus Ramberg with "Mojolicious - A New Hope". I like Mojo and I don't like it at the same time. :) Marcus talked about Mojo::Client and Mojolicious::Lite. While I like the non-Mojolicious modules (like Mojo::Client), I'm not convinced of Mojolicious for bigger apps. All the examples are too simple. I would like to see an application with lots of controllers. But back to Marcus' talk: It was a nice introduction to the Mojo(licious) module family.

For the next talk the organizers ignored the "I will attend this talk" feature of ACT. Smylers "SSH Can Do That? Tips for Working More Productively with Remote Servers" was totally overbooked. For me the talk had familiar and new material, for others it was all common stuff. Years ago, I was attending a similar talk at the Chemnitz Linuxtage, which contained more stuff. So while it was nicely done, it could have been better.

Today's lightning talks included:
  • architecture of IUseThis.com
  • 14th German Perl Workshop in Erlangen (3. - 5. March 2012)
  • "If you are not on IRC you do not exist" (where I disagree)
  • "Don't optimize for speed" (Paul Johnson) - was really nice
  • Ingy released Larry Wall's presentation software "Stump"
After that we were transfered to the social event, which was at Lido Restaurant. It seemed like we had too few seats, but we made the best out of it and had a good evening.

YAPC::EU 2011 - day 1

Actually, it's already day 3, but I want to keep the chronological order... :)

The main conference started with Larry's keynote. He showed some pictures of Riga and talked about (post)modern Perl.

I attended Carl Maesak's "How not to screw up your business application" next, which was about CQRS (command-query responsibility separation). The basic message was "it is okay to use more than one model" (a normalized one for writing and an denormalized/optimized one for reading).

After that Mallory von Achterberg talked about "HTML5: What it is, what it isn't, and should you use it?". Unfortunately, she could not show all the slides. Eye-opening was the counter until the HTML 5 spec is official, which showed over 3 years left.

Next was Carl Maesak again, with "Making data dance". He talked about the dancing links algorithm from Donald Knuth.

After the lunch break (we got free food at the venue), I attended Jonathon Worthington's "Rakudo Evolved: speed, feedback and hackability", which was about the Rakudo nom branch.

Chisel Wright's "Mostly lazy DBIx::Class testing" showed Test::DBIx::Class::Schema. He also uses Test::Aggregate to avoid the slow schema for every test file.

Next was Zefram with "why time is difficult". He talked about different time systems leading to UTC (coordinated universal time). He must be very interested in this topic as he could answer a lot of questions from the audience.

I missed the next slot, so next were the lightning talks. I just want to mention a few:
  • Leon Timmermann "Reinventing Build.PL" (throw away Module::Build)
  • Peter Rabbitson "Way Too Far Down The Memory Lane" (Sub::Name in pure Perl)
  • Dave Cross "The Perl Community - A Modest Proposal" (Perl Masons and the first rule of Perl Club - funny)
After the lightning talks was the auction. It was not as funny as in last YAPC's, when there were more fun items and competition between the auctioneers. The day ended with dinner in Riga's old city.

Sunday, August 14, 2011

YAPC::EU 2011 - day 0

Mmh, my blog seems to be mostly an YAPC blog this year...

Yesterday I arrived in Riga and took a round through the city centre. In the evening I met the first Perlmongers. Today was "Speaker Training" with Damian Conway and pre conferece meeting.

The speaker training was very interesting, too bad Damian could not give his tutorial last year (I booked it). My talks this year would have been so much better. My talk "Sanitizing HTML 5 with Perl 5" is scheduled for Tuesday - too short for me, to rework everything and apply all of Damian's wisdom.

I made notes on paper and I'm too tired now to type them here. I will do that when YAPC is over. So you can read them, if you are interested.

Tomorrow starts the "real" conference...

Monday, July 4, 2011

YAPC::NA 2011 - day 3

The last day started for me with Jay Shirley's "Building better applications with Data::Manager". Data::Manager combines Data::Verifier and Message::Stack. I agree with one of the first slides of this talk: "data validation != form generation". There are a number of tools, which do both. Other interesting points (straight from my notes):
  • don't marry your tools
  • don't judge a tool by typing (syntax)
  • build UI first, pick method and tools second
  • keep things out of controller
  • red flag: big bunch of ifs in methods
Next was Tatsuhiko Miyagawa with "Deploying Plack web applications". He talked about the different servers first. Starman, Twiggy and FastCGI are good choices. He also demonstrated Plack::Middleware::REPL and Plack::Middleware::InteractiveDebugger, which only work with a single-process server.

Next talks were about ZeroMQ, Facebook::Graph and a comparison of 4 web frameworks. Mateu Hunter showcased Web::Simple, Dancer, Mojolicious::Lite and Tatsumaki. Nice: when asked after his favorite, he replied: Catalyst. :)

Matt agreed, that during his "State of the Velociraptor" talk we were allowed to throw octopuses (from WebGUI) at him. Stevan Little and Cory Watson sat in the front row with lots of "ammunition" :)

Finally there was another round of lightning talks, notable were Dave Rolsky's Courriel talk and Piers Cawley's song.

It was a wonderful time in Asheville and I'm currently at Tennessee to hike in the Great Smoky Mountains National Park. Thanks to all the organizers!

Building better applications with Data::Manager
Building better applications with Data::Manager

Wednesday, June 29, 2011

YAPC::NA 2011 - day 2

Tuesday started with RJBS's "Perl 5.14 for pragmatists". Stable perl releases can now be expected every year. He warned about the usage of "given/when" and smartmatching, followed by all the changes of 5.14. Biggest features in my opinion: \r regex modifier, each on arrayrefs, built-ins on references (push, keys, ...) and new core modules like HTTP::Tiny and JSON::PP.

Later he explained his reasons for avoiding smartmatching (directly from my notes):
  • operands define semantics (everywhere else the operator)
  • 27 different possibilities
  • applied recursive
  • wicked complicated
And for given/when:
  • uses smartmatch implicitely
  • except in 8 cases

The next talk was Jesse Vincent with "Perl 5.16 and beyond". It was a look into the future of Perl 5.

After the lunch break it was time for me. I talked about "Sanitizing HTML 5 with Perl 5", which is about HTML5::Sanitizer. It was my second international talk (last year I talked about "Graphic visualization") and I was pleased with it (I didn't like my performance last year). There are lots of things I can do better, but at least I see a progression. :)

Then I hopped into "Practical AnyEvent", which started parallel to my talk. Stephen showed some AnyEvent examples. And I noted "never run recv on a condvar, use a callback ($cv->cb) and call recv in there", which sounds like a solution to a problem we have in Beetle. But I have to check that, when I'm back in the office.

Next was Rocco Caputo with Reflex. Reflex is the "ORM of event loops" or "reactive programm building blocks". It looked really nice, I have it on my list of things to try out.

I didn't make any notes about the content gaps talk, there was not much Perl in it, at all.

And the day ended with lightning talks:
  • Vala (static typed OO language, for Gtk)
  • Selenium (with Perl)
  • grokbase.com (mailing list archive)
  • Template Toolkit usage mistakes (not using caching)
  • carton (dependency installation in local directory)
  • CPAN modules from far east
    • Furl (fast HTTP client)
    • Server::Starter (hot deployable network server)
    • SQL::Maker (cleaner internals than SQL::Abstract)
    • Test::mysqld (start/stop MySQL server for testing, automatic cleanup)
  • beware the brilliant programmer (more focus on maintenance programming
  • Perl events
  • fat comma (constants cause problems with fat comma, Abigail proposes ,=>)
  • Devel's REPL (mst talked about Eval::WithLexicals)

YAPC::NA 2011 - day 1

Actually it is already the morning of day 3, so I'm a little bit behind. :)

The first day started with Larry's keynote. He wore mst's "Perl is my community" t-shirt, which was auctioned off at last YAPC::EU in Pisa. Larry talked about the community and at the end he had some nice slides about the "renaming Perl [56]" questions. He is against renaming them.

Next were the lightning talks: Jan Dubious presented ActiveState's Stackato. Other talks were about App::GitGot (manage git repositories), Mojolicious::Plugin::Toto, Template::Simple, Sol Genomics Network,Threads::TBB (Thread Building Blocks), logging of SQL queries, OWASP Top 10, cpandoc and Pittsburgh Perl Workshop (with "Perl Ops" track).

After the lunch break Jacinta Richardson talked about Perl Best Practices in 2011, a renewal of Damian Conway's book "Perl Best Practices". She had a tough start, because the room was not ready. Later in her talk one guest was sleeping and snoaring. :)

This doesn't mean the talk was bad, I really liked it. I made a lot of notes, too much to publish them here. :)

Next was Cory "gphat" Watson with "How to NOT built a multi-million dollar eCommerce system". He talked about his experiences from magazines.com. They had a very old code base, a custom written web framework, not even using CGI.pm. This sounds awefully familiar to me. Not even using CGI.pm!

This talk was also very good and it contained a lot of valueable information.

Next talks were about telecommuting and running a Perl event.

The evening was followed by the conference dinner and the auction. It was again in the "competition" style like it was first done in Pisa. Three teams auction off some items and compete about the highest bids. One of the items was an inflatable penguin. :)

Sunday, June 26, 2011

YAPC::NA 2011 - day 0

After 18 hours of travel (flying Hamburg - Frankfurt - Charlotte - Asheville) I finally arrived at the conference hotel. Tomorrow at 9:30 start the talks. My talk is on Tuesday.

Note to myself: At Denny's a normal cheeseburger is enough. (I choose the "Double Cheeseburger" and couldn't finish it.) I have never seen such a tall burger. :)