Back in town and a Virtuoso

Vacations and GECCO were great. I am still trying to catch up. Hope everything gets up to speed soon. Just a quick note to jump start: Dealing with relational databases, metadata stores, DAV servers? If so, take a look at Virtuoso, you won’t be disappointed ;)

Jul 18, 2007 · 1 min · 46 words · Xavier Llorà

HTML to Wiki converter

Seapine {Labs}::HTML to Wiki Converter is an online converter of HTML formated code into a Wiki (MediaWiki) sintax. Very convenient if you want to add already formated material.

Jun 3, 2007 · 1 min · 28 words · Xavier Llorà

Reset user’s password on a MediaWiki

I needed to reset the password for a user on a MediaWiki site. Luckily, I run into this post “Reset a user password on MediaWiki - Greg’s Postgres stuff” which helps you to do so. The five-cent summary for a MySQL powered site: UPDATE user SET user_password = md5(CONCAT('123-',md5('newpassword'))) WHERE user_id=123;

May 14, 2007 · 1 min · 51 words · Xavier Llorà

Uniform sampling of a data set

Sometimes you may need to sample a dataset. You may want to get a uniformly sampled subset out of a datatset stored in a file. The perlscript below does the job for you. if ( $#ARGV!=1 ) { print "Wrong number of arguments\\n\\t". "uniform-sampler.pl <file> <sample_proportion>\\n"; } else { srand(); open(FILE,$ARGV[0]) or die "File $ARGV[0] could not be open"; while($line=<FILE>) { if ( rand()<$ARGV[1] ) { print $line; } } close FILE; } 1;

May 11, 2007 · 1 min · 74 words · Xavier Llorà

Package e1071 for R

The package e1071 for R is an interesting add on to your list of R packages. It includes functions for latent class analysis, short time Fourier transform, fuzzy clustering, support vector machines, shortest path computation, bagged clustering, naive Bayes classifier, independent component analysis, and more.

Apr 29, 2007 · 1 min · 45 words · Xavier Llorà