Mess with the right people

Because you only grow up in expertise when you mix with people that are better than yourself in a particular area of knowledge, it can be easily understood the importance of using the limited available time wisely. It is mandatory (if you want to improve) to spend time with people that make you grow, rather than with people that just waste your time and sink you into deep waters.

I am aware that this could sound a little bit like a “Nazi manifesto”, but is not at all. I firmly believe that everyone excels in something, and therefore no one should be measured just by the performance displayed in one particular field.

As the said says: “Everyone is a genius. But if you judge a fish by its ability to climb a tree, it will live its whole life believing that it is stupid.” Or in other words: maths could be not your thing, but you could be an exceptional writer. Hence using a fixed rule to measure performance is not how life works, and the reason why some people that underdelivered academically in his/her early years, lately overpass in achievements those that did. They were simply measured wrongly. Once life moves on and goes from the school desks to the real day to day life, is when people that did not do well at school (but had another life skills) have an opportunity to glow up.

Normally they always take advantage to demonstrate their real potential, because they were frustrated at school, and that stuck to themselves. Therefore when they have the chance to demonstrate that they were not stupids (just measured by criteria not suitable for them), they embrace it as an opportunity and they normally crush it.

Following up on the above (the importance to be measured by your own parameters), there are two things that become utterly important:

1) Knowing by heart which one is your area of interest.

2) Acknowledging the importance of choosing the right people to mix with (at least if you want to keep improving and progressing).

About determining your area of interest. That is a simple question.
The only person that can know what is your favorite area of interest is yourself. You have to be rawly self-honest, but identifying what motivates you is simple: your area of interest is that thing that ignites your passion. That particular thing that makes your time fly, and makes you forget about the environment that surrounds you. Name it writing, programming, reading or cycling. When you feel that your heart beats intensively and happy, you will know that what you are doing at that time is “one of your things”

About mixing with the right people. That is a slightly more complicated question to reply, but actually simple when you remove the emotional variable.

Who are them, the right people? The right people for improving your development are those in your area of interest that are slightly better than yourself on that particular topic that you like and share their knowledge and passion.

Feeling the smarter guy in the room does not normally mean that you actually are, it only means that the circle you have selected is wrong for your development. Because it is a fact that if you mix all the time with people that are worst than you, you will never grow up.

It is also a fact that if you mix with people that have much more level than yourself doing something, it could be daunting and discouraging. So there is a thin balance line here. You need to mix with people that are better than you, but not to the point that you feel intimidated by them.

And where are those people?

Is difficult to find those persons randomly. Is barely impossible that you walk into a bar and find them. Those persons are pursuing her passions currently, or they are dead and pursued their passions in the past (and wrote everything they knew in books).

So where can you find them?

1) On the Internet.

What a marvelous thing Internet is. You can have an interest in a weird subject, and still find forums, wikis, and posts about “your thing”. Internet forums are a good place to find the right people, and to make good contacts among them. People that share your same interests are there, and you can really learn from them. Also, social networks used carefully can put you in contact with brilliant people, so they are not a tool to totally be dismissed.

2) Books.

Books are like the Internet of the past, and also the place where authors put their condensed knowledge. A book is normally knowledge pearls or distilled knowledge. In an era where we have all the data reachable just a few keyboard clicks away, it is becoming more and more important to process data and convert it into useful information. Good books are good precisely at that: “converting raw data into information” The author of a book normally puts a lot of effort into writing it, so you can expect to have a lot of information per page. Books are incredibly powerful. Read the right book and you could end up being transformed forever.

3) Specialized magazines.

I have been a big fan of magazines my whole life, and I still think that they are useful to some extent. A good specialized magazine can cover in deep topics that are appealing to yourself. Just be careful picking the right magazines and subscribe just to those that really have something to contribute.

And remember, keep your passion, never let other people tell you what you have to do or like, and once you find your passion, give it all .

Mountain Bike doble suspensión

Las marcha MTB XC Marathon y XC Ultra Marathon son las que más me están divirtiendo últimamente.  Supongo que la larga distancia se adapta mejor a mi edad que las intensidades propias de los XC Rally.

Mi Specialized StumJumper Comp del 2016 es una gran montura, sobre todo en subidas y  llanos, pero para recorridos largos y bajadas técnicas, resulta un tanto escasa.

NARANJA GALLARDO/NEGRO - 20% STUMPJUMPER COMP CARBON 29 WORLD CUP

Estoy pensando, por ello, en adquirir una Mountain Bike de double suspensión.

Las bicicletas de doble suspensión “baratas”, son muy pesadas, por lo que para adquirir una buena Mountain Bike de doble suspensión, hay inevitablemente que rascarse el bolsillo.

Candidatas:

Cannondale Scape Si-3

Trek Top Fuel 9.8 SL

Specialized Epic Expert

