From what I read, it could easily be a tauri app, without a backend: just index.html
in your system’s webview.
I did also forget to say it does look very nice, with animations and proper polish!
If you do delve into improving the performance, I suggest using Rust and no_std
crates for dealing with images, such as https://docs.rs/zune-jpeg/latest/zune_jpeg/.
It would probably take some time to get it working, but it would probably increase performance and support any format you can find a crate for. But it does not seem like it’s worth it.
I’ll add this to my list of “things I might to when I don’t have a side project to waste my time on” :D
Any language feature with such a long definition is a bad language feature.
The less such features, the better the language.
Thus, javascript is not a “good” language for expressing your programs.
Socialism dies as soon as a single person becomes its absolute leader. From there, it is just a walk toward authoritarism.
Dronies? Is this an evolution of takies? A subspicies?
If you are interested (and can pull together a bit of funding) I can look into how we could do this optimization in WASM.
It’s JavaScript.
And it is slow, but not as slow as I expected it to be. I’ve optimized a photo I’ve taken with my DSLR, 6.3MB, 24MP, JPEG. It has taken ~50sec on this phone, in Firefox.
I know, it’s a phone, but also, my phone can and does save, optimize, and apply filters to such images in <1sec.
Wait, how does this work in-browser? Does it send the photos to the local server where image magick does the job, or is it using javascript to read/write images, or does it contain WASM to do that?
We could have a tag for things like this (if tags are a thing on lemmy) or a required prefix, such as "Software release: ".
I do like to see an announcement for things I use and have slow release schedule.
Have you erased the continuation of the message that is saying something about “similar names, but are actually two distinct types”?
It is a common error if you have two dependecies that export the same third dependency and your code makes an assumption that the versions of the third dep match.
All other languages either straight-up don’t support multiple versions of the same dep, or throw random errors at runtime. So this message is a consequence of rust supporting things that other langs only dream of.
Hmmm, I repurposed an old PC of mine, only buying large WD red HDDs. If I were to expand, I’d ask friends/family if anyone has an old box to sell. And maybe buy a server rack. Second option would be “used goods websites” and only after that I would be looking to buy new.
That’s because jellyfin+immich+planka+a few static websites really don’t need that much compute power. The heaviest work to be done is playing a movie, which could be done by a laptop. Unless you are planning for many users to use the server at the same time.
I live in slovenia
I use docker to package and deploy my website. When it is compiled to HTML, I place it into a docker container that is based on nginx.
This container is now easily ported to production server and ran to serve the HTML over HTTP.
Interestingly, the name of cat command comes from “concatenate”, which implies that the original purpose of the command was to concatenate byte streams into one. But for me, it is now just the command that “prints a file”
Apparently, PHP has a low threshold for making something an “official” api
Climbing helped. If you say “I’m too old for that” it is joe ver for you already
If I have a complex regular expression to code into my app, I write it in pomsky, then copy paste the compiled regex to my source file, but also keep the pomsky source nearby. Much more maintainable.
Rust will take time - it has a few concept that I haven’t seen in javascript/python/java/C++ family of languages. But it gives “zero-cost abstractions” i.e. a way to write high-level code without any performance penalty. And it has great tooling and WASM support, which is what you’d be after.
But as I said, it is all not worth it now, just for this application.