Search Results: "ema"

2 May 2006

Simon Richter: How not to fall off the net?

As I don't have connectivity in the new flat yet, I'm looking for a sane way to read my email via GPRS. I can live with server deleted emails still being visible if it can save me having to transfer one megabyte of headers on opening a folder (like mutt does). Since I pay by transferred volume and not by time, it would fetch mails lazily. Anyone know of something that works?

Martin F. Krafft: The healing power of water

As previously mentioned, I apparently overchallenged my body just a little the last couple of days, eating mostly on the markets, where hygiene isn't really an existing concept. Without a "Delhi belly", I managed to overcome the symptoms, and I attribute most of it to dehydration, which I find had to explain given the amount of water I had been drinking. So this morning I went to buy electrolyte solution and drank a total of six litres before the cinema, and still have not had to go the bathroom. My body, which I can usually rely on very much in these parts (even to the point of digesting moderate amounts of the tap water here), must have been in dire need for salt and water. Now that it's refueled, it's not complaining anymore. ... which once again supports my theory that just water (with electrolytes at times) can cure way more bodily aches than the pharmacologists would like.

Martin F. Krafft: The Yangon cinema experience

I did leave the midday heat today for the cinema, but even though I wanted to buy the ticket already more than an hour in advance, it was completely sold out (and the cinema has 500 seats...). I ended up getting an upstairs seat for 1700 Kyats ($1.20) instead of 1000, and went to watch "The Myth" by and with Jackie Chan. The movie itself didn't strike my fancy. Imagine Jackie Chan and Indiana Jones tossed in a tumbler, and out comes this flick, a tale of ancient warriors, gravity defiance inside hard to reach caves, and love, of course, all interlaced with some ridiculous fighting scenes. Call me cheap or boring, but I certainly do prefer Jackie Chan in the streets of Hongkong, battling the mafia or other gangster clans, running up walls, and fighting Kung Fu as opposed to lances and swords. What made the movie an unforgettable experience nevertheless were the 499 Burmese in the room with me (or at least I could not spot another foreigner). The film was in English without subtitles, and most of the people (whole families, couples, little kids, elderly people) came for the fighting scenes and did not understand anything in between: most talked almost all the way through, the crowd growing louder as talking replaced the fighting, and their talk turning into rooting and laughing when Jackie picked up the sword again for the next butchery. The couple next to me were seriously making out, skin contact included, while the three guys diagonally in front of me were obviously drunk and got even more so during the flick. So in the end, I can't really say that I liked the movie, for I barely saw it. But I'll consider doing the cinema thing again, this time on the cheap seats down below, where the real party was apparently going on. "The legend of Zorro" strikes me as a good choice because it's probably pretty crap, judging purely from preview, actors, and director.

Martin F. Krafft: Asian honesty

This vacation may mark the pinnacle of my streak of leaving and loosing things. While still in Thailand, I lost my wallet, and today I left my Lonely Planet at the market, and dropped my USB memory stick while in the cinema. Both are basically easy money for resellers, but in both cases, people kept them safe until I fechted them. This brings back memories from previous trips... when I left my camera in a shop in Hanoi and the owner came running after me; when a streetboy ran after me because 5000 Vietnamese Dong dropped from my pocket; when just today, I accidentally used a 500 Kyat not to pay for a bottle of water (150-250 Kyats), turned to leave, and the seller stopped me to hand over the change. I realise these are little things, and all the touts and cheaters you kind find in most larger cities here (especially Bangkok) aside, I would have to say that the honesty of the people (which is undeniably Buddhist) is one of the major reasons I keep coming back.

Martin F. Krafft: Yangon

