jedimark wrote:Find folder, as in before or after you click ok? Import is very slow now.. It also does a lot more nifty indexing stuff for later on.. If it's taking a while before the folder select box comes up it may be a missing DLL.. I'll see if I can dig out what it's looking for..
I click file>import data, and the title bar and outline of the dialog box come right up, but the center of the dialog remains transparent for about six seconds. Call the dialog up again, and the same thing happens. 0.8.1 was the same way, but I didn't mention it because I knew you were making major changes.
I forgot to mention Preferences "Sessions" tab now works..
I like the longest gap idea... a little tricky to visualize how to accomplish that though.. (technically I could extend the Combine scale a bit longer and I think it will achieve a similar goal, although I think your referring to not using the split time at all.. hmmm.. I'll have a think on that one)
24 hour days with a single main chunk of sleep are part of sleepyheads design, and it's not easy to have a calendar model and split strange ways.. I myself don't keep a normal 24 hour day myself, and nap alot, but SH has been behaving well for me. Most people sleep somewhere between 12pm and 12am (I know that sounds silly, but I mean the whole sleep "window" falls between these times) My wife works in admin at the local ER and has 3 different shift times, so I'm not sure how well someone like her would be catered for..
Here's a set of rules for the option I'm thinking of.
_Each machine session gets assigned to a calendar day. Sessions are never split (except maybe for extremely long sessions with near 24/7 usage).
_The longest waking (or at least not hosing) period in 24 hours determines the date split.
_For determining the waking period only, optionally ignore naps less than a user-selected length and isolated by a selected number of hours from other machine sessions.
This will need a combine setting too so turning off the machine for a moment to refit the mask doesn't turn your half hour nap into something more than it is. I'm not sure that really needs to be a slider, though. Maybe just for people who are geek enough to select "show advanced options". Perhaps this entire dialog should have a simplified version with defaults that will work for most.
_The waking period attaches to whichever side of the user selected split time most of its hours fall in.
_All sleep sessions between main waking periods are assigned to date of the previous or following waking period, according to user preference.
_User settings determine what to do with naps that were ignored above.
_When new data is loaded, all sessions for 48 hours on either side are re-evalutated to see if they're still on the right day. If something gets moved, expand the area of evaluation recursively until everything is in the right place. It's possible this shift could go back several days, but I doubt that would happen very often.
This plan has a lot of settings to fuss with, but once it's set up, I think it would present data coherently for someone who does not have a regular schedule. Most people will sleep in a particular window most of the time, but for folks with circadian disorders or people like your wife who have bizarre shifts, a fixed window makes it harder to interpret the data.
I think the expanded combine slider would be pretty good. Start taking notes, and the fixed window might get to be more of a hassle. Add a way for users to quantify aspects of their day (sleepiness, alertness, mood, fog, etc), and try to graph the resulting numbers alongside sleep stats, and things start to get very messy for someone who doesn't stay in a fixed window.
In case you haven't run across non-24-hour circadian rhythm disorder before, here's why I would really like to see SleepyHead have something like the above option.
http://en.wikipedia.org/wiki/Non-24-hou ... e_syndrome
Thanks for noticing memory use.. Qt is a big fat hog, but at least I know I'm not being one too. SH no longer has to convert the data to a different data format to display in the graphs.. Plus it doesn't waste an event record for every event.. I grouped each sessions events together by type, and saved a lot of space doing this.
The previous version was Hogzilla, but it was also a pre-alpha. If anything with that designation runs at all, that's good. If it's actually useful, that's
outstanding. I was pretty sure you weren't the sort to actually release a monster pig, but I'm impressed at how much leaner 0.8.2 is.
On the version numbers, yeah, 0.9. But you're running out of numbers and still making major changes, so I don't blame you for keeping this 0.8.x. It'd be nice to have all the basics set by 0.9.0.
I just noticed a new bug while playing with the split and slider settings: some days don't have the time below the event flags chart. Two days seem never to display the time, and two more display it sometimes. Restarting doesn't fix this, but it does sometimes change whether the intermittently broken days display the time or not.