Posts by Muhammed Abdullah

ESP32 Guru Meditation: Remote Crash Diagnostics

I had been working on HardFault diagnostics for ARM Cortex-M — capturing crash logs on fault and storing them for later analysis. That naturally led me to look at how ESP32 handles the same problem, which is through its Guru Meditation mechanism. This post walks through a project that captures ESP32 coredumps to flash and uploads them over HTTP to a Flask server for remote analysis.

Read more ...


Getting to know lambdas in C++

\(\lambda\)s in C++: Nameless functions serving sweet syntactic sugar — just enough to give your codebase diabetes.

Read more ...


Advent of Code 2024 [Days 10 and 11]

The plutonian pebbles are getting out of hand! And we also have to find a hiking trail.

TopographicalMap.png

Read more ...


Advent of Code 2024 [Days 6 to 8]

This is my progress log for Advent of Code 2024, where I’m tackling the challenges using C++ to get good at the language. Contains work of Day 6 to Day 8.

Read more ...


Learning CPP via Advent of Code 2024 [Days 1 to 5]

This is my progress log for Advent of Code 2024, where I’m tackling the challenges using C++ to get good at the language.

Read more ...


Late Binding of Python Closures

A subtle source of bugs in loops and closures. When lambda functions capture loop variables, they may not behave as you expect.

Read more ...