Left the CTO chair

May
26th
2009

It started as fresh air and slowly became toxic.

As a technical director, I thought I had the power to steer the technical part of my company but that revealed to be false. My father and his friend are the main providers of the software that let us work. I found it slow, difficult to maintain and evolve and not as productive as the company needed it to be.

I took the long way round and started providing the company with better systems, removing some daily problems.

And then I finally said that: We need to remake this software: why don’t we sit and choose if to start from the most critical parts that add the most value to our business or if to start from the boundaries and make the process slower but more predictive?
And nobody sat.
Not even my father.

It’s a professional and personal failure.

But it finally lets me open to learn something new, to re-join the community I left and to be have a better private life.

Don’t forget the NumberFormat!

May
23rd
2009

Or you’ll get some weird exchange as on today bbc homepage

bbc exchange

ServerDay 2009

May
20th
2009

Tomorrow I’ll attend the first Italian Java Application Server Day, organized by Genova JUG.


See you there folks!

UPDATE: an unexpected problem prevented me from attending :( Hope to find the slides online, at least.

Effective pairing

May
18th
2009

Despite you pair or not, you’re agile or not, this talk will teach you be a better co-worker. It examines some of the common problems you get with you colleagues and depicts how to get out of them or to solve them. It also mentions the “pomodoro technique” :)

ps: I’m trying Parleys embedded videos for the first time. Just go the site if you don’t like it.

KVM: from disk image to LVM

May
10th
2009

In the beginning I was creating virtual machines out of physical ones, overbooking their size to make guests believe they had, say, 30G, while the hard drive just had 20.

With the passing of time, these disk images were growing and growing, and performances went lower and lower.

So I’ve followed this guide, and found a problem at paragraph 8: converting an image file into a raw LVM volume does NOT work, at least with the current version of KVM available on Debian Lenny.

The solution is quite simple, even if time and disk space consuming, and it came from this post.

First create a raw image file:

kvm-img convert disk0.qcow2 -O raw disk0.raw

Then DD it to the LVM volume

dd if=disk0.raw of=/dev/vg01/vm1 bs=1M

VoilĂ !

Fax through email, email through scanner, with Exim

April
23rd
2009

Just to share, and to write down a note for further reference.

The good:

  • I’ve a fax/scanner/printer that’s able to directly send via email what you scan
  • I’ve a email to fax service

The bad:

  • the only way you can write the email address on the printer is with an alphanumeric keyboard, like the one of a mobile phone
  • the destination address is in the form of
    NUMBER@my.verylongdomain.com
    so sending faxes is very slow

I needed to make that address shorter.

Thanks to Exim (the internal smtp server we use), I was able to map a shorter form of the previous address with the original.

On Debian lenny, I’ve added the file /etc/exim4/conf.d/router/050_exim4-config_forward_domain

forwarddomain:
driver = redirect
domains = f
data = $local_part@my.verylongdomain.com

Now my co workers can send emails to NUMBER@f and Exim will remap them to NUMBER@my.verylongdomain.com

HTH

AsteriskNow 1.5 released

April
6th
2009

Just to forward the news, if you are using Asterisk and would like to have an integrated, asterisk-only-oriented distro, maybe in a virtual machine

AsteriskNOW 1.5.0 released

AsteriskNOW 1.5.0 is immediately available for download at http://www.asterisknow.org/downloads (existing users can run `yum update` to keep up with releases - in some rare cases, users may need to run `yum update glibc` first).

More at http://www.asterisknow.org/node/48579

ITA: Processo al Database

February
4th
2009


JRecordBind 2 has been released

January
21st
2009

JRecordBind 2 is the JAXB of fixed-length files: using XML Schema to describe their structure, it’s able to both produce and consume them, letting the developer focus on the real task, that’s what to do with the data.

This is the final release, ready for production use.

I’ve asked the java.net admins to graduate the project, and I’m waiting for their reply.

Anyway the URL won’t change, so it’s safe to bookmark:
https://jrecordbind.dev.java.net/

JRecordBind goes Jaxb

January
8th
2009

The current stable version on JRecordBind (rev 58) is deprecated: the new version is on its way to stable status!

JRecordBind-2 will be based on JAXB: forget the .properties file and start describing the hierarchy of your fixed length file with XML Schema!

For what I want it to do now, it’s feature complete. It needs a refactoring, since the code is the ugliest I’ve ever written. Once done, I’ll update the documentation, announce the final release and ask java.net admins to get me out of the incubator.

Stay tuned!