Search Results: "dom"

27 August 2006

Russell Coker: Linux on the Desktop

I started using Linux in 1993. I initially used it only in text-mode as I didn't have enough RAM to run XFree86 on my Linux machine. I ran text-mode Linux server machines from 1993 to 1998. In 1998 I purchased my first laptop and installed Linux with KDE on it. I chose KDE because it had the greatest similarity to OS/2 which I had used as my desktop OS prior to that time. At the same time I purchased an identical laptop for my sister and gave her an identical configuration of Linux and KDE.<br /><br />Running a Linux laptop in 1998 was a lot harder for a non-technical person than it is today. There was little compatability with MS file formats and few options for support for Internet connections and third-party hardware and software (most things worked but you needed to know what to do). One advantage of using Linux in this regard is that the remote support options have always been good, I was able to fix my sister's laptop no matter which country she was in and which country I was in. Her laptop kept working for more than 5 years without the need for a reinstall (try that on Windows).<br /><br />It was when VMWare first became available (maybe 2000) that I converted my parents to using Linux. At first they complained a bit about it being different and found VMWare less convenient than the OS/2 <span style="font-style: italic;">Dos box</span> for running their old DOS programs. But eventually they broke their dependence on DOS programs and things ran fairly smoothly. There were occasions when they complained about not having perceived benefits of Windows (such as the supposed ability to plug in random pieces of hardware and have things all work perfectly). The fact that using OS/2 and then Linux has given them 14 years of computer use with no viruses and no trojans tends to get overlooked.<br /><br />Of recent times the only problem that my parents have experienced is when they bought a random cheap printer without asking my advice. The printer in question turned out to not work with Fedora Core 4, but when Fedora Core 5 came out the printer worked. Waiting 6 months for a printer upgrade isn't really a serious problem (the old printer which had worked 6+ years was still going strong).<br /><br />My parents and my sister now have second-hand P3 desktop machines running Fedora. P3 CPUs dissipate significantly less heat than P4 and Athlon CPUs, this significantly reduces the risk of hard drives dying when machines are left on in unairconditioned rooms as well as saving money on electricity. For the typical home user who doesn't play 3D games there is no real need for a CPU that's more powerful than a 1GHz P3. This of course means that there is less need for me to reinstall on newer hardware which also means more reliability.<br /><br />I always find it strange when people claim that Linux isn't ready for the desktop. I provide all the support for three non-technical users of Linux on the desktop and it really doesn't take much work because things just work. Corporate desktops are even easier, in a company you install what people need for their work and don't permit them to do anything different.<br /><br />It seems to me that Linux has been ready for the desktop since 1998.

26 August 2006

Joachim Breitner: First Computer Club meeting

Yesterday, I held the first meeting of the Computer Club that I founded here at the college in Tema, Ghana. I didn't go into very technical things right now, to not scare anyone away, but gave an introduction to wikis and blogs, and showed the students how to use the wiki and blog I set up for the club. You can have a look at my LaTeX-created beamer slides.I think the club went quite well. About 20 students seem to be interested, and a few more might come with the 11-graders who start school next week. There seems to be little geeky knowledge present, so I'm not sure if I can go into the more technical things of geekdom, like weird programming language, fixing bugs in Free Software etc. But we'll see, maybe I underestimate them, and one year is a long time for an interested geek to get into new stuff.Besides one box that I can fiddle around with, and which hosts the club's wiki and blog, there is no Linux yet at the school. I did help a bit with setting up a few windows boxes, and already I'm happy to know that at least I have an alternative. Walking from computer to computer to manually deinstall software preinstalled by the vendor, manually set hostnames, manually write down MAC adresses for the WLAN MAC-filter, manually joining the domain and manually install all other software does not seem like the way I would want to administrate more than two computers. In Germany, we call that "Turnschuh-Administration" (sneaker or running shoe administration).

Unfortunately, that is not an argument to bring to make the school use more Linux, as a dual boot setup is the most I can hope fore at the moment, and that does not ease the pain of Windows administration. I'll keep you up to date on that.

Russell Coker: big and cheap USB flash devices

