soledad penadés
repeat 4[fd 100 rt 90]

Archive for December, 2005

20051224 Christmas Holidays, day 1: white christmas… in the pyrenées only

pirineos

Ok, so I finally arrived to Spain, after loooooong queues at Gatwick Airport (just three open desks for checking for Berlin, Belfast, Geneva, Madrid and Valencia… doesn't sound good!). Then almost an hour of delay -including the weird travel we made from the South Terminal to the North one, then more delays for getting my suitcase at Valencia. Seems like they didn't empty completely the tape from suitcases belonging to the previous flight. So they had to remove first all the remaining ones before allowing ours to enter the building. And gosh! they didn't look like working.

Also, the supposed to be automatic door didn't work properly. Someone had to force the door with a screwer.

This kind of things makes me feel ashamed of being spanish. And I didn't even try to go to the toilets. I didn't want to be welcomed with the characteristic unpleasant smell of spanish public toilets.

Then we had to walk a long path to arrive to our car. As you should know if you are willing to travel to Spain, there is a high probability of finding construction works wherever you go. These works usually are quite annoying and are very badly signalled, as in this case. They were refurbishing the parking and it was quite complicated to get to and from it, specially if you go with big luggage items.

Anyway, we managed to go out from there and find our path (a bit of femenine intuition and common sense works wonders!) through the motorway, and finally arrived home.

This evening we had a little walk around to have a look at the city and see how it changed since last time I was there (it's been almost a year since then). They have demolished lots of buildings (people doesn't refurbish things in Spain, they destroy everything and then start from scratch) and have even built a SUPER UGLY shopping center. It should have been called the Cement Delight - imagine a big mass of grey cement without any aesthethic taste in its shape, which doesn't look like agile but as a "big something", stuck in the middle of a neighbourhood, without any relationship with the decorations of surrounding buildings.

I really hate that contrast each time I come back to Spain. It's really disgusting. Each time you come back, you find there's something else which has been removed from your personal history. That building which had a nice icecream shop where you treated yourself on summer, has been demolished. That garden where you played, has been replaced by a public parking. And the list could continue forever. Of course nothing is forever but we really don't need to destroy all our memories, do we?

Anyway, time to go bed. I just slept like 4 hours today and am really tired!


Edirol!!

Trace does not realize what he has made!! He made me this beatiful present, an Edirol keyboard…

edirol keyboard

Obviously now I feel the need for making lots of music! Poor you…

20051223 Mi pobre karma…

… o cómo decirse mentalmente: no, no le tatúes google en la frente, no lo hagas… aún…

Escenario: Programador wannabe vago listillo frente a Sole, programadora hecha a sí misma.

Acto I: Cuando PHP tiene vida propia

P: Me sale una mierda en la pantalla. No sé por qué
S: ¿Y si borras el print_r?
P: ¿Tú crees que será por eso?
S: ¬_¬

Acto II: Eclipsado ante la complejidad del universo

P: Puedes venir un segundo? No entiendo que pasa aquí
S: ¿Sí?
P: Nada, la mierda esta de código, que no sé para que sirve toda esa mierda. ¿La borro?
S: (Mirando a un impecable código escrito por mí y controlando la ira) ¿Que por qué dices que es una mierda?
P: Porque no lo entiendo. Es una mierda.
S: ¬_¬"

Acto III: El mundo al revés

P: Me sale un fallo (en realidad le salían 20 fallos en cascada)
S: ¿Y qué dice?
P: Nada, no se qué mierda de un objeto que no existe o algo así. No sé por qué sale esta mierda. (señalando al final de la página y al último error)
S: (Mirando al churro de errores). ¿Y por qué no arreglas la query del principio?
P: ¿Tú crees que será eso?
S: ¿Cómo vas a llamar a un RecordSet que no existe porque la query falla? ¿No te das cuenta de que no puedes llamar a un método de un objeto booleano porque los objetos booleanos no tienen métodos ni tan sólo son objetos?
P: Vaya mierda. ¿Tengo que arreglar la query?
S: O_O

Acto IV: La impertinencia de la adolescencia

P: Es que no saca nada por pantalla.
S: Prueba a usar var_dump en lugar de echo para depurar y así puedes ver el tipo de dato que te está devolviendo
P: ¿Y eso de qué me sirve?
S: (cuenta hasta 10)… pues para ver qué te devuelve la función… y ver por qué no te sale nada en la pantalla cuando asignas ese resultado a la plantilla
P: Da false. Vaya mierda.
S: ¿Qué parámetros le pasas a la función? Ah, vale, ya veo, tienes que pasar un array a esta función en lugar de la cadena que le estás pasando.
P: ¿Por qué tengo que pasarle un array?
S: Porque la función espera un array. Si le pasas una cadena, no funcionará.
P: ¿Por qué no? ¿Menuda mierda, no?
S: ¡Porque esto es así! ¡Pregúntale al que hizo la función! (estamos hablando de una función de un framework web).
P: No lo entiendo.
S: Pásale un array.
P: mierda…

Acto V: Peleando con CSS

P: Creo que este css está mal. Me salen las cosas fuera del sitio.
S: (mirando al css… un simple estilo con text-align: left). Hombre pues no parece que haya mucho problema con esa clase, ¿no?
P: Es culpa del css. Mira: (y enseña un código de una tabla con cosas enmedio de los TR)
S: (gotas de sudor frío… petrificada ante tal desastre). Es que a ver… no puedes meter cosas al libre albedrío en la tabla… si abres un TR lo tienes que cerrar… y las cosas las tienes que meter dentro de TD's, los cuales a su vez van dentro de los TR
P: ¿Entonces no puedo poner HR entre cada fila? (Nota: se refiere a poner HR entre los TR)
S: NO!
P: ¿Y tú crees que el CSS está bien? Yo no estaría tan seguro…
S: ESTÁ PERFECTO
P: Yo creo que si le pusiera un valign…
S: NO!!!!
P: ¿Por qué no?
S: Los valigns son malignos! USA CSS!!!!
P: ¿Pero por qué?
S: USA CSS!!!

Acto VI: ¿Dónde están mis llaves?

Me enseña un trozo de código, algo tal que así:
if (algo)
{
funcion();
}
else
{
otrafuncion()
}

S: Si no te importa, me gustaría que reescribieras el código de otra manera, porque así me paso tres horas para leerlo.
P: NO!! ¿¡Qué dices!? ¿Pero cómo voy a poner la llave en la misma línea que el IF?
S: Este código es una pérdida de espacio! ¡Lo que pones en 6 líneas cabe en 4!
Reescribo:

if (algo) {
funcion();
} else {
otrafuncion()
}

P: Eso es una mierda! Es imposible de entender!
S: Tú no has leído mucho código, ¿verdad? Pues eso se puede escribir en una sola línea
P: No… ¿en serio?
S: if(algo) funcion() else otrafuncion();
P: pffff… pero yo nunca entenderé eso…

Acto VII: No quiero estar solo

P: Entonces, ¿te vas de vacaciones de navidad?
S: Sí, hasta enero, tengo unas ganas!!
P: ¿Y yo qué haré?
S: Ehm… ¿currar?
P: ¡Pero yo no puedo estar solo!
S: ¿Se puede saber por qué? ¿Qué impedimentos tienes? Yo estuve el año pasado aquí sola en navidad y no me he muerto.
P: ¿Y si tengo una duda?
S: Google?
P: ¡Pero yo no sé buscar! ¡Vosotros sois buenos y sabéis hacer las cosas! Yo estoy aprendiendo…
S: Yo entré al mismo tiempo que tú el año pasado y me pude quedar sola. Y ya es hora de que espabiles…
P: ¿Te puedo enviar un e-mail con dudas?
S: Puedes, pero probablemente no te lo responda hasta que vuelva…

Acto VIII: Buscar es muy mundano

P: No entiendo esta función
S: ¿Has buscado en la documentación?
P: No
S: ¿Entonces cómo esperas entenderla?
P: No sé
S: Búscalo.

Próximas entregas, después de las vacaciones… A ver si vuelvo con el karma estabilizado =_=

20051222 xplsv.tv: motiongraphics tv is not beta anymore!!

It's been a very loooong time since we released first version of xplsv.tv. At that moment, it lacked lots of features, and other were not very well defined - we learnt by seeing what the users did and asked for.

In a given moment, trace (or mr.doob) decided to change from the winamp tv stream that we had to a flash based solution. This one was better and easier for the system maintenance as we didn't had to ask anyone at cdmon (our kind sponsors, after our other kind sponsor scenesp) to run a dedicated process for streaming the motions. Now it's just the client computer the one which requests flash video movies (FLV's) to the server. And those are simple http requests.

Also, the support for flash is much better than the winamp video plug in - which was just available on windows platform, at least on that moment. That way (by using flash) we had a legion of mac users being able to enjoy the TV too! no more complaints from jealous apple users… which are a big mass in the motion graphics creators population, by the way.

So there he went coding and improving the tv flash player. And finally yesterday he finished it, and I am very proud to announce it here too: motiongraphics tv is not beta anymore! - specially in this forever beta trend which is disperse all around the world wide web :)

I am very happy and would like to thank everyone which has been using xplsv.tv and has not sent me a threatening e-mail each time they found any bug or error in the php code, as it's been mostly my fault by ignorance. Work in the existing (and upcoming) features is in progress and I hope to provide some nice (whether it is new or improved) functionality in the following months. Thanks to all!!!!

20051221 Nada de malo conocido…

En un momento de originalidad, se me ha ocurrido comparar así por encima los precios del catálogo de argos (una tienda que vende masivamente aquí en Reino Unido) con los precios del Corte Inglés, todo esto en la parte de edredones (tengo unas ideas para regalo tan originales… a veces me sorprendo… bueno, a lo que iba…).

El caso es que he empezado a ver precios y me ha mareado el hecho de que el catálogo del corte inglés no está ordenado de ninguna de las maneras. Ni por precios, ni por nombres. A saber con qué criterio. Y claro, lo primero que me amanece es una funda nórdica de Calvin Klein. Vamos, que puedo tener mis toques pijos, pero tanto como regalar una funda de CK pues como que no. Sigues mirando y es un pitorreo, todo está mezclado: fundas de niños con fundas de "adultos", etc. Unas fotos mini y un rollazo en cada descripción, entre otros lo siguiente:

  • … esto te encantará…
  • … deliciosa funda nórdica…
  • … te presentamos esta maravilla…
  • … mágica funda nórdica…
  • … un conjuro se apoderará de tí…

Vamos, literatura de segunda. Yo es que no sé si me he vuelto muy práctica pero a mí todo ese rollo me sobra. Y alucina, vecina, que aún ponen los precios equivalentes en pesetas por si alguien aún no se ha pispado. Es increíble.

Respecto a los estampados… ¡menudo espanto! ¿No pueden ser más horribles? Esos floripondios horteras, esos colores granate tan pesados. Luego te vas a cualquier otra tienda (mismamente el argos) y la verdad es que las cosas son más modernas. Pero vamos, que en habitat o en ikea también hay por el estilo.

Y finalmente, los fabricantes. Con eso de haber vivido tantos años en "la capital del textil", me suenan trapicheos de prácticamente todos los fabricantes o manufactureros de fundas nórdicas del corte inglés. ¿Y qué pasa con eso? ¡Pues que me da cero ganas de comprar algo que haya salido de esos nidos de ratas!

Así que sea made in China o made in donde sea lo que vendan en el argos/habitat/ikea/lo que sea… ¡con esta bienvenida del Corte inglés es que me han espantado para veinte años más!

¡Mejor bueno por conocer!