Loading....
Recent Article links:

Archive for October, 2004

Does success depend on your surname?

When I read about the recent developments in the European Parliament about Buttiglione, one remarkable fact is that all people directly involved have the ‘B’ as the first letter in their surname: candidate chairman of the European Commission Barroso, the two Italians Buttiglione and Berlusconi, and the current leader of the European Union, Prime Minister Balkenende (and Dutch foreign minister Bot, too).

This reminded me of an article I read lately in a pretty lousy Dutch magazine called “Psychologie Magazine” (Psychology Magazine), which claimed that having a surname with a letter that comes early in the alfabet increases your chances for success in life (which would not be so good for me with my ‘V’-surname…). As an example, they mentioned the fact that 6 out of 7 G7 member leaders have names in the first half of the alfabet. A possible explanation would be that when they attended school, people with ’small’ surnames would on the top of alfabetical lists, thus getting more attention.

So, is this a statistically feasible conclusion? There are at least three problems with the example mentioned above. First, 7 people is a much too small group to draw conclusions from. Second, this is an obvious case of data snooping: the example is used to form the thought that there might be a correlation, so it cannot be used to prove the correlation anymore: otherwise, pretty much anything could be proven. Third, there is no default group: if you don’t know what the normal chances are of having a surname with first letter from the first half of the alfabet, you can’t say whether a 6/7 score is good of bad. You need to keep in mind here that the second half of the alfabet contains some seldom-used letters such as q, x, y and z.

So, I decided to do a little statistical test myself. I formulate the following thesis:

There is a significant correlation between being a part of group X and having a first surname letter in the first half of the alfabet.

For the group X, I examined two groups that could be seen as groups of succesful people: inspired by the G7 example, I chose the 150 members of the Dutch parliament, and the Top-96 of richest people in the Netherlands from the Quote 500 list.

With these groups, I did a binomial test to see whether there was a significant correlation (i.e. the chance of having a small surname when in group X is significantly larger than the default chance). To calculate the default chance, I counted the names (well, pages of them, anyway :) of the telephone directory of Groningen. Here’s the results:

Group Test results Ratio
Groningen 204.75/344.25 0.5977
Dutch Parliament 93/150 0.62
Quote 500 ‘01 56/96 0.5833

As can be seen, the ratio in the Quote list is smaller than in the default group, so in that case, we can directly reject our thesis.

For the Dutch Parliament group, we run a Binomial Test: we calculate the chance of getting the given test results supposing the true ratio is 0.5977. A common way of testing is to reject the thesis if this chance is larger than 5%: the test result is not unlikely enough to reject the default hypothesis. In our case, the chance of having 93 or more MPs with ’small’ surnames is 29.405%, so this is by far not significant enough for our hypothesis.

In conclusion, these test results, fortunately for me, give no indication about assuming there is a correlation between success and having a surname that begins with a letter from the first half of the alfabet. Since the Psychologie Magazine did not point to serious research proving otherwise, I have to suspect the correlation is just a cock-and-bull story.

Mailing list actions: first full release!

I just released my first full release of the Mailing List Actions plugin for Evolution here, and submitted it to the Evolution-hackers mailing list. Woo hoo.

Popups are implemented, normal menu items as well. Seems for normal menu items one does need an XML file after all. An updated Eplug HOWTO should follow when I have more time (i.e. don’t need sleep).

To build, unpack to the plugins subdirectory of the Evo CVS (great examples in there, check it out), add plugins/mailing-list-actions/Makefile to the list of Makefiles in configure.in, then go to the plugins/mailing-list-actions directory, and hit make install thee. Should work then…

Eplug HOWTO (update)

I updated my Eplug HOWTO today. Changes include the addition of popup menus and information about recent CVS changes in Evolution.

The Eplug HOWTO tells the story of how to create a plugin for the Evolution mail client with the new Evolution 2.2 eplug system. The HOWTO covers creating an eplug file, adding menu items to Evolution, and coding callbacks for them. Read the Evolution Eplug HOWTO here.

Currently Listening To… Citizen EP

In the mind-staggering “Currently Listening To”-series, today we feature the Citizen EP by a band called Home Video.

The band recently had a single in the Dutch alternate charts, Kink FM’s Outlaw 41, with “In a submarine”, and their recent performance at the Bazar Curieux, a smaller Dutch festival, was described on 3voor12 like this (article also contains link to online stream of the concert, titled “Radiohead clone as good as example”):

Home Video will probably always be associated with Radiohead, which is partly deserved. Because despide borrowing from them, Home Video secretly is much better.

