Search Results: "az"

2 May 2007

Joey Hess: linuxgazette on Debian on the nslu2

Nice article. My favorite quote:
"If I don't install Debian on this, it will feel like a brick to me anyway!"

Anthony Towns: A conversation with jdub

A couple of months ago I was sitting in a north Sydney pub cradling a beer with the ineluctable jdub, the decidedly unparsimonious rusty and (if I’m accurately remembering who’d left and who hadn’t by this point) the irremediable mrd. As you might imagine, these sort of conditions are a perfect breeding ground for a particular type of discussion, and with Jeff’s departure from Canonical not that long beforehand accompanied by the then ongoing DPL elections, talk turned to the future of Debian, and in particular Jeff’s views on that future. Obviously more than a few weeks have passed since then, so please imagine this as a dream sequence with a stylish TV fade-in accompanied by appropriate fine print caveats about paraphrasing and the perfidy of memory. I think it’s fair to sum Jeff’s main point about the future of distros as one of “disintermediation” – that is removing, or at least minimising, the barriers between the authors and users of a piece of software, and in general getting closer and quicker collaboration between everyone involved and interested in developing and maintaining that software. Which means things like trying to remove the line between the Debian bug tracker and upstream bug trackers entirely, so that Debian users end up talking directly with the upstream maintainers, rather than having a Debian maintainer relaying information between the two. It also means making the path for updated packages to get to users quicker and smoother – so that as soon as a developer commits a new version of the software to version control, the next time users of that software “apt-get update” they see it, download it, and start using it. Or at least, they do if they’ve chosen to follow the bleeding edge. Jeff had a bunch more ideas in that vein – like not bothering with a central archive, but having users collect the packages they’re interested in from upstream sites all over the place, standardising, reducing or removing the “control” information for packages so that creating the correct packages for 80% of free software (that uses ./configure in the usual way, eg) was a complete no-brainer, and perhaps viewing distributions not so much as the gatekeepers and central players of the open source world, but perhaps more as systems of providing resources, assistance and opportunities to software authors who deal with their users directly – and in so doing have more of an opportunity for their users to actively participate in the project’s development, and have more feedback (and control) of how their project is perceived by its users. I’m not sure if I’m doing it justice – it’s a pretty radical notion, and as an upstream-type hacker, Rusty was pretty enthralled by it. As a distro-type hacker, on the other hand, I’d have to say I was daunted: getting rid of the middleman here means getting rid of Debian, which I must admit I have something of an attachment for… and yet, in principle at least, I can’t see anything but good sense in the idea – getting users and developers interacting more closely is important to improving the free software community, and while distros have historically been a force for making free software more accessible to people, it’s entirely possible we can now make it even more accessible now by, in some sense, doing away with distros. And if that’s the case, then we definitely should, because it’ll benefit both users and developers of free software, which is what we’re all about. On the other hand, distributions (at least currently) aren’t just about collecting and compiling software which could be automated; it’s also about integrating it, standardising interactions between software, and in some cases acting as a buffer between users who want to use a bit of software and developers who for one reason or another don’t actually want to deal with those users (perhaps due to lack of a shared language or political or philosophical disagreements). I think it’s also pretty interesting to view Gentoo through this light; that is, not so much as a distro that makes you compile everything from source, but rather as a distro that gives its users a system based on exactly what the developers produce, with the addition of only a comparably tiny amount of Gentoo-derived content. Maybe it’s just me, but Gentoo sounds a lot more interesting to me in that light. So is that a foretaste of the future of binary free software distributions too? There’s a lot of things that would stand in the way of Debian managing that, but so far all I can think of is a thousand problems that should probably be solved anyway, and not even one that can’t. I think, btw, that jdub had been reading Accelerando (also available as a Creative Commons licensed ebook) somewhat concurrently with thinking about this stuff, so perhaps it should be called “Distributions 2.0” or something. Accelerando’s a crazy-awesome near-future/singularity book by Charles Stross, who happens to live in the city that will host the forthcoming DebConf 7…

Wouter Verhelst: Dear lazyweb,

