Well, I finally managed to automate the publishing of my pictures, and all the pictures from march to June 2010 are already online.

Moreover, the Photolog is growing and growing... I have 32 entries right now and my idea is to have one or two entries per week

  1. Solve the white edges
  2. Solve the white corners
  3. Second layer:
    U R U' R' U' F' U F U' F' U F U R U' R'
  4. Orient yellow edges:
    F U R U' R' F' F R U R' U' F'
  5. Position yellow corners:
    L U' R' U L' U' R U2
  6. Orient yellow corners:
    R U R' U R U2 R' U2 R' U' R U' R' U2 R U2
  7. Position yellow edges:
    R2 U F B' R2 F' B U R2 R2 U' F B' R2 F' B U' R2

From 1998 to 2000, I have participated in a few programming contests, such as the yearly ACM International Collegiate Programming Contest and CUPCAM.

Many of the problems proposed for such contests have been recopilated by the University of Valladolid; Ciriaco García de Celis created an Online Judge where everybody could be able to submit solutions, and the system tells them if they are correct or not.

As of today, there are 2694 problems, and I have solved 90 of them. And today I am publishing my solutions here.

For those of you that still don't know venti, I will say that it is a network storage system, heavily used in Plan 9 from Bell Labs and, thanks to Russ Cox, it is part of plan9port (Plan 9 from User Space), and hence it can be used in other operating systems.

Venti is a block storage server intended for archival data. In a Venti server, the SHA1 hash of a block’s contents acts as the block identifier for read and write operations. This approach enforces a write-once policy, preventing accidental or malicious destruction of data. In addition, duplicate copies of a block are coalesced, reducing the consumption of storage and simplifying the implementation of clients.

Venti is the system I use for back-ups of all our Linux machines at work; it is very easy to use, very efficient and very useful. The only problems I see is that it is not yet packaged in Debian, and its compilation and installation is not very straightforward; that is why I packaged it for Debian, creating 2 packages:

  • venti-server: It includes the server (venti) and some utilities to create and configure it.
  • venti-client: Some clients that talk to a venti server, such as vbackup, vac and vnfs.

I packaged version 20100416-1, but it is not published anywhere yet (but drop me a note if you would like to get it).

Camino de Santiago 4 abr 2010

During the last few days, we have been walking through the Way of St. James ("Camino de Santiago" in Spanish, or "Camiño de Santiago", in Galician); it's a pilgrimage to the Cathedral of Santiago de Compostela in Galicia.

It is a very popular pilgrimage, specially during "Xacobeo Holy Year" (those years where June 25th is Sunday, such as 2010).

Trini and me began walking on March 30th from Sarria, and arrived Santiago on April 3rd: 5 days walking about 115 km total.

Back to work 17 mar 2010
Etiquetas: trabajo salud

I told my doctor yesterday (20 days after surgery) that I was beginning to feel rather well, so we decided to go back to work.

I feel about 80% recovered now, and I can do almost everything: I can drive again, I can jump, I can even run (but only a few steps)... and I can sit for a few hours and work rather comfortably.

So, I am back into the real world again...

I have been working for the last few days in improving my web pages (www.cespedes.org and juancespedes.es), specifically the blog and pictures parts (in fact, I have removed all the other parts).

Regarding the blog, well, it is now a real blog :-). I can add entries (like this one) and edit previous ones from a web browser. All the entries are stored in a PostgreSQL database. Every entry has its own, permanent link. People can add comments, and all of them are visible from the permalink in each page.

Regarding the pictures, I have simplified the URLs used to navigate throw them, in order to speed up navigation and to help the web crawlers. The list of all the pictures (more than 64,000) are also stored in the database, and I have added captions to the pictures with localization (in order to show different things in Spanish and in English), and I have created labels to tag each picture.

To-Do list: improve/automate the way I upload pictures, store and show scanned images, crop/rotate pictures, create albums, save list of people in each picture, show Exif information, save the place where each picture was taken...

Etiquetas: animales casa

Esta tarde Trini ha llegado a casa con algo nuevo: su padre, José Juárez, me ha hecho un regalo inesperado: un periquito.

Es de color verde con tonos amarillos (como casi todos los periquitos), es macho y viene con una jaulita pequeñita, con dos palos transversales, un arito, un comedero y un bebedero.

Ahora mismo tiene su sitio en la cocina, encima de la mesa, y junto a la ventana. Es bastante asustadizo y pía muy escandalosamente, aunque no todo el tiempo, solo unas pocas veces al día (al menos de momento).

Etiquetas: salud

Before the surgery, I was given a long-acting local anesthetic, which lasted about 8 hours. The main problem in the hospital after surgery was the inability to urinate; at 3am they used an urinary catheter, and that was really uncomfortable. I could not sleep at all until they removed it at 7am. But even then, I still could not urinate until 2pm, and only a few drops, and with a great pain.

On Friday, February 26th, at 3pm, I left the hospital and went home; the doctor gave me a prescription medicine for pain (paracetamol and metamizole), and recommended me frequent soaks in warm water (sitz baths) to help relieve pain.

