Apparently, PHP has a low threshold for making something an “official” api
- 6 Posts
- 25 Comments
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.devto Programmer Humor@programming.dev•What's stopping you from writing your Rust like this?0·3 months agoIt could be run after git checkout and then rustfmt before commit.
Immich is great for this. You can share an album (or a sungle photo) by creating a link. That link can be password protected and have an expiry duration set.
verstra@programming.devto Memes@lemmy.ml•only one message for reposters: If you didn't make it, don't post your lazy regurgitated trash.311·3 months agoYeah, switching from reddit to lemmy gives a “old internet” wibe: actual people, most of them technically inclined. But with more adoption, these people get diluted by all other kinds of folks.
Same happened with cypto scene. It started with cythography entusiasts, but now it is mostly tech bros.
verstra@programming.devto Technology@beehaw.org•How one YouTuber is trying to poison the AI bots stealing her content0·3 months agoI mean, updating the rules would help - clarifying that feeding data to any model / doing analysis on it requires copyright - but I doubt that it would stop companies from doing it. Because it is hard to prove in court that your work has been stolen.
But there is no real way of enforcing the rules. How would be combat piracy? If you make BitTorrent protocol illegal, people will just that using HTTP or anything else to share copyright-ed material.
verstra@programming.devto Technology@beehaw.org•How one YouTuber is trying to poison the AI bots stealing her content0·3 months agoInteresting, but probably not general and scalable way of fighting this problem. This practice is would be hard to implement for other types of content.
I think that copyright law is inherently unfit for internet. In its core, it is a legal restriction on re-publishing content which cannot be enforced on the internet. It does not prevent piracy or AI companies from collecting data. So I’d say that we should do away with copyright law altogether. This would, of course, remove a lot of incentive for producing content, but I think people would still produce content, even if they are not paid to do it, as long as their basic needs are satisfied. So if we, as a human race, progress to UBI, we can also solve copyright problem.
But if we get stuck in capitalistic age, I guess we have to pretend that information can be owned and legally restricted from redistribution.
verstra@programming.devto Selfhosted@lemmy.world•PSA: LetsEncrypt ending expiration notification emailsEnglish0·3 months agoUptimeKuma looks nice. Simple, but it does what it is supposed to.
Oh, so it actually is GNU operating system. And the thing that I’m using is then Linux operating system, with some GNU tooling. So the quotation is not only overly pedantic, but also wrong.
I’m paid to write rust. It’s better than writing C, Java or Cyton.
Well, editing urls is not a convenient way of navigating a website.
I wish there would be at least a link from each of the modules back to the “hub” for that project.
verstra@programming.devto Selfhosted@lemmy.world•[SOLVED] Can't renew cert on a self-hosted lemmy instance D:English0·4 months agoYou’ve just reminded me to fix cert renewal on my instance. I’m using let’s encrypt & their certbot with nginx and it is great.
Recently my nginx config got too complex, so nginx plugin stopped working correctly, because it wasn’t able to inject the config for ACME challenge correctly anymore. The solution was to manually configure
location /.well-known/acme-challange
to read from a local directory and configure certbot to use a local webroot directory instead of fiddling with nginx config.
verstra@programming.devto Programming@programming.dev•Opinions on this syntax for enums?0·4 months agoWait, why literals? Could you not have just Some, without quotes? Or does this syntax imply that enums use these constants as variant tags?
Re: the pipe symbol - i wanted to also use this syntax but have decided against because pipes just looked stranger than commas.
verstra@programming.devOPto Programming@programming.dev•diskonaut is ncdu, but with better visualization & Rust0·5 months agoOh nice. gdu really is ncdu, just faster (on SSDs).
Link for lazy people: https://github.com/dundee/gdu
verstra@programming.devto Programming@programming.dev•Database of company names + websites?0·8 months agoMaybe search for this on kaggle? Or scrape Wikipedia?
This is the major reason for me. I really liked yaml, because it is way more readable to me than JSON. But then I kept finding new and more confusing yaml features and have realized how over-engineered it is.
Yaml would be great language if it had its features prunned heavy.
They’ve lost potential revenue, but that is not the same as if amazon would come to their house and had stolen their only rucksack prototype.
Potential revenue is not your property.
It still sucks though.
sus of them to drop the slogan “don’t be evil”