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

30th
Nov 2015
Ben West
@bewest
Nov 30 2015 00:33
fun with multiple receivers:
blob
Jason Calabrese
@jasoncalabrese
Nov 30 2015 01:06
3 receivers? Would be nice to find a way to prioritize them, right now that screws up deltas, ar2, etc
Nice, could you do ble the same way? That would make a nice package.
John Males
@johnmales
Nov 30 2015 01:58
I think there are combined wifi Bluetooth adapters so in theory you could.
diabeticgonewild
@diabeticgonewild
Nov 30 2015 04:27
I'm super annoyed that the one function I need to get working doesn't even work in 32 bit in OpenBUGS (It probably would work in WinBUGS but it's hard to configure). So right now I am working on an Ubuntu machine in 64 bit installing interdependencies for PyMC to work...
Then I have to basically reprogram my work in PyMC, but then I should be good to go, pending tests!
Give me a week...
diabeticgonewild
@diabeticgonewild
Nov 30 2015 04:36
PyMC is an extension of the Python programming language, so it's a better option, I guess.
It's PyMC (this: https://pymc-devs.github.io/pymc/ ) versus OpenBUGS (which is a joke, hasn't been updated in years)
diabeticgonewild
@diabeticgonewild
Nov 30 2015 04:43
If I get desperate I may try running my program in WinBUGS...
diabeticgonewild
@diabeticgonewild
Nov 30 2015 04:57
Like you guys have no idea how annoying it is to have it all pretty much programmed in, but not working cause of somebody else's screw up...and then having to start over on the programming...
...and wanting it so badly.
Scott Leibrand
@scottleibrand
Nov 30 2015 05:00
This is why we build small proofs of concept first, then iterate and debug. A large fragile system that can't be debugged until it's complete is prone to much more expensive failures than one where you can test and iterate along the way.
diabeticgonewild
@diabeticgonewild
Nov 30 2015 05:02
Well it should be fine this time cause it's in Python instead of some weird programming language called Component Pascal.
More people use PyMC than OpenBUGS or WinBUGS
This isn't really a system either: it's a process that has to be programmed.
Like it's not an actual APS: it's just solving for parameters that represent anyone with diabetes.
At least this step is not an APS...
Scott Leibrand
@scottleibrand
Nov 30 2015 05:08
Yeah. You should think about ways to test each component as you start writing it, before investing too much time on a particular approach. Goal is to determine whether the approach will work, not necessarily to get the full result.
diabeticgonewild
@diabeticgonewild
Nov 30 2015 05:12
It was one of the last steps, that didn't work
Like one of the last things that I had to program in.
Scott Leibrand
@scottleibrand
Nov 30 2015 05:14
Yeah. Not sure it's possible in this case, but often we'll try a dry run of all the steps, with as little work on each as possible, to make sure all the steps work, before fleshing out each one.
diabeticgonewild
@diabeticgonewild
Nov 30 2015 05:15
It didn't take me that long to program, and I could do it step by step without much work.
Scott Leibrand
@scottleibrand
Nov 30 2015 05:17
Ok, sounds like it wasn't a big deal in this case. Just keep that in mind when you have big projects in future that you might want to feasibility test before starting on.
diabeticgonewild
@diabeticgonewild
Nov 30 2015 05:17
K
Like all it was: a programming bug in an embedded function, specifically needed for solving one of the variables, that could not be programmed any other way
diabeticgonewild
@diabeticgonewild
Nov 30 2015 05:48
Like for PyMC, pretty much my example will look like this (see the gist) http://stackoverflow.com/questions/17904783/dynamic-ode-based-model-in-pymc with this too (the python code in there) http://glau.ca/?p=340
it's not that bad...
diabeticgonewild
@diabeticgonewild
Nov 30 2015 05:59
PyMC is now getting installed! Yay!
And PyMC is officially awesome (I'm using it right now)
diabeticgonewild
@diabeticgonewild
Nov 30 2015 06:16
And the "taste of tarmac" in your mouth, courtesy of taking opium straight...
Yes, I have a prescription for opium...
But anyway, I am using iPython notebook, which is nicer than even MATLAB, for sure
diabeticgonewild
@diabeticgonewild
Nov 30 2015 06:33
But yeah I feel the opium....I'm going to bed. Good night/morning all! I am confident that this stuff will come to a close!
Oskar Pearson
@oskarpearson
Nov 30 2015 18:48
So this looks interesting. http://wipy.io/ - it runs micropython, and will apparently run even with wireless enabled for a period of years off a battery.
It won't work with some of the code like the scipy stuff
And of course the actual radio transmission will definitely use battery a bunch
but it's pretty cool anyway :)
Ben West
@bewest
Nov 30 2015 19:58
weird, last night, I dialed in a big bolus, and it stayed at 0
canceled it, gave 0.1 and it gave it
very odd
then I told it to do the big bolus again, and it did
weird, I did suspend/resume to stop the bolus, and that doesn't seem to show up in history either
not sure anyone here wants one, but figured i’d drop the link
Ben West
@bewest
Nov 30 2015 20:02
acually, the boluswizard and suspend/resume are present
but the first bolus never made it through somehow
very odd
apparently, I had just primed it and everything
ooo, interesting, no fixed prime that time
hmm
odd
Jason Calabrese
@jasoncalabrese
Nov 30 2015 20:09
very weird, good thing the pump is under warranty...
really wish there were modern pumps we could buy and use this way
Ali Mazaheri
@amazaheri
Nov 30 2015 20:10
There are but we dont have access to them :)
Ben West
@bewest
Nov 30 2015 20:11
I've started another set of discussions with medtronic
my contact is the head of the "intensive insulin management" division
he manages the pump product I guess
when I tried mentioning this to him, his proposal was to get access to the 640 series and use the features on the pump
so will need a bit more work explaining to him why it would be problematic to do that without control
Ali Mazaheri
@amazaheri
Nov 30 2015 20:14
lol nice try Medtronics
Scott Leibrand
@scottleibrand
Nov 30 2015 20:16
@bewest Fwiw, Alejandro is also who we met with: he seems to get it, although I was disappointed not to see any follow-up from them (they didn't show at D-data).
Ali Mazaheri
@amazaheri
Nov 30 2015 20:20
@scottleibrand really liked your tweet to Big Foot!
Ben West
@bewest
Nov 30 2015 20:37
ah, just found it
Ben West
@bewest
Nov 30 2015 22:02
hehe, just saw a tesla model s float by on my pc
Lori
@LoriLori
Nov 30 2015 22:06
This message was deleted
Ben West
@bewest
Nov 30 2015 22:37
here's bare, barebones openaps vendor for g4 with share ble :-)
Jason Calabrese
@jasoncalabrese
Nov 30 2015 22:42
nice, is it staying connected, reconnecting when back in range, etc
Scott Leibrand
@scottleibrand
Nov 30 2015 23:05
does that interfere at all with the Share app talking BLE to the same receiver?
Lori
@LoriLori
Nov 30 2015 23:05
only 1 phone talking to share
or you need to repair new one
can't have 2 devices talking to share
Scott Leibrand
@scottleibrand
Nov 30 2015 23:09
ok. fortunately we have two Share receivers, and only one of them is usable with Dana's Dexcom account, so we could use the other one with OpenAPS over BLE.
since we already use a Share and a non-Share for 2h overlap periods, we can switch from the non-Share to the other Share.