57

As collected from /r/programmerhumor. I think I got all of them.

you are viewing a single comment's thread
view the rest of the comments
[-] julianh@lemm.ee 10 points 1 year ago

These are good but none are compatible with the php gender class.

[-] CanadaPlus@lemmy.sdf.org 9 points 1 year ago* (last edited 1 year ago)

A weirdly limited selection, too. Like, what if you're a Somali?

Look at me, I am your gender now.

[-] zqwzzle@lemmy.ca 4 points 1 year ago* (last edited 1 year ago)

So I found a twitter thread talking about this, and the documentation page seems to indicate it's used as a lookup for a name to indicate the most likely gender of that name is. https://pecl.php.net/package/gender/0.6.0

https://twitter.com/Foone/status/1343285800369147904

[-] zqwzzle@lemmy.ca 4 points 1 year ago* (last edited 1 year ago)

The country inclusion is odd, but then again apple also does this with oddly specific (to someone living in the west) family relations that exist in other countries/cultural regions. https://developer.apple.com/documentation/contacts/cnlabelcontactrelationeldercousinmotherssiblingsdaughterorfatherssistersdaughter

[-] CanadaPlus@lemmy.sdf.org 2 points 1 year ago

That's neat. I don't suppose there's an anthropology community yet?

[-] zqwzzle@lemmy.ca 1 points 1 year ago

I didn't see one in the global search.

[-] CanadaPlus@lemmy.sdf.org 2 points 1 year ago

The Fediverse is imperfectly connected, unfortunately, so you're not guaranteed to see everything that exists on your instance. Hopefully features will be introduced to avoid this exact duplication problem.

[-] Mounticat@kbin.social 1 points 1 year ago* (last edited 1 year ago)

From the documentation, it appears that the country codes are for localization presumbly of the names of the genders.

Edit: Ah, others already said this (didn't refresh and kbin doesn't update this automatically). Refer to above.

[-] in2erval@kbin.social 2 points 1 year ago

My gender is ERROR_IN_NAME ๐Ÿ˜Ž

[-] Daniikk1012@lemmy.world 1 points 1 year ago

What in the hell is KAZAKH_USBEK?

[-] TurtleTourParty@midwest.social 2 points 1 year ago

Kazakhstan / Uzbekistan. Weird that they're considered the same country by this class

this post was submitted on 22 Jun 2023
57 points (90.1% liked)

Programmer Humor

32601 readers
115 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS