Whether we know it or not, we build things based on the work done before us. This is true in every aspect of life, and programming is no different. Every few weeks, we (at Niteo) have a developer session where we (developers at Niteo) talk about new things we learned, cool libraries/tools we discovered, etc.Last […]
Last year we decided to replace our Ubuntu servers with NixOS. We were still on Ubuntu 14.04, so we also had to upgrade all the services and tools, including PHP, MySQL, HAProxy, etc. As you can imagine, this was a lot of work, and you might be asking yourself, “why didn’t you just upgrade Ubuntu?” […]
Concurrency in Go is an extensive topic, and we won’t cover all the things in this post. There are tons of articles and several books that cover concurrency in depth. The goal of this post is to cover topics between basic and advance. We’ll cover the usage of sync.WaitGroup and channels. Those two things combined […]
This post will briefly discuss H12 errors on Heroku, more commonly known as request timeouts, how we tackled them, and how we fixed them. Before we start, let’s establish some context. We have an app that’s a hub for ~600 servers. A few times per day, each server creates a request to the app, ensuring […]
These are my notes from the Reading Nix expressions talk in NixCon 2019. Nix package language has a similar syntax to the “JSON meets functional language concepts”. E.g. you have Let-expressions which I would say is a functional concept (ref: https://en.wikipedia.org/wiki/Let_expression) – I first saw it in Elm and Haskell. An important thing to keep […]
It’s been a few years since I’ve been to a smaller conference and I made the right choice to visit NixCon 2019. It was held in a really nice coworking space called Impact Hub in Brno. There were 2 tracks and about 180 people attending. Generally speaking, smaller conferences like this one will give you […]
This was my first time at a KubeCon conference. This year it was held in Barcelona with over 7.5k attendees! The conference was held at Gran Via which is a huge place. It consists of 8 huge halls and 3 of them were used for KubeCon. It could take you up to 15 minutes of […]
PyConWeb is an international Python Web conference held in Munich. Its main purpose is to talk about Web tools and techniques to make the Web even more awesome. Attending this conference really feels different from the other non-German conferences. The conference is organised and prepared with German precision. Everything was taken care of and the only […]
The goal of this post is to show you how to properly use encode and decode in python 2 and in python 3. This post will be based on small examples that will (hopefully) make you better understand how strings work in python 2 and python 3. A bit of background on unicode and UTF-8: […]
At the end of October there was a Python conference in Munich (PyMunich). For a regional conference it was quite big in my opinion. There were 3 tracks and more then 40 speakers. As always I won’t cover all the talks just the ones that I found the most interesting and educational. After all this […]