Search Results: "bab"

23 January 2007

Raphaël Hertzog: More fun with Linux and serial ports on slow hardware

This is a never ending story for me. The first time I’ve had problems with Linux’s handling of serial UART dates back to 2005 (see my previous blog post on buffer overruns). At that time I could improve the situation by applying two patches (kernel-preempt and low latency). One year later, I have a situation where the buffer overruns are again easily reproducible at slower baudrate (54 kbauds), arguably there’s more than a serial application running this time, and it looks like the load generated by other processes (mainly watching digital I/O) renders the system less reliable with respect to its handling of serial ports. This time I follow the advice to try out the 2.6 kernel because many “real-time improvements” (coming from the -rt branch, check its wiki) and “embedded improvements” (coming from linux-tiny) have been merged. So I tried the stock kernel with very bad result. Results are better than the stock 2.4 but they are worse than the patched 2.4. So I decide to try the -rt patch on 2.6, but this patch doesn’t work on my CPU card and my bugreport didn’t lead to any fix (nobody responded even though I tried hard to include the necessary information and I was ready to do whatever I would have been asked to try). At the same time I explain my problem on the linux-kernel mailing list. The discussion doesn’t answer my questions but still brings two ideas to try out. In the end, with two simple tweaks to the stock 2.6 kernel (mainly configuring the UART to send the interrupt as soon as the first character arrives, instead of waiting for 8 chars to accumulate in the FIFO) I have been able to get something better than the patched 2.4. And it turns out my first choices for the 2.6 kernel configuration have not been very wise so the comparison between stock 2.4 and stock 2.6 above doesn’t mean much. Unfortunately, even if better than the patched Linux 2.4, it still doesn’t give good results in some conditions. So my primary question remains: is there a way to patch my kernel so that it will handle the serial related tasks (servicing interrupts from the UART mainly) as its primary job ? I don’t mind if such a change impact negatively the speed of the system if I can make sure that my serial exchanges are reliable. And by reliable I mean of course no buffer overruns, but there’s a second similar problem that has been discovered: when using software handshake, the system can send out between 10 and 25 characters after the partner has sent its XOFF. Sending up to 6 characters after the XOFF is ok, more is asking for troubles because the UART on the other side will probably encounter a buffer overrun… If you have any idea on how to resolve my problems, by any means, let me know.

Ian Murdock: Babies, bath water and open platforms (cont.)

More Knowledge@Wharton: “Following the model that made Microsoft’s Windows so successful, Microsoft licensed PlaysForSure to multiple hardware vendors of digital music players. ‘We thought that was a brilliant strategy — [develop] an open ecosystem, get a lot of people [to support it].’ What happened? As Ballmer puts it, ‘In this particular case, the whole was not bigger than the sum of the parts.’” As I said the other day, an ecosystem is never the sum of its parts it s either a whole lot more or a whole lot less. Microsoft was decidedly on the wrong side of the equation this time. Yes, Microsoft did what it had to do to compete effectively. Question is, will this make it harder for Microsoft to build the next ecosystem? And did the tactics Microsoft used to benefit from the last one play a role in the outcome this time? (Via Mary Jo Foley.)

Erich Schubert: Limiting inbound traffic

... is far from trivial: you are not on the senders side, and not every protocol (in fact very few) allow rate limiting. Not to speak of limiting the total of multiple connections. Basically you'll have to accept that the sender is sending the data at it's own pace. However, the TCP part of "TCP/IP" is designed in a way that it does a fairly good job at detecting bottlenecks. The basic principle is this: when a packet is received at the destination, a confirmation will be sent back. By adjusting the rate of packets going out to match the rate of incoming "received" message (and to minimize the number of lost packets that need to be resent), TCP/IP connection can adopt to the slowest link in the chain. This is how incoming traffic shaping works: incoming packets are held back (or even dropped; however holding back packets might also lead to dropped packets somewhere up the stream), which in turn will limit the speed "ACKs" go out, and thus (hopefully) the speed data is pushed down to us. It's not perfectly reliable, and by design won't work well with short-lived connections and non-TCP-traffic. But it can still come in handy. We have a shared internet connection with 2 mBit. That usually is fine, but our router isn't very smart. When I'm using up all bandwidth for a longer timeframe (say, apt-get upgrade with new openoffice and tetex), the other users will suffer from a serious performance impact. One of them is often playing games online, and eventually gets kicked out of a game server because of his bad roundtrip times. By limiting my incoming traffic rate, I can hopefully keep the connection useful enough for him. In my tests, it worked pretty good at keeping my bandwidth useage down. The remaining unused bandwidth should allow his game data to pass through without larger extra delays. Here's the short script I'm using:
tc qdisc replace dev ethWIFI handle ffff: ingress
tc filter replace dev ethWIFI parent ffff: protocol ip prio 50 \
  u32 match ip src 0.0.0.0/0 police rate 1500kbit \
  burst 10k drop flowid :1
