Open Source Drive-By Fixes

I Fixed a Bug in a Torrent Client I've Never Used

I fix things. Theme alignment in a torrent client I use daily. Ghost deployments in a PaaS that runs my projects. Middleware bugs in Django libraries I spotted just by reading the source code. The internet has a narrative for open source contributions: they’re career investments. “Build your personal brand.” “Get noticed by FAANG.” “Strategic contributions to high-visibility projects.” I’m not doing any of that. I just open software, see something broken, and can’t leave it alone. ...

December 10, 2025 · 4 min · Muhammad Hassan Raza

Building a C++ Image Editor

Introduction During my university coursework, I developed a C++-based grayscale image editor capable of performing fundamental image processing tasks. This project was an exploration into file handling, image manipulation, and efficient data structures in C++. Features of the Image Editor The application supports: Loading and saving grayscale images in PGM format. Applying filters like mean and median filtering. Performing transformations such as flipping, rotating, and resizing. Combining images either side-by-side or top-to-bottom. Adjusting brightness and generating negative images. Core Implementation The backbone of the editor is the grayImage struct, which stores pixel data and provides functions for image operations. Here’s a snippet demonstrating how pixels are set and retrieved: ...

February 16, 2025 · 2 min · Muhammad Hassan Raza