Search Results: "Stefano Zacchiroli"

22 February 2010

Stefano Zacchiroli: RC bugs of the week - issue 22

RCBW - #22 With a mini-rush in the week-end, I'm now back on track to the weekly schedule of RCBW; here are this week's squashes: About this week highlights:

17 February 2010

Stefano Zacchiroli: RC bugs of the week - issue 21

RCBW - #21 I've accumulated one more day of delay, but here is a full RCBW issue. Still, I've a nice good excuse for the extra delay: I've changed house in Paris, the new one is very small (a chambre de bonne), but also very comfortable. Without any further ado, here are this week's squashes: And here are the usual highlights:

10 February 2010

Bernd Zeimetz: BSP2010 a great success - 200 bugs eliminated

Some of the participants of the BSP here in M nchengladbach asked me to put the blog post from blog.credativ.com on planet Debian. I think thats a great idea as the BSP was not only successfull, but also a lot of fun and it was very nice to meet a lot of Debian Developers and package maintainers. We were glad that so many people followed the invitation! So here we go - please leave your comments at the original blog post.

Debian Logo
The 2010 Debian Bug Squashing Party turned out to be a great success: around 200 bugs were fixed, ready for the forthcoming version of Debian. The weekend of 22-24 January saw this year s Bug Squashing Party hosted yet again by credativ. The aim of the weekend was to find and fix bugs in the next Debian release. The results were as follows:
Work on Debian Results
Installed Patches 5
Fixed Bugs 44
Non-critical Bugs 28
Completely removed Packages 87
Packages removed from Testing 29
Altogether that gives a grand total of 200 bugs. In addition, information was gathered on a further 100 bugs, which will help when they come to be fixed. A lot of time was also spent on quality assurance, an under appreciated but very important job. More gossip: it is rumoured that backports.org is not far off becoming an official Debian project and in the meantime it will be launching a brand new website running on ikiwiki. Our guests from far and wide were more than happy with the BSP party: Steve McIntyre: (Debian project leader)
Thanks to the folks at credativ for hosting and participating in the BSP - we got a huge amount of work done towards the next release and had a great time doing it!
Stefano Zacchiroli:
My 1st M nchengladbach BSP, won t be the last! Lots of cool people and hacking, and I ve enjoyed my 1st traditional Formorer s chilli too :).
credativ would like to thank all those who came and got involved - now you can lean back, relax and enjoy the photos of the event.

9 February 2010

Stefano Zacchiroli: RC bugs of the week - issue 20

RCBW - #20 With a couple of days of delay, here are this last week squashes, by yours truly: The delay is due to FOSDEM, it's hard to squash bugs when you are: (1) having fun (best FOSDEM ever, if you ask me), (2) connected with very poor network connectivity (let's say: FOSDEM-quality network). Also, there are just 6 squashes, but last week there were 8, so ... :-) (I know, I suck). Among the main highlights of the week, I just want to cite Mehdi Dogguy: he was with me at JFLA 2010 last week and I've managed to grab him into the "RCBW tunnel". With a handful of well-targeted NMUs, he has fixed about 10 RC bugs in the few days of the conference. He is too shy to blog about that, but since I'm evil, I'm disclosing it here :-P Welcome on board, Mehdi! (now you're doomed: you must continue doing that!)

8 February 2010

Stefano Zacchiroli: integrating Mutt with Org-mode

remember Mutt's mail in Org-mode and jump back to them As already anticipated, I've been implementing my own Getting Things Done work flow. This post documents one of its main bricks: the integration between Mutt and Org-mode. As a geek, my main incoming stream of TODO items and information in general is email. As emails hit my INBOX, I either deal with them immediately (reply, archive, delete) or I need to store them elsewhere, possibly adding extra information such as a deadline, a personal note, the associated next action, the context in which it is actionable, etc. This need of adding extra information is what defeats the usage of my mail client (Mutt) as a list manager (in the GTD sense), and that's where I plugged Org-mode in. My main goals are:
  1. create Org-mode notes from Mutt, referencing the current email, and possibly inlining some of its metadata (e.g. subject, sender)
  2. quickly retrieve referenced emails from Org-mode notes; ideally that should happen in my usual email environment (i.e. Mutt), so that I can process the retrieved mail as usual (e.g. to inform the sender that I did something about it)
