Search Results: "Stefano Zacchiroli"

23 July 2007

Stefano Zacchiroli: which python parser generator

Too Many Python Parser Generators Dear LazyWeb, there are too many Python parser generators. There is a Wiki page comparing them, articles at various editions of the Python conference, tons of mailing list posts. I'm so bored about all this amount of information (which I actually did read some months ago) that I'm not even willing to look for the relevant hyperlinks and add them here; that sucks. ( Rant: I frankly have hard time in believing that a language with a respectable standard library as Python has failed so far in establishing a de facto solution for parser/lexer generations. However this seems to be the case. ) Feeling lost, I convinced myself that I wanna go for a Python-Bison glue, so that at least I'll have a grammar in a widespread format that I can reuse in other languages in case of need. But even in this case there seems to be several Python-Bison glues out there :-( ... and almost all seem to be dead projects! Dear LazyWeb, any suggestions about which to choose?

15 July 2007

Stefano Zacchiroli: python debfile

DebFile: Python Library for Inspecting .deb A couple of days ago Mike Hommey blogged about "coincidences" in free software development: more than one developers are likely to have the same crazy ideas. It happened to me and Filippo last Friday. While writing the script for maintaining the OCaml status page I faced, unsuccessfully, the need of a library for extracting meta-information and actual content out of .debs of incoming. While I was getting sad for the lack of such a (Python) library Filippo contacted me on Jabber stating something like you know what? ... a cool addition for python-debian would be a library for querying .deb files ... A few days later we have something working and fitting our (disjoint) needs (it's a branch of the python-debian package which includes two brand new modules: arfile.py and debfile.py):
$ bzr branch http://people.debian.org/~zack/bzr/pkg-python-debian/

Here are some examples to wet your appetite: It is already a proposed addition to python-debian, feel free to comment about the API ... before it's too late :)

12 July 2007

Stefano Zacchiroli: ocaml status page

Status Page for OCaml Transitions Today my spare time (not necessarily driven by me) produced the OCaml package status page. Even if a lot of improvements have already been requested by other fellow caml-ers (i.e. more work to do), I'm kinda happy about the result ... I've even enjoyed using Genshi more than in the past. Unfortunately the page reminds me that there's still a lot TODO before starting to upload OCaml 3.10.0 packages to unstable. Damned status pages!

Lucas Nussbaum: Collaborative Maintenance

Stefano Zacchiroli blogs his thoughts about collaborative maintenance. He identifies two arguments/religions about it:
  1. it is good because duties are shared among co-maintainers
  2. it is bad because no one feels responsible for the co-maintained packages
And he says he stand for the first one. I’m not sure that those two positions really contradict. Sure, collaborative maintenance is a good thing, because it allows to share the load between co-maintainers, which often results in bugs being fixed faster. But collaborative maintenance creates the problem of the dilution of responsabilities, and the dilution of knowledge. In many cases, a single maintainer will have a better knowledge of a package than the sum of the knowledge of all co-maintainers. Also, sometimes, teams don’t work very well, and everybody start thinking that a specific bug is another co-maintainer’s problem. In the pkg-ruby-extras team, we have been trying different organizations over the past two years. We have now settled with the following: Stefano also raises the point of infrastructure issues caused by the switch to the team model. I ran into one recently. My “Automated mails to maintainers of packages with serious problems” are currently only sent to the maintainers of the packages with problems, unless someone has problems in both maintained and co-maintained packages (in that case, all problems are mentioned). I thought for a while about sending mails to co-maintainers as well, but that would mean sending more mails… I might try that and see if I get flamed :-)

11 July 2007

Stefano Zacchiroli: uploaders vs maintainers

More Uploaders, Less Maintainers: Infrastructure Issues When yet another discussion about "is collaborative maintenance good or not?" starts on debian- lists, the average lurker can easily identify two arguments / religions:
  1. it is good because duties are shared among co-maintainers
  2. it is bad because no one feels responsible for the co-maintained packages
