Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • 13:44

    ps2 on dev

    Reactivate DiagnosticLog. Also … (compare)

  • 13:44
    ps2 closed #1695
  • 12:35
    ABC-190293 commented #1696
  • 12:23
    MikePlante1 commented #1696
  • 12:20
    ABC-190293 opened #1696
  • 10:51
    bill-foreflight edited #1695
  • 10:51
    bill-foreflight edited #1695
  • 10:29
    gestrich synchronize #1695
  • 10:28
    bill-foreflight opened #1695
  • May 20 19:18
    honkstar1 opened #1694
  • May 19 23:00
    damonbayer synchronize #1619
  • May 19 20:14
    ps2 opened #1693
  • May 19 14:18
    billybooth commented #1597
  • May 19 02:20
    marionbarker commented #1679
  • May 19 01:55
    britnischipper commented #1679
  • May 19 01:25
    ps2 commented #1679
  • May 18 23:36
    britnischipper commented #1679
  • May 18 23:35
    taylorpatterson007 commented #1687
  • May 18 23:18
    aug0211 commented #1679
  • May 18 23:17
    aug0211 commented #1679
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.
wondering if there’s a difference in timing on those displays?
Robert Silvers
@rsilvers129
@Kdisimone thanks - this is great to hash out. @ps2’s said you don’t manually do a carthage update/build, that it is handled by Xcode - and I am not sure if Xcode does update vs build since it does it behind the scenes. It may do both, depending on if it sees any dependency added. And my fear is that if it does an update, any code that I am editing that came from a Checkouts folder will be blown away.
Dragan Maksimovic
@dm61
@rsilvers129 you can see the Carthage script executed by Xcode by clicking on Cartfile target in Xcode, then open Build Carthage Dependencies. The script is not doing update or build, but bootstrap instead. carthage bootstrap is similar to update but it's working on Cartfile.resolved as opposed to Cartfile.
Robert Silvers
@rsilvers129
@dm61 Thanks. Can I edit from the source in Checkouts in Xcode then without carthage bootstrap reading resolved and sucking in new copies and over-writing my modified code? And how would the edited code stay under source control being in that folder that is a sub-folder of whatever Loop branch I am working on? I still can’t grok.
Dragan Maksimovic
@dm61
Do not know. I've not yet tried to setup workspace or any other option that would allow me to work on LoopKit and Loop at the same time.
Robert Silvers
@rsilvers129
Yes. And I can get it to build, but it doesn’t address why code changes are safe. How can one work from Checkouts and expect their code to not be erased? How does the code in Checkouts stay under git control so I can maintain versions that are unique from Loop’s branch? How does one do a git commit within a Checkouts folder? Won’t that commit be assigned to the Loop parent’s folder branch?
Dragan Maksimovic
@dm61
I think it's worth looking up the carthage options used. At some point I did that and I thought I understood how this was supposed to work, but since I've not actually done it I've not retained the understanding.
Robert Silvers
@rsilvers129
BTW, I managed to stay pretty flat today even though I ate 311 grams of carb, 91 grams of fat and 87 grams of protein. And I ran 6 miles. I did this by using Loop-FPU (LoopKit/Loop#702) to handle the carb+fat+protein, and then I manually simulated the exercise mode that is not yet implemented where basal rate goes to 1/5 normal, carb ratio goes to 5x normal, and ISF goes to 5x normal (https://github.com/LoopKit/Loop/issues/593).
IMG_8734.png
Dragan Maksimovic
@dm61
Cool!
See what they say in this tutorial: https://www.raywenderlich.com/416-carthage-tutorial-getting-started The front part is pretty basic, but then there is a section on Build Artifacts that explains how --use-submodules option adds each dependency in the Checkouts folder to your Git repository as a submodule, meaning you can change the dependencies’ source, and commit and push those changes elsewhere without fear of an overwrite.
Eric Jensen
@elnjensen
@rsilvers129 Do the Cartfiles in your project point to GitHub, or to your local directories? You want the latter if you’re going to be editing files there. Or, if your local files have your own GitHub repos set as upstream , you could make sure to always push your local changes to GitHub before building each time.
Robert Silvers
@rsilvers129
I have it all set up so that the Loop sub-modules come from my personal github repos. I edit local versions of them, and push them back to github. The reason I like it that way is because then if anyone else build my branch of Loop, it will automatically draw my version of LoopKit into their Checkouts folder.
Robert Silvers
@rsilvers129
@dm61 That is good info. I will read that.
Eric Jensen
@elnjensen
@rsilvers129 The setup you describe makes sense to me. So then I think the key to not having your local changes overwritten is to make sure that they get pushed to GitHub before you build (if you're using the checkouts directory as your local repo and editing there). But it seems like it would be cleaner and safer to have your local git repo outside that tree, push all changes to GitHub, and then let carthage pull them back into its checkout.
But maybe I'm not fully understanding your question.
Pete Schwamb
@ps2
When you build using Xcode on a workspace setup, it doesn’t trigger the Carthage build.
jeremybarnum
@jeremybarnum
@rsilvers129 and on the question of dragging, per Katie’s post, that seems to have messed things up for me (and then I quit) so we can forget about that bit.
Robert Silvers
@rsilvers129
@jeremybarnum There is no different between dragging and adding from the menu, as far as I know. Also, working with git’s submodules has its own set of commands.
Alex Kuzmanov
@alexkuzmanov
how can I purchase a rileylink