419
top 50 comments
sorted by: hot top controversial new old
[-] RandomVideos@programming.dev 15 points 9 hours ago

Even if every single person in the world had a unique gender, you could store that in 33 bits

You can store that in a small QR code

[-] Floey@lemm.ee 1 points 8 hours ago

Those bits wouldn't really provide the information to construct that gender though.

[-] RandomVideos@programming.dev 2 points 4 hours ago

Neither would if you stored it as a bit

[-] logging_strict@lemmy.ml 3 points 10 hours ago

lets burn down our civilizations by spending all our wealth discussing this

The issue is based on legal terminology. Gender isn't a legal thing only pushed into our vocabulary.

Allocate an unbound memory blob and sit back for the herd of the Rust coders to line up. Sell them a soda while they do their best chicken parody

[-] LovableSidekick@lemmy.world 9 points 17 hours ago

So many other things are also non-binary, but people insist that not being 100% on their side means you're a million percent on the extreme opposite hateful wrong side.

[-] rabber@lemmy.ca 3 points 6 hours ago

A lot of the userbase here thinks this way and it's very tiresome

[-] madcaesar@lemmy.world 3 points 10 hours ago

Absolutely. My baseline is that I want everyone to be treated equally and with respect. I want everyone have the same protections from the government and everyone to be allowed to be and to love whoever they want.

Past that, it gets into minutia I just can't get on board with and it's hurting the left as a whole because people are trying to force language and thought policing on people, which I don't like, it's authoritarian, and I think it's a losing strategy.

[-] AnnaFrankfurter@lemmy.ml 20 points 23 hours ago

Maybe it can be represented by 1qbit

[-] JackbyDev@programming.dev 4 points 9 hours ago* (last edited 9 hours ago)

I don't think so, because with qubits the intermediate values can be non binary but the end result must be binary when read. Unless you wanna make a joke about filling out government forms I guess lol.

[-] stebo02@lemmy.dbzer0.com 7 points 21 hours ago

literally discussed with my friends the other day that gender is like a vector in Hilbert space

[-] CosmicTurtle0@lemmy.dbzer0.com 30 points 1 day ago

There are 10 kinds of people in this world. Those who understand binary and those who don't.

[-] bamboo@lemmy.blahaj.zone 28 points 1 day ago

There are 10 kinds of people in this world. Those who get ternary; those who don't; those who thought this was going to be a binary joke

[-] stebo02@lemmy.dbzer0.com 8 points 21 hours ago

There are 10 kinds of people in this world. Those who get quaternary; those who don't; those who thought this was going to be a ternary joke; those who can see where this is going...

[-] flambonkscious@sh.itjust.works 4 points 18 hours ago

I might be a slow learner but I'm catching on...

[-] JackbyDev@programming.dev 4 points 9 hours ago

Regardless of what base you're using, 10 is always the nth number. In base 10 (normal numbers), 10 is 10th. In base 2 it is the 2nd.

  1. 1
  2. 10
  3. 11

In base 16 (hexadecimal) it is the 16th.

  1. 1
  2. 2
  3. 3
  4. 4
  5. 5
  6. 6
  7. 7
  8. 8
  9. 9
  10. A
  11. B
  12. C
  13. D
  14. E
  15. F
  16. 10

The original joke is "there are 10 kinds of people, those who understand binary and those who don't l" because 10 in binary is 2 in base 10. But they're pointing out that a similar joke works for all bases of numbers.

[-] stebo02@lemmy.dbzer0.com 2 points 10 hours ago

ah I see, you are the 10th kind!

load more comments (2 replies)
[-] davel@lemmy.ml 37 points 1 day ago

My gender is e, which can be represented by neither integers nor floating points.

[-] Rentlar@lemmy.ca 24 points 1 day ago

Can it be expressed or represented approximately in IEEE-754 form?

[-] davel@lemmy.ml 39 points 1 day ago* (last edited 1 day ago)

Always approximated, never truly represented 😞

load more comments (3 replies)
[-] Valmond@lemmy.world 17 points 1 day ago

Everything can be represented approximatively.

e = π = 3

[-] Thorry84@feddit.nl 34 points 1 day ago

Obviously, there is True, False and FILE_NOT_FOUND

load more comments (1 replies)
[-] thisfro@slrpnk.net 24 points 1 day ago

