Promises, promises

Today I found out about JavaScript Promises and I have to say, the technology is pretty amazing, but the name is bad, realy bad. I just wish they have chosen a better name, like “Pipelines”. If someone told me “Hey, did you know the new JavaScript Pipelines?”, I’d knew almost instantly what was he talking about.

Anyway, JavaScript Pipelines… Ejem… Promises are pretty amazing. One way to look at it is by thinking as a chain of events at your fingertips, for you to control or do whatever you whant with them.

I love JavaScript, is one of my favorite programming languages, but it’s filled with some nasty demons you need to tame before you can do some serious work. For example “Loading Events”, wich you do not control and because of that you’ll end up filling your code with some horrendous validations just to make it work properly.

Promises promises to fix that (see what I did there?), giving you full control of the execution pipeline.

You can get more información on this excelent article by Jake Archibald, JavaScript Promises: An Introduction.

I don’t know what this blog is about yet, I thouth it was Photography, but lately I was thinking about coding.

We’ll see.

Dog with a baseball cap

© Copyright 2018 Eduardo Ferrón. All rights reserved.

I love dogs and they usually love me back. A month ago, a got careless and my neighbor’s dog bite my hand, or at least he tried. I pull it out before it was too late, and even when there was no blood, my hand was sored for a week. I still think dogs are awesome and I love them.

Today I went downtown to meet my friend Christian. We drank some coffee and talk about a lot of things.

On my way there, I saw this girl trying to put a baseball cap to a dog. The scene was magical and funny, I’ll probably do the same thing if I was her, but the dog seemed like not having a great time. The dog refused it, but he ended up with the cap anyway. Dogs are so cool.

I loved the scene, so I took a picture of it.

I was watching a video of John Free on YouTube few days before. In the video he said that when we go out to take street pictures, we should look not for what is, but for what it could be, and I believe this is a great example of it.

¿Do you like dogs? Leave a comment if you find this picture lovely 🙂

Hola y bienvenido

Si eres un amigo del pasado que viene a saludarme, en primer instancia te estoy eternamente agradecido. Segundo, te pido una enorme disculpa, porque el contenido ya no está y es posible que lo haya perdido en una tragedia “computacional”. Pero los cuentos sobreviven, los tengo en la nube respaldados.

Quiero decir también que este año me he propuesto a retomar este blog, pero he pensado probar escribiendo en inglés. Si, discúlpame.

He escrito mis cosas por muchos años en español (soy mexicano) y en los últimos años apenas tuve un puñado de visitas. Casi nadie se ha interesado por mis cosas. También lo comprendo, en esta era donde el video es más importante que el texto, que la foto es más interesante que la historia; los cuentistas clásicos tenemos que evolucionar o desapareceremos.

Creo que fui un poco melodramático.

Pero he decidido experimentar este año con otro mercado. Mi inglés no es muy bueno, pero también será una oportunidad para mejorarlo. Así que este será una de las pocas publicaciones en español en este sitio. Por favor comprende, le estoy dando otra oportunidad a este blog y tal vez esta sea la forma de revivirlo.

Como sea, te agradezco la visita y espero que esto no represente un problema y sigamos siendo amigos.