I'm currently setting up a drupal-based site. While it's working pretty well and has allowed me to get most things done that I needed doing, there's one remaining issue that would need resolving. I tried asking for suggestions on the drupal support mailniglist and on the #drupal-support channel on freenode, but I haven't received a solution thus far. Hopefully someone reading one of the planets I'm on knows the answer. The site would need to be multilingual. That is to say, not just the interface, but also all static content and some of the nonstatic content would need to be translated in two (at first) languages (perhaps more will follow in the future). Using the i18n drupal module, I have been able to create alternate-language versions of some nodes, and enable a language chooser, allowing a visitor to choose a different content language for the site and seeing the site translated. However, there is one issue that needs to be resolved: the menu. The i18n.module does not create an alternate version of a translated node; rather, it creates a new node. This node then is linked to the original node by way of some extra table that the i18n.module installs. As such, both versions of the same content will have a different node number. To give a concrete example, the Dutch version of the "about" page on the site I'm creating is node/2, whereas the English version is node/10. Since you might want to review the English version of a node even if you request the site in Dutch, you do not unexpectedly get the Dutch version anyway if you request node/10. Since the node number is part of the URL of the node, this makes it impossible to create a link to "the about node, in whatever language is appropriate". The i18n module also comes with a "i18nmenu" module, which allows one to translate a menu item's description using gettext. This works, but it has one fatal flaw: it does not allow to change the target of the link. As a result, and given the above, it's impossible to create a menu item for "the about node in the current language, whatever that means". In an effort trying to work around that issue, I've come up with a number of things. Unfortunately, none of them seem to work to satisfaction. At this point, I'm effectively out of ideas. If anyone has a solution (or can tell me why it isn't possible), I'll gladly hear it, either as a comment on my blog or by mail on w@uter.be.

Enrico Zini: linux-usb-foot-pedal

Linux and a USB VEC foot pedal A new gadget has been showing up: a VEC USB foot pedal used for transcription. I plug the foot pedal into the USB port and a /dev/usb/hiddev0 device shows up. This is enough to make Transcribe! happy, and you can assign actions to the pedal devices in Transcribe! and go on using it. In Ubuntu Feisty /dev/usb/hiddev0 won't appear automatically. Luckily, an old style mkdir /dev/usb; mknod /dev/usb/hiddev0 c 180 96 does the job. What I couldn't do is make the device show up as a joystick, a keyboard or whatever else that could generate usable events. This is strange, because the device seem to identify properly as a HID device. Dear Lazyweb, how can I get events out of the thing, and then map one pedal to Alt, one to Enter and one to TAB?

1 May 2007

Isaac Clerencia: Back from the States + so it turns out I m celiac

Hi there! I’m back :P I spent a really nice time in the United States with my friends. We stayed two weeks in Boston and New York, and basically did everything we had planned to do and more … We visited the MIT at Boston, went to several comedy shows, ice skated in Central Park, spent a whole day in the Barnes and Noble book megastore, went to an NBA basketball game, saw Monty Python’s Spamalot musical, discussed politics with fellow Americans, visited the Delaware Water Gap waterfalls, enjoyed an helicopter ride, even watched The Grindhouse in its first day in the cinemas, and well, did lots of other stuff. Now for the celiac thing … I was somewhat sick during the whole trip, I felt weary the whole day without any reason, so as soon as I got back to Spain I went to the doctor and after some tests that spanned over a week and a quick visit to the hospital they diagnosed me with celiac disease. That means that I can’t ever eat anything containing gluten, a protein present in wheat, barley and rye. It’s quite an inconvenient illness, but nothing more than that, as just following an strict gluten-free diet is enough to keep it at bay. The main drawback is that you have to be really careful when you go out for dinner. I have already been in sick leave for three weeks because I had lost weight and was a bit anemic, but I’m quite ok again, and I expect to be back at work really soon now :)

30 April 2007

Mike Hommey: Bug triaging

A week ago, I started the long overdue task of triaging bugs reported on iceape/mozilla. When I started, the count was 364, duplicated excluded. I’m still not halfway through the bug list, but already the bug count is down to 263, as of today. That is about a hundred bugs closed or merged. I can’t believe there were still bugs so old but yet not merged to even older occurrences of the same bugs. Since it is easier to appreciate the effort with nice colors, I started graphing the bug counts for iceape. Sune Vuorela started some similar things for kde a while ago, so, thinking this could be useful for a whole lot more people than KDE and Mozilla maintainers, I also started graphing the bug counts for all packages. There is not enough backlog to have more than the last week, though. I’m a bit concerned about the fact that the RRD updates take a lot of time and may induce some load on gluck… Please DSA hit me if you want it to be moved elsewhere. Anyways, back to iceape bugs, the oldest bug I closed was #80787, which was actually fixed as soon as I first uploaded xulrunner a year ago. On the other hand, the oldest I didn’t close is #78654. There are some other winners that I’m amazed they’ve not been treated upstream in the last 6 years. Now, while I tried to correctly and conveniently tag these oldest bugs, I didn’t take the required amount of time to track them in upstream bugzilla. So if you, dear reader, have a little bit of time, I would really appreciate if you could go through the list of bugs* that are tagged upstream, but not yet forwarded and either find them in upstream bugzilla, or file them if they don’t exist there. * strangely enough, the raw=yes argument to the BTS doesn’t seem to work properly. You can get a raw list (with no ordering by status or severity) through the LDAP gateway with the following command line:
ldapsearch -p 10101 -h bts2ldap.debian.net -x -b dc=current,dc=bugs,dc=debian,dc=org '(&(debbugsSourcePackage=iceape) (debbugsTag=upstream) (!(debbugsState=forwarded)) (!(debbugsState=done)))'
Note the LDAP query is probably not optimal. You can add debbugsID at the end of the command line if you’re only interested in the bug numbers.

29 April 2007

Evan Prodromou: 9 Flor al CCXV

Ah, beautiful Sunday! This is the first day this week we've had a little peace around the house. It'll all go crazy on Monday, of course, but it's nice to have something like a day off. tags:

BarCampMontreal2 I had a great time yesterday at BarCampMontreal2. It was pretty fortunate that my parents are visiting this week, because it meant that both Maj and I could go to the event together. We also had our friend and fellow Wikitraveller Jani Patokallio visiting from Singapore, so we brought him along with us. Jani's a community and technology hacker and he's a lot of fun, too. This was our first event in the new BarCamp venue at the SAT, and it turned out to be a good one. The space is really big, with about 3 huge spaces. We used the back room, which is wide enough for a lot of video displays, to good advantage. The front area became an informal caf and it was really great for personal talks -- isolated from the main presentation area. Damian DiFede gave a great talk about his Ajax-based MUD, Mujax. I think it looks really cool -- I hope he can get the kind of participation and content to make it a more immersive space. I gave the second talk. I'd really wanted to do a talk about The Keiki Project, our upcoming venture, but it was too soon for a real hands-on demo. So I'd planned to do a presentation about RDF and our use of Wikitravel:Turtle RDF on Wikitravel, but I kind of got too busy by the end of the week. So I ended up recycling my talk about Commercialization of Wikis (see Talks/SXSW07), which got a lot of positive feedback. I liked seeing Sylvain Carle's presentation on what he'd learned in Silicon Valley. Sylvain is one of the best presenters at BarCampMontreal -- he's a big goofball who loves his work and communicates that passion with intelligence and sincerity. For example, he themed his talk with songs by Quebec rocker Robert Charlebois. Candid and ingenious. Also great was Hugh McGuire's talk about lessons learned in development of the cool podcasting platform Collectik. His talk came down to one great point: that you have to be able to communicate the purpose of your Web site (or other project) in one sentence. He didn't do that for Collectik, and now he's trying to figure out how to. It's great hearing people talk about their mistakes. Maj gave a great talk about Wikitravel Extra, the new personal-opinion and -experience platform that we've built to complement the objective, consensus information in Wikitravel. I keep forgetting what a good public speaker she is. She did a good job talking about the needs we were trying to fill, and she demo'd the platform (flawlessly). I think she's got a good presentation to take to other conferences now (lucky dog). Another talk I found fascinating was Chris Car's discussion of his past project, MeshCube. The MeshCube is a tiny mesh networking tool that Chris and a partner developed in Hamburg. Chris talked about what worked and what didn't work with that project, showed off some cool hacks (mesh network robots!) and was (like Hugh) open about mistakes. Sitting in the middle of about 8 WiFi networks (in my home office) as I type this, I'm really interested in mesh networking and I was glad to hear from Chris why it doesn't currently work and what can be done to make it work. Probably the most important talk, for me, was Martine Pag 's discussion of what we need to do to bring more women to technology conferences. She did a great, fair overview of the topic, and then opened the floor to discussion. We had a really great, frank talk about -- both men and women -- and a lot of diverse points of view were expressed. I'm really appreciative of Martine opening up this discussion, and I'm glad we're going to be more proactive in the Montreal technical community about being inclusive of the really great women working in technology in this city. There were some other good talks, of course: apenwarr gave a good talk about the new, new way to have a startup; the mysterious and elusive Madame Woo talked about traveling alone; and Australian visitor Moomlyn gave a great description of lucid dreaming. There were good demos of Cake Mail and My Carpool Station. All in all a great set of presentations. I also liked meeting up with some of the people there. Patrick Tanguay gave a great lunchtime standup symposium about the state of Montreal's coworking space and where we're going from here. I also liked talking with Tamu Townsend, who I hadn't met before. Probably my best talk was with Sylvain and Martine about what the boundaries of BarCamp are. Why do we have talks about solo travel, digital photography, and lucid dreaming? Sylvain had a great answer: BarCamp comes out of the hacker ethic: that spirit of curiosity, humor, passion and playfulness that makes working on computers so enjoyable for so many. If someone can communicate that same passion and intellectual captivation with another subject, it's going to go over well at BarCamp, no problem. Well said!

