fREWdiculous!
23 Jun
This is day 2 (my final day
) of YAPC. I tried my best to keep reasonable notes but near the end of the day my brain started to slow down. Hope you dig it nonetheless!
The Future of DBIx::Class
FYI: mst doesn’t use a mic, he yells.
Instead of using MI, the future will use Moose and Roles.
Good things DBIC already did:
Bad things:
The Future:
join #dbix-class for the fun
And that is my weird list of DBIC Future points. This stuff is really, really exciting. The ability to both use Moose and DBIC with a very sexy API is extremely exciting. And as I may have mentioned yesterday, mst has plans to make Moose startup time instant. Feel free to doubt it! That won’t stop him
Fundamentals of Modern Perl
This was chromatic’s talk. It was very polished and he had his ideas very well organized. The outline should give you a very good idea of what the talk really was.
I <3 Email
This was rjbs’ talk on sending email. He’s done a few of these before; I know that Email hates the living is on Google Video. This was less about the standards of email, and more about how to get everything working. Mostly just module namedropping, but very awesome!
Sending Email in the past: MIME::Lite, Mail::Send, Mail::Sender, Mail::Sendmail, Mail::Mailer, Email::Send
Email::Sender The future!
Eail::Sender::Simple for most of us
Email::Sender::Transport::* is excellent; allows you to easily create new transports for email. Already exist:
Programmable failure means you can wrap any transport and make it fail under any conditions (great for testing)
structured failure, partial success
Email::MIME::Kit <– most excellent
SWAK
EMK::Assembler::Markdown
Very, very cool stuff.
This is the kind of thing that makes email work on par with things like Perl based webapps. I’d say that Perl based webapps are mostly a solved problem. Yes we have more elegant ways to do things, but there is very little arcana involved. This makes email like that.
As a side note, I was trying to install the module (I never did get it working) and after the talk I showed rjbs the error log and when he looked at the terminal he said, “Oh, you’re fREW!” So that was cool. I felt a little famous!
I’ve now shaken hands with rjbs, Steven Little, mst, castaway, Larry Wall, and more!
Business Process Management with Workflow.pm
This talk educated me about the idea of Workflow management in general. It wasn’t extremely exciting, but I can’t imagine a case in which it would be. He had some code, he had some concrete examples, but it’s really just kindav a boring topic. But I still think the idea and the module could be extremely useful at $work. Here is a summary that I think is worthwhile.
And basically the rest of the talk was specifics. Boring to take notes on, but good ideas. Workflows are basically state machines, and documenting that stuff can really simplify or even change your business model. The slides for this would be great. He has a lot of info about how, for example, most of your time will be spent figuring out undocumented business practices. The code will be easy after that.
Driving a USB Rocket Launcher from Perl in User Space
This was way cool! He shot a toy rocket with perl! Slides are a must for this, but I don’t see them yet.
What Haskell did to my brain
This one was alright. I expected more revelations, but that may have been unreasonable for a 50 minute talk. A lot of his talk boiled down to: be immutable, and stop worrying about performance.
Catching a ::Std – Standardisation and best practices in the perl community
This was mst’s talk that was a segue into the Enlightened Perl Extended Core. It was very similar to chromatics talk in a lot of ways. Here are some major points.
Maybe you could call this kind of thing whirlpool standardization? I don’t know. Notes were hard to take in this one as it wasn’t very concrete. The slides will be up for sure, but without video they may not be very helpful. We’ll see!
The EPO Extended Core
Basically the name says it all. There are a lot of bad modules in the core and a lot of good ones that are not in the core. These should not be added to the core, but instead added to a list of things that are known to be good. It already exists! It just has a weird name: Task::Kensho. Check it out! Use it! Give feedback!
I almost didn’t go to this one because my brain was so full. I’m glad I did though!
CHI: Unified caching for Perl
And I think that’s it. This summary is huge! Why did I do this?! Sadly, I have to leave tomorrow at 4am for a flight to another trip that I booked on accident. I probably won’t post again until next Monday as I’ll be at a “regular” vacation
If I do though it will probably be reactions to some of the stuff I thought about here.
22 Jun
Today was the first official day of YAPC. A lot happened! I’ll just document what was interesting
First there was an intro. The Pittsburgh guys did a lot of work to get it all to work. Enjoy.
The Perl Foundation has had a big year. Mostly with updating p5 and working on p6. The Parrot Foundation (ParF) got created. Big deal.
Larry’s talk
Parrot Foundation
Lots done. Read This.
Hacking on Rakudo
Lots of P6 info. Should be posted on the link below.
KiokuDB
CPAN Stats
Dist::Zilla
This will be really cool stuff for releasing perl modules. Check it out on CPAN. I am definately checking this out.
Dinner with Steven Little
This wasn’t a talk, it just happened with magic
The funny thing was that we talked about KiokuDB the whole time! Also, he didn’t start with perl like a lot of us, but started with JavaScript. I feel like a famous person now! We are actually doing very similar stuff as they are at work.
Bar with Matthew S. Trout
Again, this just happened. We talked about all kinds of stuff, but the main thing that should be mentioned here is that if you want to be awesome like mst you should read other people’s code. He mentioned by name Audrey Tang’s code, so yeah.
Also mst has a scheme to speed up Moose startup to what it would be if you never used it and to reduce memory usage to the same. Very interesting stuff!
It’s midnight.
The end.
21 Jun
Today was the first day (for me) of YAPC::NA. It was pretty cool! A coworker and I convinced our work to pay for us to go to YAPC and go to the Moose Masterclass. The class was very good. I thought that the slides were very complete and that the exercises were great for a professional conference. Basically he would present a major section of Moose (there were 4 or 5 I think) and then he would tell us to get going on the Classes for that given library. We would get instructions from comments in the base unit test file and then we would just run the unit tests to see if we were doing the right thing. There were some discrepancies between the comments in the tests and the tests themselves, but I’d say that’s pretty standard for comments. Anyway, the slides were all just webpages and the rest was of course just perl code. So check it out here!
I actually found the most intriguing part of the talk to be MooseX::Types. Unfortunately that is not included in the slides linked about as it was done by Jonathon Rockway. I can’t yet find slides for it. But the important thing is that Types are awesome with Moose. It’s fairly trivial to write new types. He wrote a type for Social Security Numbers and then showed us how to use it and how to make a thing that would automatically coerce integers into the SSN type. Very cool stuff! I am very excited for when I get to use that in the future.
Another thing that must be mentioned. There is always someone in a talk who wants to be heard more than the presenter. Or maybe they just act that way. I don’t know. But we had one of those in our talk. There was a point at which our presenter was showing how to have a singleton as an attribute to a class and apparently this guy zoned out when he was showing it. Furthermore he didn’t notice that the code
1 2 3 4 5 6 7 8 9 10 | package Person; use Moose; my $highlander_bank = Bank->new( name => 'Spire FCU' ); has bank => ( is => 'rw', default => sub { $highlander_bank }, ); |
had the word highlander in it. Anyway, he tried to correct the presenter about this and before the presenter got a chance to respond MST yelled at the dude and said, “THERE CAN ONLY BE ONE! THAT’S WHY IT’S CALLED A HIGHLANDER!” It was hilarious.
So yeah, that’s day minus-one for YAPC. I will write about everything I go to so that you can be ok with the fact that you are stuck at work or whatever