Eurovision Bingo (again)

Some people say that all Eurovision songs are the same. (And some say all blog posts on this topic are the same…) That’s probably not quite true, but there is perhaps a hint of truth in the suggestion that some themes tend to recur from year to year. Hence, I thought, Eurovision Bingo.

I wrote some code to analyse a directory full of lyrics, normally those from the previous year of the competition, and work out the frequency of occurrence of each word. It will then generate Bingo cards, with sets of words of different levels of commonness. You can then use them to play Bingo while watching this year’s competition (which is on Saturday).

There’s a Github repo, or if you want to go straight to pre-generated cards for this year, they are here.

Here’s a sample card from the 2014 lyrics:

fell cause rising gonna rain
world believe dancing hold once
every mean LOVE something chance
hey show or passed say
because light hard home heart

Have fun :-)

Facebook Switches Off Email Forwarding

You remember that email address @facebook.com that Facebook set up for you in 2010, and then told everyone viewing your Facebook profile to use in 2012 (without asking)?

Well, they are now breaking it:

Hello Gervase,

You received this email because your gerv.markham@facebook.com account is set up to forward messages to [personal email address]. After 1 May 2016, you will no longer be able to receive email sent to gerv.markham@facebook.com.

Please update your email address for any services that currently send email to gerv.markham@facebook.com.

Thank You,
Email Team at Facebook

Good work all round, there, Facebook.

Eurovision Bingo

Some people say that all Eurovision songs are the same. That’s probably not quite true, but there is perhaps a hint of truth in the suggestion that some themes tend to recur from year to year. Hence, I thought, Eurovision Bingo.

I wrote some code to analyse a directory full of lyrics, normally those from the previous year of the competition, and work out the frequency of occurrence of each word. It will then generate Bingo cards, with sets of words of different levels of commonness. You can then use them to play Bingo while watching this year’s competition (which is on Saturday).

There’s a Github repo, or if you want to go straight to pre-generated cards for this year, they are here.

Here’s a sample card from the 2014 lyrics:

fell cause rising gonna rain
world believe dancing hold once
every mean LOVE something chance
hey show or passed say
because light hard home heart

Have fun :-)

Slavery…

I got the following (presumably misdirected) email at licensing@mozilla.org:

If i go on several sites that shows adult videos for free on streaming it’s because i need to see that kind of things ! just don’t ask me why ! I don’t intend to hurt anybody I just want to get fed up to it ! As you know,i never download and i’ve been said it was free to see as long as you don’t share !
Please, let me see what i want ? I’m completely out of money