tc qdisc replace dev ethWIFI root tbf \
  rate 1500kbit latency 25ms burst 10k
Don't forget to adopt it to your needs, you probably havn't renamed your interface to ethWIFI and might want a different valye than 1500kbit.

Erich Schubert: Limiting inbound traffic

... is far from trivial: you are not on the senders side, and not every protocol (in fact very few) allow rate limiting. Not to speak of limiting the total of multiple connections. Basically you'll have to accept that the sender is sending the data at it's own pace. However, the TCP part of "TCP/IP" is designed in a way that it does a fairly good job at detecting bottlenecks. The basic principle is this: when a packet is received at the destination, a confirmation will be sent back. By adjusting the rate of packets going out to match the rate of incoming "received" message (and to minimize the number of lost packets that need to be resent), TCP/IP connection can adopt to the slowest link in the chain. This is how incoming traffic shaping works: incoming packets are held back (or even dropped; however holding back packets might also lead to dropped packets somewhere up the stream), which in turn will limit the speed "ACKs" go out, and thus (hopefully) the speed data is pushed down to us. It's not perfectly reliable, and by design won't work well with short-lived connections and non-TCP-traffic. But it can still come in handy. We have a shared internet connection with 2 mBit. That usually is fine, but our router isn't very smart. When I'm using up all bandwidth for a longer timeframe (say, apt-get upgrade with new openoffice and tetex), the other users will suffer from a serious performance impact. One of them is often playing games online, and eventually gets kicked out of a game server because of his bad roundtrip times. By limiting my incoming traffic rate, I can hopefully keep the connection useful enough for him. In my tests, it worked pretty good at keeping my bandwidth useage down. The remaining unused bandwidth should allow his game data to pass through without larger extra delays. Here's the short script I'm using:
tc qdisc replace dev ethWIFI handle ffff: ingress
tc filter replace dev ethWIFI parent ffff: protocol ip prio 50 \
  u32 match ip src 0.0.0.0/0 police rate 1500kbit \
  burst 10k drop flowid :1
tc qdisc replace dev ethWIFI root tbf \
  rate 1500kbit latency 25ms burst 10k
Don't forget to adopt it to your needs, you probably havn't renamed your interface to ethWIFI and might want a different valye than 1500kbit.

22 January 2007

Petr Rockai: how things are

