Search Results: "ean"

7 December 2005

Meike Reichle: A new member in the family

Since this weekend there's a new member in my little computer family :)
After serving as my bedside table for over three months (ever since I moved here) my regular PC is now finally reassembled, equipped with a new hard drive and DVD drive and back in action! It's got a new name, too: Undine. For the illiterate among you, a Undine is a water spirit and this particular one is called after the Undine in the story of Friedrich de la Motte Fouqué. (Full text from the Gutenberg Project, and a summary.)
It's not all set up yet. (Is a machine ever?) Aplayer and xmms still throw errors and it won't go into any kind of standby (sleep or hibernate). But nevertheless the increase in quality of my life has since been enormous. Until then I used my beloved 12" Thinkpad (Dropkick, got it's name from them and the way I treat it) for daily work, which was okay, but somewhat unhandy at times. Now I got 21" instead of 12", a lot more power, sound, and a decent (but filthy) keyboard again. Yay!
Downside: I had totally forgotten how *INCREDIBLY LOUD* that thing is. Maybe I'll go buy a set of these insulating mats. This high-pitched noise drives me insane!

Regarding my last post: I noticed there's an extra-i-that-bears-witness-to-my-favourite-editor in it but decided to leave it as a statement ;) Maybe I'll start a new trend?
The Skatalites concert was as great as expected but unfortunately very full. People where standing shoulder to shoulder all the way to the back wall. So all you could do was stand and listen, dancing was rather difficult or even impossible. :( Also, we left a bit earlier since those $%*# ing regular work hours have turned me into a total sissy when it comes to staying up late. This needs to be undone!!

In other news: My increasing enthusiasm for Leipzig experienced a first drop when I noticed this morning that somewhen in the last few days someone must have stolen the bungee cord from my bike. :(

I am disappointed and indignant about this!!!

(Especially since only my new springy one is gone, the old, f***ed-up one is still there. Haha!! You me too!)

Last but not least: I got my Christmas leave confirmed! I am off work from christmas until new-year. This means that I can go South over the holidays and be with my ifamily who totally rocks and I very much look forward to seeing again :) (Mom, should you read this: We are having fondue again this Christmas, arent we? Pleeaaase??)

Wouter Verhelst: Belpic 2.40

When I had almost finished packaging belpic 2.3.13.full, I contacted upstream to notify them of this fact, also mentioning that I'd replaced their build system (which used simple makefiles with many bugs) with an autotools-based one. To which I got the reply that they'd already prepared a belpic 2.40 in the mean time (available at readers.eid.belgium.be), and that they'd switched to SCons as their build system in the mean time. Since I'd spent quite some time on 2.3.13.full already by that time, I decided to continue to prepare that package, and focus on 2.40 afterwards Now of course I'm happy that they chose to use something different from plain buggy MakeFiles. I'm less happy that they chose something based on python, a language which I haven't liked, ever, and don't know much about either, but, well. That's their choice, right? I'm also less happy with the fact that it doesn't properly clean up after itself (requiring me to do ugly stuff in my debian/rules clean target), and that it doesn't work. Grmbl. The build currently fails on a file that hasn't changed, because it can't find a symbol which is defined in a file in the same directory that hasn't changed, either. When I rerun the gcc call with the -save-temps argument and review the preprocessed source, I see that that include file is mentioned, but not included. Something is clearly wrong here. Guess I'll have to start learning python... hrmpf. If you care, belpic is the software required to read out the information and keys in a Belgian electronic ID card. Not of much use if you don't need to read Belgian ID cards, though :-)

Radu Spineanu: Mailman madness

A couple of days ago, a client decided that he wanted one click unsubscribe for all his mailing lists. We used mailman and from what i found googling about it, this is mostly an idea in the minds of the developers. Unfortunately i could not wait until Mailman 3 or 10 appeared. I had to implement it this week.

Actually in the end, the result was pretty simple to do, even though it's rather basic. The idea was that the client did not like the mailman web interface, and wanted to integrate it with his own website (just basic subscribe unsubscribe features).

So i wrote a small patch (3 or so lines) to mailman, that adds a new field to decorate called %(hash) that is the users password crypted.

The interface between the web address in the mail and mailman is done through a directory where requests are placed. For example when a user clicks a link, a php script does some basic checking and places a file in $client_web/list_requests, or a global requests directory. The idea for this part was to be very easy for the user to implement.

Another small python script looks (through cron) in those directories, checks hashes in case of unsubscribing, and procceses the requests.

6 December 2005

Aigars Mahinovs: Folding@Stage


Flashback to childhood
A contest at Animefest - we all are trying to remember how paper boats were made. Here I have a moment of "enlightenment" :)

In other news - today I was "performing" in an event at Latvian University - telling a bunch of people what is console, how and why can work and survive there. Was fun.

Also I got tired of instability of Ubuntu dapper and went for a radical move - downgrading a system back to breezy. It was no easy feat - after setting APT preferences (pinning breezy to 1500) I went trough a series of "apt-get dist-upgrade"s and "apt-get -f install"s. Some packages failed to downgrade because of file conflicts, then I had to manually fix file lists in /var/lib/dpkg/info/package.list so that there is no conflict. After the whole downgrade I could reinstall all my lost packages by means of "dpkg --set-selection" and "apt-get dselect-upgrade" and via aptitude remembering what software I installed manually trough it before the downgrade. All in all - a successful downgrade.

Joey Hess: ending the tyranny of unix permissions