In fact, both would be straightforward to achieve if I were using some Emacs-based mail client such as Gnus, but I resist the Emacs operating system syndrome, and therefore I insist in using my beloved Mutt. Let's see how the two parts of the interaction between Mutt and Org-mode work. (1) Mutt Org-mode (there ...) The interaction from Mutt to Org-mode happens via org-protocol. Using it external applications can feed content to Org-mode note templates, which are then interactively edited (via emacsclient), and finally filed away. The Mutt glue macro from my ~/.muttrc is as follow:
macro index \eR " ~/bin/remember-mail\n"

The remember-mail script is trivial: it parses the fed mail from STDIN (using a couple of legacy Perl modules) and then invokes org-protocol. The relevant configuration from my ~/.emacs is reported below; the comments explain the various parts:
;; standard org <-> remember stuff, RTFM
(org-remember-insinuate)
(setq org-default-notes-file "~/org/gtd.org")
(setq org-remember-templates  ;; mail-specific note template, identified by "m"
      '(("Mail" ?m "* %?\n\n  Source: %u, %c\n  %i" nil)))
;; ensure that emacsclient will show just the note to be edited when invoked
;; from Mutt, and that it will shut down emacsclient once finished;
;; fallback to legacy behavior when not invoked via org-protocol.
(add-hook 'org-remember-mode-hook 'delete-other-windows)
(setq my-org-protocol-flag nil)
(defadvice org-remember-finalize (after delete-frame-at-end activate)
  "Delete frame at remember finalization"
  (progn (if my-org-protocol-flag (delete-frame))
     (setq my-org-protocol-flag nil)))
(defadvice org-remember-kill (after delete-frame-at-end activate)
  "Delete frame at remember abort"
  (progn (if my-org-protocol-flag (delete-frame))
     (setq my-org-protocol-flag nil)))
(defadvice org-protocol-remember (before set-org-protocol-flag activate)
  (setq my-org-protocol-flag t))

The result is that when you hit ESC-R in Mutt, emacsclient will be fired up in place presenting a note template that already contains relevant mail information (date, subject, from) and lets you add extra information before going away. Additionally, the email message-id will be hidden in the note as a mutt: hyperlink with anchor text "mail". (2) Org-mode Mutt (... and back again) Going back means that clicking on a "mail" hyperlink within an Org-mode note should bring up a Mutt instance showing the original message, in its context (e.g. its own mailbox). Achieving that consists of 2 separate steps:
  1. looking up a specific message by Message-ID
  2. firing up Mutt on the looked up message
For the first part I use maildir-utils (AKA mu): a Xapian-based mail indexing tool, which nicely integrates with Mutt; check out my previous blog post on the subject for a sample setup. Using mu, Message-ID lookups are as simple as:
zack@usha:~$ mu find -f p m:E1NbJad-0007x9-B7@ries.debian.org
/home/zack/Maildir/Debian.project/cur/1264883664_0.9472.usha,U=6320,FMD5=2284e927bb93d8a2ec434f5614dc04ba:2,S

Note: I'm relying upon maildir-utils version 0.6 or greater, for all presented scripts. For the second part I use the mutt-open script which fires upon a Mutt instance on the maildir containing a specific message, and then "hits" the appropriate keys to open the message and shutdown the sidebar (if desired). It is a nicely reusable script, which I've being using elsewhere too. The needed glue on the emacs side is just a function to invoke mutt-open in a brand new terminal, and its declaration as the handler for mutt: URLs.
(defun open-mail-in-mutt (message)
  "Open a mail message in Mutt, using an external terminal.
Message can be specified either by a path pointing inside a
Maildir, or by Message-ID."
  (interactive "MPath or Message-ID: ")
  (shell-command
   (format "gnome-terminal -e \"%s %s\""
       (substitute-in-file-name "$HOME/bin/mutt-open") message)))
;; add support for "mutt:ID" links
(org-add-link-type "mutt" 'open-mail-in-mutt)

Voil ! Download Summary of scripts and configuration snippets discussed above:

31 January 2010

Stefano Zacchiroli: RC bugs of the week - issue 19

RCBW - #19 Back with the "ordinary track" of RCBW, here is this week squashes by yours truly: The attentive reader have noticed that there is one more than usual, the reason is the mighty BSP in M nchengladbach, which has powered all above squashes. I've enjoyed the BSP a lot, my first in M nchengladbach, which won't be the last. I recommend checking it out at least once in the future, even only for tasting Formorer's chili :-) The main highlight of the week is my personal award to the best feedback ever from an NMU-ed maintainer, the award goes to Jonas, kudos for your attitude.

22 January 2010

Stefano Zacchiroli: RC bugs of the week - issue 18

RCBW - #18 ... and RCBW is back! Here is this week squashes: Most of the actually fixed missing include bugs above have benefited from patches by Martin Michlmayr, thanks! Also, this week squashing has benefited from a huge list of bugs which Luk has given me, some of the not-yet-fixed bugs there are a bit trickier than usual (e.g. missing #include bugs which got intertwined over time with const char * conversions bugs, which in turn require some far reaching code changes due to the propagation of function prototypes in unexpected code parts). Since I'll be leaving tomorrow morning for the BSP in M nchengladbach, I'll have a bit of time there to dive a bit more into the issues. Actually, what I fear most now is buying train tickets from Cologne to Moenchengladbach and back, since I'm totally unable to pronounce the name of the latter city (my German sucks, actually there is no such "my German" at all). Luckily, I've been told they've wonderful ticket-selling machines in Cologne :-) See you there, and happy RC squashing!

18 January 2010

Stefano Zacchiroli: git flag of the day --color-words

the ultimate text diffing helper I use Git not only for code, but also for text, my most common use case being co-authorship of scientific papers typeset in LaTeX. While reviewing other author changes, the usual line-by-line diff is often annoying since:
  1. Paragraph re-formatting gets in the way (hello guys accustomed to compulsory Vim's gq or Emacs' M-q): it does not effect the final rendering, but it still hinders peer-review of changes.
  2. Even in the simplest case of a single word change on a single line, it will take some time for your eyes to spot where, along the line, the actual change is.
Stuff like wdiff does help, but I've never looked at how to integrate it with Git, and I still find it a pain in the eyes due to the fancy ASCII arts used to denote additions and deletions (pain that I usually experience when looking at the output of debdiff). There are nice diffing GUIs or editor-integrated solutions out there, but what I've always dreamed of is a plain old cmdline geekism. Enter Git's --color-words, that can be passed to both show and diff commands. My favorite related Git aliases are as follows:
    [alias]
        wdiff = diff --color-words
        wshow = show --color-words

Here is a sample fancy output, yet very intuitive and console-based, of git show --color-words (text in red denotes deletions, text in green additions): sample output of git show --color-words (screenshot) Maybe not new to you, but it has been life-changing for me.

16 January 2010

Stefano Zacchiroli: Kuhn on Debian, Ubuntu, and the culture of freedom

The culture of freedom lies in the details Here is an interesting blog post by Bradley Kuhn about Ubuntu, Debian, and (warning: my interpretation ahead) the culture of freedom. While reading it, I had kinda moment of truth, because just yesterday I was musing with Mehdi and Lucas on the fact that Debian is basically the only remaining distribution among the mainstream ones (if that means something) that is free from the ground up, including its infrastructure. We "just" seek hardware via donations and then we run, thanks to the amazing work of DSA, our own free infrastructure on top of it. Let's cherish this value! Thanks to Roberto Di Cosmo for the pointer to Bradley's post. Update: there's a thread on the ubuntu-devel mailing list about Bradley's post.

Stefano Zacchiroli: RCBW strike - BSP in Moenchengladbach

RC squashing news In the last two weeks I didn't progress as usual with RC bug squashing, even if I've some squashes to share: The reason for my under-activity are that for a week I'd relatively scarce network connectivity, which is a badly needed good for RCBW. Then, this week, I got swamped by various tasks at the university (including co-authoring a paper with Lucas, more on this (hopefully) in the future). My residual RCBW time has been devoted to write a page about RCBW where I've tried to summarize my initial motivations and the main points of the initiative, which I consider established by the first 18 weeks of activity. Starting from next week I'll be back with daily squashes. In the week-end ... drum roll ... I'll be attending the BSP in M nchengladbach, hosted by Credativ; I'll personally be kindly hosted by bzed which I thank already for that and for the BSP organization. See you there (!?)

15 January 2010

Stefano Zacchiroli: Preserving privacy with Google Docs

Eclectic paper: SEcure GOogle DOCumentS Two days from an important Google announcement, privacy awareness is steadily increasing in the media. The old mantra that "despotic governments might use your data in unexpected way" sounds more real than last week, and recent movies ring different bells in our heads. That event has prodded me to (finally!) blog about yet another eclectic paper of mine, co-authored with my old friend Gabriele D'Angelo, and which I'm going to present at the forthcoming ACM SAC conference. The paper is titled Content Cloaking: Preserving Privacy with Google Docs and other Web Applications and poses (again) a rather simple question: why should you trust Google to faithfully store your Google Docs data? What if roles in the recent Google-vs-China issue were inverted? The proposed solution (Content Cloaking) then simply implements transparent encryption and decryption in the payload which is sent back and forth between your browser and the Docs backend. Trying to access your Docs data without a decryption layer and the needed key will then just show garbage, for both humans and Google harvesters. Of course you lose something, like full text search which is performed server-side by Google, but at least you're back in charge again: it is you who decides to which extent trading-off your privacy with offered services. A proof-of-concept implementation is provided (and of course is free software!) as an extension for the Firefox browser, but is now out of date wrt Firefox mainline and was not really production ready anyhow (let's say it was master-thesis-implementation-quality ...). Still we, the authors, stand behind the idea even if we don't have the energy to maintain a production-quality implementation. So, Dear LazyWeb, If you are interested in the topic and you've development cycles to spare, please drop me a mail and I'll be happy to point you to all needed details to resurrect the implementation (or create one from scratch, which should be pretty easy and quick if you're familiar with extension development).

