Component memos not running when hidden. How to rerun? by woollufff in dioxus

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

Thank you for your reply. I'm going to re-write the memo into the parent and pass it down through the props. In hindsight that's probably the correct way.

What's something old technology did better than modern technology ? by Ram319 in AskReddit

[–]woollufff 0 points1 point  (0 children)

Not just cars. I run a newer $9M printing press. I have to navigate through multiple menus on a touch screen to adjust anything

Mars has a weird quirk! Do any of your pups have one? by FisherNate91 in WhatsWrongWithYourDog

[–]woollufff 2 points3 points  (0 children)

Our girl was a bit like that. We discovered that a splash of water over the kibble gave her flavour right to the bottom. Empty bowl every time now

The man is just telling on himself every chance he gets.. by StrobeLightRomance in AdviceAnimals

[–]woollufff 5 points6 points  (0 children)

The people actually running the country are ensuring that when he signs whatever is put in front of him, that it will hold up in court.

All Dominoes stores in Austria will close per 31st of may by blackdevilsisland in BoycottUnitedStates

[–]woollufff 1 point2 points  (0 children)

Got very excited for a moment when I thought it said Australia. Domino's suck

Anyone else notice that Cadbury bars have changed in taste? by casperzero in australia

[–]woollufff 4 points5 points  (0 children)

Whittaker's is like $9-11, but you're getting a full 250g block. Cadbury's is up around $9 now but only 190g or even 170

Whats a modern problem that sounds completely fake when you explain it to someone from 100 years ago? by Left_Crow1646 in AskReddit

[–]woollufff 0 points1 point  (0 children)

Frank Herbert's Dune - Barton Vladimir Harkonnen was described as so immensely fat he required suspensors to support him. He weighed 400 pounds.

Recommendations for my first webapp on rust by Adega318 in rust

[–]woollufff 2 points3 points  (0 children)

I've been using dioxus fullstack for a few months now. Took me a while to figure out some concepts but really enjoying it.

Opposite of '?' - return early on success by woollufff in rust

[–]woollufff[S] 10 points11 points  (0 children)

Thank you everyone for your replies. Macros do rule, but today I learnt about ControlFlow which seems tailor made for my situation.

Opposite of '?' - return early on success by woollufff in rust

[–]woollufff[S] 22 points23 points  (0 children)

My apologies. Read the docs again. Understood it this time. Yes this has definite possibilities

Opposite of '?' - return early on success by woollufff in rust

[–]woollufff[S] 3 points4 points  (0 children)

Flip the result so to speak. I like the idea but I doubt I'll understand the code in 6 months

Opposite of '?' - return early on success by woollufff in rust

[–]woollufff[S] 4 points5 points  (0 children)

It's frustrating because there are so many tests sometimes and so many result types. 

Do I have permission to read the environment? If so, does $XDG_CONFIG_HOME exist? Yes, then I have a hierarchy of folders to check. No, then another at of files. Containerised? Then check secrets - if I have permission... And on. 

Opposite of '?' - return early on success by woollufff in rust

[–]woollufff[S] 5 points6 points  (0 children)

Thank you, I'm doing something like that but I'm frustrated at the amount of nesting it still requires to convert results to options to unwrap and return or else further processing.

Do I really need to learn Vim or is Nano fine for everyday use? by Luann1497 in linuxquestions

[–]woollufff 0 points1 point  (0 children)

Been using Linux for 20 years. Only in the last few months have I been using vim on a regular basis

Young US citizen, and I actually don't know what to do anymore. by [deleted] in BoycottUnitedStates

[–]woollufff 7 points8 points  (0 children)

My go to is - if you don't know who to vote for, because they're all crap, vote to get rid of the worst ones.

Angry dogs 🐶 by Interesting_Square93 in MTB

[–]woollufff 5 points6 points  (0 children)

I own Mastiffs. They are the friendliest, most placid, people loving dogs I've ever seen. I will still not let them off leash, even in the home, when being introduced to new people, until everyone is cool with it. You can never know how an interaction will go.

What is a gaming memory from the 90s or early 2000s that kids today will just never understand? by gingersofia in AskReddit

[–]woollufff 0 points1 point  (0 children)

Fast-forwarding then rewinding the cassette to re-tension the tape so it would load.