by

Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • Jan 31 2019 15:51
    xen0n starred openaps/oref0
  • Jan 31 2019 15:12
    cclauss opened #1191
  • Jan 31 2019 15:09
    cclauss edited #1190
  • Jan 31 2019 15:08
    cclauss edited #1189
  • Jan 31 2019 15:07
    cclauss edited #1190
  • Jan 31 2019 15:07
    cclauss opened #1190
  • Jan 31 2019 15:00
    cclauss synchronize #1189
  • Jan 31 2019 14:52
    cclauss opened #1189
  • Jan 31 2019 14:10
  • Jan 31 2019 14:06
    Owaisaaa starred openaps/docs
  • Jan 31 2019 12:20
    cclauss synchronize #22
  • Jan 31 2019 12:16
    cclauss opened #22
  • Jan 31 2019 12:11
    cclauss edited #21
  • Jan 31 2019 12:09
    cclauss opened #21
  • Jan 31 2019 11:31
    tuzoenduro commented #1406
  • Jan 31 2019 11:25
    cclauss opened #140
  • Jan 30 2019 05:53
  • Jan 29 2019 16:03
    tzachi-dar commented #1406
  • Jan 29 2019 14:46
    rostag starred openaps/oref0
  • Jan 27 2019 22:06
    PieterGit synchronize #1176
Dana Lewis
@danamlewis
fantastic! thanks @ecc1
Matthias
@ceben80
Yeah that's great @ecc1 what exactly needs to be done for updating :question:
Scott Leibrand
@scottleibrand
see the PR: looks like this is a partial fix that's not yet safe to loop with (if your max basal is > 6.4U/hr)
you can of course test it while @ecc1 works on adding the decoding fix as well
you'd need to checkout his branch and install it, as we do for the dev branch here: https://github.com/openaps/docs/blob/master/scripts/quick-src.sh#L11-L15
Sandra Keßler
@SandraK82
@ecc1 @scottleibrand i was confused as the decoding was strange.. had only a few looks last week and was not able to resolve the error
Eric
@ecc1
Just committed the decoding fix too
Sorry for overlooking the decoding at first
I was lulled into complacency by the fact that the read_temp_basal command worked ...
Scott Leibrand
@scottleibrand
thx. @SandraK82 it should be ready for you to test now
Sandra Keßler
@SandraK82
Ah nice one, that's was my error... @ecc1 did not consider that it was highest bit only...
Matthias
@ceben80
Thanks @scottleibrand
Scott Leibrand
@scottleibrand
openaps/decocare#12 is the link to the PR to comment on after you've tested the fix
Eric
@ecc1
@SandraK82 Yes, other bits in that byte are used to distinguish percentage vs. absolute temp basal type.
Sandra Keßler
@SandraK82
Thank you very much @ecc1
Diabetic_Dude
@diabetic_dude_twitter
hello, great to be here again. just wanted to get some input, would this be a preferred rasberry pi 3 starter kit ? if not, could you please send me a link to one on amazon that is??? https://goo.gl/9bAKKA
Scott Leibrand
@scottleibrand
that one would work fine. I got the Pi 2 version of that back before the 3 was released. you won't need most of the extra wires or LEDs, but it's still cheaper than buying the components individually
Darrell Wright
@beached
@scottleibrand there is some really neat stuff on the RPI front that gets linux out of the stack and lets you make a single program device. The TI USB ACM rfspy looks supported too, along with networking.
Scott Leibrand
@scottleibrand
that seems like a lot of work. what is the benefit?
Darrell Wright
@beached
not sure it is. You still have the high level libraries. So connect to service and upload data, talk to pump over usb acm connection
but loose the setup. it becomes a 4M image
let variables
less
Scott Leibrand
@scottleibrand
if you can get that working without completely rewriting everything for the new platform, that'd be great. most single-purpose boards want you to rewrite things in their language though
Darrell Wright
@beached
i've seen C++ for one, but not sure about parts. There's Windows IOT and then there is a pascal dev env that looks like it has a lot
Scott Leibrand
@scottleibrand
all of our stuff is in javascript and python. I've never seen a board that supports both without a full OS
Darrell Wright
@beached
I would prefer a reference design in C++ as it works on every device out there these days.
yeah. I've seen micropython on some esp8266's but it's not full python
Diabetic_Dude
@diabetic_dude_twitter
@jlucasvt I am interested in your set up
I need most of those pieces anyways, and worse case, I could just change out the pi2 for a pi3
Sandra Keßler
@SandraK82
@beached i'm planning to do something like this, without the need for rewriting every patch through the usage of transformation
scottleibrand @scottleibrand looks forward to seeing that. :)
Darrell Wright
@beached
Like if everyone used a common language like c++ for the common libraries(interacting with rileylink, mmcommander..., uploading to NS, the glucose models) it would mean a lot of the work of porting to new phones could be reduced
or go/rust. something compilable on everything
im just thiking client side, not NS side.
@SandraK82 what do you mean by transformation? not sure I understand
Scott Leibrand
@scottleibrand
@beached yeah, the challenge is getting everything ported the first time, and making sure it all works. most of our testing was done by people like me who haven't touched C++ since high school.
Sandra Keßler
@SandraK82
I work in software engineering and developed a system with my team to parse source languages to extended uml notation and generators for different target languages (transformations). Each target languages/platforms specific toolkits can be used this way and very good code can be generated
Scott Leibrand
@scottleibrand
nice! is that tool available open source or commercially?
Sandra Keßler
@SandraK82
It's currently total closed source as this generates our income currently. We are discussing options how we can provide this toolkit to this community without providing to much insight how the internals work
Darrell Wright
@beached

@scottleibrand there are compilers for d/go/rust on like every platform now too but yeah I understand.

@SandraK82 ah I thought you might have meant that but wasn't sure. that is neat. How do you get around the regression to the least common denominator in the languages. Like Java lacks operator overloading so you are stuck with methods like add( lhs, rhs ) or is that accounted for too and in languages like c++ would output operator+( lhs, rhs )... Or C# using interface IDisposable and languages with deterministic destruction?

Scott Leibrand
@scottleibrand
@SandraK82 is your tool generally available on a commercial basis yet?
Sandra Keßler
@SandraK82
@scottleibrand only internally used on consulting basis for client projects as the specific parsers and generators have to be customized for each project
Scott Leibrand
@scottleibrand
If you could turn that into a more generalized software solution that didn't require consulting, that could be huge
but that may be an impossibly hard problem, I don't know
Sandra Keßler
@SandraK82
@beached this is solved through uml notations. There are generic concepts for everything you can do in software... therefore you just need to get the model right and generation will be easy
Scott Leibrand
@scottleibrand
I wonder if those kind of transformations might be useful as a form of static analysis to identify bits of code that might not behave as intended...
Darrell Wright
@beached
That's true. I guess once you have an AST you have choices
Scott Leibrand
@scottleibrand
I could also imagine some IDE integrations that allow you to write code in any language (even using different syntax on different lines if you want) and then converts it into a generic representation on the back end, and presents it to you in whatever language you prefer for reading and editing...
Darrell Wright
@beached
@scottleibrand I find that funny with javascript. reasoning with that language where type punning happens all the time is interesting.