Choose one class of gender:

  • Natural
  • Rational
  • Irrational
  • Complex
[-] AeonFelis@lemmy.world 4 points 10 hours ago

That's a very quaternionphobic list.

[-] affiliate@lemmy.world 13 points 1 day ago

this is p-adic gender erasure

load more comments (1 replies)
[-] ILikeBoobies@lemmy.ca -3 points 10 hours ago

No Y = 0

Presence of Y = 1

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

[-] HiddenLayer555@lemmy.ml 2 points 3 hours ago* (last edited 3 hours ago)

You can have a partial Y chromosome or transfer of Y genes to the X chromosome during meiosis which can result in a person with both sets of sex organs, or more rarely, no sex organs at all. Even genetic sex cannot be accurately represented as one bit (let alone gender identity).

[-] ILikeBoobies@lemmy.ca 1 points 2 hours ago* (last edited 2 hours ago)

Why are conservatives so obsessed with people’s genitals?

In both of those cases you can determine whether a y is present or not

[-] superminerJG@lemmy.world 2 points 2 hours ago

for one, a person's genitals are not necessarily a direct indication of their biological sex, even without considering bottom surgery

[-] ILikeBoobies@lemmy.ca 1 points 1 hour ago

You’re confused, I was saying that

The person above me was saying otherwise but I think they’re a mean person because if someone was in an accident and lost their parts then they would say they aren’t their gender anymore

[-] Natanox@discuss.tchncs.de 6 points 9 hours ago

That's a chromosome you encoded there which is one of a few markers that define sex, not gender.

[-] ILikeBoobies@lemmy.ca -2 points 9 hours ago* (last edited 9 hours ago)

Same thing

It’s meaningless to who the individual is, unless you’re a conservative that believes playing with dolls or wearing makeup makes you a girl but then I don’t care for your opinion

[-] Natanox@discuss.tchncs.de 3 points 8 hours ago

Yes, chromosomes are meaningless to who someone is (except edge-cases).

No, sex and gender aren't the same.

[-] BothsidesistFraud@lemmy.world 4 points 8 hours ago

Imagine confusing gender and sex in 2025

[-] ILikeBoobies@lemmy.ca 2 points 8 hours ago

Imagine enforcing gender roles by treating them as separate things

[-] BothsidesistFraud@lemmy.world 2 points 8 hours ago

We could do laps on this all day. In the end if a trans person says they're trans and this is what it means to them, I'll take them at their word.

[-] ILikeBoobies@lemmy.ca 4 points 7 hours ago* (last edited 7 hours ago)

Of course we’re taking people’s words for it

It would be weird to force people to do a genetic test every time they meet someone new

That’s not relevant to the discussion

[-] BothsidesistFraud@lemmy.world 1 points 7 hours ago

Least sensible discussion I've been in in a while

[-] ILikeBoobies@lemmy.ca 3 points 7 hours ago* (last edited 7 hours ago)

Suit yourself bigot

[-] Swedneck@discuss.tchncs.de 1 points 8 hours ago

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.

[-] ILikeBoobies@lemmy.ca 3 points 7 hours ago

That’s already accounted for in my example

[-] tias@discuss.tchncs.de 18 points 1 day ago* (last edited 1 day ago)

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.

[-] flora_explora@beehaw.org 2 points 7 hours ago

In how far does gender change in your hypothetical metric with transition. If I take hormones for example, I would influence this metric.

Another confusing point would be how you try tracking gender, but having a gender identity value inside the metric. How would you even track this gender then?

load more comments (5 replies)
[-] enbipanic@lemmy.blahaj.zone 7 points 1 day ago

We may have discovered gender entropy, Shannon would be proud

[-] SnotFlickerman@lemmy.blahaj.zone 15 points 1 day ago* (last edited 1 day ago)

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

[-] HiddenLayer555@lemmy.ml 24 points 1 day ago* (last edited 1 day ago)

🚫 const gender

👉 var gender

[-] flamingo_pinyata@sopuli.xyz 9 points 1 day ago

khm, khm
let gender

please don't use deprecated syntax

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

And liable to type conversion errors and precision loss.

load more comments (1 replies)
load more comments (1 replies)
load more comments
view more: next ›
this post was submitted on 14 Jan 2025
419 points (92.0% liked)

Programmer Humor

32707 readers
1146 users here now

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

Rules:

founded 5 years ago
MODERATORS