1,673 karma · joined Sep 27, 2013 (13y ago) · 682 submissions
Software design and implementation should be a joyous art, a kind of high-level play. If this attitude seems preposterous or vaguely embarrassing to you, stop and think; ask yourself what you've forgotten. Why do you design software instead of doing something else to make money or pass the time? You must have thought software was worthy of your passion once...
To do the Unix philosophy right, you need to recover that attitude. You need to care. You need to play. You need to be willing to explore.
comment 2d ago · link · parent
comment 2w ago · link · parent
comment 2w ago · link · parent
Basically, the borrow checker allowed writing memory unsafe programs without using the keyword unsafe.
Compilers for C, C++ etc. are well established but Rust is a relatively new language. There are many bugs to come just like this.
Using a memory safe language is not a silver bullet for writing memory safe code. The implementation of the memory safe language introduces bugs as well.
comment 2w ago · link · parent
Memory safe languages are not a silver bullet either.
comment 2w ago · link · parent
comment 1mo ago · link · parent
comment 1mo ago · link · parent
My endo said 780g's algorithm is better (more agressive and keeps you better in range). 780g also has a device with a screen and alerts.
I was using freestyle libre (1 and 2) before. While I was using libre I used an open source app called juggluco. It worked really good and connects to nightscout.
For a brief while I used sibionics, but the accuracy was really bad.
This is health so you generally need to suck up and install the default app. But that doesnt mean you can't set up a nightscout to backup and share your data (I do). I hope that the data I save will one day help me transition into a better vendor when it becomes available.
Open source endeavors brought looping well before omnipod and minimed did. It is really amazing what the open source community achieved.
For me it is about life and death and I wont be able to sleep if I do not use the FDA approved app and pump (even if it is shitty).
comment 1mo ago · link · parent
Now, the team is converting parts of the browser into Rust with AI. For example they converted their javascript interpreter into Rust. They are doing bit-perfect matching of input and output to achieve feature parity. See https://ladybird.org/posts/adopting-rust/
19.
Infinite Museum – Online VR paintings museum(smoothdev.nl ↗)
1 points · by terminalcommand · 1mo ago · discuss
comment 1mo ago · link · parent
comment 2mo ago · link · parent
comment 2mo ago · link · parent
comment 3mo ago · link · parent
Treatment for DKA as far as I kmow is to give glucose insulin and potassium.
For example if you have a stomach bug and can't keep down anything you are at risk of developing DKA even if your BG is normal.
The thing is how do we know we are starving the body of fuel. Most diabetics (me included) are told not to exercise if bg is higher than 250mg/dl, but that is it. We hit over 250 mg/dl frequently and sometimes stay there for multiple hours (infusion set problems, fatty food etc.).
T1D athletes report that they eat a lot and take a lot insulin before/after training and they say they get tired very easily if they don't. They thought this as restoring the glucogen reserves in muscles but maybe it is about fueling the body.
I sometimes feel uneasy even my bg is okay and it had led me to panic attacks. Now when I think it could be raised ketones, or just anxiety.
Knowing the ketones would be helpful.
comment 3mo ago · link · parent
comment 3mo ago · link · parent
comment 3mo ago · link · parent
For a closed loop we need insulin and glucagon in conjunction to keep the bg stable without user intervention.
comment 3mo ago · link · parent