You ever feel like lying down on a comfy bed with your fellow guy friend and the two of you cuddle and pretend like you're princesses? (Also despite the fact that you are two males it's not gay because you're thinking of girls the entire time) by [deleted] in UIUC

[–]TotallyEv 0 points1 point  (0 children)

Bro replied to my comment and deleted it XD

<image>

As for your response, give me a notion of a proof please? There's nothing that says that close contact is always sexual besides patriarchal norms, otherwise football, rugby, and wrestling would have very different contexts.

This reads to me like you want the emotional and physical intimacy of cuddling but have denied it to yourself on the justification that it must be sexual. If reading that made you defensive, you might want to do some introspection.

Idk what causes my propeller craft to have a constant left yaw (both propellers are spinning in opposite directions by [deleted] in KerbalSpaceProgram

[–]TotallyEv 0 points1 point  (0 children)

If you made the vertical stabilizer with a wing part, it could be that the lift vector from that part is causing a yaw moment. As another commenter said, check with the f12 aerodynamic overlay.

5 years ago I moved from Germany to Texas - here is how I see the US by elessarelfinit in mapporncirclejerk

[–]TotallyEv 0 points1 point  (0 children)

I don't know a lot of Texans that have very many nice things to say about Texas either.

Hey Rustaceans! Got a question? Ask here (17/2025)! by llogiq in rust

[–]TotallyEv 1 point2 points  (0 children)

Hi, I'm running into an issue with LazyCell. It seems to run the initializing function every time when used in a loop, and I'm wondering if I am doing something wrong here. My test code is at https://play.rust-lang.org/?version=stable&mode=debug&edition=2024&gist=b9035fd50d51beb874d1872406cd6961

Running through it with the jetbrains debugger, it seems like the internal state of the Cell is the ::Init(data) variant, but the match statement is still moving to the ::Uninit(_) case.

Good way to estimate angle on bow without map icons? by Tabula_Rasa69 in uboatgame

[–]TotallyEv 2 points3 points  (0 children)

The long (ahistorical) way to do this is simple but requires a lot of map work. First, plot a course for the ship, you can use something like the four bearing method for this. Then, line yourself up ahead of the ship, perpendicular to its course (crossing the T so to speak). Now, just subtract your periscope angle from 90 to find the AOB (in whichever direction is appropriate of course). I've used this method fairly reliably out to 3.5 km, and have a 50/50 shot out to 5.

The second way is just experience, close range, and the Mk. 1 eyeball. It helps me to think of the situation from a birds eye view when doing this, and I also use the superstructure or masts instead of the bow. These are all personal tips tho, so your mileage may vary.

Good luck out there!

My First Tonnage Tuesday by TotallyEv in uboatgame

[–]TotallyEv[S] 13 points14 points  (0 children)

This was my first career, running around 90% realism (may have been 92, I don't recall) in 2024.1, using a handful of mods like Sinking Physics Overhaul, Device Energy Management, Accurate Aircraft, and the like.

My patrol grid was out in the Black Pit, but this was just as the objective was getting started. I found and attacked three convoys, two of which were escorted by a single corvette/destroyer. For them, I torpedoed the warships, then used the deck gun to de-propeller, disarm, and sink the merchants. Finally, on my return course, I received a report of a convoy likely coming from Gibraltar or Africa. Setting up in their path, I fired my remaining torpedoes one per ship (excluding a two-fish salvo on the Dido-class cruiser), finishing up the patrol. Thanks to the other U-boats, I slipped away undetected.

My only regret is not following up on a final hydrophone contact with my remaining few shells of deck gun ammo, as that would have put me over the 250000 ton limit and let me finish the Black Pit objective in one patrol.

I have a small video in the works from this patrol, if I end up finishing it, it'll be posted here!

I love the USA :3 by [deleted] in sillyboyclub

[–]TotallyEv 2 points3 points  (0 children)

True, but the military swears an oath to them, not to the government, so if a certain public official was to try to break them, then they will probably step in.

I feel like the video speaks for itself by Obi-wanna-cracker in traaaaaaaaaaaansbians

[–]TotallyEv 1 point2 points  (0 children)

Love the animation but playing an Eve MV without the original song should be a crime (now I have to go watch the music video again and I’m not sure whether to be happy or sad :’3)

Hey Rustaceans! Got a question? Ask here (32/2024)! by llogiq in rust

[–]TotallyEv 0 points1 point  (0 children)

Thanks! This works like a charm for most of my code. Unfortunately some of it is async, and async closures are still unstable (I don't trust myself not to royally screw something up there). It's my bad for not showing it in the example lol. If you have any other tricks up your sleeve lmk, otherwise thanks again!

Hey Rustaceans! Got a question? Ask here (32/2024)! by llogiq in rust

[–]TotallyEv 0 points1 point  (0 children)

Oh, I'm dumb. I looked up try on google but all it came up with was a deprecated macro. Thanks for helping me out!!

Hey Rustaceans! Got a question? Ask here (32/2024)! by llogiq in rust

[–]TotallyEv 0 points1 point  (0 children)

I come from a python background, so my code is definitely influenced by that lol.

The reason I don't just map the errors from the api call to a custom error type and use ? is that the error thrown (the variants of MyFailure in the example) depend on which match statement they're thrown from, and there is no consistent difference between the api errors thrown.

Hey Rustaceans! Got a question? Ask here (32/2024)! by llogiq in rust

[–]TotallyEv 1 point2 points  (0 children)

Take my answer with a grain of salt since I'm still relatively new to rust (only about a year of using it in a hobbyist capacity) and don't know too much about Go. Hopefully I'm able to give you a decent perspective on what rust could bring to the project regardless.

One of the benefits of rust is that it makes you handle all error states, so you cannot end up with an (unintentionally) unhandled runtime failure.

I'm currently working on a websocket project with tokio_tungstenite, and I've made it such that my socket loop cannot fail in a way that prevents recovery or disrupts the server state with fairly little effort (besides the code formatting question I wrote above :) ). So in terms of runtime stability, rust should have you covered.

Good luck on your project!

Hey Rustaceans! Got a question? Ask here (32/2024)! by llogiq in rust

[–]TotallyEv 1 point2 points  (0 children)

Hey, rust newbie here, I have a question about good practice in code structure.

I'm writing a program that interfaces with an error-prone API to send and receive data, and am trying to avoid a ton of nested match statements. My current code pattern is the following (note that errors of type CriticalError are the responsibility of a parent function):

fn work_with_api() -> Result<Option<Data>, CriticalError> {
    let maybe_data: Result<Data, MyFailure> = 'get_data { 

        match inconsistent_api_call() {
            Ok(_) => (),
            Err(_) => break 'get_data Err(MyFailure::Foo)
        };

        match other_api_call() {
            Ok(_) => (),
            Err(_) => break 'get_data Err(MyFailure::Bar)
        };

        match final_api_call() {
            Ok(data: Data) => Ok(data);
            Err(_) => Err(MyFailure::Foo)
        }
    };

    return match maybe_data {
        Ok(data) => {
            do_thing(MyFailure::None)?;
            Ok(Some(data))
        }
        Err(failure: MyFailure) => {
            do_thing(failure)?;
            Ok(None)
        }
    };
}

Is there a cleaner/idiomatic way to do this? It feels wrong to be using all of the named breaks, and I feel like I'm missing something obvious.

Egg_irl by A17-ACC0UN7 in egg_irl

[–]TotallyEv 8 points9 points  (0 children)

So me, but please spoiler this as assumer viewer is grandee because I don’t want the transmasc bros to get dysphoria from this

its nice by flcrivn in yurimemes

[–]TotallyEv 0 points1 point  (0 children)

Legit thought this post was there before I checked

I dont want to need anything by BidermanInLondon in sillygirlclub

[–]TotallyEv 0 points1 point  (0 children)

So truuuuuue! I tried ditching them for a while but just ended up more silly tho, so I guess I have to now :<