Home » how to » Page 16

how to

Solved: “docker build” hangs

  • by
  • 2 min read

Taking a Docker course, building your first image and nothing happens? Here’s why and how to solve this issue. When you run the docker build command, the Docker client will send the “context” of your Dockerfile via REST to the Docker daemon. This “context” is the content of what is… 

Nginx port mapping error on docker

  • by
  • 1 min read

When taking Docker tutorials, one of the first things that pops up is running a web server in a container via Nginx. However, when you map ports (e.g. 80 on 80) you might get the following error: Error response from daemon: driver failed programming external connectivity on endpoint <your container>:… 

What to do when Python is not recognized as an internal or external command

  • by
  • 2 min read

One of the main reasons I prefer R(Studio) over Python for doing data science in a context of business intelligence is the ease and stability of the workspace: no virtual environments to maintain since most popular libraries have matured. An update once a year suffices. Yet I acknowledge Python is… 

Using Python in Azure Functions

  • by
  • 2 min read

Recently, I jumped on the serverless hype train. I basically sold my soul to Microsoft and Azure, so the possibility of running Python in Azure Functions is pretty damn cool. But since it’s still in preview mode (beta), it has proven to be a nerve-wrecking experience. Here’s some brief instructions… 

A DIY Raspberry Pi minigarden you can water from anywhere in the world

  • by
  • 5 min read

After reading Steve Lohr’s book ‘Data-Ism‘, it became clear how big data – the recent evolution in computing, cheap computing power, cheap storage, cheap hardware – can make the jump to the tangible world. In his book, Lohr gives the example of a Californian winery that uses shitloads of sensors to track…