Search Results: "ean"

17 January 2007

MJ Ray: SPI: Communications 2

Even less surprisingly, my request that the Software in the Public Interest board try to repair SPI's member communications was postponed. The request was submitted before the December 2006 meeting and now won't be heard until February at soonest. SPI president Bdale Garbee apologised. At least the Spanish resolution was decided (referred to board 2005-11, resolved 2007-01). Meanwhile, on the mailing lists, SPI board member Ian Jackson flamed me again and proposed a resolution which adds lots of red tape, unnecessarily links submissions to announcements and ignores SPI's email and web problems. On the previous post, Bruce Byfield commented:
"I'm sure my bias creeps into many stories, no matter how fair I try to be, but I really don't have much of an opinion on the domain name issue. My main interest is that it's newsworthy. Under these circumstances, I have a hard time seeing how I could have much of a different view from anyone."
I agree. It's hard to see how the newsforge article could have been much different. Is it newsworthy that SPI's board continued voting without discussion at yesterday's (2007-01-16) meeting? No-one wants meetings to last hours, but it's essential that the board put something of their views into the official proceedings. Votes should not be totally set in advance. Otherwise, how can SPI members oversee? How can they make a well-informed decision whether or not to re-elect a member? Now members have to hope they are on the right mailing lists (open or closed) at the right time because the public record is so incomplete.

Eddy Petrișor: disable the pcspkr - hacks

I blogged 5 days ago about the annoying beeper and different methods that were supposed to turn it off.

I asked for a clean solution, but I received suggestions for some hacks. Now I decided to make a new post since there was a comment added today and I remembered about a possible hack (dpkg-divert) I was thinking about.

Now here are some of those hacks and the reason behind rejecting them.

Still, the question remains, why don't the originally proposed methods work, especially blacklisting?

Update: the headphones jack works with some small changes, bug submitted (#407252)

Andrew Pollock: [tech] Initial impressions of Microsoft Optical Desktop Elite for Bluetooth and Linux

After some hiccups with delivery, the bluetooth keyboard and mouse I ordered had miraculously turned up at the leasing office on Sunday, when we poked our head in on the way home in the early evening. I had a quick play at getting them working. The USB Bluetooth adapter was recognised by Debian Etch's 2.6.17 kernel without and problems, and I installed all of the BlueZ packages and had it happily looking around for devices. I tried to get the mouse working first, as the documentation said that it didn't require a passkey. I successfully paired it using hidd --connect bdaddr whilst having it in discoverable mode. Sure enough, some extra stuff turned up in /dev/input (interestingly, whenever the mouse (or keyboard) puts itself to sleep, everything vanishes again, and when it reawakens, it scores a new numbered "input" entry in /sys/class/input, so I wonder if that's going to do anything unpleasant when the number gets sufficiently high). I next tried to get the keyboard working, expecting more of a fight, because it required a passkey. Turns out, I could get it connected and working with exactly the same procedure. No passkey required. That bothers me slightly. So at this point, I added what was essentially a second mouse device to my xorg.conf (which I suspect became redundant after I disconnected the USB mouse), restarted X, and hey presto, either mouse worked. I then removed the USB keyboard and mouse, restarted X again for good measure, and everything continued to work. As I haven't touched a config file yet, restarting the bluetooth services loses the pairing and I have to repeat everything, so I need to figure out how to make this all "just work" at bootup, but it's not high on the list of things to do, as I don't reboot my MythTV box very often, and I use the keyboard and mouse even less. In terms of functionality, the wheel on the mouse isn't working. This appears to be a bluetooth-level problem, as doing a hcidump shows no activity whilst the wheel is being used. Interestingly, it works as a button, just not as a scroll-wheel. Similarly, on the keyboard, none of the grey extra buttons work (nor does the wheel). Some preliminary Googling shows people having similar problems, and there are mentions of kernel patches. I need to do more research. I also need to do some bluetooth pen-testing with my laptop to figure out if the keyboard is really as secure as I'd like it to be. Oh, and "Windows XP only" be damned, the thing works fine (enough) on Linux :-)

16 January 2007

Amaya Rodrigo: Badajoz, Brussels, Hamburg, A Coru a, Edinburgh!



I will take part in a round table on Women and Technology at the Free Software World Conference 3.0, on the 9th of February, at Badajoz. If you intend to attend, register now!

FOSDEM, the Free and Open Source Software Developers' European Meeting

I will then attend FOSDEM at the end of February and will then take a week off in the biggest port in northern Germany, I think that s Hamburg, to get away from the stress of Madrid and to hopefully get a taste of a decent winter Schei wetter.

In April, I will attend DudesConf (formerly known as Debconf-es) in A Coru a.



And in June... Debconf7 in Edinburgh! That s the most important event in the whole year for me. I will get there on the 8th of June and leave on the 24th.

I expect some resistance at work, yes, this job I am both so paranoid about loosing and at the same time not worried about anymore, but it would not be the first time I am fired because of attending a Free Software event that meant a lot to me, Debconf4 in Porto Alegre, to be more specific, and I am not scared. I will survive. I have lost jobs before, and I have had much better and much worse jobs. A job is a job is a job is a job.

At this moment of my life, mentally troubled and physically ill, I am still painfully aware of my priorities, specially (the small amount of) stuff that I am doing to at least try to change a world that disgusts me in so many ways. Happily trying to change this world, for the ones to come, including the kids of the people that have fired me (or will ever fire me) because of it.

And, for a change, I feel my family backing me up, fully supporting me in my quijotada, which makes me the strongest and most determined person you have ever met.
Be very, very afraid ;)

