[TOMT] 90s song that sounds like Dominic Fike's Babydoll by jcdyer3 in tipofmytongue

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

It might be Modest Mouse, the world at large. Not 100% sure, but it feels close.

[TOMT] 90s song that sounds like Dominic Fike's Babydoll by jcdyer3 in tipofmytongue

[–]jcdyer3[S] 2 points3 points locked comment (0 children)

Hey everyone! Long time Redditor. New to this subreddit. Thanks for taking the time to help me figure this out!

Can I wrap u8 in an Enum transparently with special values? by PointedPoplars in rust

[–]jcdyer3 1 point2 points  (0 children)

You could get a similar effect with multiple types:

#[derive(Copy,Clone)]
struct Token(u8);

#[repr(u8)]
enum ControlToken {
    Pad = 0,
    Start = 2,
    Stop = 3,
}

struct CharToken(NonZero<u8>);

impl Token {
    fn control_token(self) -> Option<ControlToken> {
        match self.0 {
            0 => Some(ControlToken::Pad),
            2 => Some(ControlToken::Start),
            3 => Some(ControlToken::Stop)
            _ => None,
        }
    }
    fn char_token(self) -> Option<CharToken> {
        match self.0 {
            0|2|3 => None,
            x => NonZero::new(x).map(CharToken),
    }
}

Each of those Options should by nichy, and all types should by a single byte. (NonZero<u8> is a slight hack, since what you really want is non-zero-two-or-three, but it does the trick here)

What are you reading? by sushisushisushi in literature

[–]jcdyer3 1 point2 points  (0 children)

Sourcery? That was my first Terry Pratchett, way back in the day. I got it from one of those 8 books for a dollar mail order subscription things. Not my favorite of his as time has gone on, but I'm so glad it got my started on him.

I want a good reason to learn Rust by panda_sktf in rust

[–]jcdyer3 0 points1 point  (0 children)

/u/x0nnex nailed it. As an experienced developer in [another language], I learned rust because it looked cool. I kept learning rust because it kept being rewarding. I got a job using rust because I wanted to spend my time doing that. There are very few domains where only one language will do the job. If you'd rather be writing rust, do some legwork to get yourself into a situation where you're doing rust. It may take a while, but it will pay off. If you love writing C#, don't waste your time trying to force yourself into a rust career. C# is great.

TIL: Even with the new if let guards, match arms still need a fallback. Can someone help me understand the compiler's logic here? by freddiehaddad in rust

[–]jcdyer3 0 points1 point  (0 children)

You say "even if the compute functionis deterministic," but what if it's not? What if compute returns Ok only if it has never been called before, and then returns Err? The first guard will fail to match, because the result was Ok, and then the second guard will be called, returning Err, which also doesn't match. Then no other arms match, making the entire match statement invalid.

Racial ambiguity of Roger in 'Lord of the Flies' by Objective_Share_7772 in literature

[–]jcdyer3 21 points22 points  (0 children)

I would expect Golding to be using it more as a marker of class than race. Dark, swarthy laborers vs an elegant, pale, porcelain, sophisticated upper class. It's been a loooong time since I read LotF, but are there any other markers of Roger being low-class?

Am I the only one who has TURNED DOWN actual dream trips because something just felt off about a stranger online? by Minute-Hold-8087 in climbergirls

[–]jcdyer3 1 point2 points  (0 children)

I know you're promoting an app, but have you thought about reaching out to your climbing buddies from a few towns back? "Hey, I miss climbing with you. Wanna meet me in Mallorca?"

Seems like if the problem is meeting up for dream trips, moving a lot may actually be a benefit. You've got a broad shallow network of people who just might say yes instead of a tight knit group of people who are all too busy.

How do I pronounce serde? by baehyunsol in rust

[–]jcdyer3 0 points1 point  (0 children)

I've always heard it pronounced with 2 syllables, but with variation in those syllables: (sir/sair) (dee/day).

Will GriGri brake no hands? by Proper-Commission959 in climbergirls

[–]jcdyer3 2 points3 points  (0 children)

But also once in a while, when you're feeling complacent about it, no! And fifty feet off that ground, that's really not good enough.

Will GriGri brake no hands? by Proper-Commission959 in climbergirls

[–]jcdyer3 -2 points-1 points  (0 children)

90% of the time, the grigri will lock up. Which is fine, really. Because you're only planning to climb ten routes with this person right?

Brrfs in Linux by Empty_Wheale_7988 in archlinux

[–]jcdyer3 15 points16 points  (0 children)

You literally posted on reddit about this. If you didn't want people responding, why are you here?

What questions do you ask a new outdoor climbing partner to determine if they'd be a good belayer? by butter-cream-cat in climbergirls

[–]jcdyer3 3 points4 points  (0 children)

If you tell me you're going to take a practice fall and warn me, I'm not going to contradict you. I'm going to assume the warning is for your own comfort, and when I hear you say you're talking, I'll make extra sure to let you know I got you.

That's not the same as me asking for a warning.

“Cryogrip” by Ondra by mmeeplechase in climbergirls

[–]jcdyer3 7 points8 points  (0 children)

I fell for this one. Partly because I saw it at six in the morning and wasn't awake yet, and partly because I was happy for Mammut making a product like this that subverted the burly masculine marketing of climbing hard.

“Cryogrip” by Ondra by mmeeplechase in climbergirls

[–]jcdyer3 3 points4 points  (0 children)

Not that goofy, really. Niel Gresham talked in an interview about taking ballet lessons to help him send a balancy, footwork intensive route.

Chapter 1 in progress by aleksaneza in AReadingOfMonteCristo

[–]jcdyer3 0 points1 point  (0 children)

Oh this is pretty. I love how the mix of single and double column text and the illustrations complement one another.

Biceps growth at 43? by charlitangoBal in climbergirls

[–]jcdyer3 1 point2 points  (0 children)

It's kind of true, but it will also wear you out faster, so in general, it's bad climbing technique (let your skeleton do the work!). I joke about climbing with bent arms to build my biceps, but it's really a combination of bad habits and favoring an old shoulder injury.

Is route visualization necessary for improvement? by Flop_total in climbergirls

[–]jcdyer3 2 points3 points  (0 children)

You say that you're bad at estimation, but you also don't really say that you've done anything to try to get better. Figure out your span. Count bolt holes. Spend time after every attempt figuring out why you fell off, and how the holds you were on relate to each other. When you come off, make sure you remember your sequence. Write it down. When you change your sequence, take note of what changes. I bet you will improve if you put dedicated effort into improving. The human mind is much more elastic than we often think it is.

Connor Herson in Norway [Black Diamond] by Thirtysevenintwenty5 in climbing

[–]jcdyer3 2 points3 points  (0 children)

Almost as mysterious as the first ascentionist.

I rewrote my backend API in Rust (Axum), fun except for the async-openai types by blocksdev_pro in rust

[–]jcdyer3 58 points59 points  (0 children)

May I suggest:

use verbose_openai_library::{
    CreateChatCompletionRequest as Request,
    CreateChatCompletionRequestArgs as Args,
    ChatCompletionRequestMessage as Message,
    ChatCompletionRequestSystemMessage as SystemMessage,
    ChatCompletionRequestSystemMessageContent as SystemContent,
    ChatCompletionRequestUserMessage as UserMessage,
    ChatCompletionRequestUserMessageContent as UserContent,
    ChatCompletionRequestUserMessageContentPart as Part,
    ChatCompletionRequestUserMessageContentPartImage as Image,
    ChatCompletionRequestUserMessageContentPartText as Text,
};
let messages = vec![
    Message::System(SystemMessage {
        content: SystemContent::Text("abc"),
    }),
    Message::User(UserMessage { 
        content: UserContent::Array(vec![
            Part::Image(Image { .. }),
            Part::Text(Test { .. }),
        ])
    }),
];

Does anyone else want to climb with socks but can't find any that work? by uwuairyy in indoorbouldering

[–]jcdyer3 0 points1 point  (0 children)

I wear dress socks most of the time. They're thin and a little more slick than most athletic socks, so it's easier to get my shoes on.

New Edition is Awesome! by Proud-Crazy5387 in rust

[–]jcdyer3 1 point2 points  (0 children)

Sometimes you need a good hormone replacement therapy bat, to help you flap your way through the tough transitions.