Search Results: "duck"

8 September 2006

Martin F. Krafft: mutt tagging

Dear lazyweb: I love mutt, my faithful mail client for almost a decade now, but I think I've reached its limits. Not that mutt isn't doing fine, it's more my way of organising mail that's no longer working for me. To give a short overview: I receive all mail in a single account and filter messages to folders in a hierarchy. My filter set spans several thousand lines and has been growing for seven years now, the last "refactoring" was in 1999. When browsing mail, I either delete messages (for list mails mostly) or save them to the read folder when I am done with them. The hierarchy is mostly arranged by field of endeavour, and then subdivided into specific topics. For instance, I have =private/dudes/..., =debian/pkg/mdadm, =ul/phd, and =work/clients/.... I currently face two major problems with this approach:
  1. Folders just don't cut it anymore. For instance: with my job, research, and hobby all somewhat connected to Debian, most messages I receive don't belong into one folder any more than they should be in another. What I want is effectively what gmail and several of the GUI clients do: any given message can have a number of tags, and virtual folders act as filters to display only messages with a certain tag.
  2. Having a single sent and read folder for all worked for a while, but it's long been a major pain. What I really want is for sent and received mail to sit right next to each other in all cases, ideally based on tags as well.
I found mutt's X-Label patch (the Debian mutt package includes it), which seems to go in the right direction, but it's not exactly what I want (yet). For my purpose, it adds a selector ~y to use in searches and when limiting the display of a mailbox. Thus, I could implement virtual folders by saving all mail to a single folder (thanks to the header_cache patch), then executing l~ydebian to see all messages tagged debian. The problem with this approach is that it uses a functionality that I already use extensively: limiting. I like the thought of being able to use tags as filter criteria, but I don't want to depend on them. For instance, if looking at all messages with the debian tag, and then filtering those with mdadm in the subject, I currently have to hit l<space>~s mdadm (taking care to preserve the label limit), and I cannot use the simple_search functionality anymore. In the end, what I'd want is to be able to use the folder syntax for tags. Specifically, I think it would be cool to have folders as they are currently, but if you try to change to a folder that does not exist, or prefix the folder with vfolder (=vfolder/debian/mdadm), it would instead display the main folder with the different path components used as label filters. A syntax for logical OR would also be nice. All this should happen without affecting the limit functionality of mutt. I don't think this is currently possible, but before I start to pretend to plan my intent of eventually thinking about what it would take to have a go at coding a patch, I'd welcome your feedback. I can't imagine that I am the only one wanting mutt with tags... NP: Log / Every Time a Bell Rings, an Angel Gets His Wings Update: people have pointed me to Gnus and Mairix. I'll have to check out Gnus, but I wonder whether it can be used the way I do mail: currently, I use offlineimap (my favourite software award 2004-2006) to synchronise my Maildirs across a total of eight machines, so that it does not matter where I read my mail -- it's totally synchronised. I'll give Gnus a whirl soon though. Manoj already showed it (off) to me, and several other Debian developers seem to swear by it, so it can't be all wrong. With respect to Mairix, I know that tool; it basically populates folders with symlinks according to search criteria. One could say it instantiates virtual folders. The problem I have not been able to solve yet is quite simply that operations such as moving messages to other folders then operates on the symlink, which is not what I want, for obvious reasons. Even just using mutt to edit them results in a copy made, so the symlink association is lost. I'd be happy to be shown how to use the tool to make it do what I want. NP: Led Zeppelin / Led Zeppelin I

4 September 2006

Benjamin Mako Hill: Debian and Deliberation

I was very concerned by Martin Krafft's appeal to voters in the Debian Project Leader election to shut up about their own "biased" opinions on the race. He argued that the candidates should campaign and that anyone who wants to spread their point of view should be running themselves or keeping their opinions to themselves and getting real work done. Perhaps I just buy into the whole deliberative democracy concept but I think this attitude is dangerous. In fact, I think it's essential that Debian publicly weigh the benefits of possible decisions and discuss, argue, and debate as a group. I think that every instance of public discourse (and no, flaming is not discourse) on project policy or leadership is a sign of a healthy and involved electorate and I'd like to see more of it. The leadership of the Debian project is at stake in this election. Our organization is more complex than a wheel with the DPL at the center. Our decision should be made as a project with a complex organization. That means conversations need to work the way the project does. Obviously, we vote as individuals. But that's precisely why conversations and discussions, through which we can make decisions as a community, play such an important role in informing our votes. I'll leave talking about enfranchisement in Debian, and the lack thereof, for another day.

3 September 2006

David Nusinow: So Much For One Entry A Day

Too many good responses not to reply now. Both aba and buxy suggest merging the steering committee with the DPL, thus allowing such a committee to be elected democratically. This has its merits, but I'm hesitant for one main reason: Project SCUD was a complete and utter failure from the point of view of many DD's, myself included. There were reasons for it, and I'm sure they're valid, and I'm not blaming anyone, but it does make me distrust that structure for anything useful. The DPL as an office has had the opportunity to create this sort of structure and make it work for a long time now, and it hasn't happened. I'd imagine it's because the DPL is simply bogged down with other things. If the DPL could make this happen, I'd be fine with it, but our past experience suggests that we need a different solution than a non-functional DPL team.

