Monthly Archives: February 2009

highbase beta-0.9.4

Heavy testing, headphones with no music, lots of Sanchez Gran Reserva, headphones with Miles Davis, more testing, an updated Installation Guide, Charles Mingus & Eric Dolphy, and I still couldn’t get a Release Candidate out.

Well, such is the life of the multi purpose hacker. Other people are always finding out new purposes for you, which makes your free time aproach zero.

Does this mean that the release date of rc-1 will never come? Nah, I don’t think so. I have high hopes for the next iteration.

Wanna help me? Please test the installation guide, and then test the cluster itself. There’s a contact mail in the guide (yep, I don’t fear spam, I love it, it’s great for art).

Thanks to the 5000+ anonymous folks who bothered to download this, and thanks to all the people who contributed patches throughout these years.

Generating random salts from bash

From the ‘just because it can be done’ column, here comes a handy shell script to generate random salts.

So, without further ado,  here it goes:

#!/bin/bash 

[ $# -eq 0 ] && {
        echo "usage: salt <length>">&2
        exit
}
strings </dev/urandom | while read line; do
        echo $line | tr '\n\t ' $RANDOM:0:1 >> /tmp/.salt.$$
        salt=$(cat /tmp/.salt.$$)
        [ ${#salt} -ge $1 ] && salt=${salt:0:$1} && echo $salt && break
done
rm -f /tmp/.salt.$$

I had to use $1 and not a var, and echo the salt right from inside the while, because the ‘|’ creates another shell, so I can’t pass variables to or from the while in this case.

If you want to keep things simple, you can go perl and just do

#!/usr/bin/perl
use Crypt::Salt;
my $length = shift;
print salt($length);

But if you ever find yourself in a server with no cpan, the first option might prove useful :)

I love playing Monopoly

This is the latest speed test I run against Santiago de Chile, where a lonely database server is waiting for my queries. Well, it’s got a lot of waiting to do.

This results are from a 2048 down /256 up Kb/s connection for which I pay U$S 52/monthly.
Yeah, I feel your envy already.

The Administración Nacional de Telecomunicaciones of Uruguay runs my ISP. I could choose another one, but the link to the outside world would eventually be handled by the state.

I called tech support twice this week, and it seems this results are due to a problem with the international (I get real fast to anything in Uruguay or Argentina, I guess it’s my fault for getting customers outside of that comfort zone!) link. They don’t have an estimated date of repair, and they don’t need to, since, what else I’m I going to do? Probably take a plane and sit on a console in front of the damn database.

Uruguay: redefining the term ‘Sneaker Net’

Erlybird 0.17.0 released

Yep, I’m really late for this.

However, I didn’t want to let it pass. I checked up on erlybird a couple of times before, but it was only available as a source project, and you needed a particular netbeans version in order to build the module.

I’m as geek as it gets, but I’m also 30, married, and a parent. I would have done that 12 years ago, now ./configure && make && make install is as far as I take it unless I’m really into it.

So 0.17.0 (released last November) fixes all this, it’s a netbeans module, which you can install the usual way. It requires NetBeans 6.5, but that’s not an issue for me since I’ve been using that version for quite a while already.

Here’s a link with more info.

Kudos to both admins for the great job they’ve done.