Pros and cons Here are some things I liked and didn't like about BarCampMontreal2. First, things I liked:
  • The people. Yet again, meeting up with my favourite technologists in Montreal. Many people I first met at BarCampMontreal1, and it was nice to see how our friendships have developed in the 6 months since then.
  • Diversity. I was really glad that there were many more women at this vent than at previous ones. My guess is somewhere around 20-25%, which isn't anywhere near where it should be but a big improvement over the 5-10% we had at BarCampMontreal1. Special props to Hugh, whose invite to women was, I think, pretty helpful. And of course to all the women who took the extra step to show up at a majority-male event.
  • The presentations. Almost uniformly really, really good. Some were just excellent.
  • Lunch. Simple and easy, didn't get in the way of socializing.
  • The Bar. I liked having the bar open at lunch. Having a beer with friends really changes the dynamic of the event; and SAT has a decent selection of brews and friendly barstaff.
  • The screens. A-V was great this time around -- good job by SAT on this.
  • The space. It was cool having the back room at SAT. It's a really nice place for this kind of event.
  • Powerpoint Karaoke. A great idea (people have to give 5-minute presentations based on off-topic slidesets they've never seen before), but I think the scheduling was off. It would have been great to spread these out between other sessions during the day for comic relief, rather than clumped all together at once.
Second, things I wasn't happy about:
  • Registration. It was really great being welcomed at BarCampMontreal1, and this was distinctly missing at our second event. We had a pile of nametags on the table by the door, and no other form of greeting. For a space like SAT, this just didn't work. I'm going to volunteer to help out with this step at future events, since it's so important.
  • Coffee. I realize I'm a coffeeholic, but it would have been nice to have a coffee table out. It's nice to have on a rainy Saturday, and it gives shy people something to do.
  • T-shirts. I think every BarCamp should be an event worthy of a t-shirt. Fred gave out some shirts left over from BarCampMontreal1, but it would have been nice to have new ones for this event, too.
  • Tables. I realize they're expensive to rent, but dang, they're really great to have if you've got your laptop and other techno doodads. It changes the event from being a show to being a symposium.
  • Schedule timing. The (very important) talk by Martine about women in tech conferences ran far over schedule and wiped a few talks off the board. I think that was a mistake. After it was done, the joke segment of Powerpoint Karaoke started. By the time it was finished, 60% of the audience was gone, even though there were 4 serious talks still to go. We need to do a better job with timing this kind of thing so we keep the energy going through the entire day.
  • Too much noise from the caf area. As people drifted off from the main presentation area, the caf filled up, making for lots of loud chatter that drowned out the presentations. We should probably figure out how to fix this problem; it would be nice to stimulate this casual conversation while still being respectful to the speakers. Maybe more breaks (one in the morning and one in the afternoon)?
  • <100% participation. It seemed like there were a lot of spectators this time around, which drags down the participative nature of the event. I think that asking registrants how they're going to participate when they come to the door is a great way to gently remind people that they're expected to be involved (we do this for Burning Man events sometimes). I think Powerpoint Karaoke and other exercises would be a great way to get better hands-on participation by people who didn't prepare talks. (I hope that MadameWoo does a talk in the future about how to do an ad-hoc talk at BarCamp.)
My net feeling about the event was extremely positive, and I'm making these notes not to criticize anyone but to remind myself to do something about them for the next BarCampMontreal. I think that we can continuously improve this event to be inclusive, stimulating, fun and exciting, and I hope we keep this great barcamp spirit going in this city for a long time. tags:

28 April 2007

Andreas Metzler: getting simple stuff wrong

I doubt I am the first one to wonder how a huge internet based company like amazon.(de at) can manage to be unable to send un-broken e-mails, however I just cannot resist. The regular plain text e-mails about orders (Bestellung erhalten/Bestellung versandt) are broken in a simple way, they are declared as Content-Type: text/plain; charset=ascii while actually containing Windows-1252 characters (Umlauts, Euro-character). I usually fix these in mutt with <Ctrl>-e. This week I returned an incorrectly labeled product back to Amazon and in return received a surprisingly broken mail, header and footer as UTF-8 while the core of the mail is Windows-1252 again. Looks like this in mutt
Guten Tag!
Wir grüßen Sie ganz herzlich und informieren  ine Erstattung zu der
Betreff genannten Bestellung.
Unsere Zahlungsabteilung hat Ihnen EUR 12,29 \374berwiesen.
etc...

27 April 2007

Martin F. Krafft: Moving in pieces, with and without morphine

As readers of my blog know, I moved to a new flat just after Easter. Unfortunately, on that Monday afternoon, just after we finished hauling most of the furniture (the heavy stuff at least) over to the new place, I slipped as I was leaping off the transporter vehicle, lost an argument against gravity and hit the asphalt more or less horizontally after a 1.5 metre fall. I landed on both wrists and my left knee, and while my consciousness never left, reality sort of blurred away, as I rolled over on the ground and waves of pain began rippling through my body. People started assembling around me and the adrenaline faded away, then I realised that this move of mine was not going to end as smoothly as it had begun. My body refused to bend my left wrist and knee and I knew I was injured, but it did not hurt so much for me to conclude anything serious. I remembered the ice packs in my freezer and had my cousin fetch them, then let two colleagues carry me to bed to regain my bearing, but the pain got worse and I started to accept that I would have to go to the hospital. Still optimistic ("it's just a contusion, it's just a sprain"), I crawled from my cousins car to the wheel chair, into the hospital and onto a bed to await the verdict. Still thinking about returning home tomorrow, I spent hours on the bed, being pushed between the x-ray, casting, and diagnostic rooms until finally I was told of my fate: multiple fractures of my left knee cap, broken ulna and radius on my left arm with splinters in the joints, and a fractured metacarpal bone on the right my pinky's tendon was supposed to snap, but it proved too strong and rather caused the part of the bone to which it was attached to rip off. They deciced to perform surgery on the two left limbs but to leave the metacarpal bone alone because of the complexity of the fracture and the proximity of all my hand's and fingers' nerves. Because everything was swollen like a balloon ready to burst, I had to wait three days for the surgery with casts and a splint on my leg. The surgery was scheduled for Thursday morning and even though I was actually looking forward to it all (especially the administration of the anesthetic), I was simply too tired in the early morning hours, and the Dormicum tablet they fed me did the rest: I was asleep when we entered the surgery room and woke up at noon with new casts and a morphine injection pumping a comparatively large dose of the drug into my veins every eight minutes apparently, my body was going through a lot of pain during the surgery, so the "pain management service" (in German, they're just called "Schmerzdienst" "pain service", actually) opted to pump it up. Here's what I looked liked shortly after the surgery: madduck post-surgery Meanwhile, Gian-marco, my future flat mate, had spent the day packing up everything that was left in my old flat, where I had left an utter mess. A colleague of mine was to sublet the place starting that Saturday, so there were roughly 48 hours left to empty and clean it, and to hand it over. There are more pleasant things in heaven and earth than to have someone else empty your flat for you. Morphine is a really crazy drug. Most people think of it as fuzzy and often joke about taking it if only they could get their hands on it. Having made the experience, I'd rather not take it again unless I have to. Watching television turned out to be impossible, even the weather report went too fast for me. Visitors appeared sort of blurry, I would often not follow the things they said, and it was definitely impossible to entertain thoughts for prolonged periods of time, or to engage in any sort of productive thinking. Organising a cleaning lady for my old flat and giving instructions to my cousin, who would hand over the flat took all my energy On Friday, I was to have an important business meeting with three people, so I organised a room in the hospital and asked the nurses to put me on optional morphine so I could be a bit more present during the meeting. As a consequence, I could press a button once every ten minutes for a dose of morphine, and with this new level of control, I began to reduce the drug amount in my blood gradually. The meeting did not take place in the end but I came to regret my choice to reduce the morphine at around midnight, when the pain in my knee became unbearable. I kept pressing the button for more morphine like a madman, but the device would only deliver a new shot every 10 minutes. The nurse was not authorised to change that and instead gave me other pain and sleep medication, but not even the combination of morphine, Tramal (an opiod), Novalgin, Mefenacid, and Paracetamol could dampen the level of pain, and so I spent almost three hours in real agony, biting the pillow with tears running down my cheeks, until finally the medication won, I became indifferent (thanks to Temesta) and drifted off into sleep. After breakfast the next morning, the morphine applicator suddenly had a fit, started beeping, and pumped more drug into my body than it should have. It took me about 20 minutes or maybe an hour (who knows ) to put my brain together, realise what had happened, and come up with a way to lift my finger to the button to call the nurse. Despite the horrible night, I told them to remove the morphine because I'd rather stand the pain than have my brain mushed like that, plus there are always plain morphine injections delivered by humans instead of machines. In fact, the next night I could feel the pain approaching and since it's easier to suppress pain than it is to remove it, I asked for a sleeping pill and a morphine injection. The injection did three things: first, it hurt so much that my knee immediately became pain-free while nerve central was occupied trying to figure out what the heck had just happened in my right thigh. Second, it did not take three minutes to kick in, and it kicked in so strongly that I just barely realised that my head was suboptimally positioned on the pillow and the lights still on, but failed to do anything about it. I did not wake once until breakfast. And third, I am glad to know that morphine does actually (still) work. Pain is complex, fascinating, useful, sometimes even pleasurable to some, but when you know the cause and you'd rather make it stop, it's comforting to know that there are ways the previous night had instilled some doubt in me. From then it was all downhill and I left the hospital after eleven days on Thursday, got by without pain medication the same day and off the sleeping pills the next night. Two days later I was already racing around town in my wheel chair: madduck racing in a wheel chair By now I can actually walk again, albeit slowly, and even though I still cannot lift heavy stuff or get my hands wet, my hands are a lot better; on 21 May, the casts shall be removed and I'll be able to bend my knee again, but it may take up to a year to return to sports, such as running, to which I had just become addicted. In fact, I can comfortably claim that I had just reached an acceptable level of fitness just before the injury. Tough luck. My mother has come to Zurich twice already to help unpack and with her invaluable help, as well as the help of Gian-marco and several others, we are actually almost done moving in. Ironically, it's actually quite annoying to sit and watch others do your work; I would have helped as well, had the roles been inverted, and yet I am still greatly indebted. Human relations tend to be funny like that. Let me end with two points: first, Zurich's university hospital probably ranks among the best hospitals in the world, and that makes Zurich even more attractive to me (even though I certainly don't plan my next hospital stay). I felt very comfortable throughout my stay, had the impression of being in very capable hands, and had most of my countless questions answered. In addition, the hospital is very nicely surrounded by a park and could not be more central, which makes it easier for visitors. And that brings me to my final thought: thanks to everyone who stopped by or called in to make my stay a lot more pleasant. I spent eleven days in the hospital and I got bored and annoyed for the first time on Wednesday, the day before my release. Most of the credit for those ten days of lack of boredom goes to everyone who supported me. It did help that I had Internet access via a convenient 2 /day GPRS flatrate (even though I could not really type), but it became crystal clear to me that visiting someone in the hospital, whether you're close to the patient or not, is one of the most beautiful gifts you can give. In the past I have neglected this opportunity occasionally; now I would want to make a special effort (even though I hope there won't be any need). And I would not be a geek if I did not end this post with a reference to Debian: I know of a case when one of our developers ended up in hospital and two others (or was it more?) drove hours to visit and check in on him/her. Now even more than before can I say that I am proud to be a member of a project in which such things happen. PS: this post took me about 4 hours to compose. Sucks to be typing one-handed.

