Maven (famous)@lemmy.zip to Programmer Humor@programming.dev · 1 month agoDetailed Error Messageslemmy.zipimagemessage-square77fedilinkarrow-up11.01Karrow-down15cross-posted to: programmerhumor@lemmy.ml
arrow-up11.01Karrow-down1imageDetailed Error Messageslemmy.zipMaven (famous)@lemmy.zip to Programmer Humor@programming.dev · 1 month agomessage-square77fedilinkcross-posted to: programmerhumor@lemmy.ml
minus-squarejaybone@lemmy.worldlinkfedilinkarrow-up3·1 month 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 month 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!!