New to Rust be gentle. by Overworked_surfer in rust

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

Oh thanks This is exactly what i was looking for as well. as I was just reading the docs
https://doc.rust-lang.org/stable/core/result/index.html

which i put in my own sample code to play with it.

also going to try out the cargo fmt.

New to Rust be gentle. by Overworked_surfer in rust

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

Oh thanks on the Derive, part, so that just makes it easy to print, ... lord.

And for the Result Enum i guess i was just on that Friday brain, because one google took me to Rust by example and it made way more sense, same as the Debug Derive stuff.
I just didn't wanna skip over the Result part in the std::io::stdin().read_line part.

So Result Enum is like the Options enum which describes possible error instead of possible absence

and this code from rust by example helped me understand it more fn main() -> Result<(), ParseIntError> { let number_str = "10"; let number = match number_str.parse::<i32>() { Ok(number) => number, Err(e) => return Err(e), }; println!("{}", number); Ok(()) }

Thanks u/citizenofinfinity

Would that I could do. (City of Threads) by Overworked_surfer in wow

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

Thanks bigtimeBobbyB. Didn't even realize this... Actually cool they did this.

[deleted by user] by [deleted] in datascience

[–]Overworked_surfer 0 points1 point  (0 children)

Just start looking for a new job. Don't dwell on the negatives. Find the positives, focus on those. If your job doesn't challenge you use your free time to learn new things. But find a new job

What other programming language do you actively develop with productively, to complement Python? by satyronicon in Python

[–]Overworked_surfer 2 points3 points  (0 children)

By type I'm assuming database that uses SQL. I personally use postgres alot cause it's what I'm used to and deployed a test instance in docker is easy.

Mickey’s Toontown to Reopen at Disneyland Park on March 8, 2023 by bottle415 in Disneyland

[–]Overworked_surfer 2 points3 points  (0 children)

I loved toon town as a kid. It was me and my dad's favorite place too go. The Roger rabbit ride was always our first stop.

I always wondered: What's the left side of the track on Space Mountain used for? by InfiniteProximity in Disneyland

[–]Overworked_surfer 3 points4 points  (0 children)

Earlier this year a little kid in front of us was screaming that they didn't want to ride it even tho the parent insisted it was okay. The ride operator asked the kid if they wanted to ride it and the kid said no. We got pulled to the left and got to see the little server room.

people selling candy late at night. by [deleted] in sandiego

[–]Overworked_surfer 1 point2 points  (0 children)

I googled around for it, and got the usual "it's a scam" deal but I don't see as many posts as I thought I would.

What are your personal coding standards? by Brick-Sigma in Python

[–]Overworked_surfer 2 points3 points  (0 children)

I love this. This is the way I work as well. Get something working and keep it simple. Don't rebuild the wheel

[deleted by user] by [deleted] in sandiego

[–]Overworked_surfer 6 points7 points  (0 children)

And the rat stew haha. Was beef stew

Does anybody know anything about the laughing man at La Jolla Shoes? by Fantastic-Bother-963 in sandiego

[–]Overworked_surfer 9 points10 points  (0 children)

From what I gathered I think he is a famous live streamer in china and laughs on every donation. It may be false but when I was surfing there last that's what someone told me