In Debian, we work on developing a unix-style operating system, and when the project was getting started, the obvious way to deal with delegating powers to various people was naturaly to use standard unix permmissions on our master server. So the list administrators were the only people who could write to the list configs and archives, the BTS admins were the only ones who could write to the BTS, the archive admins were the only ones who could manipulate the archive, the build daemon admins were the only ones who could modify various bits of that stuff, etc. As time went on, these services were split off to seprate machines and in some cases access to the machine running a service was limited to the maintainers of that service, again in a way that would be familiar to unix admins everywhere. But as time went on and things like revision control systems became available, Debian also began to make some choices that didn't involve unix permission or host based security. The best example of this is the Debian bug tracking system, which allows anyone to manipulate any bug status in any way without any authentication at all. It works because the BTS keeps a record of all changes, and informs interested parties about changes, so vandalism or accidents can be reverted. Aside from spam, vandalism in the BTS is such a rare problem that I cannot think of an example. Thus the Debin BTS partakes somewhat of the WikiNature, although it predates the wiki by a long time. The archive itself only uses unix permissions at its core, while the upper layers do not partake of them: Any maintainer can upload any package and superscede data in the archive automatically, although actual unix write permissions are very limited. The archive administrators use archives of old versions of packages, automated checks, and forced manual review of certian classes of packages (such as NEW) to limit this so that Developers don't make messes. Social norms are used to avoid other problems. The Debian website is in an interesting period in its history. It's been maintained in a way that mostly avoids unix permissions for a long time, by keeping it in CVS and building it automatically. However, for reasons that I suspect have never been adequately explored, not all Debian developers can commit, you have to be in the webwml group. Though gaining access to the webwml groupo is trivial for any Debian developer. But the most interesting thing is that Debian now also has an official wiki, which is open to editing by all, and that increasingly it is used for at least the more fluid and development-based website stuff. For example, the debian-installer home page is a thin stub giving the essential information and links, and mostly linking to the wiki for the rest. The debian-installer project itself occupys another point on the scale between locked down unix permissions and free modification by all. People have to get an alioth account and demonstrate basic competance to get debian-installer write access, but don't need to be Debian developers or spend more than an hour or so to get access. Once you have access, you can change anything in svn (and everything is in svn) we don't limit write access to parts of the project. We avoid malicious commits through patch review. I could give many more examples of subsystems in Debian that exist at different point in the spectrum between locked down unix permissions and a wiki. There seems to be a definite pull toward moving away from unix permissions, once ways can be found to do so that are secure or that allow bad changes to be reverted (and blame properly assigned). Cases of moving in the other direction are rare (one case of this is the further locking down of the Debian archive server and BTS server after the server compromise last year). Anyway, the point of this is that, if you survey the parts of dealing with the project where Debian developers feel most helpless and unempowered, the parts that are over and over again the subject of heated discussions and complaints, you will find that those are the parts of the project where unix permissions still hold sway. This can range from simple cases such as a cron job that only one person can look at and modify[1], to various data files that could perhaps be kept in svn, but aren't, all the way through to stuff like the Debian keyring. I would love to see a full list developed, although many of the things that remain are obscure little corners like certian blacklists in the BTS, bits of the buildd infrastructure that only a half dozen people know about, etc. The challenge, then is to find ways to open things up to everyone, without throwing security out the window. It has to be done a piece at time, and some of the pieces that are left are the ones most resistant to this change. I hope that people can keep this progression away from unix permissions in mind while working on Debian infrastructure. (If I ever ran for Debian Project Leader (which I won't), this would be one of the areas that I would be sure to investigate basing my platform on. Speaking of which, it's nearly election season again, isn't it?)
[1] The best solution I have found to this common problem so far is simply to keep the cron job in svn with everything else, and if someone modifies it, review it and update it via semi-automated means (some simple command). There are probably better ways to do it.

Alexis Sukrieh: New electricsheep package

A new package of electricsheep is coming (uploaded this morning). This package brings a new upstream version (basically a CVS snapshot) which solves some buffer overflows. Moreover, I patched the sources in order to avoid the use of xsetbg which has a very annoying bug: it keeps opening X clients without closing the old ones. As electricsheep is a screensaver that computes new fractal animations continously, you are likely to let it run all the night for days… and that leads to consume all your X displays… I then disabled the two calls to xsetbg. In the meantime, the severity of the xloadimage bug has been raised to grave, and it has been tagged security.
I hope we could find a solution for this problem.

Martin 'Joey' Schulze: Why I joined LinuxTag

In 1999 I went to LinuxTag as a Debian representative after the project has received an offer to staff a booth there. I took over the maintenance and organised the first Debian meeting in Germany. I also gave two talks during this event, one of them was even repeated on the second day. We've had a lot of fun and since this was the first meeting of Debian affiliated people in Germany, it was very interesting to connect faces to mail addresses and to learn more about the people behind a name. This LinuxTag was the last such event that took place at the University Kaiserslautern. Free projects such as KDE and Debian have been offered a booth in one building from which one could reach the lecture rooms, while company booths were located in the Mensa building with their own professional booths. It was a warm weekend and the Jolt people have supported us with cool and caffeined drinks. We had the opportunity to use a lecture room for sleeping with other project members. Klaus Knopper was supporting the network and supervised the security team, and hence, had the unfortunate job to move away all project members from their booths, out of the building or into the lecture room. I've heard, that he had a hard time, and still believes that Debian people don't need sleep. I guess we should have moved him into the lecture room for a sleep instead. This '99 LinuxTag was quite a real success. It took place at the rise of the dot com era and all people were happy about the event. There were about 7,000 visitors in total on both days. The city of Kaiserslautern has called the university several times since there were no free hotel rooms anymore. Former events happened more or less unnoticed by locals, but not anymore in 1999. After the show was over, we dismantled the booth, moved away our own equipment and left the place. However, I made the "mistake" to notice that the LinuxTag people, who have provided us such a great opportunity, still had work to do since they had to dismantle the booth system and clean the ground floor. My biggest "mistake" was that I didn't run away and have a nice evening but decided to help and ask other booth members who were still around to do the same. Having cleaned up the location quite fast was not the only result. Oliver Zendel, who was in charge of talking to the community and who offered Debian the booth, spoke to me afterwards and wondered whether I would be interested to join the team. Well, I knew how to organise stuff, can talk to people, know quite some people in the community, the LinuxTag people were a cool team, so why not. So for the event in 2000 I was in charge of the projects exhibition. In 2000 we also had to move out of the university of Kaiserslautern since 7,000 visitors were already too much for that small university and city. That's why we eventually moved to the Stuttgart fair. That was an interesting experience. It was also interesting to see how such an event can be organised by a team of friends and how the acceptance in the business world was. In Stuttgart we were able to use a small office (max. 15m ) for the entire team as working space. Two computers were installed which we were allowed to touch but not to install a real system on. Hence, Klaus brought Knoppix CDs. This was the first time that I learned about the Knoppix Live CD. Together with my notebook we've had three desks and could work. However, today I really wonder how this could have worked with so many people, but apparently it really did. Due to the need and my experience in both talking to the press and being the press I joined the LinuxTag press team and even held the final press conference, while my colleague held the opening press conference. So after all projects were happy, the show went fine and most of the office jobs were done, I prepared a press release together with others and maintained the final conference. This was also the first time LinuxTag has organised a business congress as a special extra program for business representatives. It was also the time I experienced the need for several supporters for various tasks. In that year, a dozen supporters were paid as "security" who also drove the shopping for us. Hence, I already acquired some people who supported us as volunteers. That was also the time when Benny joined the team. In 2000 the exhibition boomed and there were a lot of large dot com company booths, which was very nice because LinuxTag arose from a students association and became more and more professional, a platform for both companies and projects. It was organised just like a Free Software project and worked non-commercially. Despite several flame wars and disputes, which seem to be normal, it was organised by friends who believed of a higher goal. It was very nice and gave me a warm feeling when looking at what we have achieved. However, I had nothing to do with commercial interests, income, acquisition, invoices etc., so I may have missed a lot. This year, LinuxTag was planned to take place in one exhibition hall, but there were so many companies interested in running a booth that a second exhibition hall was later rented as well. That's why there were two adjacent halls instead of one large location. In 2001 we were using a different exhibition hall, a larger one due to the strong demand in 2000, but still at the Stuttgart fair. This time I was also in charge of the supporters and already dispatched jobs during the event. From time to time I also maintained the shuttle service to the airport to pick up speakers or take back speakers, which I've also done in 2000. This time we've had a larger office in which all of use fit and which was a nice working atmosphere. We were also able to provide more booth space to Free Software projects. In that year I've automatically taken over the office and communication with the outside world, collecting and distribution information. I don't think this was planned, but it just happened since I was able to do the job besides my other obligations. I also gave a talk about Debian, even though others in the team considered me insane for doing that as well. With a lot of help by the local user group, we were able to offer project members a cheap sleeping opportunity. The LUG acquired a gym hall during the night an cooked in the student's office "Hellblaues Nilpferd". After I've picked up Hans Reiser I went there for a snack with him before dumping him at the hotel. It was a nice atmosphere. One of the lead people for this effort, Hubert Kai er, was suddenly overtaken by death two weeks ago. In 2002 LinuxTag moved to Karlsruhe and thus to a new fair where everything had to start again from zero. We had to get acquainted with the local company and their representatives and learn how the new fairground works. The fairground was more interesting since there was a large open area between the conference site and the exhibition hall. Looking at past years, it was used by visitors. Thanks a lot to Jochen Topf from GUUG and members of the local user group KaLUG a lot of community events happened during LinuxTag. They maintained an Internet caf in the conference building and organised the legendary KaLUG party which has become a regular LinuxTag event. In addition to that I've also worked more and more and took over more areas where I noticed help was needed and that I could manage it. So it happened that I took over more work at and before LinuxTag which finally resulted in two months of work were I don't remember a day on which I've worked less than 8 hours for LinuxTag in 2005. In 2002 I worked on the coding marathon and delegated the tasks and support during LinuxTag to two other people, so it will run independent of me. Since I was the first of the team to arrive in Karlsruhe, I also built up the office and the storage. Due to the large distance I had to leave Oldenburg the day before I want to arrive in Karlsruhe, so that I was at the fairground at last at 10 o'clock on Sunday morning. Before the event a lot of issues had to be negotiated with various parties, which required quite a lot of work. Until 2004 the entire team was working in their spare time without getting paid for their LinuxTag work. The higher goal was the impulse and all of us had neglected one issue or another that wasn't important for LinuxTag. We've had some external service providers at least since 2002. The acquisition became a difficult task for students who liked to work until the morning and get up at lunch time, since many companies expect a partner that is available for them from 9 to 5. That's why Charter was eventually hired and this year ergomedia. For press work newthinking was hired. This year the social event was also organised by them. However, having two people from the board of directors being paid by the association for their LinuxTag work from April, and external service providers that were also paid, was something I considered problematic if not unfair, looking at how other people commit to LinuxTag and don't get a monetary compensation. Several people still worked a lot on LinuxTag in their spare time and had to live from something as well. It caused resentment in the team.

5 December 2005

Anthony Towns: Security Infrastructure Changes

Delays suck. I’m actually skipping ahead here, I’d meant to blog about updating the dak codebase into shape for whatever changes were coming up first, but it turns out I’m not in the mood for that. Besides which, most of this entry is preprepared. In the last few entries we went over the background for updating our security infrastructure to make it possible to have security team members that don’t worry about vendor-sec issues (process, overview, NIv2 aka NINJA, queue-build issues), all the while skipping fairly lightly over the question of what has to actually happen. That happens to be the way I prefer to work, lots of background tinkering, then spend as little time on actual implementation as possible; it has it’s drawbacks, but hey, I like it. Anyway, the second last step is working out in detail what’s going to happen. The delay in question was trying to get the security team to sign off on it, but unfortunately they’re busy enough that that looks like it’ll being an indefinite delay, so I’m going with the “well, ftpmaster maintains the dak/katie infrastructure for the security team, so in the end it’s our call on what’s best anyway” line of thought, and just plunging in. Fortunately the current and final plan should make pretty minimal changes to how the existing security team operate anyway, even assuming a massive testing security operation happening in parallel with them – so the downside risk is already pretty minimal. (And it was, afterall, developed in consultation with Joey, and then shopped around a few folks who’ve been doing security work for testing and kernels) What is that plan, you may well ask. It’s something like this: First, let’s restate the idea:
Concept Allow two teams to exist, the current security team as the “vendor-sec subteam”, and the full team which can expand to also include the testing-security people and others interested and able to help out with security work but who do not have access to vendor-sec.
Then, we want to think about the processes that are involved at a global level. First for uploads that can’t be made public until some later date, and can only be worked on by the “vendor-sec” enabled security team.
  • Source upload to queue/unchecked (as now)
    • Upload is authenticated etc
    • Upload is moved to queue/embargoed
  • Upload is autobuilt
    • Logs are sent to a procmail address
    • Logs are forwarded (by procmail) onto the vendor-sec subteam
    • Logs are signed and sent back
    • Binaries are uploaded to queue/unchecked
    • Binaries are moved to queue/embargoed
  • Uploads (source + binaries) are approved from queue/embargoed by
  • running amber
    • Uploads are moved into the archive
    • The archive is mirrored
  • The approver issues an advisory
And likewise for issues that don’t need so much secrecy:
  • Source upload to queue/unchecked-disembargo (new directory)
    • Upload is authenticated etc
    • Source+version added to unembargo table
    • Upload is moved to queue/unembargoed
  • Upload is autobuilt
    • Logs are sent to a procmail address
    • Logs are forwarded (by procmail, after checking unembargo table) onto the full team
    • Logs are signed and sent back
    • Binaries are uploaded to queue/unchecked
    • Noting that the source is in the unembargo table, Binaries are moved to queue/unembargoed
  • Uploads (source + binaries) are approved from queue/unembargoed by running amber
    • Uploads are moved into the archive
    • The archive is mirrored
  • The approver issues an advisory
Processes are great, but they have to be supported by proper information handling, so it’s worth looking at what the above actually means for the on-disk structures, too. This is particularly important, since filesystem level security is mostly how we wall off vendor-sec stuff from other users of the system (whether they’re also working on security issues, or doing, eg, web page maintenance or something equally random). Voila:
queue/unchecked, queue/unchecked-dismebargo
    world writable
    accessible only by katie
    contents automatically cleared every 15m
queue/embargoed
    writable only by katie
    accessible by vendor-sec subteam
    amber allows packages to be ACCEPTed
    [...] allows packages to be REJECTed
queue/unembargoed
    writable only by katie
    accessible by full team
    amber allows packages to be ACCEPTed
    [...] allows packages to be REJECTed
queue/accepted
    packages only sit in accepted briefly while amber is running
And finally, to sum things up, this is what a member of the security team should expect to actually do to release an advisory:
  • Upload package to queue/unchecked (or queue/unchecked-disembargo)
  • Wait for build logs to be sent to your address
  • Check and sign those build logs
  • Check the final packages in queue/embargoed (or queue/unembargoed)
  • Run amber over the packages to accept them
  • Fill in the template advisory generated and send it to the -announce list
The differences between that process and the current one used by the security team is pretty minor, ttbomk: currently uploads sit in queue/accepted not queue/embargoed, and currently the security team ignore the template advisories amber generates preferring to make their own – aiui, this is mostly due to delays in actually receiving the advisory template since amber mails it instead of leaving it somewhere convenient on disk. Anyway, that’s what the plan looks like. We should see how well it survives contact with the enemy, or at least reality, remarkably soon. (Of course, I guess “political issues” could always foul it up completely anyway, particularly going by the fact that it’s been more or less the only problem raised by the folks I’ve passed this on to… Oh well, reconstruct that bridge when we get to it, I guess)

Martin 'Joey' Schulze: Past LinuxTag Commitment

For me this year's event was the most successful and wonderful LinuxTag I've eve been to. I've worked during LinuxTag as much as I could and did my best to make it the best event ever. If I commit myself to something, I try to work properly and generate proper results. This was the same for LinuxTag. As a result, this year I had many tasks to work on. First of all I managed the community and free projects so that they had an opportunity to present themselves to the broad audience during LinuxTag. This required months of communication with members of all attending projects and negotiating their needs. It also required to gather information about the various parts of LinuxTag that also affected projects. Since it is boring having to answer the same questions all the time I decided not doing that anymore and once started to maintain an FAQ that intends to contain all important information for exhibiting projects. Last year I've also added an location plan with information about shops and restaurants nearby and this year I contributed a map for getting to the AKK where the legendary KaLUG party was organised. Being responsible for the projects I was required to decide which project are suited to get a sponsored booth, its size and its location. This year we have had the opportunity to use the ground floor of the conference building in addition to the regular exhibition ground, so that we've could use about 700m in total for the projects exhibition. I've worked nearly two entire weekends to get the booths assigned properly and to have proper graphics. For the conference building I also created the "official" booth map, booth naming, booth signs and booth numbering. One weekend was planned, the other was an accident since we had to rearrange some booths. Exhibiting projects and other community and Free Software oriented projects also had the opportunity to use two workshop rooms for workshops, BoF sessions, meetings and talks. For these I maintained the schedule and negotiated with the speakers and projects, and also acquired moderators for both rooms for the entire time. The people who organised the Accessibility booth people managed to get green light for building a large booth and a so called forum, which is an open talk area, but without any support. Since they couldn't fill in all slots and you can't dismantle a forum in the middle of the show, I've taken over its maintenance and schedule and managed to complete it with interesting talks, setting up, looking for moderators and dismantling. One of these talks I've even held on my own. Fortunately, a DJ contacted us and was able to provide his PA, boxes, microphone and stuff. Without him, the forum would have been an utter disaster. To support the projects we had to build up the network in the main exhibition hall for them on our own. Otherwise it would have cost us several thousand euro, which we didn't have. So I had to draw plans containing the cables we had to lay, calculated the length and decide where to deposit switches and stuff. On the day before the show opened, several supporters went around with a large ladder laying the cable. In the conference building this was done by the KaLUG. I've also coached the supporters during LinuxTag, and was even present at a special short meeting for and with supporters in order to reflect the past day and talk about the next day. This year was the first time I really had the time to attend the meeting and thank our supporters. Before the show started I've also negotiated food arrangements with a restaurant and a colleague so that we had lunch during the show. I ate from it as well, but didn't manage to eat every day unfortunately. Most additional signs of A4 and A3 size that we used during LinuxTag in order to help visitors and officials to find their way were designed and printed by me. Many of them were the result of last year's aftermath. Most of them were fixed with adhesive tape by our supporters. The Coding Marathon was supervised by me as LinuxTag representative. It was organised by HP, intel and Red Hat and, of course, negotiated with the acquise team of LinuxTag. The Coding Marathon was a half day programming session for visitors. The resulting code is released under the GNU GPL and winners were awarded with prizes at the end of each day. This required me to attend several phone conferences, name one or two interested people from "LinuxTag" who would propose a task and head the marathon during one day. Last year already, when I took over this job, With p2 and Arne I've already found two competent people, and this year also added Alex Schmehl for a task I proposed. Naturally, it was not possible for me to moderate the Coding Marathon during LinuxTag due to other obligations. When I arrived at LinuxTag the week before it officially started my first job was to build up the office and prepare the rooms so that the entire "team" could work inside properly. The first office should be used by supporters for general requests and customers, with a desk for me as well. The next room was meant to host the speakers office and the other rooms were intended to be back offices or private rooms. In order to be able to work properly in the office I've also brought with my some of my network equipment and set up the office LAN, server and printer. I had already experienced cable problems last year, that prevented us to use 100MBit/s switches, so that antiquated 10MBit/s hubs had to be used. I've also supervised our daily shopping tours and collected demand for various items from others. The most important items were fluids since it was quite warm during LinuxTag and collapsing core members and supporters are no fun. Other food had to be fetched as well. A lot of other items had to be purchased as well, in order to run LinuxTag and be able to fix or improve various areas. One or two supporters were taking the car for the shopping tours. When I arrived in Karlsruhe the HP booth was already being built. The other, smaller booths followed on Monday. Hence, on Monday and Tuesday I also supervised the building of the booths. It's important that somebody is around for questions, both from booth builders and from officials of the fairground. One also has to check if the booths are built properly and that they don't cause a risk for the exhibition hall, neighbour booths, smoke detectors and stuff. Issues should be corrected as soon as possible so that they don't become problems later. As soon as I arrived I also took over our own storage area and maintained deliveries for booths that haven't built up yet. Several companies negotiated with me before the show so that I knew which deliveries to expect and could move them to their respective booths as soon as they were built up. This year the first X.Org developers conference took place right before LinuxTag as well. I negotiated with both the X.Org people and the fairground people so that this developers conference could really take place. Unfortunately the plans and acknowledgements were sent out quite late so we were in a hurry getting everything set up and organised. Since we experienced network problems this year, they had not network as well, so did we in the office. Two days without a network connection. Pure horror. On Thursday the legendary KaLUG party took place. The location had to be prepared for the party, for which several supporters went there before the party has started. It was planned that I attend the party, so I went there at about 1 a.m. For some reason I didn't manage to leave the fairground earlier, and on the way to the AKK some of my friends who were also supporters were on their way home, excusing themselves for leaving before I arrived. Eumh... When I arrived at the party I first checked the situation and saw loads of uncleaned pots and stuff. Since nobody was cleaning them, I jumped into the mobile kitchen and started cleaning before I even ate or drank anything. That was fun, though a bit unplanned. The social event on Friday was organised by Claudia from a service provider who got some support from me before the show and during the show. Several supporters helped her clean the area that was unused for several years. During the evening I only gave away free tickets for the supporters and moved inside afterwards, always looking around if everything was ok, negotiating with her, of course. Very well managed, I can only say. This year I gave three talks during LinuxTag. Usually I only give zero or one during such an event, due to my other obligations. However, this time I felt, that I should make a maximum use of LinuxTag, anticipating the future. Hence, it started with Debian Security held during this year's Debian day, followed by Howto LinuxTag on the following day and finally Debian Internals together with other Debian developers. After the last talk I had about two hours to calm down again and initiate the general dismantling. Fortunately I've already planned a lot before the event because after my final talk I was a bit exhausted and needed to calm down and get into LinuxTag organisation again. Dismantling is the most parallel work at LinuxTag because all booths are dismantled at once and many people are running around with arbitrary stuff. One really has to take care of ones own stuff or it gets lost faster than one can shout. During the evening the entire fairground was cleaned, from all conference rooms the audio and video technique was removed again, all bottles and glasses were moved back into the office, the movable walls collected and moved back to their owners, the Internet caf was dismantled and computers moved back into their respective boxes. Some exhibitors had to use extra storage space temporarily. The Community forum in the conference hall had to be dismantled and chairs stacked properly. The same goes for tables and chairs used by the projects booths in both, the exhibition hall and the conference building. The network for projects had to be removed again, cables and switches secured. All additional signs had to be removed again. Since we have used some durable signs that could be used for future events again these had to be removed carefully and secured again. We've also ordered a container for paper since a lot of paper had to be thrown away and throwing away large amounts of junk is expensive. This way we were able to get rid of paper stuff a bit cheaper, but had to take extra care so that only paper went into this container. Hence, we needed a supporter who stayed with the container until it was fetched again. When the internal LinuxTag party in the office was nearly over, I came back into the office with all other areas finished, ready to start dismantling the office - usually the colleagues don't let me because they want to party and don't have any obligations anymore. That sucks a lot. So, again the internal party went on nearly without notice by me, but I'm used to that. This year I had already taken this into account and organised some stuff for an after work party (contrary to the other while-others-work party) outside of the office with supporters, friends and some team members that were still sober. This night we went to bed after 5a.m. and hence had a chance to get a quick breakfast already (we didn't use it, though). It was when we thought "Yes, this was a hell of an event!" I usually went to bed at 1 to 3a.m. and got up again at 5 or 6a.m. so that I was able to work on the important stuff that I committed myself to, and so that I was able to chat with friends and supporters in the evening. That was something I really missed on past events. Last year I probably wouldn't have spoken to Alfie if he hadn't placed himself into my way as a brake block. Thanks Alfie! This year such a maneuver wasn't required. In order to be able to work on so many areas during LinuxTag I tried to optimise the workflow and the processing as much as I could. I also used several sheets and paper to write down stuff for later processing so that my brain was kept clear and I don't become insane (or more insane, for what it's worth). That worked quite well and all areas I worked in worked fine as well, since I had time to talk to people even during the day. Even after my talks I wasn't flooded by phone requests like last year. After the event I had to drive some 750km back, after having only little sleep. Getting to Karlsruhe is always the easy part. Driving back is exhausting because I'm usually quite exhausted and in need of a lot of sleep. I won't disclose how long it took me to reach Oldenburg but it was faster than last year.

James Morrison: Bachelorhood

I would like to annouce that I am a much better bachelor than Simon. For instance, my fridge is unplugged, the breaker on my stove is turned off, I have no phone, no couch, no table, and no tv. I throw my laundry into two piles. The clean pile and a dirty pile. The key to the two pile system is that the piles must be separated. Lastly, I am a much better cook, I only have one pot/wok thus I can make and eat a meal using only one pot and one utensil.

So, given Simon's announcement, imagine how poor a bachelor he would be without my help.

Matthew Garrett

Various samples of code:

#* In all cases CONFIG_SMP redetermined bye 'cpu0'-line in /proc/stat.

do if (smbusDebug & (1 << ( 1 ))) printk(KERN_DEBUG "smbus(%d):" "asus_PowerDown(%p,%p,%p)\n" , (int)(jiffies-jiffies0),CmdBuffer, ResultBuffer, fSmbiExec ); while (0) ;

typedef char CHAR;
typedef CHAR *PCHAR;

* All rights reserved
MODULE_LICENSE("GPL");


Thanks, Fujitsu Siemens. You COPYRIGHT INFRINGING INCOMPETENT FUCKMONKIES.

I mean, christ.

CHRIST.

UNBELIEVABLE HOLY CHRIST ON A FUCKING BIG STICK.

Aigars Mahinovs: Another bug has pissed me enough to start debuggin...

Another bug has pissed me enough to start debugging. This time it is Totem-xine crashing on startup in Ubuntu dapper.

The first thing is that you cann't rebuild totem from sources multiple time after ubuntu patches - ubuntu uses dpatch to patch something in automake files and after the build has been run, the unpatch fails thus preventing a rebuild, doh! Worked around that by removing that patch. (Bug not reported yet)

After installing totem-gstreamer, my main suspect is the change to the statusbar, that look very recent. Could it be that Totem developers forgot a critical fix to the xine backend? Could it be that the treat xine backend as a ... second class citizen? To what? To that GStreamer? I tried to use GStreamer, I really did, but there are a few tiny issues: 1) it doesn't open even half the files that xine does, 2) within 5 minutes of a movie audio-video can easily get out of sync by 5 seconds. I have never seen A-V sync in xine. Ever. I love telling our Windows using frends that my movies "just work" with totem-xine, please do not take that away!

Anyway - back to the bug we go.

As we have a clean crash, I recompiled totem with debugging symbols ("DEB_BUILD_OPTS=nostrip,noopt debuild -us -uc") and run with gdb. When totem crashed, I got the code line, where it happened:
(totem:4608): GLib-GObject-WARNING **: invalid cast from   ' to  TotemTimeLabel'

Program received signal SIGSEGV, Segmentation fault.
0x08068659 in totem_time_label_set_time (label=0x8199a60, time=0, length=0) at totem-time-label.c:69
69 if (time / 1000 == label->priv->time / 1000

Now, that is interesting, lets see, what we have here - time is an int, so no segfaults from there, but label is a TotemTimeLabel. Hmm, that error now makes sense. And when we take a look at label->priv, it appears to be a pointer to TotemTimeLabelPrivate with an address of 0xffffffff. That's the problem, now we only need to backtrace trough the program and find the bug that is causing that.

Well all looks pretty nice - there is a "tick" event in the player that calls the time update. Not really clear, why there is such a discrepance between GtkLabel and TotemTimeLabel or why this structure is not inicialized in time. More strange is that gstreamer backend never calls this function. Wierd. Let's see what happens if I just return from it without doing anything. Does not help - now statusbar is crashing.

Let's try it from another angle - it worked before. Nothing much in totem changed since release of breezy. Installing the version from breezy, it works fine. Recompiling the version from breezy on dapper - crashes. Ouch! It looks like xine backend of totem has not been ported to that new crazy Gnome 2.12 thingie, like gstreamer backend was. Strange - that is a backend, it should not be dependent on the frontend, no? Anyway, it is not something I can do - I will have to install the breezy version, hack some dependencies to make it no conflict with one optional library and then file a critical bug on totem for breaking the xine backend.

But even that will have to wait 'till tomorrow, sleep is of the essence, anywere.

Enrico Zini: My curriculum

I finally finished restructuring my curriculum. It needed to have two properties:
  1. I only want to maintain information once, without copying around and information getting outdated.
  2. I need translations, and I want to translate using smart tools.
Here's how it works now:
  1. It all starts with informations scattered around the file system.

  2. Some Ruby scripts go around digging for them and generate some XML files.

  3. The XML files have tags with special markers so that intltool can extract the strings inside and generate .pot files with them.

  4. I translate .pot files with all the tools one normally uses with them.

  5. Intltool generates multiple XML versions with clean tags and translated strings.

  6. At this point, I have XSLT sheets that can generate:
    • My CV
    • The Talks page
    • A page with a summary of the free software projects I'm involved in
...and it's all driven by Makefiles. The day I feel like it, I'll add an XSLT to generate a CV in OpenDocument format. Javier Candeira called this "Rube Goldberg Hacking", but then noone could figure out simpler ways of doing it with the properties I wanted. Scripts available on request if someone is crazy enough to walk along a similar path.

4 December 2005

Matthew Palmer: spellcheck.google.com

Don't know how to spell a word, but have Internet access? Just type your best guess into google and have it ask you if you meant the correct spelling. GoogleGuys, I expect a hefty commission check when you take the above URL live, BTW... <grin>

3 December 2005

Aigars Mahinovs: After reading the Final Debconf5 report I suddenly...

After reading the Final Debconf5 report I suddenly saw how this report shows all of us how much blood, sweat, tears and ruined stomachs has really been put into organising the best Debconf ever (so far at least). A lot of Debian Developers were present at Debconf5, even more Debian developers, Debian users and other free software users gained something from this event - a better Debian.
I feel that we should give all organisers of Debconf5 the prise the deserve, but as we can't send them all to a two week vacation to Hawaii, we could at least express our gratitude on a web page.
So, if you feel that Debconf5 has given something good to your life - got to http://wiki.debian.org/Debconf5ThankTheOrganizers and express that in warm words towards the people that made that happen!

P.S. Today I configured my Palm to be a IR remote trigger for my Canon 350D, happy like hell about that.
P.P.S. Number of unique visitors to my photo gallery has reached 575, with one of the photos seen by 475 unique visitors, thanks! (Hint: more comments with constructive critique would be useful to improve quality ;))
P.P.P.S. For me "a1t" will always mean that girl nicknamed "alt" with the shotgun pointed my way, really.

2 December 2005

Steve Kemp: Torrents + Perl

BitTorrent
BitTorrent is one of those applications that most people love. I love it when it works but I find it unnecessarily cumbersome to deal with. One example of what I dislike in the software - you can’t tell when a torrent has finished. Start a download:
btdownload curses headless  foo.torrent
Once the download has finished it doesn’t stop, it just continues to share the files and allow others to download faster. Great 99% of the time. But utterly sucky when you want to download XX files. The natural temptation is to run:
for i in *.torrent; do \
  btdownloadheadless $i
done
That doesn’t work. The first one never finishes. There isn’t even the option of exiting once the download has completed - or running another command, say. (OK my copy has “–at_finish=/bin/foo” - but only because I patched it. This just seems like a basic requirement, right?) Despite that it works well so I can live with it. My other irritation is that there is no functioning Apache mod_bittorrent where files into a directory have their .torrent files created and handled magically. There was a project to do this, but it appears dead now. Shame. Every now and again I get tempted to work on it, then I remember that I have big limits.
ION
Lots of Perl coding today. Simple plugin interfaces, and cleanups of old code. Almost enough to keep me awake.

Martin 'Joey' Schulze: Volunteer LinuxTag Work

Without the vast number of voluntary supporters past LinuxTag events wouldn't have been possible at all. On the financial side LinuxTag has always made only little profit after the event. Without these nearly 100 volunteers who have supported us directly during the event and during its preparation the show wouldn't have been possible. Without the help of so many supporters during the event, the entire show isn't possible. Hence, it is important to either generate more income and be able to pay for hostesses and callboys or manage a proper environment in which many supporters want to help. For this, accepting the importance of the supporters, acknowledging their work and supporting them with food, fluids, fun and other advantages is very important. To my regret, I have to admit that this has not always been the case inside the core team. I have argued in favour of the supporters several times, so hopefully not much of it has been noticed by them. Supporters have worked in several different areas. I'll try to list them below but I'm sure I already forgot half of them even though I have coached most supporters directly or indirectly. We have maintained the parking ground so we were able to ensure that the Festplatz in the middle of LinuxTag is not abused as a parking place during the event. This required us to maintain a gate with at least one gatekeeper from 6 a.m. to 10 p.m. This was a lot of work, and it wasn't that interesting, but good for people who want to read or hack in the gatekeeper pavilion. We have manually built the projects network in the exhibition halls. In the conference building it was built by the KaLUG. All information signs and plans had to be drawn, printed, magnified and fixed at their respective locations. There are a lot of additional signs that we have maintained to help visitors find their way. I'm sure still a lot of signs were missing. I have used the opportunity to prepare most of them after the last event, so that we have less work for the new one. Our own office had to be set up, since we've used naked rooms with only some cupboards, tables and chairs inside. More furniture had to be arranged, the network had to be built up, the server had to be installed or configured, the printer had to be attached, the network configuration needed testing, the desks had to be set up. For some years now one to three volunteers have helped us in the office in order to support the core team and so that we are able to present visitors, exhibitors, the press etc. We've had an an additional human firewall who worked for two or three days usually and was able to support most people already without clogging the office room. The firewall (Arne) himself had the idea to become a firewall several years ago and I have to agree that it was a very good idea. However, with the exhibitor support maintained at a special booth at the entrance less work had to be done for the firewall this year. Several large and self-standing signs had to be prepared or repaired after the had been broken at the last event or their content has been obsoleted. Signs for the gate from above had to be printed and fixed at proper locations so that exhibitors find their way. We have built up the entire audio and video equipment on our own with a service provider from Bremen. Since this affected up to six rooms a lot of equipment and cables had to be moved, installed and dismantled after the show. For this we've helped J rg and Sven with several volunteers. The business congress had to be prepared as well. Stuff for the attendees had to be created and taken to the conference building. The entrance counter for it had to be maintained and staffed. Doors had to be secured. Deliveries had to be maintained in a storage area, since before LinuxTag a lot of stuff is delivered to LinuxTag without the target booth built up already. During setting up the booth, the booth builders also had to be supported and problems detected, discussed and corrected. During the entire time of our siege of the fairground we've had to maintain our own storage of fluids and food. Due to the high temperatures having around enough fluids was very important. In addition to this demands for several goods also required us to send somebody out for shopping each day. In order not to die of starvation during the event we have also organised a delicious lunch for all supporters and core team members. Kudos to Thomas we were able to order large pots of salad and cooked food for two years so that we didn't have to eat unhealthy food (such as fat pizza for six days) and everybody could decide on their own how much they want to eat. In the years before we've had rented a cook and even ordered Pizza. The food had to be fetched from the restaurant, arranged, together with table clothes, cutlery and stuff, and finally taken back at the evening. Cutlery had to be cleaned regularly as well. For the social event the location had to be cleaned and prepared. This year we've had the great opportunity to use the Nancy Caf which was unused for about 10 years, and hence required a lot of cleaning. As it turned out just before the show began, it required a lot more cleaning than expected. However, thanks to the competent and highly motivated supporters the location was cleaned in time. Kudos to Claudia, this year's social event was also one of the most successful. For the legendary KaLUG party the location had to be prepared as well and the food cooked. Looking at the pictures, the pavilions had to be built, tables and chairs arranged, cutlery and fluids organised. In the evening all the stuff had to be cleaned as well. This year KaLUG had organised a so called "Sp lmobil" that helped with doing the washing-up, but somebody had to work in it as well. The KaLUG has maintained the Internet caf in the conference building and has set up the network for the exhibiting projects in the conference building. For this they have acquired a lot of computers and network equipment that had to be built up and dismantled after the show. They have also acquired a number of movable walls for separating booths and providing poster space. During the show we have distributed fluids for the conference rooms and exchanged information posters and flyers with the daily schedules. When you're giving a talk, your throat often gets quite dry, hence, a cup of fresh water is a good cure, but requires the organisator to maintain water and cups. Since the conference program changed daily posters and handouts had to be exchanged during the evening. Project exhibitors were supported directly by us while company exhibitors were supported by a service provider. Additionally all speakers had to be supported as well. The conference rooms were also maintained by a moderator who supported the speaker, announced the talks and speakers, ran (!) around with a microphone, helped in case of technical problems and maintained the schedule. Even though it may look strange for an outsider there are a lot of costs that emerge when such an event is organised at a commercial fairground. LinuxTag has always had the problem of only little yield after all bills have been paid after the show but had to start preparing the event for the upcoming year. In the past years it was always a struggle to continue with only little financial substance trying to get the next event set up properly. LinuxTag has been unique in its configuration, looking at its history, its organisation structure, its size and its components. There are basically only three ways of creating income: commercial exhibition, business congress and sponsoring. All three have obviously been on the descending path for several years now, reducing a lot of flexibility for the organisation. This income has had to be used for all expenses. On the other side there are a lot of areas that just cost money, such as the conference building, exhibition hall, hotel, travel reimbursements, projects booths, advertising. In addition to that we've had two service providers that have taken over some tasks and needed to be paid as well. A very rough overview is in my Howto LinuxTag talk from this summer.

Joe Wreschnig: Python, again

Accessors
Matt, Python has advanced tremendously and supports uniform access even more nicely than Ruby. You don’t need to play __getattr__ games at all. class Foo(object):
    def get_foo(self): return unmangle(self.__foo)
    def set_foo(self, value): self.__foo = mangle(value)
    def del_foo(self): ...
    foo = property(get_foo, set_foo, del_foo, "docstring goes here")
There’s actually a nicer syntax with the new decorators, but this will work with the Python in Debian. Unlike Ruby, this means you can un-wrap the attribute later if it turns out you don’t need mangling functions and do need speed. (Dick Davies pointed out I said this without anything to back me up. Timing these different methods, it turns out raw attribute access in Python is 30% faster than Ruby’s attr_*, which in turn is 50% faster than manual attribute setters in either language; non-property-ized Python get/sets are slightly faster than Ruby, but property-ized ones are slightly slower. There is a definite advantage to being able to expose the raw attributes.) Really, public get/set methods are a nasty hack, mostly restricted to C++/Java and Ruby/Python/etc. written by people who spent too much time around C++. Welcome
Michael Urman, co-developer of Quod Libet (and author of its sexiest parts), finally got a weblog. Currently there’s not much there, but he’s (hopefully) going to write about the metaprogramming he used to write an awesome Python ID3 reader/writer, and also some details on the Python interpreter bugs we keep turning up.

1 December 2005

Matthew Palmer: OOP and the Get/Set issue

Steinar, your comments on the limited utility of Get/Set methods both struck a chord and touched a nerve with me. On the one hand, I completely agree that people need to spend more time writing methods that do something useful to an object rather than just exposing public methods. For example, how often have you seen something like this (in faintly python-inspired syntax):
 obj.count += 1
 [...]
 obj.count -= 1
 [...]
 if obj.count == 0:
 	obj.destroy
Instead of the far more descriptive (and well-encapsulated):
 obj.register_user()
 [...]
 obj.unregister_user()
 [...]
 obj.destroy_if_unused()
(or any one of a thousand other similar idioms). This is a contrived example, of course, and a real example would involve doing at least a dozen operations on an object's public attributes from another class (which results in class-associated logic being located in other classes in the system) instead of putting it in a method and calling that (thus keeping all of the logic with the data it's manipulating -- which is the point of OOP). Anyone who writes code like the first example above and calls it OOP is kidding themselves. Of course, you could make the code even more ridiculous with getter/setters:
 obj.setCount(obj.getCount()+1)
 [...]
 obj.setCount(obj.getCount()-1)
 [...]
 if obj.GetCount() == 0:
 	obj.destroy