The first week after the surgery was the most painful time of my life, especially during the first bowel movement.

Since them, I have started to feel better though. I feel about 75% recovered. I still feel a little pain and I cannot sit for long periods of time, but in a few days I will begin working again and my life will return to normality.

Etiquetas: salud

After several years "suffering in silence", I decided that it was time for me to solve my problems once and for all. I went to see my doctor on November 18th, 2009 asking for surgical excision, but I had to wait until today for the surgery.

The surgery begun at 19:00, it was performed with local anesthesia and lasted about 30 minutes.

Etiquetas: correr

Yet another time, my family and I run 10km through Madrid. My score was not very good; and that could be mostly due to the fact that I have not run at all during 2009 (until today, of course). I would like to get in shape during 2010 and improve that score.

However, the final position in my category was not as bad as I expected, because I am no longer a senior, but a veteran (!)

Previous times in 10km-long runs:

San Silvestre Vallecana 20051:07:44
San Silvestre Vallecana 20060:59:52
San Silvestre Vallecana 20071:04:35
La Carrera Perfecta 20080:59:45
San Silvestre Vallecana 20081:02:56
San Silvestre Vallecana 20091:03:20

Como cada 22 de diciembre, hoy se ha celebrado el tradicional Sorteo Extraordinario de Navidad, pero, a diferencia de otros años, hoy lo he seguido en directo (bueno, más bien, tenía la radio encendida en el trabajo). Sin embargo, lo que no ha cambiado ha sido la cantidad de premios que me han tocado.

Creo que algún día debería contar cuántos números he llegado a jugar a lo largo de los años sin que nunca me toque nada, ni un reintegro ni una pedrea. Pero ojo, no me quejo, que si llega a tocar el reintegro o algo parecido en la lotería de Katiuskas habríamos tenido unos días (¡o meses!) con un jaleo tremendo...

Etiquetas: correr

Like every 31st of december, we celebrated this year the traditional "San Silvestre Vallecana", a 10km run that takes place in Madrid, starting in Santiago Bernabeu stadium and ending in Teresa Rivero stadium (Vallecas).

I went with:

  • my father (Juan)
  • my brother Sergio
  • his wife, Cristi
  • my sister, Gema
  • his boyfriend, Alberto
  • my cousin, Iván
  • two of Alberto's cousins
  • Jorge (Iván's friend)
  • Pablo Sánchez Torralba

...and other 25000+ people.

The first of us to finish was, of course, Pablo (about 47 minutes), next to Sergio (52), Iván (55), myself (1:02:56), my father and Cristi (1:15), Gema and Alberto (1:17).

My previous times in 10km-long runs were:

San Silvestre Vallecana 20051:07:44
San Silvestre Vallecana 20060:59:52
San Silvestre Vallecana 20071:04:35
La Carrera Perfecta 20080:59:45
San Silvestre Vallecana 20081:02:56
Etiquetas: puzzle

Yesterday I started solving a jigsaw puzzle thar my brothers gave me a few months ago. And I finished today :-)

It's a 1000 pieces puzzle from Schim Schimmel, and it shows a very nice landscape, with a lake, two houses and some trees, all covered by snow. It seemd to be very difficult because of the sky, the lake and the snow, but in fact there is a way to cheat: all the pieces of the puzzle are written on the back, showing some letters which tells the player which zone that piece belongs to (there are 24 zones with letters from 'A' to 'X').

Appart from that, the pieces of puzzle are very thin and weak, and many of all them have exactly the same shape, so it is very difficult to know if you are putting them in the right place.

I don't recommend that brand to anyone willing to buy a new jigsaw puzzle.

Etiquetas: cine

When Trini and I were coming back home from Navalmoral de la Mata, we called rover to see if he invited us to his home... but he was not there! He was at Kinepolis with Juanfe, Nuria, Isaac, Vane, and two friends of her, and they were going to see the film "El intercambio" (spanish title for "Changeling"). So we went there and joined them to wath the movie.

It's a film directed Clint Eastwood, with Angelina Jolie playing a role as a mother praying for her kidnapped son to return home.

It's inspired by actual events that occurred in 1920s in Los Angeles, where Christine (Angelina Jolie) fights against a corrupted LAPD after they returned home a boy which is not her son.

Todo empezó a las 6:30 de la mañana. David (secretario de la federación), Juan Carlos, Juanky, Ruly y yo habíamos quedado en la Calle de Berrocal, junto a la casa de David, para salir hacia el refugio de La Zapatilla, en Valsalobre.

Nos disponíamos a hacer una práctica de espeleosocorro. El coordinador de la actividad era Cartuli, y nosotros éramos los últimos en salir (todos los demás habían ido el viernes por la noche y se habían quedado a dormir allí).

