Docendo discimus

$self->explain

  • Calendar

    May 2017
    M T W T F S S
    « Sep    
    1234567
    891011121314
    15161718192021
    22232425262728
    293031  
  • Archives

  • Recent Posts

  • Bling

Posts Tagged ‘Perl’

YAPC::EU 2011 in Riga

Posted by brunorc on September 10, 2011

It’s almost one month after the conference… but anyway.

I liked everything, to start with Riga itself – it’s really beautiful and green city – the venue (although the contrast between the main auditory and other rooms was big) and the food, ending on the conference and its atmosphere and content. Since I went to give my MIDI related talk, I was lucky enough to participate in the Speakers’ Workshop by Damian Conway & Alex Kapranov. It definitely helped me to improve my presentation and the talk itself.

There is a lot of new stuff happening in the Perl Community – the language constantly evolves and a lot of new ideas from Perl 6 are backported to Perl 5, what I really like. What I don’t like, though, is that some people are actively dissing Perl 6 as “completely different language, not Perl”. That’s not the disadvantage by itself; moreover, Perl community constantly borrow (steal?) ideas from other languages – some talks in Riga were good example of this, presenting cute ideas taken from Lisp and Haskell.

I can understand that Perl 6 may not appeal to some users of Perl 5. What I cannot understand, is that some notable members of Perl community spend their time & effort on explaining, why Perl 6 is not what should be called “the next step in the evolution of Perl 5” and by no means can be attached to the name of Perl. This actually harms the progress of all the work around Perl 6, slowing it down and bittering it needlessly.

However, in Riga yet again we were able to see that Perl 6 has no choice after Duke Nukem Forever was released… there were many talks about what can be already done in Perl 6, and what will be possible once it gets finished. To be fair I have to admit that the presentation from Jesse Vincent about Perl 5.16 also brought many new ideas (like differently “tailored” releases of next versions of Perl 5 and the backward compatibility controlled by use VERSION – to name a few).

I also met my friends from Poland and from Spain, and – what was a huge surprise for me – one of them decided to apply for job at Booking.com; few days ago he informed me, that he was accepted. Good luck, Quim!

And last but not least – I was able to spend a lot of time with some completely crazy Perl folks from the whole world. I will remember the party at the balcony of Getty’s room for a long time…

Update: An article from Jesse Vincent “5.16 and beyond” – also just look at the second comment. *sigh*

Posted in Perl, Perl 6 | Tagged: , , , , | 1 Comment »

Perl & MIDI

Posted by brunorc on August 10, 2011

I thought it will never happen, but finally there is – the first post filed under both MIDI and Perl categories. This is the convergence of two threads that were running through this blog.

Right now it’s only an announcement, that after all those problems I found a way to connect my MIDI equipment to the Perl code. And I’m not talking about processing MIDI files with Perl and then sending them to my synths. I’m able to process what I play – and with process I mean filtering, transposing, multiplying and triggering arpeggios. I’ll be presenting a talk about this on YAPC::EU in Riga, so I’m not going to reveal all the aces hidden upon my sleeves yet ;-)

Thanks to ALSA and MIDI::ALSA module I can access my eMagic Unitor8 from Perl running on Linux. Even if I have two Unitors stacked together, ALSA sees only one; even if I can record from all eight inputs of my Unitor8, I can send to only one. But it still leaves me 16 MIDI channels and plenty of possibilities.

At the moment my code is very crappy – no modules (thus no API), just scripts that do stuff. After reaching some reasonable level of functionality I’m going to stop, clean it up and release some initial version on CPAN. My goal is to approach the idea of Zyklus, but we will see… Stay tuned!

Posted in MIDI, Music, Perl | Tagged: , , , , | 2 Comments »

YAPC::EU 2010 in Pisa – short summary

Posted by brunorc on August 8, 2010

In very, very short words – it was awesome!

Talks were interesting, venue was comfortable, O’Reilly’s stand was well prepared, schedule was properly tailored, food was nice, people were fantastic, beer was tasty. Weather was good (well, compared to Amsterdam, almost every place provides nice weather) and the tower was leaning.

I really enjoyed talks about Perl 6, since Rakudo Star is already published and everyone was able to try the stuff from the presentation on his/her laptop. There was a lot of interesting information about signatures in Perl 6, presented by Jonathan Worthington: in Perl 6 you don’t have to unfold @_ manually anymore and you can have your parameters well typed. Yes, we can have strong typing! And you can define your types on the fly using the where keyword:

sub get_proper_answer ( Int $answer where 42:t ) {
    ...
}

And in case you desperately wanted – you can use Perl 6 signatures in Perl 5.

What else? If you lived under the rock recently, you would have to go to Pisa to get to know that Moose has reached version 1.0. However, you also would be able to meet a lot of people who was already using it (and liking it).

Not enough? Well, what about the opening keynote presented by Larry Wall with his family, and the closing keynote presented by Matt S. Trout with his new hair? Both were cool, being completely different though.

Want more? There was the most freaky, enthusiastic, robust and jolly community I’ve ever seen in my life – and I really enjoyed being part of it. So if you are freaky and enthusiastic as well, you will probably enjoy the next YAPC::EU in Riga.

This is only a short, chaotic summary, but I will try to organise my reminiscences into more detailed notes.

Posted in Perl, Perl 6 | Tagged: , , , , , , | 2 Comments »