Monthly Archives: December 2015

C++ all the way up to 14

std:future std:future std:future std:future std:future std:future std:future std:future 

One of the latest books I have read is Effective Modern C++, by Scott Meyers. The book is a good review of old and newer features of C++. The main topics are type deduction, auto, smart pointers, move and forward and references, lambda expressions and the concurrency API. There is also a chapter with a hotchpotch – and I don’t mean it in a negative sense- of items about the newer C++ that are different to classify under one single label.

The book is really readable and it has quite some to offer even for people with a lot of experience in C++. Sometimes I was just going over “of course, we know it” but then I had to stop to realise I actually had followed some “convention” without thinking any longer why I was taking that option. There were several points on the concurrency API that were simply new to me as well. If you are into C++, take a look at this book if you haven’t done so before.

Literatura del Sur-Sur: Richard Flanagan y su viaje al Norte

Durante mi estadía en Sídney por la conferencia del KDD me tomé un poquito de tiempo para husmear en un par de librerías australianas. Uno de los libros que compré fue uno del conocido escritor Richard Flanagan. Se trata de la novela The Narrow Road to the Deep North. Para mí resultó ser una de las mejores novelas que haya leído en 2015.

Flanagan presenta a un héroe a regañadientes: el cirujano Rodrigo Evans, un hombre marcado por su tiempo en el ejército, en especial por la experiencia como prisionero del ejército japonés durante la Segunda Guerra Mundial.

Me pareció absolutamente fascinante la manera cómo Flanaga consiguió describir el estado mental de personajes tan variados como Evans, su gran amor, los japoneses que lo torturaron y los otros soldados australianos que trabajaron para la construcción del ferrocarril de Birmania.

El lenguaje que  utiliza Flanagan para describir ciertos momentos sensuales o terríficos de los diversos personajes es conciso, elegante. Hay descripciones cortas pero muy detalladas de procesos o sentimientos que rara vez son tomados en cuenta por otros escritores. The_Narrow_Road_to_the_Deep_North_(novel)

Algunas referencias se me antojaron algo patrioteras. No estaba seguro de si se trataba de pensamientos del narrador o solo el intento de Flanagan de mostrar el fuerte sentimiento nacionalista – a veces extremo – de ciertos australianos. En cualquier caso, no debería importar la posición real del autor mismo, pero no pude escapar de cierta molestia. Aun así, el libro en general me pareció absolutamente exquisito.

Python and machine learning

I have been mostly using R and languages such as Java/C++ for machine learning, but I am learning how to do more things with Python for that. I am currently exploring Python’s scickit-learn library. It’s kind of cool. As support material, I am going through the examples of Python Machine Learning by Sebastian Raschka.

So far, so good. Mind: the book is not an introduction to ML, even if it offers an overview of topics – there is too much out there-. It is rather a practical book about ML using Python. It helps if you have already used the scikit library.

Some of the chapters I like the most are the one about data processing and dimensionality reduction. I still have to reach the one about Theano.

Python_logo_and_wordmark.svg