About

I’m Mostafa. I try to hold onto a simple idea: whatever I spend my time doing should, in some small way, make life better — for people, for other living things, or for the planet we share.

[PLACEHOLDER: candid photo]

My path

How I got here

Professionally, I started as a water and wastewater engineer and became fascinated by models and simulation — attempts to represent complicated reality in a form we can understand, test, and learn from.

That fascination gradually pulled me into statistics, data science, machine learning, artificial intelligence, and eventually digital product development.

My PhD focused on modelling nitrous oxide emissions from wastewater treatment plants — a greenhouse gas emitted in relatively small quantities but with enormous variability.

I approached the problem through mechanistic modelling and machine learning, and the experience left me increasingly interested in a broader question:

which models should we trust, when, and why?

What I do now

These days, I work at Stantec somewhere between applied research, digital product development, solution management, and emerging technology. Much of my time goes into figuring out how engineering knowledge, data, models, AI, and software can come together in tools that are actually useful to engineers and infrastructure systems.

Things I keep coming back to

  1. A wider curiosity

    That question is part of a curiosity that goes well beyond engineering. I keep finding myself drawn to systems thinking, philosophy of science, epistemology, history, behavioral economics, reasoning and disagreement, and the different ways humans build representations of the world.

  2. Connections between fields

    I’m especially interested in connections between fields — when an idea from one area suddenly helps explain something somewhere else.

  3. The space between disciplines

    I’m particularly interested in the space between disciplines: between mechanistic and data-driven models, between human expertise and machine intelligence, between engineering knowledge and software, and between research ideas and things people can actually use.

  4. Whatever questions keep pulling me back

    Outside that work, I tend to follow whatever questions keep pulling me back. Sometimes that means knowledge graphs and ontologies; sometimes philosophy, systems, history, music, football tactics, or how people reason and disagree.

    I don’t feel much need for all of those interests to fit neatly into one category.

This website is where I’m trying to let those different parts coexist — the work I do, the things I build, the ideas I’m exploring, what I’m reading, and the questions I haven’t figured out yet.

Where I come from

I’m Muslim, and I’m deeply grateful to Allah for the opportunities, people, and experiences that have shaped my life so far.

I’m Egyptian-Canadian and attached to both places, although I tend to think of people as people before I think of them through nationality.

Human connection matters a lot to me. I believe friendship, kindness, and love can repair more than we sometimes realize.

[PLACEHOLDER: short paragraph about life outside work]

A few facts

Based in
Edmonton, AB, Canada
Currently
Data Scientist — Water Research & InnovationStantec
Education
  • PhD, Environmental Engineering · University of Alberta · 2024
  • MSc, Civil Engineering · Ain Shams University · 2017
  • BSc, Civil Engineering · Ain Shams University · 2013
Research
Postdoctoral Fellow — modelEAU · Université LavalDoctoral research on mechanistic and machine-learning modelling of nitrous-oxide emissions from wastewater treatment.