24 July 2013

Little iPython notebook test

After wanting to experiment with the iPython Notebook for a while, I finally decided to do it to produce a step by step analytic calculation. This calculation involved some standard Gaussian integrals and I performed it half a year ago with the help of Mathematica (via their web interface) and some old good pen and paper.

So, as a proof of concept as a learning experience I sat down to replicate in a coherent way what I already had done. First started watching these three video tutorial performed at the SciPy Conference in Texas this year (part1, part2, part3) to get acquainted to magical notebook.

A screenshot of the iPython Notebook. And yes, it runs as a sort of web service!

To add support for symbolic mathematics (CAS) I used SymPy. The result of my little experiment can be seen live here. I have to say, that after some experience with other notebook like environments (particularly Maple 10 years ago), iPython notebook is awesome! I have to recognize that I had my doubts about the browser based environment, but it gives so much flexibility and annexed technologies to make use of (for example JavaScript and CSS).

I cannot recommend it enough to free yourself of Mathematica-like closed environments and to have a fully powered programming environment along. I will definitely continue using it, probably mostly to produce other interactive tutorial-like material in physics.

For more information and examples, this is an online renderer of notebooks and here a gallery of interesting notebooks curated by the people behind iPython.

30 April 2013

Wil Wheaton - Why it's awesome to be a nerd

My transcription on the following answer by Wil Wheaton on the question "Why it's awesome to be a nerd?"




Hi Violet, my name is Wil Wheaton. It’s 2013 and you have just joined us recently on planet Earth, so welcome. I’m an actor, and I’m a writer, and I’m a dad, and your mother asked me to tell you why it’s awesome to be a nerd. And that’s an easy thing for me to do, because that’s who I am.

I don’t know how the world will be like by the time you understand this. I don’t know what’s going to meant to be a nerd when you’re a young grown woman. For me, when I was growing up, being a nerd meant that I liked things that were a little weird, that took a lot of effort to appreciate and understand. It meant that I loved science and I loved playing board games and reading books and really understanding what went on in the world instead of just kinda [riding] the planet through space. And when I was a little boy, people really teased us about that, and made us feel like there was something wrong about us for loving those things. Now that I’m an adult, I’m kind of a professional nerd, and the world has changed a lot, and I think a lot of us have realize that being a nerd, or being a geek is another word you’ll hear and I should use the words interchangeably. It’s not about what you love, it’s about how you love it.

So there’s gonna be a thing in your life that you love. And I don’t know what it’s gonna be. It might be sports, it might be science, it might be reading, it might be fashion design, it might be building things, it might be telling stories or getting pictures. It doesn’t matter what it is. The way you love that, and the way that you find other people who love it the way you do is what makes being a nerd awesome. The defining characteristic, of us, the people in this room, and I’m gonna ask your mom to turn this camera around in a minute. Go there go on. The defining characteristic that ties us all together is that we love things. And some of us love Firefly, and some of us love Game of Thrones, and some of us love this things you’ll be able to go to see in your history books. [] Star Trek, or Star Wars, or anime, or games, or fantasy, or science fiction. Some of us love completely different things, but we all love those things, so much, that we travel for thousands of miles, which is probably easier for you but it’s still [] for us. We’re still on fossil fuel, I don’t know what are you going to be []. And it’s difficult... we come from all over some cases all over the world so we can be around people who love the things that we love the way that we love them. And that’s why being a nerd is awesome. And don’t ever let anyone tell you that that thing that you love, is a thing that you can’t love. Don’t ever let anyone tell you “You can’t love that, that's for boys. You have to love this because you’re a girl.”. You find the things that you love, and you love them the most that you can.

And listen, this is really important. I want you to be honest, honorable, kind. I want you to work hard, because everything worth doing is hard. And I want you to be awesome. And I’m going to do my very best, to leave you a planet that you can still live on.

28 April 2013

Como perderse con estilo

Hay maneras y maneras de perderse en una ciudad intentanto llegar de un punto a otro. En este caso particular, hoy intentaba llegar desde el punto A al punto C (ver mapa). La trayectoria es bastante directa si uno va por el camino simple.

Pero para hacer el trayecto más entretenido e interesante, decidí hacer parte del trayecto curzando a través del parque. Sin saber bien por donde iba, me adentré cada vez más con mi bicicleta por el parque hasta que terminé en el punto B detrás del estadio de Colonia.


Trayectoria aproximada Ver mapa más grande

He de decir que como andaba con tiempo de sobra a disposición, no me preocupé y disfruté del paisaje por el parque/bosque con árboles y lagunas. Al final no me quedó más alternativa que devolverme y reubicarme en la ciudad para utilizar el camino simple y poder llegar a destino.

Espero para la próxima cruzar por el parque pero no desviarme tanto de mi camino, en particular si efectivamente tengo que llegar a una hora determinada.

19 April 2013

Germany the right place?

Many times I wonder whether I'm in the right place. Every now and then I have strong doubts about that. Although I know this is a good enough place.

For example, on the 30th of March, the first international tabletop gaming day (link) was organized by a Youtube channel Geek & Sundry. In the following pictures, a map of activities being held in USA and in Uk+Germany shows the lame amount of them in Germany.

Sure, the channel is English oriented as it's based in the USA, but even in the Netherlands with far less population they have a decent number of activities registered.



Just four lame events registered in Germany.

It just make me wonder...

Post Scriptum: I've been learning that Germany is nowadays not as great as everybody thinks. There are a lot of details that maybe some day I'll address here.

06 April 2013

Riverside - I Believe


Riverside - I Believe

I learn to understand
Getting harder to pretend is ok with me

In this moment I believe
And I want it so much
In spite of everything

You make me so real
I don't have to shut myself in this cage of me
I see what I haven't seen
I wanna share my place to hide
My place to feel
With You

