- 2 Posts
- 6 Comments
vilcans@programming.devto
No Stupid Questions (Developer Edition)@programming.dev•Why do I feel that no matter how much I practice programming I will never be a programmer?
4·2 years agoIt sounds like you have the mindset that you have to learn programming before you start doing it. Which is especially hard today as there’s so much information, so much to learn, so many tutorials to watch. There’s always something to learn. Don’t expect to reach a point when you “know” programming.
Instead try this: Stop practicing and start programming. Start with a project that you want to do, for whatever reason. Some small utility, a really tiny game, a joke program, whatever that gets you to focus on creating something rather than learning something. You will learn the things you have to learn in order to progress on the project. This is completely normal, and a good skill to have, even for professional programmers.
vilcans@programming.devto
Rust Lang@lemmyrs.org•Allowing to add functionalities in RustEnglish
2·2 years agoOne way to implement Rust-based “plugins” is to turn the whole application/plugins relation on its head: Publish the main application as a crate, which lets the user build their own executable that uses the main application as a library. That way they can customize the app however they like, if the main app just has hooks for it.
vilcans@programming.devOPto
Programming.dev Meta@programming.dev•Change password not workingEnglish
1·3 years agoUpdate: 0.18.0 fixed it.
vilcans@programming.devOPto
Programming.dev Meta@programming.dev•Change password not workingEnglish
1·3 years agoThanks, I hope 0.18 fixes it then. I tried logging in using another browser, and noticed that trying to log in gives the same infinite spinner. So it seems I can only use my account on the browser I’m on right now.


Thanks for the answer! What you’re saying seems to be true, but it wasn’t given in the instructions, so I guess you were supposed to figure out that this was the case. It seems this was true for everyone, so it wasn’t just me that got lucky. I got confused by my assertion failing on the example, because the second path reaches the goal in three steps which is not a multiple of the instruction length (2). This never happens with the real data. The example wraps around neatly at 6 instead, so just removing the assertion makes my code work on the example too.