Search Results: "sto"

22 March 2006

Clint Adams: amd64 is not being handled transparently enough

I used to be into quotations. There was a guy. He was very Jewish. He had bad skin. He was morally bankrupt. He was ugly. He smelled bad. As you might imagine, there was an entire gaggle of girls trying to get into his pants. They were a bunch of Christian fundamentalists, affectionately called the God Squad by some, malevolently called the God Squad by some. They wrote him the scariest love letters and poetry I have ever seen. Finally, he had to choose one, and I was relieved that he did not choose the one who had adapted Culture Club lyrics to express whatever foul sentiment she was trying to express. Instead, he chose a sweet girl who lived with a crazy, flat-chested, exhibitionist midget hooker who claimed to be allergic to marijuana and aspired to be an architect. Now the evil boy and the sweet girl with a tenuous grip on reality performed the proper rites of the barnyard dance and became officially socially-ensnared. She drafted a timetable by which they would traverse numerous stages of physical intimacy. She showed him this timetable. He deluded himself into thinking that this timetable was much more volatile than it was. Much later on, he dumped her for a girl that was much less Christian. In the meantime, though, their dry-humping was interminable. He very quickly earned himself the nickname "Sticky Shorts", which, come to think of it, was far better than most of his other nicknames. Then once, for a moment when her legs weren't spread, she mentioned to me that she had heard that I was into quotations. I acknowledged this and she became very excited. She was into quotations too. She felt the need to prove this to me. It was rather close to that time when I concluded that quoting was lame and that I would stop living vicariously through the words of others and idolizing ink and all that other stuff from that GNR song.

Steve Kemp: Caesar had an eye for clothes

Is it possible to uniquely identify an audio CD-ROM? I’ve “stolen” the disc ID code from the various CDDB clients I’ve seen, but I wonder how unique those values are. I’m looking at setting up a simple CDDB/FreeDB-esque server to store audio information which can be queried in a sane manner. The results will be XML data. Using XML data I can have individual details for each track. Ideal for soundtrack albums. Plus I can require clients to ignore attributes they don’t understand to allow for future growth. I could use the ID + sha1 hashes of the song lengths I guess …. or even a SHA1 hash of the track-data (but I’m worried that read-errors could cause problems with data summing, plus reading each track will be slowish). I see comments like this a lot:
Conceptually very similar to the ISBN number used for books, the ISRC (acronym for International Standard Recording Code) is a 12-character code defined to uniquely identify a music track song). Unfortunately, over the years very few authors have adopted this standard and currently less than one percent audio CDs use the ISRC. The UPC (Universal Product Code) is a 13-digit number that uses the UPC/EAN bar coding standard to uniquely identify the whole CD. The same ISRC considerations apply to the UPC code: very few audio CDs currently use the UPC.
In related news two tickets for Radiohead + Beck are mine :)

Martin F. Krafft: Myanmar or not?

