You are here

Enrico Zini's blog

Enrico Zini's blog
Checked: 1 year 4 months ago
Updated: 1 year 4 months ago
Update every: 2 hours

Enrico Zini: blog
Subscribe to Enrico Zini's blog

Praise of component reuse

Enrico Zini's blog - Fri, 04/03/2016 - 10:54am

I farm bits and pieces out to the guys who are much more brilliant than I am. I say, "build me a laser", this. "Design me a molecular analyzer", that. They do, and I just stick 'em together. (Seth Brundle, "The Fly")

When I decided to try and turn siterefactor into staticsite, I decided that I would go ahead only for as long as it could be done with minimal work, writing code in the most straightforward way on top of existing and stable components.

Static site generators

Enrico Zini's blog - Tue, 01/03/2016 - 12:36pm

I decided to rethink the state of my personal site, and try out some of the new static site generators that are available now.

To do that, I jotted down a series of things that I want in a static site generator, then wrote a tool to convert my ikiwiki site to other formats, and set out to evaluate things.

As a benchmark I did a full rebuild of my site, which currently contains 1164 static files and 458 markdown pages.

I heard you like meta...

Enrico Zini's blog - Tue, 01/03/2016 - 10:54am

Now I want to write a blog post on blogging softwares, but first I need to write the bit of my blogging software that writes new blog posts.

How meta is the metadata on this post?

In praise of pdftk and inkscape

Enrico Zini's blog - Tue, 23/02/2016 - 6:00pm
In praise of pdftk and inkscape

To appease the utterly evil, capricious and monstrous gods of Italian bureaucracy, I needed to craft several PDF files to sacrifice to the altar of the Italian Certified Email.

