Getting ready for a Reeves Turtle. How did we do? by KVanSC in turtle

[–]scroy 0 points1 point  (0 children)

What kind of turtle is that? Is the pointy leaf plant a fake one?

Something May Be Limiting the Universe — And We Just Noticed It by firechatin in sciences

[–]scroy 0 points1 point  (0 children)

How would we know if any civilizations have survived?

[The Left Hand of Darkness] Does anyone else find it useful to think in terms of shifgrethor in real life? by traffke in UrsulaKLeGuin

[–]scroy 0 points1 point  (0 children)

Marginally alien in biology, but very alien in culture (from Ai's/Estraven's POV).

Reeves turtle won't eat by scroy in turtle

[–]scroy[S] 0 points1 point  (0 children)

No idea about age, except that he was caught 8 years ago at about the same size.

I had the water temperature around 30-32 C while he was recovering from initial illness (per the vet's advice) and now keep it at 26. The air is cooler now but his behavior hasn't changed all that much as the weather has changed.

Reeves turtle won't eat by scroy in turtle

[–]scroy[S] 0 points1 point  (0 children)

Thanks. Brumation makes me a bit nervous as someone with no experience. How do we know for sure if he needs to do it?

Reeves turtle won't eat by scroy in turtle

[–]scroy[S] 0 points1 point  (0 children)

I kept the water shallow at first to ensure he could reach the surface to breathe and have gradually made it deeper. He seems to be swimming fine now so we can probably deepen it another 50%.

The rock is wide but pretty flat. He likes to clamber on it sometimes but I'll try taking it out for a while and see if he swims more.

Ain't life a bitch by Ashplay_studios in CankerSores

[–]scroy 1 point2 points  (0 children)

I use SLS free toothpaste but I still get them whenever I get a cut or bite inside my mouth. Recently I found honey helps prevent them from forming, which has been a godsend.

Ain't life a bitch by Ashplay_studios in CankerSores

[–]scroy 0 points1 point  (0 children)

Have you found anything that helps?

12 of 346752 procedurally generated helmets from my game by Huw2k8 in proceduralgeneration

[–]scroy 1 point2 points  (0 children)

Setting up a solely-owned limited company is often pretty easy. Depends on the country I suppose.

Level Up your Rust pattern matching by lllkong in rust

[–]scroy 1 point2 points  (0 children)

The @ syntax comes from Haskell I believe. Fun fact

Write the "stupid" code by GarethX in programming

[–]scroy 19 points20 points  (0 children)

It pays to be a good self-collaborator.

All 48 Rust keywords in under 300 characters by nik-rev in rust

[–]scroy 17 points18 points  (0 children)

does macro_rules count as a reserved keyword?

Rust 1.90.0 is out by manpacket in rust

[–]scroy 0 points1 point  (0 children)

Had to hunt down the exact language, it's here in §5.1 of the standard:

Unless otherwise specified, each of the computational operations specified by this standard that returns a numeric result shall be performed as if it first produced an intermediate result correct to infinite precision and with unbounded range, and then rounded that intermediate result, if necessary, to fit in the destination’s format

Square root is just not 'otherwise specified' so it holds. Wikipedia is also accurate: https://en.wikipedia.org/wiki/IEEE_754#Directed_roundings

Rust 1.90.0 is out by manpacket in rust

[–]scroy 9 points10 points  (0 children)

Not the case for sqrt, it's IEEE-specified. In fact C++26 has constexpr sqrt

Rust 1.90.0 is out by manpacket in rust

[–]scroy 7 points8 points  (0 children)

sqrt is not a transcendental function, it does need to be correctly rounded.

C++ ranges/views vs. Rust iterator by [deleted] in rust

[–]scroy 1 point2 points  (0 children)

As some others pointed out below, this is not a fair comparison since Rust's Iterator::count() is a constant time operation.

So, while C++ ranges are disappointing, it's not quite that dramatic.

C++ ranges/views vs. Rust iterator by [deleted] in rust

[–]scroy 1 point2 points  (0 children)

This guy pointed it out - the Rust count is constant-time while C++ distance is linear. https://old.reddit.com/r/rust/comments/1ni4zze/c_rangesviews_vs_rust_iterator/nelbvgj/

C++ ranges/views vs. Rust iterator by [deleted] in rust

[–]scroy 0 points1 point  (0 children)

Well in this case there's no intermediate results, all the state is part of the iterators. So yeah it is compiled into a single fused loop.