this post was submitted on 14 Jan 2025
415 points (90.4% liked)

Programmer Humor

32877 readers
1843 users here now

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

Rules:

founded 5 years ago
MODERATORS
 
(page 2) 36 comments
sorted by: hot top controversial new old
[–] tias@discuss.tchncs.de 17 points 1 day ago* (last edited 1 day ago) (6 children)

I've been thinking about this now and again. IMO gender, if one insists on tracking it at all (which I mostly find counterproductive), would need to be a vector / tuple of floating-point values. The components would be something like:

  1. Sexual Development Index: Encodes chromosomal sex, genitalia, and other primary sexual characteristics (X/Y chromosome ratio).
  2. Hormonal Balance & Secondary Sexual Characteristics: Combines hormonal levels and the resulting secondary traits (body hair, muscle mass, etc.).
  3. Brain Structure: A dimension indicating how a person's brain structure aligns with typical male or female patterns.
  4. Gender Identity: A measure of self-identified gender, representing the psychological and social dimension.
  5. Fertility/Intersex Traits: A combined measure of fertility potential and the presence of intersex traits (e.g., ambiguous genitalia, mixed gonadal structures, etc.).

Ideally it would track the specific genes that code for all of the above factors, but unfortunately science hasn't got those down yet.

[–] thisfro@slrpnk.net 9 points 1 day ago

Also genes is only half of it. Expression of genes is another, complicated story.

[–] Bumblefumble@lemm.ee 3 points 1 day ago (1 children)

A good way would be to create as many variables as possible that map anything relevant, genes, upbringing, sexual and gender expression, etc., and then doing a PCA to reduce the defining vector to as few elements as possible.

[–] tias@discuss.tchncs.de 3 points 1 day ago

I like how you think but I'm not sure if that alone will hold water. A variable can vary wildly even though it's not very relevant to the property you're interested in, and PCA would consider such a variable to be very significant. Perhaps a neural network could find a latent space. But ideally we want the components to have some intuitive meaning for humans.

[–] shininghero@pawb.social 4 points 1 day ago

Gender Identity, now with linear algebra. Those 3b1b videos are going to be super useful, but not in the way the author intended.

[–] ryannathans@aussie.zone 2 points 1 day ago

These are all measurable except 4

load more comments (2 replies)
[–] SnotFlickerman@lemmy.blahaj.zone 16 points 1 day ago* (last edited 1 day ago) (3 children)

Gender is not a boolean value, it's a variable.

[–] HiddenLayer555@lemmy.ml 25 points 1 day ago* (last edited 1 day ago) (1 children)

🚫 const gender

👉 var gender

[–] flamingo_pinyata@sopuli.xyz 9 points 1 day ago (2 children)

khm, khm
let gender

please don't use deprecated syntax

[–] Alfenstein@lemmy.ml 6 points 1 day ago

May be gdscript

load more comments (1 replies)
[–] Atlusb@lemmy.world 14 points 1 day ago (1 children)

And liable to type conversion errors and precision loss.

[–] NocturnalMorning@lemmy.world 9 points 1 day ago

Jesus, why'd you have to bring floating point and machine precision into the conversation? Now I won't sleep. And the nightmares will be worse than before.

[–] SpaceNoodle@lemmy.world 5 points 1 day ago

A boolean variable?

[–] enbipanic@lemmy.blahaj.zone 7 points 1 day ago

We may have discovered gender entropy, Shannon would be proud

[–] leaky_shower_thought@feddit.nl 7 points 1 day ago (1 children)
[–] MeatPilot@lemmy.world 3 points 1 day ago (1 children)

0100100100100111011011010010000001100001001000000111001001101111011000100110111101110100001000000110000101110100011101000111001001100001011000110111010001100101011001000010000001110100011011110010000001101101011000010110011101101110011001010111010001110011

[–] LifeLemons@lemmy.ml 2 points 1 day ago

There are 2⁶⁴ genders

[–] Valmond@lemmy.world 3 points 1 day ago (1 children)

As it is not stable I'd go with a database.

Sqlite.

[–] AkatsukiLevi@lemmy.world 5 points 1 day ago (1 children)

Better go with MySQL to ensure foreign keys comstrains

load more comments (1 replies)
[–] ILikeBoobies@lemmy.ca -3 points 1 day ago (16 children)

No Y = 0

Presence of Y = 1

Looks like you can express it with binary if you want, though you would need an interpreter

[–] Swedneck@discuss.tchncs.de 1 points 1 day ago (1 children)

except that genetics isn't that simple, there's many many things that go into structuring your body. Even biological sex isn't binary, there's plenty of overlap. People can literally be born with both sets of genitals afaik.

load more comments (1 replies)
load more comments (15 replies)
load more comments
view more: ‹ prev next ›