It's often the case with technology that serious changes occur at a particular price or performance point in development. Something has small use until it can be developed to a certain combination of low price and high performance that everyone demands.<br /><br />I believe that USB flash devices are going to be used for many interesting things starting about now. The reason is that 2G flash devices are now on sale for under $100. To be more precise 1G costs $45AU and<br />2G costs $85AU.<br /><br /><a href="http://www.coker.com.au/hardware/usb.html">http://www.coker.com.au/hardware/usb.html</a><br /><a href="http://www.coker.com.au/hardware/usb.html"><span class="" style="display: block;" id="formatbar_CreateLink" title="Link" onmouseover="ButtonHoverOn(this);" onmouseout="ButtonHoverOff(this);" onmouseup="" onmousedown="CheckFormatting(event);FormatbarButton('richeditorframe', this, 8);ButtonMouseDown(this);"></span></a><br />The above page on my web site has some background information on the performance of USB devices and the things that people are trying to do with them (including MS attempting to use them as cache).<br /><br />One thing that has not been done much is to use USB for the main storage of a system. The <a href="http://laptop.media.mit.edu/">OLPC </a>machines have been designed to use only flash for storage as has the <a href="http://familiar.handhelds.org/">Familiar</a> distribution for iPaQ PDAs (and probably several other Linux distributions of which I am not aware). But there are many other machines that could potentially use it. Firewall and router machines would work well. With 2G of storage you could even have a basic install of a workstation!<br /><br />Some of the advantages of Flash for storage are that it uses small amounts of electricity, has no moving parts (can be dropped without damage), and has very low random access times. These are good things for firewalls and similar embedded devices.<br /><br />An independent advantage of USB Flash is that it can be moved between machines with ease. Instead of moving a flash disk with your data files you can move a flash disk with your complete OS and applications!<br /><br />The next thing I would like to do with USB devices is to install systems. Currently a CentOS or Red Hat Enterprise Linux install is just over 2G (I might be able to make a cut-down version that fits on a 2G flash device) and Fedora Core is over 3G. As Flash capacity goes up in powers of two I expect that soon the 4G flash devices will appear on the market and I will be able to do automated installs from Flash. This will be really convenient for my SE Linux hands-on training sessions as I like to have a quick way of re-installing a machine for when a student breaks it badly - I tell the students "play with things, experiment, break things now when no-one cares so that you can avoid breaking things at work".<br /><br />The final thing I would like to see is PCs shipped with the ability to boot from all manner of Flash devices (not just USB). I recently bought myself a new computer and it has a built-in capacity to read four different types of Flash modules for cameras etc. Unfortunately it was one of the few recent machines I've seen that won't boot from USB Flash (the BIOS supported it but it didn't work for unknown reasons). Hopefully the vendors will soon make machines that can boot from CF and other flash formats (the more format choices we have the better the prices will be).

Russell Coker: wasted votes

