That’s strange. Please let me know what you find out.
This is a great idea, thank you!
I’ve been using tide-jsx, but I’m also using tide (not actix). Everything renders to a String, so it would technically be compatible with any web framework.
I would love to see what other people suggest for Actix since I wanted to use that instead of Tide, but I also didn’t know where to find a crate like tide-jsx. https://crates.io/crates/tide-jsx
I never would have guessed when I first installed RIF that some years later I would end up feeling sad as I uninstalled it.
I had issues searching for Lemmy communities until I updated my docker-compose to give the “lemmy” container it’s own network.
Here’s a post on Mastodon that links to their blog where they describe different clients.
I haven’t experienced any crashes. I’m just getting annoyed with it resetting the view when I rotate my phone by accident. It takes me back to Local and changes my filter back to default. Painful.
https://lupyuen.github.io/pinetime-rust-mynewt/articles/watchface
Section 1, step 2 states “update: To update the Watch Face with the current date and time. This is called every minute by the PineTime Firmware to refresh our Watch Face.”
Good to know that it’s touch screen. I would love if I could push a button on this watch and run a POST request to my server. Do you happen to know of that’s possible?
I think we may be talking about two different things with regards to corporate control. I’m saying that, in the case with Redhat specifically, that their injection of a fee to access the source code now no longer makes the code freely available to downstream repositories. If they comically charged a billion dollars to access the source code (with a GPL) it would practically become closed source, so I’m curious why any entity can charge any amount to access open source software. And if it’s totally legal with this type of license, doesn’t that mean that we should be avoiding GPL at all costs?
Correct me if I’m mistaken. What I read from your post sounds to me like you think that we should accept that a company will inject a revenue stream into the process that we all were working on as an open source project. We weren’t expecting to get paid, so why not allow the company to get paid, regardless of the downstream impacts for other projects that once relied on the project being completely free and open. Do I understand that properly? I don’t want to misrepresent your intent. I feel like I must be misunderstanding something.
It looks like Pinetime lets you customize the watch face with Rust, but is it touchscreen? Am I right in seeing that it only runs the update logic once every minute?
How does this work with the code license? If this is all fine, doesn’t this mean that we should be avoiding the kind of license they’re using in the future?
I generally avoid this situation. At best I’ll create an Rc<HashMap<T, U>> to pass around. I find that having a need for a static variable can be an indication of bad design. It often makes the code that depends on it untestable.
You may be able to use something like lazy_static.
Thanks!
This is awesome! Thank you!
I have a lot of interest in software development (and the Rust programming language specifically). Any plans to add a software development community? I don’t know of any feeds, though.
My first programming language was QBasic, then Visual Basic, then Java, then C# (most experience with), then C++, then Python, and now Rust. Only when I learned C++ in college did I truly grasp the power of memory management. I think it’s important for new programmers to have some understanding of and experience with pointers, but it doesn’t need to be your first language. I think it’s okay to start with Python or C#, but you’ll want to go back and learn the hard stuff at some point (C++ and then Rust). Python will be super easy to learn the basics (data structures, algorithms, etc.). C# is also a good choice, but has you learning a few more things at the same time you’re trying to learn the basics.
They share a genealogy, but as programs are created and maintained in different languages, developers come to wish for different syntaxes that would (1) reduce how much code must be written to accomplish a common logical task, (2) make the code that’s written easier to read/understand, (3) reduce concerns about variable types until runtime, and/or (4) overly restrict not just the variable types but also if/when variables can be modified. This list is not exhaustive.
There is a partial programming language family tree here, showing which languages influenced other languages: https://www.researchgate.net/figure/Genealogy-of-Programming-Languages_fig36_260447599
I don’t miss the endless commercials.
You may need to fork the repo and mirror my pull requests into your fork. The maintainer of the repo hasn’t responded to my pull requests yet and one of them fixes a common bug.
In your Cargo.toml file, you can reference your own fork as a dependency. https://doc.rust-lang.org/cargo/reference/specifying-dependencies.html#specifying-dependencies-from-git-repositories