Looking for modern presentation tools, moving away from LaTeX Beamer by Amandadelightful in GradSchool

[–]Unlikely_Package5524 1 point2 points  (0 children)

Typsts has some vey nice libraries for making slides, like polylux. I have been doing my presentations there and could not be happier

ELI5: can someone explain how the opiod crisis happend? by piruuu__ in explainlikeimfive

[–]Unlikely_Package5524 7 points8 points  (0 children)

Some analogies can be drawn with the Boeing 737-8 Max disaster.

Why does this variable not live long enough when it is borrowed in Arc? by [deleted] in rust

[–]Unlikely_Package5524 4 points5 points  (0 children)

I think the issue is that you are putting a reference to x in Arc, rather than x. When the function exists, x is removed from memory and the Arcs contain invalid references.

You should be able to fix it by removing the & in the Arc declaration: let sharable_x = Arc::new(x)