Live data from Hacker News

How I keep myself alive using Golang

bytesizego.com

131–136 of 136 posts

Re: How I keep myself alive using Golang

#131
post #107
post #99

Take a look at xdrip4ios[1]. If you are using Libre 2 sensors you don't need MiaoMiao, Libre 2 has Bluetooth connectivity built in. The other piece of the puzzle is Nighscout[2] that stores data in Mongodb (last time I looked at it). You can also enter a custom script to your Nightscout installation that can be your own endpoint to accepting JSON data about BG. 1) https://xdrip4ios.readthedocs.io/ 2) http://www.night…

In many countries the official Libre app now supports bluetooth continuous updates on Libre 2 and 3. That said I do much prefer xdrip4ios.

It does, but you can't forward this data to a separate service or push to your calendar so you can see it on your watch.

Re: How I keep myself alive using Golang

#133

Earlier quoted context omitted.

Oh true, those days seem like a lifetime ago. I am now writing an app to make remote monitoring easier for Sams preschool, but are planning on writing a scalable replacement to Nightscout soon. Also digging into the various algorithms would be fun. There are so many ways that software can make T1D more tolerable, I am glad you have found some solutions for yourself too :)

In you post you've mentioned that if toddler refuses to eat you need to prepare food. Did you try to give juice? When doctors explained to us what to expect, they said this would work just fine and kids love juice.

Yeah, but if you give juice or other yummy things every time your kid refuses to eat, then you are just rewarding them for refusing food. It is a very stressful balance.

Re: How I keep myself alive using Golang

#134

Earlier quoted context omitted.

Yeah, ControlIQ. I do imagine it's different for everyone though, and would also depend on what your alternatives are. In our circumstances, it's a huge improvement over manual injections. But by no means the closed loop silver bullet we're all hoping for. We ran the TSlim on BasalIQ (precursor to ControlIQ) for a couple of years. Haven't done her HbA1C since we swapped, so I don't have any hard data. Well, and with…

Thanks a lot for your reply! I kind of do have the option for a omnipod dash with a diy loop using something like nightscout, but my nurses have advised against it (I suppose significantly because it's not something they can directly monitor or have knowledge of). I'm highly tempted to just use the TSlim because if my projects are anything to go by it'll be years before I actually set it up haha

I've recently switched from BasalIQ to ControlIQ on the X2. I very rarely feel like I'm on a "closed loop system". It's super conservative and left to itself it consistently keeps me higher than I'd like. With BasalIQ I could at least set up a low-enough target BG (5.0 mmol), now I'm stuck with 6.1 and the pump is actually happy to leave me at 7-9 mmol for hours, with very feeble interventions.

Long story short, I'm planning to buy a few boxes of Omnipod Dash pods, in a country where I can do so, out of my own pocket – so that I can try iAPS. #WeAreNotWaiting and all that :)

BTW Nightscout should not be required for Loop nor iAPS.

Re: How I keep myself alive using Golang

#135
post #4

This is interesting, but is there a reason that you didn't explore the open source software in this space (Nightscout, xDrip, etc.)? These aren't new problems, and lots of people have solved them already with much more feature-full solutions that just work.

I did explore them; for what I wanted to do I could build it faster from scratch and it was a fun learning experience

Many years ago, I went a similar route and built a small T1D monitoring stack from scratch for myself. It even pretended to be a Dexcom Follow client so I could get CGM from Dexcom in near real-time. When Dexcom eventually changed their internal APIs and broke my data ingestion, I decided to finally give Nightscout a shot. I've never looked back since.

As I see it, the big advantage of Nightscout is that it is a de facto standard interface, with many integrations already existing. And it's easy to build add-on apps on top of its API. I've built about four myself [0], [1] and there is a big community of users and developers building other things such as [2], [3], [4]...

Even though Nightscout is a little bit messy and requires MongoDB, it's surprisingly easy to self-host. I'm using the stock docker-compose file from the main repo with only minor modifications. I run it on a $6/mo VPS. As an alternative, there are two or three hosted Nightscout services costing little more than that.

I highly recommend you to consider going this "standard" Nightscout route because it can save you work (and worries) in the future, and you get to connect with the community around it. In my experience, going all alone from the start was not worth it.

[0] https://github.com/vitawasalreadytaken/koboscout [1] https://github.com/vitawasalreadytaken/glucoscape [2] https://github.com/kashamalasha/nightscout-widget-electron [3] https://github.com/mlukasek/M5_NightscoutMon [4] https://customtypeone.com/products/sugarpixel

Re: How I keep myself alive using Golang

#136
post #105

I wonder how the age at diagnosis affects your approach. I see people like this guy or Scott Hanselman going "science the sh*t out of this" and minmaxing their health, but AFAIK they were diagnosed as adults. I was 4 when I was diagnosed and even though I know I could do something to try to improve my results, my approach ends up just being intuition, winging it and trying to think about it as little as possible. I'm…

This sounds a lot like my own story. Your last sentence in particular sends chills down my spine, because that was exactly where I was stuck for perhaps 15 years. (I was diagnosed at 14 and CGMs would not be available for more than a decade still.)

Please don't give up! It's absolutely possible to break through this mental block and improve your results and mindset step by step. It is a tough journey, but it can be empowering.

I don't know where you're at now, but for me the change started with honestly tracking my data and looking the truth in the eye. I learnt to review the data regularly and think about my results, and the possible interventions I could do. And, well... it's been like that ever since :) Endless incremental improvements and occasional setbacks, but with a clear trend towards higher TIR and lower BG variance.

On the practical side of things, if you're tech-savvy I can recommend the Diabetech podcast: https://www.diabetechpodcast.com/

Post reply on HN