Note to self:Print statements not showing up on systemd logs? Do this

Let's assume we have a service set up as follows: [Unit] Description=systemd_microservice [Service] User=USER Group=GROUP WorkingDirectory=systemd_working_directory ExecStart=/usr/bin/python python_scripts.py SuccessExitStatus=143 TimeoutStopSec=10 Restart=on-failure RestartSec=10 [Install] WantedBy=multi-user.target And inside python_script.py you have a…

Note to self: Disable caps lock in Ubuntu 16.04

Sources: here and here This post shows how to disable the caps lock key and enables it only by pressing both shift keys together. 1. Install DCONF $ sudo apt-get install dconf-tools 2. Disable caps lock and reenable it as pressing both shift keys at once: $ setxkbmap -option "caps:none" $ setxkbmap…

What is it to work in a Startup - the good and bad

Nowadays, everyone seems to be fascinated about startups. Media bombard us with success story after success story, displaying incredible offices featuring slides instead of stairs and in house chefs preparing home made dinners. I started working in November 2013 in a NYC based Startup named Namely. I was the 18th…

TIL About BFG Repo-cleaner

If you ever migrate code from Bitbucket to Github, you will unpleasantly discover that GH does not allow by default fiels larger than 100MB (unless you pay extra for Large File Storage). At that point, you will probably realize that Github isn't really the right place to store such large…

Video: Usos del Machine Learning aplicados al E-commerce

Aquí dejo el video de mi charla "Usos del Machine Learning aplicados al E-commerce" que tuvo lugar en la ENAE Business School como parte del Foro "Ecommerce & Big/Small Data". En esta charla explico varios algoritmos que se usan hoy en día en Ecommerce así como las librerías que…