Entries for month: February 2008

RIA conference announced -- Web on the Piste, August 2008, New Zealand

Web on the Piste -- the Conference on Rich Internet Technologies has been announced for this year.

It will be held on 20-21 August 2008 in the pretty Queenstown, in the South Island of New Zealand.

The theme for this year's conference is usability and user experience in RIAs.

The cost for registering for the conference is AUD 500.

So if you are interested in either attending or speaking or sponsoring, head over to the Web on the Piste website and register your interest.

Read more...

Backing up and restoring all MySQL databases

This is another one of those "lest I forget" type of blog entries. There are times one has to migrate all MySQL databases to another box (like now when I have to give my Mac for repair and I have to work in a Windows machine!) This is the command to backup all MySQL databases

mysqldump --all-databases -u [username] -p -C > alldatabases.sql

Replace [username] with the name of the MySQL user. I used "root" as it has access to all databases. This will create a file called "alldatabases.sql" containing all the SQL commands for creating the databases and inserting data into them. To restore from this SQL file, use this command

mysql -h localhost -u [username] -p < alldatabases.sql

Now, I won't have to rummage through the big wild web for this!

A great utility to test Lucene indexes

If you work with Lucene, then you know that you need to write your own GUI for testing the Lucene index. This can be a little annoying as the purpose of using Lucene is to quickly index content and retrieve it. Writing a GUI to test if Lucene is indexing the content correctly detracts from the purpose of using Lucene.

I was really kicked to find this nifty little utility called "Luke" that provides a GUI for testing Lucene indexes that have been created. I've been using it for a about an hour now, and simply love it.

Luke can be downloaded from this site.