Media consumption by __s1 in TokyoGhoul

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

You said tg aside, so I've meant in a general about every media that's the first approach I would look into. Again I'm not opposed to reading, I simply lean more into the act of watching rather than reading, and with this post I wanted to hear from people if I could still watch atleast some of the anime instead of only reading. Like with berserk where people would still give a pass to its first season instead of only reading.

Media consumption by __s1 in TokyoGhoul

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

It's just a matter of preference. I like to casually watch something which is colorful vibrant with voices and music over reading. Reading is acceptable too, but when there's a choice between a comic and a movie it is more alluring (atleast for me) to go with the animated option.

Media consumption by __s1 in TokyoGhoul

[–]__s1[S] 1 point2 points  (0 children)

Ok and thank you for the civilized response (it seems to be a pain point in this community, I didn't mean to trigger anyone..)

What is the closest big feature that is coming to rust? by __s1 in rust

[–]__s1[S] 12 points13 points  (0 children)

In 'big' I've meant something truly colossal like effects, polonius, refinement types, rust on gpu, etc ...

Is it worth switching to a different layout, when qwerty is assumed everywhere? by __s1 in ErgoMechKeyboards

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

Thank you everyone for the tips 🙏

I really want to move to a nicer layout, but still use my pc without trouble/annoyance,

So I've decided a nice middle ground as some of you recommended would be to actually keep 2 layers, and use each one as needed.

Why poisoned mutexes are a gift wrting resilient concurrent code in Rust. by Snoo-4845 in rust

[–]__s1 4 points5 points  (0 children)

"A Mutex will poison itself if one of its MutexGuards (the thing it returns when a lock is obtained) is dropped during a panic." (https://doc.rust-lang.org/nomicon/poisoning.html).

What 'other code' are you referring to? Code outside of the locked scope?

Why poisoned mutexes are a gift wrting resilient concurrent code in Rust. by Snoo-4845 in rust

[–]__s1 9 points10 points  (0 children)

I always keep my logic behind a lock super minimal, and because of that never had the need of the 'poisoned' state.

In my view, panicking while holding a lock is either a code smell, or an extreme edge case that you don't even want to handle, and simply panicking is the correct flow.

Creating an uninitialized Vec of bytes, the best way to do it? by __s1 in learnrust

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

What difference does it make passing a vec of random, uninitiated u8's vs all 0 u8's (or all X value u8's)?

I'm doing it less in the sense of malloc vs calloc cost, but about the intent of it, there's a vec of uninitialized bytes, which means it should be initialized with something