(17.1.2007) I haven't written a blog in aeons. I have been busy with life, as many of you know. For one, i have a girlfriend (her name is Lucy)... And, no matter what i have thought not so long ago, things are better than ever before. She's probably all that i have been looking for. We spend most of the weekends together (she lives and studies in western Slovakia, while i'm in the west-neighbouring Czech Republic (Moravia) -- somewhat surprizingly, this doesn't seem to be a problem so far). Anyway, that's probably boring for those of you that aren't me (ha), so to move on to other things. Work and school is busy these days (exam tomorrow (aaagh)), so i don't have much more free time than that i spend with Lucy. Despite that, i have done some cleaning-up on libept and adept codebases after importing them (with tailor) into darcs. Will blog about that separately i suppose, when i have more time and more stuff to report on. The exam tomorrow is on graph algorithms, and i should be actually studying instead of writing this, but i never change, do i? (19.1.2007) So the results of the exams will be available following monday. No idea whether i'm going to pass or not though. Anyway, i am sitting in a train to Slovakia, alone in a compartment, the window open wide, wind in hair. Sun is obscured by clouds at times, air is somewhat colder than it used to be. Maybe winter will finally arrive? Another exam is monday (same day as i get the results from yesterday's one)... Algorithms for NP hard problems. I'm still somewhat undermotivated to learn, and apart from that i should be hacking dmeventd (work stuff), working on my bachelor's thesis, learning to play a (soprano) recorder, learning russian and probably a ton of other things. Ah and adept, libept and friends need some attention too. I suppose i am a lost existence, given my total laziness. The train is speeding towards Breclav, last (and the only one apart from Brno on my route) station in Czech Republic. As usual, i intended to blog a ton of things, but can't recall of one them... That's life, i will hopefully get to blog a bit more again.

Evan Prodromou: 1 Pluvi se CCXV

I managed to miss the Igloofest by Piknic lectronik this weekend, which was kind of a bummer since it seemed like it would be such an awesome event. But with a downturn in the temperature -- another -20C day yesterday, with wind chill bringing it down to -28C -- it was just too hard to justify bringing a 1-year-old to an outdoor event. We did manage to do some fun things this weekend, anyways. Saturday was our first day house-hunting. We're planning to buy an apartment or condo in the Plateau Mont-Royal this year, before July 1. July 1 is the traditional Moving Day in Quebec -- the day that every renter in the province either renews their year-long lease or moves to a new apartment. We're going to move out of Renterhood this year altogether, and get into the fun of home ownership. Wish us luck. Anyways, we saw a great place this Saturday, and we plan to do some more house hunting over the next few weeks. We're going to make a decision about whether to stay in our current apartment or not before March 1, when we begin our big road trip down to Austin for South by Southwest. tags:
 

Bruncher This afternoon we had a great bruncher with friends at our (current) apartment. We invited over Jeremy and Lina and their two girls Syvlie and Clea, who arrived at our door like an advertisement for a skiing school. I love talking to the girls -- they're really smart and sweet people. We also had over Maj's friend Emmy and her husband Stef, as well as their daughter Isadora. Emmy is originally from Oaxaca (city), and Stef is German. They moved here a few months ago, and Maj and Amita June met Emmy and Isadora at their playgroup. This was the first time I met Stef; I got to use my German introduction lessons for this week on him. Guten Tag! Ich hei e Evan! Freut Mich! Isadora speaks Spanish with her mother and German with her father. She'll grow up bilingual, but unfortunately not speaking either of the languages of the bilingual city she's living in. My guess is that she'll probably be pretty expert at four languages by the time she's 10 or so. Maj cooked today, and made a really great smoked salmon gratin, white bean vegetable soup, and hors d'oeuvres. I put together a green salad to round it out. We opened up a couple of bottles of crispy vinho verde and had a very nice afternoon time. The kids got along great; Sylvie and Clea are several years older than Amita and Isadora (one day apart!), but they were really gentle and nice with the little ones. tags:

21 January 2007

Steve McIntyre: Why do you work on Debian?

That's a question I've been asked (by myself and others) lots of times over the years I've been involved. Especially over the last few months while I've been wandering around Europe on the BSP and party trail, I've also been asking other people to explain their motivations too. For myself, I must admit that I'm selfish: Obviously, there's also the fun of hacking on a variety of Free software programs. But that's something I could do on my own, or within a multitude of projects out there. But in very few of those would I be able to materially affect how I use my own computers every day. So, my question for the other Debian people: what gets you working on Debian?

Christian Perrier: 99,51%

This is the current translation ratio for French in unstable, after 4 days of "blitz l10n NMU". Many other languages did benefit from this as well, as shown here (for instance, Czech went over 90% for the first time as far as I can tell). All remaining packages with incomplete or missing French translations have prepared NMUs and we can expect reaching the Grail in the next week. If I have enough courage, I'll probably continue this blitz NMU campaign to kill as many debconf l10n bugs as possible. Of course, if maintainers do it themselves as sugegsted by Javier, it will be quicker.

Adam Rosi-Kessel: Near-Death Experiences

Via the Frontal Cortex (my favorite recently and accidentally discovered blog1), on the cultural relativity of near-death experiences:
Many Africans interpret near-death experiences as somewhat evil, a bad omen or a sign that they were somehow “bewitched.” Among 400 Japanese NDErs that participated in a study, many reported seeing long, dark rivers and beautiful flowers, two common symbols that frequently appear as images in Japanese art. East Indians sometimes see Heaven as a giant bureaucracy, and frequently report being sent back because of clerical errors. Americans and Brits often say they are sent back for love or in order to perform a job or task. Natives of Micronesia often visualize Heaven as a large, brightly lit American city with loud, noisy cars and tall buildings.
I’m not sure what’s worse — returning from death to rectify the inadvertent omission of a certificate of service on a motion for leave to file a reply brief in excess of the ten-page limit (maybe I should have picked a different profession) or getting additional time on Earth because the powers-that-be failed to complete a 27B/6. I really prefer the beautiful flowers, but it’s probably too late for that. 1Is there a term of art for such blogs? E.g., a blog discovered from an unrelated Google search that turns out to be worth adding to the blogroll.

Daniel Burrows: How to Breathe, Functionally (part 1)

David Welton writes that the problem with functional languages is that you don't get to mentally "catch your breath" between computations; piling function invocations on function invocations makes it hard to understand what's actually being calculated. He has an amusing summary of how functional code can become unreadable:


Do this with the result of this with what this produces when given this input that is derived from this function which takes the result of this other thing after calculating the result of something that is derived from the output of a function that ...


Indeed, I've seen functional code like this (much of it written by myself). Here's a particular gem:


f splitPoints = map fst $ tail $ scanl (flip ($) . snd) ([], toSplit) $
map splitAt splitPoints


I wrote this code a year ago, and I don't know what it does! It's hard to read and hard to understand. So, however, is imperative code that says


Add 5 to A, now if B is not zero we jump to where we subtract one from B and if C is less than 3 we add 4 to C otherwise we divide C by 2 and then add it to A, then we ...


The reason both pieces of pseudocode are hard to understand is that they don't use the abstraction features built into the language. Good imperative code uses meaningful variable names, uses the structured-programming primitives the language provides, and abstracts complex operations into functions.

My rule of thumb (which is, heh, not always religiously followed) is that a piece of program structure that does more than about 3-6 things is probably too complicated; it seems like that's about as much local context as I can hold in my head comfortably (and the number is more 3 than 6 these days, if you get my drift). As David puts it,


If you'll bear with a poor comparison, sometimes programming is like a song. You do the tricky section, then you go back to an easier section and catch your breath for a bit.


The problem seems to be that people trained on imperative languages, when they're tossed into the ocean of functional coding, can't find the guideposts and landmarks that would help them impose some structure on the water. Should I put this complicated expression inside a "let", or break it out into another function? When do I use a higher-order function to unify two dissimilar pieces of code? Should I write this code in terms of higher-order library functions or directly? It's easy to wander off down a chain of nested invocations of anonymous higher-order functions, or composed partially applied library functions, just "because you can" and end up forgetting what you were trying to do in the first place.

Luckily, some of the basic rules of keeping your code readable remain more or less the same: assign intermediate results to variables with meaningful names, and abstract complicated operations into separate functions. To tackle David's example:


You get sections with DoThisAndThisAndThatWithTheResultsOfSelectThisFromTableXYZ that you have to slow down to think through.

...

GoToTheNextTrickyBit where ManyThingsHappen.

All in all, you wind up with a sort of ebb and flow that works out pretty well if you're in tune with the code being written, going from intense calculations, to a line or two where you do no more than store things in a variable, take a breather, and prepare for the next important stanza.


The way to "take a breath" in a functional language is generally to assign an intermediate result to a variable, or to extract a complicated operation into a function and give it a meaningful name. One Haskell approximation to David's example is


do DoThis
AndThis
results - SelectThisFromTableXYZ
someVal - AndThat results
GoToTheNextTrickyBit someval


If you're writing pure functional code, you might write


let
results = SelectThisFromTableXYZ
someVal = AndThat results
in
GoToTheNextTrickyBit someVal


Of course, this will become unreadable if you write a huge complicated nested "let" expression in place of "AndThat". For a truly dreadful example of this kind of coding, check out the Gnucash Scheme code that generates the "Cash Flow" report (warning: read this in short bursts, or you WILL go blind). This is exactly analogous to writing too many nested loops and conditionals in imperative code, and the fix is the same: find logically distinct bits of code and extract them into separate functions.

I have a few more thoughts, but this post is getting too long, so I'll inflict them on the world in another post. The rule that short things are easier to understand applies to blog posts as well as code. :-)

Daniel Burrows: Via C7: it goes fast AND slow!

The low-powered system I assembled recently is based on a Via Epia board and a C7 CPU. I spent quite a bit of time when I was setting it up trying to get the C7's speed stepping to work. I loaded a number of cpufreq modules without luck; crawling around on the Web only led me to discussions about how the C7 couldn't be speed-stepped in Linux and maybe the centrino cpufreq driver would work.

Well, yesterday I randomly searched again -- and poof! There was a discussion from early January about how maybe the ACPI cpufreq driver would work. I loaded it, set up powernowd, and was rewarded with


daniel@jeeves:~$ cat /proc/cpuinfo
processor : 0
vendor_id : CentaurHauls
cpu family : 6
model : 10
model name : VIA Esther processor 1200MHz
stepping : 9
cpu MHz : 400.000


Sweet. Now all I need is for the Debian kernel folks to package a version with a vt1211 lmsensors driver so I can shut down or slow the fans, and I'll be all set. (I could probably hack it in myself, but according to what I've read on the Web, the next kernel release will have a working driver)

