verstra

joined 2 years ago
[–] verstra@programming.dev 3 points 1 month ago (8 children)

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?

[–] verstra@programming.dev 8 points 1 month ago

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.

[–] verstra@programming.dev 74 points 1 month ago (5 children)

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.

[–] verstra@programming.dev 9 points 1 month ago (1 children)

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

[–] verstra@programming.dev 1 points 2 months ago

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.

[–] verstra@programming.dev 1 points 2 months ago (2 children)
[–] verstra@programming.dev 17 points 2 months ago

sus of them to drop the slogan "don't be evil"

[–] verstra@programming.dev 14 points 2 months ago (3 children)

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"

[–] verstra@programming.dev 11 points 2 months ago (3 children)
[–] verstra@programming.dev 3 points 2 months ago

Apparently, PHP has a low threshold for making something an "official" api

[–] verstra@programming.dev 6 points 2 months ago

Gender PHP extension is a port of the gender.c program ... The main purpose is to find out the gender of firstnames.

As of why, you don't need a why in open source. Some people treat gender as a function of their firstname, apparently, and need that information somewhere - maybe for localization, maybe for personalization, maybe for form-filling auto-suggestion purposes.

[–] verstra@programming.dev 3 points 3 months ago (4 children)
view more: ‹ prev next ›