Enrico Zini: debconf-logo

I like the Debconf logo I like the Debconf logo. There's something familiar in it: Debconf logo with Mario

25 April 2007

Axel Beckert: The days of my last running Woody are numbered...

As many of the Planet Debian readers know, I bemoan Galeon 1.2 and therefore Woody. For a long time I haven’t found an appropriate browser replacement for Galeon 1.2 in Sarge, so I never switched my home workstation called “gsa” (Pentium II, 400 MHz, 572 MB RAM) to Sarge, since Woody was rockstable and just worked. Though, after a few Galeon 1.3/2.0 rants, someone pointed me to Kazehakase, which indeed is a fine Galeon 1.2 replacement. But I noticed that Kazehakase in Sarge was in an early stage and the Kazehakase from testing (now Etch) were already much more matured. So in comparison to Sarge with Etch I won’t have the problem of not having a mature and sage web browser in main. And due to security support for Woody ceased a few months ago and Etch is now declared stable, it’s time to reinstall my last Woody box with Etch. For that, a repartioning of it’s two hard disks (8 GB and 40 GB) sounds like a good idea and so I had look, what’s on all those partitions where I once had a shot on quite a few Linux distributions and other unix-like operating systems. (Although I was already a big fan of Debian at that time, I wanted to look over my own nose and ordered a few CDs of free operating system at LinISO.de.) So here’s what I found, never really used and will throw away quite soon: That should give enough space for an Etch installation without touching the Woody installation first. Thanks to Venty, I’ve got a DVD drive for that box, so I can install from DVD. And for toying around with all those other neat and free operating systems nowadays, I’ve got my MicroClient Jr. named “c2”.

