# Discipline Algorithms to Control Your Focus | Ali Flifli | TEDxUniversity Hassan II of Casablanca

Source: https://www.youtube.com/watch?v=G23Qm5KGS5w
Recap page: https://rapidrecap.app/video/G23Qm5KGS5w
Generated: 2025-11-11T12:03:17.137+00:00

---
## Quick Overview

Ali Flifli argues that the excessive daily screen time, averaging 6.5 to 7 hours globally, leads to "Brain Rot"—a weakening of focus and loss of valuable life opportunities—and proposes a six-step ancient human algorithm derived from Imam Al-Ghazali’s 11th-century work, "The Revival of the Religious Sciences," as a practical solution to resist digital distraction and reclaim attention.

**Key Points:**
- The world averages 6 hours and 40 minutes to 7 hours of daily online screen time, equating to 15 years of life spent scrolling, clicking, and watching.
- This screen time results in lost opportunities, including unread books, unlearned languages, and unmade connections, which the speaker terms the "Cost of Distraction."
- The speaker introduces an ancient solution from Imam Abu Hamid al-Ghazali's 11th-century book, "The Revival of the Religious Sciences," as a "deep, human algorithm for self-discipline."
- The six steps of this Human Algorithm are: 1. Al-Musharata (Daily agreement: Use your phone as a tool, not vice-versa), 2. Al-Muraqaba (Watch yourself: Stay aware of your pact), 3. Al-Muhasaba (Self-accounting: Review your focus daily), 4. Al-Mu'aqaba (Consequence/Course Correction: Small, corrective actions), 5. Al-Mujahada (Internal Struggle: Do the hard work, build focus muscle), and 6. Al-Mu'ataba (Positive Self-Talk: Motivate towards your goals).
- The core objective of applying this algorithm is to transform the user from a passive consumer to a conscious user, allowing them to actively direct their attention rather than having it stolen by fast algorithms.
- The speaker emphasizes that the fourth step, Al-Mu'aqaba (Course Correction), is crucial for dealing with distraction, suggesting small corrective actions rather than punishment when one breaks their agreement.

![Screenshot at 01:00: The speaker presents a slide detailing the world's average daily online screen time \(6h40m-7h\) illustrated by an hourglass, establishing the alarming scale of digital consumption that forms the basis of his argument.](https://ss.rapidrecap.app/screens/G23Qm5KGS5w/00-01-00.png)

**Context:** The presentation, delivered by Ali Flifli, a PhD student in Islamic Studies at Hassan II University of Casablanca, addresses the modern crisis of attention fragmentation caused by excessive digital consumption. Flifli frames the problem by quantifying the massive amount of time people spend online daily and contrasts this with the lost human potential. He then pivots to an ancient solution rooted in classical Islamic scholarship, specifically the work of Imam Al-Ghazali, proposing his framework as a direct, actionable countermeasure to digital distraction in the age of Artificial Intelligence.

## Detailed Analysis

Ali Flifli opens by quantifying the staggering amount of time people spend online daily—between 6 hours 40 minutes and 7 hours—which accumulates to 15 years of life dedicated to scrolling and watching screens. He labels the resulting consequence as "Brain Rot," characterized by diminished focus and lost opportunities such as unread books or unmade connections. To combat this, Flifli introduces "The Human Algorithm," a six-step framework derived from the 11th-century work, "The Revival of the Religious Sciences" by Imam Abu Hamid al-Ghazali. The algorithm is designed to help individuals resist the constant pull of fast, machine-driven algorithms that steal human attention. The steps include Al-Musharata (making a daily agreement to use the phone as a tool, not the other way around), Al-Muraqaba (watching oneself and staying aware of the pact), Al-Muhasaba (daily self-accounting of focus), Al-Mu'aqaba (small, corrective actions when the pact is broken), Al-Mujahada (internal struggle/hard work to build focus muscle), and Al-Mu'ataba (positive self-talk to motivate toward goals). Flifli stresses that these steps are not mere criticism but a practical protocol for transforming the user from a passive consumer into a conscious actor who controls their attention, ultimately allowing them to achieve greater things.

### The Problem of Digital Consumption

- Average daily screen time reaches 6h40m-7h globally
- This equates to 15 years of a lifetime spent scrolling, clicking, and watching
- This results in lost opportunities like unread books and unmade connections.

### The Ancient Solution

- Speaker introduces Imam Abu Hamid al-Ghazali's 11th-century work, "The Revival of the Religious Sciences," as a deep, human algorithm for self-discipline
- This framework offers a way to resist distraction prevalent in the AI age.

### The Six Steps of the Human Algorithm

- 1. Al-Musharata (Daily agreement: Use phone as a tool, not vice-versa)
- 2. Al-Muraqaba (Watch yourself: Stay aware of your pact)
- 3. Al-Muhasaba (Self-accounting: Review focus daily)
- 4. Al-Mu'aqaba (Consequence/Course Correction: Small, corrective actions)
- 5. Al-Mujahada (Internal Struggle: Do hard work, build focus muscle)
- 6. Al-Mu'ataba (Positive Self-Talk: Motivate towards goals).

### Application and Goal

- The goal is to transform from a passive consumer to a conscious user
- This involves consciously choosing to adhere to agreements, such as checking email only once an hour, rather than being dictated by external distractions.

### The Importance of Al-Mu'aqaba

- Step 4 emphasizes course correction rather than punishment when breaking an agreement
- The focus is on being aware of what you are doing, not self-criticism.

![Screenshot at 00:06: Title slide for the TEDx talk: "Discipline Algorithms to Control Your Focus" by Ali Flifli, PhD Student, Islamic Studies.](https://ss.rapidrecap.app/screens/G23Qm5KGS5w/00-00-06.png)
![Screenshot at 00:23: Slide posing the central question: "How much time do we spend on this every day?", featuring an image of a young man engrossed in his phone.](https://ss.rapidrecap.app/screens/G23Qm5KGS5w/00-00-23.png)
![Screenshot at 00:59: Slide quantifying the screen time issue: "6h40m-7h Daily Online World average screen time," referencing DataReportal data from 2004.](https://ss.rapidrecap.app/screens/G23Qm5KGS5w/00-00-59.png)
![Screenshot at 01:21: Slide illustrating the cost: "A Lifetime on Screen" showing 15 years lost to scrolling, clicking, and watching, resulting in lost opportunities.](https://ss.rapidrecap.app/screens/G23Qm5KGS5w/00-01-21.png)
![Screenshot at 02:04: Slide titled "The Cost of Distraction" listing Wasted Time, Diminished Focus, and Weakened Connections.](https://ss.rapidrecap.app/screens/G23Qm5KGS5w/00-02-04.png)
![Screenshot at 03:12: Slide introducing the solution: "An Ancient Solution" from Imam Abu Hamid al-Ghazali's "The Revival of the Religious Sciences" \(11th Century\).](https://ss.rapidrecap.app/screens/G23Qm5KGS5w/00-03-12.png)
![Screenshot at 06:37: Slide displaying the full "The Human Algorithm" with six steps in Arabic and English translations.](https://ss.rapidrecap.app/screens/G23Qm5KGS5w/00-06-37.png)
![Screenshot at 12:56: Final slide summarizing the call to action: "Reclaim Your Attention. Reclaim Your Life. What is your algorithm? Thank you."](https://ss.rapidrecap.app/screens/G23Qm5KGS5w/00-12-56.png)