3 January 2010

Debian News: spamassassin update to avoid false positives in 2010

The Lenny version of the spamassassin package contains a regular expressions that considers as coming from the future mails dated in 2010. Starting from a couple of days ago, that has increased the possibility of false positives.
More information about that can be found in some blog posts such as this one and in the Debian BTS, bug #563245.

If you are running spamassassin on a Debian machine, you should probably upgrade it to avoid false positives. That can be easily achieved using the volatile version of spamassassin 3.2.5-2+lenny1.1~volatile1. More information about this update and instructions of how to update in this announcement from the debian-volatile-announce mailing list.

Generally, it is a good idea to have a volatile line in your sources.list. Read more about the debian-volatile project in their website.

Unstable users only need to make sure they update to the latest version available in the archive 3.2.5-7.

Stefano Zacchiroli

Stefano Zacchiroli: RC bugs of the week - week 17

RCBW - #17 Given that my "most blogged" Debian activity since last summer has been RCBW, what else could be my first post of 2010 if not a RCBW update? With further ado, here are this week squashes by yours truly: No particular remarks, but a long overdue tip of the week: the turmzimmer BTS interface is a great tool for bug squashing. Still, it has a issue with comments which can slow down some activities, but which you can help getting better! First of all you should know that comments are per-package and not per-bug (which might not be obvious, especially since often packages listed on the page have just one bug per-package). That means that you should generally mention the bug you are referring to when you post comments, unless the comments are really package-specific. Additionally, old comments are persistent, so you might get baffled by old comments that "invalidate" current issues. So, if you notice a comment that predates the actual bug numbers, please remove the comment by editing it and stating "no comment" in the form. Ah, happy new year (in case you care about sharp, calendar-based time partitions).

