martes, mayo 13, 2008

A veces

A veces, creo que una sola palabra bastaría.

         y otras que sólo sirven para hacer daño.

A veces, la risa se me hila con las lágrimas. A veces, veo el Sol.

A veces, imagino, a veces pienso.

A veces, lloro.

A veces, me siento ser.

A veces, recuerdo.

A veces, vuelvo, a veces avanzo.

        caigo, tropiezo, me levanto, tropiezo, caigo, subo, sigo...

 

Ergo sum...

Mindfields

Mindfields,
The Fat of the Land (The Prodigy)

Última de las entregas de los temas que más me gustan de The Prodigy.

En esta ocasión como véis, es Mindfields, del album The Fat of the Land (es el primer corte). Puedes escucharla de fondo cuando Trinity se encuentra con Neo (lo siento, está en italiano, aunque está divertido escuchar que Trinity fue la que "a violato el database del fisco").

lunes, mayo 12, 2008

The problem is choice

The Architect - Hello, Neo.

Neo - Who are you?

The Architect - I am the Architect. I created the Matrix. I've been waiting for you. You have many questions, and although the process has altered your consciousness, you remain irrevocably human. Ergo, some of my answers you will understand, and some of them you will not. Concordantly, while your first question may be the most pertinent, you may or may not realize it is also the most irrelevant.

Neo - Why am I here?

The Architect - Your life is the sum of a remainder of an unbalanced equation inherent to the programming of the Matrix. You are the eventuality of an anomaly, which despite my sincerest efforts I have been unable to eliminate from what is otherwise a harmony of mathematical precision. While it remains a burden to sedulously avoid it, it is not unexpected, and thus not beyond a measure of control. Which has led you, inexorably, here.

Neo - You haven't answered my question.

The Architect - Quite right. Interesting. That was quicker than the others.

"Others? What others? How many? Answer me!"

The Architect - The matrix is older than you know. I prefer counting from the emergence of one integral anomaly to the emergence of the next, in which case this is the sixth version.

"Five versions? Three? I've been lied too. This is bullshit."

Neo: There are only two possible explanations: either no one told me, or no one knows.

The Architect - Precisely. As you are undoubtedly gathering, the anomaly's systemic, creating fluctuations in even the most simplistic equations.

"You can't control me! Fuck you to death! I'm going to kill you! You can't make me do anything!"

Neo - Choice. The problem is choice.

The Architect - The first matrix I designed was quite naturally perfect, it was a work of art, flawless, sublime. A triumph equaled only by its monumental failure. The inevitability of its doom is as apparent to me now as a consequence of the imperfection inherent in every human being, thus I redesigned it based on your history to more accurately reflect the varying grotesqueries of your nature. However, I was again frustrated by failure. I have since come to understand that the answer eluded me because it required a lesser mind, or perhaps a mind less bound by the parameters of perfection. Thus, the answer was stumbled upon by another, an intuitive program, initially created to investigate certain aspects of the human psyche. If I am the father of the Matrix, she would undoubtedly be its mother.

Neo - The Oracle.

The Architect - Please. As I was saying, she stumbled upon a solution whereby nearly 99.9% of all test subjects accepted the program, as long as they were given a choice, even if they were only aware of the choice at a near unconscious level. While this answer functioned, it was obviously fundamentally flawed, thus creating the otherwise contradictory systemic anomaly, that if left unchecked might threaten the system itself. Ergo, those that refused the program, while a minority, if unchecked, would constitute an escalating probability of disaster.

Neo - This is about Zion.

The Architect - You are here because Zion is about to be destroyed. Its every living inhabitant terminated, its entire existence eradicated.

Neo - Bullshit.

"Bullshit!"

The Architect - Denial is the most predictable of all human responses. But, rest assured, this will be the sixth time we have destroyed it, and we have become exceedingly efficient at it.

The Architect - The function of the One is now to return to the source, allowing a temporary dissemination of the code you carry, reinserting the prime program. After which you will be required to select from the matrix 23 individuals, 16 female, 7 male, to rebuild Zion. Failure to comply with this process will result in a cataclysmic system crash killing everyone connected to the Matrix, which coupled with the extermination of Zion will ultimately result in the extinction of the entire human race.