Ninguno sabíamos con certeza a qué sima íbamos a ir, pero había rumores más que fundados de que sería la Sima de Manuel Mozo, con lo que no esperábamos muchas sorpresas. Pero al llegar todos a la Zapatilla, Cartuli nos propuso un "juego": vamos a hacer un simulacro de llegar a una sima que no sabemos cuál es, solo con las coordenadas y un mapa de la zona.

Cartuli eligió a dos personas como grupo de exploración (Juanky y Jesús, el murciano), les dio un GPS con las coordenadas, un mapa, y les montó en un coche, indicándonos a todos los demás que teníamos que seguirles. Al cabo de un rato tomaron el camino hacia Manuel Mozo, pero el GPS empezaba a mandarles hacia otro sitio... después de dar dos o tres vueltas, dejamos los coches en un punto del camino y ellos fueron de avanzadilla andando, por una zona por la que ninguno conocíamos ninguna sima... hasta dar con el punto que marcaba el GPS: ¡la sima Diana!

Para los que no la conozcan, debo decir que la sima Diana es conocida por ser "la sima secreta del Flash", porque parece ser que la conocen bastante bien y han estado muchas veces, pero no aparece en los libros y no es muy conocida entre el resto de los grupos, a pesar de estar muy muy cerca de la Zapatilla.

Al llegar allí empezamos a trabajar en el simulacro: el supuesto herido es David, y el rescate se divide en dos GII; en uno de ellos, el jefe de equipo es Juanfe, y como socorristas estamos Juanky, Pedro, Gabi y yo. Nos encargamos de subir al herido del fondo de la sima por un pozo de 26 metros, y luego portear por una rampa. El otro GGI está dirigido por Isaac, y como socorristas están Juan Carlos, Jesús (murciano), Ruly y rover.

La práctica transcurre sin incidentes. La sima no estaba en absoluto preparada para un rescate, con lo que tuvimos que poner bastantes spits (creo que mi GII puso unos 15) y la roca, a pesar de parecer mala en un principio, es muy dura y aguanta bien.

Terminamos poco después de que se hiciera de noche, y unos cuantos nos volvimos a Madrd, mientras que otros se quedaron para hacer algo más el domingo.

REC 22 dic 2007
Etiquetas: cine

Esta noche hemos ido al Kinepolis para ver "REC" (Pablo, Diana, Trini y yo).

Ya nos habían contado algo acerca de la peli; básicamente, rover nos dijo que era aburridísima, muy predecible y que los personajes eran tontos.

A mi me gustó, es muy entretenida. A Diana por lo visto le dió algo de miedo, y Trini parece que también se asustó un poquito.

Está rodada en un formato muy similar a "El proyecto de la bruja de Blair", esto es, todo por un personaje que lleva la cámara al hombro. En esta ocasión son un cámara y una reportera de una cadena de televisión, que graban una noche en la vida de una central de bomberos; reciben un aviso, van con ellos... y allí pasan cosas que asustan :-)

Mi primera tortilla 21 dic 2007
Etiquetas: cocina comida

Bueno, en realidad debería decir "mi primera tortilla sin ayuda".

Dado que íbamos a ir a Cantabria para hacer Coventosa, tenía pensado hacer una tortilla para el viaje. Al final no me voy, pero decidí que merecía la pena intentar cocinarla de todas maneras.

No salió mal la cosa; los únicos problemas fueron que me pasé un poco con el tamaño (usé 1 kg de patatas, 1 cebolla grande y 6 huevos tamaño L), que las patatas podrían haber estado algo más hechas (no me cabían bien en la sartén) y que se me pegó un poco (nota: tengo que comprar sartenes buenas :-))

Etiquetas: salud

En teoría, dentro de unas horas debería salir en coche hacia Cantabria, para hacer Coventosa junto con Gabi, Rikky, Metano, Eva, Josemi, rover y otros 7 de fuera del club.

Hace unas horas rover me dijo que no podía ir (me dijo algo de "presionas familiares" y de "chantaje emocional") y, coincidiendo con eso, yo estaba empezando a sentirme francamente mal.

Ahora mismo me duele la cabeza, la garganta, los ojos, y tengo un sueño tremendo después de haber estado más de 10 horas en la cama.

En fin, creo que tendré que dejarlo para otra ocasión :)

Reguerillo 8 ene 2006
Etiquetas: amigos espeleo

Pues bien, ese día llegó. Hoy fuimos al Reguerillo 7 personas: Roberto Lumbreras, Álvaro Hernández Tortosa, Rubén Salas, Irene García, Álvaro Navarro, Yaiza Temprado y yo. Hicimos la travesía normal (primer y segundo nivel) sin problemas, salvo por una pequeña crisis de anavarro después del paso del tablón, momento en el que dos tíos nos adelantaron. Iban sin mono, sin arnés, sin casco, solo uno de ellos llevaba frontal, y parecía que era la primera vez que entraban en la cueva. Todavía no sabemos cómo llegaron hasta allí, ni si fueron capaces de salir o si están todavía perdidos en la cueva.

En la foto, Irene, haciendo gala de su flexibilidad en "El Tobogán".