Recent blog entries for mones

An useful new feature of git

Just read in LWN that git 2.2.0 is coming with the support for signed pushes. What's that? Well, name says it all: you can sign with your public PGP key the 'git push' operation, which of course can be checked on the corresponding server side hook.

This opens a new way of contributing to public repositories without the need to have an actual account on the machine, which is always good for sysadmins :-) and security, of course. In the case of Claws Mails, translators could be pushing their translations, for example, which cold be also good for our release manager too ;-).

Syndicated 2014-12-02 23:46:22 from Ricardo Mones

FOSS or not FOSS, that's the question

Today in #claws IRC channel some user wanted to move away from Claws Mail to another MUA. That probably happens every day or two, so nobody really cares (I don't, at least).

Claws' storage format is MH, nothing exotic or unknown, hence there's no explicit exporting utilities, as requested by that user. Anyway one of the developers suggested mh2mbox, which seems a pretty straightforward option. Claws has also a mailmbox plugin, which can be populated with messages from MH folders, but when you have lots of them the task becomes boring :-)

Anyway, the point of this post was not the technicalities of conversion but more the ideas people has about FOSS. At some point, after some arguing about how developers doesn't listen to users and how wrong donating to the project had been, the user said:

12:54 < somebody> If I develop a system, and I want people to use it, then I 
                  have a duty to listen to people and consider to make it 
                  useable for them ... or else, they won't use it.

That's a huge misconception, probably because nobody reads the license nowadays. Yeah, it's free, just download it! Reading licen-what? It's free!

I'd put it clear: I'm not a company, I don't want people to use my software, I let people use it if it's useful to them, and of course I'd like it to be useful.
But if not, you already have the source and can (learn to) modify it at will, or pay some other to do so. Nothing else is given to you, remember:

    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of

Syndicated 2014-10-15 12:33:18 from Ricardo Mones

Switching PGP keys

Finally I find the mood to do this, a process which started 5 years ago in DebConf 9 at Cáceres by following Ana's post, of course with my preferred options and my name, not like some other ;-).

Said that, dear reader, if you have signed my old key:

1024D/C9B55DAC 2005-01-19 [expires: 2015-10-01]
Key fingerprint = CFB7 C779 6BAE E81C 3E05  7172 2C04 5542 C9B5 5DAC

And want to sign my "new" and stronger key:

4096R/DE5BCCA6 2009-07-29
Key fingerprint = 43BC 364B 16DF 0C20 5EBD  7592 1F0F 0A88 DE5B CCA6

You're welcome to do so :-)

The new key is signed with the old, and the old key is still valid, and will probably be until expiration date next year. Don't forget to gpg --recv-keys DE5BCCA6 to get the new key and gpg --refresh-keys C9B55DAC to refresh the old (otherwise it may look expired).

Debian's Keyring Team has already processed my request to add the new key, so all should keep working smoothly. Kudos to them!

Syndicated 2014-07-29 08:42:44 from Ricardo Mones

Happy gitnniversary!

A whole year has passed since my post about moving Claws Mail development to Git!

Looking from the distance it resulted more easy than expected, or maybe it's just that I only remember the good moments :-) and forgot about the not so good ones.

The only drawback is that I know of at least one core developer which has been excluded from development because of this move. I also know git is probably not the only reason, but anyway, this makes the sweetness of migration a bit bitter, even a year later.

BTW, his music is really good, so even if I miss him as developer I also want him to keep playing!

Syndicated 2014-03-22 15:21:49 from Ricardo Mones

Fixing partridge eggs with industrial duct tape

Human nature is hard to change. Very hard. We can talk about it for ages, but mistakes repeat again and again. In the end it's mostly by mistakes how we learn, so I doubt this could ever be changed without losing our own nature. One of these is trying to fix some social issue with a technical measure. Unfortunately, given the technical orientation of most of the developers, this appears from time in our Debian private mailing list, and yesterday I realized it's our own version of Godwin's law:

“As a social problem discussion grows longer in debian-private the probability of some developer proposing a technical solution aproaches one.”

Not discussing about this problems in debian-private would be a good start, but of course that would only change the name of the list in the above sentence ;-).

Syndicated 2014-02-05 07:53:34 from Ricardo Mones

Shared memory crazyness

The output of some commands explains it all.

These are the default values in a Wheezy system:

$ ipcs -l

------ Shared Memory Limits --------
max number of segments = 4096
max seg size (kbytes) = 32768
max total shared memory (kbytes) = 8388608
min seg size (bytes) = 1

That's not enough for all the data I want to load in a single segment, so let's start with 1Gb of shared memory:

# sysctl kernel.shmmax=1073741824 kernel.shmall=1073741824
kernel.shmmax = 1073741824
kernel.shmall = 1073741824

