Logo
Debugging: Being both the detective and the murderer.
  • Home
  • Hot
  • Random
  • Search

Browse

  • AI AI
  • AWS AWS
  • Agile Agile
  • Algorithms Algorithms
  • Android Android
  • Apple Apple
  • Azure Azure
  • Backend Backend
  • Bash Bash
  • C++ C++
  • Cloud Cloud
  • All Categories
As an Amazon Associate ProgrammerHumor.io earns from qualifying purchases.

HTTP 418: I'm a teapot

The server identifies as a teapot now and is on a tea break, brb

HTTP 418: I'm a teapot

The server identifies as a teapot now and is on a tea break, brb

Ancient-algorithms Memes

Posts tagged with Ancient-algorithms

Egypt Binary

Algorithms Programming Math
9 months ago 469.5K views 0 shares
Egypt Binary
Ancient Egyptians apparently invented a multiplication algorithm that works by repeatedly doubling and halving numbers, then adding only the rows where the halved number is odd. So 13 × 24 becomes a series of doubles (24, 48, 96, 192) while halving 13 down (6, 3, 1), then you cross out rows with even numbers and add what's left: 24 + 96 + 192 = 312. It's basically binary multiplication disguised as ancient wisdom. The pharaoh smugly declaring "IT'S VERY SIMPLE!" while modern programmers realize they've been doing bit-shifting operations the whole time without the cool historical context. Turns out the Egyptians were doing bitwise operations before computers existed. They just didn't have Stack Overflow to copy-paste from.

Today's picks

RZJSKJZM Monitor LED Backlights, LED Strip Light Sync with Screen Color/Music, Computer Light Bar Behind Screen, for PC/Mac, LEDs for Desk Gaming, USB Interface,Software Control (27 inch)

RZJSKJZM Monitor LED Backlights, LED Strip Light Sync with Screen Color/Music, Computer Light Bar Behind Screen, for PC/Mac, LEDs for Desk Gaming, USB Interface,Software Control (27 inch)

Affiliate
$29.98
Something Aiwill Never Replace

Something Aiwill Never Replace

Linux
272.0K views 2 years ago
Doing requirements as written by the client

Doing requirements as written by the client

Linux
109.1K views 4 years ago