Clojure threading macros in ES6

While working in the functionality for getting a docker-compose path from the cursor position, I realized at some point I was writing constantly code like this: let first_result = func_call1(val); let second_result = func_call2(first_result); let third_result = func_call3(second_result); ...etc... This is not…

I have added Disqus comments to the blog

Hello! I moved my blog to Ghost as the previous one was hosted in a Wordpress free plan and I linked it from my personal website, and I wanted more control over that and also having a more uniform user interface, provided that my former site's design was a modified…

Git subtree introduction

[NOTE: I recovered this post from my old wordpress blog] We often find ourselves developing projects that depend on other vendor’s libraries or even on our own produced external software components. Git subtree provides a way to incorporate that external project into another one (normally bigger) by copying it…

Routing in Javascript

Introduction Originally web applications consisted in interconnected html documents that one could navigate through links between them. Every time a user clicked a link on a website a new document would be generated in the server and sent back to the browser to be rendered in their screen. Around the…

Ember Websockets & nginx integration

In a previous article I explained our approach at work to deploy an Ember.js application in an nginx server running on docker. Today I had to integrate an instance of that application to communicate with another microservice using WebSockets. A simplified diagram of the architecture would be: All this…