0x4E4F@sh.itjust.works to Programmer Humor@programming.devEnglish · edit-23 months agoSometimes, it's backwardssh.itjust.worksexternal-linkmessage-square187fedilinkarrow-up1717arrow-down129
arrow-up1688arrow-down1external-linkSometimes, it's backwardssh.itjust.works0x4E4F@sh.itjust.works to Programmer Humor@programming.devEnglish · edit-23 months agomessage-square187fedilink
minus-squarefibojoly@sh.itjust.workslinkfedilinkarrow-up7·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