In this moment I believe
And I want it so much
In spite of everything

I learn to understand
If only I was worth waiting for...

05 April 2013

Un pueblo llamado Colonia

© Raimond Spekking / CC-BY-SA-3.0
© Raimond Spekking / CC-BY-SA-3.0
Cuando uno viene de una ciudad como Santiago, que según el último censo realizado el año 2012 cifra su población en casi 6.7 millones de personas, venir a una ciudad de 1 millón de habitantes la hace sentir en muchas instancis como un pueblo.

Una de las evidencias más grandes al respecto, es la tasa con la que me encuentro con gente visualmente familiar de forma aleatoria. Y no hablo de toparme con las mismas personas en lugares comunes, como lo sería en un bus, sino que en distintos puntos de la ciudad y en distintas instancias.

Hace poco me encontraba en la búsqueda de una nueva habitación para vivir. En un par de ocaciones me tocó ir a entrevistas grupales, donde varios de los que estábamos interesados en la habitación nos encontrábamos al mismo tiempo conversando con las personas que nos tocaría convivir. En una de estas instancias, había una mujer la cual nunca había visto antes. La razón porque individualizo a esta persona, es que ese mismo día la ví horas más tarde en el transporte público. Y eso no se detiene allí, pero en las últimas semanas la he visto caminando por la calle en el sector universitario. Eso no es tan extraño ya que probablemente es una estudiante, pero aún así es una persona que he reconocido entre la multitud anónima de una ciudad.

Este no es el único caso que he experimentado. Hay más similares, como por ejemplo reconocer a una persona que he visto previamente en algún concierto, pero este es uno que aún tengo fresco en mi memoria anecdótica.

Definitivamente Colonia es una ciudad la que para estándares alemanes es grande tanto en población como extensión, pero aún tiene ciertos elementos que la hacen sentir como un pueblo... y eso es interesante.

22 March 2013

On the Fellowship

Almost 15 years ago or maybe more, I read the "Fellowship of the Ring" in the Spanish translation, still being and adolescent. Some years later I saw the movie which was as good as I expected it to be, but I never thought too much about the many differences between the book and the movie adaptation believing it was more or less a straightforward adaptation with some minor changes.

After reading a lot of other Middle-Earth related books and stories, I set to read the Lord of the Rings saga once again in its original language. This was something I wanted to do a long time ago, but it was partially promoted by the movie adaptation of "The Hobbit" where I realized many details int he story I did not realize when I read it back in 1998.

To my surprise, after finishing the Fellowship of the Ring I have to say that the movie is an awesome adaptation. Even more, I would even dare to say that it's a better work than book. A real derivative work.

One could argue that the movie is visually more appealing and stunning, that the rhythm is paced more accordingly to modern times, and that the actions scenes are much more vivid. And I don't deny all of that, but those are not the reasons I think the movie is better than the book.

I'll not detail every change or omission in the movie, because I don't remember every detail from it and it can be reliably read here. Noteworthy omission is Tom Bombadill, which I did not miss at all! 

There are two strong changes: one is the role of Arwen, and the second the Council and the subsequent formation of the Fellowship. These changes make the movie much better in my opinion.

Regarding Arwen, in the book she barely gets mentioned like two times and only the second exploring the tension/relation between her and Aragorn. In the movie this is made very explicit in many scenes in particular when they meet during the Council. This change could be motivated to make the story more appealing to a wider audience and as such maybe with a market reason behind. In any case, I think that this change makes the movie stronger and interesting and the book was very lacking in interpersonal relationships.

The whole Council scene is dramatically changed. Where in the book the fellowship is mostly decided by Elrond as he deemed fit, in the movie the different characters volunteered on their own will to be part of the fellowship. This free will decision, is a very important element turning the scene into a powerful and moving one for me, and I really missed it in the book.

Now I'm really looking forward to see once again the movies once I finish the rest of the saga, to keep comparing changes in emphasis and of course to enjoy the story once again in an extended version.

30 January 2013

Adoro mi Kindle

Kindle Paperwhite on the dark...
Después de mucha deliberación, en noviembre finalmente decidí comprarme un eBook reader el cual fue un Kindle Paperwhite de Amazon (ver imagen a la derecha). Justo me decidí a comprarlo cuando lo lanzaron y sacaron de ciruclación el modelo anterior por el cual ya me había decidido. Este cambio no detuvo mis intenciones de compra aunque el precio era algo mayor.

Lamentablemente el Kindle no llegó sino que cerca de la segunda semana de diciembre debido a bajo stock, y para tal entonces yo me encontraba en Chile y tuve que esperar hasta volver para poder estrenarlo y probar que tal funcionaba. 

Para tales efectos ya tenía una "víctima" literaria, "Old Man's War" de J. Scalzi (el cual es un buen libro de ciencia ficción de fácil y rápida lectura), el cual había comprado por medio de un HumbleBundle de eBooks. La lectura resultó bien comoda y no sentí ninguna diferencia con respecto de leer un libro real, salvo por la diferencia en contacto. En el curso de un par de semanas de tenerlo en mis manos, ya he leído tres libros (eran bastante cortos) en el dispositivo. Creo que por alguna razón aún desconocida leo más rápido en el Kindle que en un formato convencional. 

La tecnología usada funciona perfectamente y no tengo ningún reparo con respecto al dispositivo. Funciona excelente para lo que está diseñado. Claramente no reemplaza a un libro en una repisa y poder olerlo y sentirlo, pero es una buena alternativa para quienes aún no están en un lugar definido o viajan y gustan de harta lectura. En mi opinión es completamente recomendado.

Post Scriptum: Gracias a Bruno por la insistencia e intensa recomendación sobre tener un Kindle.