@hydroptic@sopuli.xyz to Programmer Humor@programming.dev • 4 months ago"☹️".reverse() == "🙂"sopuli.xyzimagemessage-square22fedilinkarrow-up1321arrow-down117cross-posted to: programmerhumor@lemmy.ml
arrow-up1304arrow-down1image"☹️".reverse() == "🙂"sopuli.xyz@hydroptic@sopuli.xyz to Programmer Humor@programming.dev • 4 months agomessage-square22fedilinkcross-posted to: programmerhumor@lemmy.ml
minus-square@petey@aussie.zonelinkfedilink27•4 months agoI’m tempted to publish an NPM package to do so as a joke, but I fear that it’d get used seriously
minus-square@RonSijm@programming.devlinkfedilink7•4 months agoWhere does it end though? It’s a bit like infinite craft - but instead of combining resources you’d have to find an inverse for every emoji
minus-square@Feathercrown@lemmy.worldlinkfedilinkEnglish6•edit-24 months agoasync function reverse(str){ return ChatGPT.ask(`Please reverse the string ${str}. Reply only with the answer, without other words or symbols.`); }
I’m tempted to publish an NPM package to do so as a joke, but I fear that it’d get used seriously
Where does it end though? It’s a bit like infinite craft - but instead of combining resources you’d have to find an inverse for every emoji
async function reverse(str){ return ChatGPT.ask(`Please reverse the string ${str}. Reply only with the answer, without other words or symbols.`); }