blog/archives/2006/10zack's home pagehttp://upsilon.cc/~zack/blog/archives/2006/10/zack's home pageikiwiki2009-11-28T12:00:16Zsignature bac+bachhttp://upsilon.cc/~zack/blog/posts/2006/10/signature_bac+bach/2009-01-05T17:01:30Z2006-10-31T09:12:55Z
<h1>Nuova signature</h1>
<pre><code>Stefano Zacchiroli -*- Computer Science PhD student @ Uny Bologna, Italy
zack@{cs.unibo.it,debian.org,bononia.it} -%- http://www.bononia.it/zack/
(15:56:48) Zack: e la demo dema? /\ All one has to do is hit the
(15:57:15) Bac: no, la demo scema \/ right keys at the right time
</code></pre>
<p>Titolo: <em>Bac + Bach</em></p>
tomboy mindmaphttp://upsilon.cc/~zack/blog/posts/2006/10/tomboy_mindmap/2009-11-28T12:00:16Z2006-10-30T13:04:44Z
<h1>Graphviz-based mindmap with Tomboy</h1>
<p>After <a href="http://upsilon.cc/~zack/blog/posts/2006/10/dear_old_mutt/">having
started</a> using <a href=
"http://www.beatniksoftware.com/tomboy/">Tomboy</a>, I've already
become addicted to it. It's basically <em>a merger between a note
taking tool and a desktop wiki</em> (with some issues with
WikiWords nonetheless: <a href=
"http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=396177">#396177</a>).</p>
<p>I was missing a <a href=
"http://en.wikipedia.org/wiki/Mindmap">Mind map</a> feature though.
Thus I wrote the tiny teeny hack of the day which processes
Tomboy's notes from <tt>~/.tomboy/</tt> and generates a <a href=
"http://www.graphviz.org">Graphviz</a> graph that is then rendered
(to SVG) and shown on the fly. Now I can just run <tt>mindmap</tt>
to obtain a Mind map of my notes, the following is a sample
result:</p>
<p><img src="http://upsilon.cc/~zack/blog/posts/2006/10/tomboy_mindmap/screenshot.png"
alt="screenshot.png" /></p>
<h2>Enjoy <tt>mindmap</tt></h2>
<ul>
<li><a href=
"http://upsilon.cc/~zack/blog/posts/2006/10/tomboy_mindmap/tomboy2dot.xsl">tomboy2dot.xsl</a>
(XSLT stylesheet for converting a Tomboy note to a Graphviz
snippet)</li>
<li><a href=
"http://upsilon.cc/~zack/blog/posts/2006/10/tomboy_mindmap/mindmap.sh">mindmap.sh</a>
(Main executable which process all Tomboy notes with the above
stylesheet, supposedly in <tt>~/bin/</tt>, and do all the remaining
jazz)</li>
</ul>
<h2>TODO</h2>
<ul>
<li>add hyperlinks from the SVG output back to Tomboy notes (easy)
and find an SVG viewer which follow hyperlinks on click invoking
tomboy (uhm, ... anyone knows a SVG viewer able to follow
links?)</li>
</ul>
<p>Kudos to Sebastian Menge who wrote <a href=
"http://beatniksoftware.com/pipermail/tomboy-list_beatniksoftware.com/2006-February/001068.html">
the XSLT stylesheet I started from</a>.</p>
dear old mutthttp://upsilon.cc/~zack/blog/posts/2006/10/dear_old_mutt/2009-11-28T12:00:16Z2006-10-29T14:15:35Z
<h1>Dear old Mutt, ...</h1>
<p>My MUA of choice is <a href="http://www.mutt.org/">Mutt</a>.
I've been using it for something like 8 years now and I like it:
it's quick, powerful and well integrated with the Unix way of
handling mail (e.g. <a href=
"http://www.procmail.org/">procmail</a>). But we all know that.</p>
<p>My feeling today is that sooner or later I will be forced to
abandon it. The main reason is that it seems to be a dead product,
upstream development is not dead but I fail to see an <em>overall
plan</em> for my beloved MUA. Other text based application have
understood that they should be integrated in some way with the
desktop and/or windowing environment in which they are run:
<a href="http://www.vim.org">Vim</a> for example is able to deal
with the mouse wheel event when run in an xterm or even has
developed a GUI which is well integrated with the <a href=
"http://www.gnome.org">Gnome</a> session mechanism. Why Mutt is
not?</p>
<p>Such feelings of today has been originated by <a href=
"http://www.beatniksoftware.com/tomboy/">Tomboy</a>, a wonderful
note taking tool with Wiki-like capabilities, integrated with
Gnome. It has a plugin for drag and dropping <a href=
"http://www.gnome.org/projects/evolution/">Evolution</a> mails on
notes automatically providing links from the notes to your mailbox:
that's ... wow, great!</p>
<p>I'm already using Evolution as my organizer and I already have
<a href="http://gaim.sourceforge.net/">Gaim</a> integrated with it
for contacts. I <em>fear</em> the moment I will try it for mails
because I'm pretty sure it also has an UI which can be easily used
with keyboard without the need of the mouse. Since I'm using all
this on my laptop which is always with me (and this means that the
argument "Mutt can be used remotely using a 9600 GSM connection" is
bogus), it seems I'm running out of arguments for sticking to
Mutt.</p>
<p>Oh, right, there is the procmail stuff, my last feeble chance of
keep on using Mutt ...</p>
movie reces 1http://upsilon.cc/~zack/blog/posts/2006/10/movie_reces_1/2009-01-05T17:01:30Z2006-10-29T10:44:24Z
<h1>Un giro di recensioni (part 1 of ...)</h1>
<p>Ieri un'amica mi ha chiesto via mail un consiglio su cosa andare
a vedere al cinema in questi giorni. Inizialmente ho tentato di
essere breve puntando ad un solo consiglio mirato, ma non
conoscendo i suoi gusti cinematografici il compito si è rivelato
impossibile.</p>
<p>Mi sono quindi ritrovato ad essere prolisso come al solito, e
alla fine gli ho risposto con una mail di una 20ina di riga che
raccoglieva miei commenti sui film che ho visto di recente in quel
di Bologna. Cavolo!, ne ho visti veramente tanti, questa stagione
cinematografica è ricca ed inaspettatamente più che soddisfacente
di quanto fosse capitato altri anni. (O forse semplicemente vado
troppo al cinema ...)</p>
<p>Questi i commenti che ho collezionato nella mail:</p>
<h2>Sconsiglio</h2>
<ul>
<li><em>Black Dahila</em>: noir americano, scontato e piatto, uno
dei peggiori De Palma di sempre</li>
<li><em>La Commedia del Potere</em>: piacevole commedia tagliente
di Chabrol sulla mala politica americana, ma tutto sommato con
storia non coinvolgente, notevole l'interprete principale</li>
</ul>
<h2>Consiglio</h2>
<ul>
<li><em>Miami Vice</em>: a dispetto da quanto possa fare storcere
il naso (e considerando che non ho mai visto il telefilm), è un
poliziesco veramente ben fatto, con un sacco di riprese sognanti di
Miami e dintorni (io poi sono un patito di Michael Mann, il
regista, e questo è forse IL suo capolavoro)</li>
<li><em>Nuovomondo</em>: un gioiello italo-francese, una favola
bellissima di una famiglia siciliana che emigra in america nel
dopoguerra con immagini da togliere il fiato e scene surreali che
incantano, è volato via senza che io me ne accorgessi</li>
<li><em>Scoop</em>: se ti piace Allen questa è una sua commedia
tagliente, divertente e con il solito lui e l'azzeccatissima
Scarlett Johansson</li>
</ul>
<h2>Consiglio (ma, un po' meno)</h2>
<ul>
<li><em>La Stella che non c'è</em>: film italiano con un fenomenale
Castellito ed una Cina vista dagli occhi di un medio lavoratore che
finisce la per correre dietro ad un suo motivo di vita</li>
<li><em>The Queen</em>: la storia della morte di Lady D. vista
dagli occhi della famiglia reale e del giovane Tony Blair.
Sceneggiatura fantastica rovinata da un manipolo di attori (tutti
tranne re e regina) penosi</li>
</ul>
<p>Poi mi chiedeva di Babel, ma su quello sono stato poco
d'aiuto:</p>
<blockquote>
<p>No, Babel non l'ho visto, conosco un po' il regista che è
bravino, senza infami senza lode, forse con l'eccezione di 21
Grammi che aveva un montaggio fantastico!</p>
</blockquote>
<p><strong>P.S.</strong> mi sono messo ora a riguardare Collateral
di Mann, mi sta piacendo ancora di più della prima volta che lo
vidi, è forse tempo che io dia una seconda possibilità anche ad
Heat?</p>
bzrtools not up to datehttp://upsilon.cc/~zack/blog/posts/2006/10/bzrtools_not_up_to_date/2009-11-28T12:00:16Z2006-10-18T15:58:43Z
<h1>I'm starting to hate bzrtools 0.11.0</h1>
<p>My Ph.D. thesis is (obviously) being written in LaTeX and (even
more obviously) being edited with Vim. The VCS I'm using to save my
ass is (less obviously) <a href=
"http://bazaar-vcs.org/">bzr</a>.</p>
<p>I chose it just for fun, but I must say that I'm quite happy
with it and I'm also considering using some of its distributed
features to track an external Subversion repository (using <a href=
"https://launchpad.net/products/bzr-svn">bzr-svn</a>) which
contains changes to my BibTeX database to merge them back in my
local copy.</p>
<p>Still, the next time I see the following message, there is a
non-negligible probability that I'll totally freak out:</p>
<pre><code>zack@aquarium:~/thesis$ bzr st
Bzrtools is not up to date with installed bzr version 0.11.0.
There should be a newer version available, e.g. 0.11.
<snip>
</code></pre>
<p>I'm ready to offer a bounty of 1 beer (to be paid at the next
Debconf) to the first who fixes it in sid!</p>
iene vs rodotahttp://upsilon.cc/~zack/blog/posts/2006/10/iene_vs_rodota/2009-01-05T17:01:30Z2006-10-12T11:02:03Z
<h1>Iene vs Rodotà</h1>
<p>Ho or ora finito di leggere un <a href=
"http://www.repubblica.it/2006/10/sezioni/cronaca/droga-parlamentari/rodota-diritti-violati/rodota-diritti-violati.html">
bell'articolo di Stefano Rodotà</a> su <a href=
"http://www.repubblica.it">Repubblica.it</a> (spero che il link
all'articolo sia stabile nel tempo ...). Tema dell'articolo è la
diatriba di questi giorni tra la trasmissione Le Iene ed il Garante
per la privacy che ha bloccato la messa in onda del noto servizio
che ha verificato la positività all'uso di sostante stupefacenti da
parte di un numero non indifferente di parlamentari.</p>
<p>Bell'articolo, concordo sul principio di base: la legalità deve
venire prima di tutto. Se, secondo la legge sulla privacy, i metodi
usati da Le Iene per la raccolta dei campioni e per la messa in
onda del servizio non sono legali, allora il servizio non deve
andare in onda. Punto.</p>
<p>Il dubbio che però regna sovrano sulla vicende, dubbio che
l'ex-garante (o lo è ancora? non mi è chiaro ...) si guarda ben
dallo sciogliere, è un altro.</p>
<p>Le Iene, così come altre trasmissioni dallo scoop facile quali
Striscia La Notizia, da sempre realizzano e mandano in onda servizi
che trattano dati sensibili di persone. Da sempre rendono
irriconoscibili quelle persone mediante camuffamento digitale delle
riprese audio/video.</p>
<p>Perché, signor Garante, ha usato la motivazione della legalità
per difendere i diritti dei parlamentari, ma non per difendere in
passato i diritti di altre categorie? La domanda è trivialmente
retorica ...</p>
<p>W la legalità, ma W la legalità per tutti.</p>
why i love collab mainthttp://upsilon.cc/~zack/blog/posts/2006/10/why_i_love_collab_maint/2009-11-28T12:00:16Z2006-10-04T14:09:00Z
<h1>Why I love collaborative maintenance</h1>
<pre><code>zack@aquarium:~/pkg-ocaml-maint/trunk/packages$ find . -name control -exec sed -i s/XS-X-Vcs-Svn/XS-Vcs-Svn/ {} \;
zack@aquarium:~/pkg-ocaml-maint/trunk/packages$ svn commit -m 'renamed Vcs-Svn to match the final name'
Sending packages/advi/trunk/debian/control
<snip>
Transmitting file data ..........................................................................................
Committed revision 3216.
</code></pre>
<p>Wouldn't it be super cool to be able to do the same on
<em>all</em> packages of the Debian archive?</p>
<p>And no, I'm not speaking about the damned <a href=
"http://www.bononia.it/~zack/blog/posts/xs-vcs-XXX_almost_there.html">
XS-Vcs-* field</a> with which I've already bothered you <a href=
"http://www.bononia.it/~zack/blog/posts/xs-x-vcs-XXX.html">a</a>
<a href=
"http://www.bononia.it/~zack/blog/posts/xs-vcs-XXX_almost_there.html">
lot</a>. I'm talking about the ability of perform massive changes
on the whole bunch of Debian packages in a batch fashion.</p>
<p>Of course <em>permissions</em> should be accounted for, but it
can be reduced to not being a big deal. Just map the current idea
of maintenance group to regular Unix groups used to govern
who-can-commit-where in the repository, perhaps with some
super-group like "release managers" or "qa" who can commit
everywhere.</p>
<p>Finally, add the topping of a couple of <em>scripts to
automatically rebuild and/or upload</em> packages from the
repository.</p>
<p>Wouldn't that have a great potential of improving the boring
procedure of NMU, never too quick and easy to not hinder its
diffusion?</p>
xs-vcs-XXX almost therehttp://upsilon.cc/~zack/blog/posts/2006/10/xs-vcs-XXX_almost_there/2009-11-28T12:00:16Z2006-10-04T13:05:30Z
<h1>VCS-* field update: almost there</h1>
<p>The <a href="http://upsilon.cc/~zack/blog/posts/2006/09/xs-x-vcs-XXX/">XS-X-Vcs-*
field</a> idea seems to have been liked by a lot of people who
started adding the field to their packages, despite it being only
announced on this blog (oh, you're right, and a bit <a href=
"http://lists.debian.org/debian-devel/2006/09/msg00722.html">flamed
on d-d</a> too :-), sorry for that).</p>
<p>Since then I patched the PTS so that also <b>XS-Vcs-*</b>
(without the middle "X-") is supported. This way the field seems a
bit more official, please prefer that form in your packages. At the
next pulse of the PTS web interface you should be able to see the
result looking at packages like <a href=
"http://packages.qa.debian.org/polygen">polygen</a> and <a href=
"http://packages.qa.debian.org/tagcoll2">tagcoll2</a> which
<a href="http://www.enricozini.org//blog/pdo.html">Enrico</a>
(thanks!) kindly offered as test packages for the new, supposedly
final, naming.</p>
<p>People who started using the format I formerly announced don't
have to worry, it is supported as well for now. Of course changing
it to the new one would be better.</p>
<p>As a side note I also decided to keep this name, in spite of
some different proposals on d-d, since no consensus on changing was
reached.</p>
<p>The last bit missing before an overdue announcement on <a href=
"http://lists.debian.org/debian-devel-announce">d-d-a</a> is
documenting the field. The appropriate place for that being the
<a href="http://www.enricozini.org//blog/pdo.html">Debian
Developer's Reference</a>, since it already contains the
documentation of the other <a href=
"http://packages.qa.debian.org/">PTS</a> stuff, I just submitted
<a href="http://bugs.debian.org/391023">#391023</a> with a patch
documenting the field.</p>
<p>As soon as I'll have feedback from the devref guys I will
announce it properly on d-d-a, I swear.</p>