So now, both should be equal, isn't it?

$ ipcs -l

------ Shared Memory Limits --------
max number of segments = 4096
max seg size (kbytes) = 1048576
max total shared memory (kbytes) = 4294967296
min seg size (bytes) = 1


A free $BEVERAGE when we met for the one which tells me what's happening here ;-)

Syndicated 2013-11-26 10:25:15 from Ricardo Mones

The Debian Project... reading my mind!

I didn't tell anybody, but a couple of months ago, when I finally had time at work to upgrade my work computer desktop from Squeeze to Wheezy I also switched from GNOME to XFCE. Now I read via LWN that Debian is doing the same, at least for a while :)

BTW, I knew newer GNOME was different (had seen it in Fedora 18 for example), anyway I installed it (because I was lazy enough just to apt-get dist-upgrade the box) and tried it.

Maybe it's me, becoming an old dog which doesn't want to learn new tricks, but in order to get my work done as fast as usually I had to install something usable, hence went back to XFCE. I had to manually convert GNOME panel launchers to XFCE launchers but, besides that and some missing applet I'm pretty happy with the switch.

Syndicated 2013-11-09 16:46:40 from Ricardo Mones

Forced to 3.11

No, not to this 3.11, but to Linux kernel 3.11.

I was aware of the #718533 bug, which happens when you have a software RAID with anything higher than 3.2.0 (mine is RAID 1 with 2 disks). At least that has been my case since I tried to upgrade, hence I was delaying upgrades again and again.

Unfortunately today things went worse when I tried to plug my USB 3.0 device on the system:

Oct 20 17:52:51 busgosu kernel: [20799.672127] xhci_hcd 0000:02:00.0: Timeout while waiting for address device command
Oct 20 17:52:51 busgosu kernel: [20799.876136] xhci_hcd 0000:02:00.0: ERROR no room on ep ring
Oct 20 17:52:51 busgosu kernel: [20799.876148] xhci_hcd 0000:02:00.0: ERR: No room for command on command ring
Oct 20 17:52:51 busgosu kernel: [20800.080148] usb 2-2: device not accepting address 2, error -12
Oct 20 17:52:51 busgosu kernel: [20800.080202] xhci_hcd 0000:02:00.0: ERROR no room on ep ring
Oct 20 17:52:51 busgosu kernel: [20800.080209] xhci_hcd 0000:02:00.0: ERR: No room for command on command ring
Oct 20 17:52:51 busgosu kernel: [20800.080221] xhci_hcd 0000:02:00.0: ERROR no room on ep ring
Oct 20 17:52:51 busgosu kernel: [20800.080227] xhci_hcd 0000:02:00.0: ERR: No room for command on command ring
Oct 20 17:52:51 busgosu kernel: [20800.080235] hub 2-0:1.0: couldn't allocate port 2 usb_device
Oct 20 17:52:53 busgosu kernel: [20801.568169] xhci_hcd 0000:02:00.0: ERROR no room on ep ring
Oct 20 17:52:53 busgosu kernel: [20801.568181] xhci_hcd 0000:02:00.0: ERR: No room for command on command ring
Oct 20 17:52:53 busgosu kernel: [20801.568190] hub 2-0:1.0: couldn't allocate port 2 usb_device

And of course the device didn't show up. As there's not much relevant stuff about this issue on the googlesphere, thought it may have been solved. And turned out that I was right: upgrading fixes this, and now the device works again.

But, hit by the above bug now I have to add a rootdelay=1 to my kernel boot parameters (started testing with 5 but finally seems one second is enough). Fortunately the Ubuntu folks have detailed how to do it ;-)

Syndicated 2013-10-20 17:36:19 from Ricardo Mones

Moving Claws Mail from CVS to Git

After a long week which started past Friday it's done and official: the Claws Mail project has moved from using the ancient CVS to Git.

Most of the unavoidable problems which happen when such transitions are made are solved now, so we can probably concentrate ourselves on some bug killing before making a new shiny release.

I've still had no time to migrate the Debian packages autobuilder from using old CVS to the new Git, so if you're using it, be patient, will be working again soon ;-).

Syndicated 2013-03-22 00:25:21 from Ricardo Mones


Yeah, it's that time of the year when I add one... but in hex looks like I'm younger ;-)

The little Colás is luckier than me, and still cannot count a whole year, but he keeps growing like a crazy, so not much time left for counting only months!

Syndicated 2012-12-26 02:15:36 from Ricardo Mones

82 older entries...

New Advogato Features

New HTML Parser: The long-awaited libxml2 based HTML parser code is live. It needs further work but already handles most markup better than the original parser.

Keep up with the latest Advogato features by reading the Advogato status blog.

If you're a C programmer with some spare time, take a look at the mod_virgule project page and help us with one of the tasks on the ToDo list!