---
title: "Mahir Faysal (@mfaysaldev) | Hashnode"
description: "Student web developer — PHP, JavaScript, Next.js. Read the latest articles by Mahir Faysal on Hashnode."
url: "https://hashnode.com/@mfaysaldev"
---

@mfaysaldev

# Mahir Faysal

@mfaysaldev · Joined October 2026

Student web developer — PHP, JavaScript, Next.js

[Website](https://mfaysal.com/)

### [TypeError: unhashable type: 'list' in Python: 10 Causes and Fixes for Dict Keys, Sets, Counter and lru\_cache (Tested Examples)](https://mfaysaldev.hashnode.dev/python-typeerror-unhashable-type-list?utm_source=hashnode&utm_medium=feed)

Python raises TypeError: unhashable type: 'list' when you use a list where Python needs a hashable value: as a dictionary key, as an element of a set, in an in check against a set or dict, or as an ar

16 min read · [mfaysaldev.hashnode.dev](https://mfaysaldev.hashnode.dev/python-typeerror-unhashable-type-list?utm_source=hashnode&utm_medium=feed)

[Nov 10](https://hashnode.com/posts/python-typeerror-unhashable-type-list/6af298d1b6886c50c260b6fe)

### [git fetch vs git pull (vs git pull --rebase): Differences, Divergent Branches and When to Use Each (Tested Examples)](https://mfaysaldev.hashnode.dev/git-fetch-vs-git-pull?utm_source=hashnode&utm_medium=feed)

git fetch downloads new commits, branches and tags from a remote and updates your remote-tracking branches (like origin/main), but it never touches your local branch or your working files. git pull ru

14 min read · [mfaysaldev.hashnode.dev](https://mfaysaldev.hashnode.dev/git-fetch-vs-git-pull?utm_source=hashnode&utm_medium=feed)

[Nov 9](https://hashnode.com/posts/git-fetch-vs-git-pull/6af1fac503e3026222654279)

### [null vs undefined in JavaScript: Differences, Checks and When to Use Each (Tested Examples)](https://mfaysaldev.hashnode.dev/javascript-null-vs-undefined?utm_source=hashnode&utm_medium=feed)

undefined means a value was never assigned (missing property, missing argument, bare return). null is an intentional empty value you assign yourself. Prefer === when you care which one you have, use =

12 min read · [mfaysaldev.hashnode.dev](https://mfaysaldev.hashnode.dev/javascript-null-vs-undefined?utm_source=hashnode&utm_medium=feed)

[Nov 9](https://hashnode.com/posts/javascript-null-vs-undefined/6af1fa81aab866a35fd040f7)

### [Python Assignment vs Shallow Copy vs Deep Copy (copy vs deepcopy): Differences, Nested Lists and When to Use Each (Tested Examples)](https://mfaysaldev.hashnode.dev/python-copy-vs-deepcopy-vs-assignment?utm_source=hashnode&utm_medium=feed)

In Python, b = a does not copy anything: it gives the same object a second name, so a change through one name shows up in the other. A shallow copy (a.copy(), a\[:\], list(a), dict(a) or copy.copy(a)) c

16 min read · [mfaysaldev.hashnode.dev](https://mfaysaldev.hashnode.dev/python-copy-vs-deepcopy-vs-assignment?utm_source=hashnode&utm_medium=feed)

[Nov 9](https://hashnode.com/posts/python-copy-vs-deepcopy-vs-assignment/6af1fa3c77ad55ff696e98f6)

### [UnboundLocalError: cannot access local variable where it is not associated with a value in Python: 10 Causes and Fixes (Tested Examples)](https://mfaysaldev.hashnode.dev/python-unboundlocalerror-cannot-access-local-variable?utm_source=hashnode&utm_medium=feed)

Python raises UnboundLocalError: cannot access local variable 'x' where it is not associated with a value when a function reads a name that Python has decided is local to that function, but the line t

16 min read · [mfaysaldev.hashnode.dev](https://mfaysaldev.hashnode.dev/python-unboundlocalerror-cannot-access-local-variable?utm_source=hashnode&utm_medium=feed)

[Nov 9](https://hashnode.com/posts/python-unboundlocalerror-cannot-access-local-variable/6af1f9e429c7d0be96a5d767)
