Maven (famous)@lemmy.zip to Programmer Humor@programming.dev · 1 year agoDetailed Error Messageslemmy.zipexternal-linkmessage-square76linkfedilinkarrow-up11.03Karrow-down15
arrow-up11.02Karrow-down1external-linkDetailed Error Messageslemmy.zipMaven (famous)@lemmy.zip to Programmer Humor@programming.dev · 1 year agomessage-square76linkfedilink
minus-squarejaybone@lemmy.worldlinkfedilinkarrow-up3·1 year agoYou 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. )
minus-squarethanks_shakey_snake@lemmy.calinkfedilinkarrow-up3·1 year agoWhat the hell kind of second-rate DBMS doesn’t encode gender into its primary keys SMDH!!
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. )
What the hell kind of second-rate DBMS doesn’t encode gender into its primary keys SMDH!!