The problem
Long study sessions meant hours in the chair.
Most break reminders have a "dismiss" button, so they get ignored. Flow is built so a break can't be skipped.
Kendric Ang
Long study sessions meant hours in the chair.
Most break reminders have a "dismiss" button, so they get ignored. Flow is built so a break can't be skipped.
The break timer only counts down while the keyboard and mouse are untouched. Touching either one pauses it, so the only way to finish a break is to get up.
This came from the first version, called Stand Up, and is still the core of Flow.
Early on, five idle minutes on the PC counted as a break and restarted the session, even during study on an iPad. Now Flow asks: "Away 7 min. Was that a break?" A keep-running mode also ignores the keyboard and mouse.
Every 30 minutes, a card asks for a minute or two of standing. The session keeps running.
Flow started as one Python file using Tkinter. Since version 0.27, its windows are web pages using pywebview. That made the design easier and makes the demo on this site possible.
Flow used about 15% of a CPU core. Most of it came from the animated tray icon: the library saved each frame to a file and read it back. Building the icon in memory with CreateIconFromResourceEx fixed it.
Windows sometimes opened off-screen and never moved into place. A test that logged where each window first appeared found the cause. Now every window is placed before it's shown.
In keep-running mode, sleep time counted as work. So opening the laptop in the morning started a break right away. Now a long sleep starts a fresh session.
Flow is in daily use. It has focus sessions, stand-up reminders, a break screen on every monitor, water tracking, weekly stats, and ten colour themes. Automated tests run the real app with fake idle time.