DEV Community

Cover image for Eliminating Obesity One Netflix Binge at a Time
Saloni Goyal
Saloni Goyal

Posted on

Eliminating Obesity One Netflix Binge at a Time

Ronan Byrne, an electrical engineering student in Dublin, Ireland, enjoyed watching Netflix, but he also knew that he should exercise more often than he did.

Putting his engineering skills to use, Byrne hacked his stationary bike and connected it to his laptop and television.

Then he wrote a computer program that would allow Netflix to run only if he was cycling at a certain speed. If he slowed down for too long, whatever show he was watching would pause until he started peddling again.

He was, in the words of one fan, “eliminating obesity one Netflix binge at a time.”

Source: Atomic Habits by James Clear.

Top comments (1)

Some comments may only be visible to logged-in visitors. Sign in to view all comments.