LOADING 0%
// nav_menu.exe
Home Resume Blog Contact Order
English فارسی

BLOG

// ls -la ~/posts --sort=date

How Does a Robot Know Where It Is Without GPS? A Hands-On Introduction to SLAM
Robotics 2026-10-09

How Does a Robot Know Where It Is Without GPS? A Hands-On Introduction to SLAM

SLAM — Simultaneous Localization and Mapping: why counting wheel turns is not enough, how the chicken-and-egg problem of map and position gets solved, what loop closure does, and how front-end and back-end split the work — with a complete 2D landmark SLAM in Python and SciPy that cuts path error from 1.3 meters to 8 centimeters.

cat slam.md
What Was That Screech When Dial-Up Connected?
Technology 2026-10-06

What Was That Screech When Dial-Up Connected?

That dial-up screech was not noise; it was a conversation between two modems. From the dial tone and DTMF to the 2100 Hz answer tone, the V.8 menu, and line probing: why every key played two tones, why the screech was audible on an ordinary handset, and why picking up the phone killed the connection — with a full Python rebuild of the sound and an interactive dial-up lab.

cat dial-up-screech.md
Ibn Sina and AI: When a Machine Says "I"
AI 2026-10-03

Ibn Sina and AI: When a Machine Says "I"

From Ibn Sina's Flying Man thought experiment to the problem of machine consciousness: intelligence vs self-modeling vs inner experience, Searle's Chinese Room, scientific theories of consciousness and the 2023/2025 reports — with a runnable Python example and an interactive demo.

cat ibn-sina-flying-man-ai-consciousness.md
The First Computer Bug Was a Real Moth
Technology 2026-10-02

The First Computer Bug Was a Real Moth

The true story of the moth taped into the Harvard Mark II logbook on September 9, 1947: why one insect stalled a 25-ton machine, where the word "bug" really comes from (Edison, 1878), Grace Hopper's role, and the birth of systematic debugging — with a Python simulation and an interactive find-the-moth lab.

cat first-computer-bug-moth.md
Is a Charged Power Bank Heavier Than an Empty One?
Science 2026-09-25

Is a Charged Power Bank Heavier Than an Empty One?

E=mc² in the real world: why a charged power bank is about 1.5 nanograms heavier, why incoming electrons are not the reason, how it compares to scale resolution, and the calculation in Python.

cat charged-power-bank-mass.md
The Secret of Files We Delete but Never Truly Erase
Technology 2026-09-13

The Secret of Files We Delete but Never Truly Erase

Delete doesn't always mean data destruction. The operating system may just drop the file's address while its bits remain on the media. A deep dive into data recovery, HDD vs SSD, TRIM, and File Carving.

cat how-deleted-files-are-recovered.md
Year 2038: When the Unix Timestamp Breaks in PHP
Programming 2026-09-04

Year 2038: When the Unix Timestamp Breaks in PHP

A precise look at the Year 2038 problem: why Unix Timestamps overflow, PHP versions and 32/64-bit builds, and safe date storage patterns in MySQL.

cat year-2038-problem-php-unix-timestamp.md
How Did Al-Khwarizmi Turn Equations Into Algorithms? Implementing His Method in Python
Programming 2026-09-04

How Did Al-Khwarizmi Turn Equations Into Algorithms? Implementing His Method in Python

A historical and practical narrative of al-Khwarizmi's method for solving equations; from al-jabr and al-muqabala to completing the square, turned into a runnable Python algorithm.

cat al-khwarizmi-equations-algorithm-python.md
What Are Hash, Salt and Pepper? Why Passwords Should Not Be Simply Encrypted
Security 2026-09-03

What Are Hash, Salt and Pepper? Why Passwords Should Not Be Simply Encrypted

A deep, practical dive into secure password storage; the difference between encryption, hashing, and password hashing; the role of salt and pepper; offline attacks; and building a real system with Argon2id and Python.

cat password-hashing-salt-pepper.md