The current setup, with the 2IC, seems to be working very well, but it's not actively going after issues in this way, even though it has the authority to do so. Indeed, I think if the DPL did start exercising his authority in this way, people would complain and threaten to resign and so forth. While many of us might envy Ubuntu's success, I don't think we really want the DPL to become a dictator.

The tech-ctte, on the other hand, works very well when things are brought before it, even moreso now that it's been revitalized. Allowing the DPL to delegate the steering committee would allow fresh faces to replace inactive ones each year, which would be a further check on the committee's powers (which I've done my best to limit to the scope of the problem). Also, by acting as a delegate of the DPL, the committee is essentially a focused extension of whatever team the DPL has assembled. By having a group of people who are focused on this specific task, it allows them to get work done without being bogged down by most of the issues that the DPL faces. I admit that this takes some of the glamor out of being DPL, but there's nothing wrong with having the DPL as a member of the steering committee that I can see, provided the committee is large enough. One possibility I've considered is to make the DPL the chair of the steering committee by default, which would give them the same powers as that of the tech-ctte chair.

As for how the steering committee would work with the release managers, it would, as madduck said, be a fairly close relationship, with some very likely overlap. The RM's are currently loaded up with plenty of work just making the current set of packages and features tight enough to release. Adding the burden of crafting and helping implement a vision isn't something I'd want to force on them. The RM's should be, as they currently are, concerned primarily with getting a high quality release out the door. They would remain the focal point for transitions and RC bug fixes, as well as determining what is actually release critical. The steering committee would give people the power to work towards release goals (hence working closely with the release team) but they don't have the power to say that the release should be held up for any given feature. That power would belong to the release team, the same way it currently does. I'd imagine that any release goals set by the release team would be approved by the steering committee without much effort.

One final issue. The tech-ctte works out in the open, on public mailing lists and the BTS. Team SCUD, as well as the DPL in general, does not really work out in the open. While I think having some things taken behind closed doors is good, I feel very strongly that the steering committee would have to do its work out in the open in the same manner as the tech-ctte. This is a major reason why I don't want the DPL office to take on this power.

Martin F. Krafft: Never give up

Scott, the first thing I want to say in response to your post is that you are not alone. I did not know someone was attacked for wearing an Ubuntu shirt in Helsinki, but I did witness at least one "Fuck Ubuntu" incident, and it seemed that Ubuntu jokes and snaps at the new distro were very common. I find this utterly childish and stupid. I am sorry for everyone who was offended. But please don't blame or condemn everyone in Debian or the whole project for the actions of some of its members or followers. You've already linked to my thoughts on the Ubuntu-Debian situation, so I need not cover any of that anymore. I wouldn't want to either, because believe it or not, this article got me flamed by Ubuntu developers just way too many times, in personal mails as well as in forums. Instead, let's look at the now and then this time. I've heard a few developers express their unhappiness with Debian in the past year, much in the same way that you did. Not always was it related to Ubuntu, but quite often it was. There are newcomers to Debian who shake their head in disbelief how anyone can work in a project such as Debian, and there are the veterans among us who seem to concede that Debian has slipped away from their ideals and it's just not fun anymore. It's not hard for me to understand each of them. I've followed Debian for nearly a decade now and thus tracked how it changed over time. We are one of the largest free software projects, and size never comes without problems. So while the Debian project used to be an association of geeks enjoying their focus on technical excellence, the sheer growth of our project called for many other fields to be managed, and we did not always handle this increase in complexity very gracefully. After all, we are all just geeks who want to have fun, aren't we? As a result, several aspects of our project have been said to "stagnate", and parts (and parties) have diverged. As a volunteer developer, it's not always fun to run up against walls and find that your innovativeness is met with stubborness or simple silence. I say "not always" because I think it's really just a matter of perspective. Over the years, Debian has seriously affected my life, the way I look at things, the way I interact with people, and the way I do stuff. I am eternally grateful for much of that. But the learning process has not stopped. What Debian needs is a stronger grasp of the big picture. In joining all the other developers who are already doing excellent work in that direction, what better learning opportunity could there be to approach large-scale project management, away from academia and the corporate world. For me, this is a very interesting perspective of a fascinating project, one that directly relates to my current research endeavour. I was asked recently how we "control the anarchy", and the first thing I said was that "control" was not the right word. Debian is not about control, it's about the flow. If it's not going your way, you can swim against it, you can pull out, or you can try to find ways to change that flow, bottom-up rather than top-down. I think David's idea of a steering committee is an excellent one, and I'd be happy to dedicate time to such an effort. I wouldn't call it "steering" though, as that seems too active. Rather, I envision a group of people dedicated to keeping track of the big picture (obviously in close contact with the release team) to which developers can turn if they need advice. In the last few years, I've often asked myself why the heck I don't just give up, instead of continuously running up against problems that seemed hopeless. Even now, I sometimes think that I should have just pulled the plug, but my answer has always been no, and it looks like it'll remain that way. Why? Because we've come an incredibly long way, and that by itself provide for a lot of motivation. Mostly, however, I decided to hang in there because I tend to like challenges, even if at first I have no idea how to conquer them. When I then look at what some of the people are doing for the project, I come to realise that there are solutions, even if the road is a long one. You (Scott) strike me as a very innovative person, and not only because the problems you and I are looking at tend to overlap to a large degree. I strongly respect you for your work, and Canonical certainly deserves a tip of the hat for providing you with the environment to do so. Sometimes, I even envy you a little, simply because I haven't been able to get down to coding solutions as much as I would have liked to and you've beaten me to the punch on things like HCT or upstart -- even though my work in that area has been mostly vapourware, so there was no real punch to which you've beaten me... I think you'll know what I mean. Yet, scanning some of your older blog posts, I got the impression that you weren't always happy with the way you have to do things at Canonical. And still, you're enthusiasm for working on your projects is astounding; it wasn't hard to come to that conclusion just a week ago, even though we've only talked briefly in Cambridge. Have you asked yourself why that is? I'll go out on a limb and postulate it's because of your innovativeness, because of your urge to push technology further, to implement cool things, and to break free of the cruft that comes with 13 years of Debian and several decades of standards la POSIX and SysV. Debian is too conservative for you, and all the cruft weighs heavy. Ubuntu, on the other handy, is "fluffy" and not afraid to forge ahead, and you've been an active part of it from day one. As much as I hate to see you "with them" rather than with us, I think you've found your place. And so have I. I'm less about coding than I am about integration, and there's work to do. Debian is a massive project with an amazing track record of achievements to look at. And it has problems. Well, great! Let's attack them. Never give up. Another reason why I've stayed with Debian is because there are people who think alike. Three years ago, I would have been able to give you a long bullet lists of hopeless problems in Debian. If you ask me today, I would have problems arguing their hopelessness, for I've seen plenty of developers taking it up with these problems, and in the meritocratic way. Our release team is doing a fantastic job and I've never felt so positive about the promise we made with the next release. People like J rg, Zobel, Rapha l, the two Alex, Meike, Christoph, and the many others I'll leave out only in the interest of brevity (the list is longer and doesn't only span Germany and France) are doing great work, and that is truly motivating. And I ought to mention explicitly our leader, Anthony, who's been doing an excellent job so far. I hope he can keep it up. Also, take a look at our IRC channels. I would have to be lying if I'd say nothing has changed. And the same applies to mailing lists. We still have a reputation to deal with, but if you stop listening to what people say and actually take a look, I think we've come a long way. I'd even say it's become more fun to work on Debian again! I think we owe a lot of that to Debian Women. I am definitely proud to be a member of this community (with which I mean Debian as a whole, not just Debian Women). I think I could continue this blog post endlessly. Let's not. You (Scott) may not be a fellow DD any longer, but you remain a fellow D, and I hope we'll continue to let our cooperation prosper. Now if only you had told me that "getting upstart installable required changes to twelve different packages, including sysvinit itself" when you approached me with what sounded like a simple sponsorship request... I've started to have a go at the "herculian effort", step by step. Seems like an interesting experiment. NP: Eels / Daisies of the Galaxy (it's really hard to find a better band for a grey Sunday morning) Update: Maybe our reputation isn't all that bad, or Slashdot posts suddenly became all useful. A lot of insightful and interesting posts in the first batch of comments...

2 September 2006

Scott James Remnant: Having Left Debian

It’s been over a year now since my last proper upload to Debian, and nine months since I announced my intent to put aside working on Debian for a while. With Matthew Garrett’s resignation from Debian, several people have compared it to my own “resignation” from Debian. It has got my thinking about whether I currently intend to ever end my “Sabbatical” and return as an active Debian Developer. I think that the end of my love-affair with Debian started at Debconf last year where several developers treated those of us who also worked on Ubuntu quite rudely. Someone was attacked for wearing an Ubuntu t-shirt at the conference, while someone else was applauded for wearing a “Fuck Ubuntu” t-shirt. That’s where I realised that maybe I didn’t have as much in common with these people as I thought I did. I still don’t understand why Debian singles Ubuntu out for this kind of treatment, we’re still the only derviative distribution that makes all of our patches to Debian available, yet Ubuntu is claimed to not do anything at all. Another example is that Ubuntu is being asked to change the Maintainer field of every package, something no other derivative is being asked to do or has ever been asked to do. Martin Krafft has had some interesting things to say about this strange relationship in the past. If that was the start of my falling out with Debian, I think that Debian considering removing documentation and firmware from the distribution, especially the documentation, was another point I started wondering whether I shared anything in common with the project anymore. Call me strange, but I think that one of the fundamental purposes of a Linux distribution is to be useful to its users. If nobody can use the distribution because it doesn’t support their hardware, and even if it did, all the documentation has been stripped out; I started to wonder what it’s aims are. It became increasingly apparent that the only users Debian was considering a priority were its own developer. And the third thing is simply a matter of Fun. Fun for me, at the moment at least, has been to build a system that fits together extremely nicely with each component doing the right thing. For Ubuntu this has meant being a driving force for it being Linux 2.6 only, with reliance on udev for hardware, etc. Upstart is just a continuation of these goals, getting a system which all “just works”, even if it means throwing out a few things people were previously fond of. All of these things would have been impossible to do in Debian itself. Getting upstart installable required changes to twelve different packages, including sysvinit itself; at a worst case, this would have required the agreement of twelve different maintainers in Debian. It’s often exhausting just persuading one of the reason for the change, persuading a dozen would have been a herculian effort. Perhaps Matthew is right, what Debian lacks is a single leadership. There’s nobody in Debian I could have gone to for approval over the changes I wanted to make, whose decision developers cannot overrule. Ubuntu has such people (the Technical Board and sabdfl), which gives the project an obvious direction instead of a couple of hundred people all pulling in different directions. In a way, I don’t feel that I’ve left Debian. I feel like I was happily going along, only to realise the mob had gone in a different direction and with no easy way of rejoining the group.

1 September 2006

Andrew Pollock: [meme] Metros I've travelled on

With apologies to Martin
sydney cr hongkong san
	francisco hong
	kong kcr san francisco muni los
	angeles
Got at b3co.com!
Yeah, where is the VTA Light Rail?

31 August 2006

Martin F. Krafft: News from the NetBSD cabal

I thought this mail about the current state and future of NetBSD (via /.) was an interesting read, and one relevant to Debian not only because of our Debian NetBSD port. In particular, it felt good to be able to say "yeah, we've got that" to some of the points Charles raised. However, I also had to concede that we're short in some of the other points. I won't put numbers to these claims because it's not as black and white as this. What would be really great is if one of the Debian long-timers would sit down and reply to Charles with his/her experience! Having worked a bunch with the NetBSD crowd in the past, I really would hate to see this project go down. The NetBSD kernel, while not up to the task to provide the desktop experience, still makes for rock-solid servers, and some parts of it sparkle with technical excellence (like the virtual memory management, for instance). Maybe, just maybe a possible future for NetBSD would be to produce Debian NetBSD in a joint venture? NP: Shpongle / Tales of the Inexpressible

Martin F. Krafft: Memes AGAIN?

The metro meme some of us subscribed to is all cute and well. But what's the point of having it on the Planet? I agree with Jordi that the Planet should not be a purely technical forum, but instead give insight into our colleagues' lives. I don't think the (incomplete) list of metros any one has used is really relevant or interesting. That's my opinion (and not impression), and if you think it's worth anything, please consider to discontinue.

30 August 2006

Martin F. Krafft: Using LVM snapshots for filesystem recovery

This morning, I found myself in Gunnar's position and was looking at an empty /home directory because of the following mount failure:
piper:~# mount /dev/mapper/vg0-home
mount: Unknown error 990
Starting XFS recovery on filesystem: dm-0 (logdev: internal)
Filesystem "dm-0": xfs_inode_recover: Bad inode magic number, dino ptr =
  0xffff810028a6bd00, dino bp = 0xffff81002851d140, ino = 33629
Filesystem "dm-0": XFS internal error xlog_recover_do_inode_trans(1) at
  line 2352 of file fs/xfs/xfs_log_recover.c.  Caller 0xffffffff88307729
I am used to XFS giving me hard times, but this time at least I didn't have much to worry as it happened at home, I have plenty other machines I can use instead, and all data was backed up. Since this is on a Debian unstable machine, I had the latest xfs_repair available, and told it to do its thing, but it refused:
piper:~# xfs_repair /dev/mapper/vg0-home
Phase 1 - find and verify superblock...
Phase 2 - using internal log
        - zero log...
ERROR: The filesystem has valuable metadata changes in a log which needs to
be replayed.  Mount the filesystem to replay the log, and unmount it before
re-running xfs_repair.  If you are unable to mount the filesystem, then use
the -L option to destroy the log and attempt a repair.
Note that destroying the log may cause corruption -- please attempt a mount
of the filesystem before doing this.
Great. Catch-22. I decided to have a go at fixing it, but as much as I pretended to grok xfs_db, I did not manage to get the filesystem into a consistent state. I thus fired off an email to the mailing list (which has not arrived there 4 hours later) and started pv to dump the raw data to another machine for later use or debugging. Watching the progress meter of pv from time to time, it occured to me that my /home is in fact on LVM. I put it on LVM way back when LVM was new and cool and I wanted to gather experience with it. I've never actually done anything with it, but today it saved my little bits of remaining sanity. Why? Because LVM can take snapshots of volumes. It took me a while to put the pieces together, but in the end, a snapshot would enable me at least to run a test-round of xfs_repair -L and assess the damage, and if it wasn't all that bad, I could just run the repair process on the actual volume again. With the encouragement and knowledge of Christian Aichinger and Daniel J. Priem on IRC, I hence proceeded to give it a try. First I had to extend the volume group to make room for the snapshot data, and since I had no disks handy, I just used a loop device based on a sparse file:
dd if=/dev/zero of=/srv/loop bs=1 count=1 seek=5368709120
losetup -f /srv/loop
pvcreate /dev/loop0
vgextend vg0 /dev/loop0
lvcreate -s -n home-snapshot /dev/vg0/home -L 5G
(Thanks to Ian Nicholls for spotting the error: I was using pvcreate instead of that last lvcreate previously). Now /dev/vg0/home-snapshot was a copy-on-write snapshot of the original volume, and I could do whatever I wanted with it, as long as I did not exceed the 5G size allotted for the copied data blocks that I modified. Using mount and xfs_repair, I could verify that the problem also shows up with the snapshot. Thus, I ran xfs_repair -L on the snapshot and finally was able to mount the snapshot to inspect the /lost+found directory. Fortunately, it wasn't all that full, nor was there anything important in there, so I sighed, removed the snapshot (lvremove) and unleashed xfs_repair -L on the original volume, which is now again mounted under /home. Finally, remove the loop device from the volume group (vgreduce). If you are like me and forgot to do so before rebooting and now find your LVM volumes not starting anymore, look into the --removemissing option. I like this method. I knew the filesystem was corrupted, but I did not know to what extend. Had corruption been worse, I could have waited for the XFS guys to help me out. But seeing the low damage, I was able to decide to just purge the journal and accept the damage. If this had happened on a more important machine (i.e. without recent backups), I would have proceeded a bit differently: once the snapshot was mounted, I'd have run xfs_dump on it to save the data. I would also have used more space for the snapshot and not removed it until the parent volume was repaired and mounted. It's unlikely that xfs_repair will produce different results when run on a volume and its snapshot, but better be safe than sorry. All this said, I just want to point out that the above method is filesystem independent and hence would work for any filesystem out there. I've never been a big fan of LVM, especially without RAID to build on (striping across physical media multiplies your chance of data loss), but this method is a good reason for using LVM regardless: use a volume group instead of your physical disk, and logical volumes instead of partitions, but don't span disks (unless you have to). Then, if stuff goes bad, you can hook in another disk, extend the volume group with it, and work on snapshots.

29 August 2006

Martin F. Krafft: Thank you, Uncle Steve!

Following my five week stay in Limerick to start my Ph.D. research, I headed for Cambridge for this year's Debian Barbeque at Steve McIntyre's house. For me, the event lasted from Friday night until Monday morning and involved many hours of joyous frolicing with happy people, and several insightful discussions. I would like to say thanks to Steve for organising the party, for putting up with all of us loonies, for driving Enrico and myself to the station in the early morning hours of Monday, and for memories of a funtastic weekend. ... and what better way to say thanks could there be than doing it a million times (warning, Flash animation; ha ha, imagine what would have happened if I had just embedded that in the post, dear readers of the planet).

28 August 2006

Axel Beckert: Goodbye Woody, Welcome Sarge (Penultimate Part)

Since security support for Woody ceased recently, and with Kazehakase I’ve found a reasonable successor in Sarge for Galeon 1.2.x, I’ve dist-upgraded my 10 years old Pentium I ThinkPad bijou to Sarge this weekend. Even the XFree86 4, which made so much hassles in Woody by not regcognising nor configuring the graphics card correctly, worked fine from scratch. Well, at least after installing xfonts-base and xfonts-75dpi — the -transcoded versions somehow gave only the error message “default font ‘fixed’ not found”. So goodbye Galeon, goodbye GNU Emacs 20, goodbye XFree86 3.3. I hope, I won’t miss you. Only my desktop gsa at home still runs Woody, but will be dist-upgraded soon, too. What though still stayed on my laptop from Woody is Siag Office, since there is no adequate replacement for such a nice office suite with such a low resource footprint. But it has also an impact on the talks I hold. I held all talks with a patched version of lynx (e.g. with LSS support) as presentation tool on that laptop because initially I didn’t get X running on that box. What started as a makeshift became my hallmark… But I didn’t manage to get Sarge’s lynx patched so that it gives me the same output as my old version did. So either I would have to reoptimise the layout of my talks for a new lynx version or just start with something new. Madduck recently showed me python-docutils, which he uses for presentations. Maybe I’ll use that although I have a severe aversion against Python. So it may also be that I’ll stick with WML, but get some new ideas from python-docutils how to use HTML for presentations. Update: Found out that the interesting part of his presentation technic wasn’t python-docutils but S5: A Simple Standards-Based Slide Show System which in entirely written in XHTML, CSS and JavaScript. S5 is really cool stuff, one of the first cases of useful use of JavaScript, and will surely be used for my next presentation — with Debian Sarge and Kazehakase on a Pentium I ThinkPad. ;-)