Merida Ninety Six 9 7000

Orbea OIZ M20 / M10

Pivot Mach 429 SL

How to read in Python a file between two lines

#!/urs/bin/python
import sys,re

if(__name__ == “__main__”):
with open(“Autosupport”) as f:
for l in f:
pattern=’^Replication Data Transferred over 24hr.*’
pattern2=’^Replication Detailed History’
if(re.match(pattern,l)):
print(l)
for l2 in f:
print (l2)
if (re.match(pattern2,l2)):
sys.exit(0)

Calculadora de zonas cardíacas

Me interesa mucho la intersección entre tecnología, software y salud.

Hay aplicaciones realmente buenas para mantenerse en forma (mis favoritas son las de Runtastic), pero una herramienta básica para los que hacemos deporte es el control de la frecuencia cardiaca (pulso).

Como ciclista, entreno siempre con pulsómetro: y uso el ritmo cardiaco como variable de referencia para no exceder los límites, o para dosificarme mejor a lo largo de una marcha ciclista.

Para ello es fundamental conocer las zonas de trabajo del corazón.
Implementaciones de “calculadoras de zonas cardiacas” hay múltiples, pero una que me ha gustado especialmente ha sido ésta.

Simple y efectiva.

Madrid – Segovia Mountain Bike 2017

La Madrid – Segovia ha sido una de las pruebas XC Marathon que he realizado en 2017. Fueron 115 km de bicicleta de montaña, partiendo del madrileño barrio de Montecarmelo en el distrito de Fuencarral, y finalizando en la propia ciudad de Segovia.

De un total de 1595 bikers, acabé en la posición 364, parando el cronómetro en 07:13:21

Certificado de finisher: Madrid – Segovia 2017

Resulta gratificante acabar esta prueba justo al lado del  Acueducto de Segovia

Aunque la carrera cronometrada no acaba bajo el acueducto, sino a la entrada de Segovia. Es allí donde la organización pone el último punto de control, así como unos boxes de lavado en los que poder dejar relucientes las bicicletas (sin coste adicional). Es un buen detalle, pues de esta forma los que vayan a disputar la marcha, pueden despreocuparse del tiempo durante los últimos kilómetros.
Además es un buena medida de seguridad, pues al llegar a Segovia la prueba está abierta al tráfico rodado, y  es mejor extremar la precaución sin preocuparse de tiempos ni marcas.

Al final, lo cierto es que es bastante emocionante bajar las escaleras detrás del acueducto montado en la bicicleta, con el público aplaudiendo, y poder acabar justo debajo de tan magnífico monumento.

En total sumaron (según GPS) 115 km, con 2330 metros de desnivel.

Ver Relive de la prueba

¿Cuál es mi opinión de la prueba?

En general puedo decir que es una prueba que me ha gustado.
Es una prueba ideal para bicicleta rígida, pues no existen tramos demasiado técnicos. Al ser una prueba rodadora, se beneficia a este tipo de monturas frente a las de doble suspensión.

La carrera tiene dos partes bien diferenciadas. La primera parte es muy rodadora, transcurriendo por vías pecuarias hasta llegar a Cercedilla (km 60 aproximadamente). Allí hay un gran avituallamiento, y una parada para descansar. Conviene no relajarse mucho en el avituallamiento de Cercedilla, ya que el tiempo de descanso empieza a contar antes de llegar a la zona de descanso. Esto es así porque el arco de control de tiempos está al finalizar la cuesta de entrada a Cercedilla, y no al entrar en el propio área de avituallamiento. Entiendo que la idea es no entrar en el pueblo preocupados por el crono, sino centrados en el tráfico. Lo veo bien,  pero hay que saber que si nos relajamos en exceso, es posible que sumando el tiempo que tardemos en llegar al avituallamiento  al tiempo  detenidos en éste, sobrepasemos los 30 minutos de descanso máximos estipulados. Cualquier tiempo superior a 30 minutos será tiempo adicional de penalización, por lo que conviene no tomárselo con demasiada parsimonia.

Después de Cercedilla es otra carrera distinta: se asciende el Puerto de los Leones (1492 metros), y una vez coronado se inicia un descenso por senda técnica (en la que se forma cierto tapón y dónde a buen seguro habrá alguna que otra caída).
Ya descendido el puerto, comienza un constante vaivén de tramos rompe-piernas, y cuando al fondo ya vislumbramos la ciudad de Segovia, el recorrido nos regala tramos de constantes subidas, bajadas y toboganes (algunos de pronunciada pendiente y difícil ascensión), en los que será necesario echar el pie al suelo. A esas alturas el cansancio ya va haciendo mella, y la pendiente de alguno de ellos hace que sea prácticamente imposible subirlos montados en la bicicleta.

Valoración de la prueba:

Es una bonita prueba, no muy técnica, ideal para aquellos a los que no le guste los recorridos demasiado complicados.

¿Qué no me ha gustado?

Algo ajeno a la prueba en si. El hotel oficial “Villa de Madrid” está en el medio de la nada, y resulta muy aburrido quedarse allí. Mejor alojarse en algún otro hotel y desplazarse hasta Montecarmelo para tomar la salida.

El tramo final se hace muy pesado, ese constante sube y baja de toboganes, resulta un poco aburrido cuando ya pesan las piernas.

Las duchas en Segovia están totalmente masificadas, y con ¡agua fría! No es la mejor forma de acabar una prueba duchándose entre decenas de personas con agua fría.

Por otro lado el recorrido es muy bonito. Quedará siempre en mi retina la entrada en descenso  a Manzanares el Real, con el pantano y el castillo de fondo.

Y el ambiente de la prueba puede decirse, también, que es muy sano.

¿Volveré?

Si, probablemente, pero saliendo en categoría “Open” en lugar de en categoría popular, para intentar hacer el mejor puesto posible.

How to configure the network in CentOs

Just as a side note, these are the steps to re-configure the network in CentOS:

1) Identify the interface that you want to modify with “# ip a”

2) Once the interface has been identified, edit the corresponding file @ /etc/sysconfig/network-scripts

3) Modify the file as required.

The most common fields are:

IPADDR=
NETMASK=
GATEWAY=
DNS1=
DNS2=

4) Restart the network service

# service network restart

Become a better programmer

One of the goals for 2017 is to become a better programmer.

I always had an interest in computer programming, but I feel that this year I want to deeply inmerse more in this (amazing) topic.

I want to read some books to become a better programming, like the following ones:

Head first design patterns:

https://www.amazon.es/Head-First-Design-Patterns-Freeman/product-reviews/0596007124/ref=dpx_acr_txt?showViewpoints=1

Programming Pearls:

https://www.amazon.es/Programming-Pearls-Joe-Bentley/dp/8177588583/ref=sr_1_1?ie=UTF8&qid=1484162195&sr=8-1&keywords=programming+pearls

Clean Code
https://www.amazon.es/Clean-Code-Handbook-Software-Craftsmanship/dp/0132350882/ref=cm_cr_arp_d_product_top?ie=UTF8

Apart from that I want to code more, do more coding!

I have joined a Professional Android Developer Micromaster

https://courses.edx.org/dashboard/programs/45a14e9d-8f08-44b4-a00b-84d47b012237/professional-android-developer

How to use Google Maps to plan cycling routes

Google Maps is an excellent resource to plan for your next cycling adventure.

It is very convenient and amazing, and I truly recommend using it for the creation of interesting routes.

The way you can use Google Maps to plan for a cycling adventure is as follows:

  1. You just need to navigate to maps.google.com and draw a route there. Probably you are already used to the interface of Google Maps, but just as a reminder:  you can select the start point, and each intermediate point you want to visit along the route, or leave Google to determine automatically the route to take from beginning to end.I normally prefer the manual mode, and draw directly the route over the map, controlling exactly what points along the route I want to visit, and putting special attention to the gain in height (as it is an important information just for knowing the feasibility of a cycling route). In this first step you simply drawn the route in Google Maps.It is very important that you drawn it properly, and that you ensure that what you are drawing in the map  is a route that will worth the visit afterwards.
  2. Once you have the route drawn in Google Maps, you need to copy the generated URL, as you will need it for the format conversion. The URL  will be certainly a long one, with information about longitude and latitude, as well as other parameters used by google. Just copy it entirely from Google Mapst to the clipboard.
  3. Once the URL is copied, you will need to convert it to a format that is well understood by your GPS device. My preferred device is an Iphone with the Wikiloc app loaded, or a Garmic Edge 310. Both devices understand .gpx format well, so .gpx will be for me the target format to convert to.
    At this stage, what I want to achieve is to convert the Google Maps route to  a .gpx file so that I can upload it to my GPS device. However, all I have is the URL copied from Google Maps, so how do I accomplish this? Well, I need a third party software for doing it. I use an online resource very helpful for all GPS related tasks. It is called GPS Visualizer, and the URL can be visited here: http://www.gpsvisualizer.com/convert_input

    Once you are on the WEB of gpsvisualizer all you need to do is just paste the URL resource obtained from Google Maps on the field that says… “Or provide the URL of a file on the Web:”, ensuring that you have selected the radio button that says GPX as the Output format.Take a look to the following image for clarification:

Once ready, click on the Convert button. After only few seconds, it will magically provide you with a .gpx file that will be downloaded automatically. That is the file that contains your route.

The final step now is just to upload that GPX file to your GPS device. I do it via the web of Wikiloc.com, but it is very simple no matter what method do you prefer.

And that is how I plan my cycling routes. Cool, right?