Simon Josefsson: Creating a small JPEG photo for your OpenPGP key
I m in the process of moving to a new OpenPGP key, and I want to include a small JPEG image of myself in it. The OpenPGP specification describes, in section 5.12.1 of RFC 4880, how an OpenPGP packet can contain an JPEG image. Unfortunately the document does not require or suggest any properties of images, nor does it warn about excessively large images. The GnuPG manual helpfully asserts that Note that a very large JPEG will make for a very large key. .
Researching this further, it seems that proprietary PGP program suggests 120 144 as the maximum size, although I haven t found an authoritative source of that information. Looking at the GnuPG code, you can see that it suggests around 240 288 in a string saying Keeping the image close to 240 288 is a good size to use . Further, there is a warning displayed if the image is above 6144 bytes saying that This JPEG is really large .
I think the 6kb warning point is on the low side today, however without any more researched recommendation of image size, I m inclined to go for a 6kb 240 288 image. Achieving this was not trivial, I ended up using GIMP to crop an image, resize it to 240 288, and then export it to JPEG. Chosing the relevant parameters during export is the tricky part. First, make sure to select Show preview in image window so that you get a file size estimate and a preview of how the photo will look. I found the following settings useful for reducing size:
Eventually, I managed to get a photo that I was reasonable happy with. It is 240 288 and is 6048 bytes large.
If anyone has further information, or opinions, on what image sizes makes sense for OpenPGP photos, let me know. Ideas on how to reduce size of JPEG images further without reducing quality as much would be welcome.
Researching this further, it seems that proprietary PGP program suggests 120 144 as the maximum size, although I haven t found an authoritative source of that information. Looking at the GnuPG code, you can see that it suggests around 240 288 in a string saying Keeping the image close to 240 288 is a good size to use . Further, there is a warning displayed if the image is above 6144 bytes saying that This JPEG is really large .
I think the 6kb warning point is on the low side today, however without any more researched recommendation of image size, I m inclined to go for a 6kb 240 288 image. Achieving this was not trivial, I ended up using GIMP to crop an image, resize it to 240 288, and then export it to JPEG. Chosing the relevant parameters during export is the tricky part. First, make sure to select Show preview in image window so that you get a file size estimate and a preview of how the photo will look. I found the following settings useful for reducing size:
- Disable Save EXIF data
- Disable Save thumbnail
- Disable Save XMP data
- Change Subsampling from the default 4:4:4 (best quality) to 4:2:0 (chroma quartered) .
- Try enabling only one of Optimize and Progressive . Sometimes I get best results disabling one and keeping the other enabled, and sometimes the other way around. I have not seen smaller size with both enabled, nor with both disabled.
- Smooth the picture a bit to reduce pixel effects and size.
- Change quality setting, I had to reduce it to around 25%.
Eventually, I managed to get a photo that I was reasonable happy with. It is 240 288 and is 6048 bytes large.
If anyone has further information, or opinions, on what image sizes makes sense for OpenPGP photos, let me know. Ideas on how to reduce size of JPEG images further without reducing quality as much would be welcome.

Five years ago 

KDE
We will ship with at least KDE Applications 4.13, maybe some 4.14 things as well (if we are lucky, since Tanglu will likely be in feature-freeze when this stuff is released). The other KDE parts will remain on their latest version from the 4.x series. For Tanglu 3, we might update KDE SC 4.x to KDE Frameworks 5 and use Plasma 5 though.
GNOME
Due to the lack manpower on the GNOME flavor, GNOME will ship in the same version available in Debian Sid maybe with some stuff pulled from Experimental, where it makes sense. A GNOME flavor is planned to be available.
Common infrastructure
We currently run with systemd 208, but a switch to 210 is planned. Tanglu 2 also targets the X.org server in version 1.16. For more changes, stay tuned. The kernel release for Bartholomea is also not yet decided.
Artwork
Work on the default Tanglu 2 design has started as well any artwork submissions are most welcome!
Tanglu joins the OIN
The Tanglu project is now a proud member (licensee) of the

Yesterday, the Belgian team played against Algeria, and won 2-1. Before
the match, there was some criticism about coach Wilmots' decision not
to field a number of top players in the team at the start of the match.
Today, some journalists -- including, apparently, some Russian
journalists -- seem to think that the team didn't play all that well,
and that the Belgian team could be beaten by a better team.
I don't think that's the case; I think the strategy of Wilmots was a
stroke of genius.
The Algerian coach fielded a wall of 5 defenders, and played a pretty
good counter game. When the Belgian team had posession -- for about 65%
of the time during the entire match -- the Algerians returned every
man to their own half of the field. Whenever one of the Belgian strikers
came close to the Algerian penalty area, at least two Algerian players
would be near and block them off.
How does one win from a team that doesn't want to give you a millimeter
of room? One way is to wear them out, and that's exactly what the team
did: by keeping the pressure on the Algerian defense, the Algerian
defense had to run a lot. Running a lot makes you tired, and if you're
tired you make mistakes, or you can't follow a fresh substitute player.
During half-time, it was reported that Wilmots had relayed the message
to his players that "the bench will make the difference". And indeed it
did; some time into through the second half, Wilmots substituted three
players -- two strikers and one offensive midfielder -- with the top
players he'd kept on the bench. Two of these three players made the
difference, scoring two goals to end up with 2-1.
Reading some articles today, it seems like many analysts think that this
was a spur of the moment thing by Wilmots; but I think it's more likely
that this was a deliberate strategy. Making the opposing defense run a
lot is certainly a good strategy; but the downside of that is that your
own offensive players will need to run a lot, too. If you can swap those
out for top players on the bench...
It'll be interesting to see the next matches.
TeleGPS Battery Life
I charged up one of the

I used to work for
So, after writing
Traffic pattern as a bridge:
Anyway I'm happy to have
Another relative with cancer. Another very short haircut in sympathy.

Maybe someone else is using iDataPlex HW, so this might come in helpful...
TL, DR: Dear Hardware Vendors! Please don't force people to use specific Linux distributions when a simple unzip command would do the same.
At work we run (amongst others) an HPC system consisting of 120
In 2009, I reported 
It's that time of the year, again, when I lan to go to Debconf, reserve vacation, get visa waiver, book tickets. Let's hope nothing blocks me from attending this time. It has been too long.
Now I just need to finish up