Search Results: "ag"

25 May 2006

David Pashley: Pathological Date Parser in Java

I've recently had cause to parse some date values in Java. As a result I've produced a class which can manage to parse an awful lot of date formats. I thought I'd better document it in case someone found it useful. Certainly there doesn't appear to be anything elsewhere which shows you how to parse lots of formats. I have found the order of date_formats to be very brittle, so I don't recommend you change it without an awful lot of test cases. Anyway, without further to do, I present to you, the Pathological Date Parser for Java
// Copyright 2006 David Pashley <david@davidpashley.com>
// Licensed under the GPL version 2
import java.text.SimpleDateFormat;
import java.util.Calendar;
import java.util.TimeZone;
public class Date  
    private Calendar date;
    static String[] date_formats =  
            "yyyy-MM-dd'T'kk:mm:ss'Z'",        // ISO
            "yyyy-MM-dd'T'kk:mm:ssz",          // ISO
            "yyyy-MM-dd'T'kk:mm:ss",           // ISO
            "EEE, d MMM yy kk:mm:ss z",        // RFC822
            "EEE, d MMM yyyy kk:mm:ss z",      // RFC2882
            "EEE MMM  d kk:mm:ss zzz yyyy",    // ASC
            "EEE, dd MMMM yyyy kk:mm:ss",   //Disney Mon, 26 January 2004 16:31:00 ET
            "-yy-MM",
            "-yyMM",
            "yy-MM-dd",
            "yyyy-MM-dd",
            "yyyy-MM",
            "yyyy-D",
            "-yyMM",
            "yyyyMMdd",
            "yyMMdd",
            "yyyy", 
            "yyD"
    
     ;
    public Date(String d)  
        SimpleDateFormat formatter = new SimpleDateFormat();
        d = d.replaceAll("([-+]\\d\\d:\\d\\d)", "GMT$1"); // Correct W3C times
        d = d.replaceAll(" ([ACEMP])T$", " $1ST"); // Correct Disney timezones
        for (int i = 0; i < date_formats.length; i++)  
           try  
              formatter.applyPattern(date_formats[i]);
              formatter.parse(d);
              date = formatter.getCalendar();
              break;
             catch(Exception e)  
              // Oh well. We tried
            
         
        
     
 
The only date formats I can't get it to parse are <4-digit year>-<day of year> and <2digit year><day of year> (e.g. 2003-335 and 03335 for 2003-12-01). If you can add support for those and other date formats I'll gladly take patches.

Uwe Hermann: OS Install Experiences - Part 2: SUSE Linux


