Fix for failed GitHub Pages

Did you ever get this email?

The page build failed for the `master` branch with the following error:

The hydeout theme is not currently supported on GitHub Pages. For more information, see https://help.github.com/articles/adding-a-jekyll-theme-to-your-github-pages-site/.

For information on troubleshooting Jekyll see:

  https://help.github.com/articles/troubleshooting-jekyll-builds

If you have any questions you can contact us by replying to this email.

I finally tracked down my problem…

More …

Using Docker to run Jekyll

When I first started this blog, I found it quite tricky to have Jekyll up and running properly. I followed the guide in Github and the guide in jekyll’s own website, but kept having problems. These problems were related to dependencies, the gems ruby uses, and installing them wasn’t an easy task.

When you solve a problem, or get something working, do you ever feel “dirty”? Like the solution you found wasn’t ideal, and your environment is polluted? Or that strange feeling you get, when something works but you don’t exactly know why?

I absolutely hate that feeling… And I felt that way, until I found Docker.

More …

Raising Custom Exceptions in Flask Restplus for wrong POST JSON payloads

If you have checked my LinkedIn, you know I am a Data Engineer at Cytora. Part of my job is to work in our product, the API that serves our AI models to our clients.

Part of a good product is to be able to provide the users with a good experience while they use it, or develop tools that interact with it. To do so, you need to be able to tell them exaclty what is going wrong. A simple 400 Bad Request won’t work, you need to be able produce custom error messages and codes.

However, what should be an easy task, isn’t.

More …

Configuring brightness keys in i3wm

I have a Dell XPS 13 9360, and I have just started using i3wm. Installing Ubuntu and i3 was easy enough following the tutorial on i3wm’s website. One of the hard parts was getting the brightness keys to work.

More …