All Posts

Autonomous Turtle Chase

Autonomous interception agent in ROS Turtlesim — PID-controlled pursuit with trajectory prediction and circle-fitting to intercept a moving target from sparse, delayed positional data.

PID.gif

Read more ...


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 ...


ARM Cortex M Hardfault Handling

ARM Cortex-M HardFault handling with focus on exception and interrupt behavior, exception return flow, stack usage, and debugging scenarios. Includes references from The Definitive Guide to ARM Cortex-M3/M4 Processors and practical STM32 examples such as startup code, UART I/O, and fault diagnosis.

Read more ...


QEMU Essentials

QEMU is the Queen of all Emus

neofetch

Read more ...


Arenas

Writing a memroy allocator for bare-metal systems.

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 ...


Learning CPP via Advent of Code 2024 [Day 9]

This isn’t how you’re supposed to defrag a disk… right?

defragging deez nuts

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 ...


Hello World

  • 12 August 2024
  • Author: me
  • Language: English

Hi!! I have made a website and if you are seeing this, it is live

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 ...


Writing C wrapper for C++ libraries

When working on projects that involve both C and C++ components, integrating functionality between the two can sometimes pose challenges due to the differences in their language constructs and compilation models. One common scenario is when you have a C++ library that you want to use within a C codebase.

Read more ...


Threads in PySide6, Python packaging and Executables

This post seves a guide as well as notes for developers working with PySide6. It covers topics such as managing output streams across scripts, running Python scripts in separate threads, and creating executable Python packages.

Read more ...