Search

Manneken-Tech

Where Tech meets Beers

Category

Python

Roulette Martingale

In this post we will simulate two different betting tactics for the game of roulette. A martingale is a system of bet that gives the player an advantage that ensures gains.

Of course a working martingale does not exists in casino games but a lot of people still believe that the double bet on lost tactics work.

Let’s find out.

Continue reading “Roulette Martingale”

Using ElastAlert

ElastAlert is a very nice package that can be installed on top of the ELK stack. It is a free replacement of the X Pack watcher product.  The basic idea of the package is to use rules defined as yaml file in order to describe each alerting rule. You will find a nice introduction of the package possibilities here.

Continue reading “Using ElastAlert”

Monitoring Docker Part 3

We already saw that we can monitor Docker via the Elastic Stack in this previous post. In this post we will update the monitoring script in order to also store the docker events in Elastic Search.

Continue reading “Monitoring Docker Part 3”

Python Lambdas in AWS

Using python in amazon web service lambdas can be tricky in the following scenarios.

  • There are some dependencies that are not included in the aws python lambda executor
  • There are some dependencies that require binaries (Packages such as numpy, sklearn e.t.c.)

For the first topic it is still possible to develop on your laptop and to send the lambda via s3. For dependencies with binaries you have to work with a real ec2.

Continue reading “Python Lambdas in AWS”

Monitoring Docker 2

There are a lot of tools that can be used to monitor docker as explained in this previous post, but it could be interesting to keep the history of the CPU and memory used by each individual container.

Continue reading “Monitoring Docker 2”

Which technology for a REST API

Creating a REST API is one of the building block of lot of software. It lets us access to data using an easy protocol accessible by most of the recent programming languages. That’s great but which language should we use to build the API.

Continue reading “Which technology for a REST API”

Playing with a Cassandra cluster via Docker

Docker is the best tool to quickly check new technologies without the hassles of installations.

Continue reading “Playing with a Cassandra cluster via Docker”

Have some fun with ClarifAI

A cool API for Image and Video recognition

Continue reading “Have some fun with ClarifAI”

Monitoring Elastic Stack Part 2

In the part 1, we saw how to display the number of docs and their sizes per node. In the real life, it helps but we need more than that.

Continue reading “Monitoring Elastic Stack Part 2”

Blog at WordPress.com.

Up ↑