[-] nebeker@programming.dev 1 points 1 month ago

There’s nothing like having your network go poof and knowing with 100% certainty that it’s your fault and you’re the only one who can fix it.

[-] nebeker@programming.dev 1 points 3 months ago

I’m shocked and appalled! Isn’t the whole point of using Rust to prove you’re a better developer by using an extra hard language? At least that’s what I like about it.

I’m kidding, of course. Whoever has never copied and pasted code they didn’t understand from Stack Overflow can go ahead and complain about using a local LLVM.

Ultimately, what makes a good developer includes understanding and being really good with the tools they use, but the biggest impact comes from identifying problems and asking the right questions to solve them.

[-] nebeker@programming.dev 1 points 4 months ago

I used that and Rustlings and really liked both, but somebody mentioned this and I decided to take a look. It’s cool that it introduces other concepts.

[-] nebeker@programming.dev 1 points 5 months ago

I’m inferring based on the deprecation of YEAR(4) and the conversion time window that obviously needs to be updated at some point.

[-] nebeker@programming.dev 1 points 6 months ago

One of my main concerns with this is the potential for making a lot of separate calls to the DB for a complex data structure. Then again there are trade offs to any architecture.

[-] nebeker@programming.dev 1 points 6 months ago* (last edited 6 months ago)

The insert on their Getting Started guide.

let new_post = NewPost { title, body };

diesel::insert_into(posts::table)
    .values(&new_post)
    .returning(Post::as_returning())
    .get_result(conn)
    .expect("Error saving new post")

Of course the other possibility is this guide is very low on abstractions.

view more: ‹ prev next ›

nebeker

joined 10 months ago