0 Followers
0 Following
1 Posts
Source?
I love that you took time to draw a blueprint. And of course, had to index it from 0.

Coroutines / Generators - Resume with a value after a Yield?

https://lemmy.world/post/10827369

Coroutines / Generators - Resume with a value after a Yield? - Lemmy.World

Please let me know if this is possible… I would like to be able to have a coroutine / generator yield to resume with a value. This is a simplified version of what I am looking for: https://play.rust-lang.org/?version=nightly&mode=debug&edition=2021&gist=8be2f397f600236b66970fce5c0ecab6 [https://play.rust-lang.org/?version=nightly&mode=debug&edition=2021&gist=8be2f397f600236b66970fce5c0ecab6] In this example, yield would end up requesting from the parent, that it wants to read the next byte, and the parent would resume the coroutine with the next byte. (In this case, it’s hardcoded to 54, but it can be any value.) Yet it seems like Rust doesn’t have the ability to resume a yield with a value. Is there any way I can get this to work?

Optically decoding the TMS0801 ROM - One of the earliest pocket calculators from 1972

https://lemmy.world/post/10501204

Optically decoding the TMS0801 ROM - One of the earliest pocket calculators from 1972 - Lemmy.World

Is there a crate to use cosmic's widgets?

https://lemmy.world/post/2729230

Is there a crate to use cosmic's widgets? - Lemmy.world

The default Iced widgets feel a bit lacking. I want to see if cosmic’s widgets have a bit more functionality, or if they are just a theme change.

Your dog looked like it had two teeth tearing into your flesh with blood. Had to zoom in to see it was a tongue.
That’s part of the warranty. Make it a free lifetime warranty.
Need to buy that extended warranty…

If warranties are for when things break on their own, and insurance is for accidents, then we should have a separate "warranty" for heart attacks vs "insurance" for trama

https://lemmy.world/post/1322379

If warranties are for when things break on their own, and insurance is for accidents, then we should have a separate "warranty" for heart attacks vs "insurance" for trama - LemmyWorld

Hospitals or healthcare insurance is so regulated?

you could go to a store, see a menu board and order an MRI with upfront pricing

Can you explain this? From what I understood, there is no upfront pricing because insurance companies are slow to provide a price. If there is no insurance company involved, then hospitals would be able to tell you the price.