[UPDATE: I disabled cpufreq after only a day or so, because Linux got horribly crashy with CPU scaling turned on. Hopefully the kernel will be fixed sometime in the future :-/ ]

20 January 2007

Erich Schubert: The end of the world 2.0 is near.

I'm convinced the Web 2.0 bubble will impact soon. Granted, some will survive, some will struggle - but some will just blow up. Time to sell for these. There are several reasons why I believe this will happen "soon": Many people have been keeping an hungry eye on YouTube, Rapidshare and others. It's just a matter of time until some of these predators goes for the kill. My predictions for the post-web2.0-bubble time:

Evan Prodromou: 30 Niv se CCXV

I just got the Free Your Phone announcement from the OpenMoKo announce list. Looks like they'll have preview versions of the new Linux-based, Open Source phone platform available Feb 11, generally available March 11, and ready for public distribution September 11 (!). FIC is under a lot of pressure to make this product the Open Source answer to the iPhone, and I think they have a very good story. At this point I think the success of the platform is going to depend on three things. First, FIC's execution in getting developer versions out the door and ready to use. If the OpenMoKo platform stays vapourware for much past the first part of 2007, it won't be able to capitalize on the iPhone hype and current excitement. Second, FIC is going to have to resist the temptation to hold back parts of the OS or the application stack as proprietary software. Credibility in the Free Software fanatic community is going to be key for its first wave of usage, and "free enough" isn't going to be good enough for this product. A good cautionary case would be Trolltech's Qtopia. Trolltech's reputation for holding back parts of its stack has probably been the main reason this platform hasn't been taken up by Linux aficionados. Third, and perhaps most importantly, support from more hardware vendors. "Open Source" is sometimes a synonym for "second source" -- it gives customers and developers the security of knowing that the success of a platform is not tied to the success of a particular company. OpenMoKo can take the Free Software niche in the smartphone OS market -- making a place among Symbian, Pocket PC, and Palm OS that appeals to hackers. I think if they can get the hackers, they can get the kind of UI quality and application availability that will get the rest of the population interested. Firefox is an example of an Open Source project that has done this recently. All in all, I think FIC has a lot of challenges ahead -- mostly internal. But I also think that if this is played right, OpenMoKo or something like it could change smartphones the way Linux and the *BSD family have changed servers. tags:

