Web development made easy

Deep Learning – Training an AI to play Doom

With recent scientific advancements in Deep Learning, Artificial Intelligence and Neural Networks, as well as steadily evolving tools such as Tensorflow, Pytorch, and Keras, writing, testing and optimizing your own Neural Networks is now easier than ever before. Amazed by the results of the Vizdoom competition, I decided to implement my own simple Doom AI Read more about Deep Learning – Training an AI to play Doom[…]

Docker Compose: Redis, Flask and ReactJS – Part 2

In the last part, we set up a simple todo-API using Flask and Redis. We managed to dockerize both Redis and Flask, so starting the backend of our application is as easy as running docker-compose up. Now, it’s time to implement a simple web client for this application. For that, I’m going to use ReactJS Read more about Docker Compose: Redis, Flask and ReactJS – Part 2[…]

Docker Compose: Redis, Flask and ReactJS – Part 1

In this series, I want to show you how to set up and deploy web applications using Flask and Redis on the Backend, and ReactJS on the Frontend. Using Docker Compose, it will be very easy to start, debug and deploy this application. My goal here is not to create a very sophisticated application, but Read more about Docker Compose: Redis, Flask and ReactJS – Part 1[…]

Setting up a Redis test environment using Docker Compose

In this short tutorial, I want to show you how to set up a simple Redis instance using Docker Compose. We will connect to it and test it using Python and the redis package. Software Since we will use Docker Compose to create the Redis instance, you must first install docker. Check out https://docs.docker.com/engine/installation for Read more about Setting up a Redis test environment using Docker Compose[…]

Book Review – Grokking Algorithms: An Illustrated Guide for Programmers and Other Curious People

While programming languages are becoming more and more powerful and abstract, knowing about the underlying algorithms and data structures and when and how to use them is still key to writing efficient and elegant programs. Overview In his book, Grokking Algorithms: An Illustrated Guide for Programmers and Other Curious People, Aditya Bhargava tries to explain Read more about Book Review – Grokking Algorithms: An Illustrated Guide for Programmers and Other Curious People[…]

Creating a Turing Machine in Python – Part 3

Now that our Turing machine is up and running, it’s time to add some more interesting machines. We will stick with unary Turing machines and implement one for Decrement, Addition and Subtraction each. Before we do so, however, let’s add some logging to visualize how the Turing machine is working and help us debug it. Read more about Creating a Turing Machine in Python – Part 3[…]

Creating a Turing Machine in Python – Part 2

In the last part, we covered the theory of Turing machines and created the basic project structure and classes. Now we are going to implement those classes one by one: direction.py This class contains only an enum that will be used to move the head of the tape. Therefore, it’s implementation is very straightforward: We Read more about Creating a Turing Machine in Python – Part 2[…]

Creating a Turing Machine in Python – Part 1

In this series, I want to show you how to create a simple console-based Turing machine in Python. You can check out the full source code on https://github.com/philipp007/turing_machine. In this part, I will explain the fundamental theory behind Turing machines and set up the project based on that. Requirements basic knowledge of Python fundamentals of theoretical Read more about Creating a Turing Machine in Python – Part 1[…]

Game programming using Javascript, React, Canvas2D and CSS – Part 3 (Final part)

In Part 2 I showed you how to add game objects and draw them to the canvas, how to handle game-state and how to move the player around. In this final part, we will allow the player and invaders to shoot each other, add a simple high-score and a GameOver-screen. Adding bullets To get started, Read more about Game programming using Javascript, React, Canvas2D and CSS – Part 3 (Final part)[…]