What's been happening with SleepyHead. A progress report.
What's been happening with SleepyHead. A progress report.
Hi,
I thought I'd give a little progress report, as I've been quiet the past few days around here. I didn't want to post in the other thread because I'm trying to keep that for release notices. I'll keep this one for the boring stuff.
I am in the process of migrating the graph drawing bits to OpenGL, which allows the use your computers video chip to assist with drawing. (Rather than the GPU sitting idle while your CPU chokes under load)
(I'm deliberately trying to avoid using any fancy features, so this should still work on older PC's.)
The actual graphs themselves are now done. I can proudly report they are now very snappy, and all can fully link together without me having to worry about performance. Transparencies are now a standard feature.
The cool thing about this is, I haven't even really begun to speed (or pretty) things up yet. I now have plenty room to move with this graphics system.
I've still got to tackle a couple of problems with the font/text drawing on windows and mac platform. (OpenGL doesn't actually know what text is.. It works by drawing primitive shapes very very fast.)
Troy's is busy hacking away at a ResMed S9 loader (and other cool stuff) in his available time.. He's working away in the pre-OpenGL branch until I finish writing the last of the Mac specific GL stuff. I'm sure he'll post some progress report here sooner or later..
BreatheJimbo has been helping with building and testing my OpenGL work on Mac.. (which is great, because I don't have one to test stuff on) And he doesn't even have his S9 machine supported yet.. Thanks Jimbo! Your hard work is appreciated too!
When my OpenGL work is done, and Troy's Resmed stuff is done, and we have merged our work again, this will become the start of 0.8 (the final alpha) branch.. It's the 8th major code-base change this little projects been under since I started hacking with Python nearly 4 months ago..
Incidentally, this is the time I've been on CPAP.. 4 months ago, I was flattened daily just by getting out of bed, and couldn't concentrate on anything. I still feel like a zombie, but at least now I'm functional..
Well.. That be it.. Keep watching the release thread.. The next little alpha-release you see will (hopefully) be very good.
/Mark W
I thought I'd give a little progress report, as I've been quiet the past few days around here. I didn't want to post in the other thread because I'm trying to keep that for release notices. I'll keep this one for the boring stuff.
I am in the process of migrating the graph drawing bits to OpenGL, which allows the use your computers video chip to assist with drawing. (Rather than the GPU sitting idle while your CPU chokes under load)
(I'm deliberately trying to avoid using any fancy features, so this should still work on older PC's.)
The actual graphs themselves are now done. I can proudly report they are now very snappy, and all can fully link together without me having to worry about performance. Transparencies are now a standard feature.
The cool thing about this is, I haven't even really begun to speed (or pretty) things up yet. I now have plenty room to move with this graphics system.
I've still got to tackle a couple of problems with the font/text drawing on windows and mac platform. (OpenGL doesn't actually know what text is.. It works by drawing primitive shapes very very fast.)
Troy's is busy hacking away at a ResMed S9 loader (and other cool stuff) in his available time.. He's working away in the pre-OpenGL branch until I finish writing the last of the Mac specific GL stuff. I'm sure he'll post some progress report here sooner or later..
BreatheJimbo has been helping with building and testing my OpenGL work on Mac.. (which is great, because I don't have one to test stuff on) And he doesn't even have his S9 machine supported yet.. Thanks Jimbo! Your hard work is appreciated too!
When my OpenGL work is done, and Troy's Resmed stuff is done, and we have merged our work again, this will become the start of 0.8 (the final alpha) branch.. It's the 8th major code-base change this little projects been under since I started hacking with Python nearly 4 months ago..
Incidentally, this is the time I've been on CPAP.. 4 months ago, I was flattened daily just by getting out of bed, and couldn't concentrate on anything. I still feel like a zombie, but at least now I'm functional..
Well.. That be it.. Keep watching the release thread.. The next little alpha-release you see will (hopefully) be very good.
/Mark W
_________________
Machine: ResMed AirSense™ 10 AutoSet™ CPAP Machine with HumidAir™ Heated Humidifier |
Mask: Swift™ FX Nasal Pillow CPAP Mask with Headgear |
Humidifier: S9™ Series H5i™ Heated Humidifier with Climate Control |
Additional Comments: CMS50D+/F Oximeter, S9 VPAP Auto/Adapt, PRS1 Auto, Intellipap Auto, SleepyHead :) |
Author of the free, cross platform, open-source sleep tracking software SleepyHead.
Download http://sleepyhead.jedimark.net
Source Code http://gitlab.com/sleepyhead/sleepyhead-code
Download http://sleepyhead.jedimark.net
Source Code http://gitlab.com/sleepyhead/sleepyhead-code
- deerslayer
- Posts: 1195
- Joined: Tue Dec 11, 2007 10:46 am
- Location: Mid Tn
Re: What's been happening with SleepyHead. A progress report.
Mark, y'all are Fantastic ! ..Big Thumbs up for your efforts !!!!
RESMED AUTOSET 11/ P 10 NASAL PILLOWS /straight cpap 11.50/ AHI 1.0 per hr
Feeling Blessed & firmly believe in The Holy Trinity
Feeling Blessed & firmly believe in The Holy Trinity
Re: What's been happening with SleepyHead. A progress report.
Mark,
You, Troy, and BreatheJimbo are doing a wonderful thing for all of us. It's great that in four little months of being on CPAP you've gone from "zombiehood" to writing a pretty damn nice piece of software that's remarkably stable for alphaware. Congrats to all three of you.
@deerslayer: A big two thumbs up on your signature! The Patriot Guard is active here in WNY and has had far too many funerals to go to. The respect they show to our fallen WNY troops is phenomenal and greatly appreciated.
You, Troy, and BreatheJimbo are doing a wonderful thing for all of us. It's great that in four little months of being on CPAP you've gone from "zombiehood" to writing a pretty damn nice piece of software that's remarkably stable for alphaware. Congrats to all three of you.
@deerslayer: A big two thumbs up on your signature! The Patriot Guard is active here in WNY and has had far too many funerals to go to. The respect they show to our fallen WNY troops is phenomenal and greatly appreciated.
_________________
Machine: DreamStation BiPAP® Auto Machine |
Mask: Swift™ FX Nasal Pillow CPAP Mask with Headgear |
Additional Comments: PR System DreamStation and Humidifier. Max IPAP = 9, Min EPAP=4, Rise time setting = 3, minPS = 3, maxPS=5 |
- deerslayer
- Posts: 1195
- Joined: Tue Dec 11, 2007 10:46 am
- Location: Mid Tn
Re: What's been happening with SleepyHead. A progress report.
TY robysue ! i don't mean to hijack this thread but am still pumped from yesterdays circus
http://www.tennessean.com/article/20110 ... CFRONTPAGE
http://www.tennessean.com/article/20110 ... CFRONTPAGE
RESMED AUTOSET 11/ P 10 NASAL PILLOWS /straight cpap 11.50/ AHI 1.0 per hr
Feeling Blessed & firmly believe in The Holy Trinity
Feeling Blessed & firmly believe in The Holy Trinity
Re: What's been happening with SleepyHead. A progress report.
Thanks for your update. As an old Perl hacker, I'm in awe of what you guys have done in such a short amount of time. Congrats and best wishes to you all.
@deerslayer, as a USN vet (1963-1967) I've followed The Patriot Guard's actions with pride and a feeling of humble thanks.
@deerslayer, as a USN vet (1963-1967) I've followed The Patriot Guard's actions with pride and a feeling of humble thanks.
_________________
Mask: Swift™ FX Nasal Pillow CPAP Mask with Headgear |
Humidifier: S9™ Series H5i™ Heated Humidifier with Climate Control |
Additional Comments: Gear: PapCap |
"All that is very well," answered Candide; "but let us cultivate our garden."
Voltaire, Candide, last line.
Voltaire, Candide, last line.
Re: What's been happening with SleepyHead. A progress report.
Yes, thanks very much guys for you BIG work in this project. I feel we will finish with a software far away better than the proprietary ones Very nice
_________________
Humidifier: S9™ Series H5i™ Heated Humidifier with Climate Control |
Additional Comments: Headrest not modified, Hose Lift System, SleepyHead software. Pressure settings 7 cmH2O constant. |
- tschultz
- Posts: 257
- Joined: Sun Dec 19, 2010 9:36 pm
- Location: Moncton, NB, Canada, Earth, Milky Way Galaxy
Re: What's been happening with SleepyHead. A progress report.
I thought I would let everyone know I am making good progress with the ResMed data handling for the S9. I am currently able to read all the necessary files for daily summary as well as detailed waveform data, although the event handling still needs a bit of work. There are still a few technical details to work out integrating things into what Mark did for the Respironics data and I am sure once things are merged we will make some further changes based on what's best for the combined data formats as well as possible other machine support.
The support for the ResMed data should handle machines other than the S9 providing that the data card can be read using standard file system libraries (if you can open it with a file browser and see the directory) but will need more files for testing and tweaking as things go on. I had posted another thread on the weekend requesting volunteers with data files that they may be willing to share for testing purposes.
viewtopic/t64993/SleepyHead--ResMed-dat ... quest.html
As Mark pointed out there are some other features that will be added, making this much more than simply an xPAP data viewer but first things first - I need to get the ResMed data handling integrated into SleepyHead. Before long we still need to determine the best name before things go too far and everyone knows it as SleepHead. There are still some days that I think "foggy" may be a good name but that's more how I feel after staying up too late or not getting a good quality sleep however I digress from the original purpose of this update.
I for one can't wait to be free of ResScan .. I don't like being tied to their rather strict control over the data card as I like to archive my raw data and have files going back to my first few weeks on my CPAP trial. More importantly I want to run natively on my Mac, which is my main machine used daily.
The support for the ResMed data should handle machines other than the S9 providing that the data card can be read using standard file system libraries (if you can open it with a file browser and see the directory) but will need more files for testing and tweaking as things go on. I had posted another thread on the weekend requesting volunteers with data files that they may be willing to share for testing purposes.
viewtopic/t64993/SleepyHead--ResMed-dat ... quest.html
As Mark pointed out there are some other features that will be added, making this much more than simply an xPAP data viewer but first things first - I need to get the ResMed data handling integrated into SleepyHead. Before long we still need to determine the best name before things go too far and everyone knows it as SleepHead. There are still some days that I think "foggy" may be a good name but that's more how I feel after staying up too late or not getting a good quality sleep however I digress from the original purpose of this update.
I for one can't wait to be free of ResScan .. I don't like being tied to their rather strict control over the data card as I like to archive my raw data and have files going back to my first few weeks on my CPAP trial. More importantly I want to run natively on my Mac, which is my main machine used daily.
_________________
Humidifier: S9™ Series H5i™ Heated Humidifier with Climate Control |
Additional Comments: Currenlty using Auto 15-20, EPR 1 with medium response; 95% pressure is 16.8 |
Adjusting to life with OSA and being pressurized each night ...
- deerslayer
- Posts: 1195
- Joined: Tue Dec 11, 2007 10:46 am
- Location: Mid Tn
Re: What's been happening with SleepyHead. A progress report.
(clearing throat sound)....DREAM WEAVER is a cool sounding name for it
RESMED AUTOSET 11/ P 10 NASAL PILLOWS /straight cpap 11.50/ AHI 1.0 per hr
Feeling Blessed & firmly believe in The Holy Trinity
Feeling Blessed & firmly believe in The Holy Trinity
Re: What's been happening with SleepyHead. A progress report.
That would be an awesome name, unfortunately it's also used by some (very crappy) web development softwaredeerslayer wrote:(clearing throat sound)....DREAM WEAVER is a cool sounding name for it
There's a thread a name request somewhere around here.. (One of tSchultz posts)
We'd love to see a fresh stream of late entries right about now..
Not that there isn't some good stuff there already..
We'll have to do the name event before resmed and openGL stuff becomes live.. eg. Very very soon would be good.
I just tracked down the cause of the last of the OpenGL errors on the windows platform.. After I fix this, I've got a little bit of Mac specific GL code left to write.. then the OpenGL port is finally done!
[EDIT: I just NAILED the last of the opengl font problems.. wahoo!]
_________________
Machine: ResMed AirSense™ 10 AutoSet™ CPAP Machine with HumidAir™ Heated Humidifier |
Mask: Swift™ FX Nasal Pillow CPAP Mask with Headgear |
Humidifier: S9™ Series H5i™ Heated Humidifier with Climate Control |
Additional Comments: CMS50D+/F Oximeter, S9 VPAP Auto/Adapt, PRS1 Auto, Intellipap Auto, SleepyHead :) |
Author of the free, cross platform, open-source sleep tracking software SleepyHead.
Download http://sleepyhead.jedimark.net
Source Code http://gitlab.com/sleepyhead/sleepyhead-code
Download http://sleepyhead.jedimark.net
Source Code http://gitlab.com/sleepyhead/sleepyhead-code
- deerslayer
- Posts: 1195
- Joined: Tue Dec 11, 2007 10:46 am
- Location: Mid Tn
Re: What's been happening with SleepyHead. A progress report.
Congrats !! Glasses high *
RESMED AUTOSET 11/ P 10 NASAL PILLOWS /straight cpap 11.50/ AHI 1.0 per hr
Feeling Blessed & firmly believe in The Holy Trinity
Feeling Blessed & firmly believe in The Holy Trinity
- Breathe Jimbo
- Posts: 954
- Joined: Sun Sep 12, 2010 3:02 pm
- Location: Pasadena, CA
Re: What's been happening with SleepyHead. A progress report.
If you don't stay with SleepyHead (which I think is a great name), how about, "Groggy"?
_________________
Humidifier: S9™ Series H5i™ Heated Humidifier with Climate Control |
Additional Comments: Since 9/9/10; 13 cm; ResScan 3.16; SleepyHead 0.9; PapCap |
Re: What's been happening with SleepyHead. A progress report.
This answers my question on the other thread. Sounds like y'all are doing very well. I'm still too buried and scattered to do any programming, but let me know if you need a beta tester who knows what to look for. If you're still in alpha when my fog clears a little more, I'd do that too.
I'm really glad someone is doing this. EDF Browser isn't specific enough, and no app written for the mushroom compliance culture could be as good for our purposes as software written by and for fully participating end users. Though our paths intersect with the sleep doctors, RT's and insurance gnomes, we're coming from and going to very different places.
I'm really glad someone is doing this. EDF Browser isn't specific enough, and no app written for the mushroom compliance culture could be as good for our purposes as software written by and for fully participating end users. Though our paths intersect with the sleep doctors, RT's and insurance gnomes, we're coming from and going to very different places.
_________________
Mask: Quattro™ FX Full Face CPAP Mask with Headgear |
Humidifier: S9™ Series H5i™ Heated Humidifier with Climate Control |
Additional Comments: Software: SleepyHead 0.9 beta |
Download Sleepyhead here: https://sourceforge.net/projects/sleepyhead/
Re: What's been happening with SleepyHead. A progress report.
Compiled and installed this afternoon on 10.6.7
Looks good. Throws a few errors that ignore unless you want me to start logging. Nice alpha.
Looks good. Throws a few errors that ignore unless you want me to start logging. Nice alpha.
Re: What's been happening with SleepyHead. A progress report.
webguy wrote:Compiled and installed this afternoon on 10.6.7
Looks good. Throws a few errors that ignore unless you want me to start logging. Nice alpha.
Which version? (I mean git or source code from the outdated tar)?
_________________
Machine: ResMed AirSense™ 10 AutoSet™ CPAP Machine with HumidAir™ Heated Humidifier |
Mask: Swift™ FX Nasal Pillow CPAP Mask with Headgear |
Humidifier: S9™ Series H5i™ Heated Humidifier with Climate Control |
Additional Comments: CMS50D+/F Oximeter, S9 VPAP Auto/Adapt, PRS1 Auto, Intellipap Auto, SleepyHead :) |
Author of the free, cross platform, open-source sleep tracking software SleepyHead.
Download http://sleepyhead.jedimark.net
Source Code http://gitlab.com/sleepyhead/sleepyhead-code
Download http://sleepyhead.jedimark.net
Source Code http://gitlab.com/sleepyhead/sleepyhead-code
Re: What's been happening with SleepyHead. A progress report.
OpenGL Port has been completed. Hurrah! Featuring Anti-aliasing & Transparencies..
I locked the Event Flags graph (the top one).. It doesn't zoom any more.. Instead it's works as master control, and shows a shadow over your selected area (like I did in my original python version)
You can drag the shadow around with the right mouse button. You can select a range by dragging with the left button, or just click on an event to center the shadow around it. All the other (related) graphs move/link with the shadow.
Haven't built yet for mac, but I modernised and negated the need to for the custom code, so it should work now, as mac's tend to have decent graphics chips.
wxWidgets is a bit of a pig to build properly on a mac, as poor Jimbo has discovered.
It runs rather well on the crummiest PC I own, an older acer notebook with WinXP, a SIS graphics chip and an AMD Turion processor, so there's an idea of the basics required to run it.
It will run even nicer on a machine with NVIDIA/ATI (and probably Intel) graphics chips of course..
Unfortunately there is a Windows 7/Vista desktop compositing scroll bug in wxWidgets at the moment, and currently requires this windows feature to be turned off in the applications launcher settings.
Turning it off does have the added bonus of making the app run faster.
No alpha preview release yet.. Giving Troy a chance to finish his ResMed loader.. I'm gonna go do some serious bug hunting in the meantime..
If you want a sneak peak, you've got to build it from GIT source code. (Resmed stuff is not in GIT yet though, so don't bother just yet if your only looking to try that out)
Linux users will find building from source a lot easier than everyone else.. If you use Linux (or are a Mac/Windows guru and have a working GCC compiler), please come help us test it.
I locked the Event Flags graph (the top one).. It doesn't zoom any more.. Instead it's works as master control, and shows a shadow over your selected area (like I did in my original python version)
You can drag the shadow around with the right mouse button. You can select a range by dragging with the left button, or just click on an event to center the shadow around it. All the other (related) graphs move/link with the shadow.
Haven't built yet for mac, but I modernised and negated the need to for the custom code, so it should work now, as mac's tend to have decent graphics chips.
wxWidgets is a bit of a pig to build properly on a mac, as poor Jimbo has discovered.
It runs rather well on the crummiest PC I own, an older acer notebook with WinXP, a SIS graphics chip and an AMD Turion processor, so there's an idea of the basics required to run it.
It will run even nicer on a machine with NVIDIA/ATI (and probably Intel) graphics chips of course..
Unfortunately there is a Windows 7/Vista desktop compositing scroll bug in wxWidgets at the moment, and currently requires this windows feature to be turned off in the applications launcher settings.
Turning it off does have the added bonus of making the app run faster.
No alpha preview release yet.. Giving Troy a chance to finish his ResMed loader.. I'm gonna go do some serious bug hunting in the meantime..
If you want a sneak peak, you've got to build it from GIT source code. (Resmed stuff is not in GIT yet though, so don't bother just yet if your only looking to try that out)
Linux users will find building from source a lot easier than everyone else.. If you use Linux (or are a Mac/Windows guru and have a working GCC compiler), please come help us test it.
_________________
Machine: ResMed AirSense™ 10 AutoSet™ CPAP Machine with HumidAir™ Heated Humidifier |
Mask: Swift™ FX Nasal Pillow CPAP Mask with Headgear |
Humidifier: S9™ Series H5i™ Heated Humidifier with Climate Control |
Additional Comments: CMS50D+/F Oximeter, S9 VPAP Auto/Adapt, PRS1 Auto, Intellipap Auto, SleepyHead :) |
Author of the free, cross platform, open-source sleep tracking software SleepyHead.
Download http://sleepyhead.jedimark.net
Source Code http://gitlab.com/sleepyhead/sleepyhead-code
Download http://sleepyhead.jedimark.net
Source Code http://gitlab.com/sleepyhead/sleepyhead-code