---
title: "Ahmed Gamal (@ahmedgamaldev) | Hashnode"
description: ".NET backend and full-stack developer in Egypt. Read the latest articles by Ahmed Gamal on Hashnode."
url: "https://hashnode.com/@ahmedgamaldev"
---

@ahmedgamaldev

# Ahmed Gamal

@ahmedgamaldev · Joined November 2026

.NET backend and full-stack developer in Egypt

[Website](https://aga7474.github.io/)

### [A spam classifier in 20 lines of scikit-learn, and the 5 things I had to fix around it](https://ahmedgamal.hashnode.dev/a-spam-classifier-in-20-lines-of-scikit-learn-and-the-5-things-i-had-to-fix-around-it?utm_source=hashnode&utm_medium=feed)

The model in this project is short enough to read in one sitting. Almost everything I actually learned came from the parts around the model: the data, the saved files, and the app that serves predicti

5 min read · [ahmedgamal.hashnode.dev](https://ahmedgamal.hashnode.dev/a-spam-classifier-in-20-lines-of-scikit-learn-and-the-5-things-i-had-to-fix-around-it?utm_source=hashnode&utm_medium=feed)

[3d ago](https://hashnode.com/posts/a-spam-classifier-in-20-lines-of-scikit-learn-and-the-5-things-i-had-to-fix-around-it/6b0aac626474699dc6c922d9)

### [A parking system in C#: singleton, generics, and the ID rollback problem](https://ahmedgamal.hashnode.dev/a-parking-system-in-c-singleton-generics-and-the-id-rollback-problem?utm_source=hashnode&utm_medium=feed)

A parking lot is a good exercise for object-oriented design, because the rules are simple to state and awkward to implement: a vehicle takes a number of slots based on its length, the slots have to be

5 min read · [ahmedgamal.hashnode.dev](https://ahmedgamal.hashnode.dev/a-parking-system-in-c-singleton-generics-and-the-id-rollback-problem?utm_source=hashnode&utm_medium=feed)

[3d ago](https://hashnode.com/posts/a-parking-system-in-c-singleton-generics-and-the-id-rollback-problem/6b0aac2bfac08a5b44271918)

### [What I learned building a multi-client chat server in C# with TCP sockets](https://ahmedgamal.hashnode.dev/what-i-learned-building-a-multi-client-chat-server-in-c-with-tcp-sockets?utm_source=hashnode&utm_medium=feed)

Most .NET developers reach for SignalR when they need a chat feature, and that is usually the right call. But I wanted to know what SignalR is doing for me, so I built a small chat system from scratch

4 min read · [ahmedgamal.hashnode.dev](https://ahmedgamal.hashnode.dev/what-i-learned-building-a-multi-client-chat-server-in-c-with-tcp-sockets?utm_source=hashnode&utm_medium=feed)

[3d ago](https://hashnode.com/posts/what-i-learned-building-a-multi-client-chat-server-in-c-with-tcp-sockets/6b0aabf149ee437e71567e7b)

### [Singleton, LINQ, and the bugs I found later in my C# library system](https://ahmedgamal.hashnode.dev/singleton-linq-and-the-bugs-i-found-later-in-my-c-library-system?utm_source=hashnode&utm_medium=feed)

This is the third project I have written up from my GitHub, and it is the one where the design decisions are easiest to defend in a README and hardest to defend in the code. A library management conso

7 min read · [ahmedgamal.hashnode.dev](https://ahmedgamal.hashnode.dev/singleton-linq-and-the-bugs-i-found-later-in-my-c-library-system?utm_source=hashnode&utm_medium=feed)

[3d ago](https://hashnode.com/posts/singleton-linq-and-the-bugs-i-found-later-in-my-c-library-system/6b0aab5bd8a383e6e1ed6d66)