Note: This article is part of my OS Install Experiences series.
Next up: a SUSE 10.1 install. It's been a few years since I touched a SUSE distribution (it was something like SUSE Linux 5.3 or so), a lot has happened since then... Here's a rough sketch of the installation and a few superficial remarks and facts related to security. Install
  1. First, I downloaded a SUSE 10.1 CD image, burned it on a CD, and booted from that.
  2. The installer that showed up is graphical, and you can choose between a normal installation, booting a rescue system, or running a memory test (uses memtest86, I presume).
  3. While the installer runs it merely shows a rotating logo, but you can switch to other consoles (ALT+F1, ALT+F3, ALT+F4) for watching log messages passing by.
  4. You can choose the language used in the installer, later also your timezone and keyboard layout. You can also check the installation medium, which verifies the checksum of the CD, I guess.
  5. Next, you'll be asked to accept a license agreement (yeeaah, whatever).
  6. Your hardware will be automatically detected (worked quite well for me), and after that you can choose between a new install or a system upgrade.
  7. As for the desktop, you can use GNOME, KDE, text-mode (no desktop), or a "minimal graphical system" (it turns out that means fvwm, at least that's what I think).
  8. The graphical partitioning tool feels a bit awkward at first, I needed several tries until I figured out how to make it use the layout I wanted it to. The default file system suggested by the tool is ReiserFS.
  9. There's an explicit option which lets you choose the default run-level for the system (run-level 5 is pre-configured).
  10. The bootloader, GRUB, recognized the other partitions (Debian stable + unstable), added an entry for SUSE Linux, and created a working setup. Nice, although more control over the process (e.g. naming of the boot options) would be nice.
  11. Reboot.
  12. I'm asked to insert CDs 2 and 3, which I don't have (or want), as I only burned CD 1. Clicking "abort" a few times does the trick, and I can continue by choosing a hostname and domain name for the box (hydra + local.domain).
  13. Now I must enter the root password. Very nice: I have the choice between DES, MD5, or Blowfish (SUSE default) for the hashing/encryption of user passwords.
  14. Afterwards, the network is configured (automatically, via DHCP). You can enable a firewall at this point, and enable/disable access to the ssh port explicitly. It's also possible to enable "VNC remote administration" (default: off), or configure a proxy.
  15. Authentication methods for users, available from the installer: local (/etc/passwd), LDAP, NIS, Windows Domain.
  16. When adding a new user, there are some options. Per default, the user is in the groups "users" (no per-user groups, it seems), "dialout" and "video", but that can be configured. Password expiration is disabled. The default shell is bash.
  17. And now... another registration message (in the release notes, actually). May I quote (from my head): The registration procedure transfers zmd's unique device identifier to Novell's registration web service. The information sent may also include OS, version, architecture, and the output of uname and hwinfo, according to that text. More on that later, maybe...
  18. Of course, SUSE Linux comes with SUSE's/Novell's AppArmor enabled by default, but I haven't looked into it, yet.
  19. Now some problems appeared. More hardware discovery took place, it seems, then the screen turned black (with only a non-blinking cursor in the upper left), no reaction to any input -> I performed a hard reboot.
  20. After booting, I'm dropped into fvwm (although I chose GNOME in the installer), the reason probably being the forced reboot. After looking around a bit in the menus and stuff, I wanted to start sax2 (to find out what it does), but the screen turned black again -> another hard reboot. Could it be that I don't have enough RAM for this (256 MB)?
  21. Anyways, at this point I lost interest in playing with the system any further, and gathered the below information for comparison reasons...
Security That's it. Comments, suggestions, flames?

Evan Prodromou: 6 Prairial CCXIV

Before the Mesh Conference last week, I ordered a copy of Bob Young's book Giving It Away, through lulu.com. It came in the mail today -- a 15-page pamphlet in about 10x the mass of packing material, cardboard, styrofoam and customs forms. The worst part being that after I ordered the book, I read the downloadable PDF version in about 20 minutes. What a waste of paper! I'm kind of embarassed.

Wouter Verhelst: IceWM

I had been an Enlightenment user for a long time—halfway the Summer of 2000 up to the early fall of 2004—before someone finally decided to pick up the pieces where they were left somewhere around 2000 and restart its development. Unfortunately, that also meant causing #219925, which was irritating me more and more each day. Eventually, in the early fall of 2004 (almost a year after I filed that bug), I gave up and started looking for something else. The problem, of course, was that I'd grown so accustomed to using Enlightenment and its way of doing things that I felt at a loss. I wanted to be able to move windows above the upper edge of my screen again. I needed focus-follows-mouse. I was having a hard time without edge-flipping. Eventually I found that there was functionality for all of the above, but it wasn't flawless. Especially not the edge flipping—GNOME implements that in a truly horrible way1. Not to mention the fact that brightside, the application which implements edge-flipping for GNOME, segfaulted on me an annoyingly high number of times, sometimes even taking away my entire session with it. Even Enlightenment never did that; it would just misbehave instead. Apart from that, of course GNOME also had some extra annoyances that I didn't get rid of. The fact that it insists on mucking with my keyboard settings, to name just one example. Even so, I used it for about nine months. Then, slightly after DebConf5 in Helsinki, I realized what the true horror of GNOME is: not the fact that they hide away features or try to make the desktop void of superfluous options; the fact that they remove features that are critical to some of its users. I know I was horrified to find out that something I really used a lot had been removed in that new release. I kept using it for three more months before I threw in the towel and tried something totally different. Ion3. After coming from the mostly mouse-oriented interfaces that GNOME and Enlightenment were, ion3 was truly different. I liked it at first; it was a welcome change from what I'd previously been doing. Eventually, though, I found that the ion way of doing things just wasn't my way. The fact that, by default, it puts new windows right in front of the window you're working on was rather offputting. Any serious attempt at configuring the thing involves learning lua which, though supposedly not hard to do, is not something I ever found the time for. In the end, I discovered that I disliked working with ion, as I often felt that it gave me a fragmented and tunneled view on the world, and that it was working with me instead of the other way around. In short, it was getting the fun out of computing for me. Which wasn't good, at all. So that's when I started looking for something else again. When I'd made the decision to move way from ion3, I didn't want to keep using that "until I'd found something else"; instead, I quickly installed IceWM instead—which I still knew from back when I had a Yopy YP3000—and used that until I had found something better. Little did I know the beaty of IceWM. I've decided, by now, that it does all I need, and more: By default, it tries the best it can to put a window on your screen so that it overlaps with as little other windows as possible. I can have it not focus a new window by default. I does focus-follows-mouse, if enabled. It even does edge-flipping. Of course it's not perfect—the edge-flipping, though not as horrible as the GNOME implementation, can still use some improvement. As if to prove my point, I accidentally closed the window in which I was writing this very post before it had been written to disk, the cause of which could be described as an interface problem in IceWM (though it's more likely an example of PEBMAC (Problem Exists Between Mouse And Chair). But, all in all, using IceWM feels like finally coming home. Thanks, Marko and Mathias, for a truly wonderful piece of software. 1 I know that there are a lot of people who dislike edge-flipping. I am 99% sure that this is because they've never seen it implemented right. Edge-flipping is great, if done right; it's nightmare if done wrong. GNOME does it horribly wrong. IceWM does it better, though not perfect. The implementation in Enlightenment is perfect. I'll discuss the details in another post.

Enrico Zini: Creating a trusted pbuilder environment

I figured out that pbuilder ignores secure apt's verification warnings, and was deeply disappointed. One cannot tell everyone that pbuilder is the preferred build environment when pbuilder is happily using untrusted debs to build. After some digging, however, I found out that it's fairly easy to build a trusted pbuilder environment:
pbuilder create --debootstrap debootstrap --debootstrapopts --keyring=/etc/apt/trusted.gpg
This tells pbuilder to tell debootstrap to check packages using the default apt keyring. In turn, debootstrap will install the keyring in /etc/apt/ in the chroot, and so that the rest of the apt-installing done inside the chroot will verify the packages. Note that I also had to force pbuilder to use debootstrap instead of cdebootstrap, because cdebootstrap doesn't support --keyring. Also, --keyring is not (yet) documented in debootstrap's manpage, although you can find it in debootstrap --help. Note: I put this tip on the Debian Wiki at: http://wiki.debian.org/SecurePbuilder, and that version may in the future become more up to date that this blog entry. Note: pbuilder will still install untrusted packages, although it will warn about it. Check your pbuilder output!

Andree Leidenfrost: Supermarket of Components

Whilst my contributions are totally dwarfed by those of Joey Hess, I wholeheartedly agree with what he says - Debian should be more than just a large collection of readily available packages. Ubuntu is great, but Debian should be able to innovate in different ways because of its different structure and longer release cycles (which can be both a burden and a blessing). I really would like to see Debian staying relevant to end-users, otherwise many people may eventually just stop contributing. That would be a big blow for all the derivatives as well, not just Debian itself.

[Update: Fixed 'what he says' URL.]

Carlos Parra Camargo: Typo 2.6.0_with-rails release

In typo page were asking for mirroring a typo 2.6.0_with-rails so i added this line in typo wiki: Mirror 6: tar.gz (from Carlos Parra Camargo) If you didn't know it, this web page run typo 2.6.0 ;)

Antti-Juhani Kaijanaho: Diagnosis

It looks like my mother’s condition is subacute thyroiditis. It is painful but fairly harmless and easily treatable. They’re still doing some tests to verify the correctness of this diagnosis, but she should be out of the hospital on Friday.

Simon Law: Debconf 6, Day 5


Gorditas
Originally uploaded by sfllaw.
After a very tasty breakfast of gorditas in the market, I sat through talks all of Thursday morning, which were all quite good. They were visionary talks, talks about where Debian was going to go, and what we can do to get it there. After a brief lunch, we returned for the talk of debugging debian-installer. I've been lugging around my laptop, jamaica, through the entire conference. It's an old A20m, which means that it's a rather bulky looking thing, that is quite heavy. What makes it noticable is that it's been epoxied together, after having been dropped one too many times. People marvel that GNOME runs reasonably on it. Anyway, during the talks, my wireless card decided it didn't want to work any more. Pulling it out and letting it cool down seemed to get it responsible again. Strange. After the afternoon talk on how to find security problems within Debian, I went back to the hotel to change. You see, we were going to a Formal Dinner. I had not packed for a formal dinner, thinking that all functions would be casual at the very most. Still, I pulled out a pair of pressed slacks, an ironed shirt and a colourful tie. When I left my room, it became apparent that Formal actually meant "clothes without any holes".

Mariachi band
Originally uploaded by sfllaw.
We all packed into the coach buses from yesterday and drove into town. This was actually quite difficult for the drivers, because the streets were very narrow and the buses were incapable of turning around corners. I think it took us fifteen minutes to park, which mostly consisted of doing a 30-point turn. We disembarked and walked into a large building. Two of the walls were made of stone, the rest were made of stucco. There was a small stage presiding over a floor full of fold-up tables which were arranged in a Debianesque spiral. I decided that I was going to be at the nexus of activity, so I sat down at the central table and reserved a seat for AJ. As people seated themselves and started talking, there was a sudden commotion. Holger was running towards AJ with a plastic crown, deposited it unceremoniously on his head, and continued sprinting past. This drew applause and photographs, along some cheering of "Long Live the DPL!" AJ looked decidedly uncomfortable. It's probably for the best that Debian isn't a monarchy.

Indoor waterfall
Originally uploaded by sfllaw.
Our evening got more and more interesting. A mariachi band came in the door and started playing. Soon after they started singing, rain began to fall. This made lovely sounds on the tin roof above, which made me a little sleepy. Right about now, a brawl sprang up near the front door. There was some shoving involved and quite a bit of yelling. Soon, the combatants were separated and some of them left the building in anger. All this time, the musicians were playing louder and louder. As the music crescendoed, the rain fell harder and the wind blew stronger, until we had to close up the shutters to keep the water from blowing in. And the band kept trying to play over the rain. Then, slowly, the roof began to spring leaks. We were lining up for food then, and by the time I got to the buffet table, water was pouring into the trays. I managed to get something reasonably dry and scurried back to my seat. Which was wet. After I got some food inside of me, I experience the final act that capped our evening. We were chatting a bit about the strange weather we were having indoors when suddenly, water started cascading down one of the walls. It made a tremendous roar and the floor of the building quickly flooded. As I was photographing the events, the lights suddenly went out with a pop. We were plunged into darkness. I made my way back to my seat and someone eventually found the fusebox. The lights were restored, one by one, and it was soon time to leave. I don't know how the organizers of next year's Debconf are going to be able to top this: ceremony, live music, fisticuffs over a woman, an indoor waterfall, and drama. This was a night we're all going to remember.

Adam Rosi-Kessel: Kids These Days - Myspace Bandwidth

I just noticed that I’ve been donating gigabytes of free bandwidth per month to Myspace users. Apparently several of my eight megapixel uncompressed images are popular as wallpaper—also on Friendster and a similar site called “Hi5” that I’ve never heard of. I hate to be mean, but:
RewriteCond % HTTP_REFERER  myspace.com hi5.com friendster.com [NC]
RewriteCond % HTTP_REFERER  !(rosi-kessel bostoncoop adamkessel planet aggregator rawdog) [NC]
RewriteRule !sorry - [C]
RewriteRule .* sorry.png [L]
In reality, the content here is by default under a Creative Commons by-nc-nd license, but I’d like these people to realize they should at least check before copying images they find on the web. And if they are going to use images, they should copy rather than link them. In my day, we knew about netiquette. Kids these days. (I won’t embarrass these people by linking to them, but now there are several hundred Myspace, Friendster, and Hi5 pages that look terrible.) Most popular backgrounds: Winter Sunset and November Foliage.

Martin F. Krafft: Post-Debconf

One thing that never really came to my mind during Debconf6 in Oaxtepec, Mexico, was blogging about what went on. In part, that's because I never had a minute to spare, plenty of other people were blogging about the event on the planet, and definitely also because I developed a dislike to play-by-play blogging, which I certainly do not like to read for my part. But now, sitting in Oaxaca in the Hostel Pochon (which has free wireless, imagine that), I feel like at least jotting down some of the highlights. My favourite non-Debian related happening must have been the descent to Mexico City airport. I am willing to bet that our pilots either had too much to drink or way too much fun, because we literally zig-zagged across this amazing city. It's about 2200 metres above sea level and our inflight information system noted our altitude at 3500m for at least 20 minutes, so glued to the window, I felt in a miniature world, hovering above a city that extends to all sides however far the eyes could see (I conclude that in all miniature worlds I've seen so far, such as the Eisenbahnmuseum Hamburg and Swiss Miniature, trains and cars are generally moving too fast). The population of "la Ciudad de Mexico" (which the locals just call "Mexico") is estimated to be somewhere between 20 and 24 million, which makes it the largest city in the world, and it was not hard to believe that during the descent (and afterwards). I arrived at Oaxtepec, a government-run vacational complex, some three or four hours after touchdown and didn't last very long until the jetlag took me to bed. That was Saturday night. With Sunday morning, the official Debconf conference had started and was to last for seven days. In general, that meant talks and BoF sessions throughout the day, loads of hacking and socialising in between, food, and drinks with more socialising in the evening (and throughout the night in some cases). I really enjoyed seeing many of the folks I had met at last year's conference in Helsinki, while some others' absence was equally prevalent. I spent most of the week hanging out with Biella Coleman, Micah Anderson, Sean Finney, Clint Adams, and a bunch of others, I also managed to make the real-life acquaintance of some people I had known online for a long time. In retrospect though, I should have spent less time with the regular clique (with whom I was to go to the post-Debconf trip anyway) and spent more time getting to know more of the attendants. The vacational complex was interesting, and unlike many others, I didn't get annoyed by the long distances between presentation room, my accomodation, the hacklab, and the place where we were served edible lunches and dinners. Rather, I enjoyed walking with others, engaged in discussions on some of the more prevalent topics filling my life with Debian (such as version control, low-level Debian tools, security issues, and social challenges). The only nuisance was the long walk to the nearby town and its market, from where I would get most of my food and drink throughout the week -- but even that walk I rarely had to manage alone. The massive pool (with a ten metre diving board) that lay in the middle of it all didn't really attract me that much, but then again I've never been much of a pool person. In the interest of various people worrying about my safety in Mexico, as well as some of my clients, I purchased a Mexican prepaid SIM card for my cellphone and linked up with the world (after two attempts and an accumulated 2.5 hour wait). The fun was only short though, when I found out that in Mexico, phone charges are ridiculously expensive, and receiving calls on a mobile phone costs exactly the same as making them. At USD 1/Minute to and from Europe, I ended up limiting my air time to a minimum. I spent most of the first couple days getting mdadm back into shape, bug triaging and uploading a new upstream to experimental, except for Monday, which I spent together with Joey Hess, Micah, and Biella trying to recover files from her wrecked filesystem, which we managed in the end using a simple fsck to at least recover her presentation. I'd be sitting on the terrace in front of the "hacklab" where people kept passing by, so my work certainly wasn't focused and without interruptions, but in the end I was still satisfied with the end result. And in the evenings, it was usually the same terrace, sampling the local beer, enjoying cheese from all over the world at the cheese party on Tuesday night, trying liquors from other parts of the globe, and talking and joking and meeting great people (I truly love the Debian crowd). Out of the large assortment of talks available, I attended several but found that front-up presentations aren't my thing and I would have to let the topic simmer a bit (along with some research) before delivering my questions to the speakers outside of the talk (where I finally got some interesting answers to long-standing questions). Thanks to the awesome work by our video team, which recorded every single presentation to tape, streaming it live and also intending to publish it on a post-conference DVD, I found myself often listening in on talks I wouldn't have gone to, while hacking away on said porch. Noticing, however, that many talk slots were left unfilled at the start of the conference (they did quickly fill with impromptu presentations and BoF sessions once the inertia of the event picked up), I was a little annoyed that my proposal was turned down in the first phase of selection. Wednesday was the day of the day trip. Against my recommendations of an early departure, we left the site at 11:30 with six busses (remarkably on time), heading for Xochicalco for a rather boring tour of the museum, and a vastly more interesting, two hour stroll (in the midday sun) around the actual archeological site, which was quite impressive despite mostly being artificially built or rebuilt by the government. We went on for an excellent buffet-style lunch (which was amazingly well organised), and then headed on for Cuernevaca, a small, romantic town where we had only an hour to spend before heading back home (who recommended starting the day earlier?). When we finally made it back to the conference, most of us were just tired and the evening wasn't as wild as some of the other ones during the week. Come Thursday, my mission was to attack the thinkpad packages, which make Debian on IBM laptops a lot more of a pleasure to use. Unfortunately, I didn't get anywhere (yet) with that work, simply because most of my time was spent battling the weird hacks that make up module-assistant, which actually makes it a lot harder for developers to provide kernel module packages (while really improving the end-user's experience). But of course, there was a positive twist to this issue, as I would now leave my screen in frustration much more frequently and socialise with the others. For the evening, the organisers had prepared the "formal dinner" (which isn't so formal at all). A bunch of busses took us to a nearby shed, where we found all tables arranged in a massive swirl, and when we were all seated, a Mariachi band entered, at the same time as the rain outside picked up -- I thought one of the Mariachis was playing the snare drum but as the rain grew stronger, I concluded it must instead be the drops on the metal roof causing the noise. Generally in love with rain, I made my way to the door while others lined up to fetch dinner and stood in awe for a bunch of minutes at the sight of the marble-sized drops descending from the sky. ... when suddenly I saw one of Debian's troublemakers, Jonathan/Ted Walther, running at me, chased by three developers and found myself amidst their altercation before I could do anything. People screaming, one reaching over my shoulder to push Ted, it was all too much. I told everyone to calm down, to which Jonathan/Ted reacted, vigorously shaking and foaming, with a "get out of my fucking way, you fucking Nazi" and I knew that stuff had gone wrong. I withdrew, and in an attempt to find out what had happened managed to piss off one of the three involved developers, who'd then later refuse to hear me out for an explanation. All that really left me in a depressed state mainly because I simply hadn't expected Debian developers getting physical at each other, and this time it was Erinn Clark who consoled me and turned the night around for the better. I still had no appetite and took the first bus home, sent an apologetic email to the offended developer (who never acknowledged receipt but seemed to have forgotten the incident the next day), and enjoyed beers while the others kept returning to the hacklab. Apparently, people were quite aware of my (passive) involvement during the incident, so I was bombarded with plenty questions, most of which I refused to answer for lack of knowledge of the actual facts. Still, when I saw one girl in another altercation with Jonathan/Ted later that night in response to severe offences he published on his blog, which led her to come close to tears, I decided it was time to pull him off the planet. He re-added himself shortly afterwards by "fixing a typo" (according to the CVS changelog), but by that time, I couldn't care less no more and simply resumed the discussions, which eventually turned into topics of life, intelligence, and the bottom-up vs. top-down debate. I am a strong supporter of bottom-up (as many of you know), and I somehow regret the way I approached the discussion, because in retrospect I see myself as somewhat arrogant during it; fortunately, noone seemed to hold it against me the next day. Throughout the entire week, I built up a reputation of the guy that needs no sleep: staying up until the early morning hours, yet rarely missing any of the first talks at 10 in the morning, and even joining with people for breakfast at the market before. Friday morning, however, I just couldn't get up. We talked until six in the morning, and when my eyelids finally moved after I dropped into bed, it was already noon and I dragged myself to the next talk. after which I simply returned to the hacklab and developed more of my dislike towards module-assistant, before the call for the official Debconf6 group picture rescued me (and those around me). The keysigning party followed and I made the mistake to offer to coordinate it (picking up where Anibal's great preparation left off), without really running the process through my head before. Standing up on the diving tower and screaming to the crowd of 140 participants, it was in part due to Moray Allen's comments that the party went more or less without any complications; I did get to conduct another experiment though. During the keysigning, Mark Shuttleworth invited a bunch of us to join him for dinner to discuss the Debian-Ubuntu situation (no bribes involved; we paid for ourselves). I'll have more on this in a separate post when it's ready. The discussion continued after we arrived back at the hacklab, and once again, I didn't go to bed at a civilised hour... ... but I did get up in time for Biella's talk, during which she employed very effective techniques to get me to actually pay attention (which I would have done anyway): she required my laptop for the presentation. Again, the talk didn't do much to me (which is not Biella's fault), but I am certainly interested in reading the relevant parts of her dissertation. At the same time, however, it made me realise how far from reality the academic world is: big words and complicated concepts just don't count when it comes to getting your hands dirty, and I will try my best not to go down that route when my own dissertation gets more serious. Two other memorable events happened on Saturday: the fun group photos (I was determined to get the participants to line up in a swirl in the pool, and partly succeeded), and the last-night-party on the porch of the hacklab, which was mighty fun, in part because we had speakers blasting tunes for the first time that week (thanks to the dance BoF the night before), and Ryan Murray was playing some of the truly excellent mixes of a close friend of his, which are available from mux.ca. I didn't sleep that night. And then Sunday had arrived, the sad last day of a great conference. I would like to thank all the organisers and helpers for making this event possible! I know some of you had some reservations before and during the event, but in the end it's the result that counts, and I was only one of many who were absolutely satisfied by the week. A great big THANK YOU to you! Following the last bits of socialising and copying Biella's harddrive image to Micah's drive for later rescue of some of her precious videos, we were off to Mexico city for the vacational part of the trip. Some of us went by bus, Vagrant and myself hopped onto the bus to assist one of our developers with his wheelchair at the airport. When the group reconvened in front of our hotel for the night in the centre of Mexico city, the vacation had started (blog post forthcoming sometime...)

Martin F. Krafft: A non-official ID at the keysigning

Sometime during the Debconf6 keysigning party, I swapped my official German ID card (which some didn't accept and wanted to see a passport instead...) with my ID card issued by the Transnational Republic, as part of an ongoing experiment I conduct at various keysigning parties. I got the ID at Debian's 10th anniversary party in Zurich (which I attended on crutches, despite it being held on the rooftop of a club), and the process required the exchange of some currency as well as presentation of my passport to TR officials. The card itself looks very similar to the German ID card; it does correctly list my personal data and has my photo on it. However, it cannot really be considered an official identity card, because it was issued by an independent political group. Then again, read further down for what "official" can mean in some parts of the world. At the keysigning, I marked down those (few) who actually took note of the ID and refused to accept it: only one in ten did. What does this mean? I do not think it means that nine out of ten signing my key do not take keysigning seriously (or don't have a clue about it); you cannot expect people to know the look of the different passports of the various nations represented at the party. It also does not mean that the web of trust is flawed. To me, the most significant outcome of my little experiment is (and has always been) that a single signature won't do; a single trust path is not enough to verify a person's identity (as in: they are who they claim to be), but every additional trust path serves to strengthen the verification. The Debian project largely depends on the web of trust. Thus, I wonder whether our requirement of a GPG key signed by a single existing developer is enough for the general case. I am not quite ready to raise this issue yet within the project, but at least many more people now know about it (if they didn't previously). Those of you who have signed my key may feel cheated at this point. Similarly, those of you who have not yet signed my key may feel disinclined. If you are interested whether you were among those who accepted the inofficial ID, I'd be glad to let you know if you ask. If you do not feel comfortable signing my key, just don't sign it. And if you did already sign my key, you can revoke the signature. However, do consider what some folks told me in discussions following the experiment: there are nations out there who will readily issue IDs with unrecognisable photos, IDs with misspelt names, without expiration date, and multiple IDs at a time. In the case I illustrated above, I simply introduced a third, untrusted-by-Debian party into the web of trust: the Transnational Republic. In a way, this is what's happening whenever we sign keys by nationals of governments we do not trust, and I'd hope that would be most governments of this globe for most everyone. Then again, as Micah and Biella vigorously assert, it's only really about you and the signer: you are who you claim to be, and I either believe it or not. The government only takes a tangential role. So what to do? If you care for my opinion (which you do, you're still reading), then we should just keep on doing what we're doing and collect more keys (with that I mean everyone). At the same time, I do not think threads like this are necessary; the criticism/concern is valid, but it's too academic for the real-world problem that keysigning is trying to solve.

Peter Van Eynde: s3cr3t blog message

Tonight we meet some others in front of the Santo Domingo church/museum at 22:00 in Oaxaca.

Jeff Bailey: I just love the smell of latex ...

... paint.

What were you thinking of? =)

I went to the Canonical support office today to attend while the Bell technician installed our ADSL line. It's always neat being on construction sites and watching the trades interact. Onsite there were some painters, cabinet makers, phone, network, and air conditioning. The place is looking quite nice.

As always in construction, nothing's perfect. The only thing horribly wrong so far is that part of the ceiling fell down because whoever put it up hadn't bothered to anchor it to the cement. Repairs will get made, and the guy it hit only got minor scrapes. In another few days, they'll all be finished, the carpets will be cleaned, and the space will be ready for us to move in.

It's going to be weird having an office to attend to again.

Next office steps: Get insurance, hire junior support techs.

Axel Beckert: LinuxTag 2006 Slides are online now

Just uploaded the slides to my two LinuxTag talks: I’ll hold the KISS talk also at FrOSCon, the Free and Open Source Software Conference in the Rhein Sieg Area near Cologne at the end of June. There I’ll also hold my two command line talks: one talk for beginners and one workshop for advanced shell users.

Alex de Landgraaf: Debtags SoC project starts

Still amazed I actually got my proposal accepted. Considering I started writing it 3 hours before the (extended) deadline it was closer than that I'd like to, but lets hope the summer is long and I'll be able to do a lot of Debtags-hacking without too many close calls :) As for most of my recent projects, I've started a Trac environment and SVN repository. Doesn't contain much now besides my SoC proposal and a few links, but I'll get up to speed soon enough...