I am nearing the end of my trip, and have arrived in Yangon late yesterday. Fortunately, as I got to the airport, there was yet another change in schedule, and I only had to make one stopover in Mandalay as opposed to a second one in Bagan. And if it hadn't been for the French package tourists, wo were nasty (= unwashed, or with a really bad perfume), smelly (I think they all suffered from diarrhoea and couldn't control their exhausts) and rather obnoxious (= loud, and unwilling to speak English, aggrevating themselves why the Burmese wouldn't talk French to them), I might well have enjoyed the trip. I did finish Murakami's book as we touched down in Yangon, and I really enjoyed it. Give it a week, then I'll know whether it has replaced "Wild Sheep Chase" as my favourite of his books. One problem overshadowed the entire day, nevertheless, and I think it must relate to bad food the night before at the Four Sisters Inn in Nyaung Shwe (not meaning to badmouth them, such things can happen): Around noon, I started feeling nausea every now and then, and my stomach apparently meant to tell me that something's not right, my belly feeling hot to the touch. I was then sure I'd come down with another food poisoning, but so far (24 hours later), my body has not revolted yet and the symptoms are fading, so maybe it's strong enough to cope without sending me to bed for a day. Which would be rather unfortunate. The hotel, which I prearranged over the Internet, is nice, and in a very good location. Upon arrival, I tried to score new reading material at one of the bookstores but found them closed already, so I ate some food at the market (not giving my stomach a break, really), had a couple of beers at a small bar, and finally fell asleep to a crap action movie involving a kidnapping and many cellphones on the TV, with the intention not to get out of bed until I could not sleep anymore. And that I did. When I finally went to breakfast, it was almost 9 o'clock, which is averagely three hours later than the last two weeks, and tried to figure out what to do for the day. Of course, I am haunted by bad spirits because even here in Myanmar, which is not socialist (anymore), the first of May is still a holiday, meaning that most sights and shops (including the ENglish bookstore) are closed for the day. I'll thus consider just roaming the streets, getting out of the heat at noon to watch a movie at the cinema (which is supposed to be a big event on holidays), write some more blog entries, and then possibly hire a guide for Shwedagon Paya towards the evening, 2-3 hours before sunset. Thanks for reading along.

1 May 2006

Jurij Smakov: I would like to thank the Academy

Well, that’s it, folks. People who helped to make it happen are too numerous to mention here, but I would like to specially thank Joshua, Marc and Andres for guidance and mentoring, another Marc for being a great AM, and Joerg and James for doing awesome DAM work.

Martin F. Krafft: PR and the blog

My last entry from Bagan (which was a little too emotional in retrospect) got me an email response, stating that I am making too much fuzz about bringing clothing to Myanmar, especially because the amount really wasn't that much. And that it seems as if I am only carrying clothing to this country for PR reasons. It is true that I talk about this "mission" a lot, but it is also true that it means quite a bit to me, and that I am (or rather have been) going through some pains to accomplish it. And while I cannot deny a selfish component in what I am doing, the purpose is not PR, but rather the satisfaction I get from helping others. In that sense, altruism and egoism are very closely related for me. Apart, I am posting my thoughts to my blog, which is read by two kinds of people: those interested in what I am doing, and the readers of Planet Debian. The first group are invited to read as much as they want, which is what makes blogs -- a pull medium -- a very nice vehicle for a travel diary. I realise that the second group, the readers of Planet Debian, are somewhat involuntarily subjected to what I write. I have been encouraged by many people to post travel impressions to Planet Debian, as well as others are encouraged by many (including myself) to post off-topic stuff as well. It adds to the diversity, and renders Planet Debian as a great means to support us all and adds to the values of our community (which is more than a bunch of geeks hacking away, but has quite a bunch of social components). In addition, Planet Debian readers are certainly experienced with deleting or ignoring posts they don't care about, so I do not feel particularly guilty or imposing. I hope that my feelings here are on spot.

29 April 2006

Steve Kemp: Every. Day. Psycho.

The transition of my main desktop machine to udev seems to be complete. Thanks to the people that offered useful suggestions to my previous post. The only additional problem I had was the loop module not being auto-loaded, causing Xen to fail. (I use loopback files for the Xen instances. Less efficient, but easier to manage, etc). Friday was my last day of working at Noha-Systems / Intasys / Acecomm Solutions, so I’ve got the weekend off and then I start working at Bytemark on Tuesday. (Monday is a bank holiday in England & Scotland) Happily this means I can stay out late on Sunday, dancing naked on a hill at The Beltane Fire Festival on Sunday Evening. Result!

28 April 2006

Martin F. Krafft: Rain

I passed the remainder of yesterday essentially doing nothing, not even reading (I am trying to make Murakami's book, my last one, last as long as possible -- it's really good and has me thoroughly in its grip). So instead, I roamed the streets and observed people, tried talking to one or the other, but unfortunately did not get very far. What makes it all a little different is that the Burmese always say "ja" and shake their head, whether they've understood or not; effectively, this means paying attention that e.g. the motorcycle driver is going the right direction and aborting the trip as soon as you sense a misunderstanding (despite the convincing and assertive "ja"). Following breakfast (Bamar-style Mohinga, a noodle soup with seafood and unidentifiable cracker-thingies I'll just call corn flakes for now, vegetables or whatever else the cook decided to put in -- I've developed a strong liking to this dish in the morning), I took a taxi to the airport to board my flight to Heho, from where I would continue to Inle Lake. I still travel on a budget, so you may be surprised that I am hopping around the country with planes, but the $22 I had to pay for this trip (incl. taxes) and the 10 hours I saved compared to the $8 bus ride were well worth it to me. After all, I only had a few days in this country and tried to maximise the exposure I experienced. One thing is for sure: I will come back. Pwin Oo Lwin was nice, but I did not manage to go further east; A day in Mandalay is surely not enough. Bagan didn't do much for me, so I don't think I'll return there, but Inle, as well as the countless regions I skipped, including the pictoresque and untouched beaches, really make me want to plan my next trip now already. Arriving in Inle, it was raining, and the rains intensified towards noon. I am here to stay for two days, and the weather is unlikely to change, so after confirming that I could not take the next flight a day earlier, I bit the bullet, put on my rain jacket and sandals, rented a bike, and went off to visit the cultural museum, also known as the "Museum of Shan Chiefs" -- which was kind of disappointing. Set in a beautiful house (the sight of which was worth most of the $2 entrance fee), the items on display were scarce and almost exclusively labeled in Burmese. None of the folks working there seemed to be inclined to show me around, so after 20 minutes I left into the pouring rain, stopped by at a kitchen for a Burmese-style beef curry with jack fruit soup, and eventually returned to my hotel. I am staying at the Aquarius Inn, a cute place with simple and clean rooms, a cozy porch, and a little garden out front. The staff, a girl maybe a little younger than me, is very attentive and speaks good English, studies geography at university, and took a particular liking to making me feel good for the two hours I decided to flip pages in Murakami's book on the front, bringing me tea, fruits, and little snacks on a continuous basis, always with a huge smile on her face, and eager to help organising whatever I would want to do during my stay in Inle. But with the rain coming down non-stop, I am somewhat puzzled as to what I should do. The compulsory thing here is at least a day on a boat out on the lake, visiting floating villages, as well as the peculiar rowing style the people from this area developed -- using one arm and one foot instead of two arms --, hoping from floating market to floating market, and enjoying the scenery of the Shan hills surrounding the river. The Lonely Planet describes the places as a mirage. But with clouds and fod and water from above, it loses all its charm, and that's not because I fear getting wet. Not that I am bored or afraid of being bored, I'll just have to make sure to find some alternative programme, which could include spending the morning watching the market, reading, and talking to some fellow travellers who are in a similar situation as myself, but readily indulge in elaborate discussions on scientific topics, it seems. This much as an update. Internet access here is even more difficult than in Bagan, so all the other thoughts I meant to push out to this blog have to wait until Yangon, Bangkok, or Zurich. Thanks for reading along. PS: I don't think I'll travel with Lonely Planet again, it's just too inaccurate, and I disagree with their approach to research (e.g. not reconfirming facts researched a year before printing before the book goes to print), and happened upon too many errors this time around. Plus, I have sent them elaborate updates on four previous trips and have never heard a single word from them, no acknowledgement, thanks, nothing. Maybe I am spoiled by Open Source development. I have been recommended the Rough Guides, so I'll give those a shot for the trip to Debconf in Mexico.

Amaya Rodrigo: Thanks

To all those who emailed, called, /queried me: Thanks. Your support is really appreciated.

To all those who shared similar experiences with me: thanks. It s good to feel understood, to feel that I am not the only one that gets torn apart for the loss of a small furry friend.

There was a huge blackout in Madrid yesterday. No subway, nice traffic jams, fights for taxis (I witnessed) and, of course, servers going down. Carlos took care of the remains of Emacs and yours faithfully in the midst of a wonderful Downtime: Lilo not booting, all is bad issue in his biggest customer. H ctor and Bego run upstairs (4 floors, that s true love), and comforted Vi and me. A very special, tall, blond, skinny, wonderful g ero spent most of the afternoon on the phone with me. Even Chicho, my ex, called and cried with me. Thank you all.

Emacs had a happy life, she was a spoiled cat, a very happy and very spoiled cat. She lead a (short) good life, a much better life than, sadly, too many humans. I am starting to accept her loss and feel some peace, after a dreadful night.

I called the vet today to find out how to ease the pain for Vi, the whole team was devastated with the news. Their advise was to get another furry feline friend for Vi as soon as possible, and even told me about a two months old that s up for adoption, but it s not the best moment right now. I ll be leaving for Mexico in a week, and I am not comfortable with the idea of leaving two furry strangers alone for two weeks. I already feel terrible about leaving Vi for so long, specially now, but H ctor and Bego will, again, take good care of him and spend plenty of time at my apartment to keep him company.



There s laundry hanging still out, and I can t get to open the fucking window.

Andree Leidenfrost

Amaya -- I am very sorry to hear about your loss of Emacs.
.

Even more so, as Emacs and my cat shared the strong liking for bathtubs. I dread the day when my cat follows on the same path - at least she's already about 15 and so has lived her life. I think it's going to be a gourmet can of her favourite this weekend. Oh well...

27 April 2006

Joey Hess: emacs

Amaya -- so sorry about Emacs. I had two cats for a couple years, and lost Felix during a move back East, The saddest thing has been that Leo lost a brother to play with and had to become sort of a loner, and rely more on human companionship. Last night Leo suprised me, I was idly swinging my headphones around and he began to play with them and we had a good old style tussle like we used to when he was a kitten, and I thought, hmm, I should probably get him some proper toys again, cats never really outgrow that even if they get to go outside and hunt small furry creatures and butterflies and annoy other cats. Wish his brother was still around.. Anyway, I think you should still take Vim to the beach sometime.

Amaya Rodrigo: In memoriam

She was the hunter, the jumper, the smallest one. She was the first to join me in bed every night. She was the one that sat on my arms when I was at the computer, the reason of all my misspellings on IRC. She was the one that preferred peeing on the bathroom basin than on the litter box. The one completely crazy about getting in the bath after my shower, the one who liked to pour the water out of her drinking dish. The one that purred the loudest, the one that sucked on my clothes, the one that made strange bird noises.

Today I came home from work and bad, terrible, news were there for me. I would have liked to blog about how much certain rubito makes me smile, or the Extremadura Sessions, or any of the wonderful stuff that has happened to me lately.

I was in such a good mood when I arrived home today. Well, I admit I was a bit pissed off. While waiting for a green light to cross the street a stupid pigeon shit on my sweater. But that doesn t matter anymore, because cats die stupids deaths and Emacs had jumped after another stupid pigeon, from a seventh floor, through a window that was open only because the lady that cleans my house was doing the laundry I had been to lazy to do myself. Nobody s fault. But she s gone. And I loved her. She would have turned one year old in July, but cats die such stupid deaths. She had to jump out of that window and I am so angry I want to shoot every pigeon on the face of earth. I was one day late, I was building screens to protect the windows with, and this was the only screen left. I was going to finish that very window today.

     

Vi looks so lonely, the house feels empty... And she will be so very much missed.

Ranty, ErConde, please take good care of her.

Ross Burton: GUADEC Rejections

Christopher Aillon says:
Well, I just got back from the Desktop Linux Summit to find an email awaiting me telling me that my proposal for a talk on NetworkManager was rejected this year for GUADEC. ... I can see why getting contributors into GNOME is rather difficult. Even though I'm going to continue working on GNOME because I'm paid to, it's rather disheartening to go through this. Looks like it will start to be a work-only thing instead of a work-and-free-time thing. To all you who have somehow made it into the "in crowd", have fun in Catalonia. I probably won't be going.
To be fair there were two Network Manager talks submitted, one by Christopher and another by Robert Love. What is worse: telling one of the two that their talk isn't accepted, or having two talks at GUADEC on the same subject? NP: August and Everything After, Counting Crows

26 April 2006

Joey Hess: half time

In other words, we could now produce our 1948 standard of living (measured in terms of marketed goods and services) in less than half the time it took in that year. We actually could have chosen the four-hour day. Or a working year of six months. Or, every worker in the United Stares could now be taking every other year off from work-with pay.
-- The Overworked American In a way I've managed to make that choice. I currently work four hours a day on paid work; over the past 8 years that's been my average thanks to taking several years mostly off work. Of course things are really more complicated, since I spend a lot (often more than four hours) of my leisure time on technical "work" that's just as demanding (if less stressful generally) though not done for money, and since there's a definite bleed over between what I'm working on on my time off now and what I'm likely to be paid for doing in a couple of years time. The article suggests that we would need to cut our desired standard of living in half to work half time. While mine is probably lower than average, it's not that much lower, at least for this area; I have to make up the difference by being a more desirable employee than average, and part of how I do this is "banking" my contributions in my free time. This is an aspect of free software that many people don't seem to get, that your contributions can pile up over time and end up being personally beneficial later. Of course health care is really problimatic when working a reasonable amount of time, such as four hours, in America. You have to budget at least 3/4 your health care costs to be paid yourself, not as a benefit. Working in Europe begins to seem really attractive, etc.

Wouter Verhelst: GCC 4.1

The m68k port has been having issues with GCC 4.0 since its inclusion in the archive. Although many of the bugs that spawned from that update have since been fixed, there are still a lot of them; I suspect the high number of GCC 4.0 ICEs is the main reason the m68k port still hasn't made it back as a release candidate architecture. Many of the issues with GCC 4.0 seem fixed in GCC 4.1. The most recent example is QT4, which did not build with G++ 4.0, but did build with G++ 4.1. Another particularly problematic example is some KDE-related thing (the name of which I can't remember offhand) that didn't build with GCC 4.0 due to an ICE, and didn't build with GCC 3.4 either, due to a different ICE. However, it's hard to say for sure whether GCC4.1 really is an improvement if you haven't tried using it on an autobuilder. For that reason, I just installed gcc 4.1 in the buildd chroots on jazz and quickstep, the experimental autobuilders, and made them the default compilers. Hopefully that'll work better than GCC 4.0.

