Search Results: "tca"

8 October 2006

Jesus Climent: Egate smartcard.

The information i used for my smartcard was obtained from the following links: http://people.debian.org/~bod/e-gate/
http://lair.fifthhorseman.net/~dkg/egate/

3 October 2006

Jesus Climent: USB smartcard.

I have received some requests (as comments) to publish the info i have about the USB key. I will do that soon, when I manage to get my home ADSL working again…

27 September 2006

Uwe Hermann: Towards a moderately paranoid Debian laptop setup [Update]

I was planning to set up my laptop from scratch for a while now... so I did. Preparation BIOS Installation / Setting up full-disk encryption using dm-crypt
  • Enable shadow passwords. Allow login as root (I feel confident that I won't do stupid things as root).
  • Choose a good root password, and a (different) good user password. Don't enter a full name for the user.
  • Choose the latest kernel (old kernels might have security issues). Do not participate in popcon.
  • Do not install any tasks (no "desktop", no "base system"). We want the smallest installation possible, and add only the packages we really need. Fewer packages means fewer security issues (statistically).
  • That's it. Eject the CD-ROM, reboot, change the BIOS to only allow booting from hard drive.
  • Post-installation tasks Networking, Upgrading and Apt-secure SELinux Now install and set up SELinux. This section is based on notes from Erich Schubert (thanks!), and will soon appear in the SELinuxSetup wiki page, too. Behaviour Further ideas That's it. You can take off that stupid tin-foil hat now. Update 2006-09-29: Fixed typos. Mentioned sxid. Added two-factor authentication.

    MJ Ray: BT's bad marketing, 2006 edition

    You may remember that I've had trouble with BT's junk mail (twice) following leaving them in 2004. As mentioned in "A note on phone numbers and forms" recently, BT seems to have delayed my line from the Phone Coop to the new house (waiting for BT engineers to fix some problem at the exchange). Today I got a postcard saying "There's never been a better time to make savings with BT. [...] Come on, come back to BT's best ever offer and start saving." Where did they get my details from? I suspect it's the engineering request from the Phone Coop. I think I'll try to do some damage to BT now and make this bad practice more expensive for them. I can't believe this isn't abuse of a dominant market position. BT owns the only telephone network here and is the largest retail telco, despite having IMO the worst service.

    8 September 2006

    Jordi Mallach: GNOME 2.16

    GNOME 2.16 was released this week, delivering, once again to the day, the usual catalogue of improvements and polishing. Congratulations, everyone! Catalan is, once again, very well covered in this release (99.87% completed as of this writing) thanks to the fantastic GNOME group at Softcatal . I have only been able to contribute an update to Sound Juicer and little more, due to lack of time and, admittedly, motivation, so I'm very glad to see the group continues to be healthy and active thanks to Xavi, Jordi, Maria (from WSOP fame!), Gil (awesome GUADEC organiser) and others, under the leadership of Josep. Moltes gr cies, equip!

    5 September 2006

    Wouter Verhelst: Belpic 2.5.9-4~bpo1

    Or, BEID of the same version. Oh well. It took me a while, but I finally managed to jump through all the hoops[1] required by backports.org correctly and in the right order for the package of the above version to appear there. So if you're running sarge, have an electronic ID card and a smartcard reader, and want to see what the government knows about you, then go ahead and install them. More info on how that works can be found on the backports.org website. There are two known issues as of now: first, you may get wrong root certificate errors; second, you need to install all packages from the belpic source package, or some things may fail. I intend to properly fix these two bugs Real Soon Now(TM), but I'm having issues reproducing the first one and am trying to wrap my head around being policy-compliant and produce working packages at the same time, which is required to fix the second one. It's slightly ugly; believe me, you don't want to hear the details. Speaking of ugly, SCons is not ugly. It's downright hideous. I'll have autotools any day. If you're not running sarge but are using Ubuntu 6.06 'Dapper Drake', then you will need different backports. Luc Stroobant was kind enough to provide them; use deb http://www.stroobant.be/eid ./ in your sources.list to get them. [1] they are not many, but I managed to break my upload three times or so before it actually worked. And since I don't know about any status page or so, I needed to ask people every time—which I don't want to overdo, so I give them a while before investigating. Next time I probably won't...

    Wouter Verhelst: Belpic 2.5.9-4~bpo1

    Or, BEID of the same version. Oh well. It took me a while, but I finally managed to jump through all the hoops[1] required by backports.org correctly and in the right order for the package of the above version to appear there. So if you're running sarge, have an electronic ID card and a smartcard reader, and want to see what the government knows about you, then go ahead and install them. More info on how that works can be found on the backports.org website. There are two known issues as of now: first, you may get wrong root certificate errors; second, you need to install all packages from the belpic source package, or some things may fail. I intend to properly fix these two bugs Real Soon Now(TM), but I'm having issues reproducing the first one and am trying to wrap my head around being policy-compliant and produce working packages at the same time. It's slightly ugly; believe me, you don't want to hear the details. Speaking of ugly, SCons is not ugly. It's downright hideous. I'll have autotools any day. If you're not running sarge but are using Ubuntu 6.06 'Dapper Drake', then you will need different backports. Luc Stroobant was kind enough to provide them; use deb http://www.stroobant.be/eid ./ in your sources.list to get them.

    4 September 2006

    Branden Robinson: Dropping the Soap in the Gulf of Mexico, or: How I Got Cornholed by Continental Airlines

    Short version first: those in Oldenburg who are expecting me to arrive at the Bremen airport on Friday afternoon, don't. Expect me on Saturday at 11:10 instead, assuming there are no further setbacks. I got to the Indy airport today in time for my flight, except my flight was going nowhere fast. "No problem," I thought to myself. "I have nearly a three-hour layover in Newark. They can dicker with this flight for quite some time, or I can get switched over to the flight on the commuter jet that Continental also has going to Newark this evening." Silly me. My flight has a "wing indicator light" problem — that's what the gate agents called it, shrewdly deducing that a pilot otherwise has no way of determining whether the lifting surfaces are still attached to the aircraft — that amazingly takes hours to resolve, and the other flight? Well, Continental's headquarters are in Houston, and apparently some of their employees startlingly decided to evacuate their families out of the expected path of Hurricane Rita instead of showing up to work in Indianapolis to be the flight crew. Or something like that. So instead of getting to switch over to the flight that would get me to Newark safely in time to catch my connecting flight to Paris, the airline shunts all those passengers onto my flight. So we take off about 3 hours and five minutes late, and when I land in Newark, there's nothing left of my flight to Paris but wing tip vortices spiraling out over the hypodermic-syringe-strewn New Jersey coast. Apparently airports both in the U.S. and Europe have a problem with flights leaving or arriving in the middle of the night, so the soonest I can leave for Europe is now 1845 on Friday. This means I'll miss nearly a full day of the conference, which I was only going to be at for 2.5 days anyway. Joy. Oh, and they also close down baggage claim at 11pm (or five minutes before you land, whichever comes first), so my checked bag which couldn't make the same flight I couldn't is now being held hostage somewhere in the bowels of Newark Airport while I sleep at the Howard Johnson's in a room that one dare not view in ultraviolet light. Well, technically, this hotel is joint venture with Holiday Inn, an enterprise which no doubt serves the sole purpose of frustrating class-action liability suits by people who contract scabies in the course of their stay. I don't even know if my beloved dismantled Quadra is in better accommodations, or if my machine, tortoise.deadbeast.net, stuffed into a suitcase and crudely protected with towels and masking tape, has been obliterated with patriotic fervor by the TSA, swinging their hammers to pulverize it. I guess I could be in worse places, like Galveston. Any DDs in New York wanna give me a wake-up call in the morning and meet for lunch? (I'm at +1 973 589 1000 x217.) If not, I was thinking I might try to go see the Statue of Liberty in the late morning. I've been in the NYC area twice before but never went to see it. Air travel sucks. Maybe this is the real reason, unadmitted to myself until now, that Contact resonates with me. I can almost forgive Robert Zemeckis for that brown smear he did with Tom Hanks three years before. Then I remember that other brown smear he did with Tom Hanks three years later. Okay, I won't blame Hurricane Rita or even Continental Airlines. I'll blame Robert Zemeckis instead. :-P I'm okay to go... I'm okay to go...

    Benjamin Mako Hill: Big News

    Believe it or not, there is news that is even cooler than the free content and expression definition. The news is that after knowing each other and dating for something like 7 or 8 years -- on and off but mostly on -- Mika and I are going to be getting married. Here's a picture of the two of us at a picnic last weekend:
    /copyrighteous/images/mika_mako_boathouse.png
    If you read my blog, you've probably seen my frequent links to hers. If you hung out with me in Seattle, Boston, or New York, in the last 3 years or have ever visited The Acetarium, you probably already know her. We've told our families and many of close friends and will going ahead with a wedding and parties in the coming months. At the very least, we'll be having parties in Cambridge (Massachusetts) and in Seattle. Neither of us are particularly traditional and I don't imagine we'll make a very traditional married couple. But we are crazy about each other and in it for the long haul. And that's what counts. The only bad news it that it means that I won't be making Debconf this year -- for the first time in four years. With a little bit of luck I'll be back (perhaps with Mika who attended Debconf 4) next year. If you want to send messages of congratulations. You could make us really happy by sending them in the form of cards or postcards. You can mail those to:
    Benjamin Mako Hill and Mika Matsuzaki
    The Acetarium
    1010 Massachusetts Ave, Apt 54
    Cambridge, MA 02138
    USA
    Stay tuned for information on forthcoming parties and celebrations.

    31 August 2006

    Clint Adams: Scaramouche, scaramouche, will you do the moviefone

    A couple of arrogant fucks once boasted to me of the coed naked T-shirts which they had commissioned for their special hobby (which is far too embarrassing for me to mention even though I do not participate in it). The gist of it was that they were mocking the stupidity of the people who wear coed naked shirts by... wearing them ironically. I tried to explain to the intelligent one of the pair that she wasn't actually mocking the people who wear coed naked shirts because it just so happened that, by virtue of the fact that she had purchased and donned a coed naked shirt of her own design, she had become one of the people who wears coed naked shirts. She didn't seem to comprehend my point. So when I sally forth into the following paragraph, in mockery of bloggers who refer to people by initial, you may wonder whether I am mocking the people who use initials or if I have just become one of those people. For example, both K. and K. are getting married this year, and they're both getting married to men named J. Is that creepy? In contrast, K., who only dates men named J. (which is definitely creepy), is not getting married this year, but you don't need to get married when you're in Europe. Get it? Okay, here we go. Y. calls me up and says, Clint, do you want to go to the opera tonight? Two questions later, I say, Sure. Is there any pre-opera dinner action? I have dinner plans, she replies haughtily, T. was interested in dinner though. Call C . about it. Don't invite C .! I had no intention of inviting either C . or C ., but I called C . C . didn't answer, so I constructed a voodoo doll and stabbed it. After some time, circumstances changed a bit, and in order to accommodate reality a bit, Y. cancelled her dinner plans, and we arranged a meeting place with T. and C . and E. Since none of us were going to end up having time for dinner, Y. said that she'd bring finger sandwiches . There was some discussion of buying wine to go with the finger sandwiches , which I thought was a little silly, and the conclusion was a bunch of vague non-committal grunts. I was surprised when three bottles of wine showed up. I was surprised by the enormity of the finger sandwiches . I was surprised to see M. at our meeting spot. Then M. got a phone call and proceeded to announce that A. was en route. There was some quibbling over whether we should all wait for A. or whether M. should wait while the rest of us got our seats. We concluded that the latter was the sanest option. I opted to wolf down one of the foot-long finger sandwiches and a healthy amount of whichever wine got opened first. A. shows up with a large bag of food. She explains that she had gone shopping at Whole Foods, and as she is still drunk from the margaritas she had started drinking at lunchtime, she had bought a bit too much food. At this point, there is no indication of her drunkenness, though she has bought numerous cheeses, loaves of bread, candies, a giant low-fat or fat-free cake-like abomination, cookies, a several-pound chunk of chocolate, and a sizeable bottle of Orangina. She drinks the Orangina as not to get any drunker, and I cringe in terror as a boor gets on stage and screams about how the fatcats in Washington are trying to purge the Earth of the performing arts and how we've all got to take action to fight that. I consider writing to my elected representatives in the Federal government, but only because the guy on stage is one of them. A. switches from Orangina to wine at M.'s coaxing. Some asshat in front of us starts waving the flag of another country for no reason we can discern. Y. starts hissing about how she needs someone to fetch her a shotgun. It takes far too long for anyone to forcibly stop the flag waver, but it happens eventually. No shotguns were involved. Now, among those not in the know, there are often rumors that A. and I have a thing going. This is because I call her fat and threaten to do possibly-unpleasant things to her breasts, and in return she calls me things I won't mention and threatens to do non-breast-related things to me, and makes obscure Lloyd Alexander references that only I understand. Those in the know, on the other hand, are aware that she cheated on her husband with M., and are somewhat irritated by this because apparently her husband is a really nice guy. I've never been allowed to meet him, so I've no idea. Anyway, we start misbehaving. E. managed to maintain decorum the entire time, but M. and A. started fondling each other and kissing and giggling, and C . started SMSing comments about how these people can't behave themselves, and T. is on IRC complaining about how people are misbehaving. A. grabbed at my cell phone in protest of our rude electronic communication, so I slapped the hell out of her. Do you want me to beat him up? M. inquired from A.'s lap. Being possessive and protective of girls with whom you wish to copulate is apparently a rather popular pastime in the white trash community, because C . had threatened to beat me up on A.'s behalf not two days before. Anyway, to her credit, she said, No, I deserved it. To show my admiration, I beaned her with a wine cork. C . had some hand sanitizer, which we entertained ourselves with while arguing about which opera La donna mobile is from. I wish the consensus had been West Side Story, but the majority opinion was for La boh me. I'll assume that the had something to do with the confusion. Against all odds, they managed to finish the opera despite us and the other miscreants, and we proceeded to leave. On the way out, M. and A. had an utterly inane discussion which would have been utterly forgettable had they not ended each sentence by calling each other baby . Thenceforth, I have addressed them both as baby , which makes them very embarrassed and quiet. Clint, A. whined, Give me your job. You're drunk, I countered. But I'm cute! A. insisted. Oh, I see. You're REALLY drunk, I observed. Meh, she mumbled, no longer on her sluttiness high. Men are dumb. M. declared that I must absolutely go see some museum exhibit I'm sure I don't care about, and A. said, No! We're going to see that! Yes, we are, M. agreed. Okay, baby, I said patronizingly, then went home with T.

    26 August 2006

    Evan Prodromou: 9 Fructidor CCXIV

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

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

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

    23 August 2006

    Joey Hess: rpm: consequences of the software ecosystem

    LWN has an article up about how RPM is forked, with no single agreed-upon upstream and lots of distros going off and patching it on their own:
    Fedora currently ships version 4.4.2, and even the Fedora development repository has not gone beyond that. SUSE remains at 4.4.2, and the current RHEL offerings have rather older versions.
    (And Debian's at 4.4.1+a year of patches.) rpm is not the only peice of software that is a major component of many linux distributions but has no agreed-upon upstream maintainer, and thus effectively one fork per distro. Another such peice of software is cron. Vixie cron was last released in '93. In many distributions it's still used, but in eg, Debian, the package is the result of 13 years of patches on top of that release. The debian version number is 3.0pl1-96. That's ninty-six versions based on 3.0pl1. The Red Hat sub-version is in the fourtys. There's no standard version anymore, just this pile of patches, and other piles of patches in other distributions. If we're lucky, they at least share the same security fixes. Another example is makedev, which was had its last upstream release in '98 and is at patchlevel 82 in Debian. Or netcat, last released in '96, patchlevel 32 in Debian, and a fork/rewrite at netcat.sourceforge.net. Or xgalaga, whose upstream author has fallen off the net and last released it in '98. The Debian package, which I maintain, is at patchlevel 37, and seeme to be the only place a lot of people can find to send patches to. But I don't want to be its upstream maintainer. This is the kind of thing that makes me gibber in horror when people at Ubuntu talk about Debian and other distros being part of an "ecosystem of software". I don't want to be part of an ecosystem; I'd rather be part of something that works not something that muddles through via massive trial-and-error and redundancy. Biomass is another word for "shit". But I digress.. The most productive thing I've seen done to try to address this general problem is the Unmaintained Free Software wiki, which tries to track this software and find new maintainers. That has managed to match up some software with interested people (though it failed with xgalaga), but I think it actually works less well for big and important software that ends up forked and maintained separately by the major linux distributions. I, myself, am beginning to use the degree of divergence from upstream as an indicator of how well a distribution maintains a given peice of software, with more divergence == bad. A distro that's doing a good job will a) get their patches integrated upstream and b) should work with other distros to find a new developer if upstream goes missing or insane. This is the inverse of what people might naively consider a good metric of how much work a distro is doing, but I think it leads to better software in the long run.

    13 August 2006

    Andrew Pollock: [tech] More benchmarking

    When I did my Red Hat Certified Engineer training, the second time around (when I updated from Red Hat 7.1 to Enterprise Linux 3), the trainer mentioned this Ext3 vs Reiserfs benchmark that Gurulabs performed. Probably because it had such a memorable name, I've remembered it and referred people to it, and referred to it myself, a few times over the years since. So it seemed only fair to try out their benchmarking methods (i.e. use NetApp's postmark with a few different settings) on the uber-disk as well, while I had it idle. So I did. Firstly, I ran it locally on minotaur, the piddling little 866Mhz Pentium III, with 320Mb of RAM (but with 1.5Tb of disk attached directly via USB), and then I ran the exact same tests from teevee, the box destined to become my MythTV server (3.0Ghz Pentium 4, 1Gb of RAM), with the disks mounted with ATA over Ethernet. This was with a JFS filesystem on a single logical volume striped across four physical volumes. I ran the tests three times, just like the Gurulabs benchmark, first time around, it was with: The idea being that this will generate around 150Mb of data, which should all fit in the RAM (of either system) The second time around was with: The idea being that this, generating 1400Mb of data, will exceed the RAM on both systems (but not uniformally, obviously). The final run was a total thrash with: This one causes about 19Gb of data to be written, and absolutely hammers the living daylights out of the disks (or the network, and the disks, in the case of ATAoE). So, now for the results:
    Test case 1, with locally attached disks
    Time:
            22 seconds total
            21 seconds of transactions (2380 per second)
    Files:
            27170 created (1235 per second)
                    Creation alone: 2000 files (2000 per second)
                    Mixed with transactions: 25170 files (1198 per second)
            24986 read (1189 per second)
            24697 appended (1176 per second)
            27170 deleted (1235 per second)
                    Deletion alone: 2340 files (2340 per second)
                    Mixed with transactions: 24830 files (1182 per second)
    Data:
            149.53 megabytes read (6.80 megabytes per second)
            161.85 megabytes written (7.36 megabytes per second)
    
    Test case 1, with ATAoE attached disks
    Time:
            27 seconds total
            25 seconds of transactions (2000 per second)
    Files:
            27170 created (1006 per second)
                    Creation alone: 2000 files (2000 per second)
                    Mixed with transactions: 25170 files (1006 per second)
            24986 read (999 per second)
            24697 appended (987 per second)
            27170 deleted (1006 per second)
                    Deletion alone: 2340 files (2340 per second)
                    Mixed with transactions: 24830 files (993 per second)
    Data:
            149.53 megabytes read (5.54 megabytes per second)
            161.85 megabytes written (5.99 megabytes per second)
    
    Findings
    A degradation in performance, sure, but not a huge one. Graph of the results
    Test case 2, with locally attached disks
    Time:
            218 seconds total
            209 seconds of transactions (239 per second)
    Files:
            27144 created (124 per second)
                    Creation alone: 2000 files (400 per second)
                    Mixed with transactions: 25144 files (120 per second)
            24830 read (118 per second)
            25094 appended (120 per second)
            27144 deleted (124 per second)
                    Deletion alone: 2288 files (572 per second)
                    Mixed with transactions: 24856 files (118 per second)
    Data:
            1405.24 megabytes read (6.45 megabytes per second)
            1535.91 megabytes written (7.05 megabytes per second)
    
    Test case 2, with ATAoE attached disks
    Time:
            165 seconds total
            158 seconds of transactions (316 per second)
    Files:
            27144 created (164 per second)
                    Creation alone: 2000 files (1000 per second)
                    Mixed with transactions: 25144 files (159 per second)
            24830 read (157 per second)
            25094 appended (158 per second)
            27144 deleted (164 per second)
                    Deletion alone: 2288 files (457 per second)
                    Mixed with transactions: 24856 files (157 per second)
    Data:
            1405.24 megabytes read (8.52 megabytes per second)
            1535.91 megabytes written (9.31 megabytes per second)
    
    Findings
    Whoa, who'd have thought this? Better performance over the wire? I'm blaming the fact that minotaur is a bit of a weakling compared to teevee, and teevee had a better caching advantage with more RAM. Mind you, you'd expect to see the same for the first test as well, unless size is a factor. Inconclusive results I guess. Graph of the results
    Test case 3, with locally attached disks
    Time:
            7356 seconds total
            7310 seconds of transactions (27 per second)
    Files:
            104099 created (14 per second)
                    Creation alone: 4000 files (117 per second)
                    Mixed with transactions: 100099 files (13 per second)
            100246 read (13 per second)
            99560 appended (13 per second)
            104099 deleted (14 per second)
                    Deletion alone: 4198 files (349 per second)
                    Mixed with transactions: 99901 files (13 per second)
    Data:
            18995.06 megabytes read (2.58 megabytes per second)
            19738.85 megabytes written (2.68 megabytes per second)
    
    Test case 3, with ATAoE attached disks
    Time:
            12320 seconds total
            12111 seconds of transactions (16 per second)
    Files:
            104099 created (8 per second)
                    Creation alone: 4000 files (32 per second)
                    Mixed with transactions: 100099 files (8 per second)
            100246 read (8 per second)
            99560 appended (8 per second)
            104099 deleted (8 per second)
                    Deletion alone: 4198 files (49 per second)
                    Mixed with transactions: 99901 files (8 per second)
    Data:
            18995.06 megabytes read (1.54 megabytes per second)
            19738.85 megabytes written (1.60 megabytes per second)
    
    Findings
    So presumably the network latency made its presence felt with data volumes of this magnitude. Graph of the results

    12 August 2006

    Adam Rosi-Kessel: Cell Phone Interface Design Principles

    Are there any cell phone interface design principles? (Google’s answer is inconclusive.) I would think a multi-billion dollar industry would have developed some best practices at this point, but it seems like each new phone is designed by monkeys jumping on typewriters. Maybe eventually they’ll get it right, but I’d rather not wait until infinity. A persistent flaw that has always puzzled me across nearly all models is the “shut down sound” feature. If you are shutting off your cell phone, do you really need a distinctive musical reminder? Did the designers of this feature ever consider that, in many instances, the user is shutting off the cell phone because they are in a silent theatre or a business meeting? Who are these designers, anyway? Of course you can always turn the volume down first (or probably better — just silence the phone and keep it on), but that is not going to be the first inclination for most users. I was reminded of this flaw last night at a Counterpoint Concert that was being recorded for VPR radio broadcast. After the chorus director reminded people to turn off their cell phones for the recording, a symphony of shut down sounds followed shortly thereafter. Cell phone gripes aside, the concert was great — particularly the performance of They Called Her Moses. On a related note, see this petition regarding cell phone user interfaces and software. Joel on Software also has some nice observations on this topic.

    11 August 2006

    Jonathan McDowell: So, where did you two meet?

    I get asked this a lot about people. Most recently when visiting the Fat Cat with Simon and his work mates this week, but often about the other Simon (who's my business partner as well as a long time friend). The truth is a lot of the people I know I met first online, be it Fidonet (hello Pads, Peter, Simon and several others), Usenet (hello Ox.Net), mailing lists (hello ALUG) or IRC (hello, er, lots of people). I don't think I'm in any way unique here, but it can sometimes be awkward explaining this to people who preconceive internet friendships to be something seedy involving 40 year old fat man and 15 year old naive children. Or at least that's what they seem to be thinking when you say "Oh, we met online". Let's give some examples. I met Simon on Fidonet, back when we were both 17 or so. We were in a couple of echoes together and we did netmail a bit. When I came to England for university one of the echoes we were in had a meet up and so I decided to go. I ended up staying at Simon's (making his mother worry a bit; even back in 1997 people thought meeting online was freaky!) and that was the first time I met him. We've kept in good touch ever since and even gone into business together. Is this a lot odder than a chance meeting at a pub or through friends? I don't think so, but some people do. Or take when I moved to Norwich. I had some friends who could help me load up the van in Harpenden (where I was moving from), but didn't know anyone in Norwich to help unload. I'd already joined the ALUG list, so I thought I'd ask there if anyone was prepared to help in exchange for beer and food afterwards. Adam and Edward Betts both turned up to help, not knowing anything about me. And were very helpful and we got everything unloaded. I still see Adam reasonably often, both online and in person (last night, for example). I haven't really kept in touch with Edward since he left UEA though. :( There are many more examples like this of people who I see a reasonable amount in real life and yet if you asked me I'd have to admit I first knew online, sometimes for several years before actually physically meeting. And lots of people understand it these days, but please tell me I'm not alone in getting the funny looks sometimes. Please?

    2 August 2006

    Simon Law: Hacker bike ride


    Tall bike
    Originally uploaded by sfllaw.
    What do you do with a sunny, summery Sunday in Ottawa? Biking and barbequing, of course. It's traditional to hold the Hacker Bike Ride right after the Ottawa Linux Symposium. The local cycling enthusiasts are, by and large, also pretty geeky so many of them join in on this event. We gathered in the park across from the conference centre. People were milling about, so I had time to rent a bicycle, and soon we were off. This year, I chose to take the long route with everyone else. Richard, on his tall bike, led the way through the streets of Ottawa and on to the bike paths. We went over some very scenic hills, had two people fall off their bikes, and enjoyed ourselves immensely.

    OCLUG
    Originally uploaded by sfllaw.
    I spent a lot of time riding quite dangerously, with camera in hand. The most challenging pictures were those taken over the shoulder, as I had to do that blind. A couple of them seemed to turn out. In the process of photographing things, I managed to get my wheels stuck in a rut. It sounded like someone falling over, which caused a few people to look around, but I managed to stay in control. This surprised me, as I haven't ridden a bike in about a year. We finished one leg of our ride in Vincent Massey Park, where the local LUG was holding their annual picnic. I grabbed a hamburger, sat down on a blanket, and inhaled it. There's nothing like hot food after a good bike ride. After lunch, we did a bit of exploring. That's how we found a cicada hiding under a picnic table. Then [info]ostraya did nothing to prevent the penguin from viciously attacking me.

    Terri blows bubbles
    Originally uploaded by sfllaw.
    There were more silly antics, including penguins on heads and bubble-blowing. But then it was time to pack up and leave. We helped the organizers stow the picnic things away before riding off to Hogs Back Falls. I climbed around on the slick rocks while other people ate their ice cream. We crossed the bridge and then we rode alongside the canal on our way back. This allowed me to see the canoe innovation of brilliance. A canoe with a hitch up front and bicycle wheels mounted on back. I waved to these people and told them they were geniuses. I think they might have thought me a tad weird. By the time we reached the park, it was starting to get late. I returned my bike and said goodbye to people, which was good because I had postcards to send. There's nothing like sending postcards hours before you leave a city.

    21 July 2006

    John Goerzen: RedHat Gripes

    Lately we are looking at groupware options, and have been looking at Scalix and Zimbra. We may need the features in the proprietary versions of these products, unfortunately.

    So I downloaded an evaluation copy of Scalix.

    They say they support RedHat and SuSE. Fine, I think, I'll just alien the RPMs to debs and be happy.

    Not so fast. They have a whole proprietary install system. They check for /etc/redhat_release or /etc/SuSE_release (or something like that) and do different things depending on what is there. Ugh. Why can't these proprietary vendors just target LSB? The differences seem mostly related to init anyway.

    So I touch /etc/SuSE_release into existence, run the installer again. It complains that DISPLAY is not set. UGH. I log in with ssh forwarding, to root (sigh), and run it again.

    Now it complains that the SuSE_release file doesn't contain a valid release. I google a bit, but the file format doesn't seem to be documented anywhere. I extract it from an RPM somewhere, but no luck.

    So, I figure at this point, let's try an actual RPM distro. I'm running this in a Xen domain anyway, so it should be no big deal, right?

    I think CentOS will be a good choice. It's RHEL with the non-free stuff stripped out. And they support RHEL and don't need any non-free stuff. I google, and find instructions for installing via rpmstrap for Xen uses.

    Let me say, rpmstrap is not nearly the nice tool that cdebootstrap is. rpmstrap totally hosed the networking on the Xen host machine, requiring me to reboot to get it back to proper state. The resulting install wouldn't boot, either -- I later found out that, even though I listed explicit devices in /etc/fstab like usual, it requires labels on all my partitions to boot. Ugh. There are a host of other problems with the rpmstrap-installed chroot, and it's broken beyond my ability to repair due to problems with the rpm database.

    So then I downloaded the "Server" CD for CentOS, which is supposed to have just the stuff a person would need for a server, and leave off all the graphical tools, multimedia, etc. I fired up VMware and did an install. Then I booted Debian From Scratch in VMware and used tar and netcat to copy the installed image over to Xen.

    I got it booting fairly easily. But now I start to remember why I had this instinctive gag reflex last time I used RHEL.

    First off, the network configuration, by default, is tied to the MAC address of your ethernet card. So if you replace your Ethernet card, your network is broken by default.

    Then, there's the way the network is brought up. It uses arping as part of its procedure to bring up a NIC. If it sees a reply anywhere on the network with the IP you're trying to assign, it leaves the NIC half-up -- it's been ifconfig'd up, but without an IP. So that's right, if somebody happens to have a rogue device plugged in at the moment your server boots, your server will come up without a network configured. This is *Enterprise* Linux and it's pulling this sort of thing. Terrible design.

    Next, there's the way the network is *configured*. There are commands such as system-config-network-tui, -gui, -cmd, -druid, etc. I go for -tui. to start with. It's a dialog-like interface, and asks the basics like IP address, etc. It doesn't have any way to configure more than one Ethernet card that I can tell. And some of the settings -- like nameserver -- apparently require you to press F12 to visit. But the program doesn't recognize F12 as sent by an xterm, so it doesn't work.

    All the other options require X. So, I reluctantly ssh -X into it as root and run system-config-network-gui. It doesn't work -- complains it can't find DISPLAY. Strange, I think; DISPLAY is set properly to localhost:whatever. It turns out that /etc/hosts is empty by default, so the thing can't resolve localhost! Argh. I add a line to /etc/hosts and it fires up.

    This tool works decently. I save, uncheck the tie to a MAC address box, and exit. I then think it might be good to fire it up again and see what it did. I try running it again, and get the same error about DISPLAY. The stupid tool blew away /etc/hosts and replaced it with an empty file! This is NOT what I would expect from an Enterprise Linux. You don't blow away a config file the administrator touched without asking, EVER.

    Next, I figure, let's try installing the XFS tools so I can switch the root filesystem to xfs. I start with "yum update", which doesn't quite do what I expect. (It is more like apt-get update && apt-get -u dist-upgrade) So I hit Ctrl-C, but -- surprise -- IT DOESN'T WORK. I press it a few more times, and it seems to just make the downloader cycle through mirrors because of a "download error". So I hit Ctrl-Z and kill %1. I have my prompt, but it's STILL DOWNLOADING STUFF and spewing all over my console. Ugh.

    I finally use ps and kill -9 and eventually get it killed off. Stupid thing.

    I don't understand why anybody would want to use RedHat Enterprise Linux in an enterprise. It seems more suited to a hobbyist system at home. From reading some forums, it seems there are quite a few people out there using Debian for enterprise systems for similar reasons.

    So now, maybe I'll have the chance to actually try Scalix.

    (BTW, our intern got Zimbra installed on Debian just fine, so that's a plus for it.)

    5 July 2006

    Daniel Burrows: Paintings make the room pretty.

    <rant>
    In my last post, I linked to the Wikipedia article on "kitsch". I generally use this to describe art that's in egregiously bad taste -- plaster sculptures of women with exaggerated breasts holding beer bottles, animal-shaped clocks whose eyes wobble with the pendulum, etc. I want to make this clear, because the Kitsch entry in Wikipedia suffers from a case of advanced artistic pinheadism. In short, their definition of Kitsch reduces to

    It's pretty and people buy it.


    For instance, Thomas Kinkade (the self-styled "painter of light") is disposed of with the offhand comment that his pictures are

    scenes of stone cottages, lighthouses, cobble stone streets, rustic villages, and other vistas, with emphasis on the glittery ornamentation in the play of light and natural foliage. His work is meant to be sentimental, patriotic, quaint, spiritual, and inspirational.


    While I'm a bit put-off by Mr. Kinkade's aggressive marketing, the quote above could only be considered a serious insult by people who describe the origins of the scourge of kitsch as follows:

    Kitsch appealed to the crass tastes of the newly moneyed Munich bourgeoisie who, like most nouveau riche, thought they could achieve the status they envied in the traditional class of cultural elites by aping, however clumsily, the most apparent features of their cultural habits. ...

    ... in being too beautiful and democratic it made art look easy, non-involving and superficial. ...

    In some sense the goals of democratization succeeded, and the society was flooded with Academic art, the public lining up to see art exhibitions as they do to see movies today. Literacy in art became widespread, as did the practice of art making, and there was a blurring between high and low culture. ...

    The subjects and images presented in academic art, though original in their first expression, were disseminated to the public in the form of prints and postcards.


    In short, "wasn't art great back when the only folks who could have it were rich aristocrats, back before those grubby ungewisserei [0] got their grubby hands on it and grubbied it up?"

    I am reminded once more why I never took a single art course in college, and took only one English course (and that to fulfill a degree requirement). The worlds of "serious" art and literature seem to be about standing around in a circle telling all the other people in the circle how cultured and sophisticated you are, and how intellectually impoverished and shallow all the people outside the circle are.

    Why are you sophisticated? Because you said so, and you ought to know. And be forwarned: any attempt to invoke logic will be refuted with an assertion that our thought systems are inherently socially constructed and there is no absolute truth anyway, except that we are far more intellectual and sophisticated than you.

    This has gotten a bit long -- but in short, anyone who looks down on another human being because they would rather have this hanging on their wall than this has frankly given up any right to be offended by the term "self-important pinhead".


    [0] This may not be proper German, but as I am apparently an inferior man-child for not seeing instantly how awful kitsch is, how can I possibly be expected to get any language but my own right anyway?
    </rant>

    2 July 2006

    Junichi Uekawa: As a result of CodeFest, I now have a working MacBook installation.

    However, I have not managed to generate a generic method for installation of Debian into MacBook.It's mostly due to the fact that 'bless' not being implemented in Debian.For some reason I decided to use scim/anthy and notcanna/kinput on MacBook and that drained a bit of time.I'm a bit worried about the console display, I haven't quite gotten it right.Booting the kernel with video=imacfb:macbook gives a completely broken display.After X, things are functional.

    Joey Hess: some day

    Lots of interesting stuff today..

    Next.

    Previous.