Last weekend I have attended FOSDEM 2018. This year, I have spent the saturday attending the Go devroom. It has been quite exhausting (I wasn’t able even to go the bathroom if I didn’t want to lose my seat) but since this devroom is so crowded, it seems the only possible way. These are the links of some talks that have been specially interesting to me, many talks were recorded so if the videos are not available in the linked pages, just wait a few more days: [Read More]

Codemotion 2017

I have updated the About me section with the video and slides of my talk at Codemotion 2017. I hope you like it! :-) [Read More]

PyConES 2017

Last weekend I attended to PyConES2017, the annual Python conference in Spain. These are some talks and links of things that I have found interesting: The Irene (@irenuchi) and Javier Torres’ workshop on basic geospatial analysis using GeoPandas and CartoFrames was amazing. Just download the Jupyter Notebook and give it a try! Naomi Ceder (@NaomiCeder) gave a keynote named “Come for the Language, stay for the Community” that reinforced the idea that the Python community is somehow special in its openness and newcomers-friendly character. [Read More]

PyDay Galicia 2017

This past Saturday I have attended to PyDay Galicia 2017. It has been a very interesting one-day conference, with 2 tracks (Basic and Professional). These are some of the talks I have attended to: Ricardo Samaniego talked about OpenCV con Python. A very engaging talk with loads of live demos showing the power that a few lines of OpenCV for Python can deliver. Clara Casas Castedo and Miguel Sánchez de León Peque talked about Python para MacGyvers. [Read More]

From 0 to Anomaly Detection in your infrastructure metrics in 15 minutes

Two months ago I attended to the Source{d} Infrastructure Tech Talks 2017. It was a great event with lots of good talks. I was lucky to be selected to give a lightning talk about From 0 to Anomaly Detection in your infrastructure metrics in 15 minutes. The video is now available online. Thank you very much Source{d} for hosting it! [Read More]

Lighter Python images using multi-stage Dockerfiles

A very interesting feature coming with Docker 17.05 is multi-stage builds in the Dockerfile. This feature allows to implement a simple pipeline during the build phase and carry artifacts between stages. Previously, if you wanted to deliver lightweight images, you would have had to implement the builder pattern. First, you would build an image with all the development dependencies, build the project and generate your artifacts, export them using docker cp or anything similar and then add those files to a new image, with a lighter base. [Read More]

Using adafruit-ampy for the ESP8266

I recently wrote a blog post about how to work with MicroPython on the ESP8266. In that post, I used a tool named webrepl to connect to the board and upload the Python code over the air. That could be a feasible workflow once the ESP8266 is already in a WiFi we can access from our laptop, but sometimes that is not the case. And, of course, the first time we need to connect the board to the WiFi, which needs to be done over the serial connection. [Read More]

From Nikola to Hugo

Today I have migrated the static generator for this site from Nikola to Hugo. Part of the motivation has been trying a new technology, part of it, having less movable parts. Nikola is great but carries quite a lot of dependencies (specially with the themes). My previous workaround involved building a Docker image with the tools, and using that image inside a GitlabCI pipeline that built the statics and deployed them to my server. [Read More]

Building a Slack button with ESP8266/MicroPython

In a recent post I explained how I implemented a “push to Slack” button using the Wemos D1 (ESP8266) board, programmed with the Arduino-like interface. Having discovered that it is possible to use MicroPython on the board, now I will re-write the software in Python. In order to do so, the first thing to do is install the MicroPython firmware on the board. These are the steps to achieve that first milestone. [Read More]

Building a Slack button with ESP8266/Arduino

I have recently discovered the powerful ESP8266-based development boards. These boards have built-in WiFi connectivity and many GPIOs, low consumption and can be programmed in many different ways. In this article I will show how to build a smart button that sends a message to a Slack channel, using a Wemos D1 mini pro. This board can be programmed in many different ways. In this article, I will show how to do it using the Arduino-compatible programming interface. [Read More]