Piotr's blog

Moving Picture Company

Recently I started to work for a VFX/3D corporation called Moving Picture Company.

I am working on intranet tools to manage movie production. It's quite complicated task as it involves automatic preparation of the scene rendering, reporting on the status of the shot to a specific department. Considering the number of elements (imagine Narnia scene with a fighting crowd of computer generated creatures) it consumes a lot of resources. Our team – Research and Development – is working on simplify the process.

My photo in the Edinburgh guide

My photo was found on Flickr and placed in Schmap's Edinburgh Panorama. It's on Camera obscura (Photos 3 of 5) 19th in a row :)

Make images appear in random order

It's a very easy to achieve, but beautiful effect. All images and objects with class .appear_randomly will appear in slightly random order.

Enough to do is to load appropriate library (Prototype/Scrip­taculous or jQuery), create a site wide loaded Javascript file (in example generic.js) and put this simple code inside:

Working from home

In the last A List Apart article there were some good advices how to split life and work area. As it is quite hard in London due to the high property prices I tented to work at night, or… when my Tosia sleeps. That sling saved already few minor deadlines.

Tosia - 7:05am

Link triggered page transition with fade out

My client wanted to make a transition between pages. I thought it would be difficult to do, but with help of Scriptaculous effects and Prototype's $$() function it turned out to be pretty simple.

The method I used is easy to use, unobtrusive and needs only one element which usually is already in the code – main div surrounding all page content.

Working example

MySQL databases backup made simple

It's a bash program to backup all needed databases on my system. It uses thy MySQL database to get information what and when to backup. It is calling the mysqlbackup command so it's not very good for large databases.

Post is split this post in two parts: Installation in 4 steps and Description.

New website - EEG Biofeedback

A new website is borne – Biofeedback London. „Neurofeedback is an efficient, safe and non-intrusive method of training, by which the brain learns how to be more effective.“

To create it I used my „still not ready to publish“ framework. After my experience with the impressive Symfony I know the errors which needs to be fixed before giving my code to someone.

Unobtrusive Javascript based login window

Login window which appears on top of the content.

Login functionality is one of the gates to the members area. It should be provided in very accessible and clear form. I think that the best solution is to display a form on top of existing page, send the login request with automatically forward the action to the desired one.

The example uses Prototype and PHP, but it shouldn't be complicated to rewrite it for other software.

I've used this functionality on William Baker's B*Boy website which I had honour to build with Hatch recently.

"Nasza Klasa" conquers Poland, few links in Bookmarks

Happy new year everyone!

Welcome back in the new year 2008.

I was for 3 weeks in Poland doing my Christmas trip.