Monthly Archives: July 2006

Holidays: Bournemouth day 0

Finally on holidays!

To start with, I’m going to stay in Bournemouth (in the south of UK) for 2 weeks. I have just arrived and everything seems fabulous. The people, the house, the neighbourhood. Anyway I have to change 2 things in my mind, quickly: 1st is to think in pounds (not in euros) and 2nd to think they drive on the opposite side (so I have to take care, even though I’m only a pedestrian).

The first surprise here was a thing they said: “your English is good, so why do you need to come here?”. Oh God! Everybody says my English is quite good, but I still feel it’s not enough. Anyway I’m expecting to improve a lot in the next 2 weeks 🙂

Where are the basics about databases?

NOTICE: Find more in my tech blog:

At the office I’m working on a big website, with a blog, a forum, other things, and a “shared” user system: so you only have to sign in once and you can surf from one module to another (blog, forum) without the need of signing in again. The client wanted standard and well known modules (like “wordpress” or “phpbb”). Because of this I’m studing the inner operation of these web applications. The idea is to bypass or to change its login system and to use mine.

database iconSurprisingly I have discovered some lack of proffesionality in the database definition of “phpbb”. The user’s table allow to have duplicated login names! Even more, the “login” field is not the “primary key”. I don’t remember the whole details about database creation, which I studied in my degree, but the first rule was “if you have a field which defines without confusions an entity (a row), you have to use it as the primary key of the table“. For example, the national id number for persons, or the reference number for a bill, or the login for users of a computer system. “If you don’t find a clear field to define a row, you can create an ‘id’ field, defined as an autoincremental integer“. But I have seen a lot of people applying the second, without thinking. It’s easy to always create an ‘id’ field and avoid thinking about the basics… to be careless. But for me it’s not the correct option.

Again I feel there are too many people working as programmers without a real knowledge background. It’s easy to create websites, but it’s not so easy to create them WELL. In fact some people in the office dosn’t have a real degree, so it’s impossible to discuss with them about technical questions (especially when the reasons they use are things like “I’ve read it in a forum” or “making lots of modules is good to avoid the vertical scroll in your code editor”, incredible!!). This is a hard world for the people who believe in proffesionality, like me. We have to fight hard! Hasta la victoria siempre!

More on new playerThis weekend has changed its look & feel. Now you can see more information about the music you are listening to. And there are new features! They create a “recommendation radio”, where you can hear new music, and they add a pretty nice fader to filter songs, from popular to obscure. Great! Even more, they have just released a new player, with more options. A really good job from crew. I have decided to subscribe when I return from my holidays.

By the way, I have discovered I’m in three “top fans” lists from different bands: Tindersticks (the best chamber pop), Los Planetas (an alternative indie spanish group) and Kepa Junkera (folk music from the Basque Country). I didn’t expected to be so freaky!!

Finally, I have to comment something. Sometimes, especially when I’m listening to ambient music, suddenly I would like to make some music. But now I have a lot of work to do (I want to finish a friend’s website), and little time, so I have to prioritize, what a shame, why don’t we have more time?

Sad news from far, good news from near

This week I’ve been reading news about Israel and Lebannon hostilities with sadness. I hope they will finish soon. Some days ago I spoke with a french friend who is living in Damascus, Syria (which is next to both countries). She told me her worries… and we started to speak about political implications, those madness bombings, and people’s feelings there. So sad.

Esther and the fountainsOn the other hand, I’m pretty happy to have the visit of my friend Esther from Germany. She is going to spend the weekend here. Also my cousin came yesterday and left today, so last night at my home we had a lovely time!

Now she is at the beach (and I preferred to stay at home), so I’ve done a small autobiography for this website.

10,000 songs in 10 months

Today I have just broken the 10 thousand songs “barrier” in! I don’t know anybody who has done it. is a website (web 2.0 style) which records the name of every song you play in your computer (you should install a plugin to do this). With this information they made charts, and calculate “neighbours” (people with similar musical taste). Also they offer “radio stations” of different origins: type of music, neighbours and fans of a particular group.

I signed up last year, and since then, I’m really happy with this service. They helped me to find new interesting music; in fact, most of the music I’m listening to, today, were discovered surfing this website: Röyksopp, Death Cab for Cutie, The Postal Service, Boards of Canada, Lambchop, Tindersticks…

