Paolo Gabrielli\’s Blog

Just another near empty WordPress.com’s weblog. But this is from Paolo ‘pkirk’ Gabrielli.

Archive for April, 2007

Lighttpd css javascript js compress tip

Posted by paolo on 29 April, 2007

I don’t know why I haven’t thinked about it before, but with lighttpd it is possible in 30 seconds to manage sending the Java-Scripts and the CSSs compressed to the browsers, saving a lot of bandwidth against a little use of CPU.

I just added “mod_compress” to the list of modules in the array “server.modules” and
# {{{ mod_compress
compress.cache-dir = "/var/www/cache/"
compress.filetype = ("text/css", "text/javascript" )
#

in the /etc/lighttpd/lighttpd.conf file.  Obviously I created the directory /var/www/cache giving to it the permission needed by lighttpd to write there.

That’s it. And that’s only a little part of the unlimited powers of Lighttpd!

Posted in css, javascript, Lighttpd, Programming | 2 Comments »

Joost invite

Posted by paolo on 21 April, 2007

Well, I’ve got a couple of Joost Invites and nobody of my friends knows what Joost is wants it. So I think I can give them out just here. I’ve thinked about it after looking at the actual second place of the Technorati’s “Top searcheas” that looks like the title (and so the permalink) of this post… Let’s see if they are so popular like it seems…

Edit: sorry guys! No more invitation left! :(

Posted in Joost, thinking | 54 Comments »

RailRoad diagrams generator

Posted by paolo on 12 April, 2007

Today I found a fantastic script in Ruby that take in input a RoR application and output the model and the controller diagrams. It’s very very handy, usefull and well done. It’s called RailRoad (as you guessed from the permalink of this post).

I should write one for CakePHP :P

Posted in PHP, Programming, thinking | 1 Comment »

votnutingin

Posted by paolo on 11 April, 2007

As in the other post about natalykorah today I’ve found “votnutingin” (bononert@hotpop.com) that will be banned by the Blacklist Registration Plugin I’ve installed. See ya votnutingin.

Posted in Spam, Wordpress | Leave a Comment »

The Sartorialist

Posted by paolo on 7 April, 2007

What about a Web 2.0 user-driven web-site TheSartorialist-like where people upload photos of other people from the street, and then judge them, so that all togheter can “study” what’s going on in the streets? I would love a site like that. Paolo wanna try to code something? What? Do you don’t have time? But this can be your occasion! We already have someone that can do the graphic interface FOR FREE, he’s reading us…

Posted in Programming, thinking | Leave a Comment »

My ADSL modem router journey

Posted by paolo on 1 April, 2007

I’ve just rebooted my 3Com ADSL1/2/3/+/etc because my ping on Battle.net (I usually play DotA) was something around 500ms and with one of my site was around 1 sec. After the reboot I came back to my previous normal ping of 130-140ms for Battle.net and 70ms with my site.

This the 4th router I’ve used here at home in quite 4 years. I’ve melted a Netgear, I tried a Korean one, an unnamed Taiwanese one (both throw-ed to the trash) and now I’m using this 3Com that I’ve bought for its name. I’m used to keep them turned on 24/7, using them with max 4 computer. Is it so hard in 2k7 to have an ADSL/modem/router that does its job WELL? What I’ve to buy next? A Cisco?

Posted in networking, thinking | Leave a Comment »