Neo - You won't let it happen, you can't. You need human beings to survive.

The Architect - There are levels of survival we are prepared to accept. However, the relevant issue is whether or not you are ready to accept the responsibility for the death of every human being in this world.

The Architect - It is interesting reading your reactions. Your five predecessors were by design based on a similar predication, a contingent affirmation that was meant to create a profound attachment to the rest of your species, facilitating the function of the one. While the others experienced this in a very general way, your experience is far more specific. Vis-a-vis, love.

Neo - Trinity.

The Architect - Apropos, she entered the Matrix to save your life at the cost of her own.

Neo - No!

The Architect - Which brings us at last to the moment of truth, wherein the fundamental flaw is ultimately expressed, and the anomaly revealed as both beginning, and end. There are two doors. The door to your right leads to the source, and the salvation of Zion. The door to the left leads back to the matrix, to her, and to the end of your species. As you adequately put, the problem is choice. But we already know what you're going to do, don't we? Already I can see the chain reaction, the chemical precursors that signal the onset of an emotion, designed specifically to overwhelm logic, and reason. An emotion that is already blinding you from the simple, and obvious truth: she is going to die, and there is nothing that you can do to stop it.

The Architect - Humph. Hope, it is the quintessential human delusion, simultaneously the source of your greatest strength, and your greatest weakness.

Neo - If I were you, I would hope that we don't meet again.

The Architect - We won't.

So I don't forget...

La versión en español puedes verla aquí (aquí una parodia de los MTV Music Awards 2003, para relajar la tensión filosófica, y aquí la versión de "la matriz").

Breathe

Breathe with me

[Estribillo]
Breathe the pressure
Come play my game I'll test ya
Psychosomatic addict insane
Breathe the pressure
Come play my game I'll test ya
Psychosomatic addict insane
Come play my game
Inhale, inhale, you're the victim
Come play my game
Exhale, exhale, exhale

[Estribillo]

Breathe,
The Fat of the Land (The Prodigy)

Uno más en nuestro repaso por la discografía de The Prodigy.

Podré estar más o menos de acuerdo con la estética que me llevan, pero si me restrinjo únicamente al tema, es otro de esos que me encantan. Creo que el quid está en la percusión...

sábado, mayo 10, 2008

Ejercicios calisténicos para objetos

Acabo de leer un post de Andrew Binstock al que he llegado saltando de aquí para allá mientras procrastinaba un poco. Andrew leyó en "The ThoughtWorks Anthology", uno de los últimos libros de la serie "Pragmatic Programmers" un capítulo dedicado a la "calistenia para objetos" (Object Calisthenics) escrito por Jeff Bay.

La palabra es un poco rara así que he investigado un poco sobre ella.

Calistenia f. La calistenia es el ejercicio físico destinado a desarrollar las fuerzas musculares.

Es una palabra que ha entrado en el castellano de la palabra inglesa callisthenics, y estos del griego καλλος (kallos = hermoso), y σθενος (sthenos = fuerza).

En realidad creo yo que el autor no se refiere a la calistenia de los objetos, sino la del programador. De hecho, las normas no son para los objetos, sino para los que los escriben. Los ejercicios  son nueve, y los resumo a continuación.

1. Usa sólo un nivel de indentación por método. Si al escribir un método necesitas un nivel más, significa que tienes que crear un nuevo método al que llamarás desde aquél.

2. No utilices la palabra clave else. Si la condición no se cumple, debes salir del método. Esto evitará el famoso código sinusoidal al no permitirse cadenas de elses.

3. Esconde las cadenas y los tipos primitivos en clases. Esto se llama "obsesión por las primitivas" y no tiene nada que ver con las féminas de Atapuerca. Significa que si representas un código postal como una cadena de 5 dígitos, debes crear una clase CodigoPostal que esconda la cadena.

4. Utiliza sólo una instrucción punto por línea. Eso significa que te tienes que OlvidarDe.Llamar().AUnMetodo().TrasOtro() en la misma línea y UtilizarSolo.UnaLlamada()

5. No abrevies los nombres. Este punto no lo he entendido, pero parece ser que favorece este tipo de llamadas => Alumno.Matricular(), frente a este otro => Alumno.MatricularAlumno(). Como no lo he entendido muy bien lo cito y pido vuestra opinión:

Don't abbreviate names. This constraint avoids the procedural verbosity that is created by certain forms of redundancy --if you have to type the full name of a method or variable, you're likely to spend more time thinking about its name. And you'll avoid having objects called Order with methods entitled shipOrder(). Instead your code will have more calls such as Order.ship().

6. Haz que las clases y los paquetes (á la Java) sean pequeños. Por lo visto la heurística es no más de 50 líneas por clase y no más de 10 clases por paquete, lo que favorece mantener la cohesión y el acoplamiento controlados. De gratis, las clases te cabrán en la ventana del IDE.

7. No utilices ninguna clase con más de dos variables de instancia. Opina Andrew que esta es quizá la más dura de seguir, Según Bay, si tienes más de dos variables hay motivos para pensar en agruparlas en otra clase (de dos en dos, claro está). Como bien apunta un anónimo, lo tenemos crudo para programar la clase PuntoEnElEspacio, que necesita claramente tres variables.

8. Utiliza colecciones de primera clase. Lo que significa que tu clase Alumnos debe tener una única variable de instancia: una tabla hash, un array, o lo que sea. Pero sólo una variable.

9. No utilices setters, getters o propiedades (¿alguien tiene alguna sugerencia para traducir getter y setter?). Propiedades caca. Por lo visto esta regla favorece la encapsulación, obliga a la implementación de inyección de dependencia, según el principio de "ordena, no preguntes" (tell, don't ask).

Como yo tengo la misma duda que Patrick Dubroy sobre si esto va de coña o no, me he propuesto analizar cada uno de ellos. Como el artículo puede ser muy largo, voy a dejar cada reflexión en un post distinto, y así también descanso un poquito :-).

Seguiremos informando.

viernes, mayo 09, 2008

Voodoo People

Voodoo people
Music for the Jilted Generation (The Prodigy)

No cabe duda. Como dije hace ya años, esta es la música ideal para jugar al Quake (o al Doom... ¡Qué tiempos aquellos!). El tipo que suena de fondo dice más o menos esto: "Magic people, voodoo people, Voodoo, the voodoo, who do what you don't dare to people".

Más repasos de la música de The Prodigy aquí, aquí y aquí.

jueves, mayo 08, 2008

No Good (Start the dance)

No Good (Start the dance),
Music for the Jilted Generation (The Prodigy)

Aunque demasiado "maquinera", es este el primer tema que escuché de esta gente, así que tiene puesto preferente. Alucinante cómo ha cambiado el Keith de este vídeo a, por ejemplo, el de "Firestarter" (es el de los pelos como el jefe de Dilbert).

Más repasos de la música de The Prodigy aquí y aquí.

Sedicente

sedicente (Calco del fr. soi-disant). 1. adj. irón. Dicho de una persona: Que se da a sí misma tal o cual nombre, sin convenirle el título o condición que se atribuye. Los sedicentes filósofos.

Rescatado del Buscón de la RAE, tras haber leído la palabra en un post en el blog de Joaquín Leguina.

Climbatize

Climbatize,
The Fat of the Land (The Prodigy)

Continuamos con el repaso por los temas que más me gustan de The Prodigy. El vídeo no es el original, y aprovecha imágenes de Final Fantasy.

miércoles, mayo 07, 2008

Narayan

Narayan
The Fat of the Land (The Prodigy)

¿A qué velocidad se mueve un glaciar?

Un poco más lento que un Ent, a tenor del siguiente vídeo (vía Fogonazos), grabado con cámara lenta:

Si el de arriba es impactante, el siguiente vídeo no lo es menos. En este, han dispuesto una rueda bajo el hielo que... mejor míralo por ti mism@.

Algunos ejemplos más de time lapse en Fogonazos, Fogonazos, Fogonazos, Microsiervos, y Microsiervos.

Por un momento...

...me quedé pensando.

StartSecondLifeNow

martes, mayo 06, 2008

Un regalo

Imagen004

A veces el cielo te regala estas cosas (aunque muy tenue, se ve). La foto la tomé este pasado fin de semana, justo debajo de la Torre de Cristal, desde mi móvil.

Don't panic

bones sinking like stones
all that we've fought for
homes, places we've grown
all of us are done for

