Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Jun 29 23:27
    marionbarker edited #1678
  • Jun 29 23:27
    marionbarker synchronize #1678
  • Jun 29 23:09
    marionbarker commented #1734
  • Jun 29 22:51
    ps2 commented #1734
  • Jun 29 22:50
    marionbarker closed #1679
  • Jun 29 22:50
    marionbarker commented #1679
  • Jun 29 22:38
    marionbarker opened #1734
  • Jun 29 19:23

    ps2 on dev

    Avoid replaying loop-not-loopin… (compare)

  • Jun 28 21:24
    JanB105 edited #1733
  • Jun 28 21:22
    JanB105 opened #1733
  • Jun 28 20:53
    ps2 closed #1728
  • Jun 28 04:47
    errrrrrrik closed #1732
  • Jun 28 04:47
    errrrrrrik commented #1732
  • Jun 28 04:47
    errrrrrrik commented #1732
  • Jun 28 04:46
    errrrrrrik commented #1732
  • Jun 28 04:15
    errrrrrrik opened #1732
  • Jun 26 16:04
    rolandet commented #1729
  • Jun 25 18:18

    ps2 on dev

    Fix missing framework for app e… (compare)

  • Jun 25 17:59

    ps2 on dev

    Use SPM SwiftCharts, and fixes … Updates from review Simplify conditionals for simul… and 6 more (compare)

  • Jun 25 17:59
    ps2 closed #1730
