The composition root is a design pattern which helps you structure a software application by implementing a class that builds all the other classes. In this example we will examine this pattern in Python. Here's the object graph of the classes that we're going to implement: I have designed a sample application that we're going … Continue reading Composition Root Pattern: How to Write Modular Software
Kafka Connect GitHub source connector part 1
Hello! In this article we will discuss how to quickly get started with Kafka and Kafka Connect to grab all the commits from a Github repository. This is a practical tutorial which saves you some time browsing the Kafka's documentation. Environment Kafka is bit difficult to setup, you will need Kafka, Zookeper and Kafka Connect … Continue reading Kafka Connect GitHub source connector part 1
How to use Windows 10’s Wireless Display feature
Hi, In this article I will show you how to use your Windows 10's wireless display feature in order to use your Laptop/Xbox as a wireless display. Initial Setup First things first let's enable network discoverability on both PCs. Open up Control Panel, go to Network and Internet, next Network and Sharing Center and click … Continue reading How to use Windows 10’s Wireless Display feature
LeetCode: Flood Fill
Hello, Here's my solution for the flood fill problem, found on LeetCode. If you want me to write about certain topics please let me know in the comments, thank you! Link to the problem: https://leetcode.com/problems/flood-fill/ """ An image is represented by a 2-D array of integers, each integer representing the pixel value of the image … Continue reading LeetCode: Flood Fill