Marc 'Zugschlus' Haber: Automatic Wikification of Configuration Files

In the company I work for, most documentation is maintained in Word format. Except mine. I have a dokuwiki and am thankfully allowed this exception as I am the only Linuxer in the company. Since Windows systems need external documentation (being hindered by the absence of commentable text configuration files), there is a policy that all configuration data needs to be explicitly documented. I hate that idea, since documentation is always outdated, and documenting configuration changes doubles the work that needs to be done. After finding out that dokuwiki has a command line interface, I implemented a mechanism that can run from cron and keeps wiki pages of configuration files up to date on an automated basis. On the target systems (the ones that need to have their configuration documented), I installed a script which generates a tarball containing the relevant configuration files on standard output. For more sensitive data, the script could do some basic sanitazion such as removing passwords from the configuration files before putting them into the tarball. On the system running the cron job, the following script runs:
#!/bin/bash
set -e
set -C
set -u
JOBNAME=“update-wiki-firewall-config”
DWPAGE=“php4 /usr/share/dokuwiki/bin/dwpage.php”
TMPBASE=“/tmp”
SSHID=“$HOME/.ssh/$USER-passphraseless-$(hostname)”
REMOTEHOST=“remote.fqdn.example”
REMOTEJOB=“pull-netfilter-init-config-tar”
SHAREDIR=“$HOME/share/$JOBNAME”
WIKINAMESPACE=“pointer:to:namespace”
start=’/*BEGIN generated firewall rules */’
end=’/*END generated firewall rules */’
insert=’/*INSERT generated firewall rules */’
umask 077
if ! TMPDIR=“$(mktemp -d $TMPBASE/fwconfig.XXXXXXXXXX)”; then
        echo >&2 “ERR: cannot create temp dir in $TMPBASE”
        exit 1
fi
cd $TMPDIR
mkdir remote
ssh -i $SSHID root@$REMOTEHOST $REMOTEJOB   \
 tar --extract --gzip --file - --directory remote
mkdir workdir
touch workdir/rulelistfile
echo “$start” >> workdir/rulelistfile
for fwfile in $(find $TMPDIR/remote/rules/up -type f   sort); do
  MTIME=“$(stat --format=”%y“ $fwfile)”
  PROSEEXPLANATION="$( $fwfile sed -n '/^#::#/ s/^#::#[[:space:]]*//;p;q; ')"
  if [ -z "$PROSEEXPLANATION" ]; then
    PROSEEXPLANATION="netfilter-init internal code"
  fi
  rm -f workdir/newwikipage
   $SHAREDIR/wikipagetemplate \
    sed \
        -e "s PLHfilenamePLH $(basename $fwfile) " \
        -e "s PLHproseexplanationPLH $PROSEEXPLANATION " \
        -e "s PLHmtimePLH $MTIME " \
        -e "/PLHcontentsPLH/r$fwfile" \
        -e "s/PLHcontentsPLH//" \
  > workdir/newwikipage
  WIKIPAGENAME=“$WIKINAMESPACE:regeln:$(basename $fwfile .rul)”
  $DWPAGE checkout $WIKIPAGENAME workdir/wikipage
  if ! cmp --quiet workdir/wikipage workdir/newwikipage; then
    cp workdir/newwikipage workdir/wikipage
    $DWPAGE -m “new contents imported from $fwfile” commit workdir/wikipage $WIKIPAGENAME
  fi
  echo “  * [[$WIKIPAGENAME $(basename $fwfile)]] - $PROSEEXPLANATION” >> workdir/rulelistfile
done
echo “$end” >> workdir/rulelistfile
$DWPAGE checkout $WIKINAMESPACE workdir/contentspage.txt
 workdir/contentspage.txt \
  sed -e "\ ^$ start//\\*/\\* \$ ,\ ^$ end//\\*/\\* \$ d; "   \
  sed -e "\ ^$ insert//\\*/\\* \$ rworkdir/rulelistfile" \
  > workdir/newcontentspage.txt
if ! cmp --quiet workdir/contentspage.txt workdir/newcontentspage.txt; then
  cp workdir/newcontentspage.txt workdir/contentspage.txt
  $DWPAGE -m “new contents page” commit workdir/contentspage.txt $WIKINAMESPACE