Of the two religions, I stand for the first one. More generally I share the long term aim of decreasing as much as possible the "ownership" of Debian packages; collaborative maintenance is just a tool to achieve the goal. In the meantime, I believe the second religion is supported also by technical deficiencies in some pieces of our infrastructure. In particular some of our developer tools artificially enforce a distinction among Maintainers and Uploaders where it wouldn't be necessarily needed. In the last few days I thought about some of them: Think about such deficiencies, I'm pretty sure we can spot and fix easily a lot of them in our tools. Update: Lucas: I agree that the two arguments do not necessarily contradict, that's why I (initially) called them arguments. Then I moved to "religions", it was an oversimplification: there are of course pros and cons of collab maint. My main argument holds nevertheless: several perceived cons of collab maint are due to artificial distinctions maintainer/uploader in our tools, thanks for providing yet another example ... I want more! :)

5 July 2007

Stefano Zacchiroli: proactive bug reporting

Proactive Bug Reporting We can do better than Proactive Bug Discovery. Now we have "Proactive Bug Reporting", i.e. reporting bugs for stuff which isn't yet in the Debian archive: #431820. Thanks madduck, that made my day :-) LOL PS the Italian cabal has started chasing you this morning ...

28 June 2007

Stefano Zacchiroli: secret identity

Secret Identity From now on, I'll be (also) known as zack@member.fsf.org, (not so) secret agent #5507. Go Mako, go: I'm really happy to see you there. /me hoping in a better future.

23 June 2007

Junichi Uekawa: apt-listbugs changes for easier use by clients.

Having had a little discussion with Stefano Zacchiroli aboutdebian/changelog editing and bug number completion, Idecided I'll make the 'apt-listbugs list' command a bit moreuseful.It now has two new features.--severityall option to specify all severities, and you canspecify the current version with PACKAGE/VERSIONsyntax. These functionalities should be available in the0.0.79 upload.It also uses the shiny new BTS SOAPinterface, and no longer relies on merkel.debian.org, thanks to help from Don Armstrong.To find a bug that is not yet closed on apt-listbugs 0.0.79, you'll ask for it like this: apt-listbugs list -s all apt-listbugs 0.0.79

Stefano Zacchiroli: vim changelog Closes completion

Automatic completion for Closes: entry in Vim DebConf is always cool: it's the place where 2 minute chats with people can turn into cool hacks. It just happened to me: 2 minutes with Dancer and Gismo chatting about apt-listbugs and kaboom: in the next upload of Vim you will get for free (as in the free drinks Sun offered us a couple of days ago) completion of Closes: entry in your debian/changelog. Just start typing Closes: # and after the # execute CTRL-X CTRL-O (the key to invoke "omni completion", see ":help omni-completion" in the Vim online help). At that point apt-listbugs will be invoked by Vim, it will contact the BTS using the SOAP interface to retrieve outstanding bugs, and will offer you a list of bugs to choose from. A brief description of the bug report will be shown as well in a preview window (see ":help preview"). Once you've made your choice, the appropriate "#XXXX" entry will be input where your cursor was. Super-cool! Here are a couple of screenshot to wet your appetite: screenshot-1.png, screenshot-2.png. If you can't wait for the next Vim upload take my current debchangelog.vim and put it in /usr/share/vim/vimcurrent/ftplugin/.

20 June 2007

Stefano Zacchiroli: zenoss in experimental

1st Zenoss upload It's late and I'm missing sleep hours, especially considering that tomorrow we have the daytrip. But it's worth mentioning that:
zack@aquarium:~/pkg-zenoss/zenoss/build-area$ dput *changes
Uploading package to host ftp-master.debian.org
Checking Signature on .changes
<snip>
Uploading to ftp-master (via ftp to ftp-master.debian.org):
  zenoss_2.0+r5780-1.dsc: done.
  zenoss_2.0+r5780.orig.tar.gz: done.
  zenoss_2.0+r5780-1.diff.gz: done.
  zenoss-zensocket_2.0+r5780-1_i386.deb: done.
  zenoss_2.0+r5780-1_all.deb: done.
  zenoss-doc_2.0+r5780-1_all.deb: done.
  zenoss_2.0+r5780-1_i386.changes: done.