25 April 2006

Zak B. Elep: On Pedagogies

I feel a bit sad. Is FOSS really just going to be an alternative forever? Or can it break out of the trappings of alternatives, and make a world a better place? =) Instead of posting this to BiOS, I felt that it would be better posting it here; feel free to comment, feel free to ignore ;-)
Get a grip on reality. Even windows is an alternative to us FOSS loving peeps. Saying that FOSS is an alternative IMHO is a good marketing/advocacy tactic to get potential new users to get their feet wet on FOSS.
And now you are risking yourself to sounding hostile. At the risk of sounding like a bad guy, I have been shifting in between the planes of Ubuntu and Windows via cold water over the past few weeks; wala lang, I just wanted to be reminded of how it feels to be shackled’, so to speak. But really, I’m doing this because I can, and as a result I’m having a rocking time appreciating the subtleties of both Windows and Ubuntu ;-) So I guess I’m not so far removed from reality as you seem to portray. Now, let me play the simpleton, who’s really an astute participant. If a FOSS desktop, say Ubuntu’s Gnome, is supposed to be as easy as Windows, then why should I bother learning it at all, when I can simply transfer my old Windows skills to Ubuntu without much a problem? Another question: why should I be motivated to switch to FOSS at all? Perhaps you can dismiss this as FUD, but you are none the wiser when your reasons for switching to FOSS is only because that it is an alternative, that it is cheap (hard to get cheaper being free), and that its mandated by the local government. Among other things petty and cruel. Indeed, these are the questions people ask to us FOSS people, even long after the good shows (OSForum, SFD, LinuxWorld, etc.) have their run. As a matter of fact, I keep asking this to myself everyday, for the past 3 years of using GNU/Linux everyday. And every single day ends with an answer: “I use FOSS because it empowers me to surf,chat,email,program with relish.” For many other people, unfortunately, they don’t even get around to use a FOSS system, much more a CLI; thence they just make do with “I use Windows because that’s just what I have.” But I don’t want to force people to switch (or even just use) FOSS because of those reasons. I want them to use FOSS exactly because it empowers them, allowing them to get their jobs done effectively and efficiently. FOSS isn’t out there to deceive, as you so imply, maybe unwittingly. Well, perhaps, sometimes it is, but more often than not, its there so as to convey a deeper truth: that you can do things with it, while at the same time feel empowered, and FREE, with it.
Once they get their feet wet, it would likely be a natural progression for these users to realize the benefits that FOSS can offer (full-fledged, stand-alone and yet cooperative at the same time, approach to solving real problems). The key here is to just even entice the user to try, to take it for a spin, that would be a big step towards FOSS land.
Yes, getting feet wet is a good thing, it has its purpose, namely, for a person to acknowledge that he’s stepping on water, and preparing for a plane shift ;-) But from the point of view of a swimming instructor, getting feet wet is not good enough; it is better to get a person wet his head into the water, because that’s the time you know that he’s ready to learn how to swim, even if he doesn’t feel he’s ready. The same is true for newbies wanting to dive in like in that Linux Crash Course. It is not good enough that a newbie be exposed only to just one interface, just one true way (yeah, that coming from an Emacs guy ;-) I do not want them to slave away moving the mouse to and fro, doing some stuff under a GUI when they can just do the same thing in less time by just a few keystrokes. Perhaps, most wouldn’t be ready to use a CLI immediately to do some hand-hacking, but, like air in the planet, its always there, even when you don’t have an immediate need for it (air, however, is something we always have an immediate need for ;-) And neither do I recommend learning the intricacies of the shell, whether be it Bourne, Korn, or Peanut shell. Indeed, there’s nothing wrong about being at least bilingual; I want my audience to learn just a little bit of everything ;-) I want them to be aware, that there’s more to FOSS than what we’re just showing them. I don’t want them to deny the freedom and potential of looking what’s within a GNU/Linux system, unlike the usual situation of getting a brand-new PC with just Windows in it, with not a clue as to how things work within it. It’s like showing what’s under the hood of a car, but unlike the casual driver who only knows just how to drive it, the FOSS user is much more free to tweak whatever pleases; yeah, the danger of overheating is there, but with care, that could be addressed. In short: I don’t like this kind of false FOSS advocacy, when you’re effectively denying the chance for other people to improve and empower themselves, just so because CLIs seem to be so complicated to be taught in a single day :( No; I don’t think a shell has to be complicated and convoluted and inscrutable, like governments, among other things; rather, they are their own kind of fun, like finding a sleuth solving a case in a whodunit, or winning the World Cup. I’m no longer wanting to be in the business of long, impassioned, flamewars (is this thread one?) so I’m stopping here. Like I said earlier, it’s a speaker’s call to make adjustments on his presentations so that it reaches its target audience effectively and efficiently, just as it is a call for a FOSS user to use a GUI or the CLI to solve a problem. Besides, I have a swimming class to teach tomorrow ;-) Dive in!

