Writing problems: Male characters underrepresented due to coin flips constantly coming up tails


@alexbuzzbee coin flips are not cryptographically secure. Use bytes read from /dev/random, modulo get_num_genders()

· · Web · 1 · 1 · 2

@bugaevc but get_num_genders returns a floating-point infinity

@alexbuzzbee @bugaevc Computers can't represent arbitrary precision, anyway. Just take a weighted sample from genderspace, binned to your machine word's precision.

Sign in to participate in the conversation
Mastodon for Tech Folks

This Mastodon instance is for people interested in technology. Discussions aren't limited to technology, because tech folks shouldn't be limited to technology either!