Alex Rovira y la Crisis

23 Mar

Una amiga (gracias Majo!) me pasó esta interesante entrevista con Alex Rovira, escritor de una serie de libros como “La Buena Suerte” o “La Buena Crisis”, el más reciente del que se habla en la entrevista. Comparto muchos de los puntos de vista que da, y en general, de la forma de enfocar las cosas que transmite. Personalmente no lo conocía con anterioridad a esta entrevista, pero realmente me parece una persona digna de escuchar y con mucho interesante que decir.

¡Merece mucho la pena la entrevista!

Entrevista Álex Rovira – La buena crisis from Álex Rovira on Vimeo.

Randy Pausch Last Lecture: Achieving Your Childhood Dreams

14 Mar

This time a popular inspirational video, probably known by most of you, but still worth watching from time to time.

Carnegie Mellon Professor Randy Pausch (Oct. 23, 1960 – July 25, 2008) gave his last lecture at the university Sept. 18, 2007, before a packed McConomy Auditorium. In his moving presentation, “Really Achieving Your Childhood Dreams,” Pausch talked about his lessons learned and gave advice to students on how to achieve their own career and personal goals.

(Also available with Spanish subtitles.)

Benjamin Zander on music and passion

10 Mar

A follow-up with another great video about leadership, passion, inspiration and classic music… all together. This time the speaker is Benjamin Zander. Worth watching!

(Also available with Spanish subtitles)

Itay Talgam: Lead like the great conductors

5 Mar

An orchestra conductor faces the ultimate leadership challenge: creating perfect harmony without saying a word. In this charming talk, Itay Talgam demonstrates the unique styles of six great 20th-century conductors, illustrating crucial lessons for all leaders.

(via La Aldea Irreductible)

Manifiesto en defensa de los derechos fundamentales en Internet

2 Dec

Ante la inclusión en el Anteproyecto de Ley de Economía Sostenible de modificaciones legislativas que afectan al libre ejercicio de las libertades de expresión, información y el derecho de acceso a la cultura a través de Internet, los periodistas, bloggers, usuarios, profesionales y creadores de internet manifestamos nuestra firme oposición al proyecto, y declaramos que…

1.- Los derechos de autor no pueden situarse por encima de los derechos fundamentales de los ciudadanos, como el derecho a la privacidad, a la seguridad, a la presunción de inocencia, a la tutela judicial efectiva y a la libertad de expresión.

2.- La suspensión de derechos fundamentales es y debe seguir siendo competencia exclusiva del poder judicial. Ni un cierre sin sentencia. Este anteproyecto, en contra de lo establecido en el artículo 20.5 de la Constitución, pone en manos de un órgano no judicial -un organismo dependiente del ministerio de Cultura-, la potestad de impedir a los ciudadanos españoles el acceso a cualquier página web.

3.- La nueva legislación creará inseguridad jurídica en todo el sector tecnológico español, perjudicando uno de los pocos campos de desarrollo y futuro de nuestra economía, entorpeciendo la creación de empresas, introduciendo trabas a la libre competencia y ralentizando su proyección internacional.

4.- La nueva legislación propuesta amenaza a los nuevos creadores y entorpece la creación cultural. Con Internet y los sucesivos avances tecnológicos se ha democratizado extraordinariamente la creación y emisión de contenidos de todo tipo, que ya no provienen prevalentemente de las industrias culturales tradicionales, sino de multitud de fuentes diferentes.

5.- Los autores, como todos los trabajadores, tienen derecho a vivir de su trabajo con nuevas ideas creativas, modelos de negocio y actividades asociadas a sus creaciones. Intentar sostener con cambios legislativos a una industria obsoleta que no sabe adaptarse a este nuevo entorno no es ni justo ni realista. Si su modelo de negocio se basaba en el control de las copias de las obras y en Internet no es posible sin vulnerar derechos fundamentales, deberían buscar otro modelo.
[...]

Return a file with Nginx based on its freshness

21 Aug

In previous posts we talked about Nginx, that excellent lightweight web server made in Russia. Nginx is powering the Visualizeus servers since day one.

The other day I was needing some feature on Nginx. In Visualizeus there’s a file cache for some things, like the feeds and so on. Till now if the requested url has a cached version, then Nginx returned it with no more questions. If not, then Nginx transfer the request to the backend, which generates a new cached version in disk for the following requests for that resource. Pretty normal.