Successfully uploaded packages.
Not running dinstall.
zack@aquarium:~/pkg-zenoss/zenoss/build-area$

Awesome.

18 June 2007

Stefano Zacchiroli: vim policy 1st draft

First Draft of the Vim Packaging Policy Available Yay again for DebConf7!! Today the talks I attended were really interesting and in the remaining slices of time I managed to complete ... suspense ... the first draft of the Vim packaging policy \o/. The policy covers packaging of Vim addons and start to tell people about vim-addon-manager. The policy will be shipped in the next upload of the Vim package and is also available on the web. If you're maintaining a package which ships an extension for Vim please have a look, since soon it will be enforced on your package :-) Also an eye from native English speakers will be appreciated, no matter if you speak Vim or not. PS please do not tell bzed about that, he will probably be hating me for "wasting" time on Vim rather then on polishing the first Zenoss package ever :-)

17 June 2007

Stefano Zacchiroli: packages svn maintained on alioth

Figures About SVN-Maintained Packages For fun and profit I and gares have just harvested a bit alioth to discover how many packages are currently maintained using subversion. The overall result is larger than I expected 3492 source packages (to be compared with 11786 total packages in unstable) are maintained using Subversion. The numbers might be a bit approximated, I report what we did to extract these number for review. The number of subversion-ed source packages have been computed running on alioth the script harvest source fields.sh (which in turn uses svnlook grep.py) its stdout can be redirected to a .txt file. Once sorted and removed of duplicates you will get something like source pkgs on svn.txt; its length approximates the number of source packages maintained via svn:
$ wc -l source_pkgs_on_svn.txt
3493

The approximation is due to the fact that debian/control are looked for everywhere in a repository, hence it can find old packages no longer in the archive or never uploaded, and some fake package (like "MODULE NAME", but it seems to be the only one). The amount of packages which are in the above list but not in the archive is about 900 packages. Still I don't think it would be fair to exclude all of them since I guess a non trivial part of that are packages that haven't yet uploaded and hence are arguably part of the active development of Debian. Excluding them, the percentage of unstable maintained using SVN on alioth is about 22%. To that you should add the packages maintained using other version control systems. The total number of source packages in unstable have been computed on my laptop as follows:
$ cd /var/lib/apt/lists/
$ ls *Sources
ftp.it.debian.org_debian_dists_unstable_contrib_source_Sources
ftp.it.debian.org_debian_dists_unstable_main_source_Sources
ftp.it.debian.org_debian_dists_unstable_non-free_source_Sources
security.debian.org_dists_testing_updates_contrib_source_Sources
security.debian.org_dists_testing_updates_main_source_Sources
$ cat *Sources   grep ^Package:   sort -u   wc -l
11786

The broader goal was to discover how many packages are maintained using any versioning system on alioth, but we were fluent only in svn internals. Dear lazyweb, feel free to harvest and forward to me your data for the other versioning systems available on alioth, I'll keep this post updated with news.

16 June 2007

Stefano Zacchiroli: debcamp excitement

Debcamp is productive Shame on me for having underestimated the productiveness of DebCamp/DebConf. This year I'm overwhelmed by things to do and the first (for me) 2 days of DebCamp have really been productive. Yesterday the Zenoss packaging has taken off. We have already implemented (thanks to Fabio) the needed changes in dzhandle to properly handle ZEO databases, added user management for the zenoss system user, updated the documentation and we started working on the dbconfig-common stuff (we also have just noticed that Seanius, dbconfig-common author, is arriving tomorrow at DebConf, what a great occasion!). Today I've worked more on the OCaml packaging side. A first working version of OCaml 3.10.0 is now available in experimental .. ehm, oops, I meant in the NEW queue; CamlP4 available in there has been finally properly split into (huge) pieces and people can start rebuilding OCaml packages against it. Next day, actually hour, exciting adventures for me include: Wow, I'm overwhelmed, but it's actually soooo fun!

