Měsíc: Březen 2005

Apache mod_ext_filter

Article named Vzduch v kódu (HTML a CSS) talks about post-production compression of HTML code and CSS using a special software, after you have all your code ready to be published.

More elegant way (at least for me) to do this is the server-side compression (whitespace stripping) on-the-fly, which can be for example done by a small (but experimental) module called mod_ext_filter for The Apache web server. This module provides very easy way to do almost any post-processing. For example post-processing of style sheets or any markup language code.

Easy way in this context means that you have to write a few lines of C/C++ code (or if you don’t speak C, you can use the shell script or anything you are familiar with) which will read the content from the standard input, strip whitespaces (and possibly all comments and other garbage) and return it to the standard output.

Module mod_ext_filter also supports cacheable output, so you don’t have to handle it in your code. And you have to never think about not forgetting to compress your new style sheets or code again. You simply publish it and forget.

Notice that advanced users should use mod_filter directly instead of using mod_ext_filter.

Constantine

When I’ve been watching Constantine, I smiled sometimes. But I was not scared, so I can’t say that it’s an horror movie, but it could be an anti-smoking action thriller with some obscene finger gestures and (mostly poor) humor. Even if you now what will happen in next five minutes.

I like Keanu Reeves since his appearance in The Devil’s Advocate (1997) and The Matrix (1999), but I have to tell you that this is not his best movie ever. In fact, it is another exorcist movie arranged by the Hollywood. So it is funny, readable, with great audio/visual effects, but really far from The Devil’s Advocate mentioned above and I think you can’t take it seriously. It seemed to me that the director tried to make another video clip more that an adaptation of the comic book. Also the characters are miserably misinterpreted, so you can’t really believe in them, but the movie goes fast so you will probably not get bored enough to leave the cinema before it ends.

3 of 10. Sorry, Neo.

Prepared Outage

This server will be out of order for 5 days starting at the end of March, probably the 31st. The hardware will be moved from a current provider to the new ISP and also from Brno to Prague. Current provider is too expensive (that means about three times more than the real market price) and it’s SLA is not good enough for any serious service.

New ISP has not been selected yet, but I will choose between GTS and Active24.

I hope that all services will be restored during the first week of April.

All Is Full Of Love

Have you ever seen the clip for the song All Is Full Of Love performed by Björk directed by famous Chris Cunningham? I have seen it for the first time today and I was shocked. Positively. It is nice, gentle and extraordinary peaceful.

Two humanoid robots – first looking like the second, but they are different – being created by another machines present us the desire of lesbian love. And that’s not everything, the clip brings us more messages. About soul and maternity and so. It’s fantastic and I’m surprised that I haven’t seen it before, because this clip won many awards around the world. You can find more information here.