Incidentally, if you ever see anyone turn the first example into the last example and say they're "improving encapsulation", please do the programming world a favour and kill them. kthx. On the other hand, Steinar, you say "I'm not denying that getters and setters for a few variables might make sense", which clouds the issue immensely. The idea of routing attribute access through a method is immensely useful. It even has it's own name -- the Uniform Access Principle. A few examples are in order (you might already have thought of these, Steinar, but who knows who reads my dribblings!): In my real-life case, there were few enough places to change all of the calls to a method, and since it's all written in Python I could have played __getattr__ games to get back to a method if I'd had to, but it would have been messy. But imagine a system written in a language that doesn't (somehow) support the Uniform Access Principle, and which was widely deployed (possibly even used by programs outside of our direct control) so the users of the class couldn't be adapted easily. Nightmare. Now, the real solution to the problem is to only use languages which support the UAP (Python can be hacked to do it; Ruby is, IMHO, almost a case-study in How To Do It; and there are other good languages out there). But, in ass-backwards languages that can't transparently map attribute accesses to method calls, I'd rather deal with getX()/setX() everywhere than have to try and perform the necessary gymnastics to later support dynamic value generation from what-was-previously-an-attribute. If, on the other hand, your post was primarily targeted at said ass-backwards languages, or programmers who cargo-cult manual getter/setters everywhere, let me join you in your derision. <grin>

Daniel Burrows: Linguistic Contortions

I thought I had seen everything when it came to ways of resolving the problem of gender-specific pronouns in English. But on the way back from Wisconsin yesterday, I read a copy of David Brin's Sundiver (otherwise an interesting story) and was proved wrong.

Usually the problems you run into with English revolve around the pronoun he: its use in a gender-ambiguous context is disputed and there are various ways of avoiding it. The word man has similar problems, although it's a lot easier to find acceptable gender-neutral replacements. But in this story, Brin actually used man in situations where the person indicated was known to be female! This leads to such eye-popping lines as:
He took her arm and introduced her to Fagin and Jacob.

Sophonts, this is Helene deSilva, Confederacy Commandant here on Mercury, and my right-hand man. ...
And if that doesn't strike you as odd, here's my personal favorite:
Occasionally a man, male or female, would lean forward and peer at some detail on a screen, ...
Ow! I had to read that sentence three times before I was sure I hadn't mistaken the words.

Next.

Previous.