How sad :-(

Jesus replied, ‘Very truly I tell you, everyone who sins is a slave to sin. Now a slave has no permanent place in the family, but a son belongs to it for ever. So if the Son sets you free, you will be free indeed.

John 8:34-36

Independent Film about Kermit Gosnell

Some filmmakers want to make an independent film about the USA’s most prolific serial killer, Kermit Gosnell, and the relative media silence about him. Over a 30-year career, he is suspected of killing 1000s of live, born, viable babies – which should horrify anyone who doesn’t believe in infanticide, whatever their stance on abortion. The filmmakers are trying to raise $2.1M, they need another $125k, and have only 5 days to find it. If you’d like to see this film made, please support them on Indiegogo, and spread the word.

The Naming of Hackers

The Naming of Hackers – a difficult matter,
It isn’t just one of your holiday games;
You may think at first I’m as mad as a hatter
When I tell you, a hacker has THREE DIFFERENT NAMES.

Today I received a very polite email from a citizen of a non-Western country asking that about:credits be updated to put the components of his and his colleagues names in the order customary in that country (family name first), while still sorting them by family name with the others. I use scripts to manage additions to about:credits, and the page is generated from a CSV file which contains fields for “family name” and “first/common/Christian name”. The system does indeed currently make some Western assumptions about the order of names, and so fulfilling his request requires changing it significantly.

Before I rewrite it, I want to make sure I rewrite it only once. I am aware of falsehoods programmers believe about names, and I’m glad that we don’t have to make a system which copes with every edge case. We are not planning to serve, for example, people without names or people whose names use non-Unicode characters. But we do want to serve people with one name, as I know of hackers in that category.

Here is my design. To test it: can anyone think of a hacker (on any project, not just Mozilla) whose name would not fit into this scheme?

Fields:

  • Name: name as they wish it to be printed
  • Sortkey: part of the name that they wish to be used for sorting; would be the component corresponding to “family name” in almost all cases

The charset is Unicode. The sort is by base Latin letter. If a submission does not contain details of how they want their name to be sorted, I will make my best guess based on my knowledge of customs in their part of the world.

The other policies I have been implementing for about:credits (on which comments are also welcome) are:

  • Names normally written in non-Latin letters should be in romanized form. (This is a common practice, makes them easier for everyone to read, and no-one has objected thusfar.)
  • I include a family name, plus a person’s common/first/Christian name, that they normally use. I am Gervase Richard Markham, but most people know me as Gerv, so my entry would say Gerv Markham or Gervase Markham, at my option. But if someone’s name is John Mark Smith, and he is known as “John Mark”, then I would list him as John Mark Smith.
  • I use initial caps for consistent presentation.
  • I don’t include initials – names are either present in full or not present.
  • Unless someone officially only has one name (e.g. on their passport), I ask for at least two so that names are as distinctive as possible (knowing that names are not unique in general).

Defeating the Peter Principle

A Freakonomics blog post which covered the Peter Principle (see Question 3) got me thinking. The Peter Principle is explained as follows:

Dr. Peter is one of our favorites. His book The Peter Principle: Why Things Always Go Wrong came out in 1969. He first expressed the principle that bears his name like this: “In a hierarchy, each employee tends to rise to his level of incompetence.” Once an employee reaches his level of incompetence, his superiors will recommend no further promotion, leading to “Peter’s Corollary”: “Every post tends to be occupied by an employee incompetent to execute its duties.”

How do you defeat the Peter Principle in your organization? How about this: as a condition of promotion, any employee agrees that they may decide to (or be asked to) return to their previous job, but keep the pay and benefits package from the higher-level job.

The idea here is to remove the financial disincentive for the employee to admit they aren’t doing well and say “OK, fair enough, this job isn’t for me; let me go back to what I’m good at”. If they are ever promoted again, their original salary or salary scale is used to determine their new pay, so they can’t yoyo up and down, collecting a compensation bump each time. One may want to impose a minimum term in the new job, and/or require management permission and agreement for the step-down. This would mean some lower-level employees cost the company more than others, but it might well be a whole lot cheaper than having the wrong person doing the wrong management job, badly. It could perhaps be seen as the price management agrees to pay for promoting the wrong person in the first place.

What Is ‘Sexism’?

A remarkable entry from Merriam Webster’s dictionary (which I found linked from the Wikipedia article):

sex·ism noun \ˈsek-ˌsi-zəm\

1 : prejudice or discrimination based on sex; especially : discrimination against women

2 : behavior, conditions, or attitudes that foster stereotypes of social roles based on sex

The first definition has been in use for a long time, and is (I would suggest) widely recognized. But note the second one. According to Merriam Webster, any expressed positive view whatsoever, however limited, of any historically-recognised (a.k.a. ‘stereotypical’) gender-based social roles is, by definition, sexist.

Have I understood that correctly?

Successful Microsoft Partnerships

Nokia Plan B led me to “In memoriam: Microsoft’s previous strategic mobile partners“. This got me thinking: can anyone name a company which fits the following criteria?

  • Announced a major partnership with Microsoft
  • Took all or most of the actions or joint actions specified in the initial press release
  • Produced benefits to long-term shareholders as a result

Or to put it another way: can anyone name a Microsoft partnership which turned out to be a good thing for the company concerned? (This is not a rhetorical question; I am not implying there have never been any.)

“Partnership” means working together on products, not just reselling Windows.

Confessions Of A Public Speaker

At FOSDEM, I was given a copy of “Confessions of a Public Speaker” by Scott Berkun (thanks, Josette!).

It’s an story-filled ramble through the life of someone who talks for a living. It was an entertaining read, although it could perhaps have done with more summarizing of the material, as when I reached the end I realised that I would have to re-read it if I wanted to make a list of things to change about my own speaking style and habits. But I was very pleased to see him call the Logitech Cordless Presenter, which I own[0], “the Cadillac of remote controls”. The man has good taste.

Oh, and there’s a story from me in the “You can’t do worse than this” section :-)

[0] OK, OK. On gandalf’s recommendation.