FastAPI and Celery

In this post, I will present to you a simple, minimal working example of utilizing new, high-performance Python web framework FastAPI and Celery - Distributed Task Queue for executing long-running jobs. In addition to the FastAPI framework and Celery distributed task queue, we will also use the RabbitMQ as a messaging queue platform and Redis for returning the results of the executed jobs. For the monitoring of Celery jobs, the [Flower] - Celery monitoring tool will be used.

How to utilize NiaPy for solving KNN parameter optimization problem?

In the following, I’m going to present to you, an example on how to utilize NiaPy micro-framework 1 for solving the parameter optimization problem of K-nearest neighbors classifier 2 against very common Breast Cancer Wisconsin (Diagnostic) Data Set 3. Before we dive in, I suppose you are familiar with the basic understanding of machine learning and the usage of the conventional classifiers such as K-nearest neighbors classifier. If you are only interested in the implementation part you can jump to an Implementation section or view the complete source code on GitHub.

Deploy jHipster Registry with Dokku

In this post, I’ll present to you, how to deploy JHipster Registry on Dokku. You can read more about installing Dokku on your system in my previous blog post. If you are not familiar with JHipster I suggest, that you first check out the official JHipster web page. So what is JHipster Registry? As is stated on the official web page, the JHipster Registry is a runtime application, provided by the JHipster team.

Install Docker Compose on Ubuntu 16.04

Today I’m going to show you how to install Docker Compose on Ubuntu 16.04. If you haven’t already, I suggest you read my previous blog post about running Ghost with Dokku in which I already described how to install Docker which has to be installed on the system before we can start with Docker Compose installation. So installing a Docker Compose on Linux is just a matter of one terminal command:

Running Ghost 1.0.2 with Dokku

In this post, I will present to you how I achieved to run Ghost with Dokku. ​ The objective is to deploy and run Ghost container to Dokku instance running on VPS server with installed Ubuntu 16.04 operating system. In the end, I will also secure running Ghost instance with SSL using Let’s Encrypt. ​ So here is the list of things that should be done in order to get everything working: