s/Apache/lighttpd/

NerdOCRACY, the server hosting barisione.org, moved to lighttpd as it’s less resource-hungry and easier to configure.

I had only some problems with WordPress, to have clean addresses like http://www.example.com/about instead of something like http://www.example.com/?p=123 it uses this htaccess file:

<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>

I resolved using server.error-handler-404 as suggested on snippets.dzone.com:

$HTTP["host"] == "www.example.com" {
    server.document-root = "/usr/share/wordpress"
    server.error-handler-404 = "/index.php"
}

Some notes on my SOC proposal

Reading some comments on my SOC proposal I have the impression that someone didn’t understand what I’m going to work on, I don’t want to write yet another Samba-like program but an application to send files over a LAN without the need to share folders.

Systems like Samba or FTP are useful at home or work when you want to permanently share a folder, but often people just want to quickly send a file to some specific person. For that you do not want to first put it in your shared files and then tell your contact that he/she can find it there. Moreover using Samba or FTP means that you have to handle permissions and passwords or just have a public folder available to everyone, which could be a security problem. So on occasional situations just right-clicking on a file and using “Send to” (through a nautilus-send-to back-end) to send this file to a person is a lot nicer.

Recently Xavier Claessens, the author of gossip-telepathy, started to work on grapevine, a modular version of gossip using Nokia’s mission control. A good idea would be to work on it adding file transfers capabilities instead of writing a separate GUI, this way other protocols could benefit of my work, making easy to send files using every chat protocol.

Note that I’m not going to invent new protocols, I will use XMPP (aka Jabber) and in particular I want to work on telepathy-salut, a Telepathy connection manager for XEP-0174, the protocol used by iChat for serverless chats on a LAN. For file transfer stuff I’m going to base my work on the code written by Mads Chr. Olesen for the last year soc on collaborative applications using Telepathy.

Update: The project has been accepted and it’s now called Telekinesis.

purge included among the official Mercurial extensions

When using CVS I always use cvspurge (from the CVS Utilities package) to delete the auto generated files that are not deleted by make distclean, this is useful to test local and uncommitted changes in the otherwise clean source tree.

This is why some months ago I wrote a purge extension for Mercurial. Now my code, improved by Emanuele, has been included among the official extensions so it will be shipped in the Mercurial packages of all distros.