A spam classifier in 20 lines of scikit-learn, and the 5 things I had to fix around itThe 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 predicti5 min read·ahmedgamal.hashnode.dev3d ago
A parking system in C#: singleton, generics, and the ID rollback problemA 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 be5 min read·ahmedgamal.hashnode.dev3d ago
What I learned building a multi-client chat server in C# with TCP socketsMost .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 scratch4 min read·ahmedgamal.hashnode.dev3d ago
Singleton, LINQ, and the bugs I found later in my C# library systemThis 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 conso7 min read·ahmedgamal.hashnode.dev3d ago