jeremybarnum
@jeremybarnum
Interesting
katie disimone
@Kdisimone
yes, correct
jeremybarnum
@jeremybarnum
I wish I actually understood this stuff
When @ps2 said the workspace thing makes this easier, do you think it includes this sort of thing?
katie disimone
@Kdisimone
If you look at your cartfile.resolved for the various frameworks, you’ll see different commit SHA for the same “branch” of loopkit calls…so some of your resolved for loopkit resolve to c70d3f5 (which is the right, most current one) and most of the others go to f13026 (an outdated commit from another branch I think…I didn’t look too hard for where it was). So…to keep things as neat and tidy as possible, I run carthage update (or edit the cartfile.resolved) for the frameworks to make sure they are all resolving to the most current commit. Now, this used to be much easier when it was all just one cartfile in rileylink_ios…but now that things are getting distributed more broadly, it’s more headache. So yes, workspace would help this too.
jeremybarnum
@jeremybarnum
ok
let's see if I can build after this carthage update and if not I'll run it in the frameworks and push those back up and run update again and see
katie disimone
@Kdisimone
I’m not great with the idiosyncracies of workspaces yet though…I tend to learn really well by breaking and fixing things. Haven’t experimented enough in workspaces to have broken much
Pete Schwamb
@ps2
So getting a good Carthage build at least once seems to be sometimes necessary, for reasons I don’t really understand. Be the premise of the workspace setup is that it doesn’t depend on carthage at all. Xcode will build everything and find all the dependencies. It just sometimes has trouble if the Carthage products aren’t in place initially.
katie disimone
@Kdisimone
I’m not planning on any updates to my branches currently, and if I do it wouldn’t be until after dev has been merged to master for a bit. So…I was planning on playing with workspaces as part of that
Pete Schwamb
@ps2
And I’m also wondering if some of my more recent changes obviate the need for an initial Carthage build as we’d
Well
jeremybarnum
@jeremybarnum
yay I got a successful build. Thanks Katie and Pete.
I'll see if I can figure out the workspace now...I don't think I can handle going through that again!
katie disimone
@Kdisimone
fwiw, this page has some good fairly plain language explanations https://github.com/Carthage/Carthage/blob/master/Documentation/Artifacts.md
jeremybarnum
@jeremybarnum
Thanks - I remember trying to read that a while back. Maybe it will make more sense now.
@ps2 can you recommend any reference sources that are more newbie-friendly than your wiki for workspaces? I'll try now anyway and see - maybe it's not that bad.
Pete Schwamb
@ps2
@jeremybarnum just try and let us know where/if you get stuck
jeremybarnum
@jeremybarnum
ok will do
should I run carthage update in the local framework folders before dragging them in? No harm I guess?
or it really shouldn't matter?
katie disimone
@Kdisimone
dragging?
jeremybarnum
@jeremybarnum
I started the instructions before briefly - from memory, you pull/add/"drag" the frameworks into the workspace?
anyway let me just try.
katie disimone
@Kdisimone
:thumbsup:
well, now dragging is nice. I always took the long way uphill and used the menus. just tried it. lol
jeremybarnum
@jeremybarnum
lol stopped clock is right twice a day
katie disimone
@Kdisimone
oh wait…didn’t work for the carthage/checkouts directories’ project files
had to still use menu for those
jeremybarnum
@jeremybarnum
so when I run carthage update --use-submodules --no-build the branches it seems to be fetching look like the wrong ones. I think maybe I should check out the right branch before running that step? Maybe the instructions presume you are working with master?
jeremybarnum
@jeremybarnum
ok I think this is the same thing that @ps and @rsilvers129 were discussing above. I checked out the right branch and reran carthage update --use-submodules --no-build
jeremybarnum
@jeremybarnum
hmm. Was looking promising all the way through step 6. Carthage build ran. But step 7 build failed. Are you supposed to build from Loop or from the workspace? I ran from the workspace. Building from Loop works, but I'm not sure that proves anything unless I make changes to frameworks and see whether they are incorporated? and, is it necessary to re-run carthage build after changing framework code? if so, almost no time saving. OK so I will try changing something in a framework and see whether it updates without reruning carthage build
katie disimone
@Kdisimone
Build from workspace
jeremybarnum
@jeremybarnum
ok that failed but weirdly only with yellow errors
Screen Shot 2018-10-28 at 12.47.25 AM.png
should the workspace look like that?
jeremybarnum
@jeremybarnum
tried building again from workspace. One red build error, but it disappears about about a second, and leaves only yellow errors. Oh well, that's enough for tonight.
sethgagnon
@sethgagnon
Any ideas around what settings to look at if I am accurately entering carbs but ICE is not showing them all absorbed? Sorry, I’m struggling a little with understanding how to properly use ICE and when I should be editing carbs and absorption time if my original entry was not accurate.
I feel like my ISF and CR are fairly accurate and I do use autotune regularly with very little variation in its recommendations.
jeremybarnum
@jeremybarnum
@sethgagnon to me the explanation that matches your facts, especially if you take as a given the accuracy of your other ratios, is a slightly higher than necessary basal around mealtimes. But you may feel your basals are also quite well calibrated - in which case, it could be just a small error across all the parameters. IMHO editing the entry ex post for small differences is probably not worth it. Between the added robustness that comes from dynamic carb absorption and retrospective correction, and the inherent challenges and imprecisions of the disease, ex post carb entry editing might just be a time consuming distraction.
Gera Yeremin
@gera3d
@Kdisimone thanks.
Kelly Watson
@kellyisworking
If anyone is coming to NS hackathon this weekend and needs a free, comfy place to stay, my husband and I have a spare room + bath open and an extra comfy sectional in north SF. DM me :smile:
Robert Silvers
@rsilvers129
@ps2 and @jeremybarnum I am still unclear about making a proper workspace. The part that I don’t understand is that if I want to add in LoopKit’s project file in a way that I can modify it, do I drag that in from the Carthage/Checkouts/LoopKit folder as per the instructions you posted? I don’t see how this is a good idea because that folder is over-written all the time on every carthage update, and so any changes I make will get blown away. I think I need to have my own LoopKit folder branch clone somewhere else, and drag that project file into the workspace inside of the Loop project. And then set the Cartfile in the Loop folder to either draw from that checkout locally or through github. Is this true?
katie disimone
@Kdisimone
You aren’t using carthage update. You’re using carthage build
And you don’t drag, use Add from the menu, for the frameworks in checkouts for their .xcproj files
katie disimone
@Kdisimone
thoughts on why these would be mismatched @ps2 or others?
IMG_5738.JPG
IMG_5791.PNG
specifically, the predictions are so different.
mathwise, the 96 prediction makes more sense to me…a little IOB and trending down. I forgot to pull an issue report.