Carlos Parra Camargo: Hello Planet!

It has been a great day:
  1. The project that i send to Google Summer of Code, debian-cd-ng, got accepted this morning.
  2. I'm in Debian Planet! I've been reading it nearly daily for years! Thanks to Steve McIntyre for introducing myself.
  3. I've received many mails and phone calls from friends and family.
  4. Steve and I renamed the project. Now it's called debian-images-generator. IMHO it's very descriptive.
  5. I've created a wiki page with the new name: debian-images-generator.
  6. I've requested the project at alioth.
  7. I saw that my web has been serving hundreds of pages all the day, i'm not used to have much visits. Luckly my sarge/apache/typo is doing a great job :D
Thanks to all the ones that have solved my doubts at the irc and also to every mentor who has revised my proposal: Sledge, buxy, baroch, sto, ...

24 May 2006

Neil McGovern: Wings and Roundabouts

Well, I've finally got back from DebConf6 and am quite nackered, especially considering I've just done a full day at work.

I could amuse you with the usual 'lists-of-memorable-dc6-events', or a 'review-of-each-day', or even a 'bits-from-the-orga-team', but there's pleanty of other posts on planet.d.o about that, so instead, I'll recount my experiences of the return trip, starting in Oaxtepec.

I'm also putting up all my photos, but it'll take a while. They'll be appearing over the next few days at my Fotopic site.