It all started with about 15 kilogrammes of children's clothing... wait, let's try again: It all started last year on my trip to Laos, about 14 hours walk from Luang Phrabang (the tourist capital). We were guests to a community somewhere up in the hills north of the city, where the children either wore some threads (it couldn't be called clothes anymore) or nothing at all. I felt pity, especially because people from those areas freeze very easily, since it's always hot there. I decided to come back. So when my girlfriend's mother, who runs a second-hand clothing store for children offered I'd take some before she clears out last year's "collection", I gladly did, even though I didn't have any concrete plans yet -- plans, yes, but no concrete ones. So with the clothes in my flat, I felt obligated to do something and finally ended up booking my trip to South-East Asia. Well, Bangkok, from there it's all do-as-you-go. It turns out that by rare circumstances, my girlfriend will be accompanying me for two of the five weeks I have set aside. The rest I am alone. And I wanted to go to Myanmar [0], which is the last of the countries on the South-East Asian mainland I haven't yet visited. But just today, I called the German Department for Foreign Affairs and was informed that Myanmar is fighting with bomb attacks in the cities and avian flu outside -- aside from the internal frictions caused in large by the ruling militia. Anyway, I am less afraid of the flu than of bombs, which are a risk -- however low -- that I won't take because I don't have any influence or control. So I am reconsidering (and I would love to hear any advice you may have). There are, of course, plenty of alternatives: for instance, the circle Chiang Mai, Laos, Hanoi, Hue, Saigon, and back. The clothes will be welcome (and needed) mostly anywhere, and I have at least some experience with the other countries. I doubt I will actually go back to Luang Phrabang because the only sensible way to do so is by spending two days on the boat from Chiang Khong, or flying in to Vientiane. I don't want to do that boat ride again, and I don't have money to burn either (despite flights being rather cheap over there). Anyway, my intention is not to travel and be a tourist, but instead to teach computers. I've done this before and noticed the need, and it's really not hard to get a bunch of interested kids into an Internet cafe, which you "rent" for the day for $20. I don't speak any of the languages there, and few speak English, but it's surprising how little speech is needed (maybe that's Bhuddism?). Sounds like Hanoi or Saigon will be the best places for that. Phnom Penh (in Cambodia) also has me interested. My flight's on the 4th of April, and I shall not return until the 5th of May, although the return date is flexible. I am excited, but also feel somewhat weird. Last year, I took a full turn in my life but have since been disabled. Now that I am regaining control over my body, but at the same time wondering whether a Ph.D. is what I want (I could just do Debian without the academic appendix, and probably earn money more effectively), I am burning to actually dive into the matter to be able to finally answer that question. The trip to South-East Asia just pushes this further out into the future. Some of you may wonder why I am even daring to bother with such petty concerns -- after all, they aren't really existential, more like luxury (compared to some previous troubles in my life). Well, I don't have an answer. I feel weird about it all, and it's been weird to be disabled for the better part of that last half a year, just after quitting my previous job. At least I am maintaining my optimism.
[0]Moray Allen (of the Debian project) was actually the first to give me a good reason (in Brussels) to call Myanmar Burma instead/again -- it seemed backwards before. But apparently, Myanmar was the name chosen by the militia in control, which is undoubtedly not to be supported. Burma has the negative taste of Britain to it -- negative only in the light of the tourist boycott Tony Blair called out last year. I will stick with Myanmar as do most other sources.

21 March 2006

MJ Ray: Go Charles Go

Mutual respect between faiths needs to be restored so as to overcome the distrust that poisons so many people's lives, Charles said. "This, of course, is made infinitely more difficult by the stereotypes and absurdities propagated by certain sections of the media," he said. -- Reuters
Please, remember social issues when you cast your DPL vote and Rank NOTA High rather than approve candidates you're unhappy with. In reply to Riku Voipio's criticism of the UDHR, with apologies to Ross Burton for the title.

Ross Burton: Go Rowan Go

Vicky and myself have said this before, but I'll say it again. For the top man in the Church of England, the current Archbishop of Canterbury Rowan Williams is surprisingly moderate, progressive and possibly even cool (via The Guardian):
The Archbishop of Canterbury, Rowan Williams, has stepped into the controversy between religious fundamentalists and scientists by saying that he does not believe that creationism - the Bible-based account of the origins of the world - should be taught in schools. … Dr Williams spoke of his determination to hold the third-largest Christian denomination together in its row over the place of gay clergy. He was also highly critical of parts of the church in Africa and said he did not wish to be seen as "comic vicar to the nation", speaking out on issues where he can make no difference.

John Goerzen: It's finally here

You're probably wondering what "it" is. Maybe you have a few guesses: Spring? Nope. The next version of Debian? Guess again. Winter? Getting closer. Yes, it really is here. That season known as the Kansas springtime winter storm blizzard/monsoon season. Today is the first day of spring. Most of Kansas is seeing its worst winter storm of the season today. Parts of the state are expecting 14" of snow. Here we just had sleet and steady rain for 2 days. I'm sure that in a few days, it'll be dry again. But every so often, once or twice a year, we get one of those days where we have 6" of rain (or more) in about 12 hours. Then we sit dry for several months. Kansas weather happens only in extremes, it seems.

20 March 2006

Matthew Palmer: The Curse of the Podcast

Over the past week or so, I've decided to get around to listening to some of the "amateur" (in the same way that Open Source software is "amateur") podcasts that I've collected in the past couple of months (primarily so I can either archive them, or delete them and free up a bit of HDD space). As a great fan of radio, I've been pretty disappointed at the quality of the podcasts I've listened to. While I hadn't expected the BBC world service, there are a number of quite common mistakes I've noticed across several of the podcasts I've listened to. In the spirit of kaizen, I've noted down the really bad things that I've noticed, in the hope that someone who does a podcast, or is considering doing a podcast, might keep these simple mistakes in the back of their mind and avoid them. No podcast I've listened to so far has exhibited all of these symptoms (there's no way I would have gotten to the end of that hypothetical nightmare audio file) but most have exhibited at least one of these flaws. For a better general idea of how a good podcast might sound, listen to professional radio for a bit -- a lot of good shows are podcast themselves these days -- and get an idea of what a good show looks like. I'm also prepared to go further than just bitching about podcasts. If you do a podcast, and would like my (unprofessional but oh-so-opinionated) assessment of your podcast, please e-mail me at mpalmer@hezmatt.org with a link to your podcast, and I'll try to give it a listen and honest critique.

Lars Wirzenius: Travel report: PyGTK tutorial

I gave a talk to the Finnish Unix User's Group about PyGTK programming (see also examples). It seemed to go fairly well, although one hour is certainly not enough to do more than scratch the surface a teeny bit. This happened at FUUG's annual cruise, which this time went to Tallinn, Estonia. The service on the ship was not the bestest ever, but otherwise it was pretty nice. I had a cabin on my own, which was much nicer than the usual style of putting four people into a sardine jar. One of the things that came up was the fact that while there is fairly much interest in arranging a big happening in Finland next fall in honor of Linux's 15th birthday, there seems to be a severe lack a head organizer. This is sad.

19 March 2006

Wouter Verhelst: Ultra 10

Uwe is having issues with booting Debian GNU/Linux on a Sun Ultra10. Uwe, if your box has a Creator3D card, it might be that the Linux framebuffer is, by default, sending its output there. If you have no monitor, it stops when the screen turns black. There's a kernel boot option to switch the default framebuffer from the Creator3D to the ATI something-64 (can't remember the name; the atyfb framebuffer is what drives it), so that you'll see something again; apart from that, it should work. Interestingly, the 2.4 kernel works differently; if you boot with linux-2.4 instead of linux, you'll get a working installation.

Erich Schubert: Explaining Debian

Josh, Martin F. Krafft and Wouter talked about how to explain Debian with a few sentences. You mustn't feel awkward about explaining that, instead you should be prepared. If it helps you, think you are selling a product, not showing how "nerdy" you are. You are doing great stuff, you can earn your living with it quite well and you like it. That is perfect, so be proud about it. You need to have what is called an "elevator pitch". That is a short preso you could give while going up a few floors with an elevator on your way to a meeting, back, at a conference, at a party... That format seems most appropriate to me, and there are good guides on how to do elevator speeches. Rehearsing makes sense, too. You'll however likely want some variants, depending on the audience. My first stab at writing such a speech:
Debian is a Linux-based operating system [software for computers] made by volunteers, of which I am one. It is in fact one of the most widely used operating systems worldwide, and usually picked because of its reliability and security, while being entirely customizable to fit your needs. And it's development community really makes the difference, there are so many bright people there, doing amazing new software.
(notice: I extend the development community to floss, beyond just the official DDs, because thats the way it is. There is nothing wroing with bragging about e.g. what the Gnome people do, because you can use it with Debian, too.) and optionally, depending on the audience:
There are also variants suiteable for novice users, such as schools. You can run it on laptops and desktop computer as well as on mainframes or embedded devices. You can do everything with it.
or:
The city of munich is just switching to it for their computers. This saves the city a lot of money, while becoming independant from Microsoft.
or:
Our computer science department has almost only Linux on its computers. And many other universities do the same. Can you think how cool it is to have millions around the world use your software?
and of course:
That is so cool, I can do stuff I really like to do, meet really cool and bright people and earn my living doing so. That's heaven on earth.
[Update: someone might consider the use of "guys" to be sexistic. Well, of course there are very cool grrrls there, too. I've replaced it with "people" now, so I don't neet to explain grrrls next. ;-)]

Uwe Hermann: Help: How do I boot Debian on a Sun Sparc Ultra 10?

Dear Lazyweb, I was trying to boot Debian on a Sun Sparc Ultra 10 box yesterday, without success. I got myself this Sparc box from eBay many months ago, but until yesterday it was merely standing around here and taking up valuable space (just like the other dozen or so computers standing around in my room). So I thought I should really make some use of it, finally... I booted it up and noticed that it came with SunOS 5.8 pre-installed. It boots quite fine into the graphical login prompt, but I don't have the root password (or the password for any other account). So my first task was to reset the root password. But I failed so far. Out of curiosity I connected the machine to my laptop and ran nmap on it. It has several ports open (e.g. ntp, ssh, X11, nfs, ...), so I could probably try to find a remote root exploit (or run an ssh brute-force attack) and crack it open that way ;) While I might try that later just for the fun of it, I wanted to simply boot a Debian first and change the root password manually. That sounded simpler at first... Anyways, here's what I tried so far: Boot into single-user mode As I had no experience whatsoever with Sparcs, it took me some time to read up all the stuff I needed... After a bit of googling, I found out that I need to press STOP+A to get into the boot prompt (the box has OpenBoot 3.19). There, I can type boot -s to boot into single user mode. Unfortunately, you still need the root password to boot into single-user mode. Argh! Boot from CD-ROM Next, I found out how to boot from CD-ROM. Typing boot cdrom in the boot prompt should do the trick. So I downloaded and burned a the current Debian "businesscard" image for Sparc:

wget http://cdimage.debian.org/debian-cd/3.1_r1/sparc/iso-cd/debian-31r1a-sparc-businesscard.iso
cdrecord -eject -v speed=2 dev=/dev/hdc -data -pad debian-31r1a-sparc-businesscard.iso
Booting seems to work partially. SILO seems to start fine, and I get to the "boot:" prompt. When I press Enter I get to the point where it says "Loading Linux..." but then the screen turns black and nothing happens anymore (hangup). The same happens when I type "linux" or "rescue" on the "boot:" prompt. The monitor works fine, SunOS 5.8 can display graphics etc., so it's probably not a hardware problem. Netboot After that, I tried to perform a network boot. This was fun and I learned a lot about RARP and TFTP, as I have never played with this stuff before. While the netboot part itself worked, it didn't solve my real problem, unfortunately... First, I installed rarpd and tftpd on my laptop:

apt-get install rarpd tftpd
In /etc/ethers I added a line which tells rarpd which MAC address should be assigned to which IP address. I looked up the MAC address of the Sparc box (it's displayed when you boot) and then added "xx:xx:xx:xx:xx:xx 192.168.0.20" to /etc/ethers. I configured my laptop to have the IP address 192.168.0.19: ifconfig eth0 192.168.0.19 broadcast 192.168.0.255 netmask 255.255.255.0. Of course, I plugged an ethernet cable in the Sparc box and in my laptop so they can talk to each other. Then, I created /etc/xinetd.d/foobar which contained:

service tftp

disable = no
socket_type = dgram
protocol = udp
user = nobody
wait = no
server = /usr/sbin/in.tftpd
# server_args = /tftp

This should tell tftpd to serve the Debian netinst boot image from /tftp, but that didn't work for me. So I commented out the "server_args = /tftp" and let tftpd fall back to the default location /tftpboot. You need to reload xinetd after any change: /etc/init.d/xinetd reload. Also, tftpd is compiled with TCP wrapper support, so you have to temporarily allow the respective connections, e.g. by adding "ALL: 192.168.0.20" to /etc/hosts.allow. Don't forget to remove that line again later on! Now I downloaded the Debian netinst boot image for Sparc (hopefully the correct one):

wget http://http.us.debian.org/debian/dists/stable/main/installer-sparc/current/images/sparc64/netboot/boot.img
mkdir /tftpboot
mv boot.img /tftpboot/XXXXXXX
You need to place that image into /tftpboot using the name under which the Sparc box requests it. I found that name by net-booting the Sparc machine and watching the network traffic with Ethereal on my laptop... The final steps: boot the Sparc box, type STOP+A, type boot net. The Sparc machine gets the boot image from my laptop just fine (it seems), and I get to the "Loading Linux..." part again. But then I have the same problem as with the CD-ROM boot: the screen turns black, nothing happens anymore... Help?

Wouter Verhelst: Kerberos

I had nothing important to do this weekend, so I played a bit with kerberos. Pretty fun, that, and the Debian packages make it all so easy. First, when setting up Kerberos, you should note that there are two competing implementations: one is heimdal, the other is the MIT reference implementation. The former has some additional features (like storing principals in LDAP rather than plain files), but I found that krb5 was useful enough to me, so I didn't investigate further. Also, storing principals in LDAP isn't as useful as it sounds—kerberos is designed to make password replication unnecessary, so you want to store it on a machine with little or (preferably) no other jobs to do. You certainly do not want to store it in a server which will put it out to the world for all to see. Anyway. It's pretty well documented in info krb5-install (in the krb5-doc package); and the Debian packages let you do most of the setup through maintainer scripts and debconf questions, except for creating a new realm, which you do through a provided script. ... and this means that setting up kerberos on Debian is peanuts. Really. You need (at least) one KDC, which you do by installing the krb5-kdc package. For exactly one KDC (which will be your master KDC) you also need the admin daemon; you can get that one by installing krb5-admin-server. Then on the hosts in your network, you want to install krb5-utils, and libpam-krb5.so for authentication. After configuring them (as explained in the krb5-install document), you have a live kerberos system. It takes you about five minutes to do the initial setup (once you understand how the system works), and about 10 seconds to add a host to the system. Of course, doing kerberos setup is useless if all you want is to be able to log on to one system. But if you have more systems, you might want to use, e.g., the Kerberos support that is in OpenSSH, which you can do by adding the following two lines to both /etc/ssh/sshd_config and /etc/ssh/ssh_config (though obviously not on the same hosts:
KerberosAuthentication yes
GSSAPIAuthentication yes
... and with that, you'll have a kerberized setup. Fun.

Daniel Burrows: Memcheck good; Fry's not so good

So, after finding a CD that had memcheck on it, I ran a memory test on the new system I had assembled but couldn't get working. Unsurprisingly, it produced a bunch of errors, especially in test 8. I tested the memory modules one at a time, and confirmed that one of them reliably failed test 8 with, while the other survived multiple passes of memcheck's whole arsenal of tests without skipping a beat.

OK, no biggie; I got a bad RAM chip, I'll return it. So we take it back to Fry's, I explain that I ran a memory checker on one of the chips and it came up bad (I even helpfully gave them a note indicating which of the two seemed to be the problem), and asked to exchange it for a new chip. The customer service guy vanishes, then comes back a while later with a different chip in a box. As we're preparing to leave, Kate notices that the "new" box is opened. "Why's that?" she asks. "Oh, testing," the customer service guy says.

Testing. That's good, right? So we shop a little, take the chips back, and I plug them in. I figure, hey, never hurts to be too careful, and boot up memcheck. BAM! Within half a second the screen turns red with errors. In comparison, with the first set of chips I had to run the tester for up to fifteen minutes before I got a test failure. Trying the chips individually, I discover that 300MB on one is just (as far as I could tell) gone. It fails every single test. The other one survives the first few checks, but fails test 8 just like the other bad chip I had. [UPDATE: it's actually not that bad; it does seem to have problems, but it doesn't fail on every single run of test 8, and it was able to run the Kororaa live CD]

Now, as I see it, we have the following possibilities:

(a) My luck sucks and I just got three bad chips in a row.

Possible, but I've bought at least a half dozen memory chips in the past (not counting ones that came in preassembled systems) and I'm pretty sure this is the first, maybe second time I've seen a bad one. Three in a row? That's ridiculous.

(b) I screwed up and blew out the chips while installing them.

Unlikely for the same reason as (a). I may be shaky on some hardware stuff, but I know how to install DIMM chips. Killing one might be in the realm of possibility; killing three out of four? Don't think so.

(c) The chips aren't compatible with my motherboard.

The chips are listed as being DDR400, which ought to be perfectly compatible with the motherboard. They are installed in the proper configuration (according to the motherboard's manual); besides, one memory chip worked just fine.


Assume that (b) and (c) are indeed false: the chips are really bad and I didn't destroy them. This, combined with the fact that Fry's "testing" didn't catch the blatantly obvious problems with one of the new chips, make me wonder if

(d) Fry's decided to save costs by handing me a pair (maybe even two pairs) of chips that another customer had returned, on the theory that returns are on average spurious.

The main problem with this theory is that I don't see why they wouldn't have resealed the package; maybe they just suck at testing memory or didn't bother to. On the other hand, I have seen a number of complaints online about Fry's and other big retailers engaging in this practice. (e.g., Google for "Fry's restock")

Either way, whether it's deceptive practices or just plain incompetence, I'm afraid this hasn't left a particularly good taste in my mouth about Fry's, and I'll probably just try to get a refund and buy the memory elsewhere. The only downside is that "elsewhere" more or less means "online", which means no instant gratification. However, since "instant gratification" in this case has been more like "instant non-gratification", I'm willing to live with that.

Jordi Mallach: London

I'm miraculously on my way back from London, after spending a week with daf, mvo and two guests, abel and thep, from Hong Kong and Thailand, working on improving some l10n aspects of the upcoming Ubuntu release, dapper. The most visible result of the stuff that we've been doing is that if all goes well, users of the Chinese, Japanese, Thai, Bengali, Lao or Korean languages will get their required input methods, fonts and dictionaries Just Working as soon as their drives spit their dapper install CDs. We've learned quite a bit about the state of many of the Asian languages in the Free Software world today. Daf and I can certainly tell when an app renders Bengali or Thai correctly and when it doesn't, after closely comparing how different browsers do the job on various websites and font test pages. We've learned more than we probably like about fontconfig, and thanks to mvo, there is now a mechanism to get custom fonts.conf snippets depending on the default language of the system set by language-selector, so users get the right fonts installed and used by default. Thep's and Abel's help to get this straight is invaluable. On Friday, daf and I went to the ExCel Novotel where the Launchpad team is having a sprint, in order to lend a hand with the dapper translation import that is going on right now, but for a series of reasons we ended up working on l10n sprint stuff. At least I got to see the team again, and specially kiko, who greeted me with a "Qu pasa, hijo de puta!" The real life side of this sprint has been less exciting than on other occasions, as due to being few in number and being quite tired, we haven't gone out of Earl's Court area until today. Still, our exploring around the hotel has yield some nice discoveries. On Sunday, mvo and I were looking for a place to have dinner, and stumbled uppon the Troubadour a place which can either be a pub, a restaurant, a social club or a theatre, depending on your mood. The food was excellent, and the staff was really friendly. I found a Dictionary of Slang in one of the book shelves, and learned a few funny phrases. Other days we've been to good Italian, Indian or Chinese restaurants, but we couldn't resist to go back to Trobadour again. On our last night, Mark took us to a place in the South Kesington area, with again was very good. Abel left just after dinner as his flight was at 5AM from Stansted, and we hope he made it OK to the Netherlands, as at 00:30 or so he phoned us and seemed to be pretty lost somewhere. mvo left early in the morning, so daf, thep and I went to visit some bits of the city. My plane was at 16:45GMT, and we calculated that I should be leaving the K&K at 15:00 to be well on track for my flight. We went to Monument to see the tower, went up and enjoyed both the great views over London and the Thames river, as well as the really cold wind which made me swear once again about the %*@!# lack of Spring in the UK. It was getting quite late for me, so we went to China Town for lunch. Despite the restaurant people being really quick, I only managed to leave the place at 14:50, but given my travel plan was pretty conservative, I was supposed to be safe still. Daf left me at the tube station entrance, and there I started my way too stressful journey back to Val ncia. If on our way to London Carlos and were quite close to find our flight closed, this time, I think I hit the limits. I really don't know how daf and I arrived to the conclusion that leaving Earl's Court at 15:20 was acceptable to get in Heathrow on time. I ran up and down the tube stations, grabbed by luggage, and rushed back to the station, but I had just missed a train to Heathrow and that made me lose some precious 10 minutes. As stations passed by, it became clearer that we had fucked up somewhere when deciding at what time I needed to leave. At 15:35 I was still in the Hammersmith station, with half of the Picadilly line ahead before arriving to the aiport. I sent a message to daf, so he started to get prepared about me staying to sleep somewhere in London. As soon as the train's doors opened, a number of people rushed out. Someone ahead of me fell when climbing the automatic staircase and I somehow managed to jump over him, with luggage and all. After a run that seemed like half an hour, I arrived at the Iberia desk and, panting, I could only articulate "Tarde para Val ncia?". The guy at the counter looked at me, and with a "this can't be true" expression in his face, he picked up a phone and asked "Is it already closed? [...] Can you open it for one more piece of luggage? Thanks." In the meanwhile, I had been busy removing a 500 ml yoghourt from my bag, fearing having all my clothes smelling like strawberry back in Val ncia. The guy handed me a boarding pass, and gave me instructions about the "Iberia Room" near my gate. I asked him what that was about, and he says "oh, of course, you're in Business Class". For a second, I was reminded of stargirl's tricks to get free upgrades when flying, and immediately I was reminded that I was still in a hurry, and I should rush to my gate. And so I did, forgetting to thank the guy for being so kind. I left my yoghourt there though, so at least he could get some food if he was hungry. The long line before the security check was exasperating, and when I finally went past it, I had to run all over terminal two to my gate, where everyone appeared to be waiting just for me. The doors closed as soon as I entered the aircraft, and I sat in the first row, got a free newspaper and a free meal. I couldn't believe my luck. As I write this, we've gone over the Pyrenees, which are not as snowy as a month ago, but they still look beautiful from up here. I'm glad to be back in Val ncia.

Clint Adams: This report is flawed, but it sure is fun

91D63469DFdnusinow1243
63DEB0EC31eloy
55A965818Fvela1243
4658510B5Amyon2143
399B7C328Dluk31-2
391880283Canibal2134
370FE53DD9opal4213
322B0920C0lool1342
29788A3F4Cjoeyh
270F932C9Cdoko
258768B1D2sjoerd
23F1BCDB73aurel3213-2
19E02FEF11jordens1243
18AB963370schizo1243
186E74A7D1jdassen(Ks)1243
1868FD549Ftbm3142
186783ED5Efpeters1--2
1791B0D3B7edd-213
16E07F1CF9rousseau321-
16248AEB73rene1243
158E635A5Erafl
14C0143D2Dbubulle4123
13D87C6781krooger(P)4213
13A436AD25jfs(P)
133D08B612msp
131E880A84fjp4213
130F7A8D01nobse
12F1968D1Bdecklin1234
12E7075A54mhatta
12D75F8533joss1342
12BF24424Csrivasta1342
12B8C1FA69sto
127F961564kobold
122A30D729pere4213
1216D970C6eric12--
115E0577F2mpitt
11307D56EDnoel3241
112BE16D01moray1342
10BC7D020Aformorer-1--
10A7D91602apollock4213
10A51A4FDDgcs
10917A225Ejordi
104B729625pvaneynd3123
10497A176Dloic
962F1A57Fpa3aba
954FD2A58glandium1342
94A5D72FErafael
913FEFC40fenio-1--
90AFC7476rra1243
890267086duck31-2
886A118E6ch321-
8801EA932joey1243
87F4E0E11waldi-123
8514B3E7Cflorian21--
841954920fs12--
82A385C57mckinstry21-3
825BFB848rleigh1243
7BC70A6FFpape1---
7B70E403Bari1243
78E2D213Ajochen(Ks)
785FEC17Fkilian
784FB46D6lwall1342
7800969EFsmimram-1--
779CC6586haas
75BFA90ECkohda
752B7487Esesse2341
729499F61sho1342
71E161AFBbarbier12--
6FC05DA69wildfire(P)
6EEB6B4C2avdyk-12-
6EDF008C5blade1243
6E25F2102mejo1342
6D1C41882adeodato(Ks)3142
6D0B433DFross12-3
6B0EBC777piman1233
69D309C3Brobert4213
6882A6C4Bkov
66BBA3C84zugschlus4213
65662C734mvo
6554FB4C6petere-1-2
637155778stratus
62D9ACC8Elars1243
62809E61Ajosem
62252FA1Afrank2143
61CF2D62Amicah
610FA4CD1cjwatson2143
5EE6DC66Ajaldhar2143
5EA59038Esgran4123
5E1EE3FB1md4312
5E0B8B2DEjaybonci
5C9A5B54Esesse(Ps,Gs) 2341
5C4CF8EC3twerner
5C2FEE5CDacid213-
5C09FD35Atille
5C03C56DFrfrancoise---1
5B7CDA2DCxam213-
5A20EBC50cavok4214
5808D0FD0don1342
5797EBFABenrico1243
55230514Asjackman
549A5F855otavio-123
53DC29B41pdm
529982E5Avorlon1243
52763483Bmkoch213-
521DB31C5smr2143
51BF8DE0Fstigge312-
512CADFA5csmall3214
50A0AC927lamont
4F2CF01A8bdale
4F095E5E4mnencia
4E9F2C747frankie
4E9ABFCD2devin2143
4E81E55C1dancer2143
4E38E7ACFhmh(Gs)1243
4E298966Djrv(P)
4DF5CE2B4huggie12-3
4DD982A75speedblue
4C671257Ddamog-1-2
4C4A3823Ekmr4213
4C0B10A5Bdexter
4C02440B8js1342
4BE9F70EAtb1342
4B7D2F063varenet-213
4A3F9E30Eschultmc1243
4A3D7B9BClawrencc2143
4A1EE761Cmadcoder21--
49DE1EEB1he3142
49D928C9Bguillem1---
49B726B71racke
490788E11jsogo2143
4864826C3gotom4321
47244970Bkroeckx2143
45B48FFAEmarga2143
454E672DEisaac1243
44B3A135Cerich1243
44597A593agmartin4213
43FCC2A90amaya1243
43F3E6426agx-1-2
43EF23CD6sanvila1342
432C9C8BDwerner(K)
4204DDF1Baquette
400D8CD16tolimar12--
3FEC23FB2bap34-1
3F972BE03tmancill4213
3F801A743nduboc1---
3EBEDB32Bchrsmrtn4123
3EA291785taggart2314
3E4D47EC1tv(P)
3E19F188Etroyh1244
3DF6807BEsrk4213
3D2A913A1psg(P)
3D097A261chrisb
3C6CEA0C9adconrad1243
3C20DF273ondrej
3B5444815ballombe1342
3B1DF9A57cate2143
3AFA44BDDweasel(Ps,Gs) 1342
3AA6541EEbrlink1442
3A824B93Fasac3144
3A71C1E00turbo
3A2D7D292seb128
39ED101BFmbanck3132
3969457F0joostvb2143
389BF7E2Bkobras1--2
386946D69mooch12-3
374886B63nathans
36F222F1Fedelhard
36D67F790foka
360B6B958geiger
3607559E6mako
35C33C1B8dirson
35921B5D8ajmitch
34C1A5BE5sjq
3431B38BApxt312-
33E7B4B73lmamane2143
327572C47ucko1342
320021490schepler1342
31DEB8EAEgoedson
31BF2305Akrala(Gs)3142
319A42D19dannf21-4
3174FEE35wookey3124
3124B26F3mfurr21-3
30A327652tschmidt312-
3090DD8D5ingo3123
30813569Fjeroen1141
30644FAB7bas1332
30123F2F2gareuselesinge1243
300530C24bam1234
2FD6645ABrmurray-1-2
2F95C2F6Dchrism(P)
2F9138496graham(Gs)3142
2F5D65169jblache1332
2F28CD102absurd
2F2597E04samu
2F0B27113patrick
2EFA6B9D5hamish(P)3142
2EE0A35C7risko4213
2E91CD250daigo
2D688E0A7qjb-21-
2D4BE1450prudhomm
2D2A6B810joussen
2CFD42F26dilinger
2CEE44978dburrows1243
2CD4C0D9Dskx4213
2BFB880A3zeevon
2BD8B050Droland3214
2B74952A9alee
2B4D6DE13paul
2B345BDD3neilm1243
2B28C5995bod4213
2B0FA4F49schoepf
2B0DDAF42awoodland
2A8061F32osamu4213
2A21AD4F9tviehmann1342
299E81DA0kaplan
2964199E2fabbe3142
28DBFEC2Fpelle
28B8D7663ametzler1342
28B143975martignlo
288C7C1F793sam2134
283E5110Fovek
2817A996Atfheen
2807CAC25abi4123
2798DD95Cpiefel
278D621B4uwe-1--
26FF0ABF2rcw2143
26E8169D2hertzog3124
26C0084FCchrisvdb
26B79D401filippo-1--
267756F5Dfrn2341
25E2EB5B4nveber123-
25C6153ADbroonie1243
25B713DF0djpig1243
250ECFB98ccontavalli(Gs)
250064181paulvt
24F71955Adajobe21-3
24E2ECA5Ajmm4213
2496A1827srittau
23E8DCCC0maxx1342
23D97C149mstone(P)2143
22DB65596dz321-
229F19BD1meskes
21F41B907marillat1---
21EB2DE66boll
21557BC10kraai1342
2144843F5lolando1243
210656584voc
20D7CA701steinm
205410E97horms
1FC992520tpo-14-
1FB0DFE9Bgildor
1FAEEB4A9neil1342
1F7E8BC63cedric21--
1F2C423BCzack1332
1F0199162kreckel4214
1ECA94FA8ishikawa2143
1EAAC62DFcyb---1
1EA2D2C41malattia-312
1E77AC835bcwhite(P)
1E66C9BB0tach
1E145F334mquinson2143
1E0BA04C1treinen321-
1DFE80FB2tali
1DE054F69azekulic(P)
1DC814B09jfs
1CB467E27kalfa
1C9132DDByoush-21-
1C87FFC2Fstevenk-1--
1C2CE8099knok321-
1BED37FD2henning(Ks)1342
1BA0A7EB5treacy(P)
1B7D86E0Fcmb4213
1B62849B3smarenka2143
1B3C281F4alain2143
1B25A5CF1omote
1ABA0E8B2sasa
1AB474598baruch2143
1AB2A91F5troup1--2
1A827CEDEafayolle(Gs)
1A6C805B9zorglub2134
1A674A359maehara
1A57D8BF7drew2143
1A269D927sharky
1A1696D2Blfousse1232
19BF42B07zinoviev--12
19057B5D3vanicat2143
18E950E00mechanix
18BB527AFgwolf1132
18A1D9A1Fjgoerzen
18807529Bultrotter2134
1872EB4E5rcardenes
185EE3E0Eangdraug12-3
1835EB2FFbossekr
180C83E8Eigloo1243
17B8357E5andreas212-
17B80220Dsjr(Gs)1342
17796A60Bsfllaw1342
175CB1AD2toni1---
1746C51F4klindsay
172D03CB1kmuto4231
171473F66ttroxell13-4
16E76D81Dseanius1243
16C63746Dhector
16C5F196Bmalex4213
16A9F3C38rkrishnan
168021CE4ron---1
166F24521pyro-123
1631B4819anfra
162EEAD8Bfalk1342
161326D40jamessan13-4
1609CD2C0berin--1-
15D8CDA7Bguus1243
15D8C12EArganesan
15D64F870zobel
159EF5DBCbs
157F045DCcamm
1564EE4B6hazelsct
15623FC45moronito4213
1551BE447torsten
154AD21B5warmenhoven
153BBA490sjg
1532005DAseamus
150973B91pjb2143
14F83C751kmccarty12-3
14DB97694khkim
14CD6E3D2wjl4213
14A8854E6weinholt1243
14950EAA6ajkessel
14298C761robertc(Ks)
142955682kamop
13FD29468bengen-213
13FD25C84roktas3142
13B047084madhack
139CCF0C7tagoh3142
139A8CCE2eugen31-2
138015E7Ethb1234
136B861C1bab2143
133FC40A4mennucc13214
12C0FCD1Awdg4312
12B05B73Arjs
1258D8781grisu31-2
1206C5AFDchewie-1-1
1200D1596joy2143
11C74E0B7alfs
119D03486francois4123
118EA3457rvr
1176015EDevo
116BD77C6alfie
112AA1DB8jh
1128287E8daf
109FC015Cgodisch
106468DEBfog--12
105792F34rla-21-
1028AF63Cforcer3142
1004DA6B4bg66
0.zufus-1--
0.zoso-123
0.ykomatsu-123
0.xtifr1243
0.xavier-312
0.wouter2143
0.will-132
0.warp1342
0.voss1342
0.vlm2314
0.vleeuwen4312
0.vince2134
0.ukai4123
0.tytso-12-
0.tjrc14213
0.tats-1-2
0.tao1--2
0.stone2134
0.stevegr1243
0.smig-1-2
0.siggi1-44
0.shaul4213
0.sharpone1243
0.sfrost1342
0.seb-21-
0.salve4213
0.ruoso1243
0.rover--12
0.rmayr-213
0.riku4123
0.rdonald12-3
0.radu-1--
0.pzn112-
0.pronovic1243
0.profeta321-
0.portnoy12-3
0.porridge1342
0.pmhahn4123
0.pmachard1--2
0.pkern3124
0.pik1--2
0.phil4213
0.pfrauenf4213
0.pfaffben2143
0.p21243
0.ossk1243
0.oohara1234
0.ohura-213
0.nwp1342
0.noshiro4312
0.noodles2134
0.nomeata2143
0.noahm3124
0.nils3132
0.nico-213
0.ms3124
0.mpalmer2143
0.moth3241
0.mlang2134
0.mjr1342
0.mjg591342
0.merker2--1
0.mbuck2143
0.mbrubeck1243
0.madduck4123
0.mace-1-2
0.luther1243
0.luigi4213
0.lss-112
0.lightsey1--2
0.ley-1-2
0.ldrolez--1-
0.lange4124
0.kirk1342
0.killer1243
0.kelbert-214
0.juanma2134
0.jtarrio1342
0.jonas4312
0.joerg1342
0.jmintha-21-
0.jimmy1243
0.jerome21--
0.jaqque1342
0.jaq4123
0.jamuraa4123
0.iwj1243
0.ivan2341
0.hsteoh3142
0.hilliard4123
0.helen1243
0.hecker3142
0.hartmans1342
0.guterm312-
0.gniibe4213
0.glaweh4213
0.gemorin4213
0.gaudenz3142
0.fw2134
0.fmw12-3
0.evan1--2
0.ender4213
0.elonen4123
0.eevans13-4
0.ean-1--
0.dwhedon4213
0.duncf2133
0.ds1342
0.dparsons1342
0.dlehn1243
0.dfrey-123
0.deek1--2
0.davidw4132
0.davidc1342
0.dave4113
0.daenzer1243
0.cupis1---
0.cts-213
0.cph4312
0.cmc2143
0.clebars2143
0.chaton-21-
0.cgb-12-
0.calvin-1-2
0.branden1342
0.brad4213
0.bnelson1342
0.blarson1342
0.benj3132
0.bayle-213
0.baran1342
0.az2134
0.awm3124
0.atterer4132
0.andressh1---
0.amu1--2
0.akumria-312
0.ajt1144
0.ajk1342
0.agi2143
0.adric2143
0.adejong1243
0.adamm12--
0.aba1143

18 March 2006

Daniel Burrows: Windows stupidities

As I've had to use Windows on a daily basis, I've found that I am no longer able to maintain my air of detached tolerance for the foibles of the system. In fact, I'm starting to get really infuriated with the utter boneheadedness of so many facets of it. Not so much things that are broken, as things that are done badly, and done so in the face of widespread examples of how to do it right.

Here are two simple examples that are emblematic of what Windows users have to suffer through.

(a) Mandatory file locks.

On Windows, every access to a file, by default, acquires a mandatory lock on it. Want to recompile the program you're working on? Sorry, you have to track down and kill all its running instances. Want to read that file on the network server? Sorry, you'll have to run around the office and ask all the people using it to close it.

Last week I got an email asking me to unlock a directory on our local fileserver so it could be renamed. It turned out that I was running an acroread process to view a PDF file...and that locked the directory from being renamed. Because, of course, the universe would implode if someone were to rename a file I had already loaded into memory. This is, however, better than how shared libraries are treated; trying to register a new version of a shared library with the system (the Windows version of ldconfig) will silently fail if programs have the old version mapped into memory. WTF? No, really, WTF?

Windows users get around this by having tools to find out which processes have a file open so they can terminate them with extreme prejudice. This is considered normal and acceptable behavior for a computer in the Windows universe. After all, in the real world two people can't use the same document at once, so why should they be able to do so on a computer?

(b) C# events.

They've been invented many times. Signals, events, hooks, whatever you want to call them, they're collections of function objects that are invoked when some particular condition occurs. It's a great way to make it easy to connect together objects that don't know about each other, they're simple enough that your average CS sophomore could implement them in a half hour, and the concept is so obvious (besides having dozens of examples of working and deployed implementations) that there's no way to screw it up, right?

Wrong.

Now, C# is generally a somewhat clunky language, but this is nothing to do with that (I am not, for instance, surprised that it's cumbersome to bind extra parameters to an event in a language that has little support for higher-order programming anyway). No, this is one of those utter idiocies that just make you scratch your head and go what the *@&# were they on when they did that? You see, when you call an event with no attached listeners, C# throws an exception. Just, you know, as a friendly way of letting you know that you didn't connect to that event.

But wait! It gets better! In order to test whether the event has any connected delegates (the Microsoft term for a function object), you ... compare it to the null pointer. Yes, that's right. Every time you call an event, you have to do this:

if(Event != null)
    Event();


...because, of course, an empty collection of events is clearly the same thing as a nonexistant object.

I really wish I could be a fly on the wall at the meeting where this was decided. My imagination supplies a scene along these lines:


Scene: A smoke-free office somewhere deep in the sterile labyrinth of the Microsoft campus

Programmer 1: "...and we call this bold new innovation 'events'! It's a way for you to perform method calls without knowing which method you're calling. We've found that it's amazingly useful when doing UI programming. I'm sure that introducing this new idea to the world will be yet another chapter in the Microsoft story of advancing technology!"

Programmer 2: "Have you checked the corner cases? What happens if there is no method available to call?"

Programmer 1: "Oh, of course! In that case, the list of methods is null, so we throw a NullPointerException. We thought about adding an IsEmpty property, but who would want to look up properties on the null pointer? Besides, hardly anyone will ever want to create an event that might not get connected to."

Programmer 2: "Uhhh, sure, that makes sense to me."


...!!!?!?!?!

Joshua Kwan: Awkward!

This post is going to be a little handwavey, but here goes. I really want to know what other Debian developers (and users, too, they’re in the same boat) think about this. So here’s the situation. You’re at a party — a college party, if you’d like to be precise, where all the things you saw in ‘Old School‘ happen — and by chance you are wearing a Debian t-shirt. There is consideration that doing this was a bad idea in the first place, but nevertheless, you’re there, and then the people you’re talking with start going on… First question from the peanut gallery: What’s Debian?
Second question, for those are looking closely at the words on the t-shirt (indicating that they have not quite had enough to drink yet): What’s Linux? For me, at least, it feels a little odd talking about heady stuff like Linux at parties like this. Not only is it awkward, it makes me feel like I’m getting a large ‘NERD’ stamp on my head no matter how I try to dilute it and explain it. It’s true — I am a geek. But I think it’s a bit of a faux-pas to flaunt it at a party where you’re more likely to see lots of “Mass Communications” and Political Science majors who, seriously, don’t give a damn. I’ve often tried to tell it off with “it’s a long story, not worth telling,” but all drunks love a good story. Just that this story isn’t particularly interesting! “So uh, to make a long story short, a lot of computer nerds got together and put together a lot of free software together, and it got called a ‘distribution’! Debian’s one of those distributions.” At this point, the hippies will have totally bought into it, because free is good, and free is love, etc. But they’re usually downstairs smoking pot and singing songs of liberation or whatever the hell it is that hippies do these days, so you’re still talking to the Mass Comm majors. So the question I’m really asking is: Is there a graceful way to explain Debian to people who don’t really care about it, but want a plausible answer? Should I just lie through my teeth and say it’s something they can identify with, like a band or a fraternity or something? That just sounds wrong, but if I try to sort of explain what it is, it’s hard to figure out how deep to go with it. This doesn’t just happen at parties, but it’s a notable example. Are there others in my situation? Am I the only DD in college in the USA who also has social interaction on a regular basis and inevitably stumbles on this dilemma? Help me out, guys…

Marco d'Itri: Almost undelete

To make a long story short I obliterated the working directory of my current project with a bad invocation of rsync, but I have been able to recover most data with a few hours of work using the unrm and lazarus programs from The Coroner's Toolkit maintained by Wietse Venema and Dan Farmer. If you use ext3 and do not have an undelete command then this is the next best thing. (This current project is the major reason for why I have not been very active with my Debian packages in the last month.)

17 March 2006

John Goerzen: Backing up

Just about everybody hates backing up computers. But it's important. With more of our information being stored digitally -- even photos -- it's critical to back them up. At home, I've been using rdiff-backup for years now. Very slick. It stores backups on the filesystem -- they look as if you had used rsync. It also stores metadata (owner, mode, etc.) in separate files, so you don't have to back up using root. But the neat thing is how it handles incrementals. Incremental backups will update the backup image files to the current state, and store binary diffs to the past state. So you can access the latest backup instantly, and re-generate the previous state if needed. Very nice. I had just been backing up to a regular IDE drive. But this week, I ordered two Seagate ST3400601CB-RK external drives. The drives support both USB2 and FireWire. We will get a safe deposit box at a bank. At any given moment, one drive will be at home, and one will be safely at the bank. They'll be rotated periodically. At work, we've been using Amanda for years. It does its job well. (Except on AIX, where both dump and tar are broken in obscure, hideous ways, but that's not Amanda's fault.) Recently, I discovered Bacula. This looks very slick. It seems to be the direction Amanda would evolve, if it would ever evolve. We're going to test it out soon. And besides, who wouldn't love a program whose slogan is "Bacula: It comes in the night and sucks the essence from your computers"?

Brett Parker: Hmmmm

Right - so things that have come up this week... I appear to not understand the world - or it doesn't understand me - I'm not sure which but either way it doesn't really matter, the world doesn't really exist (just how can you get something from nothing?). Apparently, according to people, I have a version of other people stored in my head that is not what those people really are - and my version of people apparently differs from other peoples version of the same people - I don't understand this - I base everything on what people say - I try not to extrapolate other information, and I'm quite used to being entirely ignored. I tend to see patterns, and believe in the patterns more than what's actually said, though - maybe that's where I go wrong? Anyways - this weekend - work permitting - I might finally get round to answering the e-mails that have been sitting in my INBOX for an age that I've been meaning to get round to for, well, months - especially NM questions - they really need answering, and I should get to that - so tomorrow morning, that's the goal - assuming that nothing break horribly between now and then! Today I've mostly been looking at some nasty SQL, it did however finally make total sense to me, and I think that it should now (mostly) work. There's some extra ideas that might be worth looking at, but nothing too taxing. Quite tired at the moment - which is strange as it's still before 10pm. That's not usual for me. Maybe I need to take up caffeine again, I actually really miss the taste of good coffee - which I wasn't expecting... but I refuse to drink decaff coffee on the basis that it's not what coffee should be - it's kinda like diet, caffeine free coke. Pointless, tasteless, boring. Anything else? Hmmm. Not at the moment - but I can tell this is going to be a strange month.

Next.

Previous.