Blogs

Mar 07 21:23

Events 2013

The German Perl Workshop takes place in Berlin, from 13th to 15th March. I will give a presentation about our Dancer projects: Wir tanzen um die Welt!. A few tickets for this event are still available, so hurry up!

The week after that, I'm going with Jure to Bern on 22nd March. Damian Conway is there as well, you shouldn't miss his keynote! This is followed by my presentation Dancer Academy - From Zero to Hero.

Oct 16 06:53

Find duplicates in a table

Sometimes you want to find "duplicates" in a database table:

Oct 12 08:40

Navigation with jsTree: Open parent links and loading new page from leaf links

I was tasked with a hierarchical navigation for categories. Parent nodes are supposed to open the tree below and leaf nodes are supposed to take the user to a new page.

Oct 09 08:57

Status 400 from Dancer's before hook

Setting the HTTP status in Dancer's before hook with the status keyword doesn't work with the exception of 301 and 302 (redirects).

May 31 07:42

Invalid XML with RPC::XML

The RPC::XML Perl module uses us-ascii as XML encoding by default. If you delivering UTF-8 content from a database or other sources, RPC::XML produces invalid XML with the default setting.

Aug 02 2011

Perl Ecommerce Applications Roundup

Our main focus is to create and maintain eCommerce sites with Interchange.

On one hand it runs smoothly on existing sites and supports customization needed by our user base.

On the other hand it predates developments like PSGI, plugins and abstract engines for sessions, logging and templates.

For the future we decided to do a complete rewrite of the Interchange software. I will talk at YAPC::Europe 2011 in Riga about our plans.

Oct 05 2010

mongoDB conference Berlin 2010

I decided to go to the mongoDB conference Berlin 2010 to learn about this pretty new schema free and documented oriented database. The 100$ for the conference with three tracks of talks at the same time where really well spent. Most of the talks I listened to were very good and inspiring to try out MongoDB for real life projects.

Aug 31 2010

Move old files to another directory with find

This example shows how to move a large number of files to another directory:


find /var/www/userpics -name '*.jpg' -mtime +31 -print0 | xargs --null mv --target-directory=/backup/oldpics/

Jul 01 2010

Update with records from another table


update subject_cloud set count = count + 1 from (select subject from subjects where sku = '9780520241329') as subs where subs.subject = subject_cloud.subject;

May 23 2010

Testing Gzip compression on your website with wget

wget --save-headers --header\="Accept-Encoding: gzip,deflate" http://www.linuxia.de