Posts by derekmwale

@derekmwale

Derek Mwale

I love coding.
Kapiri Mposhi, Zambia. zambianmillenial.com Joined September 2026
2.5k Points • 131 Badges • 408 Connections • 403 Followers • 419 Following

Posts by derekmwale

derekmwale • • in Articles • 15 min read
There is a strange moment in every programmer's life when code stops looking like code. At the beginning, programming feels almost physical. You write a variable. You call a function. You create a loop. You store something in a database. You ...
post-cover-28230
derekmwale • • in Articles • 13 min read
Building a Real-Time Supply Chain Graph There is a strange thing about modern supply chains. A product can be sitting in a warehouse in one country, waiting for a truck in another, while its raw materials are still somewhere else. A purchase order...
post-cover-28229
derekmwale • • in Articles • 14 min read
There is a strange moment in every delivery. You place an order. The system says “Arriving Tuesday.” Tuesday arrives. Nothing. Then the status changes. “Delayed.” A few hours later: “Out for delivery.” Then: “Delivered.” The package appe...
post-cover-27989
derekmwale • • in Articles • 13 min read
Modern life is built on movement. A package moves from a warehouse to a distribution center. A truck moves inventory from a supplier to a retailer. A customer moves through a delivery process without seeing the hundreds of decisions happening be...
post-cover-27986
derekmwale • • in Articles • 12 min read
Most shopping lists are not cool. Not because shopping lists are difficult to build. A basic shopping list is one of the easiest applications a developer can create. Add an item. Remove an item. Mark it as purchased. Store it in a database. Do...
derekmwale • • in Articles • 12 min read
Most meal-planning applications begin with the wrong question. They ask: > “What do you want to eat?” That sounds reasonable. But real life is rarely that simple. A person opens the refrigerator and finds half a tomato, three eggs, some cooked...
post-cover-27852
derekmwale • • in Articles • 12 min read
Most inboxes were designed around a very simple assumption: A message that arrived earlier should probably be dealt with earlier. That assumption made sense when communication was relatively linear. You opened your email client. You saw messages...
post-cover-27841
derekmwale • • in Articles • 13 min read
Health data is everywhere. Your smartwatch knows how many steps you took. Your phone knows roughly how much you slept. Your medical provider knows your laboratory results. Your pharmacy knows what medication you collected. Your fitness applicat...
post-cover-27839
derekmwale • • in Articles • 14 min read
Food waste looks like a simple problem. A restaurant buys 100 kilograms of vegetables. Twenty kilograms eventually end up in the bin. A supermarket orders 500 units of a product. Seventy units expire before they are sold. A household buys groc...
post-cover-27774
derekmwale • • in Articles • 13 min read
A receipt looks like a simple piece of paper. At first glance, it contains a few obvious things: A merchant name. A date. Some products. A few numbers. A tax amount. A total. Then the paper goes into a pocket, a wallet, a drawer, a bag, or ...
post-cover-27772
derekmwale • • in Articles • 15 min read
Technical debt is one of those phrases every software engineer knows. Everyone talks about it. Everyone complains about it. Everyone has some of it. And almost nobody measures it correctly. We usually measure technical debt through things that...
post-cover-27737
derekmwale • • in Articles • 5 min read
Most software systems are built around a simple assumption: The price is already known. A product has a price. A ticket has a price. A hotel room has a price. A delivery has a price. The application simply retrieves that number from a databas...
post-cover-27668
derekmwale • • in Articles • 16 min read
Most databases are static. You create a table. You create some indexes. You deploy the application. Then you hope the workload behaves the way you predicted. But production workloads do not care about your predictions. A query that ran once p...
derekmwale • • in Articles • 18 min read
Building a Memory System for AI Agents AI agents are becoming better at reasoning. They can call APIs. They can browse the web. They can write code. They can execute tools. They can decompose complicated tasks into smaller tasks and sometimes ...
post-cover-27562
derekmwale • • in Articles • 17 min read
There was a time when software development began with an empty file. You had an idea. You opened your editor. You created a project. You wrote the first function. Then another. Then another. You searched documentation. You read Stack Overfl...
post-cover-27558
derekmwale • • in Articles • 17 min read
There is a deceptively simple sentence in software engineering: > “Let’s put this feature behind a flag.” It sounds like a boolean. enabled = true Or: if featureEnabled { showNewExperience; } And for a small application, that may be enou...
post-cover-27561
chevron_left