14 June 2007

Stefano Zacchiroli: yay for debconf7

Yay, I'm here Lot of things happened preventing me to post the obligatory "yay for debconf" on Planet earlier (just to mention one: my DSL provider was incredibly fast in disabling my connection, and godog who remained at home is probably thanking them for that as well...). Anyhow ... I'm here! Meeting again all of you guys is terribly cool, thanks you all!! Ah, by the way, since people are asking: no, I didn't come here by motorbike. Actually I started planning the trip a while ago and summing up the needed money. When, counting in euros, I reached the 4th digit I stopped counting and decided to came by plane :(

6 June 2007

Stefano Zacchiroli: gnuhtml2latex

Decent printing of HTML pages (via LaTeX) More and more frequently I happen to have the need of printing (X)HTML pages. I guess this is a good sign: given that (almost) the only stuff I print are academic papers, this might means that I'm encountering more frequently papers which are freely available on the web as web pages and not as PDF/Postscript stuff which I can access only via the IP addresses of my university. But let's get back to the main rant. It appears that printing decently HTML pages is not that easy. Firefox per default prints in huge and ugly fonts consuming tons of resulting pages. Out of my memory I remember that with the old Netscape reducing the font size used to impact the printing font size, but I'm no longer able to do that with Firefox. Similarly, a2ps and html2ps do not seem to produce decent results for me. Today I stumbled over the weird idea of passing through (La)TeX to exploit the supposedly human-oriented layout algorithm of the suite and I found the gnuhtml2latex package, maintained by Gunnar. So far it is working like a charm. Well ok, to be honest sometimes the generated LaTeX does not compile properly out of the box, but fixing it so far has always been easy and the quality of the resulting printed pages is wonderful! I'm just puzzled about the weird tool name ..., why not "gnugplv2orabovehtml2latex" then?

24 May 2007

Stefano Zacchiroli: crappy ooimpress styles

Crappy OpenOffice.org Impress Styles The "GNOME suite" (mainly AbiWord and Gnumeric) is quite nice and I usually prefer it to the bloated OpenOffice.org counterparts. Unfortunately it is missing a good presenter. Yeah, I know, I should use beamer, and I fact I often do for academic stuff, but for quick and dirty presentations, where you care more than you should about visual aspects and WYSIWYG ... I often resort to ooimpress. It is not that bad, if you can stand its memory consumption and startup time, but for a long time I was convinced that I was wrong about a feature I was not finding in the UI. My reading of the ooimpress manual this morning seems to contradicts this belief. Here is the simple scenario. I do not play with fonts, the default styles inherited by the master page are fine. I just want from time to time to select some text and mark it as "verbatim text": the use cases are those you guessed: markup a shell command, a command output, or a code snippet. Of course I can't stand doing it again and again by hand, having to keep in mind each time the font I chose and its size for ensuring uniformity. I want to use a style. That's it, nothing less, nothing more. Is it asking too much? It seems so. ooimpress supports two kind of styles. One type (sorry, forgot the name) can be applied to built-in content types, e.g.: heading1-9, titles, subtitles, .... Changing such a style will affect all slides. Fair enough, that's good. The other type can be applied only to "graphics" elements, including text boxes. Fair enough as well, this way I can change at once all the text boxes or labels I've used in my document. But wait ... how can I solve my problem now? I see only two awful ways:
  1. devote a high heading level (e.g. 9) to my verbatim text
  2. use a graphic style
of course, a graphic style can not be applied inside non-floating text boxes and I do not want to use tons of text boxes, especially because they are not anchored to ordinary text Dear lazyweb, please prove me wrong.