26 December 2009

Stefano Zacchiroli: RC bugs of the week - week 16

RCBW - week #16 ... and here are christmas (for those who care) RC squashes, by yours truly (for those who care too): and here are the usual notes: Hint/request of the week: please add +pending when you do DELAYED/ NMUs, that way filtering out already taken care of bugs gets easier and refreshing a bug log page in the browser will immediately show the new tag at the top.
(Yes, I agree that nmudiff should offer that when passed --delay, I intend to propose a patch for that, but feel free to beat me at it :-P) In other news, christmas vacations are awesome to catch up with books you planned to finish reading months ago ... Update: the patch for nmudiff I've mentioned has been kindly provided by gregor hermann, thanks!

20 December 2009

Stefano Zacchiroli: RC bugs of the week - week 15

RCBW - week #15 Here are last weektoday squashes, by yours truly: Some highlights:

17 December 2009

Stefano Zacchiroli: quotation of mine in 2009 free software timeline

last year DPL campaign strikes back You might remember that last year I standed for DPL, ... and yeah, it didn't go well :-) A funny event of last week is that LWN has taken a quotation of mine from the campaign, to become part of the Linux and free software timeline. The quotation is on last week LWN issue, and has been extracted from a reply of mine to a question posed by AJ on -vote. Looking back, that quotation sounds a tad sad, but true nevertheless. (The purpose of this post? Vanity, what else?)
... and thanks to Faidon for having spotted the quotation!