26 August 2006

Evan Prodromou: 9 Fructidor CCXIV

We're still in wt:Copenhagen today, but we head out this afternoon for our tour of the Baltic Sea. We've had a great time in the city so far, mostly due to staying with longtime Wikitraveller wt:User:Elgaard, who generously offered us the extra room in his apartment for the time we're here. There's something about staying in an actual human being's home while you're travelling to really recharge the batteries. After a week in hotels and restaurants, a little time in a real house can make you feel a lot more human. We took our time getting to Copenhagen from wt:Odense at the end of the Wikisym conference, mostly because I was really hung over. I'd spent the last night of the event drinking at the Irish pub in the pedestrian area, and I probably had 1-5 pints too many. Paul Yount calls Irish pubs "the first Open Source franchise", and it's true: you can expect certain things at a pub no matter where it is in the world. Although we started out with about 30 people, the crowd thinned through the night. I had a good time talking with Brion Vibber and Chuck Smith about the state of Esperanto-language wikis on the Web -- in a mish-mash of English and Esperanto, of course. (In case you were wondering: the state is "fine".) I also chatted Wikimedia Foundation politics with Angela Beesley; we both think Erik Moeller is going to make a good addition to the WMF board. After the pub shut down, I headed to the deathly silent casino in the sub-basement of the Radisson of Odense. The bar was eerily silent, and the gaming tables were intense and serious; I don't think people could have been more somber if they were organ harvesters gambling for body parts. The last hangers-on were Andrea Forte of Georgia Tech, Alex Schroeder of CommunityWiki, Sunir Shah of MeatballWiki, and Eugene Eric Kim, of Blue Oxen and HyperCore. In other words, some of the smartest people in the wiki world today -- we talked wiki politics and theory until the wee hours of the morning. They all switched to mineral water while I was still slugging down pints of Carlsberg Special, which is probably where I went wrong. Wikisym, for me, was one of the best conferences I've been to this year, and I've been to a lot. It capped off a long summer of conference-going, and this fall should be relatively tranquil. Which is great: I have a lot of work to do, based on the ideas I've picked up this season. tags:

