Understanding the Hook Model

The Hook Model is a psychological framework developed by Nir Eyal (in his book Hooked: How to Build Habit-Forming Products) that explains how successful digital products—like Instagram, TikTok, or Duolingo—create habit-forming user behavior.

It describes a four-step cycle that companies use to form habits around their products:


🧩 1. Trigger — The Cue That Starts It All

Definition: A trigger prompts the user to take action. It can be external (comes from the environment) or internal (comes from within the user).

  • External triggers: Notifications, emails, buttons, ads — anything in the user’s environment prompting an action.
    Example: A push notification saying “You have a new message!”
  • Internal triggers: Emotional states or routines that subconsciously cue behavior.
    Example: Feeling bored → opening Instagram.

Goal: Over time, your product becomes tied to an internal trigger so that users return automatically.


⚙️ 2. Action — The Simplest Behavior in Anticipation of a Reward

Definition: The behavior a user performs in expectation of a reward.

According to behavioral psychology, users act when motivation, ability, and trigger converge.

  • Motivation: The desire to do something (e.g., curiosity, pleasure, fear of missing out).
  • Ability: How easy it is to do (fewer steps = more likely action).

Example:
Scrolling TikTok takes one swipe → low effort, instant entertainment → high likelihood of repeating.

Design principle: Make the desired action as simple and frictionless as possible.


🎁 3. Variable Reward — The Unpredictable Payoff

Definition: After the user acts, they receive a reward — but not always the same one.
Variability keeps people engaged because the outcome is unpredictable.

There are three main types of variable rewards:

  • Rewards of the Tribe: Social approval, likes, comments.
  • Rewards of the Hunt: Searching for information, deals, or resources.
  • Rewards of the Self: Personal achievement, progress, mastery.

Example:
Opening your email inbox — sometimes you get something exciting, sometimes nothing. The unpredictability is what hooks you.


🔁 4. Investment — The User Puts Something In

Definition: The user invests time, data, effort, or social capital that increases the product’s value for them and makes returning more likely.

Examples:

  • Creating a playlist on Spotify.
  • Following accounts on Twitter.
  • Saving notes in Notion.

These investments:

  • Increase personal value (the product gets better for the user).
  • Load the next trigger (e.g., more notifications or new content).

💡 The Hook Cycle in Action

Over time, these four steps create a self-reinforcing loop:

Trigger → Action → Variable Reward → Investment → (New Trigger)

As users cycle through this loop repeatedly, the product becomes part of their daily routines—a habit.


⚖️ Ethical Considerations

While the Hook Model is powerful, it must be used responsibly. Designers should:

  • Build healthy habits (e.g., fitness, learning, productivity apps).
  • Avoid exploiting addictive tendencies or manipulating vulnerable users.

Eyal himself advocates for “building habit-forming products that improve lives.”


🔍 Example: Duolingo’s Hook Model

StepExample
TriggerNotification: “Time to practice your Spanish!”
ActionOpening the app and doing a quick lesson
Variable RewardEarn XP, see streak grow, unlock a new skill
InvestmentProgressing levels, maintaining streak, adding friends

This cycle encourages daily engagement.

How do we know that there are 100 billion neurons in the human brain?

The widely cited figure of 100 billion neurons is actually an old estimate that emerged in scientific literature without a clear, rigorous source. The current, more accurate scientific estimate, derived from modern counting methods, is approximately 86 billion neurons

Origin of the 100 Billion Figure

Before modern techniques, estimating the number of neurons was challenging because brain cells are densely packed, intertwined, and mostly transparent, making them difficult to count in traditional brain slices. Early methods involved: 

  • Counting neurons in a small tissue sample and extrapolating that number to the entire brain volume. This method was inaccurate because neuron density varies widely across different brain regions (e.g., the cerebellum has a much higher density than the cerebral cortex).
  • The number of total neurons was a rough estimate, varying between 75 and 125 billion depending on the source, eventually settling on the round number of 100 billion which was widely adopted in textbooks and media. 

The Modern “Brain Soup” Method

The current best estimate of 86 billion neurons comes from the work of Brazilian neuroscientist Dr. Suzana Herculano-Houzel and her colleagues, who developed a novel and more reliable method called the isotropic fractionator

The method works by:

  1. Dissolving the cell membranes of a whole brain (or a large, dissected brain region) to create a uniform, homogeneous suspension of cell nuclei.
  2. Staining the nuclei using a specific marker (like DAPI or NeuN) that differentiates neuronal nuclei from non-neuronal cell nuclei (like glial cells).
  3. Taking small, representative samples from the “brain soup” and counting the number of stained nuclei under a microscope or using flow cytometry.
  4. Scaling up the counts from the samples to estimate the total number of neurons in the entire brain. 

This method provides a more accurate estimate because it overcomes the problem of non-uniform neuron distribution and allows for the reliable counting of cell types in the entire brain or major brain parts. Her research revealed that the average human brain contains approximately 86 billion neurons and a roughly equal number of non-neuronal cells, effectively “losing” 14 billion from the old, unverified 100 billion figure. 

https://www.quora.com/How-do-we-know-that-there-are-100-billion-neurons-in-the-human-brain

How are made hurricane?

