Happy Pixels

Florian Loretan's blog on Drupal, creativity and more

Here's a video from my keynote presentation at DrupalCamp Ljubljana just a few weeks ago (the presentation itself starts at 1:40).

Thanks again to the local team for putting such a fantastic event together!

A few months after creating the LEGO Boostrap game, I decided to do some more experimenting with the great OpenCV library for Processing. This time, instead of detecting lego pieces of different colors, I wanted to detect the outline of a person, and to modulate that based on sound input.

It has been a few months since Munich was announced as the location of the next european DrupalCon, but much of what has happened since then has been mostly invisible to the community. Many people attend DrupalCon, but few people are aware of what goes into preparing such an event, and this is what I would like to share with you in this post.

Just like I did last year, here are my resolutions for 2012. They are stated in a way that makes them testable, either I achieve them or I don't. Based on what I learned from the past year, I also decided to break larger resolutions into smaller chunks so that progress can be tracked.

It seems like another year has passed again, and just like last year, I decided to take a moment to review the past year for me.

Over the past few months I started doing music more actively again, with a couple shows and regular appearances at the various open stage nights in Munich. After a while people, started to ask where they can find me online, so I decided to use my domain florianloretan.com for music, and keep happypixels.com for my blog about web development and random personal stuff. As usual, building stuff for yourself takes forever, but I finally have something that works for me. Check it out at florianloretan.com!

Despite the title, wunderkraut has not yet branched out to hatmaking:
The "feature hats" we're talking about is our approach to minimize conflicts when using a code-drive development method for Drupal, especially when using Drupal features for storing configuration in code. This configuration is changed by developers by updating features, i.e. exporting configuration in code via the popular features module – a merge-based source code version management alone like git doesn't avoid confilcts here.

It is a well known fact that pages with many images load more slowly than simple HTML pages. Not only are image files heavier than text files, they also require additional HTTP requests.

In an attempt to solve both of these performance problems, I have created a new Drupal module: Imagilicious. Imagilicious replaces tags that reference an external image to be loaded with a 100% HTML rendering of the same image. Unlike immature technologies like the <canvas> element, Immagilicious uses tables, which guarantee compatibility even with the most outdated browsers.

Here is a sample of the output (no <img> is used, this is a table), using Wunderkraut's logo as a source image:

Wunderkraut is the name of a new company that I co-founded with three fellow developers from the Munich Drupal User Group. I've been lucky to work with them on multiple occasions, and this consolidation of our different skills came as a natural fit. My activities will still consist of doing everything to build kick-ass websites and travelling around the globe to spread the Drupal love, but I will be doing so through Wunderkraut.

The devel_generate module (part of the devel project) is a practical tool to generate test content. The resulting content can be used to test performance and functionality, but it looks very artificial: texts are long homogenous paragraphs, images look like bad modern art paintings. The good news is that we can easily alter the generated content and replace it with more realistic-looking values.

Read the rest of this article on the wunderkraut blog.

Subscribe to Happy Pixels RSS