sterbro All of which is to say that I was feeling pretty crufty the next morning as we got on the train. Kindly Maj got us a late checkout and let me sleep in late, which helped a lot; a falafel sandwich around 11AM also cleared my head a bit. The train ride from Odense to Copenhagen was great, and by the time we got to Niels Elgaard Larsen's house in sterbro (a neighborhood of Copenhagen) I was pretty refreshed. Niels took us out to an early dinner at a restaurant called Pixie in a square by his house. Copenhagen has some pretty strict traffic laws, and the number of cars on the street is possibly the least I've ever seen for a major metropolis, leaving a lot of room for sidewalks, bike paths, and open parks and plazas. We got to chat with Niels over a fresh pasta dinner, and thence home to his house for beers and more talk. One great thing about visiting Wikitravellers is that they tend to be a) very smart, b) well-travelled, and c) interested in Free Software and Free Culture. Niels is no exception; he's active in the Danish and European Free Software and information freedom communities, and he's extremely interesting to talk to on the subject. We shared travel stories and talked about Open Source and Open Content later than I would have thought, based on my earlier-morning hangover. Probably the high point of the evening, for me, was when Niels shared a brilliant idea for a way to distribute Wikitravel guides in digital form for a very wide array of users. We've had a hard time settling on a mobile document format for Wikitravel guides, since mobile devices like PDAs and cell phones support standards so poorly. It's one of the most requested features for Wikitravel, but it's going to take a huge amount of work to cover even a fraction of the mobile device owner community. Except Niels had a genius idea for how to distribute guides in a simple, standard format that works on a mobile digital device many if not most travellers carry with them every time they travel. The idea: make guides that are downloadable JPEG images which can be copied to a SD card or Compact Flash or Memory stick or whatever, then stuck into a digital camera. If the camera supports zooming on images, and has a decent screen for review, the guides might be useful and readable. I'm going to try to do some experiments with the idea -- I think it could be a real winner. Adding 30-40 images to a camera today is pretty cheap, and if they're just text I think some aggressive compression can work well. tag:

Copenhagen on foot Yesterday we did a big tour of the city on our own. In the morning, we had some breakfast at the Laundromat Cafe right next door to Niels's house, and I took the opportunity to clean a week's worth of dirty laundry. Nothing like a stack of clean clothes to make you feel more like a decent citizen. I was down to a bathing suit and the ICANNWiki t-shirt Ray King gave me at Wikisym. Then we headed out on the town to do some sight-seeing. First we hit the Kastellet, a fortress in northeast Copenhagen that's the oldest operational military base in Europe. It's got the distinctive star-shaped outline typical of old fortifications, and is surrounded by a lovely park with ducks and swans. We had lunch at a nearby caf , with large beers. (Gee, I'm getting worried about the pattern here.) After lunch we made an unscheduled stop at den lille havfrue -- the famous Litle Mermaid statue in the harbour. It was miniscule and surrounded by perhaps 100 onlookers, crammed into a tiny swatch of sidewalk. We stopped about half a mile away, took some pictures of the crowd, and moved on. We then hoofed it down through the harbour and across Nyhavn and a bridge to Christianhavn and Christiania. We'd both heard about the city-within-a-city run on anarchist principles -- kind of like a giant squat -- but neither of us had been there before. It was an interesting place -- packed with people, lots of food cooking a beer-drinking, caf s and restaurants all over the place, interspersed with art installations and little gardens. But it had the unkempt scumminess of a big squat, too -- especially on the main drag -- and there were a few too many pitbulls and gutterpunks for my tastes. Overall a good experience but I don't know if I'll go back. After our long walk we took the metro back to Niels's, where we napped until he and wife Chiquita got home. Chiquita is an investment banker from wt:Toronto who does a lot of business in Europe, where she met Niels a few years ago. They were married last year and have had a long-distance relationship -- visiting each other a week or so out of each month -- for the whole time. She's moving here this year, which I think will be nice for both of them. We had a good dinner at a place called Thomas's -- a buffet, which seems to be very popular here -- and then back home for a nightcap and bed. Amita June was overtired by the time we got her to bed, and she let us know that we'd pushed her too hard with a quarter-hour of heavy crying. But we all got to sleep pretty well afterwards, and at least the parents know that we should take it easy in the future. tags:

24 August 2006

Martin F. Krafft: Rating with stars (or whatever)

If you're about to evaluate something with four out of five stars (or whatever), please, pretty please with sugar on top, state in your review why you did not award all five! Seeing a 4/5 followed by a review that touts the benefits and still pretends to be objective is about as helpful as not reading the review at all. Well, at least it's not as helpful as it could be. In general, I would wish that a review explained why the object did not receive 100% (if it got more than 50%), or why it got more than 0% (if it got less than half). That's probably the most use you can get out of any such scale.

23 August 2006

Martin F. Krafft: Urgent Warning!

A dangerous virus is being passed electronically, orally, and by hand, and has been for many years. Recent advances in science have finally lead to its identification: This virus is called Wicked Overarching Recreational Killer (WORK). If you receive WORK from any of your colleagues, your boss or anyone else by any means DO NOT TOUCH OR COME NEAR IT. This virus will wipe out your private life completely. Should you come into contact with WORK, immediately take your friends to the nearest bar and consume any of the proven antidotes:
  • Worm Incubating Neutralisation Elixier (WINE)
  • Besieged Employee Entertainment Revitaliser (BEER)
In addition, any form of large-scale Bothersome Oppressive, Or Zealous Employer (BOOZE) elimination is known to work as well. If possible, combine the above for increased rate of success. Also, take the antidotes repeatedly until WORK has been completely eliminated from your system. This message brought to you by the Ministry of Health, your local barman, and the joy of mass emails.

22 August 2006

Jordi Mallach: XFS nightmares

Following up to madduck's and gwolf's recent horror stories on XFS, last Thursday, my desktop greeted me after the fantastic week around Asturies with a series of I/O errors whenever I tried to execute something. I rebooted, and then the kernel wasn't happy.
I/O error in filesystem ("hda1") meta-data dev hda1 block 0x4a9778  ("xlog_iodone") error 5 buf count 1024
/dev/hda1 is my / partition, and the machine would not boot at all. To make things more interesting, the box refused to boot from any of my old CD and DVD drives. Yesterday, with my mail piling up already at Sindominio's mailserver, I managed to find a spare CD writer, which would not open its tray, and a DVD reader which managed to boot a Breezy Live CD I had around. The good guys at #xfs were helpful as always and helped me in the process of not fucking up my valuable root filesystem while trying to fix it. The filesystem ended up having quite some corruption here and there, but after xfs_repair, nubol was able to boot again. Only it was missing libldap.so.2, libX11.so.6, debconf programs and other minor details like those. Some reinstall rounds later, GNOME was able to startup without errors and now the box is up and running. Does anyone know of some script that compares dpkg's contents database with that the filesystem has, so I can easily find the rest of damaged packages to reinstall them?

18 August 2006

Martin F. Krafft: Talk on Debian "etch"

Tomorrow I will deliver a talk on Debian "etch" at the University of Limerick Computer Society. Staying true to my principles, I held back the preparation of slides until the last minute, but now I actually ended up having them done well in advance, with enough time to invite you to take a look [*] and provide feedback. In this talk, I introduce Debian, give a status update on the "etch" release, talk a little bit about the future and how I see Debian's strategies evolving/developing/changing, and finally relate a bit to Ubuntu. That latter point was added on request, and I will remain objective and talk about the status quo, problems, and benefits (so it won't be a subjective take like this, although I certainly will address some of the issues). Comments welcome!
[*]the slides were prepared for S5 and can be viewed directly in modern browsers. The best experience is with a 1024x768 or higher resolution. Here are instructions on how to browse them (though you probably don't need them).
Update: the talk went well. I planned it to be 40 minutes (which is ambitious for 25 slides, but I can zip through them at high speed if I need to), and I learnt that the room was scheduled for two hours, so I added about 5 slides and went into it without a clock... and totally enjoyed delivering a talk with almost no time restrictions, which turned out to last just under 2 hours in the end. I talked a bit too much about what Debian is, then delivered the status report on the "etch" release, and in the end also had quite some time to spare on talking about our current and future challenges, as well as discussing some of the problems with the distribution and the project, as I see them. I would like to thank the attendants for making their way to the campus on a Saturday, and for their attention throughout the two hours of presentation without a single one of them giving me the impression of disinterest! We ended in a bar with beer in the afternoon, of which I probably had a little more than I should have had, given that I needed to be a little more productive that day. But even that worked out well. Laura, the society's president, offered me an honorary membership with skynet.ie, which I gladly accepted [ ], and I enjoyed hearing some of their stories about the past and the present. Given that university computer societies may be somewhat in decline, I think they still have their rightful purpose, and they are definitely a great place to gain experience and have a lot of fun. Thanks, skynet.ie for a good time! And now on to meet them at a pub...
[ ]If nothing else, then an account on skynet.ie should allow me to port-forward or even use VPN from Zurich, to access some of the electronic library resources available here, to which the University of Zurich has not subscribed.

16 August 2006

Lars Wirzenius: Random thought: TDD doesn't eliminate debugging

Martin, I know about TDD, thanks. It is great for preventing all the kinds of bugs you expect to make (or make again), and can write test cases for. Been using it for years. It's part of what I meant when I said "every now and then a bug slips through, and then I'm screwed". It doesn't, however, help, when something really unexpected happens. For example, who would have expected beforehand to write a test case for the Pentium floating point bug? Not just a test case of whether floating point arithmetic works at all, but a test case specifically for the small number of special cases in which the original Pentium failed. It's for the unexpected cases where you really need your debugging skills. That's what the book is good for.

Martin F. Krafft: Happy Birthday, Debian

We are 13 years old today. If we believe the Chinese, where "thirteen" sounds similar to " ", which means "must be alive" (thanks, Wikipedia), then all I can add is: We surely are! Alive and Kickin'! (and we didn't need to resort to Chinese for that) Thanks, Ian!

