These are chat archives for nightscout/ios

19th
Nov 2014
Scott Leibrand
@scottleibrand
Nov 19 2014 02:17
@galileomd: one piece of feedback: just got a FortyFiveUp arrow in Fingerstick when Dex / NS were showing flat.
galileomd
@galileomd
Nov 19 2014 03:24
@scottleibrand mind sharing your azure url? is it doing it often? apparently azure outtage is worldwide
im hoping it's a serverside issue
Scott Leibrand
@scottleibrand
Nov 19 2014 03:26
I haven't run it enough to see it again, dunno
Ben West
@bewest
Nov 19 2014 03:27
you don't use azure though
Scott Leibrand
@scottleibrand
Nov 19 2014 03:27
correct, this was a node instance
jwedding
@jwedding
Nov 19 2014 03:28
"Failed, something not good happened!"
Scott Leibrand
@scottleibrand
Nov 19 2014 03:28
that means you haven't entered your URL yet if it's on first run
jwedding
@jwedding
Nov 19 2014 03:29
Fair enough. but maybe doing a check at first launch would be a bit less intimidating.
Oh, I know, I'm just putting on my QA/QC hat.
Scott Leibrand
@scottleibrand
Nov 19 2014 03:29
:)
jwedding
@jwedding
Nov 19 2014 03:29
My devs hated me. Some still do.
Ben West
@bewest
Nov 19 2014 03:29
someone did add a check to make it say that
;-)
Scott Leibrand
@scottleibrand
Nov 19 2014 03:30
they just need to write better error message copy. :)
jwedding
@jwedding
Nov 19 2014 03:30
Should error trap at first launch, not throw a warning period.
Scott Leibrand
@scottleibrand
Nov 19 2014 03:30
I doubt anyone disagrees, but there are a thousand things he should be doing, so, priorities.... :)
jwedding
@jwedding
Nov 19 2014 03:30
Alarms should should error check as well.
You want me to go on about Twitter instead?
You asked for feedback, you get feedback.
Scott Leibrand
@scottleibrand
Nov 19 2014 03:31
heh, give it to him!
if you have twitter bugs, LMK: I can file them
jwedding
@jwedding
Nov 19 2014 03:31
Alarms should logic check. I am able to enter a Low that's higher than High
Scott Leibrand
@scottleibrand
Nov 19 2014 03:31
not so much design opinions, though. :)
jwedding
@jwedding
Nov 19 2014 03:31
Bad design is a bug.
Scott Leibrand
@scottleibrand
Nov 19 2014 03:32
Maybe, but bugs closed as "Wontfix: working as designed" don't help. :)
jwedding
@jwedding
Nov 19 2014 03:32
As Designed.
My two favorite words.
As Designed doesn't make it GOOD design.
Or even usable design.
Working as Designed is a shite answer.
Back to real comments:
Alarms should highlight and overwrite the existing values. I entered 50, left, came back in, tapped, entered 75, and left.
Wound up with 5075 as the value.
(Sorry, Scott, you poked a raw spot on that one. Didn't mean to be a COMPLETE jerk about it.)
Scott Leibrand
@scottleibrand
Nov 19 2014 03:36
no worries, I fight the same battle with all the internal bugs I open. :)
Jason Calabrese
@jasoncalabrese
Nov 19 2014 03:52
that would be the perfect little feature to put a bounty on, totally generic, don't need to know anything about nightscout
Scott Leibrand
@scottleibrand
Nov 19 2014 03:52
^^ which feature are you referring to?
jwedding
@jwedding
Nov 19 2014 03:53
If the good doctor open sources this, I would tend to agree.
On the URL entry, should it include the http:// or https:// ?
Jason Calabrese
@jasoncalabrese
Nov 19 2014 03:53
a good warning at startup when we can't connect to the db
Scott Leibrand
@scottleibrand
Nov 19 2014 03:53
jwedding: the http:// is hardcoded: Just enter the rest
he needs to add https:// support it looks like
Jason Calabrese
@jasoncalabrese
Nov 19 2014 03:54
maybe some nice instructions on what to fix and how, link to docs, etc
Scott Leibrand
@scottleibrand
Nov 19 2014 03:54
I think we need to figure out what kind of feedback @galileomd wants
jwedding
@jwedding
Nov 19 2014 03:54
OK. Thanks. Hard to do TOO much with my NS site still down. :\
Jason Calabrese
@jasoncalabrese
Nov 19 2014 03:55
wrong room
Scott Leibrand
@scottleibrand
Nov 19 2014 03:55
cause most of this stuff is obvious stuff that a bunch of people could contribute to if it were open source
Dana Lewis
@danamlewis
Nov 19 2014 03:55
Yep
Jason Calabrese
@jasoncalabrese
Nov 19 2014 03:56
if it's not open source we shouldn't even discuss it here
Scott Leibrand
@scottleibrand
Nov 19 2014 03:56
I would argue we're discussing how an open source IOS app should work
we just happen to have a mockup that's not yet open source to focus our discussions
jwedding
@jwedding
Nov 19 2014 03:57
Or maybe we'll just make @hackingtype1 read all these notes as guidelines for his stuff. :P
Scott Leibrand
@scottleibrand
Nov 19 2014 03:58
yeah, @hackingtype1's code might be a better starting point, but it's not only not yet open source, it's not yet available for download. :)
nudge, nudge. :)
jwedding
@jwedding
Nov 19 2014 03:58
iOS was really high on the SurveyMonkey list.
Jason Calabrese
@jasoncalabrese
Nov 19 2014 03:59
we should make the most basic iOS possible and submit it as nightscout, just a webview
nothing else
see if it gets accepted
jwedding
@jwedding
Nov 19 2014 03:59
Even if it's just replicating what we get via a Safari page, it's a start.
Jason Calabrese
@jasoncalabrese
Nov 19 2014 03:59
before doing much work
a little phonegap app
jwedding
@jwedding
Nov 19 2014 03:59
iOS users are leaving Safari/Dolphin/Opera/whatever open to get to the alerts.
That's an accepted workflow for them. A native app that just does webdisplay but plays sounds -RELIABLY- would actually be a marked improvement.
Jason Calabrese
@jasoncalabrese
Nov 19 2014 04:00
we could do something quick and easy, then see if we can get past apple
Scott Leibrand
@scottleibrand
Nov 19 2014 04:01
yeah, that's a good idea
jwedding
@jwedding
Nov 19 2014 04:01
I pinged John about it earlier, about just submitting a stripped version of his pieces, but however you guys want to roll it.
Dana Lewis
@danamlewis
Nov 19 2014 04:01
+1 to all this
Jason Calabrese
@jasoncalabrese
Nov 19 2014 04:04
the foundation can fund the iOS developer program fees
jwedding
@jwedding
Nov 19 2014 04:05
Yeah, that's easy.
Tyler Rhodes
@trhodeos
Nov 19 2014 04:08
If all people want is an webview in app form, can't you just add an "app" icon that links to safari + nightscout website?
(sorry, haven't ios'd in a while, so I'm a bit rusty)
jwedding
@jwedding
Nov 19 2014 04:08
Yes, but that's not quite the same.
They want the comfort of an official "App"
Tyler Rhodes
@trhodeos
Nov 19 2014 04:08
...
but
...
jwedding
@jwedding
Nov 19 2014 04:08
Yes, we all know it's the same...
Tyler Rhodes
@trhodeos
Nov 19 2014 04:08
ok :)
Jason Calabrese
@jasoncalabrese
Nov 19 2014 04:09
it's just a first step
jwedding
@jwedding
Nov 19 2014 04:09
My thought is that we could actually get better audio control in an app.
Jason Calabrese
@jasoncalabrese
Nov 19 2014 04:09
to test the apple process
Tyler Rhodes
@trhodeos
Nov 19 2014 04:09
i gotcha
jwedding
@jwedding
Nov 19 2014 04:09
Sounding the alerts in iOS is problematic at best. It's a mixed bag of success with every browser tried.
Scott Leibrand
@scottleibrand
Nov 19 2014 04:10
alerts need to be push notifications to work reliably
Jason Calabrese
@jasoncalabrese
Nov 19 2014 04:10
should I sign us up for the program now? only $99
jwedding
@jwedding
Nov 19 2014 04:11
Do you have to go through an Apple ID? OR can we buy it as a corporate acct?
Kevin Lee
@ktind
Nov 19 2014 04:11
They have enterprise licenses that would allow you to distribute apps outside of the app store
Jason Calabrese
@jasoncalabrese
Nov 19 2014 04:11
Screen Shot 2014-11-18 at 8.11.36 PM.png
Kevin Lee
@ktind
Nov 19 2014 04:11
pretty sure they aren't cheap
We use it internally for our Non-rev app
Scott Leibrand
@scottleibrand
Nov 19 2014 04:24
for distributing pre-release code, Beta by Crashlytics (the program @galileomd used) is pretty good. (I'm biased: Twitter bought them)
anyone with an iphone will have an apple ID and use the app store for everything. it's not like android where people buy one and don't have google services
Jason Calabrese
@jasoncalabrese
Nov 19 2014 04:25
what are the limits
I think we should just go all the way and get setup with apple
Scott Leibrand
@scottleibrand
Nov 19 2014 04:26
"Hundreds of top mobile developers have already distributed their apps to thousands of testers"
we definitely need to be in the app store for general users
Jason Calabrese
@jasoncalabrese
Nov 19 2014 04:27
need a deploy server button in the app too
Scott Leibrand
@scottleibrand
Nov 19 2014 04:27
mostly I think the limitation is that your build has to include the udid of each and every beta user, so you have to recompile and ship a new version for each new beta user
Jason Calabrese
@jasoncalabrese
Nov 19 2014 04:27
wow, that would be a pain
Scott Leibrand
@scottleibrand
Nov 19 2014 04:28
they automate it and make it easy
but it's still a process bump that's not suitable for general users
Pete
@someoneAnyone
Nov 19 2014 04:47
Apple now has beta testing with test flight in iOS 8. It supports up to 1000 users i think.
Ben West
@bewest
Nov 19 2014 04:54
guys, scott h just added an azure button
it even has a wizard for set up
er not scott, someone else
galileomd
@galileomd
Nov 19 2014 14:26
ok, read through all that
@scottleibrand @jwedding appreciate all the feedback. yes alarms are not checked in this version. this was just thrown out there to gauge interest. there is apparently lots of interest so further effort will be put into it.
i've considered sliders for alarms to restrict value ranges. so users can't low alarm a ridiculous hypoglycemic value like 30...
but high ranges are tougher to negotiate.. hyperglycemia /hyperosmolar nonketotic states can manifest at various ranges
galileomd
@galileomd
Nov 19 2014 14:31
next question is when to open source this. if there're going to be several competing projects for this client, do we need a more complete feature set or open early to allow everyone to pile on?
as for the URL.. it's supposed to put up sample graph on first launch, but with the azure downtime last night things were acting not as expected.. and of course we need further error checking with URL entry/results.
jwedding
@jwedding
Nov 19 2014 15:58
It's working this morning, and I like it. Text is a bit small on the graph, but overall, it's clean. You miht be able to show more data with smaller dots, but that's trivial.
Ross Naylor
@rnpenguin
Nov 19 2014 16:22
Re open source. The sooner the better. This will attract contibutors to help :)
Pete
@someoneAnyone
Nov 19 2014 17:57
Re open source... would save me from what I'm currently doing! I'd be glad to jump right in and help.
Ben West
@bewest
Nov 19 2014 18:28
I want to set my alarm to off or something ridiculous like 20
or 0
jwedding
@jwedding
Nov 19 2014 18:57
RE Fingerstick, I DO like the ability to select a dot and get the exact reading at that time.
But would like to be able to see more historically.
Thinking big, i want to swipe from the first screen and get a historical report generator.
Pick a time frame (1d, 7d, 30d) and then show me high, low, average, %time in range.
very similar to how I look at a stock in my etrade app for example.
I can see highs, lows, avg, etc.
Going full tilt on alarms, it should use the iOS API to select an alert sound from the typical options.
Just pondering hacks to get around sleep. Does iOS allow you to set countdowns in the background via API? My thought would be that if you were in an alert situation, you could generate a countdown for 1m and have THAT punch through the sleep or inactive state.
galileomd
@galileomd
Nov 19 2014 20:47
jwedding is apple approval team going to give us shit for overriding sleep?
jwedding
@jwedding
Nov 19 2014 20:50
No idea.
That's why I wondered if setting countdowns was allowed.
I don't think you can override sleep directly. You might be able to set a countdown, which in turn, IS allowed to wake the phone from sleep.
Just throwing out ideas to make an end run.
galileomd
@galileomd
Nov 19 2014 20:51
sounds like open sourcing is really needed here. it's imminent we are cleaning things up
jwedding
@jwedding
Nov 19 2014 20:52
Open sourcing gets you the support of this community. It's one of the tenets.
galileomd
@galileomd
Nov 19 2014 20:56
so the technical aspect wrt to open sourcing is new to me, dont want to make any misteps
Ben West
@bewest
Nov 19 2014 20:57
no worries
jwedding
@jwedding
Nov 19 2014 20:58
Ben is the GitHub King, if you're ready to publish, he can help.
galileomd
@galileomd
Nov 19 2014 21:46
thanks, i can use all the help i can get. keeping in mind the end goal for this project and this NS client is still to improve DM1 care.
Ross Naylor
@rnpenguin
Nov 19 2014 23:00
:) thanks!