top of page
All Posts


Python Chess: Game Simulation and Illegal Moves
Part 3 of building a Python Chess Engine. Implement the move function for game simulation, encode move types, and filter out illegal moves.
Jan 12, 202517 min read


Who Needs Strava Premium When You Have Python?
Build a Strava heatmap using the Python API for custom GPS route visualization. Filter by type and date range for advanced data analysis.
Jan 12, 20255 min read


Python Chess: Efficient Move Generation Using Bitwise Operations
Python chess engine development. Use bitboards and bitwise operations for efficient move generation for sliding and non-sliding pieces.
Jan 12, 202519 min read


How to Use the Strava API with Python – Beginner Tutorial
Beginner’s guide to the Strava API with Python. Use OAuth2 for authorization and get activity data. Handle access tokens and usage limits.
Jan 12, 20257 min read


Image Segmentation With K-Means Clustering
Learn K-Means Clustering for Image Segmentation in Python. Achieve color reduction and optimized performance using NumPy
Jan 12, 20259 min read


1-Hot Encoding: The Chess Programmer’s Secret Weapon
Maximize chess engine speed with Python Bitboards. Use 1-Hot Encoding and bitwise operations to create an efficient board data structure.
Jan 12, 20259 min read


Solving the Travelling Salesman Problem Using a Genetic Algorithm
Solve the Travelling Salesman Problem with a Genetic Algorithm. Learn selection, crossover, and mutation steps to find a near-optimal route.
Jan 12, 202513 min read


Why We Can’t (Completely) Solve The Travelling Salesman Problem
The TSP is NP-Hard due to exponential complexity. Understand the time-accuracy trade-off in finding optimal vs. approximate routes.
Dec 26, 20245 min read


Genetic Algorithms: Machine Learning with Darwinian Evolution
The Genetic Algorithm uses Darwinian Evolution for machine learning. Learn selection, crossover, and mutation for efficient optimization.
Dec 26, 20244 min read
bottom of page
