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

24th
Jun 2015
Darrell Wright
@beached
Jun 24 2015 00:26
That is some battery
diabeticgonewild
@diabeticgonewild
Jun 24 2015 00:34
Thanks! Pretty good size for what you get. Yeah apparently in Asia if a battery is of certain capacity, customs will confiscate it, particularly in China (or Thailand).
It powers all standard laptops. It's just a matter of finding the connector. (I used to work in Geek Squad/Best Buy repairing computers, trust me.) Even standard power adapters on laptops can handle worldwide voltages. It's just a matter of replacing the cord end (or in apple's case getting a travel kit) with the right plug.
diabeticgonewild
@diabeticgonewild
Jun 24 2015 00:39
But I could always just use a Pi and SSH between MATLAB and the Pi via a mobile internet connection with a virtual machine. But, I am going on a cruise in a few weeks.
diabeticgonewild
@diabeticgonewild
Jun 24 2015 02:20
So, when I finish my write up and my first implementation of #OpenAPS, sometime before learning JavaScript and Python for working on a new implementation of #OpenAPS, I want to get Intel Edison working for OpenAPS
diabeticgonewild
@diabeticgonewild
Jun 24 2015 02:38
Darrell Wright
@beached
Jun 24 2015 02:42
I guess once you have it worked out and the algorithms going, I read that porting to c++ can give a substancial performance benefit for some things
diabeticgonewild
@diabeticgonewild
Jun 24 2015 02:42
Yep!
Darrell Wright
@beached
Jun 24 2015 02:44
From what i understand this is especially true when it comes to operations that create/delete a lot of matrices. leaving the cpu's cache leaves your at memory and it is a bitch and is slow
diabeticgonewild
@diabeticgonewild
Jun 24 2015 02:44
indeed
I can also port it to Java
and then port to JavaScript from Java
Darrell Wright
@beached
Jun 24 2015 02:48
compile c++ to javascript :)
diabeticgonewild
@diabeticgonewild
Jun 24 2015 02:49
yeah I wouldn't know! Thank you!
Darrell Wright
@beached
Jun 24 2015 02:54
apparently there is a 60Ah verson of that battery
diabeticgonewild
@diabeticgonewild
Jun 24 2015 03:02
Yeah it's crazy
Read the first review. It's super informative (same regardless of battery size).
diabeticgonewild
@diabeticgonewild
Jun 24 2015 04:06
Fortunately for #OpenAPS I don't have to use MATLAB toolboxes cause it's basic programming, in a nutshell....at least not directly for applying my project. Therefore I can port everything.
I did have to use a toolbox at one point to get all of those IOB functions.
But for my first iteration of #OpenAPS I don't think I will need toolboxes. But, I need to get back to this write up.
diabeticgonewild
@diabeticgonewild
Jun 24 2015 04:16
@bewest does OpenAPS use ISO 8601?
It's a good choice for portability
Ben West
@bewest
Jun 24 2015 05:48
yes, I've been begging NS devs to use 8601
openaps uses it everywhere
diabeticgonewild
@diabeticgonewild
Jun 24 2015 05:50
Thank you so so much!
Ben West
@bewest
Jun 24 2015 05:50
you can probably port to js or python as plugins
that's what I would recommend
diabeticgonewild
@diabeticgonewild
Jun 24 2015 05:50
What do you mean as plugins?
I intend on porting my stuff from MATLAB to whatever like JS
Ben West
@bewest
Jun 24 2015 05:51
yeah, then it will work as openaps plugin
diabeticgonewild
@diabeticgonewild
Jun 24 2015 05:52
I just need to organize it all like function files and stuff for those really wild ideas that came to mind on the gitter chat last week
Ben West
@bewest
Jun 24 2015 05:53
yeah, best to post that stuff to gist so you can pull it into text editor
diabeticgonewild
@diabeticgonewild
Jun 24 2015 05:54
Yeah and post it publicly so people can find it
Ben West
@bewest
Jun 24 2015 05:54
well, main point of putting it in gist is so that it's recorded some place where you can drop it into a text editor and search for it later public or private
either way
I find it's useful enough to just put most things public
but I have quite a few private gists too
diabeticgonewild
@diabeticgonewild
Jun 24 2015 05:55
Yeah. This one I want to share.
Ben West
@bewest
Jun 24 2015 05:56
sometimes it's not about sharing or not sharing, just about being able to find it at some point
diabeticgonewild
@diabeticgonewild
Jun 24 2015 05:56
True. And gitter is all over the place
Ben West
@bewest
Jun 24 2015 05:57
gitter, like FB and many other places are just ephemeral lenses
ah, here's another pro tip
it's in the git changelogs but probably not anywhere else
diabeticgonewild
@diabeticgonewild
Jun 24 2015 05:58
True
Yeah
Ben West
@bewest
Jun 24 2015 05:58
should go in wiki or something but sudo openaps-install-udev-rules will do what it says, install udev rules into your system
these rules run insert automatically, so you don't have to
diabeticgonewild
@diabeticgonewild
Jun 24 2015 05:59
Yeah you mentioned they before but I thought it was automatic on updated installs
I guess not though
Ben West
@bewest
Jun 24 2015 06:00
hmmm I think I tried making it automatic on install and failed
this was my workaround
diabeticgonewild
@diabeticgonewild
Jun 24 2015 06:00
Got it
I saw something similar in the repo and that's what thew me off
I feel slightly intoxicated right now...cause I took Lyrica. The withdrawals were too bad to resist not taking vs feeling more comfortable. But that med is not me at all...
So there is an open source MATLAB to Python porter http://ompc.juricap.com
This answer is better. Will be making JS and Python versions of my code...
diabeticgonewild
@diabeticgonewild
Jun 24 2015 06:08
Ben West
@bewest
Jun 24 2015 06:09
how many lines of code are you looking at translating?
diabeticgonewild
@diabeticgonewild
Jun 24 2015 06:10
IDK I think I can get this project done in under 500 lines of code worse case scenario
Ben West
@bewest
Jun 24 2015 06:10
worry about translating later :-)
translating is for when you have 30k+ lines
less than 1k and it's usually better to just type it all in again
diabeticgonewild
@diabeticgonewild
Jun 24 2015 06:14
Yeah. MATLAB is a very dense language fortunately
diabeticgonewild
@diabeticgonewild
Jun 24 2015 06:41
But all you really have to do is port it MATLAB to C++ using a MATLAB toolbox and then you're good to go between the rest of the languages.
Scott Leibrand
@scottleibrand
Jun 24 2015 06:54
Porting source code is not something computers do (well). It's usually done by humans who understand m what the code does and know how (or figure out) to represent that in the language of interest.
diabeticgonewild
@diabeticgonewild
Jun 24 2015 11:48
Yeah
diabeticgonewild
@diabeticgonewild
Jun 24 2015 13:53
Anyway things come kind of slowly for me, although I am feeling better. I don't have this form of autonomic dysfunction (I have a severe form actually) but somebody accurately described how it affects your brain and energy levels. It's no exaggeration http://ow.ly/LWpaJ . Good thing I have rights to academic accommodations, like extra time on exams.
Mine goes beyond tachycardia and I get low blood pressure at times but it used to be all the time. Thankfully I have responded to (extremely expensive) immunotherapy and it's well documented in my medical records that i have so I can continue receiving it and maybe move on with my life
diabeticgonewild
@diabeticgonewild
Jun 24 2015 14:51
But yeah have neurology appointment this morning. Hopefully my autoimmune neuropathies have improved or not progressed...
Then I can work on OpenAPS.
diabeticgonewild
@diabeticgonewild
Jun 24 2015 15:16
Resting heart rate 126...but vital signs were otherwise alright. Just one of those days...
Darrell Wright
@beached
Jun 24 2015 16:08
Doesn't leave your heart much room to play with
diabeticgonewild
@diabeticgonewild
Jun 24 2015 17:54
It never does. 😕
diabeticgonewild
@diabeticgonewild
Jun 24 2015 18:02
Yeah but heart rate generally is much lower now...So my rheumatologist doesn't respect boundaries cause my neurologist was like WTF when she found out that I had stopped an immunosuppressant that I took orally. I was supposed to stop taking it once I received rituximab infusions according to my rheumatologist and she didn't pass it by my neurologist. I'm supposed to call my rheumatologist's office today, get permission to restart CellCept pills, and get a new prescription from my neurologist, "and if rheumatology has a problem I [neurology] will be speaking with them". Neurologist also had a problem with rheumatology giving me Lyrica, and I'm supposed to deal with neurology only on that issue. So, highlights of my appointment were basically about boundaries.
There's more boundary issues with my rheumatologist too.
That have happened in the past regarding medications that were prescribed to me for ADHD.
It's crazy.
So, for the record, I am supposed to be on 3 forms of immunomodulation, including 2 forms of immunosuppression.
Paul Andrel
@stavlor
Jun 24 2015 18:13
wow
Would be nice if they actually tried to communicate lol. instead of making you the person in the middle
diabeticgonewild
@diabeticgonewild
Jun 24 2015 18:16
Yeah I got drug tested too by her at a lab (it was on the lab sheet and I could do it at any time) for amphetamines cause she went to med school in a foreign country and apparently to her there is no medical use for amphetamines and they apparently lead to dependence and withdrawals at prescribed doses according to her.
I stopped taking my medicine for ADHD cause I got weirded out by it and she made a big deal that I tested "clean"! Hahaha
Paul Andrel
@stavlor
Jun 24 2015 18:18
lol
diabeticgonewild
@diabeticgonewild
Jun 24 2015 18:19
Yeah the doctor who prescribes that med still isn't too happy with her. I left out the part about being drug tested to him cause he would be fuming angry.
Paul Andrel
@stavlor
Jun 24 2015 18:21
heh luckily most the doctors i see on a regular basis except one are all part of a group which keeps everything in EHR/PHR so if someone changes something they all get notified of the change quite nice and all their notes are available to me as well
diabeticgonewild
@diabeticgonewild
Jun 24 2015 18:22
Same here. Same hospital, but they still don't know WTF is going on. Like I have a bunch of diagnoses, like the "ABC chick"
If boundaries were respected, I would not be in this situation.
Paul Andrel
@stavlor
Jun 24 2015 18:23
Heh, sounds like some doc likes breaking the rules
diabeticgonewild
@diabeticgonewild
Jun 24 2015 18:24
yeah, cause they're crazy and they enjoy abusing their power to some degree.
Paul Andrel
@stavlor
Jun 24 2015 18:24
lol
diabeticgonewild
@diabeticgonewild
Jun 24 2015 18:30
Like seriously, I struggled to keep a straight face when my rheumatologist said I "tested clean" on my drug test, multiple times! (that's something someone with a drug problem would say who has to be tested frequently, typically)
I mean it was no surprise that everything would come back negative.
diabeticgonewild
@diabeticgonewild
Jun 24 2015 18:47
Well I take that back. My rheumatologist is a caring person and that's why she crossed boundaries, but it does more harm that good. She's very opinionated and is a live wire too.
Darrell Wright
@beached
Jun 24 2015 22:55
My endo is trying to get me on BP meds. I am pretty sure it is white coat. I test at home and clinic and sit well under 110/65 and with him in the 130/70 or 80s
I fear passing out doing a 2.5hr run alone on trails