I wake up fairly early-ish (10am. It's early for me, ok? I'm not German :P) and pack my suitcase. I take the padlock keys out of the case and lock it. Except I got the wrong keys. So, the keys are now inside the locked case. Fortunately, I'd already taken everything out of the case I'd needed and put it in my rucksack.

Next, it comes to time to check out. I find out that we need out room checking to ensure that we haven't stolen a wall or ceiling or something. One of the cleaners has a look around and spots a missing lampshade. We (me + Fil Hands) try to explain in broken Spanish that it was missing when we arrived in the room, but she doesn't seem to be having any of it. Mind you, there is the vague possibility that "Si","Fruta","Cafe" and "Hola" isn't quite enough knowledge to explain the situation. Feh.
So, we manage to accost the lovely Amaya to do some translation for us. The cleaner lady calls her boss, who tells us it'll cost 860 pesos (£43). We politely decline. So, she then calls her boss. This all takes some time. Eventually, she opens a huge book, looks inside and sees that the shade was taken away by maintainance. Why this wasn't done before, I don't know.

Anyway, our bus was leaving at 2:00pm, so we had to rush to the reception. The journey was quite pleasent, and we eventually arrived at the airport at 4:20pm. There was a small altercation with the Taxi driver over the tip, as it was already included in the fair, and he said it wasn't. We then pointed out that tolls were also included in the fair, and the driver didn't take a toll road. At this point, he seemed to dissapear quite satified.