15 August 2006

Martin F. Krafft: Test-driven development

Lars, I strongly suggest test-driven development. It seems to preemptively do the most relevant of what the debugging rules you quote instruct you to do later. The principles:
  1. design your interface
  2. write tests that fail
  3. write the code to make the tests stop failing
  4. refactor
  5. lather, rinse, repeat
It's a philosophy that anticipates bugs and errors, yet it uses that very fact to guard against them. Test-driven development has changed the way I (and many others, I learnt it while becoming a Plone developer) plan, design, think about, and implement code. And yet, it's really not far away from how you're already doing things. Really. For C++ coders, I recommend libtut, which is elegant and non-intrusive. PS: The definitive (and quite good) book on test-driven development by Kent Beck is only 200-something pages, so it's also in the domain of shorter books. Update: sorry, liw, for making it sound like I assumed you had spent the last years in a cocoon or cave or curled up in a corner. I didn't intend to doubt that you know of TDD, just wanted to get that off my mind what your post put there. And of course, I agree with you: TDD will not eliminate debugging. But it will make your debugging sessions a lot less frequent, even though the really long and painful ones are exactly those that it won't prevent...

Gunnar Wolf: Speaking of which...

A couple of days ago, I replied to Madduck's post regarding unhappiness with XFS. Ben replied with a trackback as well: He's also moving away from XFS. And... Well, I noticed the unavoidable: XFS, in the end, _did_ eat my data.
I use a chroot in my desktop machine as a backups server, for two other machines. The backups are done three times a week. And last time, they failed. Why? Because /dev/hdd2 is not mounted. Why?
mosca:~# mount /dev/hdd1 /var/backups
mount: Unknown error 990
Oh, nice, great and stinky shit. Ok, lets fix it...
mosca:~# fsck /dev/hdd1
fsck 1.39 (29-May-2006)
If you wish to check the consistency of an XFS filesystem or
repair a damaged filesystem, see xfs_check(8) and xfs_repair(8).
mosca:~# xfs_check /dev/hdd1
* ERROR: mismatched uuid in log
*            SB : ed5d0cc4-487b-4ee4-95c8-6cc2fe441562
*            log: ed5d0cc4-487b-4ea4-95c8-6cc2fe441562
ERROR: The filesystem has valuable metadata changes in a log which needs to
be replayed.  Mount the filesystem to replay the log, and unmount it before
re-running xfs_check.  If you are unable to mount the filesystem, then use
the xfs_repair -L option to destroy the log and attempt a repair.
Note that destroying the log may cause corruption -- please attempt a mount
of the filesystem before doing this.
Fortunately, that's only some backups and a very untweaked chroot, made easily with debootstrap... But still, that's something I'll have to work on this evening. Sigh, as I didn't have enough pending work already :-/

Next.

Previous.