In a mailing list to which I subscribe there is currently a discussion on US politics with the inevitable discussion of <span style="font-weight: bold;">wasted votes</span>. As I don't want to waste my writing on this topic on a closed list I'm posting to my blog.<br /><br />There is ongoing discussion on the topic of <span style="font-style: italic;">wasted votes</span>. As a matter of principle, if a vote is considered to be wasted, then that should be considered a failure of the electoral system.<br /><br />Having representatives for regions makes some sense in that a regional representative will have more interest in the region than a central government with no attachment to the region. I expect that representatives of regions were initially used because it was not feasible for people to vote for people that weren't geographically local. Now there is no real requirement for geographical locality (only a very small fraction of the voters get to meet the person they are voting for anyway) but having a representative for a region still makes sense.<br /><br />The requirement for a regional representative means that if you live in a region mostly filled with people who disagree with you then your vote won't change much. For example I live in a strong Labor region so the REAL fight for the lower house seat (both state and federal) occurs in the Labor party room.<br /><br />My vote for the senate counts as that is done on a state-wide basis. So of the two votes entered in one election one of them can be considered to not be <span style="font-style: italic;">wasted</span>.<span style="font-weight: bold;"></span><br /><br />For the US system, the electoral college was developed in a time when it was impossible for the majority of voters to assess the presidential candidates, and it solved the requirements of those times reasonably well. Today it is quite easy to add up all the votes and use either a simple majority or the "Australian ballot".<br /><br />Currently there is some controversy over the actions of Senator Joe Lieberman who lost the support of his party and then immediately declared that he would stand as an independent candidate. I believe that this illustrates a failure of the electoral system. It should be possible to have multiple candidates from each party on the list. In the Australian system it is possible to do that, but as they are in random order on the voting cards no-one would be sure of which candidate of the winning party would get the seat unless there were actual reasons for preferring one candidate over another (which sadly often isn't the case). This is good for voters (the minority of voters who care enough about internal party policies to prefer one party candidate over another should make the decision) but not good for the candidates who want a better chance of winning without actually demonstrating that they can represent their voters better than other candidates.<br /><br />The Australian government system has nothing equivalent to the US presidential election. The prime minister is voted in by the members of parliament. So there is little chance of getting multiple candidates from one party contesting one position. For the US presidential election I think that the best thing to do would be to have an "Australian ballot" and permit multiple candidates from each party. For example you could have Bush and Cheney running as candidates for president with each promising to make the other their VP if they get elected. With the Australian ballot it wouldn't matter if you put Bush and Cheney as the last two votes on your ticket, the order you use for them will still matter.<br /><br />I think that with the US presidential and state governor elections there is enough knowledge of the candidates among the voters to make it worth-while for each of the major parties to run multiple candidates.<br /><br />One of many advantages of having multiple candidates is that you might have real debates. If the main candidates from the two big parties have a set of strict rules for their debate that prevents any surprise then the people who are the less likely candidates from those parties (and who therefore have less to lose) could go for a no-holds-barred debate with a selection of random members of the public asking questions.<br /><br />Of course none of this is likely to happen. Any serious change would have the potential to adversely affect at least one of the major parties, and any improvement would necessarily have a negative impact on most of the current politicians. Votes ARE being wasted, and most politicians seem to like it that way.

Russell Coker: blocking spam

There are two critical things that any anti-spam system must do, it must not lose email and it must not cause damage to the rest of the net.<br /><br />To avoid losing email every message must be either accepted for delivery or the sender must be notified.<br /><br />To avoid causing damage to the rest of the net spam should not be bounced to innocent third parties. To accept mail, process it, and then bounce messages that appear to be spam will result in spam being bounced to innocent third parties.<br /><br />The only exception to these two conditions is for virus email which can be positively identified as being bad and therefore they can be silently discarded. For any other category of unwanted mail there is always a possibility of a false-positive and therefore the sender should be notified if the mail will not be accepted.<br /><br />Therefore the only acceptable method of dealing with spam is to reject it at the SMTP protocol level. Currently I am not aware of any software that supports Bayesian filtering while the message is being received so that it can be rejected if it appears to be spam, it would be possible to do this (I could write the code myself if I had enough spare time) but AFAIK no-one has done it.<br /><br />The most popular methods of recognising SPAM before it is accepted are through DNSBL lists (DNS based lists of IP addresses known to send SPAM), RHSBL lists (DNS based lists identifying domains that are known to be run by spammers), and Gray-listing (giving a transient error condition in the expectation that many spammers won't try again).<br /><br />Gray-listing is not effective enough to be used on it's own, therefore DNSBL and RHSBL systems are required for a usable email system. Quickly reviewing the logs of some of my clients' mail servers suggests that the DNSBL <span style="font-weight: bold;">dnsbl.sorbs.net</span> alone is stopping an average of 20 SPAMs per user per day! The <a href="http://www.sorbs.net">SORBS</a> system is designed to block open relays, machines that send mail to spam-trap addresses, and some other categories of obviously inappropriate use. The number of false-positives is very small. On average I add about one white-list entry per month, which isn't much for the email for a dozen small companies. For every white list entry I have added I have known that the sender has had a SPAM problem. I have not had to add a white-list entry because of a DNSBL making a mistake, just because people want to receive mail from a system that also sends SPAM.<br /><br />I was prompted to write about anti-spam measures by an ill-informed and unsubstantiated comment on my blog regarding DNSBL services.<br /><br />If anyone wants to comment on this please feel free. But keep in mind that I have a lot of experience running mail servers including large ISPs with more than a million customers. The advice I give in terms of anti-spam measures concerns techniques that I have successfully used on ISPs of all sizes and that I have found to work well even when both ends use them. Make sure that you substantiate any comments you make and explain them clearly. Saying that something is <span style="font-style: italic;">stupid</span> is not going to impress me when I've seen it work for over a million users.

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:

25 August 2006

Erich Schubert: Fun with google.

Talking about logic, and where people fail at understanding it... Fun with stupid Google queries - Is there any page about Google and not Google? Wonder how big the Google index is? Google OR -Google. (I'm aware that the count is imprecise, it's just funny that this query is actually processed.) Now let's look at MSN. google 64741016
-google 4669973284
okay. that should make "4734714300"... google OR -google 5156927770 - oops, magic new hits.
-google OR google 68735504
So where are the 5 billion pages that have "google or -google" but not "-google or google"? And how about MSN OR -MSN - there can be only one. askdjfhsakdf OR -askdjfhsakdf - top result for this garbage word: Google! askdjfhsakdf OR -askdjfhsakdf Google results are consistent. I wonder what their sorting is in this case... random? hash function? age? Remember Googlestossen? Like Googlewhack, but with scoring. There must be only one hit with both words; score = # of hits with word 1 * # of hits with word 2

23 August 2006

Amaya Rodrigo: Murphy's Power Supply

Short summary: Server down.

Isn't Murphy absolutely lovely? Hardware will, of course, break on weekends.

The light in my kitchen's ceiling stopped working a month ago. I changed the light bulb, a week ago, but it didn't help, so on Friday I asked H ctor to take a look at it. Absolutely low priority. The cable was literally roasted, so he asked me to cut the power off, in order to replace the cable. I did, without remembering to propperly power off the server. What are journalling filesystems for anyway? The UPS battery used to perform much better, oh the decay, so the server is abruptly shut down after a couple of minutes. As H ctor was not able to "quickly" fix the kitchen light, and I was not in a hurry, and do not really care about the damn light, we just didn't look at it any further. So far so good.

Some hours later, at midnight (maybe that's technically Saturday, but it really felt like a Friday, I swear to the allmighty vegetarian spaghetty monster with no meat balls whatsoever), I try to power the machine up. And a sadly familiar ritual is about to be performed. Since I moved the server into "the run down attic I call home" I dreaded the moment I had to reboot the machine. It would come up, you could see the blue case fans light up and spin, the hard drives and CD drives be initialized, but no beep, no POST, no nada.

Aenima, my solu, my baby, my serverThe ritual dance would consist of me submissively kneeling down to power on and off in a random sequence the back switch, the front one, the UPS, the reset buttom, curse, turn it completely off for random amounts of time, pull the cable in and out, curse some more... never really finding out when or what would make it fully come to life. But eventually it did, after 5, 10, 15 minutes, without any reproduceable pattern, it did. Not on Friday night. Or saturday. I spent most of the night (until 6 am) performing the ritual, googling like crazy, fustrated and eventually plain angry. All I could find was "the mobo is b0rked, exchange it". But I knew it was not. I knew the CPU was fine, the MoBO was fine, the memory was fine, because when I finally managed to get it to power up, all worked well!

But Miry came home and helped me out, coming up with a valuable clue: The mobo was not getting enough power form the PSU, so I got a spare PSU from H ctor and swapped them. The baby came up instantly. So I was very pissed off.

The good thing about it all is:
- I learned that power supply units sometimes fail. Even my wonderful, 100 EUR BQuiet! PSU.
- I missed completely all of the udev fun. Well, at least on my machines, but there's a couple of people I needed to help out today.

On Monday I got a new power supply, it is a joke of a plastic, for SM's sake! plastic!?, PSU with a couple blue fans. Pics of old nice one and crappy new one here. My sitting room looks like a space craft, and sounds like a plane is about to take off. The cats have not complained yet. They have not disconnected my land line (yet).
Update: The reason I bought this PSU is I have quite a big case, a case I can ride! So I needed Log cables. And I had to go for a cheapo modder plstic thingy, simply because I could not afford anything better.

I hate hardware.

New and old PSU

Simon Richter: Xen and starting domUs

Okay, so the Xen host I've been setting up is nearing the "full production" phase (so far, only emdebian has been running production, the other hosts are being copied as I type). What is still unsolved is the problem of kernel upgrades, as I'm using the stock Debian Xen kernel for now, I need an initrd in order to start a system. While the normal mkinitramfs generated one usually manages to bring the system up, I think it is rather pointless to start the domU systems with anything more than what yaird would build; however that only works from inside, with the kernel and modules installed, which I'd rather not do, and requires me to copy the image outside. So I wonder whether it would make sense to build a set of standard initrds, probably in separate packages, that contain the necessary drivers to start a domU (variants: root on virtual block device, root on LVM, others?)
I guess tonight is going to be "sending patches" night.

Steve Kemp: Trying to justify to ourselves the reasons to go

I uploaded a new perl package to the archive today Net::HTTPServer a stunningly easy to use HTTP-server module. The last time I did so it was rejected by the ftpmasters who suggested that I used the wrong license. I didn’t so I’m hoping this upload will get approved! (Understandable mistake; the package contains LICENSE.LGPL but is dual-licensed like perl as the code and readme says. It was rejected because I said it was “duel perl” and the reviewer believed it was LGPL.) I’ve been using this module a lot recently at home and work and like it. I might write about using it for random purposes in my copious free time …

Wouter Verhelst: CAPS LOCK.

Evan, you ignorant slut. Using a macro to capitalize the names of other macros where used? What crap are you on? "Who's writing C anymore these days". Err, let's throw out the kernel, the X server, GNOME, perl, and python, shall we? All of those are written in C. As are many other things, but these are just the more popular bits. If a key sits in your way, allow me to point you to xmodmap, or just the XKB extension. That's what it's for. Personally, on my keyboard I have mapped \ to the (totally useless) key that has printed on it. Finally, a modal keyboard is useful, if only for ergonomics. Having to hold down bucky bit keys for long sequences of characters is very bad for the joints in your fingers... This post brought to you by an inofficial member of the International Society of Caps Lock Fanciers. 7 lower case characters were hurt in the production of this entry, but no finger joints)

Evan Prodromou: 6 Fructidor CCXIV

Argh... trying to get caught up on this journal in the wee hours of the morning here in wt:Odense. I've had pretty bad jet lag this trip -- I've never been particularly good with time changes, and the North-America-to-Europe switcheroo really throws me off. So by 2PM I'm falling down on my feet, but at 4AM I'm rarin' to go. Odense has been a particularly nice place to visit. We got into wt:Copenhagen a few days ago, and crashed at the Airport Hilton there. It's actually attached to the airport -- you can just walk right in. Maj got a good deal on a room, and we figured it would make sense to sleep with the baby right there, rather than fight the train system to find another hotel in the city centre. After a free brunch including many different kinds of pickled fish, and a looong nap, we took the train into the Central Station in Copenhagen, right by Tivoli Gardens. There were lines around the block for the amusement park, but we skirted them and headed into the pedestrian area near City Hall. Based on a recommendation in Wikitravel, we went to the line of caf s and restaurants off of Nyhavn, a sliver of water poking into the heart of the town. It was a great walk, and we had a casual sidewalk dinner at a place called Carl's Corner. The canal was lined with boats that had been converted to restaurants -- we may try one when we go back to Copenhagen this week. tags:

Wikisym The next morning I got up at dawn and got on a train to Odense for Wikisym. I missed my connection at the Central Station, and all the trains were running late, so I got real confused about where to go. The fact that I was carrying all of our luggage didn't help matters. But a few false starts later, I managed to get myself oriented and on my way. The train ride was beautiful -- wt:Denmark is a very pretty country, with rolling grassy hills and clusters of small, peak-rooved houses by the tracks. The trip from Copenhagen to Odense takes you from wt:Zealand to wt:Funen, across a long rail bridge. Very impressive. Once I'd landed in Odense and got myself organized, I slipped into the back of the room for Wikisym to catch the last few minutes of Angela Beesley's keynote address. Angela might be the hardest-working person in Wikidom -- she's a tireless community organizer not only for the Wikimedia Foundation sites like Wikipedia but also for Wikia's sites. After her talk, we did an wp:Open Space session, which continued throughout the day, interlaced with the academic presentations. I'm getting to be a big fan of Open Space; it was really effective for RecentChangesCamp, and I think it works well for organizing a conference. Ted Ernst led the sessions, with the help of Gerard Muller of the Danish Open Space Institute. Probably the most productive Open Space session for me was the one about non-text wikis -- using wiki techniques for video, audio, image and visual language editing. I'm fascinated by this stuff, and it's great to hear that some people are working with SVG and SMIL to do in-browser multimedia editing. The consensus is that the technologies Aren't There Yet but are around the corner. The other major thing I think I picked up from this session was Eugene Eric Kim's discussion of Wiki Ohana. Ohana is the Hawaiian word for family; the Wiki Ohana is a project to develop some interoperability and a transmission of our Wiki principles to new members of the family. I think it's a great idea and I'm going to try to get involved further. tags:

Odense We had a great walk around Odense's core pedestrian area. It's not exceptional for Northern European towns -- it reminds me of the Netherlands, and Maj of Switzerland -- but the car-free cobble-stone walking areas are a real relief after years in North America. We have some pedestrian areas in Montreal, of course, but not in the same way. Odense is the childhood home of wp:Hans Christian Anderson, and the city is decorated with statues of HCA, and of characters from his stories (the Tin Soldier, Thumbelina, etc.) It gives a kind of fairy-tale air to the town. I'm not sure they should feel so proud of being Anderson's childhood home, though -- from everything I've read, his childhood was nightmarishly cruel, and his abysmally poor family was harshly treated by the society here. But, of course, that's in the past. Now, we had a real nice time walking around. Amita June likes tottering along on the cobblestones, and shouting really loud in the small streets to hear the echos. We ended up having dinner in a place called the Cuckoo Caf -- great food under a spreading tree in a little square. This morning -- no, yesterday morning -- Maj got up and took the first sessions, and Amita June and I slept in. We went off into town again to find a bakery, and shared a chunk of brunsviger, a sugary pastry that will probably rot out her tiny teeth. I had a cup of tea, which was less than satisfying. I've been trying to cut caffeine out of my life, so we've been having decaf at home, but they don't seem to serve it in caf s here. I'm a creature of habit, and I like the taste of coffee even if it doesn't have the caffeine oomph. tags:

CAPS LOCK SUCKS In response to Lars's defense of CAPS LOCK: Lars, you ignorant slut. Caps lock has been the bane of online culture since the invention of mixed case in the late 1960s. It is a hallmark of clueless newbie-ism for people who are too analphabetic to remember the exceedingly simple English capitalization rules. The only legitimate purpose for CAPS LOCK is for doing C macros and defines, but hey, who writes in C any more? Anyways, that's just lazy programming. A real programmer would write a macro to capitalize the names of other macros where used. That's just good programming practice. Another important point is that CAPS LOCK is Eurocentric and imperialistic. What value does CAPS LOCK have for someone writing in Eritrean, Malayalam or Ojibwa? None at all. Yet dead white males like Lars Wirzenius want to force their CAPS LOCK cultural hegemony on an increasingly global culture. For shame. The worst thing about CAPS LOCK is that it squats in the middle of the most important letters on the keyboard, like a rat trap waiting to spring. Big and ugly, it always catches your left pinky when you're reaching for Ctl or Shift or Tab or A or whatever. Key-chording is here to stay, and CAPS LOCK not only ignores this important UI development but actively interferes with it. Modal interfaces are rightfully extinct, and CAPS LOCK needs to go the way of the dinosaur. It's time to eliminate this obsolete key once and for all. (This message brought to you by The Taxpayers Against Caps Lock Coalition. I, Evan Prodromou, endorse this message.) tags:

Erich Schubert: Archiving maildir

I've been using the maildir format for my mail boxes for some years now. I'm really happy with this solution - no locking issues, and decent support in all applications I use. (Well, evolution has been crashing with Maildir recently, but switching to using a local IMAP server resolved this just fine.) But the biggest benefit of maildir is that it's dead easy to write your own tools for it. I've written a small perl script that moves read mails that are not flagged into my archive after 30 days. Over the last few years, this archive (not containing large mailinglists such as debian-devel which are publicly archived) has grown a lot. Now the benefits of maildir, a separate file for each mail, turn into drawbacks. For my archive, I don't need to care about locking or random access. Actually I rarely access it ever. But since a file always occupies whole blocks, my mailarchive occupies 1.6 GB on my disk, with just 1.2 GB of data. An experience value is a compression ration of around -60% for bz2. So by switching from Maildir to mbox.gz I can probably free up 800 MB on my disk. (And I'll move the older years onto my encrypted backup HD anyway) Now I'm looking into scripting the conversion from Maildir to mbox.gz. I'm still a bit undecided on which tools to use... [Update: python2.5 has support for mbox and maildir... Here's maildir2mbox in 5 lines of python:
import sys, mailbox
md = mailbox.Maildir(sys.argv[1], None)
mb = mailbox.mbox(sys.argv[2])
for mail in md:
        mb.add(mailbox.mboxMessage(mail))
nice, uh? ;-) ]

22 August 2006

Bastian Blank: Debian Linux 2.6.16-18 with XEN

Yes, the xen images from linux 2.6.16-18 in unstable does not work with the currect xen 3.0 in unstable and testing. The interface for the priviledged domain changed in an incompatible way. I'm working on that problem and 2.6.17-7 will contain a complete new infrastructure.

Simon Richter: Random thought on RSS flood protection

When you limit the number of new entries in an aggregator, wouldn't it make sense to see whether there are old entries that are unchanged?

Jordi Mallach: XFS nightmares

Following up to madduck's and gwolf's recent horror stories on XFS, last Thursday, my desktop greeted me after the fantastic week around Asturies with a series of I/O errors whenever I tried to execute something. I rebooted, and then the kernel wasn't happy.
I/O error in filesystem ("hda1") meta-data dev hda1 block 0x4a9778  ("xlog_iodone") error 5 buf count 1024
/dev/hda1 is my / partition, and the machine would not boot at all. To make things more interesting, the box refused to boot from any of my old CD and DVD drives. Yesterday, with my mail piling up already at Sindominio's mailserver, I managed to find a spare CD writer, which would not open its tray, and a DVD reader which managed to boot a Breezy Live CD I had around. The good guys at #xfs were helpful as always and helped me in the process of not fucking up my valuable root filesystem while trying to fix it. The filesystem ended up having quite some corruption here and there, but after xfs_repair, nubol was able to boot again. Only it was missing libldap.so.2, libX11.so.6, debconf programs and other minor details like those. Some reinstall rounds later, GNOME was able to startup without errors and now the box is up and running. Does anyone know of some script that compares dpkg's contents database with that the filesystem has, so I can easily find the rest of damaged packages to reinstall them?

Lars Wirzenius: Random thought: Save Caps Lock!

I like the Caps Lock key. My fingers automatically turn it on whenever I need to type more than three consecutive upper case characters. For example, when I type C code, and need to define a new FILE variable, hey, there was Caps Lock. Or a NULL constant. Or, heck, EWOULDBLOCK. I touch type. I spent a lot of time and energy in the 80s to learn to touch type. Using Caps Lock is fully automatic, to me, and it is quite a helpful key. (This log entry is part of the "Save Caps Lock" campaign brought to you by the International Society of Caps Lock Fanciers. No upper case characters were hurt in the production of this entry.)

19 August 2006

Clint Adams: Whaling in Memphis

I was sitting in the airport, watching all the teenage Marines hitting on each woman they saw, and watching them get consistently rejected, when I may have had an auditory hallucination. By means of the public address system, some sort of airline employee had summoned a list of passengers to the gate, and none of those passengers were named Horselover Fat. Nevertheless, I sashayed up to the desk and inquired of the manchimp standing there, Did someone call my name? He looked at me, grinning smugly, and asserted his intellectual superiority by pointing out that he couldn't answer that question without knowing my name. Rather than explaining to him that he could have assimilated that little bit of knowledge by reading the boarding pass that I was holding in front of me, I told him that my name was Jarom Hennessey, for that was the name in the passport I was using. (Hi, Alana. Hi, Ophira. Die, Aliza.) Nope, he said, and as I began climbing over a pile of Marines, he continued, Oh, wait. She called your name and I didn't hear. So I climbed back, and waited for him to ask my name. Alas, he did not; he only said, You don't have any objection to sitting in Business class, do you? No, I lied, and so he printed me a new boarding pass. It turns out that this was the good sort of Business class not the foul sort you might get on British Midlands, where your seat is exactly 14 millimetres wider than those in Economy, and they still stab you with sharpened Yorkshire pudding and plead with you to do your part in lightening the load of the airplane, even though you are several thousand feet in the air and don't even want to be going to the UK in the first place, but the kind where the enormous seat reclines all the way back, has electronic adjustable lumbar support and all kinds of other gadgets, the food is pretty good, and you can even get snakes if you ask for them. First class on that flight looked even better, especially because there was a 55-year-old 4'7"-tall man giving people laypdances and begging them not to keep calling him a stewardess , because apparently he is some sort of flight attendant . Anyway, I sat next to some fratboy douchebag who eventually learned to mind his own goddamn business, and passed on the free Bellinis since it was only 6am. I did avail myself of other free stuff, and when the stewardess (not the guy from First class) took my breakfast order, she asked if I wanted a DVD player. In mimicry of Fratboy Douchebag, I grunted, Sure. She brought me a portable DVD player, which claimed to have a battery, but didn't work unless it was plugged in, and also claimed that it would not play any DVDs not provided by the airline. I did not have the opportunity to test this, since I had opted to not bring any DVDs with me. Instead, I perused the selection provided me. These DVDs were all labeled to indicate that they could be played only in the airline-provided DVD player. I have a funny story about that. I'm not going to tell it. I don the noise-cancelling headphones, and jack them into the DVD player, into which I have put Transamerica. For a little while, I think that the lack of speech is the movie being artsy. Then I begin to suspect that something is horribly wrong, so I start over, with subtitles on. It becomes clear that all the speech has been elided, as well as some of the sound effects. A bad burn? I swap the DVD out for Firewall, and experience similar problems. Summoning one of the stewardesses, I complain that there seems to be something wrong with something. I trade everything in for a new set. This time I don't get Transamerica, so I put in Firewall; having seen the first two minutes, I have to watch it to completion now. There's no sound at all. I discover that if I press down on the headphone plug, shifting the jack sideways, I can hear the audio portion of the presentation. What a pain in the ass. Here would be another good place to not tell the funny story. I switched to a better movie after that. In retrospect, I should have taken more advantage of the in-flight service, since my next leg was abysmal. This airline was one of my favorites a little over half a decade ago, and now I am plotting ways to never fly it again. I'll note that the seat was smaller than Greg Pomerantz's former toilet, that the radio controls were from the wrong century, and instead of having hot food included, the flight staff sold sandwiches and snack boxes . Matthew Garrett might say that this sort of flight gives one more freedom than the sort where you get a choice between two different meals or nothing at all, but I think that it is a travesty. There should be giant warning indications for such flights, so that one has ample time to purchase crappy, overpriced airport food to drag on board, as that is a better alternative. The third leg was rather unremarkable, except for the elderly Jewish man who kept fondling a stewardess and gesticulating some sort of claim that he had no command of English. Just prior to the descent, she gave him a loud scolding, repeating at the end, Yes, you understand me. I imagine that she could make quite a bit of money as a prostitute for the Chasidim; they like their hookers blonde. Now the fourth leg was pleasant for numerous reasons, most of which are boring. The guy across the aisle from me bore some disturbing similarities to Mr. Foxworthy, but was not nearly entertaining enough to hold either my interest or the interest of a blonde chick, who sat on the other side of him and probably wouldn't be all that popular with the Chasidim. One of the stewardesses was Latina, but spoke like a limp Swiss man. Her partner in comedy was not Latina, and did not speak like a limp Swiss man. I didn't catch their names, so I'll call the first one Marta and the second one Gladys. Marta and Gladys were having a work-related discussion about a complimentary beverage prior to it having been served to some fool behind me. There was a bit of a communication mixup, so Gladys leaned over to me and gestured a few allegations about Marta, concluding with So if you have to talk to her, just use sign language or somethin'. Hearing this, Marta shoved Gladys out of the way, leaned over to me, and said, You just wait. Later on, I'll tell you something really bad about her. Then I wrecked some guy's priceless painting. Oops. Isn't paint a liquid- or gel-like substance? If you ask me, all instances of art are terraist weapons. Oh, Gladys sighed happily, I don't know what I'd do if you weren't here. Later, at the deplaning, Gladys cried out, My friend! , and Marta nudged me and said, She's single!

Erich Schubert: Frustrating reuse of applications

Debian has a small app named "savelog" which can rotate logfiles, compressing the old versions and rotating filenames. It's used in a couple of startup scripts and cron jobs. The script is labeled logrotate_exec_t in SELinux, giving it the appropriate permissions to modify logfiles. However, it's also used to rotate backup files of e.g. /var/lib/dpkg/status; which is not a log file; the backups are kept in /var/backups, which is somewhat appropriate. However, the files in the backup dir are labeled backup_store_t, and I'm not sure if I want all logrotate apps to be able to write there... It would be nice if we wouldn't have

Amaya Rodrigo: Exactly on year ago...

Exactly on year ago... I followed the white rabbit into a pirate ship.

It has been a year of Sauna, Sushi, Salmiakki, Jolly Rogers and Tequila. (I must admit there was no sauna, very little salmiakki, maybe even less tequila, and exactly three Jollies, but the cheese, the happiness and the sushi... Oh the sushi!) We have since indulged many in rolled cigarettes, a blond pirate dog, ma ana, Fortuna, loving and hating airports, kissing, three wonderful cats, sleeping in weird places, some more cheese, minding our steps, respect, bug squashing, and freedom. Paraphrasing Paravoid, yes, us people are strange! And so Free and Happy! I didn t want a boyfriend, and I never got one. Te quiero, Holger!

Next.

Previous.