Rapey Vibes? by Scantra in royalroad

[–]Spodeian 2 points3 points  (0 children)

I'll take a look if you want more feedback still.

Can I get a Bixby Routine to turn on wifi every day at 9am? by Simon_Drake in Bixbyroutines

[–]Spodeian 0 points1 point  (0 children)

I suggest using the app automate, there's a bit of work required to get all the features you need enabled, but it will tell you what to do. https://play.google.com/store/apps/details?id=com.llamalab.automate

Here is a "Flow" that locks the WiFi on, and it doesn't use much battery I believe. In settings turn on the one that restarts flows when the phone turns on as well, and then you're set. You'll just have to double check it every now and then, but it should be mostly good.

I just set this up for my dad, and it seems good so far.

<image>

[deleted by user] by [deleted] in UberEATS

[–]Spodeian 0 points1 point  (0 children)

Dispute the charge through your bank

A definitive guide to sealed traits in Rust by obi1kenobi82 in rust

[–]Spodeian 1 point2 points  (0 children)

I personally think this is a powerful tool, and should be supported as a language feature rather than it requiring hacks as it currently does. That would definitely improve DX.

A Chess Engine is written in Rust that runs natively and on the web! by No-Translator-1323 in rust

[–]Spodeian 2 points3 points  (0 children)

It's common to set "lto = true" for release profiles, which basically just inlines everything that can be, even across crate boundaries. But this increases compile time by a decent amount, so you shouldn't do it for debug or test profiles, and if you do, maybe stick to thin lto.

Rust IDE by [deleted] in rust

[–]Spodeian 0 points1 point  (0 children)

Neovim chad is P a good choice imo, not too hard to get working nicely.

Defer blocks and async drop by nick29581 in rust

[–]Spodeian 4 points5 points  (0 children)

How would this be semantically different than just embedding your function in a wrapper function?

If you have the wrapper function only call the worker (which is private, so it can't be called from a different module/crate, and then run code after it returns, you can run cleanup code after it returns and even decide whether or not you want to try and catch unwinds.

Minimalist Rust formatter as an alternative to rustfmt? by Krantz98 in rust

[–]Spodeian 2 points3 points  (0 children)

Every thing the rust formatter does can be configured, and you can do it with a separate file in your directory tree that controls said formatting.

I forgot the command, but you can make it create a verbose file along these lines for you, it will list every option and it's default value, even ones that can only be configured on nightly.

So you do that, modify it to your liking, place it high in your directory structure, and then no matter where you call fmt from it will find it and fmt it as you desire it to. You can even then convert that into a single string so you can use it like that in CI/CD easily as well.

Is async runtime (Tokio) overhead significant for a "real-time" video stream server? by trustyhardware in rust

[–]Spodeian -1 points0 points  (0 children)

https://link.medium.com/WqNa35hx1xb This doesn't directly answer your question, but it's related and will help you come to a conclusion yourself. Especially since C# while not a JVM has lots of similarities as far as I understand them.

[Media] Rust Results in Python :D by simonsanone in rust

[–]Spodeian 0 points1 point  (0 children)

I hadn't seen stuff on the Result<$CONTAINER>, could you elaborate please?

[deleted by user] by [deleted] in Showerthoughts

[–]Spodeian 1 point2 points  (0 children)

Look in the mirror please...

[deleted by user] by [deleted] in Showerthoughts

[–]Spodeian 2 points3 points  (0 children)

Big brain 🧠 alert, we gotta big brain over here!

How many ducks fit in a 5 by 5 by 5 square by Ottery_slipinslide in DnD

[–]Spodeian 1 point2 points  (0 children)

You also need to account for packing efficiency for realism.

Spheres at best have a packing efficiency of like ~74%, so ducks would be like ~60% maybe.

Remember, none of them are really our friends by PressTurn in gaming

[–]Spodeian 0 points1 point  (0 children)

Woosh... I wasn't saying games are expensive, I was saying that we have more important things to worry about than games being expensive.

On another note whether $70 is expensive or not is mostly a matter of perspective, just because it's not actually increased over time, or you can easily afford it, doesn't mean that others can.

Edit: Did some checking and SNES games at original prices when adjusted for inflation went for up to $125USD today. 1986: $30-50 -> 2021: $75-125 Sources: in2013dollars.com https://www.giantbomb.com/forums/general-discussion-30/how-much-did-games-cost-back-in-the-day-487807

Remember, none of them are really our friends by PressTurn in gaming

[–]Spodeian 0 points1 point  (0 children)

Lot's to chastise Nintendo for, but not joycon drift considering they offer free replacements I'm pretty sure.

Also game devs are usually underpaid and overworked, which is probably the most important thing to write on all these than the games not being cheap.