---
title: "Pedram Badakhchani (@pedbad) | Hashnode"
description: "Head of eLearning, University of Cambridge Language Centre · Full-stack developer & AI engineer · Online tutor, UoL BSc Computer Science"
url: "https://hashnode.com/@pedbad"
---

@pedbad

# Pedram Badakhchani

@pedbad · London, UK · Joined December 2020

Head of eLearning, University of Cambridge Language Centre · Full-stack developer & AI engineer · Online tutor, UoL BSc Computer Science

[Website](https://pedbad.hashnode.dev/page/start-here)

### [RESTful APIs with Django and the Django Rest Framework](https://pedbad.hashnode.dev/testing-django-rest-framework-apis?utm_source=hashnode&utm_medium=feed)

Test a Django REST framework API with APITestCase and factory\_boy: status codes, data, validation, permissions, coverage, pytest and GitHub Actions.

25 min read · [pedbad.hashnode.dev](https://pedbad.hashnode.dev/testing-django-rest-framework-apis?utm_source=hashnode&utm_medium=feed)

[1](https://hashnode.com/posts/testing-django-rest-framework-apis/6aed0b09c04e0d7ecfbdb5e2) [Nov 5](https://hashnode.com/posts/testing-django-rest-framework-apis/6aed0b09c04e0d7ecfbdb5e2)

### [Physics with matter.js in p5.js](https://pedbad.hashnode.dev/physics-with-matter-js-in-p5js?utm_source=hashnode&utm_medium=feed)

From falling boxes to slingshots

12 min read · [pedbad.hashnode.dev](https://pedbad.hashnode.dev/physics-with-matter-js-in-p5js?utm_source=hashnode&utm_medium=feed)

[Oct 31](https://hashnode.com/posts/physics-with-matter-js-in-p5js/6ae67a731bb8f2dce2491ba3)

### [Random vs Perlin noise in p5.js: from jumpy dots to flow fields](https://pedbad.hashnode.dev/random-vs-perlin-noise-in-p5js?utm_source=hashnode&utm_medium=feed)

Ten sketches, from simple to challenging, written the way larger projects are written

15 min read · [pedbad.hashnode.dev](https://pedbad.hashnode.dev/random-vs-perlin-noise-in-p5js?utm_source=hashnode&utm_medium=feed)

[Oct 31](https://hashnode.com/posts/random-vs-perlin-noise-in-p5js/6ae5363ec2c4cc5310c1addc)

### [Getting started with Django 5.2 LTS using uv](https://pedbad.hashnode.dev/getting-started-with-django-5-2-lts-using-uv?utm_source=hashnode&utm_medium=feed)

Tested with: uv 0.13.1, Python 3.14.8 and Django 5.2.18 LTS, October 2026. Django 5.2 is the current long-term-support release, with security fixes until April 2028. Looking for my 2021 version with D

4 min read · [pedbad.hashnode.dev](https://pedbad.hashnode.dev/getting-started-with-django-5-2-lts-using-uv?utm_source=hashnode&utm_medium=feed)

[Oct 19](https://hashnode.com/posts/getting-started-with-django-5-2-lts-using-uv/6ad65a8ff0abdaaf688b612f)

### [Understanding JavaScript Scope: A Beginner's Guide to Variable Visibility](https://pedbad.hashnode.dev/understanding-javascript-scope-a-beginners-guide-to-variable-visibility?utm_source=hashnode&utm_medium=feed)

Updated October 2026. Removed a stray sentence, corrected the point about global variables and memory, and added an example of var ignoring blocks and a section on module scope. The new examples were

12 min read · [pedbad.hashnode.dev](https://pedbad.hashnode.dev/understanding-javascript-scope-a-beginners-guide-to-variable-visibility?utm_source=hashnode&utm_medium=feed)

[Oct 18, 2024](https://hashnode.com/posts/understanding-javascript-scope-a-beginners-guide-to-variable-visibility/6712688e3bad7707097a302f)
