Articles

Python

Unlocking my apartment with my face

Unlocking my apartment with my face thumbnail
As part of a previous project, I installed an IoT lock on my front door, which allowed me to control it using my smartphone. However, having to take out my smartphone every time I want to unlock the door quickly becomes annoying. To improve on the situation, I installed an RFID reader on the lock, which I used in combination with an RFID ring which now serves as my key. To follow up on this trend of finding new ways to unlock my door, I decided to explore face recognition technologies.
AI / MLComputer visionESP32PythonIoT

Getting Python's requests library to use a local DNS (Core-DNS, Docker-compose, etc.) while behind a proxy

When using Python's requests library, the requests are send through the proxy set as environment variables. Consequently, if the DNS to be used comes before said proxy, the host might not be resolved. This typically happens when resolving a host in Kubernetes using Core-DNS. If the request first leaves the Kubernetes cluster to reach the proxy, then the DNS server becomes unreachable, making the request fail.
DevOpsPythonTutorials

Tensorflow 1.X basics

Here are the basics steps necessary to write TensorFlow code.
PythonAI / MLTensorFlowTutorials

Python list slicing

Here are a few useful features of Python when dealing with lists (Arrays):
ProgrammingTutorialsPython

Python virtual environments

When working on multiple python projects, dependencies might conflict. For example, a project might use version 1.5 of Tensorflow while another uses version 2.1.
TutorialsPython

Inheritance in Python

Let's imagine that we have a python class as follows (Python 3):
PythonTutorials