No time to wait http://showmetheco.de/index.rss Just code Twist 0.1 I am looking for a Perl job in Europe http://showmetheco.de/articles/2014/8/looking-for-a-job-in-europe.html I am looking for a Perl job in Europe. I have tried searching through jobs.perl.org and other websites in order to find the best match, but unfortunately they all seemed like huge bureaucracy enterprises. To make things easy I am going to describe what I would like to be working on, with whom and why you might want to hire me.

Keep reading ]]>
job europe perl Wed, 13 Aug 2014 00:00:00 GMT http://showmetheco.de/articles/2014/8/looking-for-a-job-in-europe.html
Testing WebSockets from console http://showmetheco.de/articles/2012/11/testing-websockets-from-console.html Since August 2012 Protocol::WebSocket is shipped with a websocket console application (under util/ directory), that can be used for testing, debugging and/or learning more about websockets.

Keep reading ]]>
perl websockets console Wed, 14 Nov 2012 00:00:00 GMT http://showmetheco.de/articles/2012/11/testing-websockets-from-console.html
Perl Mova / YAPC::Russia 2012 is over! http://showmetheco.de/articles/2012/5/perl-mova-yapc-russia-2012-is-over.html So the conference is over. And here are some numbers, photos, links, thoughts, etc.

Keep reading ]]>
perl conference Mon, 14 May 2012 00:00:00 GMT http://showmetheco.de/articles/2012/5/perl-mova-yapc-russia-2012-is-over.html
Reading Perl documentation: perlrun http://showmetheco.de/articles/2011/10/reading-perl-documentation-perlrun.html Recently I reread perlrun and found amazing things I didn't know about. Maybe this can be interesting for somebody else too.

Keep reading ]]>
perl documentation Wed, 19 Oct 2011 00:00:00 GMT http://showmetheco.de/articles/2011/10/reading-perl-documentation-perlrun.html
Back from BlackPerl 2011 http://showmetheco.de/articles/2011/10/back-from-blackperl-2011.html On the first days of October (1-2) I was in Crimea (beautiful peninsula on the Black Sea). There was a beta version of BlackPerl workshop. We had not many people there but we had a lot of fun, presentations and even a small hackathon.

Below are pictures and details ]]>
perl blackperl2011 Sun, 16 Oct 2011 00:00:00 GMT http://showmetheco.de/articles/2011/10/back-from-blackperl-2011.html
Writing Perl code the right way http://showmetheco.de/articles/2011/6/writing-perl-code-the-right-way.html Today we are going to learn how to write a HTTP request dispatcher subroutine in Perl. Why Perl? Because Perl style is close to HTML style. And HTML is used on the internets. Below are some useful tips.

Keep reading ]]>
perl the right way Fri, 24 Jun 2011 00:00:00 GMT http://showmetheco.de/articles/2011/6/writing-perl-code-the-right-way.html
SSL tunnel for Perl/Plack web applications http://showmetheco.de/articles/2011/4/ssl-tunnel-for-perl-plack-web-applications.html Adding TLS/SSL support to your Perl web application could cause a headache if it's not embedded in your web server. The most popular solution is to use an ssl tunnel in front of your server that transparantly encrypts/decrypts messages. In order to tell Plack application that TLS/SSL tunnel is used at least two special HTTP headers X-Forwarded-For and X-Forwarded-Proto must be set. The problem is that a well-known tunneling application stunnel does not support X-Forwarded-Proto header...

Keep reading ]]>
perl ssl tls tunnel Thu, 07 Apr 2011 00:00:00 GMT http://showmetheco.de/articles/2011/4/ssl-tunnel-for-perl-plack-web-applications.html
Socket.IO Perl implementation http://showmetheco.de/articles/2011/3/socket-io-perl-implementation.html Socket.IO is a universal way to write realtime web apps that work in every browser. Socket.IO supports several transports that are chosen during runtime based on the current browser capabilities:

* WebSocket
* Adobe® Flash® Socket
* AJAX long polling
* AJAX multipart streaming
* Forever Iframe
* JSONP Polling

This way it is possible to write WebSocket-like web apps without bothering much about the vendor support.

Socket.IO has an official client and various (among official) server implementations in different languages and frameworks. Here is a new Perl implementation http://github.com/vti/plack-middleware-socketio built on top of Plack as a normal middleware.

Socket.IO++

POD ERRORS

Hey! The above document had some coding errors, which are explained below:

Around line 8:

Non-ASCII character seen before =encoding in 'Adobe®'. Assuming ISO8859-1

]]>
perl socket.io Mon, 07 Mar 2011 00:00:00 GMT http://showmetheco.de/articles/2011/3/socket-io-perl-implementation.html
How to avoid Unicode pitfalls in Mojolicious http://showmetheco.de/articles/2010/10/how-to-avoid-unicode-pitfalls-in-mojolicious.html Unicode is hard. Unicode in Perl is even harder, because sometimes Perl is just too smart. While Mojolicious is a web framework, no wonder why it should support Unicode really well. But even if Mojolicious tries hard to make things easy for a developer, one must really understand what's going on behind the scene.

Keep reading ]]>
perl mojolicious unicode Wed, 27 Oct 2010 00:00:00 GMT http://showmetheco.de/articles/2010/10/how-to-avoid-unicode-pitfalls-in-mojolicious.html
More Mojolicious WebSocket examples http://showmetheco.de/articles/2010/5/more-mojolicious-websocket-examples.html I've been playing with WebSockets for a while. And here are some links to the projects I've came up with. Server side is written in Mojolicious::Lite. Client side is mostly JQuery. For non websocket browser Flash workaround is used.

Showmetheshell

An interactive shell with colors and unicode support.

http://github.com/vti/showmetheshell

Some screenshots are available in the repo:

http://github.com/vti/showmetheshell/tree/master/screenshots

Showmethedesktop

A HTML5 Canvas VNC client.

http://github.com/vti/showmethedesktop

When implementing this I've also written a Protocol::RFB module. That does the job.

http://github.com/vti/protocol-rfb

Showmethedrawing

A HTML5 Canvas simple colaboration drawing.

http://github.com/vti/showmethedrawing

Mojomber

A simple multiplayer Bomberman clone. Fun to play :)

http://github.com/vti/mojomber

And BTW, Mojo::JSON::Any speeds up everything.

Enough self advertising for today ;)

]]>
html5 websocket perl mojolicious Sun, 16 May 2010 00:00:00 GMT http://showmetheco.de/articles/2010/5/more-mojolicious-websocket-examples.html