MJ Ray: Is this storm coming for you?
One of the bad things about moving to
live in the west country
is that we are now on the front line of any
storms that leave the Atlantic for England.
To make matters worse, we are on a hillside and
some idiot put the boiler vent facing into the prevailing
wind, so I have to relight it at least once each bad storm.
Today's storm is the worst yet.
Average wind speed is reported by TV as 35mph,
gusting over 70.
Anything that wasn't bolted down or very very heavy
and hadn't already been blown away has now gone.
I keep going out quickly to do things like add weights
to the bin
or wedge one of the garden tables against the fence,
but I don't feel like fixing my bicycle and riding to
town along the coast today.
On the first trip out, as I was checking the roof for
damage, one of the neighbours' six-foot fence panels
flew off.
On the second trip... well, this used to be a fence on
the other side of the path by our back wall:
Now it's just a concrete post surrounded by debris.
If this is part of
the storm heading for Erich Schubert
then I think Munich has done the right thing.
Now it's just a concrete post surrounded by debris.
If this is part of
the storm heading for Erich Schubert
then I think Munich has done the right thing.
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.