Hillary's In News bulletin: Hillary's In. She's in to win. She's in to win the Big Spin. She's in up to her chin. She's in and so is her twin. She's in with a grin and a tin of aspirin. Hillary's in by the skin of her shin. She's in with the thin fin of an elfin dolphin. So it begins. tags:

19 January 2007

Biella Coleman: Internet Radio Under Threat

Probably one of my favorite things about the Internet (and high speed connections) is Internet Radio. My favorite stations are: Space Station, Secret Agent and Tag’s Trance Trip on soma fm out of SF, John in the (weekday) morning on kexp out of Seattle and the The Terrordome and
Asiko Africa Phantom Pyramid
hosted by the simply amazing (really, check out his shows) Minister Faust out of Edmonton. But thanks to witless senators, all this awesomeness is under threat (and most of your probably already know). So support the effort to stop the shenanigans and let’s keep Internet Radio alive… And if you know of any other awesome radio shows or music, please do pass along. I am looking for a good salsa station, classical music and more dance music.

Benjamin Mako Hill: Digital Citadel

The solution to a crypto puzzle I helped solve during the MIT Mystery Hunt was "ALMOST PLAGIARIZE DAN BROWN WORK." Seth Schoen did this beautifully with an extremely humorous parody of Dan Brown's Digital Fortress. His story, Digital Citadel is extremely funny if you are marginally familiar with Dan Brown and his writing style -- and probably even if you are not. I have not seen a copy of the prize winning entry in the hunt -- a story called The Ikea Code -- but the excerpt I heard was also hilarious.