Russell Coker: Some ideas for running a conference

Firstly for smooth running of the presentations it would be ideal if laptops were provided for displaying all presentations (obviously this wouldn't work for live software demos but it would work well for the slide-show
presentations). Such laptops need to be tested with the presentation files that will be used for the talks (or pre-release versions that are produced in the same formats). It's a common problem that the laptops owned by the speakers will have problems connecting to the projectors used at the conference which can waste time and give a low quality display. Another common problem is that laptops owned by the conference often have different versions of the software used for the slides which renders them differently, the classic example of this is OpenOffice 1.x and 2.x which render presentations differently such that using the wrong one results in some text being off-screen.

The easy solution to this is for the conference organizers to provide laptops that have multiple boot options for different distributions. Any laptop manufactured in the last 8 years will have enough disk space for the
latest release of Debian and the last few Fedora releases. As such machines won't be on a public network there's no need to apply security updates and therefore a machine can be used at conferences in successive years, a 400MHz laptop with 384M of RAM is quite adequate for this purpose while also being so small that it will sell cheaply.

A slightly better solution would be to have laptops running Xen. It's not difficult to set up Xephyr in fullscreen mode to connect to a Xen image, you could have several Xen instances running with NFS file sharing so that the speaker could quickly test out several distributions to determine which one gives the best display of their notes. This would also allow speakers to bring their own Xen images.

This is especially important if you want to run lightning talks, when there is only 5 minutes allocated for a talk you can't afford to waste 2 minutes in setting up a presentation!

In other news Dean Wilson gave my talk yesterday a positive review.

Benjamin Mako Hill: Geography Lesson