21 May 2007

Stefano Zacchiroli: i had a dream

I'm Going to Play Some Number at the Lotto The Lotto Game is a really popular gambling game in Italy, run by the state itself. As in all good gambling game: you, the player, can win a lot of money while who is running the game (the Italian state in our case) will win a lot of money for sure, no matter what. Anyhow, to the facts, it's a well-known folklore that people win playing Lotto FOR SURE by playing numbers told while dreaming by parents, friends, kitties, whatever, ... As a scientist, I've no reason not to trust this folklore, why should I? As a strange coincidence (another fact that strongly hints I HAVE TO PLAY), this night I had a dream (well, it was more this morning while reading the planet, but it doesn't really matter..., folklore is folklore!). There were a lot, really a lot of people whispering this to my ears:
09 F9 11 02 9D 74 E3 5B D8 41 56 C5 63 56 88 C0

well, ok, they aren't in decimal notation, and they aren't even comprised between 1 and 90, ... but what would you expect from a bunch of geeks??? They are probably trying to exploit some overflow in the hands of the lotto extractor or something like that... But I won't desist, I'll play those number! Open questions: any proficient Lotto player to answer them around?

Stefano Zacchiroli: on the power of grillo

On the Power of a Blog (and of the Vatican) That the Vatican in Italy is a relevant institution able to (directly or indirectly) influence the media is not a big news, actually is not even a news. So it does not come as a surprise that the BBC documentary "Sex Crimes and Vatican" about the so called Crimen Sollicitationis (dated 29 September 2006) has never been mentioned on popular italian newspapers and televisions ... until a couple of days ago. So far so "good". What annoys me quite a bit is that the day after Beppe Grillo posted something on the subject on his blog (which according to the author is in the top ten of most read blog on the net, even though I've never checked the validity of such claim) the news is first on Repubblica, one of the most read italian newspaper, and then topic of a national debate for its possible presentation on an italian tv show, held by Michele Santoro. Come on, of course journalists do not need a blog to get their news. Someone please make me think something else than that seeing a post on a popular blog removes the shyness of journalists about "disclosing" such a news to Italians...

3 May 2007

Stefano Zacchiroli: i had a dream

I'm Going to Play Some Number at the Lotto The Lotto Game is a really popular gambling game in Italy, run by the state itself. As in all good gambling game: you, the player, can win a lot of money while who is running the game (the Italian state in our case) will win a lot of money for sure, no matter what. Anyhow, to the facts, it's a well-known folklore that people win playing Lotto FOR SURE by playing numbers told while dreaming by parents, friends, kitties, whatever, ... As a scientist, I've no reason not to trust this folklore, why should I? As a strange coincidence (another fact that strongly hints I HAVE TO PLAY), this night I had a dream (well, it was more this morning while reading the planet, but it doesn't really matter..., folklore is folklore!). There were a lot, really a lot of people whispering this to my ears:
09 F9 11 02 9D 74 E3 5B D8 41 56 C5 63 56 88 C0

well, ok, they aren't in decimal notation, and they aren't even comprised between 1 and 90, ... but what would you expect from a bunch of geeks??? They are probably trying to exploit some overflow in the hands of the lotto extractor or something like that... But I won't desist, I'll play those number! Open questions: any proficient Lotto player to answer them around?

17 April 2007

Stefano Zacchiroli: ocaml 3.10.0 beta in experimental

OCaml 3.10.0 Beta in Experimental As per title. It isn't actually fully functional: Julien for example just noticed that ocamlc -version returns "3.10.0+beta" while the libdir is (correctly) /usr/lib/ocaml/3.10.0/, this means that practically all packages using the ocaml CDBS class can't be built properly against it. Still you can give it a try (if you love risk) and perhaps document yourselves on the new API of camlp4, which changed completely. For us it will be useful to see the result of experimental autobuilding ... I'm quite scared about that!

Next.

Previous.