Hurricanes, also known as tropical cyclones, form over warm ocean waters through a process that involves specific atmospheric and oceanic conditions. They are essentially large heat engines that transfer energy from the ocean to the atmosphere. 

Essential Conditions for Formation

For a hurricane to form and intensify, several conditions must be met:

  • Warm Ocean Water: The ocean water must be at least 26.5°C (79°F) and this warmth must extend at least 50 meters (165 feet) below the surface. This provides the necessary heat and moisture (fuel) for the storm.
  • Moist Air: The air from the surface to the mid-levels of the atmosphere must be moist to form storm clouds.
  • Low Wind Shear: There needs to be little change in wind speed and direction with height (low wind shear). Strong upper-level winds can tear the top of the storm apart, preventing it from organizing and growing vertically.
  • Pre-existing Weather Disturbance: Hurricanes often start as a cluster of thunderstorms or a tropical wave (an area of low pressure) that moves across the tropics.
  • Sufficient Distance from the Equator: The storm must be far enough from the equator (at least 300 miles or 5 degrees latitude) for the Earth’s rotation (the Coriolis effect) to cause it to spin. Without this effect, the air would just rise without forming a circular pattern. 

Stages of Development

The formation process typically follows these stages: 

  1. Tropical Disturbance: It begins as a disorganized area of thunderstorms with light wind circulation over warm ocean water.
  2. Tropical Depression: If conditions are favorable, the thunderstorms group together and the system develops a more defined low-pressure center. The wind speeds increase and become more organized, forming a closed circulation. It is classified as a tropical depression when sustained winds are between 23 and 38 mph (37-61 km/h).
  3. Tropical Storm: As the storm continues to gain energy from the warm water, the winds increase further. When sustained winds reach 39 to 73 mph (63-118 km/h), it becomes a tropical storm and is given a name.
  4. Hurricane: When sustained winds reach 74 mph (119 km/h) or greater, the storm is officially a hurricane. At this stage, a calm, clear center called an “eye” usually forms, surrounded by the most intense winds in the “eyewall”. 

Hurricanes weaken and eventually dissipate when they move over cooler ocean waters or make landfall, as they are cut off from their warm water fuel source.

jamaica hurricane

Jamaica was recently hit by Hurricane Melissa on October 28, 2025, one of the most powerful Atlantic hurricanes on record. The country is currently undertaking recovery operations after suffering extensive damage.
Hurricane Melissa (October 2025)

Impact: Hurricane Melissa made landfall in Jamaica on October 28 as a Category 5 storm, with sustained winds of up to 295 km/h.
Consequences: It was the strongest storm to ever hit the island, causing severe flooding, landslides, fallen trees, and power outages.
Prime Ministerial Statement: Prime Minister Andrew Holness stated that no infrastructure in the region could withstand a Category 5 hurricane.

Significant Historical Hurricanes
Jamaica has also experienced other strong hurricanes throughout its history.

Hurricane Gilbert (1988): Considered one of the most destructive and costly storms to hit the island, Gilbert caused $700 million in damage and 45 deaths.
Hurricane Charlie (1951): It was the deadliest natural disaster of the 20th century for Jamaica.
Hurricane Ivan (2004): Passing very close to the coast of Jamaica, it caused significant flooding.
Hurricane Dean (2007): A Category 4 storm that caused heavy rainfall, landslides, and flooding across the island.
Hurricane Beryl (2024): Jamaica was still recovering from its effects before the arrival of Hurricane Melissa.

https://www.nhc.noaa.gov

This script empties the Recycle Bin and displays the freed space

::https://www.youtube.com/@simonedeluca
::https://github.com/simoneFerita/cleanBasket

@echo off
:: Batch File - 2024 Release
:: This script empties the Recycle Bin and displays the freed space.

echo Emptying the Recycle Bin...
PowerShell -Command "$sizeBefore = (Get-ChildItem -Recurse -Force 'C:\$Recycle.Bin' | Measure-Object -Property Length -Sum).Sum; Clear-RecycleBin -Confirm:$false; $sizeAfter = (Get-ChildItem -Recurse -Force 'C:\$Recycle.Bin' | Measure-Object -Property Length -Sum).Sum; $spaceFreed = $sizeBefore - $sizeAfter; Write-Host 'Freed space: ' $spaceFreed 'bytes'"
echo Press Enter to exit.
pause >nul

How to reduce size of PDF to don’t waste the local space of diskHow to reduce size of PDF to don’t waste the local space of diskHow to reduce size of PDF to don’t waste the local space of disk

#https://www.youtube.com/@simonedeluca
#https://github.com/simoneFerita/compressPDF

from pdf2image import convert_from_path
import glob

def compress_pdf(input_path, output_path, quality=100):
    images = convert_from_path(input_path, dpi=quality)
    images[0].save(output_path, save_all=True, append_images=images[1:])

# Get a list of all PDF files in the current folder
pdf_files = glob.glob('*.pdf')

# Set the desired compression quality in DPI
compression_quality = 100

for file in pdf_files:
    # Set the output file name
    output_file_path = f'compressed_{file}'
    # Call the compress_pdf function for each PDF file
    compress_pdf(file, output_file_path, compression_quality)
« Older posts