Adam Rosi-Kessel: Streaming Netflix

Via DRM Watch, Netflix to Offer Streaming Movies Online. My initial reaction: eh.
Netflix’s streaming service will differ from existing online movie services like those from Amazon, Movielink, and Apple iTunes. Those services offer rentals of movies for a fixed time period (e.g., 24 hours) or downloads-to-own, known in Hollywood jargon as ESL for Electronic Sell-Through. In contrast, Netflix will let users pick from a catalog of available films and let users watch any of them for up to a fixed number of hours per month, according to their subscriber level, such as six hours per month for entry-level subscribers. The service will launch with a catalog of about 1,000 titles, the same number as are available on Movielink’s rental service. The video delivery scheme that Netflix is using is a streaming-only technology that senses the user’s Internet bandwidth and adjusts the video quality accordingly; thus it is analogous to RealNetworks’s Rhapsody music service.
Limiting the catalog to 1,000 titles undermines Netflix’s key selling point: enormous selection and a long-tail business model. I could probably find those same 1,000 titles at any Blockbuster Video. So all I’m saving is a trip down the street? In return, I get something I can only watch on my computer (with Windows) for a limited number of hours? Apparently, if I want to watch the same scene a few times, or with the director’s commentary (is that even available?), I’m using up my six hours per month.Even cable movies-on-demand is a better service. Don’t get me wrong — I love Netflix as a DVDs-by-mail service. I also think the Netflix web interface and collaborative filter is pretty great, although the third-party Netflix Queue Manager Bookmarklet is a definite improvement. Based on this initial announcement, I can’t think of a single reason why I would prefer the online streaming version of Netflix. Usually I have the foresight to figure out what I want to say 24 hours in advance (the delivery time for Netflix-by-mail) and having three DVDs at once gives me sufficient options in case I’m unsure. Ultimately, I suspect Netflix just wants to send the message that it’s in the Internet-delivery market, which ultimately of course will decimate its existing business model. I just wish it had a more impressive first offering.

John Goerzen: Everything Update

It's been very busy lately. So here's an update on lots of things.

We move in to the farmhouse this weekend, starting this evening. It's not completely done, but close enough! That's exciting. But I spent 12 hours out there on Tuesday cleaning out the attic (took the day off work to do that). So I'm exhausted, and the moving hasn't even started yet.

The wood floors are all done and looking nice.

Jacob is starting teething. We have discovered that he likes both the taste and effect of infant tylenol. Though he's been better in the past few days.

More pictures of Jacob and the house will be posted once we have a chance to get them assembled.

My MacBook Pro at work finally can suspend to RAM! 2.6.19.2 with the latest mactel patches makes it work with uswsusp.

We'll probably be without Internet at home for a few days -- at least until I get the place wired up and the firewall set up.

One of our neighbors out by the farm died this week. He was out working with his tractor when it slipped off an icy road and landed on him. His wife had just moved from Tennessee last spring when they got married, and has enjoyed working with all their animals. I didn't know either of them very well, and had only met his wife. But she was interested in our house renovation project and stopped by every so often to check on it and chat (their animals are across the road from us). We were looking forward to getting to know them both.

18 January 2007

Gunnar Wolf: Then fix the software, not the format!

