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

6th
May 2015
diabeticgonewild
@diabeticgonewild
May 06 2015 00:23
Realized I am doing chemo on my birthday but at least I won't be puking or losing hair but it still sucks...may 27
Matthias Granberry
@mgranberry
May 06 2015 00:25
This message was deleted
Darrell Wright
@beached
May 06 2015 00:58
I've been very lucky, 33rd year of diabetes and eyes are still good. No glasses even
Ben West
@bewest
May 06 2015 00:58
wonder if @HellHarvest is in here
diabeticgonewild
@diabeticgonewild
May 06 2015 00:59
I would agree. My garbage is actually not diabetes-related
diabeticgonewild
@diabeticgonewild
May 06 2015 01:42
Actually a lot of my problems were blamed on my diabetes, irrespective of "control". Like I was "diagnosed" with "diabetes-related autonomic neuropathy" at age 18 and at age 22 I was in and out of the hospital for it and they got desperate and Google gets credit on this one but like my "autonomic neuropathy" started when I was diagnosed with D at age 5 and it never completely added up but I was googling on my phone during an ER visit because I knew my garbage was too extreme for diabetes with everything going on and factored in at that point of time and like I came across autoimmune autonomic ganglionopathy and I was like "WTF is this?!" and I literally sent out a couple of texts to my friends saying that I really could have this...long story short a couple of weeks later cause everyone was desperate, endocrine sent my blood to a lab that could test for it and it came back with high levels of the antibody responsible for that disease
Like FYI when you go from pediatric to adult endocrine care, they tend to look at diabetes complications as a long-term type of thing...and not "what you did" and it's not as much of a "numbers game" as pediatric endocrinology plays it off to be...it may be a brutal reality but it's true. When your kid gets handed off to adult care they will have to face that harrowing reality too.
I think a lot of T1D adults who grew up with diabetes would agree with me about adult care
Like it's pretty brutal being 18, being diagnosed with like severe autonomic neuropathy, and going to school full time just to keep health insurance, and at times, juggling around a job where you work 15-20 hours a week on top of all of your medical problems
diabeticgonewild
@diabeticgonewild
May 06 2015 01:52
So yeah they were like "j/k your autonomic neuropathy was not diabetes-related after all" and I don't have any "other" diabetes complications, so I am clear from that standpoint
diabeticgonewild
@diabeticgonewild
May 06 2015 02:00
Like there's this dude in my city that's a neurologist that's like world renowned for his research in neuropathies, and he focuses on diabetic neuropathies, and I saw him like 6 months before I was diagnosed with that garbage, but he wrote up that my pupils of my eyes would prematurely redilate when exposed to light (jacked up pupillary reflex that's unique to my disease--only) and he wrote that up in a report for endocrine and like he was capable of diagnosing my disease but he "missed it". Like endocrine "knew I had" that freaky rare autoimmune disease from the report he wrote from like examining me...how nice...before the antibody test even came back. Like I had to confront them about the issue and I asked a loaded question and just asked endocrine "are you sure this stuff isn't autoimmune" and apparently they searched on pubmed and came across the same garbage as me and like the pupil crap. Like my eyes are pretty dilated all of the time and that's pretty much what distinguishes it from diabetes-related garbage in the most apparent way.
Nathan Racklyeft
@loudnate
May 06 2015 02:08
Saw this topic mentioned by @bewest. Are these room names specific to repositories? Looks like not. Glad Slack is making IRC-like clients cool again.
Ben West
@bewest
May 06 2015 02:08
-ish
I'm on irc
I still prefer irc I think
gitter has a thing to make repos associated with chat rooms
diabeticgonewild
@diabeticgonewild
May 06 2015 02:08
I stay off of reddit-diabetes, the guy that hosts it is a jerk
Ben West
@bewest
May 06 2015 02:08
but also a way to make random chats
Nathan Racklyeft
@loudnate
May 06 2015 02:09
Sorry to hear about your difficulties @diabeticgonewild. Hang in there. I'm on IVIG as well.
I can't stay long. @bewest I'd like to connect about moving forward decocare unit tests
diabeticgonewild
@diabeticgonewild
May 06 2015 02:09
yeah, my nerves definitely like IVIg but on top of it I am starting rituximab in like a couple of weeks
Ben West
@bewest
May 06 2015 02:09
yeah, wanted to chat about that too
with the model stuff differentiating between models, now is great time to start re-orging
making simpler, more reliable tests, and hopefully organized in such a way as to drive good doc generation
but thoughts welcome
the bg targets are different on 523 and 522
Nathan Racklyeft
@loudnate
May 06 2015 02:11
Shall we open a bug and discuss there?
Ben West
@bewest
May 06 2015 02:11
I think I got it updated, but not sure
yeah, sounds good
Nathan Racklyeft
@loudnate
May 06 2015 02:11
Take care folks
diabeticgonewild
@diabeticgonewild
May 06 2015 02:11
take care
Nathan Racklyeft
@loudnate
May 06 2015 02:14
Oh and @bewest I was amazed looking at records.times today. Crazy that they store the month across byte boundaries. Astonished and awed that you figured it out.
Ben West
@bewest
May 06 2015 02:26
haha, my dad got that
we just lined up bunch of records we knew.... we identified suspend/resume from some experiments
and then just watched the numbers rotate over subsequent records
diabeticgonewild
@diabeticgonewild
May 06 2015 02:27
that's crazy
They do some weird stuff with CareLink records
Ben West
@bewest
May 06 2015 02:28
they export to csv, which means nested data structures are hard
so they duplicate records with fake times
diabeticgonewild
@diabeticgonewild
May 06 2015 02:31
yeah there are a couple of crazy cells in there
I did get it to read nicely into MATLAB
Ben West
@bewest
May 06 2015 02:31
I mean extra rows
rows that don't correspond to things in pump memory
probably for redundancy?
that project is not complete btw, I just have to bin the data across the y-axis to get the AGP...
Ben West
@bewest
May 06 2015 02:33
no, in pump memory it's hierarchical data structure, so they create extra columns and duplicate rows with only select columns
to flatten it out
diabeticgonewild
@diabeticgonewild
May 06 2015 02:34
oh cause it's aggregate information
Ben West
@bewest
May 06 2015 02:34
lot of the rows in exact same time in csv are not really in pump memory as individual records
they are actually fields of previous owning record
Matthias Granberry
@mgranberry
May 06 2015 02:35
I bet that made decoding it fun
diabeticgonewild
@diabeticgonewild
May 06 2015 02:35
yeah but it's like a dog trying to leave a yard...they go at it all day trying to find a way out
Matthias Granberry
@mgranberry
May 06 2015 02:36
Tandem was nice enough to give a linear log with timestamps and fixed record lengths.
lol
diabeticgonewild
@diabeticgonewild
May 06 2015 02:38
This is pretty much what I have to do to get the AGP working in MATLAB http://blogs.mathworks.com/videos/2009/01/07/binning-data-in-matlab/
it can be ported
Matthias Granberry
@mgranberry
May 06 2015 02:38
can you not use modular arithmetic to make a quick job of it?
diabeticgonewild
@diabeticgonewild
May 06 2015 02:39
but I need to stop feeling crappy
what do you mean by modular arithmetic like += and stuff?
Ben West
@bewest
May 06 2015 02:39
modular like 5 % 2 == 1?
Matthias Granberry
@mgranberry
May 06 2015 02:39
remainders
diabeticgonewild
@diabeticgonewild
May 06 2015 02:39
oh duh
like applied like how?
you mean modulus
I think
Ben West
@bewest
May 06 2015 02:40
yuppers
you can step over bin size that way
figure out what bin size is, in a variable
Matthias Granberry
@mgranberry
May 06 2015 02:41
I'm a little hypo at the moment, so probably not making it clear, but you can do binning easily that way
Ben West
@bewest
May 06 2015 02:41
then you can loop over that size using modulus
Matthias Granberry
@mgranberry
May 06 2015 02:41
as long as you can deal with fixed-size bins
diabeticgonewild
@diabeticgonewild
May 06 2015 02:42
well, it doesn't really matter all that much cause it can all be ported to C/C++ natively in MATLAB because toolboxes and the MATLAB extension Simulink is not being used for this stuff
Ben West
@bewest
May 06 2015 02:42
you track your current "index" into the bins and modulus size of bin times index mod total length
diabeticgonewild
@diabeticgonewild
May 06 2015 02:42
interesting concept
wouldn't the fixed-sized bins present a problem if there weren't enough data points?
Ben West
@bewest
May 06 2015 02:44
you prep your data with enough nulls or whatever
Matthias Granberry
@mgranberry
May 06 2015 02:44
yes. That's where it breaks down
diabeticgonewild
@diabeticgonewild
May 06 2015 02:44
of course this is using the MM CGM, which I used for awhile...piece of junk.
But I think I have a copy of a Dexcom version somewhere...digital hoarding...yay
Ben West
@bewest
May 06 2015 02:45
openaps should be able to get you the data you want
Matthias Granberry
@mgranberry
May 06 2015 02:45
@bewest the math built on top of it gets tricky. Trying to do good statistics on a sparse data set is an exercise in futility.
Ben West
@bewest
May 06 2015 02:46
yeah, but once you feed it into something like this, you generally prep the data to fill it out so that it doesn't fail
diabeticgonewild
@diabeticgonewild
May 06 2015 02:46
I would agree, but that document pretty much has it covered...Like the Mary Ann Liebert Diabetes Technology & Therapeutics article on AGP
that can be pretty meticulous
Matthias Granberry
@mgranberry
May 06 2015 02:49
@diabeticgonewild if you had any abstract algebra, what Ben and I are talking about is a ring in Zn, where n is the number of bins. It works trivially well for most regular time series data, but gets applied in many, many places in CS
diabeticgonewild
@diabeticgonewild
May 06 2015 02:50
Actually I think it's on my Mac but I am going to chill in a little bit. I haven't done a ton of work due to feeling crappy, and I have been trying not to wear myself out. Like trying to care for myself properly.
Ben West
@bewest
May 06 2015 02:50
yeah, no worries
diabeticgonewild
@diabeticgonewild
May 06 2015 02:50
I have took linear algebra. I know what Z_sub_n is but... don't understand that fully conceptually
in n-space
but not abstract algebra surprisingly
don't need that for the engineering I do
Ben West
@bewest
May 06 2015 02:51
hmmm, I don't know fancy names
let me find a python example
I just did this recently
it's quite simple in code
Matthias Granberry
@mgranberry
May 06 2015 02:52
It's probably overlapping notation. Z_sub_4 is a field where integers are mapped to the numbers 0, 1, 2, 3. You can do this by dividing by 4 and taking the remainder (the modulus).
to bin by hours, you could divide by 24 and take the remainder, giving 0...23 as the remainder over a number of days.
diabeticgonewild
@diabeticgonewild
May 06 2015 02:53
Got it
Like I had 5 semesters of math in college...calculus 1, 2, 3 plus differential equations plus linear algebrađź’©
Ben West
@bewest
May 06 2015 02:55
my python examples don't seem to apply here
diabeticgonewild
@diabeticgonewild
May 06 2015 02:55
Don't get me wrong I like math but it's very intense
Matthias Granberry
@mgranberry
May 06 2015 02:55
yep. I went through most of the engineering math. Abstract algebra's kind of off the beaten path :)
diabeticgonewild
@diabeticgonewild
May 06 2015 02:55
Well love math...I could do it for the rest of my life happily. But...
Ben West
@bewest
May 06 2015 02:55
this is worth learning and applying
diabeticgonewild
@diabeticgonewild
May 06 2015 02:56
There's more to life than just math even though super pure
Ben West
@bewest
May 06 2015 02:56
this is how the optimizer underneath is helping thing
diabeticgonewild
@diabeticgonewild
May 06 2015 02:56
I would agree
Btw I am about to step away from this chat for like 30 mins or so...
Ben West
@bewest
May 06 2015 03:12
no worries
Unabsorbed is actually a variable length record with no datetime in memory
ooo, just had an idea on associating them with bolus, going backwards instead of forwards
works everywhere except when it's record 0 on a new page
Matthias Granberry
@mgranberry
May 06 2015 03:14
@bewest that's what I did for Tandem's temp basals
diabeticgonewild
@diabeticgonewild
May 06 2015 03:38
Yeah I just took some opium with a nausea medicine that has a benzo in it...I feel really good now....hahahaha
I have a medicine cabinet (sadly—seriously!) to treat most (not all) of my symptoms...but I only reserve some and take those sparingly when I need/want to give my body a break
diabeticgonewild
@diabeticgonewild
May 06 2015 12:29
Going to PT...going to be tired afterwards... :(
Ben West
@bewest
May 06 2015 21:49
nice, found a nifty way to directly compare bolus wizard exports from my tool and from carelink