Skip to main content
Menu
☎ (951) 904-2477
Tech & Machines

Abracadabra Bug-Shrinking Charm

Also called shrinking triangle charm, Serenus Sammonicus fever charm

Abracadabra began as a Roman fever cure: the word written in a triangle that lost a letter on each line, so the illness would shrink away with it. This page tells that history and adapts the shrinking triangle as a way to narrow down a stubborn bug.

TraditionRoman medical magic
RegionRoman Empire
EraEarly 3rd century CE
Moon☾ Waning moon
DaySaturday · Saturn
ElementAir
Difficulty●○○ Simple
TimeAs long as the hunt takes

Tonight's moon is read when the page loads.

The working

  1. Write ABRACADABRA across the top of a sheet of paper. Under it write the bug in one line, as exactly as you can.
  2. On the next line write ABRACADABR, dropping the last letter, and under it write the smaller version of the problem once you have cut away one possible cause.
  3. Keep going. Each time you rule something out, by commenting out code, bisecting a commit range or removing an input, drop another letter and write what remains.
  4. Read each shrinking word aloud as you write it. In the Roman charm the shrinking word carried the fever away.
  5. When you reach the single A, you should have the smallest case that still fails. Fix it there.
  6. Write a test for that smallest case so the bug cannot grow back.
  7. Fold the paper and recycle it, or keep it with the ticket as a record of the hunt.

Take care: No physical risks. Remove code only in a branch or working copy, never directly in production.

Versions across time and place

i

Serenus's fever amulet

Roman · c. 210 CE

The word was written out on parchment, each line one letter shorter, forming a downward triangle, then tied around the neck of the sick person on a thread. The fever was meant to dwindle as the word did.

Recorded in: Quintus Serenus Sammonicus, Liber Medicinalis
ii

Plague-year amulets

Early modern English · 1665

Defoe described Londoners in the plague of 1665 wearing papers with ABRACADABRA in a triangle, which he treated as a sign of how frightened and credulous people had become.

Recorded in: Daniel Defoe, A Journal of the Plague Year (1722)
iii

Stage magic word

Conjuring · 19th century onward

Stage magicians took the word as a patter word for tricks, and its healing use was largely forgotten. Today most people know it only from the stage.

Recorded in: Abracadabra, Wikipedia

History

The word ABRACADABRA first appears in the Liber Medicinalis of Quintus Serenus Sammonicus, a Latin verse book of remedies from the early third century. Serenus is said to have served the emperor Caracalla and been killed on his orders in 212 CE. For a dangerous fever he prescribed the word written in a shrinking triangle and worn around the neck. The origin of the word itself is unknown; Aramaic and Gnostic roots have been proposed but not proven.

Serenus was treating fevers, not software, and this charm was never written for machines. What our adaptation borrows is the method in its shape: remove one piece at a time until almost nothing is left. That happens to be how programmers isolate bugs, by bisecting history or stripping a failing case down to its core. The triangle turns that patient work into a small rite.

Sources

  1. Abracadabra · Wikipedia contributors
  2. Liber Medicinalis · Quintus Serenus Sammonicus, c. 210
  3. A Journal of the Plague Year · Daniel Defoe, 1722

Related spells

Want one made just for you?

Tell us what you need and we will craft a custom spell, charm or reading for it. Or call to book a reading or a road blessing in person.

☎ Call UsTranslate