I approached the Air France desk, and was told I coudn't check in until 7:30pm (my flight dind't leave until 11:30pm). Bugger. So after waiting around quite a while, and getting something to eat, I went to check in. There was a huge queue, but it didn't really matter, as I was flying under a Flying Blue - Silver level card, so I could use the express queue. They did, however, want to check my luggage. Broken Spanish did work this time, as I wildly gestated towards my suitcase, making key symbols.

So, after another long wait, we (me and Daniel Baumann, we're on the same flight, and indeed sitting next to each other by some freak coincidence) wander off through to the gate. I manage to find some free wireless (ESSID: co_admeralty_club) and surf for a bit. Flight ends up being delayed for 30 mins, but it didn't matter too much.

Then, I hear an annoucement over the intercom, that a group of passengers should contact the gate staff, and my name is mentioned. A little worried, I approach.
"Hello, I'm Mr McGovern. My name was called on the intercom."
"Can I have your boarding pass please?"
"Sure..." *worry*
"Thank you.... ok, we'd like to invite you to fly business class with us today sir."
"Thank you very much"
I then proceed to whistle the 'Kill Bill' tune, as for some reason, it's following me everywhere I go in the airport, be it a cleaner, or another passenger. I think it's like some sort of virus, infecting one person and moving on to the next host.

We still had a little while, so we popped back to the waiting area to, well, wait. We saw some of the Brixen gang, and one of them had his laptop stolen : That's the second laptop down then. The first was run over by a car in Oaxtepec.

So, I board the plane, and am immediately offered lots of alcohol and other free thingstm. Which was nice. Unfortunately, the plane was further delayed. This means that on arriving in CDG, my connecting flight was already boarding. It was at this point that I had dounts about my luggage arriving in MAN at the same time as me.

So, I board the plane in Paris, and it's a straightforward flight. But lo and behold, at the other end, no baggage. No suprises there then.

Today, my luggage arrived at 8:00pm, just after I've got home from work. I'd also got a nice letter from the Inland Revenue, with a £215.67 tax rebate \o/

As my subject: S^HWings and Roundabouts.

Carlos Parra Camargo: debian-cd-ng (Application accepted!)

I've just read that my project debian-cd-ng has been accepted in Google Summer of Code :-D
Summer Of Code

Like one spanish president said when he wons the elections:
Now, it's time to work
I'm a litte busy right now, i will post here more info as soon as possible.

Joey Hess: the supermarket thing

At DebConf I whined at Mark Shuttleworth about my fears that Ubuntu is reducing Debian to a supermarket of components (an analogy that was introduced entirely innocently by someone else during an unrelated talk). At least, that seems to be the kind of comment that I later heard some Ubuntu people characterize as whining. Anyway, NewsForge ran an article about DebConf that included a mention of that, and I had to follow up with a comment explaining a bit more about the problem. I'll reproduce it here:
The problem with everyone treating Debian as a supermarket is that it ends up with Debian == sunsite^Wmetalab. Giant un-integrated collections of software are not particularly interesting in a lot of ways. My main motive for contributing to Debian is to make Debian the best distro I can; I don't mind if others use that work, especially if stuff gets contributed back. But it's long been clear to me that the most important added value to Debian is not adding another package to the shelf, but finding new ways to integrate our software together. When you're working mostly above the level of individual software packages, to have your work mostly appreciated on the basis of "component contained in Ubuntu" is not very motivating. If that motive goes away I fear Debian could be left with mostly developers who are happily motivated with just packaging another peice of software. While there's nothing wrong with feeling that way and working on that basis, we don't want to lose the people who want to work on things that cut across sets of packages, like speeding up the boot time, improving the installation experience, making the distribution attractive for speakers of $language, making sure Debian supports as much hardware as best it can, porting Debian to interesting new architectures, integrating Xen and SE Linux with Debian, making a useful default desktop install, etc. Some of these are exactly the areas in which Ubuntu is apparently better than Debian, and in most of those cases, contributing individual patches back to Debian is simply not enough for Debian to share Ubuntu's improvements. It puts Debian at best in the position of wasting a lot of time trying to play catch-up and figure out how a collection of patches to different packages fits together into a coherent overall improvement.

Next.

Previous.