0x4E4F@sh.itjust.works to Programmer Humor@programming.devEnglish · edit-23 months agoSometimes, it's backwardssh.itjust.worksexternal-linkmessage-square188fedilinkarrow-up1694arrow-down127
arrow-up1667arrow-down1external-linkSometimes, it's backwardssh.itjust.works0x4E4F@sh.itjust.works to Programmer Humor@programming.devEnglish · edit-23 months agomessage-square188fedilink
minus-squarefibojoly@sh.itjust.workslinkfedilinkarrow-up5·3 months agoWe have a table with literally three columns. One is an id, another a filename and a third a path. Guess which one was picked as the primary key? Never seen something so stupid in 28 years of computing. Including my studies.
minus-squareUnderpantsWeevil@lemmy.worldlinkfedilinkEnglisharrow-up4arrow-down1·3 months agoWell, you don’t want to waste space by adding the same file path twice
We have a table with literally three columns. One is an id, another a filename and a third a path. Guess which one was picked as the primary key?
Never seen something so stupid in 28 years of computing. Including my studies.
Well, you don’t want to waste space by adding the same file path twice