fi
cd /
rm -rf “$TMPDIR”
Yes, this needs some more documentation and generalization. But it’s just a proof of concept that needs some polishing before being put into real life use. Here are the two template files for wiki page and contents page:
====== Firewallregeln PLHfilenamePLH ======
Last changed on target system: PLHmtimePLH
PLHproseexplanationPLH
<code>
PLHcontentsPLH
</code>
===== Dump of firewall rules =====
/*INSERT generated firewall rules */
/*BEGIN generated firewall rules */
/*END generated firewall rules */
The index page template relys on the HiddenComment dokuwiki plugin to be installed, or the placeholders show up in the rendered wiki page. The code uses the first comment line marked with #::# to generate a short explanation of the file being pulled into the wiki. dwpage.php is a fully-fledged command line interface to dokuwiki, committed new pages are fulled versioned as if entered through the wiki web front end. This way, the documentation in the wiki is guaranteed to be current and to fit the configuration found on the live system - it is directly pulled from the live system. Yes, rendering of the code is currently suboptimal. Working on it.

Axel Beckert: Surfing on two screens?

At work, I’ve got two screens on my Sarge workstation “snitch”. Since I want to switch virtual desktops independently on both screens, I don’t have a Xinerama setup but a Dual Screen setup. So my left and right screen do have different $DISPLAY (“:0.0” and “:0.1”) set. This is neither a problem for FVWM nor xlock nor XScreenSaver. But it is a problem for nearly every modern web browser available which checks, if there’s already an instance of it running. So if you try to start a new instance of a web browser on the other screen, most graphical web browsers make more or less problems: The only graphical web browsers which simply just work on a Dual Screen setup are Konqueror, Links2 (called with the -g option for a GUI), Chimera 2, Amaya and of course Dillo. Unfortunately I’m neither a fan of KDE nor of Konqueror and I do want a web browser with CSS and tab support… And Amaya is, well, only a reference implementation… (Chimera 2 from Sarge btw. segfaulted on two of the four pages I tested it with. Seems to have problems with PNG images.) So my current setup is to have Kazehakase as my main work web browser (with all the local web applications I need) on the right screen while I have Opera on the left screen for surfing, looking up documentation, testing web pages and other things. BTW: I don’t use Gecko based browsers for surfing on that box at the moment, since there are some web pages (the spammer vandalised Kazehakase wiki for example, at least a few months ago) which manage to be rendered in such an ugly way by Gecko so that XFree86 with the binary Nvidia (at least the last five or six versions I tried) just crashes away — either at once or when you try to switch to a text console by pressing e.g. Ctrl-Alt-F1 while such a page is displayed.

Martin F. Krafft: Wiring an apartment