But Nginx wasn’t aware of the freshness of the file at all, it only understands that easy logic: file exists, then return it. So to avoid stale cache it’s obvious we need to delete from time to time that cached resources. When to delete it depends on the type of object we’re caching, of course. For example, the feeds are deleted each time a new image appears in that feed, and so on. But it was a little bit cumbersome for some objects, like the image pages, where you don’t have a clear condition that makes the page stale. It needs some cron tasks to run periodically and find files older than X, and those tasks eats a lot of resources specially when we’re talking of thousands and thousands of files and folders. So it was clear a better solution was needed here.
[...]

Titanlux Postit Lovers

23 Jul

Bueno, pues otro momento musical más para el recuerdo.

Esta vez la sesión está grabada en live, vamos, en vivo y en directo y con gran perjuicio corporal mediante, asi que los fallos se han de perdonar el doble. Y por eso tampoco tiene inicio ni final, sino que enlaza con los otros djs del Pizarro Cenjor Crew presentes en la fiesta ;)

Enjoy!

Audio clip: Adobe Flash Player (version 9 or above) is required to play this audio clip. Download the latest version here. You also need to have JavaScript enabled in your browser.

Descargar “Titanlux Postit Lovers”

pd: Si me acuerdo, actualizo con el tracklist.

Algo está cambiando

8 Jul

El País, en su artículo “Larga vida al rey“, sobre el funeral de Michael Jackson:

[...] El mayor vacío, el de Elizabeth Taylor, la mejor amiga de Jackson e invitada a ofrecer una última elegía que la veterana actriz rechazó. “No creo que Michael quisiera verme compartir mi dolor con millones de extraños”, afirmó mediante Twitter.

Conclusiones:

  • Elizabeth Taylor tiene Twitter (!!!)
  • Lo usa para dar “comunicados oficiales”.
  • El País usa un tweet como fuente.

No sé con cual me quedo…

(vía)

La carrera de informática desaparecerá y el fin del mundo se acerca

6 Nov

Sin duda la culpa de todo esto la tiene Obama, como ya pronosticó Nostradamus.

Me he intentado morder la lengua, y mucho, ante esta “noticia“. Pero para mí sorpresa, leyendo los comentarios de Menéame o de Barrapunto, no parece que a la gente le importe mucho el amarillismo y la manipulación que impregnan el texto de marras. Y para los que le pille fuera de juego, hablo de esto: Desaparición de la Ingeniería en Informática.

Yo no soy ningún experto en la materia, ni duermo leyéndome los decretos sobre Bolonia, pero mi madre me dice que tengo bastante sentido común y cuando leo cosas como…
[...]

Genius playlists o cómo “pagar” por una feature

27 Oct

Cuando leí sobre las nuevas playlists Genius me gustó mucho la idea. Algo rollo lo que hace Lastfm pero sin tener que usar “yet another social network“.

Luego leí que para que funcionara correctamente (ejem) tenías que mandar información de tu música y de tu librería a Apple. Esto ya no me gustó tanto. Por mucho que se empeñen en insistir en lo de “de forma anónima”, uno es lo que viene siendo un poco paranoico con estas cosas.

Total, que desde que actualicé a iTunes 8 no me había decidido a probar las famosas Genius playlists. Hasta hoy, que superando mi vena paranoica, le he dado al tentador botón de “Activar Genius”, dispuesto al menos a darle el beneficio de la duda. Así es como funcionan estas cosas: estás dispuesto a vender tu privacidad si crees que lo que te dan a cambio merece la pena. Ahí está GMail sin ir más lejos.
[...]

Parsing tables with XPath without hardcoded indexes

24 Sep

Let’s say you have to get some data from a XML provided by a 3rd party. You don’t have access or rights to modify that XML and the semantic, well, is not as good as you, semantic lover, would like to. In fact, let’s face it, the XML sucks in semantic and it has tables inside that makes you remember the nineties and those HTMLs.

First thing you do is a XPath expression based on hardcoded indexes, of course. “Please sir, would you mind to give me the TR[4] from TD[1]? Yes, I already know where is this data from, thanks”. But let’s imagine for a moment that your friend, the 3rd party, decide one day to change the XML, oor simply to change the order of the fields in the table, oor to add more fields to the table, oor… You don’t want to be dependent on the 3rd party mood to change your code and your XPath expressions one day and another, right? So better live without hardcoded indexes, if you can.

But… how? I had to fight with two scenarios, and I managed to get it done without hardcoded indexes. Of course your mileage may vary, but here’s how I did it:
[...]

Just a thought

23 Sep

What about headphones plug with MagSafe on it?

I’m not sure if they can managed to do the MagSafe small enough for a jack 3.5 connector, but my iPod Nano and my headphones will indeed appreciate it so much ;D