Joey Hess: html sanitisation

Now that I've finished adding email subscriptions to ikiwiki the only thing blocking me finally making an official release of it is html sanitization. This is the part I've put off till last because it's the part I hate. Somehow the web has evolved a backwards security model that wants sites with dynamic content to be responsible for policing that content for things that could cause security issues, instead of just making browsers actually secure so that no possible html can be a security issue. Which is of course absurd, but the various types of potential cross site scripting attacks that users of your wiki will be vulnerable to if it doesn't try to sanitise its html are nothing to laugh at. So everyone is left having to sanitise any untrusted content that they put up on the web. In my experience, almost everyone does it poorly, I've even found XSS holes in well-designed websites like Advogato. It doesn't help that browser coders are busy adding new features^Wholes to their web browsers, which everyone then has to update their sanitisers to block. I don't like participating in security arms races, so while I am evaluating various html sanitisers right now, adding html sanitisation to ikiwiki is not a pleasant idea, and I am tempted to punt on it, document the issue, and refer anyone experiencing problems to the authors of their web browsers. Sigh.

Erich Schubert: More thoughts on XML differencing

Last year, I gave a talk on XML differencing at the Extreme Markup Languages 2005 conference in Montr al. Since then I didn't have much time to work on that project. The prototype app is opensource, and available at ssddiff.alioth.debian.org. The slides are there, too, and so is a link to the article. XML differencing is actually a two phase process; I've been mostly working on the first phase. Traditional approaches intertwine the two phases. In the first phase, you build a mapping between the two documents. I called this a "nodeset correspondence" in the slides. Basically you decide which node from the first document corresponds to which node in the second document. When you have found this mapping (the "marked" output writer of ssddiff will output this information in form of two XML documents marked with numbers in a certain attribute), the actual differencing is done. But much of the work remains. When doing a diff, the output (format) is just as important as the actual result. While the "marked" output explained above is very precise, it doesn't give the user an overview of what has changed in the document. That's why I added two more output writers, the "xupdate" writer and the "merged" writer. The "xupdate" writer does obviously produce an XUpdate script. It goes a long way to optimizing the output (read: minimizing the number of operations), and employs a longest-common-subsequence algorithm for that (LCS is what regular diff uses on lines!). Fortunately we already have a 1:1 mapping, so this boils down to a longest-increasing-subsequence which can be computed very efficiently. Then the writer employs some XUpdate tricks to do real moves (by storing parts of the tree in variables to be inserted later), and avoids collapsing of text nodes (it will eventually insert dummy nodes for that). But all this gives just a glimpse of the complexity I've encountered in what I considered to be a "remote" part of my project. It isn't even described in the paper, because I just hacked this code together to work somewhat (attribute handling is incomplete IIRC). The "merged" writer turned out to be much more powerful than I had imagined and actually rather easy. After "merging" two version of an HTML document, I could add some CSS rules and have a visual presentation of the changes in my browser. Very cool. I'd love to add this html merge functionality to the prototype, but I didn't have enough time yet (you'll find some refactoring of the merged writer in SVN though to get there someday). But let me get back to the difficulties in the "XUpdate" writer. Not all of these difficulties are actually of technical nature. It is (like with the semantics of differencing) a matter of the intended data model and use. When you are doing a diff to be applied by a computer (e.g. via XUpdate), you may have the requirement, that the resulting document is identical to the original document. In that case, the diff is likely to have to restore whitespace. If you are interested in analyzing the differences, you will want to skip any irrelevant information. Let's assume we have an address book:
<abook><entry name="tom" /><entry name="jerry" /></abook>
Ordering of the entry nodes is likely to be irrelevant. You address book applications will sort the entries on demand. So a "semantic diff" shouldn't include any changes to the ordering of "entry" nodes, should it? The XUpdate writer doesn't have any functionality in place to skip such changes from being written to the output file. This will likely be not possible without some DTD magic and extra user information. However, to have the benefits of the "-u" context option of good old "diffutils" - fuzzy matches, and somewhat reliable merging of changes without having all revisions available - such semantics are needed, too. But this will even further increase complexity of the output writer, which for example would need to detect somehow that the "name" attribute in my address book is a unique key, and therefore xpath expressions like /abook/entry[@name='tom'] are preferrable to expressions such as /abook/entry[1], which will easily break when merging. The specification of an "XUpdate-replacement with context information" is probably a whole thesis in itself, I guess. P.S. I'm occasionally asked about a Java version of ssddiff. Sorry that I have to disappoint you there. First of all, I'm very short of time. Then I'm not too comfortable in Java, and I estimated that the Java version would need at least twice as much memory, because of certain optimizations I can't easily access in Java that I can just hide in a template in C++. And memory is the key limiting factor at least in exact mode.

24 April 2006

Erich Schubert: RSS needs threading.

Please correct me if any of RSS/Atom/etc. do already have threading. On a mailinglist I'm on (large number of subscribers, and often threads become quite long but only interesting for like 1% of subscribers, but with days with now new mails inbetween) there is a discussion every now and then by people who'd prefer a forum. A forum however is a totally non-working solution. First of all, web UIs (even Ajax, Web 2.0) suck. None offers threading as comfortable and smooth as a real email reader such as Evolution or Thunderbird (Outlook seems to have quite bad threading, or disabled by default, thats why many novice users think forums do better threading...). Secondly, a forum requires you to frequently visit it, whereas email will patiently sit in your email folder waiting to be read, just like your regular email. That is much more workeable with an increasing number of lists/forums. You can easily be subscribed to 20 mailing lists. Can you imagine visiting 20 forums every day? Even with smart browser (e.g. Galeon that can open a bookmark folder into tabs, did I mention IE sucks?) this is quite a pain. Now imagine that some of these forums are inactive for weeks. Visit the forum just to see that there are no new posts? Now RSS comes into mind. But for a Forum? Should it list every post? No, it needs to have thread support, so I can easily kill whole threads. Or I'll just stick with email and tell everyone who wants a forum to fishing. Or write a forum with reasonable email support. Oh, and RSS doesn't solve the writing problem either. No, RSS is not the answer. Email is. Update: A couple of people have send me emails about NNTP/Usenet/News. While there are excellent clients for it available, and the distributed nature is also a nice feature, it also has drawbacks. For example, you basically need to setup a separate service (especially if it's a private newsfeed, and you can't use gmane), which is much more difficult that running a mailing list or a RSS feed. You can run a RSS feed with basically any provider. You can get a private mailing list with many. Then you usually need to setup a new profile for each NNTP server, because it's designed totally around the server model, not single groups. Furthermore, while you can usually access RSS feeds with your regular web browser (in form of their HTML counterparts, or some built-in filter), and mailing list with your email program, users need separate software for using News at all. (Granted, many email clients can do news) Oh, and then people seem to be afraid of NNTP, unfortunately.

Next.

Previous.