• 11
      May - 2019

      Analytics | 12 min | 716

      #Analytics: Beautiful Python using PEP8

      Analytics | 12 min | 716


      analytics
      coding
      docker
      jupyter
      pep-8
      programming languages
      python

      PEP-8 (sometimes PEP 8 or PEP8) is a coding standard and style guide for readability and long-term maintainability of code in Python. It was written in 2001 by Guido van Rossum, Barry Warsaw, and Nick Coghlan and provides guidelines and best practices on how to program Python code. PEPs stand for Python Enhancement Proposals, and they describe and document the way Python language evolves, providing a reference point (and in some way a standardization) for the pythonic way to write code.

      This tutorial presents some of the most important key points of PEP-8. If you want to, you can read the ful...

    • 27
      Apr - 2019

      Analytics, Hacking | 1 min | 603

      #Docker: Docker hub has been hacked

      Analytics, Hacking | 1 min | 603


      data leak
      database
      docker
      docker hub
      github
      hacked
      hacking
      security

      Attention Docker Hub users - Docker Hub has been hacked!

      An email containing the following highlight was sent to the users whose account data may have been exposed.

      During a brief period of unauthorized access to a Docker Hub database, sensitive data from approximately 190,000 accounts may have been exposed (less than 5% of Hub users). Data includes usernames and hashed passwords for a small percentage of these users, as well as Github and Bitbucket tokens for Docker autobuilds (full email).

      If you got this email you should (and if you didn't receive that email, do it too ;)):

      1. Change your...

    • 10
      Apr - 2019

      Analytics | 4 min | 555

      #Analytics: Data in Docker

      Analytics | 4 min | 555


      analytics
      data
      docker
      dockerized
      machine learning

      This post is about data inside Docker containers. As I mentioned in the last post #Analytics: Docker for Data Science Environment, data in Docker can either be temporary or persistent. In this tutorial, I will focus on Docker volumes, but I will include some info about temporary data and bind mounts too.

      Types of mounts tmpfs
      Fig 1: Data in Docker container (source)

      Temporary Data

      Inside a Docker container, there are two ways in which data can be kept temporarily. By default, files created inside a container are stored in the writable layer of the container. You do not have to do anything, but every...

    • 29
      Dec - 2018

      Analytics | 3 min | 954

      #Analytics: Portainer for Docker Management

      Analytics | 3 min | 954


      analytics
      cloud
      docker
      docker management
      portainer

      Portainer is a management UI which allows you to easily manage your different Docker environments.

      This is what I will try to accomplish in this tutorial. You will be able to:

      • Run Portainer for Docker management on Windows, Linux and on a Cloud platform
      • Start container with a predefined admin password, in case you are on a public network

      Linux/Mac OSX

      If you are running Docker on Ubuntu or Mac OSX, you can start using Portainer as a Docker Container typing the following:

      docker volume create portainer_data
      docker run -d -p 9000:9000 --name portainer --restart always -v /var/run/docker.sock:...
    • 09
      Dec - 2018

      Analytics | 8 min | 1321

      #Analytics: Docker for Data Science Environment

      Analytics | 8 min | 1321


      analytics
      data science
      docker
      extending docker images
      google cloud platform
      portainer

      Today, I am opening a new section on my blog, and this time it is about analytics. As you may know, I've been working in research on IIoT and analytics for the last years, but up to now my blog has only shown my hobbyist projects. I want to change the focus of my website a little bit and add something about data analytics, machine learning, Docker technology etc. Everything that I will be publishing in this section is not new. There are many tutorials and great YouTube videos that explain these topics too, but I am going to focus on building an end-to-end data science project using some of the...

    • 08
      May - 2018

      Analytics | 9 min | 4390

      #Tutorial: Docker on Embedded Systems (Raspberry Pi & Beagleboard)

      Analytics | 9 min | 4390


      analytics
      beagleboard
      beaglebone
      docker
      embedded systems
      portainer
      raspberry pi
      tutorial

      Docker is a technology that emerged for about 5 years and since then it has simplified the packaging, distribution, installation and execution of (complex) applications. Usually applications consist of many components that need to be installed and configured. Installing all needed dependencies and configuring them correctly is usually time consuming and frustrating for users, developers and administrators. Here is where Docker comes to simplify this process allowing developers and users to package these applications into containers.

      A container image is lightweight, stand-alone, executable pa...

    • 06
      May - 2018

      Analytics | 2 min | 8636

      #Tutorial: Portainer for local Docker environments on Windows 10

      Analytics | 2 min | 8636


      analytics
      data science
      docker
      docker enviroments
      docker management
      portainer
      windows 10

      Docker is a technology that emerges for about 5 years and simplifies the packaging, distribution, installation and execution of (complex) applications. Portainer is a management UI which allows you to easily manage your different Docker environments. If you are here because of the post title, I do not have to explain anymore about the Docker technology and the management tool Portainer. But, if you need to know more about these two topics, I leave you two links:

      Let's start with the installation of Portainer for Docker management on Windows 10 (running on a Linux Container)...