Building a JS widget, from whiteboard to delivery
Yesterday I gave a presentation at the Barcelona Frontend Development meetup. It was about a project I’ve been working for almost 8 months now at Schibsted, a plug-n-play messaging widget. It was a fun experiment reviewing all my work and the attendees were interested. Here’ the slides: PS: we’re hiring 🙂

Around Andalucia
I’m continuing my Travel and Experiences section with a trip to Andalucia I did a couple of weeks ago, after deciding with some friends to get away from Barcelona for a few days and disconnect. After a plane trip ridden with turbulences – apparently, a crying kid is not enough – we checked in and […]

WannaCry – no please
In the aftermath of last week’s WannaCry ransomware attack, as a Certified Ethical Hacker, I have to say my opinion on the subject now, before my certification expires in a couple of months 🙂 The attack hit hard in multiple countries and high-profile organizations were affected, such as the British National Health Service, Deutsche Bahn […]

Switching the ifs
I’m currently struggling with a philosophical dilemma related to the formatting of Javascript code, especially when dealing with multiple if statements while trying to avoid the Arrow code anti-pattern. For example, let’s take the following example:
1 2 3 4 5 6 7 8 9 10 11 12 13 |
if (firstCondition) { firstOutcome() } else { if (secondCondition) { secondOutcome() } else { if (thirdCondition) { thirdOutcome() } else { forthOutcome() } } } |
While it’s not exactly a textbook case of arrow anti-pattern, it’s still quite difficult to follow. I would […]

A city break to Marrakech
I’ve decided to expand the categories covered on the blog to include travel & experiences. In the end, the blog’s title is Ramblings from an engineer’s life. And I will start the new travel category with a trip to Marrakech I did with some friends a few weeks ago. The flight from Barcelona to Marrakech […]

Crossbrowser testing with Nightwatch, Travis and Saucelabs
Last night I gave my presentation “Crossbrowser testing with Nightwatch, Travis and Saucelabs” at the April’s BarcelonaJS meetup. It was held at the Mobile World Centre, an awesome venue in literally the center of Barcelona, and it gathered a good crowd of javascripters. My talk addressed frontend testing with Nightwatch, a testing framework that I […]

Protect your cards from RFID theft
I like contactless cards. It’s a fast way to pay in general and for amounts smaller than 20 euros, it’s even faster as I don’t have to enter my PIN. And the technology is catching on, for example, my bank offers some bracelets that can be used in a similar fashion, as well as a […]

Nodeconf Barcelona 2017
Last Friday I attended Nodeconf Barcelona and I’m going to talk about the two most important features of any conference: food and stickers! Okay, maybe the most important aspect is the panel of speakers, which in this case was impressive and included 5 nodejs core members. The speakers covered a broad range of topics, diverse […]

Participated in my first Kickstarter campaign
I think that by now, everybody is familiar with the concept of crowdsourcing, sites such as Kickstarter or Indiegogo and their associated problems. And if you’re not, in a nutshell it goes like this: one individual entrepreneur or a team posts a project asking for an amount of money to develop a new innovative product […]

Custom assertions for Nightwatchjs
I’ve started using Nightwatch to write my end to end tests in Javascript. I found it to be an easy to use framework, that makes use of W3C Webdriver API – formerly known as Selenium – and exposes an expressive API, which supports both a BDD-style approach as well as the more “traditional” approach based […]
Most commented