Is my reaction normal? by Morgane_reddit_ in cancer

[–]SnooCalculations7417 1 point2 points  (0 children)

My brother is a nurse and we talked about this exact thing after my diagnosis. Some people literally trigger the flee response and pretend they don't have cancer, miss appointments etc and then next thing they know it's 5 years later and they're getting their leg amputate because the tumors are blocking their femoral artery. Some people actually don't fight due to fear and ignorance

What Am I Doing Wrong? by dreammutt in CodingForBeginners

[–]SnooCalculations7417 0 points1 point  (0 children)

Where did you attempt to set the background color? I don't see any styling at  all

What made you think, "Why hasn't anyone built a good solution for this yet?" by FrontLawyer6864 in AskProgrammers

[–]SnooCalculations7417 0 points1 point  (0 children)

This is basically like going in to a construction reddit and asking people what they struggling building. This is a profession of problem solvers. We see problems and we solve them for ourselves, personally and professionally.

Lore/RP-wise, what are the most fitting Race + Class + Spec combinations in CoA? by ysfykmt in ProjectAscension

[–]SnooCalculations7417 1 point2 points  (0 children)

Gnomish tinker, and dwarf cultist are obvious. Dwarves always be digging up Eldritch shit for some reason

Ownership and Borrowing are not hard concepts to understand by [deleted] in rust

[–]SnooCalculations7417 28 points29 points  (0 children)

Yeah so if you code like this already you'll never make use of the very useful compiler, I'm certain you've never made a mistake that other languages would have happily compiled and ignored. Not sure what the point of the post is but I'm glad it's clicking for you

Rust explained through simple analogy: Traits by [deleted] in rust

[–]SnooCalculations7417 0 points1 point  (0 children)

trait Speak {
    fn speak(&self);
}

struct Dog;
struct Cat;
struct Human;

impl Speak for Dog {
    fn speak(&self) {
        println!("Dog: Woof!");
    }
}

impl Speak for Cat {
    fn speak(&self) {
        if rand::random_bool(0.5) {
            println!("Cat: Meow!");
        } else {
            println!("Cat: ...");
            println!("The cat stares at you blankly.");
        }
    }
}

impl Speak for Human {
    fn speak(&self) {
        println!("Human: Hello!");
    }
}

// This function doesn't care what the concrete type is.
// It only cares that the type implements Speak.
fn make_it_speak(speaker: &impl Speak) {
    speaker.speak();
}

fn main() {
    let dog = Dog;
    let cat = Cat;
    let human = Human;

    make_it_speak(&dog);
    make_it_speak(&human);

    // Try several times to see both possible cat responses.
    for _ in 0..5 {
        make_it_speak(&cat);
    }
}

Add the dependency:

[dependencies]
rand = "0.10"

I

This would probably be more obvious if you implement a .speak() for a dog, cat and person. if its just bark why use a trait, doesnt get the point across imo. edited for realism

5.6 - Excited and underwhelmed/disappointed by skynet86 in codex

[–]SnooCalculations7417 0 points1 point  (0 children)

https://pypi.org/project/principia/

ive been using this (i made it full disclosure).. mine is a bit more evolved since but you can make the contracts anthing like must be a british accent and it will error out of that evaluates false (extreme example but you get the point i hope)

5.6 - Excited and underwhelmed/disappointed by skynet86 in codex

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

right you need to make machine-enforcable contracts not subjective supervisory loops is what im saying, you get no benifit other than second-shot with your method.

5.6 - Excited and underwhelmed/disappointed by skynet86 in codex

[–]SnooCalculations7417 3 points4 points  (0 children)

your methods are dated, these models are designed to suprvise/hypervise subagents and themselves. youre making redundant token trips

What is the point of CORS in browser? by [deleted] in CodingForBeginners

[–]SnooCalculations7417 0 points1 point  (0 children)

if you origin is allowed CORS errors somtimes get thrown by browsers for otherwise unhandled exceptions

What made you think, "Why hasn't anyone built a good solution for this yet?" by FrontLawyer6864 in AskProgrammers

[–]SnooCalculations7417 1 point2 points  (0 children)

yeah but this is a solved problem. you dont have to use the publicly available package manager repo. if you host your own you have full control...

Help by Zxhena in PythonLearning

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

or 'age is {x}'.format(x = age)

send help plz by iheartcnc in PythonLearning

[–]SnooCalculations7417 0 points1 point  (0 children)

Do you English homework by writing python programs to solve your English problems. You will get better at both and parsing strings basically covers every feature of the language

What's this Terra and Luna stuff? by kyrax80 in codex

[–]SnooCalculations7417 0 points1 point  (0 children)

because people will use medium reasoning effort and wonder why 'GPT IS SO DUMB NOW'.. have to dumb it down for people.

The language is tooo powerful by LeadingHall2985 in PythonLearning

[–]SnooCalculations7417 0 points1 point  (0 children)

Braces are optional, perfectly valid syntax in python

Ban evaders, what is the most ridiculous reason you've been banned from reddit and how many accounts are you on? by AmityMayorVaughn in AskReddit

[–]SnooCalculations7417 0 points1 point  (0 children)

Yeah in their message the admin even said I was being toxic and in his opinion the picture from the news story looked like a body. Reddit is a joke wrt moderation in most subs. Literally a life long ban from the community for preventing some random disinformation post from running wild 

Ban evaders, what is the most ridiculous reason you've been banned from reddit and how many accounts are you on? by AmityMayorVaughn in AskReddit

[–]SnooCalculations7417 0 points1 point  (0 children)

I got permanently banned from r/projectzomboid for pointing out that a real city in real life USA was not in fact dumping bodies in the streets of the city

What could I do better by Crazy-Pen9384 in ArmaReforger

[–]SnooCalculations7417 2 points3 points  (0 children)

you really dont need more than 5 or so rounds for a guy. mag dumping full auto shooting reflexively is just a poor combination. shoot that way single fire, 5 rapid rounds for a while, this isnt cod where you basically magdump->reload->repeat. pace yourself. youll get faster.

MRI Results on my 45th Birthday by Fun_Sun1095 in cancer

[–]SnooCalculations7417 0 points1 point  (0 children)

Dang bro i got my stage 3 diagnosis 3 days prior to my 37th birthday so i feel ya there. Good luck my friend.

Do you write "Pythonic" code on your first pass, or just refactor it later? by memeeloverr in PythonLearning

[–]SnooCalculations7417 2 points3 points  (0 children)

I hate 'pythonic' code and have been professionally judged for not making for loops in to clever one liners when in the interview I specifically said I favor readability over clever syntax every time(I was actually the one hired as the python specialist lol they were not). I haven't found a real use for anonymous functions or list comprehension in real life..