The final of the Queen Elisabeth contest for piano 2007 has started on monday and is now halfway.
Six finalist have played, with six more to come. The standard throughout the week was very high, but the second finalist that played this evening was absolutely amazing.
Anna Vinnitskaya started her performance tonight with a Beethoven sonate (Sonate n.13 in Es op. 27/1 “Quasi una fantasia”) which she played as it was meant to be.
Then she played Prokofiev's second piano concerto. And it was beautiful.
This concerto is immensely difficult to play, so the commentators on television said, but she played it like she does this all the time. Maybe she does, which might explain why she played it so well. ;-)
Both the public and panel on television were very enthousiastic about her performance.
With another six finalists that have to play in the next three days, one can only hope that all of them play equally well. But if they don't, Anna Vinnitskaya has a very good chance to become this year's winner.
Thursday, May 31, 2007
Prokofiev 2
Posted by Dieter Adriaenssens at 01:42 2 comments
Slurpr
Last week I came along a device, called Slurpr, on the blog of Geektechnique. The creators called it 'the ultimate wardrive box'.
It is designed to access up to six wireless networks, in order to accumulate the bandwith of the wifi's it is connected to and get a massive total available bandwith.
Although wardriving and accessing other people's private wifi's is actually forbidden, this is still a very cool gadget.
It seems other people on the internet have noticed this device too, as this webcomic already mentions the Slurpr.
Monday, May 21, 2007
Fair(y) Use
This film explains what copyright is, using parts from Disney pictures. It is quite neatly done.
Now let's hope this film could be considered a parody, otherwise it's not fair use of copyrighted material and thus illegal. ;-)
Posted by Dieter Adriaenssens at 18:00 0 comments
No mail
The mail service in my town is on strike for over a week now. This means I, and all other inhabitants of my town, haven't received any mail since.
The employees of the mail service are on strike to protest against Georoute2, a software application that was implemented last summer to optimize the delivery of mail. They claim the work pressure has gone up since the new software is being used.
I can do a few days without mail, I'm expecting no important letters or bills. But now, the strike is on for more than a week, and I'm starting to wonder about a few things.
Is there any important mail for me, that is delayed now, because of the strike?
When will the strike end?
If the strike ends tomorrow, how many days will it take the postal service to deliver all delayed mail?
Isn't this going to cause even more work pressure for the employees, until all delayed mail is delivered?
If the strike takes much longer, will there be an alternative to get my mail?
What if I receive some bills past due date, because of the strike?
Posted by Dieter Adriaenssens at 15:09 0 comments
Labels: chaos
Gadget keyboard
Optimus Maximus sounds more like the name of an Emperor or warlord from the Roman Empire, but actualy it is the name of a very cool keyboard.
On first sight it seems to be a normal keyboard, with some extra colourful buttons. But what makes this keyboard special is the buttons. A small LED-screen is fitted into each button, making the keyboard-layout fully dynamic. The keyboard can have azerty, qwerty or dvorak layout, but can also show Cyrilic, Arabic, Chinese or Hindi characters on the buttons. All buttons are fully adjustable and you can add your own (moving) images to each buttons.
This keyboard was in a development stage for quite some time now, but starting this week it can be pre-ordered. The first 200 to order the keyboard will receive it in the beginning of december 2007.
There's only one small drawback to this very cool gadget keyboard : it's priced approximatly at 1250 €.
Saturday, May 05, 2007
Adventures at the counter
Yesterday, I ordered train tickets for a trip to Barcelona and today I headed over to the train station to get them.
It was quiet in the station hall, no one seemed to take a train at that moment, so I went to the counter and told the person behind it I had ordered some traintickets and would like to get them. She asked me for the reservation code and some details about payment. Everything went well and soon my tickets were being printed.
But then two ladies entered the station hall en came to the counter, standing behind me, waiting to buy a train ticket. There was only one counter available at the time, so they had to wait until I had finished receiving my tickets. Because the transaction of printing ordered international train tickets takes a little longer than buying a local trainticket, the two ladies behind me started mumbling after about a minute of waiting: 'Why does it take so long?' It seemed that the noun 'to wait' didn't occur in their dictionary, as one of the ladies soon stood next to me repeating the same question.
Naive as I am, I responded that I was getting some ordered tickets, but that she could get her ticket at an automatic ticket dispenser located a bit further in the station hall. I suspect she didn't like my answer, looking at her facial expression while she mumbled something like, 'Me? Do 'I' have to get my ticket there?' Later, I realised she probably wasn't aware something like an automatic ticket dispenser existed, let alone that she knew how to operate one.
But she gave it a try, heading over to the machine, but soon returned to the counter, standing next to me while trying to get the attention of the person behind the counter.
The woman behind the counter ignored her and continued handling my tickets and started explaining which tickets I had ordered before putting them in an envelope.
Then the lady next to me started talking to the person behind the counter, telling that she needed a train ticket urgently.
The woman behind the counter answered : 'I'm busy, wait your turn.'
Then the woman next to me replied : 'But I need to get a ticket urgently, I'll miss my train.'
The woman behind the counter responded : 'I can't be bothered, I'm handling an international dossier. Wait your turn.'
The woman behind the counter continued putting my tickets in an envelope, while the woman desperatly needing a train ticket backed off. When the woman behind the counter handed me the envelope I thanked her, wishing her a nice evening and started heading out of the station hall. While I left, I heard the woman, who stood behind me earlier, ordering her train ticket.
I think I was less than five minutes in the train station, which was not such a long time for getting international train tickets. I remember standing behind a couple ordering their international train tickets with only one counter available in the station, when I needed to get a train ticket, with the departure of my train getting nearer as minutes passed by. I don't remember clearly how long I had to wait then, but I'm quite sure it took longer than I had to wait for my tickets today. But I got a ticket and that train on time, probably with seconds to spare, but who cares about that when one gets on a train right on time.
Normally, I use a railpass for 10 rides, that I have to fill in before getting on a train, so I don't need to wait at the counter before I can get my train.
But if I have to buy my ticket, I use this rule of thumb : 'Leave 10 minutes earlier, in case you have to stand in line before you can get a train ticket.', a rule of which the two ladies behind me probably hadn't heard before. If you don't have to stand in line more than 10 minutes, you can get your train without rushing and maybe you have time to buy something to drink or enjoy the sun or the people passing by while standing at the platform. If you do have to wait for more than 10 minutes, well, then there's nothing you can do about it, but wait. There are plenty of trains to come after the one you are missing. Missing a train gives you even more time to enjoy the sun at the platform, or watching people in the train hall, rushing to get their train. Or maybe you can get something out of your bag to read while you are waiting for the next train.
This is what I meant when I mentioned, 'relaxing trip' when traveling by train, in the previous message : reading a bit while listening to some music, watching people or enjoying the scenery. But some people don't seem to get this.
md5-hash of strings are not the same with different charactersets
I maintain a website which hosts a forum, using popular forum software. This forum stores an md5-hash of the passwords of the users of this forum in a database. This website also has an admin section which is protected by a password. The passwords of the forum database are used to get access to the admin section. To do this the md5-hash of the submitted password is compared with the md5-hash stored in the database, exactly the same way as it is done by the forum software.
This week one of the users of the website reported to me that he was unable to access the admin section, but was still able to log in to the forum. The mechanism to check the password is identical for the admin section and the forum (as described in the previous paragraph), so at first I didn't understand why he couldn't access the admin section of the website. After some debugging I found out that the md5() function produced a different hash of the same password. It produced a correct hash, which was identical to the hash stored in the database, on the forum, but a different hash came up on the admin section.
I then remembered that the webserver (Apache 1.3) was upgraded a week earlier. The new webserver (Apache 2.0) uses a different default characterset (UTF-8), causing the website to work perfectly, but some special characters were replaced with question marks. This problem was solved by changing the characterset, in a .htaccess file in the directory of the forum, as the problem only occured there :
In .htaccess I added:
AddDefaultCharset ISO-8859-1
Only the forum used the old characterset, while the rest of the website, including the admin section, used the new default characterset of the webserver. Everything seemed to work fine.
Until this week, when that user couldn't access the admin section, while some other users still could login to the admin section. After some investigation I found out that the user that couldn't login used some special characters in his password. Then I started to realise that the md5() function must produce a different hash of the same string when it is encoded in a different characterset.
This makes perfect sense. In a lot of charactersets, normal alphanumeric characters (a-z, A-Z, 0-9) are in the same place, but some special characters like é or @, can have a different place in another characterset. When a string encoded in different charactersets contains special characters, it has a different value (on a binary/hexadecimal level). Thus when a hash is calculated of these strings, different hashes are produced.
Now that I understood what was happening I solved the problem by applying the same characterset to the entire website. The user who reported the problem was again able to login to the admin section.
Posted by Dieter Adriaenssens at 02:38 0 comments
Labels: internet, php, programming, structure
Barcelona, here I come!
The idea to go to Barcelona by train arose during a conversation during this winter. The plan was to go on a relaxing trip, both during the travel to Barcelona as during our stay there. We looked forward to do a bit of reading while driving by train and taking a peek every once in a while at the beautiful French landscape passing by.
We haven't made any arangements until now, but I just booked our train tickets so this means we are on our way in a few weeks time. Shortly after the examinations will have ended, we head for Barcelona.