Chapter 3#
Here’s the full table with all the circles for Inferno, all the terraces for Purgatorio, and all the spheres for Paradiso:
Inferno |
Limbo |
Paradiso |
---|---|---|
1st Circle - Limbo: Virtuous pagans and unbaptized infants. They suffer no physical torment but live in longing. |
1st Terrace - Pride: The prideful carry heavy stones on their backs to humble themselves. |
1st Sphere - The Moon: Souls who were inconstant in their vows, reflecting the changeability of the moon. |
2nd Circle - Lust: The lustful are buffeted by violent winds, symbolizing their uncontrolled passions. |
2nd Terrace - Envy: The envious wear cloaks of lead and have their eyes sewn shut to prevent envy. |
2nd Sphere - Mercury: Souls who pursued earthly fame and ambition over divine will. |
3rd Circle - Gluttony: The gluttonous are forced to lie in a vile slush made by icy rain, symbolizing their overindulgence. |
3rd Terrace - Wrath: The wrathful are surrounded by thick smoke that represents their anger. |
3rd Sphere - Venus: Souls who were lovers on Earth and are rewarded for their loving nature. |
4th Circle - Greed: The greedy and prodigal push heavy weights in opposite directions, symbolizing their obsession with wealth. |
4th Terrace - Sloth: The slothful are condemned to ceaseless running, reflecting their past laziness. |
4th Sphere - The Sun: Souls of the wise and learned who illuminated the world with their knowledge. |
5th Circle - Wrath: The wrathful fight each other in the muddy waters of the river Styx. The sullen are submerged beneath it. |
5th Terrace - Avarice: The greedy are forced to lie face down on the ground, reflecting their attachment to earthly things. |
5th Sphere - Mars: Souls of warriors who died for a righteous cause. |
6th Circle - Heresy: Heretics are trapped in flaming tombs for eternity. |
6th Terrace - Gluttony: The gluttonous are tormented by hunger and thirst while surrounded by food and drink they can’t consume. |
6th Sphere - Jupiter: Souls of just rulers who embodied justice on Earth. |
7th Circle - Violence: Split into three rings: (1) Violence against others (murderers), submerged in boiling blood. (2) Violence against self (suicides), turned into trees. (3) Violence against God (blasphemers), lying on burning sand under a rain of fire. |
7th Terrace - Lust: The lustful walk through flames, purging their excessive desire. |
7th Sphere - Saturn: Contemplatives who lived a life of deep meditation and prayer. |
8th Circle - Fraud: Called Malebolge (Evil Pockets), it is divided into ten ditches, each punishing a different type of fraud, from seducers and flatterers to corrupt politicians and counterfeiters. |
8th Sphere - The Fixed Stars: Souls of those who exemplified faith, hope, and love, including the Apostles and saints. |
|
9th Circle - Treachery: Divided into four zones based on the severity of betrayal: (1) Caina (betrayers of kin), (2) Antenora (betrayers of country), (3) Ptolomea (betrayers of guests), and (4) Judecca (betrayers of lords or benefactors). Satan is at the center, chewing on Judas, Brutus, and Cassius. |
9th Sphere - Primum Mobile: The movers of the heavens, the angelic order that directs the universe. |
|
10th Sphere - Empyrean: The realm of God and the angels, pure light and bliss beyond human comprehension. |
Notes on each realm:#
Inferno: The punishments grow increasingly severe as you descend, moving from sins of incontinence (lack of self-control) to violence and treachery, the worst offenses in Dante’s moral vision.
Purgatorio: The terraces of Purgatory reflect the seven deadly sins, with souls purging their sinful tendencies in a process of purification.
Paradiso: The spheres represent different virtues, with souls dwelling in spheres based on the level of divine grace they achieved in life. The closer to God, the more perfected the soul.
Show code cell source
import requests
from bs4 import BeautifulSoup
from fpdf import FPDF
from IPython.display import display, FileLink
import os
# Define the Reddit post URL
url = 'https://www.reddit.com/r/lexfridman/comments/152b7zb/why_so_many_people_dislike_yuval_noah_harary/'
# Set headers to mimic a browser request (to avoid being blocked by Reddit)
headers = {'User-Agent': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.114 Safari/537.36'}
# Fetch the page content
response = requests.get(url, headers=headers)
# Check if the request was successful
if response.status_code != 200:
raise Exception(f"Error: Unable to fetch the page (status code: {response.status_code})")
soup = BeautifulSoup(response.content, 'html.parser')
# Create a PDF object
pdf = FPDF()
pdf.set_auto_page_break(auto=True, margin=15)
pdf.add_page()
pdf.set_font("Arial", size=12)
# Extract the post title
title = soup.find('h1')
if title:
print(f"Found title: {title.get_text().strip()}")
pdf.cell(200, 10, txt=title.get_text().strip(), ln=True, align='C')
else:
print("Title not found")
pdf.cell(200, 10, txt="Title not found", ln=True, align='C')
# Try to extract the post content
content = soup.find('div', {'data-test-id': 'post-content'})
if not content:
# Try another selector (for example, paragraphs in the post)
content = soup.find_all('p')
content_text = "\n".join([para.get_text() for para in content]) if content else None
else:
content_text = content.get_text()
# Check if we found the content
if content_text:
print(f"Found content: {content_text[:100]}...") # Print first 100 characters for debugging
pdf.multi_cell(0, 10, txt=content_text)
else:
print("Content not found")
pdf.multi_cell(0, 10, txt="Content not found")
# Extract comments (divs containing class '_1qeIAgB0cPwnLhDF9XSiJM' are typically Reddit comments)
comments = soup.find_all('div', class_='_1qeIAgB0cPwnLhDF9XSiJM')
if comments:
for idx, comment in enumerate(comments, start=1):
comment_text = comment.get_text(strip=True)
print(f"Found comment {idx}: {comment_text[:100]}...") # Print first 100 chars for debugging
pdf.multi_cell(0, 10, txt=f"Comment {idx}: {comment_text}")
else:
print("No comments found.")
pdf.multi_cell(0, 10, txt="No comments found")
# Save the PDF
pdf_output = os.path.expanduser('~/Documents/Rhythm/philosophy/kitabo/ensi/pdfs/noah.pdf')
pdf.output(pdf_output)
# Display the PDF file link in Jupyter
print(f"PDF summary with comments saved as {pdf_output}")
display(FileLink(pdf_output))
Found title: Why so many people dislike Yuval Noah Harary?
Found content:
Discussion of science, technology, philosophy, history, politics, music, art, etc. Fo...
No comments found.
PDF summary with comments saved as /Users/apollo/Documents/Rhythm/philosophy/kitabo/ensi/pdfs/noah.pdf
He kinda falls in the Malcolm Gladwell bucket for me - his writing seems well researched and thought out until he starts talking about something you know about, and then everything he says is incredibly speculative, misleading, and unfounded.