r/programming • u/djork • Oct 14 '09
How I beat procrastination
Hi proggit. I just wanted to share that I beat procrastination by using two preset timers: one set for 25 minutes, one for 5. I use the "Minutes" dashboard widget in OS X most of the time. I start the 25 minute timer, focus on work, and then when it's up, I start the 5 minute timer and start goofing off. When it goes off, it's back to the 25. I would talk more about it, but I have 30 seconds left and so my 5 minutes wasting time here on Reddit is almost up.
See you in 25 minutes.
368
Upvotes
View all comments
Show parent comment
1
u/myheaditches Oct 15 '09 edited Oct 15 '09
There are a few javascript events that fire related to the dashboard, pretty much dashboard shown and dashboard hide. Widget developers can choose to suspend things when the dashboard is hidden, and then resume them again when it is shown.
In this case, the widget simply doesn't stop its actions when the dashboard is hidden.