I gave a talk at a the Boston Ruby group last Wednesday. The meeting was generously hosted by the Boston start-up Back Channel Media. On the way out, BCM offered attendees schwag in the form of branded inflatable globes and Slinkies. On Thursday, I suggested to SJ Klein and Seth Schoen that we might be able to use the globe as a research aid during the MIT Mystery Hunt. That seemed like a good idea until they pointed out that there were a few inaccuracies on the map. Sure enough, a quick glance revealed that:
  • Burkino Faso is marked as Upper Volta (it's only been 22 years) with a capital as Duagadougou.
  • Rwanda seems to be a small horizontal bar across a country marked both as Ucanda and Buhuno.
  • Zimbabn is labeled clearly while Morocco, clearly divided into two countries, is not marked in either of the resulting (and differently colored) states.
  • A missing border and a color identical to the ocean (!) renders Egypt completely underwater. Yemen, Iraq, Thailand, Romania, Austria, Croatia, Finland, (whose name is missing), and the eastern quarter of India are better off in that they blend into the ocean but have river colored borders demarcating them from the rest of the sea.
  • The Arabian peninsula is host to Qatah, the United Arab Emiraies, and the Saudi capital of Rivaiih.
  • A bit to the north, Jurdan borders Irae and Lebanaw.
  • The countries Czek and Slovak seem to be located just above Czechoslovakia which, in turn, is just above Huudatn.
  • A similar situation happens in Yugoslavia which seems to be next to Monienegro and other more familiar Slavic states.
  • Amstercam is right next to the the German city of Roro.
  • Swirzerlano sits in the middle of Europe.
  • England's Lworpool and Rirmingham are clearly, and clearly incorrectly, marked.
  • Both Russia and the Commonwealth of Independent States are clearly marked while China, despite having dozens of its cities labeled, is not.
  • St. Petersburg seems a full 1000+ kilometers from any body of water and closer to Bellarussian than to a port.
  • Lapan shows many cities including Tokya, Kyole, and others -- while most seem to be located somewhere off the coast of Lapan in the Pacific ocean.
  • The Korean peninsula contains N. Korea and S. Aurla.
  • Myanmar is marked as Burma (although I might forgive that one if I had reason to believe it was intentional).
  • Malaysia is labeled Malaskia.
  • The continent at the South Pole is proudly marked Tarctica.
Of course, this list is extremely incomplete. I've barely looked at cities, rivers, and even some country names and I've barely looked at the degree to which the cities and labels are correct but incorrectly placed. The full list of errata would, in a manner reminscent of English As She Is Spoke, be very, very, long. While the globe does not bear any markings of a producer (I wouldn't want to take credit for it either), a group of us suspected that we might be able to find the country of origin by locating the one country that was represented completely accurately. We couldn't find a single one.

Gunnar Wolf: More on the unkillable XML-for-configuration rant

In short, Erich says that XML, plus the right editor, Just Works(tm). Well, yes. But when you are over a slow link, or when you are desperate with a b0rken system, you just don't have Eclipse at hand to edit a config file. Of course, you could use the half-existing XML support you talk about in vim (I have not tested it, cannot be sure of it), but it is still a PITA if your /usr is not working fine or if your termcap is too dumb to manage. Yes, there are each time less of those situations, but anyway...
I won't start ranting on how YAML is the right tool for every situation where XML is used - It's clearly not. XML is, after all, a standard. Some configurations can be done by XML, say, if you have any of those Java frameworks (I've only suffered^Whated^Wgot despaired^W^Wset up JBoss), but still... Configuration files, at least the important ones, should be editable by using a lightweight, easy and available tool like nvi, pico, or even cat sed.
Oh, and about YAML's site being valid YAML: Of course, it only looks like it. But cut and paste it - It works for me :) Of course, it is not meant to replace or work over HTML. I would never dream of using YAML as a web-services language or anything of that sort. There are better tools for that.
But please, leave config files hand-editable. With common, light and hard-to-break editors.

15 January 2007

David Nusinow: It's Not A Crisis Until The Java Guys Actually Take Over

Lately I keep seeing people talking about a "crisis" in the ruby community due to the fact that rubinius, jruby, and YARV are all being written. There seems to be some subtle hand-wringing under the covers about divergence between these implementations. The ruby language is in pretty solid form, with a few little problems that should be cleaned up for the 2.0 release, so I don't think it's very likely that any divergence will be particularly damaging.

More importantly though, I think it's a sign that ruby is alive and well, given that there's three different projects that are working to provide an improved implementation for a language that was largely ignored until two or three years ago. Plus the benchmarks for YARV (which was just merged to the ruby trunk) look pretty hot.

Unfortunately for the doomsayers, most of what I've heard and read from the actual ruby community about all three of these projects has been a giant ball of excitement. I think it's really sweet that we'll have ruby running on the JVM, on a sexy Smalltalk style VM, and also a significantly sped up classic interpreter. Now all I want for Christmas is more time to actually write the rails site that's been pounding away inside my head like Athena.

Russell Coker: top 10 girl geeks

We have a list of 10 (famous) girl geeks from CNET and one from someone else.

The CNET list has Ada Byron, Grace Hopper, Mary Shelly, and Marie Curie. Mary Shelly isn't someone who I'd have listed, but it does seem appropriate now I think about it. Marie Curie is one of the top geeks of all time (killing yourself through science experiments has to score bonus geek points). I hope that there are better alternatives to items 4, 7, 9, and 10 on the Cnet list.

The list from someone else has 9 women I've never heard of. If we are going to ignore historical figures (as done in the second list) but want to actually list famous women then the list seems to be short. If we were to make a list of women who are known globally (which would mean excluding women who are locally famous in Australia, or in Debian for example). The only really famous female geek that I can think of is Pamela from Groklaw.

The process of listing the top female geeks might have been started as an attempt to give a positive list of the contributions made by women. Unfortunately it seems to highlight the fact that women are lacking from leadership positions. There seem to be no current women who are in positions comparable to Linus, Alan, RMS, ESR, Andrew Tanenbaum, or Rusty (note that I produced a list of 6 famous male geeks with little thought or effort).

Kirrily has written an interesting article on potential ways of changing this.

14 January 2007

Jordi Mallach: Phone-before-SMTP

Today I woke up with a strong determination to do some badly needed house cleaning. A series of rushed travels have left a few rooms full of stuff all over the place, after I emptied a bag or two to be able to pack on time. Just before going to Tunisia, I decided my wallet was way too fat so I got rid of shopping receipts and other random shit I had in it. That included quite a few PGP keys from people I had been collecting in previous travels, and I had forgotten about. So, armed with my willingness to get rid of all of those dust puppies, first thing I find in the living room is the pile of wallet papers, and my clever procrastinating mind apparently thought it was time to postpone real cleaning; instead I needed to sit down and sign all of those really old PGP keys. Many of you reading this will have got a few emails from me this morning. It was about time! Some of the silly strips of paper dated back to the Open Source World Conference 2004 in M laga, when a decent group of Debian Developers gathered in a really small hacking room and talked about some Debian topics. Signing the keys has let me identify a few non-revoked ids which really should be, as the accounts are no longer valid, etc.; many others have greylisted me for a while and finally accepted my email. There was one mail recipient which may have gone a bit too far with the anti-spam policies, though:
9323170A74B     4007 Sun Jan 14 17:55:38  jordi@nubol.oskuro.net
(host mail-dtag.reichmann.net[62.104.43.214] said: 421 call 09001000057 for admin support (in reply to MAIL FROM command))
                                         alexander@schmehl.info
Alexander, I'm not doing calls to Germany to send your key, but I can resend if you want, once you open up your mail server... (my tries to knoepix.org also failed). It seems I have misplaced a few keys from the Ubuntu Summit in Sydney, but I think I know where to find that sheet. More in 2 or 3 years! PS: dust puppies are alive and well, they managed to survive yet another tough day.

Martin F. Krafft: Firefox handing mailto links to mutt

If you like the mutt email client and have to use Mozilla Firefox, you might like to be able to click mailto: links and have mutt handle them. There are various extensions that promise to take care of this, but none of them worked for me. So I wrote a little script to handle the interfacing. Instructions how to tie it in with Firefox are included in the header comments. Enjoy! Comments, patches, and suggestions welcome. NP: Dream Theater / Awake Update: thanks to the suggestion by Nelson A. de Oliveira, the script now supports the setting of arbitrary headers, including In-Reply-To. This means you can now use it to answer list mail from the Debian list archive pages (but see #406866 and #406867).

Erich Schubert: Config files

Our top-10 female geek "helix" (congrats!) suggested (jokingly) we could do an Ajax interface for configuration files. Well, if you want, you can run a tomcat as root, and have it access your configuration files. If you're crazy enough. :-) No, there are actually secure ways of doing such things, if you want even with Ajax. Just have a secure web server for administration, which will then push the updated configuration file to the actual hosts e.g. via cfengine. Since people still tend do read "all configuration files should be XML", and "but I hate XML": please get down. We already have quite some XML-lookalike configuration files (e.g. apache). We have S-Expressions. We have some deeply nested INI files. We have true XML config files (e.g. /etc/fonts/fonts.conf). All I'm asking is that we should maybe use one single format for all applications that have similar requirements for their configuration. And no, not every application can be sanely configured with a linear, flat configuration file. Sometimes, a tree-based data model is much cleaner. You know, thats why we're using a tree directory structure, and not flat files. And face it, if you like it or not: XML is the most widely accepted choice for exchanging (tree structured) data. And if you manage systems, you want to be able to sanely exchange data between e.g. a configuration management tool and the service you're configuring.

Andree Leidenfrost: Debian Pre-Release of Mondo Rescue 2.2.1, Take 2

mindi-2.21~r1021-2 and mondo-2.21~r1021-2 are now on http://people.debian.org/~andree/packages/ with the following changes:
  • petris works again during restore (self-inflicted, oh well).
  • Restore of ISO images and friends should now work when gzip (i.e. '-G') is used.
  • The network interfaces should be fine now when booting into a restored system for the first time.
Other than that:
  • The crash in mondorestore when nuking from tape has disappeared. I have no idea what caused it or why it went away again, though...
  • Kernel 2.6.18-3-k7 hangs when 'acpi=off' is specified (which is the default as per mindi's ADDITIONAL_BOOT_PARAMS, so restore fails with this kernel). I have filed bug #406809 which may or may not be related to #389931.
  • The issue with booting a (NTFS) Windows partition failing after a restore appears to be normal as per the ntfsclone manpage:
    Usually, Windows will not be able to boot, unless you copy, move or restore NTFS to the same partition which starts at the same sector on the same type of disk having the same BIOS legacy cylinder setting as the original partition and disk had.
  • I have tried a few things playing with parted and ntfsresize, but so far the only thing that works reliably in order to get Windows to boot is resizing the partition using gparted. I still have to figure out what it is that gparted does differently. (If you know, please tell me!)
Off to bed now so that I'm fine and dandy when I pick up Bruno from the airport in the morning for lca2007. :-)

Erich Schubert: DoSing spammers?

Has anyone experience with DoSing spammers by deliberately flooding them with incorrect email addresses? I mean, it should be easily possible to put new (fake) email addreses up on web pages in a huge scale (actually this is an old idea of deterring spammers). Any spammer grabbing them will have his database grow somewhat out of control. At some point they'll probably notice that you have been providing them with bad data, and maybe drop all of your domains' email addresses harvested? Or do they just not care?

Stefano Zacchiroli: tickets for debconf7

DebConf7: tickets bought! I did it: yesterday I bought the plane tickets for DebConf7. I'll arrive there (from Milano Malpensa, MPX) on June 14th for leaving on June 24th. This year I decided not to attend the DebCamp since the beginning, partly due to the likelihood of university duties in June (and 3 more days can mean a lot), and partly because I'm convinced that the first days of DebCamp are not that productive/fun. Last year that was the case .... and no, not only for the network issues. Other Italians attending the conference and willing to share the plane trip can have a look at my post on debian-devel-italian@l.d.o for more info. See you in EDI. P.S. do we already have a Wiki page for stating who/is-arriving/when? Or are the information submitted in Pentabarf going to be disclosed anytime before the conference?

Manoj Srivastava: Mail Filtering with CRM114: Part 3

Uphold, maintain, sustain: life in the trenches Now that I have a baseline filter, how do I continue to train it, without putting too much of an effort? There are two separate activities here, firstly selecting the mails to be used in training, and secondly, automating the training and saving to the mail corpus. On going training is essential; Spam mutates, and even ham changes over time, and well trained filters drift. However, if training disrupts normal work-flow, it won't happen; so a minimally intrusive set of tools is critical Selecting mail to train filters There are three broad categories of mails that fit the criteria: 1. Misclassified mail This is where human judgement comes in, to separate the wheat from the chaff. 2. Partially misclassified mail This is mail correctly classified overall, but misclassified by either crm114, or spamassassin, but not both. This is an early warning sign, and is more common than mail that is misclassified, since usually the filter that is wrong is wrong weakly. But this is the point where training should occur, so that the filter does not drift to the point that mails are misclassified. Again, the mlg script catches this. 3. Mail that crm114 is unsure about This is Mail correctly classified, but something that mailreaver is unsure about -- and this category is why mailreaver learns faster than mailtrainer. Spam handling and disposition Spam handling schema. At this point I should say something about how I generally handle mails scored as Spam by the filters. As you can see, the mail handling is simple; depending on the combined score given to the mail by the filters. The handling rules are: So, any mail with score less than 15 is accepted, potentially after grey-listing. The disposition is done according to the following set of rules: In the last 18+months, I have not seen a Ham mail in my realspam folder; chances of Ham being rejected are pretty low. My Spam folder gets a ham message every few months, but these are usually spamassassin misclassifying things; and mlg detects those. I have not seen one of these in the last 6 months. So my realspam canary has done wonders for my peace of mind. With ideally trained filters, spam and realspam folders would be empty. mail list grey I have created a script called mlg ("Mail List Grey") that I run periodically over my mail folder, that picks out mails that either (a) are classified differently by spamassassin and crm114, or (b) are marked as unsure by mailreaver. The script takes these mails and saves them into a grey.mbox folder. I tend to run them over Spam and non-Spam folders in different runs, so that the grey.mbox folder can be renamed to either ham or junk, in the vast majority of the cases. Only for misclassified mails do I have to individually pick the misplaced email and classify it separately from the rest of the emails in that batch. At this point, I should have mail mbox folders called ham and/or junk, which are now ready to be used for training either crm114 or spamassassin or both. Processing these folders is the subject of the next article in this series.

13 January 2007

Erich Schubert: More on configuration files

Gunnar doesn't like the idea of recommending XML for configuration files, why do you need to be able to edit a XML-file with a non-XML-aware editor if you don't like the raw syntax? If you don't like the raw syntax, use an editor that gives you a different representation. Or use some transformation. Write a tool that converts YAML to XML and back, if you like YAML better. (Btw, this is another reason to use a common library for configuration file handling - let people choose their configuration file formats!) Writing XML in the raw with a good schema-aware editor with syntax highlighting is actually quite nice. Have you ever edited an XML file with eclipse? You really should do that... I once opened my Openbox (a rather minimalistic window manager) configuration file in eclipse. Guess what, it was giving me useful syntax completion! It had loaded and used the referenced schema file. openbox configuration in eclipse It's not as if I think XML is the ultimate thing; (nor is Eclipse an editor I'd use for configuration files; startup takes years and it frequently crashes for me. vim also has some XML support...) IMHO there is a lot in XML that should be stripped (such as attributes); I like JSON syntax better, except it's in turn lacking essential information such as character encoding, namespaces and schema information. I also don't thin JSON allows comments. But when handling information from multiple sources (and multiple schemes), XML is really useful. It removes most of the quessing needed for handling other formats. And that is what I'm precisely advocating: use standardized formats. Consider for example the apache configuration. Do you know of any tool that can parse the apache configuration files other than apache? Some parts look like SGML/XML, but they don't have much more in common than using < and >. When you are in need of automating something with apache, you'll be annoyed by this. If apache would be using something where you have a reliable parser ready for - that would be nice. Have a look at the xchat.conf configuration file. It uses "key = value", but they have these extra spaces there and don't use quoting, this means the file can't be loaded by many parsers, e.g. bash. Now lets use at buttons.conf - compeltely different syntax, "KEY value" blocks, separated by empty lines... Btw, note that configuration handling with XML to me means also keeping comments somehow... most applications will nuke any comments in their configuration files; which is funny since most configuration syntaxes do have a notion of comments, but did you ever come across an application using sh-style configuration (i.e. that you could source in bash/dash/zsh), that keeps comments? P.S. The YAML homepage is not YAML. It's valid XHTML. Only if you strip out all the tags and attributes and use only the text content within the /html/body/pre tag, then you have something which probably is YAML. This compatibility with HTML is probably why XML was at all successful.

Holger Levsen: The trip to planet LCA

5 days ago I started my journey to Australia on monday afternoon by going to Hamburg airport. The security at London Heathrow was disgusting and silly as expected, but I won't go into much more detail here, just one thing: the memory of losing my beloved Free Software Foundation pullover last summer at a security checkpoint at LHR made me kept checking my stuff all the time, which somehow fitted very well in the paranoia... But I should also mention the one plus thing in Terminal 4: a nice smoking lounge with power sockets and comfy chairs. Anyway...

The flight entertainment system in the 747 was very cool, with lots of movies and documentaries on demand, so that I didnt bother to read any of the books I packed nor used my laptop batteries completly, though the latter was mostly due to the lack of space in the plane and having worked quite a bit prior to leaving. So I watched four movies to not fall asleep in the (european) night and get into australian timezone, which worked more or less quite well. Not sleeping is a good way to switch timezones, but the side effect is sleepiness, doh!

Out of those four movies the only one really worth mentioning is "Little miss sunshine", a really great movie, very funny and quite insightful as well. See it! On my way back I might even choose to see it again :) I didn't really understand much of the english in "the black dahlia" but it was quite interesting to see how smoking once was ubiquitous as the war on terror is today :)

The flight itself was not as bad and boring as expected, they even thought about the poor smokers and made the whole plane get out in Bankgok, only to enter it again 30min later. Needless to say that it took those 400 people a bit longer...

BTW, and in case the famous lazyweb is reading: Kolkata (formerly called Calcutta) from 10km above really looked like it was swamped, but according to wikipedia this only happens in summer. Any ideas what I saw / why it looks liked this?

When I arrived in Sydney, I was not only welcomed by the sun and summer (yaaaaaay!!), but also by Sylvia, the (main) FOMS organizer, who was so very kind to come to the airport at 7.30 AM to pick me up (yaaay!). More about FOMS in another blog entry very soon to come.

12 January 2007

Gunnar Wolf: Configuration files for humans and for computers

Erich wonders about a sane way to reorganize the configuration file mess we have, going in fact farther than Aigars' previous rant on the topic: Not only it would be really desirable to do away with the dotfile-as-everything-but-more mess, it would be really, really nice to do it in a more or less standard way. Erich suggests four base configuration syntaxes - I won't reveal too much, as his message deserves being read as well ;-) But hey, I have a question here:
I know XML is well-established and well-supported, and I'm told there are a couple several hundred thousand people who think it is really cool and even human-editable. Still, I hate XML. Configuration files are often, yes, written by the programs themselves - But one of my most beloved features of Unix-like systems is that I am free to poke in them, as they are meant to be human-editable.
XML is not human-editable. I'm sorry, say whatever you want, but keeping XML valid and happy is... Just not for me. Why not pushing instead something prettier, and with almost the same feature set of XML, plus a much-enhanced readability/modifyability? Why not promoting my dear and beloved YAML? (Yes, the YAML project home page _is_ valid YAML)
Note: No, this only looks like a rant, but it is really a question. Honest!

Mike Hommey: Playing evil with VMWare ESX Server, part 3

For a reminder of the situation, see also: I finally had time at work to implement a solution for the problem. The result is a bit less than 400 lines of code, which I hope to be able to make free-as-speech. I’ll probably have tons of paperwork to do with my employer before that can happen… The program implements a fuse filesystem that you feed with a raw device image file (but I’m willing to implement more image file formats), and that shows the individual partitions as separate files, named “partn.fstype“. These files can then be mounted via loopback devices the standard way (which was not possible on vmfs for the reason you can find in my first post on the subject), with the benefit of not requiring offset adjustments (as when you want to mount partitions from a disk image), or some loopback device hack. Additionally, it has an internal Copy-On-Write mechanism so that it is possible to mount “dirty” ext3 filesystems (e.g. a snapshot of a mounted filesystem) without modifying the original disk image. Note that there is no way, yet, to keep these writes after unmounting the fuse filesystem. It uses libparted to handle the partition table reading, which means it will read any disk label types parted supports, such as BSD labels, sun partition tables, and so on. It doesn’t support LVM, though. Unfortunately, VMWare ESX server 3.0 being based on RedHat Enterprise Linux 3, only an ancient version of libparted is available. By the way, this version (1.6.3) had a pretty bad bug that made it impossible to use it for regular files instead of devices: it was trying to do a BLKGETSIZE (or was it HDIO_GETGEO ?) ioctl on it. To workaround this, I implemented my own PedArchitecture. It was somehow a revelation, because with similar mechanism, I can implement support for different disk image types :). Anyways, there have been quite some API changes in-between, so some updates will have to be done to the code… In other news, I started working on ext3rminator again. There may be a new release in a few weeks. Update: Thinking again about the ioctl issue, I’m wondering if vmfs couldn’t be responsible (again) for the failure, actually… I’ll check that on monday.

Next.

Previous.