No time to wait http://showmetheco.de/index.rss Just code Twist 0.1 Text::APL - streaming and non-blocking Perl template engine http://showmetheco.de/articles/2012/1/text-apl-streaming-and-nonblocking-perl-template-engine.html This is yet another template engine. But compared to others it supports non-blocking (read/write) and streaming output.

Keep reading ]]>
Perl template streaming non-blocking Sun, 29 Jan 2012 23:00:00 GMT http://showmetheco.de/articles/2012/1/text-apl-streaming-and-nonblocking-perl-template-engine.html
PocketIO vivification http://showmetheco.de/articles/2012/1/pocketio-vivification.html Since 0.10 PocketIO doesn't require Plack and has a new dependency Protocol::SocketIO.

Keep reading ]]>
Perl pocketio socketio Sun, 22 Jan 2012 12:35:00 GMT http://showmetheco.de/articles/2012/1/pocketio-vivification.html
Learning music notes with Perl http://showmetheco.de/articles/2011/12/learning-music-notes-with-perl.html So the other day I bought a MIDI2USB interface to my piano keyboard and as a programmer I was curious about sending back and forth those MIDI events. I decided to write a simple Perl game that can help to learn the music notes. The routine is simple. The random note is generated and printed out on the terminal (like D3), then you have to find that note on the keyboard and play it. If it matches you get ok, otherwise not ok. And so on. As always CPAN saved hours of my time.

Keep reading ]]>
Perl music notes Sun, 18 Dec 2011 14:02:00 GMT http://showmetheco.de/articles/2011/12/learning-music-notes-with-perl.html
Accessors are dangerous http://showmetheco.de/articles/2011/11/accessors-are-dangerous.html So commonly used accessors (setters/getters) I think are dangerous when overused or used without a caution. Here is a quick list why.

Keep reading ]]>
Perl accessors Fri, 18 Nov 2011 10:53:00 GMT http://showmetheco.de/articles/2011/11/accessors-are-dangerous.html
TDD Best Practices in Perl http://showmetheco.de/articles/2011/11/tdd-best-practices-in-perl.html In this article I've collected the best practices of TDD (Test Driven development) that help me in my work. I brought them together for the future reference, updates, sharing and discussion.

Keep reading ]]>
Perl TDD Fri, 04 Nov 2011 09:11:00 GMT http://showmetheco.de/articles/2011/11/tdd-best-practices-in-perl.html
Translating PSGI specification into russian http://showmetheco.de/articles/2011/9/translating-psgi-specification-into-russian.html We've started translating PSGI specification into russian https://github.com/vti/psgi-specs-ru. If you speak or know russian you are more than welcome to join. We use #ru.pm channel on irc.perl.org for discussions.

]]>
Perl PSGI translation russian Sat, 24 Sep 2011 10:21:00 GMT http://showmetheco.de/articles/2011/9/translating-psgi-specification-into-russian.html
PocketIO - realtime applications for Plack http://showmetheco.de/articles/2011/9/pocketio-realtime-applications-for-plack.html PocketIO is a SocketIO port from Node.JS to Perl. It allows you to write realtime web applications without worring about specific browsers features: from long-polling to WebSockets.

PocketIO is built on top of AnyEvent and Plack, runs smoothly on Twiggy. This way it can be easily combined with other nonblocking Plack apps.

PocketIO can be scaled using Redis pub/sub infrastructure.

Proved to work well in production with 100-150 simultaneous connections. Works just fine with TLS/SSL (via App::TLSme) too.

Check it out. On Github or now on CPAN.

]]>
Perl socketio Fri, 23 Sep 2011 12:43:00 GMT http://showmetheco.de/articles/2011/9/pocketio-realtime-applications-for-plack.html
PerlWeekly - Quality Perl links http://showmetheco.de/articles/2011/9/perlweekly-quality-perl-links.html I've joined http://perlweekly.com/ as soon as it was launched. And since then I've enjoyed the quality Perl links every Monday. Not too few, not too many, just the right amount of news to check if I missed something during the week.

Articles, discussions, videos, events... I wish it had the most interesting CPAN updates or new Perl projects. Some unique content would be nice too, like interviews or short stories.

Sing up here

]]>
Perl subscription Thu, 22 Sep 2011 15:57:00 GMT http://showmetheco.de/articles/2011/9/perlweekly-quality-perl-links.html
Little gifts are true http://showmetheco.de/articles/2011/9/little-gifts-are-true.html After reading rjbs' post on Promoting little gifts I remembered various gifts that I received from the users of my modules. For example I received a ebook from Jens Gassmann for working on PocketIO and today I got a thankful note and a donation from http://privytalks.com, the website that uses the same PocketIO in production (scary!). Funny that I can use something that uses something I wrote.

It's always nice to receive thanks and gifts. Thank you!

]]>
Perl gifts Fri, 02 Sep 2011 10:36:00 GMT http://showmetheco.de/articles/2011/9/little-gifts-are-true.html
Perl Résumé http://showmetheco.de/articles/2011/8/perl-resume.html Lately I was playing with http://metacpan.org api. So I built a simple website that generates your Perl résumé based on CPAN experience, activity and impact. Runs on Dancer btw.

So check it out http://perlresume.org!

Any comments, suggestions and critics are as usual very very welcome.

]]>
Perl dancer metacpan fun Wed, 24 Aug 2011 15:56:00 GMT http://showmetheco.de/articles/2011/8/perl-resume.html