Well, obviously, as a Radiohead fan, I could hardly leave this alone, so I listened to the concert, and when I found the CD in my local record store a few days ago, I bought the EP.

If you think Radiohead, it’s definitely the Kid A Radiohead we’re hearing on this EP. The style could be described as electronic pop, but there’s no Kid A song that the EP directly reminds you of. We are seeing the good old cryptic texts, though in their process of becoming a Radiohead clone, Home Video got lost somewhere along the line, meaning their texts are about alienation, but they’re still a bit too understandable. Example is the song “Citizen”:

i have not seen horrible things / that must mean the’re not happening
the world is a dream / as seen on tv / i’m only scared when they tell me to be / the path of my life / is too big to see / i take tiny steps / when sugested to me

Not only is it crystal-clear what this text is about, but it even rhymes, for goodness sake!

The voice of the singer does seem right like Thom’s, and the two-voiced effect they put in their songs does bring back good memories. But it’s the booklet artwork that completely does it: their use of extra-thick black paper with white pencil pictures of strange people makes you think they hired Stanley Donwood himself.

Still, the songs of the album are of way too consistent quality. Where each Radiohead album has week tracks (Treefingers!) as well as good ones, this EP only has pretty good tracks, though probably more in the background-sense than to really actively listen to. Perfect for relaxation, and never boring (and that’s pretty good for this kind of music).

In conclusion, as a Radiohead clone, Home Video still has a way to go, but as a band by itself, they’re definitely on the right track. Their neat artwork and nice songs makes me eager to hear their complete CD when it’s released, because the 20 minutes of the Citizen EP is a bit short…

Eplug HOWTO

I finally got to writing a small HOTWO of how to create a plugin for the Evolution mail client with the new Evolution 2.2 eplug system. The HOWTO covers creating an eplug file, adding a menu item to Evolution, and coding a callback for it.

Read the Evolution Eplug HOWTO here.

Mailing list actions bounty

Yes, it’s that time of year again: after the eventual success of my Evolution NNTP bounty, I’m doing a new one: Mailing List Actions. When bounties were still hot, this one was attempted by at least two people, but both didn’t succeed in getting the thing accepted by the Evolution people then.

Now things are different though: Evolution has a completely new plugin system, and NotZed told me any new entries should be implemented using it. However, since then thing is still under development and the documentation isn’t particularly finished either, getting the plugin system to work by itself proved problematic enough…

Currently, I have succeeded in getting a menu item to show up in the message view — yes, that’s all folks :) And even that doesn’t seem to work quite well, because while the signal is being properly processed, there seems to be a problem passing trough data to the callback. See this GDB backtrace:

(gdb) frame 1
#1  0x4008c968 in emph_menu_activate (em=0x83e75f0, item=0x8207648,
                                      data=0x811dc70) at e-menu.c:628
628             e_plugin_invoke(hook->hook.plugin, item->user_data, em->target);
(gdb) print em->target
$8 = (EMenuTarget *) 0x842c410
(gdb) frame 0
#0  e_plugin_invoke (ep=0x811dc70, name=0x811dc70 "\uffffz\021\b\001",
                     data=0x811dc70) at e-plugin.c:465
465             if (!ep->enabled)

Notice how, in frame 1, the value of em->target is 0x842c410, but when it’s passed to frame 0, its value, all of a sudden, is 0x811dc70? Hmm… it seems some stack corruption is going on here… I already tried a rebuild, and that didn’t work either… Ah well.

Anyway, if you want an example of how to try to implement a menu item in an Evolution plugin, here’s my current progress. The directory the files are in is referenced to in several files, so edit before running. Making a symbolic link to the eplug file in the ~/.eplug directory should then be enough to get the plugin display it’s menu item and a “Hello, World!” message…

Mailing List Actions: Initial release

As a followup to yesterday’s story, for some reason the stack corruption problems have disappeared now, so I wrote an initial version of my plugin, which can be found here.

To install, follow the following steps:

  • Unpack
  • Edit the Makefile, first line, to refect your configuration
  • Edit the eplug file; there are a few references to your install directory there
  • Make a symbolic link to the eplug file in the ~/.eplug directory
  • Run Evolution — you’ll need to build the CVS Head version :)
  • Profit!

The thing currently hooks to the folder and message view. No popups yet as I haven’t figured that out yet.

Sorry, no obligatory screenshot this time (I can’t figure out how to use the GNOME Screenshot tool to shoot a menu…), but I’ll do a quick eplug menu HOWTO if I feel like it…