General Comments Off on

Here’s hoping that Kerry gets beaten.

General Comments Off on

Real estate agencies

These are one of the few groups of people in the world where no-one is happy with what they do. If you’re a home owner in a “copropriété” (residence), anapartment owner letting through an agency, or a tenant of one of those apartments, no-one seems to be able to get satisfactory service from these guys.

It’s one of those domains where everyone knows that when you ask for something, it’ll take twice as long as it should, when they ask for something, they charge you for every letter they send you. When you change company, the new one is just as bad as the old one.

These are people who play both ends against the middle, who get rents from tenants and then tell landlords that the tenants haven’t paid yet so that they get use of the money for an extra couple of months. And they take pleasure in sending you bills in the most confusing way possible, so that you couldn’t possibly understand, and you don’t notice when they are overcharging you.

Why the hell does “Creation of dossier” cost €108? And since when does the sending of a reminder letter cost €18? And even more relevant, why can’t I get anyone on the phoen to explain it to me?

These guys are vultures, except without the wingspan and plumage.

General Comments Off on

I think I’ll call this the Bush strategy

General Comments Off on

Why I hate US politics

So – there’s no getting away from it. It’s an election year in the US, and you guys over-pond get to pick the next Lord Protector of the Free World in a few weeks.

I was going to be positive, but I’ve just read some stuff on some US politics sites, and I haven’t got the heart to.

If you were to believe the way the campaign is going now, the top 3 issues are:

  • Who did what in the Vietnam War?
  • Who is the “strongest” leader?
  • A distant third, who is best for the economy?

I may be getting these wrong, simply because I’m just getting a window on the campaign, but the key phrase coming out of the Bush campaign now is “flip-flop”. Bush & Co. have worked out that the flaw in Kerry’s character is that he changes his mind in the light of new evidence (or new political realities, whichever you choose to believe). It seems to me that the Republicans are being allowed, as so often happens, to dictate the agenda for the campaing.

So I got thinking – why do people think Bush is so bad outside America? And why don’t Americans see it that way? And how is Kerry different?

So here’s the top 3 reasons Bush is not liked outside the US

  • He went to war on Iraq, when everyone was telling him he shouldn’t (in fact, Saddam had agreed to let UN inspectors back into the country in the days leading up to the war), and lied to his own people about the reasons for that war.
  • He doesn’t care about anything outside the US borders (except maybe oil fields) – he has spurned the International Court of Human Rights, the Kyoto Agreement, and hasn’t moved an inch to remove protectionism of American farmers. On top of that, he has acted unilaterally in the face of overwhelming international opposition on Iraq.
  • He has hijacked the attacks of September 11th to advance a personal political agenda, and is moving towards a police state in the US.

So what Kerry needs to do to distance himself from Bush is call Bush on these things – he lied, he abused his power, he has obliterated long-standing alliances, and explain to the American people how he will be an improvement.

The hardest thing to do is say what he would do, when elected, in Iraq. There’s going to be a mess there for years whatever happens. But he needs to stick to the punchlines – Bush lied to the people, he abused their trust, he cost America friends.

Instead, what do we end up talking about? Bush would be a stronger leader, Kerry’s bogged down in Vietnam. We end up talking about how Edwards’s country origins go down in the South and mid-west, how Bush is doing in the latest polls (since when are polls an election issue?), and of course we talk about flip-flopping. But when is the Kerry campaign going to start calling Bush on why people think he is so bad? Or are they already doing that, and just not getting the news cycles?

General Comments Off on

I wouldn’t say I was the best manager in the business. But I was in the top one.

Brian Clough, funniest football manager ever. RIP.

General Comments Off on

The maint is dead, Long Live the maint!

Are you a new GNOME user who would like to get bug mails about your favourite application, but don’t know who to ask? Are you a developer who has been waiting for 2 weeks for someone to get around to adding you to a list alias? Are you a sysadmin who is snowed under with work, and has better things to be doing than checking out mysterious CVS modules to add a user to an alias? Then this blog entry is for you…

A subtle, and mostly untrumpeted, change came in with the GNOME Bugzilla upgrade – the ability to watch other users. It is possible to get all the bugzilla mails they get, as well as your own, by simply adding them in your e-mail preferences page.

This has brought about a change in policy for the Bugzilla *-maint mail aliases, which is great news for anyone who has ever waited for days or weeks to be added to one because someone was on holiday, busy or otherwise occupied. Each product (and on request, even modules) can have their own “dummy’ bugzilla account, created by bugzilla-maintainers. This account will be a bit-bucket, rather than a mailing list. And the users who want to “follow” the bugs of a product or module simply add this -maint user to the list of users they are watching.

No more shall you wait for a sysadmin intervention! No more shall new users need to get to know the maintainer to get on a -maint alias! Power to the people!

General Comments Off on

Jamin: Show-off. 😉

General Comments Off on

jamesh: In the version of STV that I know, there are a couple of differences to that which you describe.

The main one is that surpluses are not distributed as you describe exactly. It would be more accurate to say that 80% of campd’s votes would be distributed at 100% strength. You cannot have partial ballots.

Another minor difference is that if a candidate gets pushed over the quota by someone else’s surplus or elimination, then only the votes which pushed them over the top get examined for surplus redistribution. This is a pretty controversial practice, which almost certainly changed the result of at least one constituency in Ireland last time around (Dublin North Central, IIRC).

Correction: It was Dublin Central. When Joe Costello was elected by transfers from Jim Mitchell, the surplus distribution favoured Dermot Fitzpatrick, even though the total vote for Costello would have favoured the more left-leaning Keho. The fact that the surplus came from Mitchell, a center-right candidate, skewed the next preference down.

There is also a GPL application to handle STV counts, which would make the task easier: pSTV. So perhaps the idea of having people do the 2004/5 election using the existing system, but specifying preferences as a test-run of STV, would be an interesting experiment.

General Comments Off on

Sed tip

A friend was recently looking for help with a problem, and that gave me the chance to freshen up my sed a bit.

His problem was the not uncommon one of wanting to replace a two-word string which might go over line-breaks. He wanted to keep the newlines in the replacement.

Most people are unaware that sed can do multiline edition with the commands N, D, P, G and H. Here’s the script which did the job in the end (assuming I want to replace “I hope” with “we expect”):

sed -e '
N
s/\<I\([ \n]\{1,\}\)hope\>/we\1expect/g
P
D' input.txt > output.txt

N adds a new input line to the pattern buffer, the s replaces I hope in that pattern buffer, saving the thing which separates I and hope (spaces or a newline), and inserts it between the we and think in the output, P prints up to the first newline, and finally D deletes up to the first newline, and forks back to the N if there’s anything left in the patter buffer. The last line, which is the active pattern buffer, gets dumped when the N command fails (that is, when there is no more input).

I’d forgotten how much sed rocks.

General Comments Off on

Just back from holidays, two computerless weeks (apart from 1 hour) of sun, sea and sand (and driving – all in all, I drove 3600 km). Still catching up with all that’s happened while I was away.

It’s a pity time doesn’t stand still while you’re on vacation, since a large part of the good feeling you build up while not working ends up getting sucked into the hole of built-up work the day you get back.

Anyway, the Irish almost had no influence on the olympics, until the last two days, when we won a gold, and a madman may have lost another one.

« Previous Entries Next Entries »