Even more… they help you to put information, about the music you are listening to, in your website. Here it is my recent listened to tracks list.

1001 reasons to beware of your knowledge

At bed-time, I’m reading a Go book called “One Thousand and One Life-and-Death Problems“. It’s a collection of problems to challenge your mind. The interesting issue is that most problems are quite easy, but anyway you spend a lot of time trying to solve them. Why? Because they make you think, they put in doubt your self-acquired knowledge. Sometimes you see a problem, and (without a really thinking) you say “it’s impossible, there is a mistake for sure”… but it’s only a first impression made by your lazy mind. This is not good. So this book helps you to break this subtle barrier between lazy and real thinking.
In Go, you learn a lot of shapes. You see them over and over, and you usually “absorb” them. But all of your knowledge can be questioned, so you have to be really cautious applying them. For example, the 3 stones straight shape (A1-A2-A3 in the figure) is (according to me) a 1-eye shape. Also, the 2 stones shape (C1-D1) is an eye-stealing standard shape. So, when you take a first look at this problem, which the title is black to live, you quickly think it’s impossible, because you know you need 2 eyes to live (and in the figure: 1-eye-shape plus 0-eye-shape is less than 2-eyes). But, wait a moment, there are only 2 posible moves to play (at B1 and at B2) so… why don’t you calculate both? Why do you assume it’s imposible? Why don’t you use your mind to do some real thinking? I’m sure in real life, during a tournament, a lot of people missread this situation, with time running out, and leave with a loss. It’s a bad thing to assume (ass+U+me, as my english teacher says).

Your knowledge is not a help to make you avoid thinking, but a tool to help you in different ways, to offer you wide possible solutions, and to help you to create new solutions, for the problem you are facing. And this is true not only for the game of Go, but for all knowledge you have in your mind (from engineering to social things).

Translateless prepositions

This morning I was thinking about prepositions. In Spanish there is a closed list, a short list, of prepositions. There are 20 of them (and in fact 2 of them are archaic), so it’s a small number, and you usually have to learn them by heart at school. While trying to wake up, my mind was playing on this issue, and I just found a literacy idea: use every preposition aiming “to you”, like a romantic poem. It was something like this (in Spanish):

“Preposiciones contigo”

Me gustarĂ­a ir a ti, estar ante ti, dormir bajo ti,
soñar con ti, jugar contra ti, saber de ti,
partir desde ti, vivir durante ti, pensar en ti,
colarme entre ti, correr hacia ti, hasta ti,
luchar para ti, por ti, actuar segĂșn ti,
enfadarme sin ti, volar sobre ti, e ir tras ti.

The problem arises if you want to make something similar in English, because there are a lot of different prepositions, so this “game of words” it’s not possible. You can’t learn it by heart at school, can you? This long list caused me some headaches in the past, 2 years ago, while I was researching on information retrieval using syntactic analyzers. We had to categorize them (time prepositions, position prepositions, an so on) to process the information in a better way. But when we thought we have the complete list, a new preposition arrived to our system and it was always a surprise: there are lots of them! 🙂

Anyway I may write something in English, developing the previous idea, but in another way. It can be interesting (at least to practise the correct use of prepositions). Hmmm, I have to think about it.

My Go rank in a button!

Yesterday I was at the Chinese Restaurant where all Go players meet every weekend. I played some interesting games with Edu (1 kyu) and CĂ©sar (4 dan). But the most interesting thing happened when Joan arrived. He, who is one of the most active members of the Gofme Go Club, asked me about my Go rank. “I’m 6 kyu, stepping to 5 kyu”, I replied. And suddenly he showed me a nice button with my rank written on it!
6 kyu button Next he showed us a collection of buttons he made, with ranks from 20 kyu to 5 dan. And, of course, everybody asked him for one. He said they were worth 50cent, but when I tried to pay him, he added “it’s free for you”. Why? “Because it’s one of your photos from our last tournament”, he said. It’s true!! Great!!

I usually publish all my photos with a Creative Commons license. So people can use my photos freely. And it’s the first time I’ve noticed somebody use one of my photos… to make a nice button. I’m so happy!!