Advice
10 votes
0 replies
0 views
How do I stop rewriting my incomplete projects in different languages?
You don't. You code for fun because you want to learn things, not beause you want to complete projects. Once you've learned something, it's ok to move to something more interesting. Leave the boring ...
Advice
5 votes
0 replies
0 views
How do I stop rewriting my incomplete projects in different languages?
I've always tried to match the language to where the data exists and how it will be used. If I'm pulling information from a remote server and I want to make it available as a web-interface, then PHP, ...
2 votes
Accepted
Rust Validator on Double Option Fields
Funny workaround - some derive macros that have special handling for certain types often determine that syntactically (i.e. by tokens only) - so you can use a type alias to thwart it: use chrono::{...
2 votes
Accepted
Decoding and validating .net generated JWT in Rust
The problem is that your token is not using a standard JWT alg. jsonwebtoken expects values like RS256, but your token has: "http://www.w3.org/2001/04/xmldsig-more#rsa-sha256" That’s an XML ...
Advice
2 votes
0 replies
0 views
How do I stop rewriting my incomplete projects in different languages?
figgyfarts is not alone in this. I've been doing the same thing for over 30 years and I don't consider it a problem.
1 vote
Is this a sound method to check for AsyncFnMut implementations that return Send futures?
As far as I can tell this is not sound, because AsyncFnMut implementations can be generic over lifetimes and the call to check_thread_safe may infer a different lifetime than a call to the closure. ...
Advice
1 vote
0 replies
0 views
How do I stop rewriting my incomplete projects in different languages?
Thank you, that is some great advice!
Advice
1 vote
0 replies
0 views
How do I stop rewriting my incomplete projects in different languages?
Thank you for the advice! I think the Java GUI path is least likely to work out. The PHP version could be nice for viewing the page from my phone (if I managed to host it on my Raspberry Pi), and the ...
Advice
1 vote
0 replies
0 views
How do I stop rewriting my incomplete projects in different languages?
This depends what's causing you to switch languages. If you're hitting major problems with a given language, preventing you from implementing what you're trying to do, then that's a sign it's worth ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
rust × 43948rust-cargo × 2381
borrow-checker × 1897
lifetime × 1873
traits × 1837
rust-tokio × 1278
generics × 1175
serde × 975
iterator × 931
multithreading × 781
string × 627
closures × 619
reference × 607
vector × 596
struct × 581
ffi × 573
macros × 572
ownership × 561
actix-web × 529
enums × 525
asynchronous × 483
arrays × 451
types × 446
rust-diesel × 438
webassembly × 424