Ibrahim Ahmed

Posts

Subsections

Poor Man's Autograd

Mar 27, 2026 | 11 min read
Categories: Machine Learning,
Tags: Neural Networks, Llm, Graphs,
Deriving the code for differentiating code. Inspired by microgpt.

Surprise! A derivation of entropy

Dec 4, 2025 | 14 min read
Categories: Machine Learning, Computer Science,
Tags: Machine Learning,
I explain entropy to myself

Drone physics

Jan 27, 2024 | 20 min read
Categories: Engineering,
Tags: Simulation, Uav,
Equations governing dynamics and control of a multirotor UAV

Poor Man's Autograd

Mar 27, 2026 | 11 min read
Categories: Machine Learning,
Tags: Neural Networks, Llm, Graphs,
Deriving the code for differentiating code. Inspired by microgpt.

Surprise! A derivation of entropy

Dec 4, 2025 | 14 min read
Categories: Machine Learning, Computer Science,
Tags: Machine Learning,
I explain entropy to myself

How to set up your personal server for projects

Oct 27, 2024 | 3 min read
Categories: DevOps,
How to set up a server for personal web projects.

GenAI and my six degrees of separation from tensor products

Jun 28, 2024 | 5 min read
Categories: Personal,
Tags: Llm,
My experiences getting up and running with GenAI and views on code interpretability.

AI+Building Energy Modeling: IBPSA SimBuild 2024 Notes

Jun 2, 2024 | 7 min read
Categories: Engineering,
Tags: Buildings, Llm, Machine Learning,
Notes from attending the SimBuild conference, especially sessions on data science and modeling.

Drone physics

Jan 27, 2024 | 20 min read
Categories: Engineering,
Tags: Simulation, Uav,
Equations governing dynamics and control of a multirotor UAV

Running python on air-gapped systems

Jan 13, 2024 | 4 min read
Categories: Developer,
Tags: Python,
How to reproducibly run python code on a system with no internet access.

Helping fix aircraft - from NLP to Bayes Nets

Oct 25, 2023 | 9 min read
Categories: Developer,
Tags: Machine Learning, Nlp,
NLP to help aircraft mechanics reason about maintenance actions

ChatGPT x Tennis - a weekend hacking project

Aug 20, 2023 | 11 min read
Categories: Developer,
Using ChatGPT as my coding assistant to help me play more tennis

Remote SSH into your home desktop

Jun 7, 2023 | 3 min read
Categories: DevOps,
Setting up dynamic DNS and router port forwarding so you can SSH into your home desktop from anywhere, without a static IP.

A Poor Man's Introduction to Reinforcement Learning

Nov 13, 2017 | 10 min read
Categories: Engineering,
Tags: Artificial Intelligence, Reinforcement Learning,
A beginner-friendly introduction to reinforcement learning: how agents learn from feedback instead of search or hand-coded rules.

Escaping Echochambers

Oct 20, 2017 | 11 min read
Categories: Machine Learning,
Tags: Machine Learning, Principal Component Analysis, Visualization,
Using PCA and clustering on Imgur posts to explore how recommendation systems create digital echo chambers, and how to counter them.

Trials and Tribulations of Maintaining a Hugo Blog

Sep 30, 2017 | 5 min read
Categories: DevOps, Developer,
Tags: Hugo, Powershell, Web Development,
Lessons from restructuring a Hugo site's repository layout to cleanly separate source content from rendered HTML output.

Algorithms: Balancing

Feb 6, 2017 | 5 min read
Categories: Computer Science,
Tags: Algorithms, Graphs,
How balancing the workload across an algorithm's recursive subproblems affects its overall time complexity, with worked examples.

Optimizing static sites with hugo

Feb 6, 2017 | 3 min read
Categories: Developer, Meta, DevOps,
Tags: Hugo, Javascript, Web Development,
Cutting page weight on a Hugo static site by trimming JavaScript bloat from third-party libraries like jQuery, code highlighters, and math renderers.

Is cold the new hot?

Jan 31, 2017 | 4 min read
Categories: Physics,
Tags: Thermodynamics, Quantum Mechanics,
Why temperatures below absolute zero don't break thermodynamics: a primer on entropy, negative temperature, and what 'hot' really means.

Gravitational Slingshots

Jan 31, 2017 | 3 min read
Categories: Physics,
Tags: Gravity, Classical Mechanics,
An intuitive explanation of gravitational slingshots: how space probes gain speed from a planet's motion without violating energy conservation.

Testing code with sensitive data

Sep 6, 2016 | 2 min read
Categories: Developer,
Tags: Git, Powershell, Testing,

A case study in choosing algorithms

Aug 14, 2016 | 3 min read
Categories: Engineering, Physics,
Tags: Algorithms,
A lesson from parallelizing terabytes of dark matter simulation data: why a dynamic work pool beat a bin-packing pre-partitioning scheme.

Markov Chains – Random Text Generation

Apr 29, 2016 | 3 min read
Categories: Machine Learning,
Tags: C/C++, Hpc, Markov,
How Markov chains generate grammatically plausible random text from a corpus, and how multi-threading speeds up building the prefix-suffix table.

Starting Android Development

Mar 5, 2016 | 2 min read
Categories: Personal,
Tags: Android, Mobile-Dev,

Developing with C/C++ on console

Jan 30, 2016 | 1 min read
Categories: Developer,
Tags: Bash, C/C++, Linux,

Talking With Satellites

Oct 14, 2015 | 1 min read
Categories: Engineering, Personal,

Parsing websites on a budget

Jul 23, 2015 | 2 min read
Categories: Developer,
Tags: Javascript, Web App, Web Development, Web Scraping, Yql,
How to fetch content from another website client-side using Yahoo Query Language (YQL) as a workaround for the same-origin policy, without a server.