These are chat archives for nightscout/intend-to-bolus

30th
May 2015
diabeticgonewild
@diabeticgonewild
May 30 2015 01:16
Can't get OpenBugs to compile, but I got close. I googled everywhere....so it's probably going to be WinBUGS
diabeticgonewild
@diabeticgonewild
May 30 2015 02:30
Can't get WinBUGS to compile either, even tried a 32 bit operating system....so it looks like I am staying with MATLAB
diabeticgonewild
@diabeticgonewild
May 30 2015 03:05
Like I can run the two softwares but I can't get it to run the compiler "blackbox". I tried almost everything and I am good with computers.
diabeticgonewild
@diabeticgonewild
May 30 2015 03:52
I did however find some really solid examples for applying the work into MATLAB, but I have to figure it all out on how to apply it to my work. It's in this book, chapter 4 http://www.amazon.com/Gaussian-Markov-Random-Fields-Applications/dp/1584884320 . I have enough information to hit the ground running with respect to figuring it out now, so I'm no longer "lost". Pretty much after this step, instead of using SimuLink, I'm going to integrate all of the differential equations in MATLAB using the ode15s function http://www.mathworks.com/help/matlab/ref/ode15s.html?refresh=true . I have done multiple programming projects, personal and school, that involved diffeq solvers in MATLAB so I should be good. Then I am going to apply the Metropolis-Hastings Sampling for the Markov chain Monte Carlo (but I am unsure if I can use the embedded MATLAB "solver" http://www.mathworks.com/help/stats/mhsample.html or if I have to program all of it on my own, as some of the equations--3 out of 25 or so-- have "processes" that have intermediate steps--perhaps a for loop or a while loop would suffice for that "issue" and I could "pass the current value" for those current equations that way...)...then I will be done with the first part of my project. So the end is definitely in sight.
diabeticgonewild
@diabeticgonewild
May 30 2015 04:32
This example, is pretty much what I "have to do", but in a "unique way" in MATLAB http://www.mathworks.com/examples/matlab/3543-mcmc_ode
In terms of work, that's what I "have left" for creating a "virtual patient" (step 1 of 3) in #VirtualPancreas . Step 2 builds upon step 1 and step 3 is relatively easy.
diabeticgonewild
@diabeticgonewild
May 30 2015 06:31
But yeah, feeling a little bit better after chemo yesterday. Working on an image for the VIs again.
VIs = visually impaired ... #OpenAPS really offers a promise with respect to giving them access to their devices.
Hope to be finished by early morning, so I can upload the 7.X GB file to DropBox. I will make it available for everyone. Everything is installed on it and for the WiFi it uses this dongle, which is small. Link: http://www.amazon.com/TP-LINK-TL-WN725N-Wireless-Adapter-150Mbps/dp/B008IFXQFU/ref=sr_1_1?ie=UTF8&qid=1432967632&sr=8-1&keywords=tp-link+wn725n
diabeticgonewild
@diabeticgonewild
May 30 2015 08:01
Done creating the image. Just have to upload it to Dropbox!
diabeticgonewild
@diabeticgonewild
May 30 2015 08:07
Will be uploaded (all 7.4 GB) in 40 minutes!
diabeticgonewild
@diabeticgonewild
May 30 2015 08:37
hey @bewest to use NumPy, do you need to install it in the working directories of decoding-carelink, dexcom_reader and openaps? I am asking because I intend on using python for my work, and I have a bunch of Numerical Recipes codes (a really good book ruined by IP regulation) that I can use (really strict on IP, but it happens to be published here--one example of a single program: https://code.google.com/p/nr-java/source/browse/trunk/src/com/snuggy/nr/chapter17/Output.java ) that I am going to port from Java to python via this GitHub repository https://github.com/natural/java2python
I mean, since I can't "publish" my code, I might as well use NR to my advantage
diabeticgonewild
@diabeticgonewild
May 30 2015 08:50
When I mean publish like the actual math used in my #OpenAPS directly like the code that will be used...at least not directly published
diabeticgonewild
@diabeticgonewild
May 30 2015 09:08
By the way, here's the link to the Raspberry Pi 2 image for Ubuntu with OpenAPS installed: https://www.dropbox.com/s/ru8f6vzs45rst52/Final_Image.img?dl=0 Requires the TP-Link adapter seen here: http://www.amazon.com/TP-LINK-TL-WN725N-Wireless-Adapter-150Mbps/dp/B008IFXQFU/ref=sr_1_1?ie=UTF8&qid=1432976860&sr=8-1&keywords=wn725n
to access everything do cd Documents
To connect to a broadcasted network sudo nmcli d wifi connect Your_SSID password Your_Password_Here iface wlan0
enjoy!
also to SSH in it's ubuntu@ubuntu.local
diabeticgonewild
@diabeticgonewild
May 30 2015 09:25
I meant cd ~
Sorry it's bedtime for me!
diabeticgonewild
@diabeticgonewild
May 30 2015 12:16
password is also ubuntu
that should be it