14 December 2009

Stefano Zacchiroli: RC bugs of the week - week 14

RCBW - week #14 Here are thislast week squashes, by yours truly: Some highlights:

6 December 2009

Stefano Zacchiroli: RC bugs of the week - week 13

RCBW - week #13 Here are this week squashes, by yours truly: And here are the usual highlights:

1 December 2009

Stefano Zacchiroli: camljava for recent JVMs

resurrecting CamlJava (testers welcome) CamlJava is a great project by almighty Xavier that bridges the OCaml and Java worlds via the respective C interfaces (Caml/C interface for OCaml and JNI for Java). Unfortunately, the last stable release was a bit out of date and seemed not to work with recent JDK (both in terms of buildability and of runtime correctness, i.e., segfaults). With the tremendous help of Gr goire Henry, I've managed to prepare a set of patches that enables to build (and use without segfaults ...) CamlJava with recent JVM: in particular it seems now to work with both Sun's JVM and OpenJDK. A Debian package has been prepared; while it gets processed by archive manager, you can get an equivalent unofficial package from my APT repo:
    deb http://people.debian.org/~zack/debian zack-unstable/
    deb-src http://people.debian.org/~zack/debian zack-unstable/

Any form of testing is very welcome. In case you want to try O'Jacare on top of CamlJava however, you need to wait a bit more: Gr goire is working on it, but in the process he banged his head against bugs in both CamlP4 and CamlP5 (the only two available porting paths from the last stable release of O'Jacare) :-)

28 November 2009

Stefano Zacchiroli: Enforcing type-safe linking using package dependencies

Eclectic paper: dh-ocaml In my day job as a researcher, I mostly publish papers along the lines of my main research interests (theorem proving, web technologies, formal methods applied to software engineering, ...). Some time though, I just come up to some eclectic idea, not strictly related to my job, that I feel like cooking up as a paper to be reviewed by some scientific venue. It happened some weeks ago with dh-ocaml, the package implementing the new dependency scheme for OCaml-related packages in Debian. It took us (as in Debian OCaml maintainers) several years to get it right and satisfactory for maintainers, users, release team, etc. The problem which dh-ocaml addresses is that, differently than C and other system-level languages, OCaml breaks ABI compatibility very often, due to the need of ensuring type safety across different libraries at link time. Other similar strongly typed languages, such as Haskell, behave similarly. This is at odds with the implicit assumption of forward-compatibility (unless otherwise "stated", e.g. with soname changes) that is relied upon by versioned dependencies in distributions like Debian. This discussion, the analysis of possible solutions, and the description of the solution we have actually implemented in dh-ocaml (called ABI approximation) turned out to be interesting for the French functional programming academic community: the paper on dh-ocaml has been accepted at forthcoming JFLA 2010. It is no rocket science :-) , but people maintaining programs and libraries written in languages with concerns similar to OCaml's (e.g. Haskell, hello nomeata) might want to have a look.

Next.

Previous.