On Duty!Philosopher Arthur Schopenhauer on the need to not only accumulate information but also to reflect and digest it: You may accumulate a vast amount of knowledge but it will be of far less value to you than a much smaller amount if you have not though...Aug 13, 2025 · 3 min readblog.tareqrafed.com
How I Make Decisions?A curious fact about human nature: we tend to resist validating an unrecognized pattern until it repeats. You faced a new problem that made you wonder if it’s some sort of magic. “To stay balanced while riding a bike, you need to keep moving.” At fir...May 23, 2025 · 5 min readblog.tareqrafed.com
MQTT with Large Payloads and Limited MemoryUsually, when I write backend code it is aimed to serve a frontend application or mobile app. But lately, I've been working on a project that consists of a backend server and a few tiny, power-limited embedded devices. The goal was to send images to ...Aug 1, 2023 · 3 min readblog.tareqrafed.com
Singleton Pattern in PythonSingleton is a simple, controversial yet common design pattern that all developers should be aware of If you're interested in loading this design pattern straight into your brain, understand why some developers consider it an anti-pattern well, that...Oct 6, 2022 · 3 min readblog.tareqrafed.com
Factory Pattern in PythonFactory Pattern aka Factory Method, Simple Factory is one of the most common Design Patterns out there. the Factory Pattern separates the creation of objects from its use case, in this pattern you have a factory object which holds the logic behind th...1ISep 27, 2022 · 5 min readblog.tareqrafed.com