Three of those PDFs (let's call them A.pdf, B.pdf and C.pdf) are copies of multi-page PDFs where I need to sign each page and then send them back.

One of them (let's say C.pdf) needs to be signed on each page except the last, which needs instead to be signed twice in two special blank spaces.

pdftk-inkscape

Enrico Zini's blog - Tue, 23/02/2016 - 6:00pm
In praise of pdftk and inkscape

To appease the utterly evil, capricious and monstrous gods of Italian bureaucracy, I needed to craft several PDF files to sacrifice to the altar of the Italian Certified Email.

Three of those PDFs (let's call them A.pdf, B.pdf and C.pdf) are copies of multi-page PDFs where I need to sign each page and then send them back.

One of them (let's say C.pdf) needs to be signed on each page except the last, which needs instead to be signed twice in two special blank spaces.

pdftk-inkscape

Enrico Zini's blog - Tue, 23/02/2016 - 6:00pm
In praise of pdftk and inkscape

To appease the utterly evil, capricious and monstrous gods of Italian bureaucracy, I needed to craft several PDF files to sacrifice to the altar of the Italian Certified Email.

Three of those PDFs (let's call them A.pdf, B.pdf and C.pdf) are copies of multi-page PDFs where I need to sign each page and then send them back.

One of them (let's say C.pdf) needs to be signed on each page except the last, which needs instead to be signed twice in two special blank spaces.

Debugging output of GUI apps

Enrico Zini's blog - Thu, 18/02/2016 - 2:09pm
Debugging output of GUI apps

I have been hit by #643726 again. I was happily working on a terminal while an apt upgrade was running on another, and suddenly kbuildsycoca4 started vomiting on my command line because I had run okular once on that terminal last tuesday.

Among the possible workarounds, one can run kdebugdialog from package kde-runtime and check the "Disable all debug output" button.

This is the output of kdebugdialog when run on a terminal after enabling "Disable all debug output":

gui-debugging-output

Enrico Zini's blog - Thu, 18/02/2016 - 2:09pm
Debugging output of GUI apps

I have been hit by #643726 again. I was happily working on a terminal while an apt upgrade was running on another, and suddenly kbuildsycoca4 started vomiting on my command line because I had run okular once on that terminal last tuesday.

Among the possible workarounds, one can run kdebugdialog from package kde-runtime and check the "Disable all debug output" button.

This is the output of kdebugdialog when run on a terminal after enabling "Disable all debug output":

gui-debugging-output

Enrico Zini's blog - Thu, 18/02/2016 - 2:09pm
Debugging output of GUI apps

I have been hit by #643726 again. I was happily working on a terminal while an apt upgrade was running on another, and suddenly kbuildsycoca4 started vomiting on my command line because I had run okular once on that terminal last tuesday.

Among the possible workarounds, one can run kdebugdialog from package kde-runtime and check the "Disable all debug output" button.

This is the output of kdebugdialog when run on a terminal after enabling "Disable all debug output":

debtags-cleanup

Enrico Zini's blog - Fri, 05/02/2016 - 6:18pm
debtags.debian.org cleaned up

Since the Debtags consolidation announcement there are some more news:

debtags.debian.org cleaned up

Enrico Zini's blog - Fri, 05/02/2016 - 6:18pm
debtags.debian.org cleaned up

Since the Debtags consolidation announcement there are some more news:

debtags-cleanup

Enrico Zini's blog - Fri, 05/02/2016 - 6:18pm
debtags.debian.org cleaned up

Since the Debtags consolidation announcement there are some more news:

Downgrading network-manager

Enrico Zini's blog - Thu, 07/01/2016 - 10:37am
Downgrading network-manager

This morning I woke up. Bad idea.

I find in the work mail a compiler error that I cannot reproduce, so I need to log into a machine at work. But #809195.

I decided to downgrade network-manager. I recall there was a tool to download packages from snapshots.debian.org, I discussed it recently on IRC, let's sync the IRC logs from my server. Or not (#810212).

downgrading-network-manager

Enrico Zini's blog - Thu, 07/01/2016 - 10:37am
Downgrading network-manager

This morning I woke up. Bad idea.

I find in the work mail a compiler error that I cannot reproduce, so I need to log into a machine at work. But #809195.

I decided to downgrade network-manager. I recall there was a tool to download packages from snapshots.debian.org, I discussed it recently on IRC, let's sync the IRC logs from my server. Or not (#810212).

downgrading-network-manager

Enrico Zini's blog - Thu, 07/01/2016 - 10:37am
Downgrading network-manager

This morning I woke up. Bad idea.

I find in the work mail a compiler error that I cannot reproduce, so I need to log into a machine at work. But #809195.

I decided to downgrade network-manager. I recall there was a tool to download packages from snapshots.debian.org, I discussed it recently on IRC, let's sync the IRC logs from my server. Or not (#810212).

akonadi-fails-to-sync

Enrico Zini's blog - Tue, 01/12/2015 - 1:01pm
When Akonadi silently fails to sync your calendar...

Bug severity: seriously ruining my life.

Try to use korganizer to create a calendar entry when the server is not reachable (say, you are offline, or you typed the wrong password), and you may find that you end up with no error messages, an entry that shows up perfectly fine, but that will never be synced to the server, ever again.

When Akonadi silently fails to sync your calendar...

Enrico Zini's blog - Tue, 01/12/2015 - 1:01pm
When Akonadi silently fails to sync your calendar...

Bug severity: seriously ruining my life.

Try to use korganizer to create a calendar entry when the server is not reachable (say, you are offline, or you typed the wrong password), and you may find that you end up with no error messages, an entry that shows up perfectly fine, but that will never be synced to the server, ever again.

akonadi-fails-to-sync

Enrico Zini's blog - Tue, 01/12/2015 - 1:01pm
When Akonadi silently fails to sync your calendar...

Bug severity: seriously ruining my life.

Try to use korganizer to create a calendar entry when the server is not reachable (say, you are offline, or you typed the wrong password), and you may find that you end up with no error messages, an entry that shows up perfectly fine, but that will never be synced to the server, ever again.

Italian Fattura Elettronica with OpenSSL

Enrico Zini's blog - Fri, 23/10/2015 - 8:35am
Italian Fattura Elettronica with OpenSSL

I have had some success signing an Italian fattura elettronica with OpenSSL.

I am amazed to realise that the software they gave me to do the job is of such bad quality that I felt like spending a few hours trying to do the same thing with OpenSSL instead.

italian-fattura-elettronica-with-openssl

Enrico Zini's blog - Fri, 23/10/2015 - 8:35am
Italian Fattura Elettronica with OpenSSL

I have had some success signing an Italian fattura elettronica with OpenSSL.

I am amazed to realise that the software they gave me to do the job is of such bad quality that I felt like spending a few hours trying to do the same thing with OpenSSL instead.

italian-fattura-elettronica-with-openssl

Enrico Zini's blog - Fri, 23/10/2015 - 8:35am
Italian Fattura Elettronica with OpenSSL

I have had some success signing an Italian fattura elettronica with OpenSSL.

I am amazed to realise that the software they gave me to do the job is of such bad quality that I felt like spending a few hours trying to do the same thing with OpenSSL instead.

Extracting XML payload from Italian Fattura Elettronica zipfiles

Enrico Zini's blog - Fri, 09/10/2015 - 9:52am
Extracting XML payload from Italian Fattura Elettronica zipfiles

This system does not even export to PDF. In order to provide my accountant with something better than a DER-encoded file with a random-looking name stored inside a zipfile, here is a script that at least extracts the unsigned XML payload out of a saved Fattura Elettronica.

If you're giving a python course in Italy, this sounds like a nice early programming assignment.

extract-xml-from-fattura-elettronica

Enrico Zini's blog - Fri, 09/10/2015 - 9:52am
Extracting XML payload from Italian Fattura Elettronica zipfiles

This system does not even export to PDF. In order to provide my accountant with something better than a DER-encoded file with a random-looking name stored inside a zipfile, here is a script that at least extracts the unsigned XML payload out of a saved Fattura Elettronica.

If you're giving a python course in Italy, this sounds like a nice early programming assignment.

extract-xml-from-fattura-elettronica

Enrico Zini's blog - Fri, 09/10/2015 - 9:52am
Extracting XML payload from Italian Fattura Elettronica zipfiles

This system does not even export to PDF. In order to provide my accountant with something better than a DER-encoded file with a random-looking name stored inside a zipfile, here is a script that at least extracts the unsigned XML payload out of a saved Fattura Elettronica.

If you're giving a python course in Italy, this sounds like a nice early programming assignment.

If you happen to know a browser developer...

Enrico Zini's blog - Tue, 01/09/2015 - 3:25pm
If you happen to know a browser developer...

Do you happen to know a developer of Firefox or Chrome or some other mainstream browser?

If so, can you please talk to them about our experiments with Client Certificate authentication in Debian?

Client Certificate authentication rocks; with just a couple of little tweaks in the interface, it would be pretty close to perfect.

Pages

Subscribe to Enrico Zini's blog