Celery tasks, states and results

April 12, 2018

The subject of Celery task results comes back every now and then. It would make a really good post, with nice examples. So here we go!

If you don't know what Celery is:

Continue reading →

Cleaning up messy distributed logs, part 2

April 10, 2018

This is a story on sorting logs. First part can be found here, it's where you can get all the nitty gritty. If you are not feeling like it here is a short elevator pitch. Our kibana logs are a mess, each of the services seems to have different log format and trace backs are split across many entries. My goal is to fix it.

Second part is much much shorter as it's one of the steps I took on path to sorting this pet peeve of mine. Unfortunately, I can not spend my whole time at work to fix it as it is not a crucial part of our application. At least it is not at this moment.

Continue reading →

Cleaning up messy distributed logs, part 1

April 4, 2018

Logging is an important part of software lifecycle. It is used in every stage, from the beggining, through testing, deployment, staging, production. I find neat logs soothing, they increase my confidence in running software providing visibility when required.

Continue reading →

Python packaging primer

November 27, 2017

There is a great initiative at place where I work currently called Python Bunch. Every couple of weeks someone gives a talk related to Python. I have decided to give one in regards to Python packaging, most challenging thing in Python for me. Possibly more complex than meta programming and monads ;) This post will be a preparation for this talk as I'm about to write down everything I would like to talk about. I'll start with basics describing what is package, basic elements of package configuration, how to install dependencies. Next is how to create a proper setup.py and how to define dependencies.

Continue reading →

Iterator fun

June 28, 2017

PyCon US 2017 finished more than a month ago. By the miracle of the technology everyone not able to attend can watch all the talks conveniently in ones own home. So I did, starting with a list of talks recommended in one of the recent episodes of Talk Python To Me podcast.

Continue reading →