we live in a beautiful world
yeah we do
yeah we do
we live in a beautiful world

bones sinking like stones
all that we've fought for
homes, places we've grown
all of us are done for

we live in a beautiful world
yeah we do
yeah we do
we live in a beautiful world

we live in a beautiful world
yeah we do
yeah we do
we live in a beautiful world

oh all that i know
there's nothing here to run from
cause here, everybody here's got somebody to lean on

Don't panic
Parachutes (Coldplay)

A better world

Savage Chickens - A Better World

¿Y vosotros qué pensáis?

lunes, mayo 05, 2008

Para nada

Trabajé el aire
se lo entregué al viento:
voló, se deshizo,
se volvió silencio.

Por el ancho mar,
por los altos cielos,
trabajé la nada,
realicé el esfuerzo,
perforé la luz
ahondé el misterio.

Para nada, ahora,
para nada, luego;
humo son mis obras,
cenizas mis hechos.

...Y mi corazón
que se queda en ellos.

Ángel González

El nuevo traje del Emperador

z140335005 Nos vestimos con ropajes engañosos, ocultamos nuestros defectos, soterramos nuestros miedos bajo toneladas de hormigón con forma de control, nos imaginamos lo que no somos, levantamos nuestras cabezas con orgullo, como una hormiga que consigue llegar a la punta de una brizna de hierba. Negamos lo evidente, afirmamos lo que nos viene bien, modificamos la realidad para adaptarla a nosotros, cambiamos el color y la forma de la lente por la que vemos para ver lo que queremos ver...

Bienvenidos a la cruda realidad de la percepción...

¡Demonios! Yo mismo he caído en ello... Rehago la frase: Bienvenidos a la cruda realidad de mi percepción.

¡Nah! No me hagáis caso...

Hall of Fame (II)

product-792280 Wilson, Señor, el de Daniel el travieso.
Wilson Wilson, el de las raquetas.
wilson_house_2 Wilson, James, el oncólogo de House, que también fue Puk.
wilson_naufrago Wilson: El compañero de Hanks en Naufrago.
Charles_Thomson_Rees_Wilson_at_1927_Solvay_conference Wilson, Charles Thomson Rees, el de la cámara de sí mismo, conocida como la cámara de niebla.
owen Wilson, Owen, Hutch en Starsky y Hutch.

Como siempre, se admiten sugerencias. ¿Algún otro personaje real o de ficción?

viernes, mayo 02, 2008

Hall of Fame

maya101 Willy, el abejorro vago, amigo de la abeja Maya.
willy_simpsons Willy, Groundkeeper, el portero del colegio de primaria de Springfield.
keiko Willy, Free, la ballena que hay que salvar.
willy Willy, Tanner, el padre adoptivo de Alf.
lavueltalamundodewillyfog Willy, Fog, el que da la vuelta al mundo
johnny_depp_i_charli_90203o  Willy, Wonka, el dueño de la mejor Fábrica de Chocolate del mundo.

 

¿Algún Willy más que sepáis? Se admiten sugerencias...

Última adquisición

Historia de la Matemática

Hace ya casi quince años que la biblioteca de mi barrio me prestó la "Historia de la matemática" de Boyer.

No voy a decir que lo he estado buscando desde entonces, porque no es cierto, pero sí es verdad que de un tiempo a esta parte me rondaba en la cabeza la idea de adquirirlo. Las veces que lo he buscado un poco más en serio no dieron ningún resultado. Fnac, El Corte Inglés o la misma Casa del Libro parecían no tenerlo. Internet ayudó sólo para comprobar que efectivamente las librerías no tenían copias, o que no estaba buscando bien.

El caso es que este último viernes, al ir a la Casa del Libro de la calle Orense por otro motivo, y ojeando un poco por ahí, encontré por fin el libro de Boyer gracias a la ayuda de una amable dependienta que me señaló la sección de Matemáticas. ¡Y vaya, resulta que había dos ejemplares!

Lo que más me gusta del libro es la manera tan equilibrada que tiene que presentar a la vez hechos matemáticos y hechos históricos. También es agradable conocer por qué el signo más es lo que es, cuál es el origen del cero, o de donde deriva las palabras álgebra o algoritmo. Las cosas ganan en significado cuando se conoce su historia, cómo no.