Dear Lazyweb: we are looking at ways to bring connectivity to all rooms in our new flat, and regular CAT5 cabling proves to be rather complicated (it's an older building). Thus, before biting the bullet of drilling holes and running wires in the toeboards. I want to check out the alternatives: WLAN and Ethernet-over-mains-power. My experience with both is limited, but I fear high collision rates as well as unreliable throughput for both. Are you using either successfully? If so, which devices? Or do you have any other thoughts or know of other ways to connect the rooms? Then please let me know by mail!

David Welton: Founders at Work - Who's Missing?

I just finished reading Jessica Livingston's Founders at Work, which I found very interesting, and valuable in terms of information on startups. Unlike a lot of businessy books, since the whole thing is interviews, there isn't really any "filler". One thing I think might have been more interesting in some ways is to have some more information on failed startups and what went wrong, but it's probably more difficult to research that. My question to the world, though, is this: Who (or what startup?) would you have liked to see interviewed? It would have been interesting to see Dave Sifry, both because I know him from my time at Linuxcare, but also because he went through a couple companies before the stars aligned with Technorati, which seems to be doing pretty well.

Jordi Mallach: natura upgraded to etch

Last week I started the final round of Debian upgrades for the servers I maintain here and there, which is mostly complete today. I haven't been so lucky with upgrades this time, for a long list of different reasons. In the end, the smoothest upgrades were those boxes I upgraded when etch froze or so. natura.oskuro.net is the box serving these pages. It's an old, extremely noisy Pentium 150 which I've been intending to replace for a while now. I started the upgrade early on Thursday, knowing it'd take a while (natura takes its time only to read the Dpkg database), and it had apparently finished when I was ready to leave the office. Three issues: The very same night of last Thursday, I decided to dist-upgrade the box which serves the Spanish Debian website mirror. That's the only purpose on the box, so you can imagine the upgrade should have been pretty straight-forward. And so it seemed, until, in the middle of unpacking, dpkg died with a horrible I/O error, and I dropped into an unusable remote terminal with no working commands. Fortunately, apache2 was still up and running, and the web service has been working without interruption since the hard drive crash, albeit with no syncs from www-master. Today, Sergio visited the campus and had a look. It was a XFS crash, which got cleanly repaired using an install CD. We have an empty partition in the box, and will probably move the system to it temporarily, and back to the RAID, but on ext3. When the box was back online, I just had to resume the upgrade process, make mdadm happy and update lilo.conf before rebooting into the new kernel. This box uses LILO for some obscure reason I can't remember too clearly anymore. The box has just one partition on a md array, on two SCSI disks on a aic7xxx-based controller. Can anyone hint me why GRUB would have failed on us back in sarge, and if any fixes in the etch version would work any better? Using LILO here is error prone, and basically feels like a step back. Anyway, www.es.debian.org is now back up and running with updated content. Sindominio.net had its bi-annual upgrading party last monday, but unfortunately I wasn't able to help much as when I tried to log into the server, I must have caught the system in the middle of some key lib upgrade or something, and again I was locked in a unusable shell which would only segfault. Given my previous experience, I assumed that something had gone wrong and the box would need to be fixed at the console, and after 20 minutes I gave up helping on that front. Until I noticed, quite a long while later that I was still getting mail from the server. I managed to log in to discover the upgrade was done, with just a few bits remaining to be done. The major issues were encountered with our pam and ldap setup, plus nscd kept dying causing quite a lot of mayhem all over the place. Great work from Seajob, Syvic, nogates, apardo and the rest of the people who handled it! With etch, we can finally move back to an official Debian kernel, something we've been longing to do for a long time. The only pending upgrade issue is that we need to move from our old jabber server to either the traditional jabberd 1.x or ejabberd; our current implementation is no longer supported in Debian. The last of the etch upgrades stories involves Sofcatal 's servers. The box was running on a CentOS 4.4, which was moved away into a subdir just after booting Debian-Installer, and then lobotomised so it would run as a Linux-VServer under a new Debian etch install. I'll probably write more details about it soon though, as it could be a maybe less scary alternative to Guillem's debtakeover. Yay for etch!

24 April 2007

Cameron Dale: Apr-24-2007

Welcome! I will be posting here about the work that is underway on my Google Summer of Code project: BitTorrent Proxy for Debian Archive. A lot of the initial discussion about the path this project will take has already occurred between myself and my mentor Anthony Towns. This has led to an inital name for the software program created by the project: debtorrent. To support the project, an Alioth project has been created, including a mailing list. All of the previous discussion has been archived to that mailing list. A wiki page is available for contributing ideas and comments on the proposed implementation of this project. The program will be based on the BitTornado bittorrent client. A subversion repository has been created for tracking the changes made to the client to create the debtorrent program. It currently contains the unmodified BitTornado code from version 0.3.18. If you're interested in contributing, join the mailing list, update the wiki, or try out the experimental code in the subversion repository.

Nacho Barrientos Arias: DudesConf

Dear Lazyweb, I’m sorry, I know I’m late but here it is my promised report about DudesConf. It was simply cool, even though it was my first Debian-related real [0] event everything was in a good, familiar and friendly shape. I’m really happy to had met all the Debian developers who attended, GPUL people and others, pleased to meet you guys! Talks, BOFs, meals, accommodation, everything was impressive, so my gratitude goes to everyone who helped made DudesConf possible :). If you feel curious, you should be able to watch some pictures in the gallery or read the live (I know, it’s not really live at the moment, my fault) event coverage. Of course, Ricardo, thank you for take me to A coru a, it was a pleasure for me to share some kilometers (some? all of them!) with you ;) [0] Real comes from real life, Daniel pointed me out days ago to the actual difference between real an virtual life.

22 April 2007

Gustavo Franco: Merge from Ubuntu, and do it now!

Well, I'm really tired of these comments on how Ubuntu doesn't contribute patches back for Debian and how some Ubuntu contributors tell that they do it and that everything is ok with the swirl side of the fence. The truth is, both sides are wrong or just lying!

The fact is that for quite some time Debian contributors can opt-in to receive Ubuntu patches by mail. It started with my scottwatcher script for utnubu that was sending mails for Debian's PTS (Package Tracking System), keyword derivatives. Ubuntu does it now, so scottwatcher was deprecated in favor of their infrastructure that also sends messages to ubuntu-patches mailing list. Dissatisfied? Go to: http://patches.ubuntu.com/

I'm sure that some will argue "well, why not wishlist bugs to our BTS then?". I would be glad to receive the reports, but a lot of Debian contributors, developers, whatever argued against that because "we've a lot of differences and I don't care about Ubuntu patches" or stuff like "I hate automatically generated bug reports, they should process them manually before sending, figuring out if it makes sense or not". It makes no sense! I would prefer the opt-out approach than opt-in, but blame some Debian lazy contributors, including me because the raw data is there. I can start pushing stuff from ubuntu-patches mailing list into our BTS. Do you want it?

Before you reply to my post, read every word at: https://wiki.ubuntu.com/UbuntuForDebianDevelopers . What's wrong with you? Aren't you a Debian zealot? Go there and apply what's needed for us, for a better Lenny release. Don't you love to argue how they do it all wrong? Redo their stuff right then!

Please never write again "I never received patches from Ubuntu for my package foo". You don't own a part of the Debian project, you're a maintainer, stop crying, go there and raise the bar again. Thanks in advance.

Sune Vuorela: Secure key management ?

Dear Lazyweb Now it is my turn to ask you for help. How to manage your private keys (ssh, gpg, ..) securely when on the move with a laptop ? Storing the stuff in your homedir makes it kind of vulnerable if you lose your laptop (get stolen).
Storing your keys on a usb stick has the same problems if it gets stolen. A idea could be to store half the key on a usb stick and the other half of the key on your laptop.
Another idea colud be to encrypt your private keys on the laptop with another key stored on a usb stick. (Or the other way around) Other ideas? And is there already some well thought software written to do this ?
Or is the best advice to just to keep your usb stick really really close and hope for the best. /Sune

Next.

Previous.