Erich: Of course that I know XML's obstination on manually matched closing tags is intentional - That and several other points simplifying SGML were what in the end allowed SGML to succeed (and wildly). However, I still not agree. If you have a tool that generates broken files (which are expected to be read, no less, by any other arbitrary tool which does not require to be very bright), whose fault is it? The file format? No - The generator's. Besides, if you have a configuration format that's expected to be used by al kinds of tools, and sent over every conceivable type of configuration channel (including slow and expensive ones, such as mobile phones), or that can contain arbitrarily deeply nested structures and become just huge, shouldn't your priority be to make the protocol less repetitive instead of more? If you want a format to be robust, yes, you should insist on well-balancedness (what's the last time you were able to compile C code with unmatched braces?), and reject unbalanced documents (possibly even, yes, pointing out where the match was probably broken - Yes, this last point favors XML over simple braces, but still, a compiler often makes a decent job at finding where a nesting problem lies)... Yes, I don't have the authority to question what has become a world standard - But I still have to be persuaded XML is the way to go for many (no, of course, not all) of its uses.
No, I'm not pushing YAML too hard - I just happened to like it for several uses, but I'm far from an informed fan. I'm just bashing XML, which is fun enough for me ;-)
Oh, and about your blog: Right, it seems the culprit is Google Reader. Planet links just fine, and using RSS 1.0, the only link I get is the right one. Planet's RSS 2.0 generator should be to blame then.

MJ Ray: Bad Technology: Billing: edf energy and npower

There's a stupid system in England for utilities billing. In theory, you have the freedom to choose who supplies your electricity and gas. There are supply networks, maintained here by Wales and West Utilities and Western Power Distribution which are the same for all suppliers, but your supplier has to put the amount that you use into their network. More info at Energy Watch In practice, when you move home, you have no freedom to choose. You can't even keep your existing supplier. The supplier of the previous occupier writes to you and tells you that you are on a "deemed contract" which is a funny sort of contract which they reckon is valid even though you have no choice in the matter. Even if you tell the suppliers of your choice on the day you move (as if you didn't have enough to do), you're screwed. There are long notice periods, even for deemed contracts. With gas, you're doubly screwed, as they can make daily standing charges even if you use no gas. Nasty deemed contract supplier npower refused to negotiate and then billed for nearly 50 quid, thanks to their standing charge. You might avoid paying the home's previous electricity supplier by giving them a zero reading. As long as they're not silly about it, they shouldn't send a bill. There doesn't seem to be a daily charge for electricity. Silly edf energy sent a 16p bill. 16 pence. 0.16 pounds. The printing and posting probably cost them another 16p. I paid it at a post office counter, which I'm told pays the post office 12p. It just cost edf about 28p to receive 16p. Why the devil didn't their billing system write it off? I suggest that customers of 'no-negotiation npower' or silly money-wasting edf energy should look for a new supplier. Probably not British Gas: Martyn Drake has some British Gas horror stories, but he recently reset his web site (google!). I'm sure another BG rant will be along shortly, though. One of my uncles has had trouble with them too, but I don't think he's on the web yet.

Clint Adams: Things that did not happen at Google last night

I was en route to an event by myself, when I received an invitation to accompany some people to a movie. Rather than simply declining, I asserted that there was no way in hell I'd cancel my plans to go see some inferior film with that particular crowd. So, what did they do? They cancelled their plans and followed me. Now one of them was apparently in heat, for instead of trying to enjoy the event, she decided that it was some kind of speed dating event and before long she was coveting one of the event staffers. This offends me on so many levels, I won't even bother to explain. Eventually she managed to discourage herself so much that she went home, but the sanctity of the event was still spoiled. Some random person came up to me and asked me to explain dynamic DNS to him. Do I look like the type of person who would have and give the answers to such questions? I opted to not beat him down with a chair or steal his Treo and slit his throat with it. Instead, I sat down and began explaining. Now some girl, who had marked me as her prey, spotted me sitting there next to this guy who bore a resemblance to Andrew Suffield. Seeing his long, flowing hair, she immediately concluded that he was a girl, and therefore a threat to our marriage or whatever she had concocted for us in her dreamworld. So she swooped down out of the sky, ready to claw his eyes out, realized that he was probably male, and breathed a sigh of relief. I concluded my exposition, and the young lad rewarded me for my daily good deed with a thank-you and a shake from his slimy, sweaty hand. Ew. Ew. Ew. EW! He departed, but the girl did not. She had with her about seven wingmen. I am told that they are wingirls (and not winggirls) because most of them are female. I am not sure that I agree, so I will call them wingnuts as a compromise. Now I have to wonder why one would need seven wingnuts. It seems to me that if one is planning ahead to require the assistance of seven, one must be hunting prey that will pay a high cost to escape. Furthermore, if one is fixin' to (or fi't'n't'a in Alabama) ensnare and entrap such an unwilling quarry, what are one's motives? What is the underlying scheme? The possibilities are horrifying. It was difficult to have a good time, but I did it anyway.

Next.

Previous.