• jaybone@lemmy.world
        link
        fedilink
        arrow-up
        0
        ·
        3 months ago

        You bitwise OR into the higher end bits the user id, in which you have already encoded the user’s gender. (For which you have a util method to extract. )

    • Affidavit@lemm.ee
      link
      fedilink
      arrow-up
      0
      ·
      3 months ago

      Don’t be silly; it’s obvious that there are different error messages for each gender expression. Error logs need to be detailed and specific in order to be useful.