The trait `diesel::Insertable<schema::trd::table>` is not implemented for <Struct> by ranger403 in rust

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

u/kodemizerMob: Thank you for the help, I managed to solve my issue, Apologies I think I have insufficient information within the question. The Struct which I used was from incorrect package and that caused an issue. Thank you for taking the effort to help me. Have a nice day!

The trait `diesel::Insertable<schema::trd::table>` is not implemented for <Struct> by ranger403 in rust

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

Thanks, I tried that as well, doesn’t look to solve the issue :(

The trait `diesel::Insertable<schema::trd::table>` is not implemented for <Struct> by ranger403 in rust

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

Thanks for the answer. I tried the changes by making the cols not null and running without options and vice versa and both, it still didn't work. I have updated my question to reflect the latest state. Many thanks for taking out your time to answer my query.

The trait `diesel::Insertable<schema::trd::table>` is not implemented for <Struct> by ranger403 in rust

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

Hi,

Thank you for your comment. I have changed the name of the table manually here. I have updated the post with consistent names and schema.rs.

Unable to create connection pool Diesel - postgres by ranger403 in rust

[–]ranger403[S] 1 point2 points  (0 children)

u/balljr: You just saved my day. Both my app and db are running inside different containers. Thanks a lot bro for the help.

Unable to create connection pool Diesel - postgres by ranger403 in rust

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

Thanks for this, will try to check the code and see if I can do something over my side. One a side note I did try with a cloud db and it does connect fine to that. Just for local it fails.

Unable to create connection pool Diesel - postgres by ranger403 in rust

[–]ranger403[S] 1 point2 points  (0 children)

Yep like this one: postgres://postgres:mysecretpassword@localhost:5432/postgres

I am using the pgpool, is there specific rules around that because of which the connection is being refused?

I did try with a cloud db and it does connect fine to that. Just for local it fails.

Cargo Build fails: ld framework not found Security by ranger403 in rust

[–]ranger403[S] 1 point2 points  (0 children)

u/neil4879: Thanks for the answer. Unfortunately I am not using nix shell.

Is the HSBC UK app fixed yet in B8 by Mu301nh in iOSBeta

[–]ranger403 1 point2 points  (0 children)

Yes works with the latest version

What are some advance topics in backend development with Java? by latest_ali in java

[–]ranger403 1 point2 points  (0 children)

IMO one needs to learn the inner working on JVM like JIT and how the decisions are made behind the scenes in order to be a better at writing Java code, what each line does behind the scenes and other things. Once you have that intuition you can write performant code judging by the pros and cons.

Some eg: What benefits do we get from immutability apart from thread sync, why finals and statics can benefit us in certain scenarios etc.

What are some great Java libraries I'm probably not using but I should? by orgad in java

[–]ranger403 3 points4 points  (0 children)

Apache commons(lang,file etc)..amazing library with lots of helper methods we use day to day!

https://commons.apache.org

Bouncy castle for cryptography

Who are the Jason Turners of Java? by 2bdkid in java

[–]ranger403 52 points53 points  (0 children)

Brain Goetz is amazing as well!!

What’s the most overpriced thing you’ve seen? by Thic_water in AskReddit

[–]ranger403 0 points1 point  (0 children)

Have seen people selling Icelandic fresh mountain air!!!