Lior: “My name is Lior, and it has been 6 months since my last bug triage.”
Support group: “we love you Lior…”While I was thinking of doing another openoffice.org bug triage for version 2.2.1, version 2.3.1 had already entered testing. Meaning the versions in testing/unstable are very similar. This also means users can easily test a fairly recent version of openoffice.org without running unstable… So, I’m glad to announce the beginning of (my) 2nd openoffice.org bug triage. This triage targets 285 bugs out of 330 open oo.org bugs. The selected bug are ones which were reported against versions lower the 2.3.1 or have no version information at all. The goal of the triage isn’t to close as much bugs as possible, but to get all the bugs updated with recent version. Hoping “not relevant any more” will be the answer for most pings. Last time about 1/3 of the bugs were reported as already fixed / not relevant any more. For those of you who will get one of my pings, please don’t forget to send you current openoffice.org version info. I know some of you don’t necessary agree with this method for closing bugs, as it allegedly puts the burden of testing and updating bug information on the users/reporter than upstream. While I partially agree, I don’t see how can teams with so much bugs can handle all the bugs themselves without having someone doing a full time job on this issue (any volunteers ?). People wish to review the progress of the triage (or even help…) can check the triage bugs list. p.s. Seems I was too slow with this triage, version 2.4.0~rc1 is already in unstable… p.s. 2 It’s been only 4 moths since my last triage…
I wanted to have a look at the French Virgin Megastore website, and I got the attached image. It says:
The version of your browser does not allow browsing this site under Linux. You must install Firefox. Well, I don't want to know how they are detecting the "correctness" of the browser (after all, this is Iceweasel, so it is Firefox), or why they are so stupid as to forbid browsing if the "correct" navigator is not used, but, well, they've just lost a customer.
At Melbourne Tullamarine airport today, I was asked to present
the credit card used to book my flights as a security measure to be
able to fly Bangkok-Zurich. I did not need the card for the
Melbourne-Bangkok leg. Unfortunately, I left the card at home for
various reasons. In the end, they just issued both boarding passes
anyway.
I was not allowed to take the throw-away wooden chopsticks that
came with my Pad Thai lunch through the security checkpoint.
For dinner on the airplane to Bangkok, we were given plastic
knives and metal forks. For dinner on the second trip, we
got metal knives.
At Bangkok airport, I had to pass a security checkpoint changing
planes. They confiscated the plastic water bottle which was given
to me on the flight from Melbourne (the bottle said Thai airlines
on the label).
The lady in front of me was using one of those telescopic
walking sticks, she apparently had a bad leg. They didn t even
bother asking about the stick, which she ran through the x-ray.
Terrorists don t have bad legs, nor know how to pretend.
How long are we going to put up with this bullshit?
NP:
The Flower Kings: Stardust We Are
On my way home from New Zealand, I spent a (Friday) night in
Melbourne. Peter, Donna, Andrew, and Mark, all of whom I knew from
LCA 2008, came out and helped me
get away from the after-work-craze that filled centre city. Thanks
to them, I found (and refound) a couple of places worth noting:
Modern electrical safety standards in most countries require that exposed pins of a power plug (other than the earth) be shielded to prevent metal objects or the fingers of young children from touching live conductors. The image above shows a recent Australian power plug which has the active and neutral pins protected with plastic such that if the plug is slightly removed there will be no access to live conductors. I have photographed it resting on a keyboard so that people who aren’t familiar with Australian plugs can see the approximate scale.
I’m not sure exactly when the new safer plugs were introduced, a mobile phone I bought just over three years ago has the old-style plug (no shielding) while most things that I bought since then have it. In any case I expect that a good number of PCs being used by Australian companies have the old style as I expect that some machines with the older plugs haven’t reached their three year tax write-down period.
For a device which has a plug with such shielding they sell kits for disassembling the power lead or taking the power point from the wall. I spoke to an an electrician who assured me that he could with a 100% success rate attach to wires within a power cord without any special tools (saving $149 of equipment that the HotPlug people offer). Any of these things will need to be implemented by a qualified electrician to be legal, and any electrician who has been doing the job for a while probably has a lot of experience working before the recent safety concerns about “working live“.
The part of the web site which concerns moving servers seems a little weak. It seems to be based on the idea that someone might have servers which don’t have redundant PSUs (IE really cheap machines - maybe re-purposed desktop machines) which have to be moved without any down-time and for which spending $500US on a device to cut the power (plus extra money to pay an electrician to use it) is considered a good investment. The only customers I can imagine for such a device are criminals and cops.
I also wonder whether you could get the same result with a simple switch that cuts from one power source to another. I find that it’s not uncommon for brief power fluctuations to cause the lights to flicker but for most desktop machines to not reboot. So obviously the capacitors in the PSU and on the motherboard can keep things running for a small amount of time without mains power. That should be enough for the power to be switched across to another source. It probably wouldn’t be as reliable but a “non-government” organisation which desires the use of such devices probably doesn’t want any evidence that they ever purchased one…
Now given that such devices are out there, the question is how to work around them. One thing that they advertise is “mouse jigglers” to prevent screen-lock programs from activating. So an obvious first step is to not allow jiggling to prevent the screen-saver. Forcing people to re-authenticate periodically during their work is not going to impact productivity much (of course the down-side is that it offers more opportunities for shoulder-surfing authentication methods).
Once a machine is taken the next step is to delay or prevent an attacker from reading the data. If an attacker has the resources of a major government behind them then they could read the bus of the machine to extract data and maybe isolate the CPU and send memory read commands to system memory to extract all data (including the keys for decrypting the hard drive). The only possible defence against that would be to have multiple machines exchanging encrypted heart-beat packets and configured to immediately shut themselves down if all other machines stop sending packets to them. But if defending against an attacker with more modest resources the shutdown period could be a lot longer (maybe a week without a successful login).
Obviously an attacker who gets physical ownership of a running machine will try and crack it. This is where all the OS security features we know can be used to delay them long enough to allow an automated shut-down that will remove the encryption keys from memory.
A not-for-profit club has asked me to recommend a web-based membership manager that can do two main tasks:- from="skinner.debconf.org,72.32.250.224,72.32.79.241",no-port-forwarding,no-X11-forwarding,no-agent-forwarding,no-ptyin front of it while copying it to the pentabarf-backup users .ssh/authorized_keys file. I need a few directories, namely pentabarf-WAL-skinner, pentabarf-tarballs and pg_xlog-skinner for the stuff to backup, created in the home of the pentabarf-backup user. Next step is to tell PostgreSQL our wish to have online backups. Add the following statements to your postgresql.conf, adapting the values to your needs:
archive_command = 'ssh backup test ! -f pentabarf-WAL-skinner/%f && rsync -az %p backup:pentabarf-WAL-skinner/%f' checkpoint_timeout = 1h archive_timeout = 12hThe above tells PostGreSQL that i want it to archive the files using ssh to my backup host and transfer files with rsync (via ssh), but only if they do not exist yet. It also tells it to archive the files at least once every 12 hours. The effect is that WAL files get copied over when they are “full” or after 12 hours passed, whatever happens first. Don’t set it too low, as the file will always have the full, fixed size and you waste space transferring mostly-empty files. In case you are concerned with the possibly slow speed of a network link, the PostgreSQL site has the following to say about this: The speed of the archiving command is not important, so long as it can keep up with the average rate at which your server generates WAL data. Normal operation continues even if the archiving process falls a little behind. I haven’t had a problem with the speed yet. A 16MB file every (at least) 12 hours isn’t that bad. Now that we have done all the setup and are able to transfer WAL files, we need a base backup to start with. Issue a SELECT pg_start_backup(‘BASE_BACKUP’); as a database superuser and then backup the database cluster by backing up the whole clusters data/ directory (and every other location if you use tablespaces). When you are done issue SELECT pg_stop_backup(); and you are done with your base backup. You might want to exclude pg_xlog/ to save space, you don’t need it.
mv /var/lib/postgresql/8.2 /var/lib/postgresql/8.2_old
mkdir /var/lib/postgresql/8.2/main/pg_xlog chown postgres:postgres /var/lib/postgresql/8.2/main/pg_xlog chmod 40700 /var/lib/postgresql/8.2/main/pg_xlog mkdir /var/lib/postgresql/8.2/main/pg_xlog/archive_status chown postgres:postgres /var/lib/postgresql/8.2/main/pg_xlog/archive_status chmod 40700 /var/lib/postgresql/8.2/main/pg_xlog/archive_status
restore_command = 'cp /tmp/pg-WAL/%f "%p"'
Make sure that the file location you specify is the location you
put the WAL segment files into in the prior step.
for $book in /bookshelf//books
return
if ((every $author in $book/authors/author
satisfies $author/nativeLang eq "it_IT")
and $book/lang eq "it_IT")
then $book
else ()
(: think about the trouble of writing this in XSLT/XPath 1.0 ... :)
XSLT 2.0
XSLT 2.0 is what I would call a "bug fix release" of XSLT 1.0 +
the routinary reworking of the language to deal with typed values,
which is not sensibly different than what has been done for XPath
2.0. The fixed "bugs" are several, starting from the annoying issue
of result tree fragments. They are basically tree snippets
that in XSLT 1.0 you were able to generate for future use.
Unfortunately they were not thaaat reusable, given that you were
not even able to navigate them with XPath operators! Now the
specification is much more clear and distinguishes final result
trees from ordinary variables, which can now contain sequences
of (navigable) tree nodes.
Another important "bug" fixed is the new ability to output
multiple documents with a single XSLT stylesheet: it marks the
end of stupid extra post processing to be added in pipeline to a
XSLT processor.
Other minor "bugs" fixed are a limited amount of
backtracking capabilities among imported templates,
regular expression support directly in the language, and powerful
grouping constructs on the lines of SQL's GROUP
BY (but much more powerful). Here is a template snippet
exploiting the latter feature:
<xsl:for-each-group select="*" group-starting-with="h1">
<div>
<xsl:apply-templates select="current-group()" />
</div>
<xsl:for-each-group>
XQuery
XQuery is the end of the chains imposed by XML-based syntaxes.
Why the heck one has to use an XML syntax (as in the above snippet)
only because she is manipulating XML tress is one of the mysteries
of XML technologies which have always been floating around in my
head.
XQuery is the (supposedly) SQL equivalent for databases of XML
documents, but is actually much more than that. I depict it in my
head as the XML manipulation language with a syntax I can
finally stand. Technically it is XPath 2.0 (say 80% of the whole
language) + some extra ingredients (say 20%); so remember that
every XPath 2.0 expression is also a XQuery expression.
The main extra ingredient is the so called FLWOR
expression (to be read: "flower expression", which in addition
to the "smiley faces" used for comments gives a "back to
1968"-flavour to the language .... erm FLWOR/flower/flavour, no pun
intended). A FLWOR expression is very similar to SQL's
SELECT-FROM-WHERE: it lets you generate a tuple stream by
iterating on sequences (F: for clauses),
binding expression values to names (L:
let clauses), filter out tuples which do not satisfy a
required condition (W: where clause),
order the survived tuples (O: order by
clause), and finally return a sequence built using the residual
tuple stream (R: return clause).
The other interesting extra ingredient is the ability to build
the XML snippets you want to manipulate. Within XQuery you
do that using plain XML syntax (the only place where a sane-minded
programmer actually wants to see it!) which also supports a
classical interpolation mechanism to embed expressions
which will be evaluated inside XML snippets, and also the other way
around. A canonical XQuery example is:
for $t in doc("books.xml")//title,
$e in doc("reviews.xml")//entry
where $t = $e/title
return <review> $t, $e/remarks </review>
(: braces denote the escaping context where XQuery expressions will
be evaluated inside snippets; plain XML syntax is used for the
other way around :)
But remember: XQuery for XML is much more than SQL for RDBMS,
thanks to the implicit templating mechanism implemented by
interpolation, and thanks to several language features fostering
modularity (user-defined functions, library modules, XPath 2.0
standard library, ...) you can basically do with it any kind of XML
manipulation you can imagine.
I don't think I will ever write myself any other single line of XML output in DOM or XSLT ...
... if only this stuff were decently supported in the open source world.Last time I checked, the author of most parts of the GNOME toolchain for dealing with XML (libxml2, libxslt, ...) was not intentioned to implement XSLT 2.0, not even mentioning XQuery. This comes as no surprise, the whole GNOME XML toolkit is written in C, and XSLT 2.0 / XQuery have reached a level of complexity and formal specification which usually entails a higher level approach. So on the GNOME side we are stuck. The other open source implementations of XSLT 2.0 / XQuery I'm aware of are Saxon and Galax. Saxon is an XSLT 2.0 and XQuery implementation written in Java, which is unfortunate per se. Additionally, it is also unfortunate that it is only partially open source. Indeed, Saxon is split into SaxonB (for "basic") which is open source under the Mozilla Public License and SaxonSA which is commercial. While SaxonSA is a fully conformant, XML Schema-aware processor, with support for static typing, SaxonB is a basic-conformant processor with no type-aware features and actually much less optimized than SaxonSA. This is annoying. (Much more annoying is the fact that SaxonSA's author is the only editor of the XSLT 2.0 specification and that instead of his mail address the specification includes an URL pointing to the website selling SaxonSA ...) Galax is an open source (IBM CPL / Lucent license) OCaml implementation of XQuery which is not fully conformant to the specification (though it gets quite close) which is type-aware and implements static typing. The only XQuery / XSLT 2.0 implementation available in Debian at the time of writing is SaxonB. The binary package is libsaxonb-java, kudos to Michael Koch and the Debian Java Maintainers for having packaged it (and to have stood some annoying pings of mine
bug #408842).
To execute XQuery code you just have to aptitude install
libsaxonb-java, prepare a query.xq file containing
your query, and then execute something like:
CLASSPATH=/usr/share/java/saxonb.jar \
java net.sf.saxon.Query query.xq
note that the information in README.Debian are still referring
to old Saxon versions, see bug #465894 which proposes a
more up to date README.Debian.
Similarly, to perform a XSLT 2.0 transformation you have to do
something like:
CLASSPATH=/usr/share/java/saxonb.jar \
java net.sf.saxon.Transform -ext:off -s:input.xml -xsl:style.xsl -o:output.xml
Do not remove the -ext:off flag when processing untrusted
stylesheets!, see bug
#465885 for the reason.
I've written some handier (1-liner) shell script helpers which
remove the need of invoking java manually. They are attached to
bug #465894 and I've
proposed their addition to the saxonb package. Using them the above
invocations become:
saxonb-xquery query.xq
saxonb-xslt -ext:off -s:input.xml -xsl:style.xsl -o:output.xml
Galax in Debian ... well, since long time I've been planning to
package it (the ITP has been filed some months ago: bug #447984) and the authors
sent me a newer version than what is available online to gather
feedback before the long overdue final release. Unfortunately I've
been lagging behind in finishing the packaging (which is tricky due
to the need of binding libraries to several different languages:
OCaml is native, but there is also Java for example). Hopefully
this post will give me some renewed motivation for finishing the
work ...
Bruce
Schneier blogs about an issue that, in the context of the current
vote craze in the US, seems to be pretty popular: the question of
whether or not the US governments should give a drivers' license to
illegal immigrants. Bruce argues in favour of giving a drivers' license
to illegal immigrants, since requesting that the administration which
issues drivers' licenses also check whether or not people are
illegal immigrants is going to cost the government a lot of money (both
from the extra amount of resources that needs to be spent on doing this
job, and the lawsuits to make up for the errors).
The fun bit is, I think that they are creating a problem where there
is none. By not creating an official, designated, identification system,
the US government is forcing people to look for alternatives,
effectively giving a drivers' license a double function; that of an ID
card, and that of a drivers' license. This can't be a good
idea.
Often the major argument against issuing ID cards is that it reduces
people's privacy. I think this is wrong, for a very simple reason:
The US already has an ID card. It's calledNo, really. For all practical matters, that little piece of paper is an ID card. Better get done with it and issue a real ID card, then.a drivers' license.
Mrs Taylor asked: "are the council allowed to reroute a redway or are they right of way and if so can you help me to prove that they are??"I don't know. Do you? If no-one knows, I'd probably start by looking at the detailed OS maps for the area (which I think mark rights of way) and maybe make Freedom of Information Act requests for the order that established a particular redway. However, even if they are a right of way, a council could reroute it through the usual transport planning process, although a member of the public and any affected councillors should be able to speak against it at a hearing.
As Josep asks for it every now and then,
and we really enjoyed this trip, it's time to write about the four days we
spent cycling from Ripoll to Girona, through the Ruta del Carrilet,
a Catalan via verda similar to the one
we completed
a year ago.
I spent this year's 9 d'Octubre cycling trip with totally different trip
mates, not related to my triathlon team. The extensive group was formed by
Sabri, Mar, B rbara, Carles, Desi, Adela, N ria, Amador and myself. We
started our journey by car from Val ncia to Mollet de Mar, where we parked
the cars and take a regional train to Ripoll with our bikes, where the
real journey would start.

Arrival at Ripoll
When we got to Ripoll, it was quite late and dark, but we managed to find
the start of the Ruta del Ferro rail trail which would take us to Sant
Joan de les Abadesses. It was quite cold, but especially really humid, so
we had to think twice before settling on a place to camp and setup our tents.
We had to take special care of covering the bicycles as the air was really wet,
and anything we left uncovered would appear soaking next morning. In part, my
shoes suffered from this.
Early next morning we had breakfast on the wet grass and then started our
way to Sant Joan through a deliciously well equipped and maintained cycling
track, which unfortunately only lasts for 12 kilometres through a splendind
landscape. After having breakfast in the old railway station in Sant Joan, we
abandoned the Ruta del Ferro to take a road to Olot via Sant Pau de
Seguries, where we had to climb a small mountain and then descend through the
Vall de Bianya until we got to Olot.

Sant Joan de les Abadesses' railway station
Asking the locals for the start of the Ruta del Carrilet was
fun due to the strong oriental accent in the area and we sometimes wouldn't get
a word of what we were told. An old man recommended us finding a big park in
the outskirts of the town, where we prepared our entrepans for
lunch, and after a little rest, we started cycling up the Carrilet,
which would take us to Girona in two stages. This Catalan area is of volcanic
origin, and there are several natural parks dedicated to the phenomenon. There
are many mountains covered with forests and impossible peak shapes, which due
to the time of the year were starting to go from green to brown and yellow,
making fantastic colour schemes in the landscape.

Under a green ceiling in Olot
Just after the few first kilometres, the railroad track starts to descend
most of the way, which makes it easy for people who aren't too trained, and
easier to enjoy your way chatting with people while you cycle. As we consumed
the daylight, we came across a parish church party with lots of old and young
people from the nearby town of Sant Miquel de Pineda. Amador and I were lagging
behind a bit at that point, and when we got there, we found the rest of the
group were already off their bikes and either having a curious look over the
party, or directly following suit and dancing like the others. We had a peek
into the small church and also into a small graveyard in the back, where I was
surprised to find the enemies of my Catalan grandmother: Fam lia Matabosch ,
as one of the headstones revealed.

Partying at Sant Miquel de Pineda
As it was getting late, we eventually started off again, but luckily B rbara
spotted what seemed a good sleeping place for that night. To the right of the
trail there was a hermitage (devoted to Santa Cec lia) up on the hill which,
for bonus points, had a porch with a recently renewed roof which would help
cover ourselves from humidity and rain, as we found soon after starting
cooking dinner.
While the cooks prepared our soup, some others went down to the
Carrilet in order to find out if the next town was close so we could
get some driking water for the dinner. Luckily, Sant Feliu was close enough,
and we found a bar where we got some water... and two bottles of wine, which
made some people back at the hermitage very happy. We were quite tired though,
so we eventually went to sleep after reading some stories from a great tale
book, with the sound of rain hitting the grass outside the porch.
The rain was still with us when we started waking up, so we had breakfast
and packed our stuff very slowly, in an attempt to avoid getting wet. But
rain didn't stop, so we made a few hacks on our bicycle bagpacks to minimise
the amount of rain wetting them. When we were finally ready to set off and
had cycled around 3 kilometres under the light rain, it finally stopped
raining, making the rest of the journey very pleasant.

Sleeping under the porch of Santa Cec lia's hermitage
This part of the route is again quite beautiful, with impressive amounts
of green vegetation at both sides of the track. There's a lot of water
presence in the land, which makes the type of trees and bushes quite different
to the ones we are used to find in the Valencian Country.
After going by a few small towns, we arrived in the old railway station
of Amer, hometown of the Puigdemonts. Even if it was a bit early, we
decided to have lunch there, so a few of us went down to the centre of the
town to buy bread and some other details to eat. Being in my friend Josep's
town for the first time, I wanted to visit his
family's bakery, but unfortunately it
is closed on Mondays. We had lunch back at the cute station, and eventually
kept going on our way to Girona. Outside Amer, the Carrilet was
temporarily cut by the road, and there were two possible alternatives: using
the road, with heavy lorry traffic, or diverting through a very steep track
with very hard slopes. Most of the group preferred the road, but Mar, Amador
and I went up that track, which was hard to climb and really fun to descend.
Apparently, Amer locals call those 1.5 kilometres the Tourmalet . It's
probably not so bad, though. :)

Amer's railway station
Unfortunately, the Ruta del Carrilet starts getting uglier after
Amer, and as you approach the more industrialised towns near the capital
Girona. The area around Angl s wasn't that fun, with the track continuously
being invaded by cars and other vehicles. Soon after we were in the
farmland area surrounding Girona and its Devesa.
Jonathan was waiting for us in the city, after his two month stay in
Scotland, and we were all happy to meet him. We discarded continuing our
way to the coast, which was the initial plan, and instead dropped our stuff
in the house of one of Adela's friends, and went out to have dinner to a
Wok restaurant, where the poor people running it suffered our
childish behaviour involving the rotating central dish on our table and
custard sucking contests.
Jonathan guided us through the Cathedal and city wall areas of the town
centre, which are impressive, and we climbed all of the wall towers to have
great looks over the dark and quiet city. Eventually, we went to sleep, as
Adela had to leave early, and we had to pack to get our train back to
Barcelona.
Back in Mollet, we cooked our last camping-gaz lunch in the park right next
to the station, before noticing the place stinked of dog poo. After the careful
operation of filling the three cars with 9 bicycles, we were finally on our
way back to Val ncia, completing another great cycling journey. If you like
bicycle tourism and can travel to this area in Catalonia, I highly recommend
it, as there's many great places to visit, all of them accessible with
bikes.

Having lunch in Mollet
Say you're working on a Debian box for which you don't have root access, you
need to get some source packages, but there is no deb-src lines
(or not the ones you need) in /etc/apt/sources.list. So usually
you will have to manually wget the files, after looking the exact location, and
all that jazz.
Today I found that APT can be configured to use a different
sources.list file, and different directories for the package
lists. Which is enough to make it work for downloading source packages.
What you need to do is:
$ mkdir aptTake Squid for instance, a 1975 program if I ever saw one: You tell it how much RAM it can use and how much disk it can use. It will then spend inordinate amounts of time keeping track of what HTTP objects are in RAM and which are on disk and it will move them forth and back depending on traffic patterns.Varnish was designed by FreeBSD developer Poul-Henning Kamp. There is something to be said about user-space apps designed by kernel developers: they're always super fast because kernel developers know how to make the most of the system, having spent hours optimizing the kernel itself for some usage patterns.
Well, today computers really only have one kind of storage, and it is usually some sort of disk, the operating system and the virtual memory management hardware has converted the RAM to a cache for the disk storage.
So what happens with squid's elaborate memory management is that it gets into fights with the kernel's elaborate memory management, and like any civil war, that never gets anything done.


OK, I may not have wireless yet on my HP laptop but I have managed to get wireless networking running with the new b43 native kernel driver for this iBook G4 laptop.
After setting up wireless via WPA2-PSK with AES and realizing I really need the new firmware, I ended up using the latest wireless-2.6 kernel from branch 'everything'.
Next.