InevitableSwing [none/use name]@hexbear.net to Chapotraphouse@hexbear.netEnglish · 4 days agoThe AI Riemann hypothesis proof is true, independent mathematicians confirmwww.scientificamerican.comexternal-linkmessage-square60linkfedilinkarrow-up152arrow-down10cross-posted to: technology@lemmy.world
arrow-up152arrow-down1external-linkThe AI Riemann hypothesis proof is true, independent mathematicians confirmwww.scientificamerican.comInevitableSwing [none/use name]@hexbear.net to Chapotraphouse@hexbear.netEnglish · 4 days agomessage-square60linkfedilinkcross-posted to: technology@lemmy.world
minus-squareuserse31 [it/its, she/her]@hexbear.netlinkfedilinkEnglisharrow-up10·4 days agoMaybe the AI is far sighted and mistoke the “m” for an “n”.
minus-squareLe_Wokisme [they/them, undecided]@hexbear.netlinkfedilinkEnglisharrow-up9·4 days agohave it write code to count a character in a string and it’ll probably work. or don’t because the whole exercise is a frivolous waste
minus-squareoliveoil [none/use name]@hexbear.netlinkfedilinkEnglisharrow-up3·3 days agoI’m pretty sure that the models which are counting correctly now are doing something along those lines. Calculation stuff too.
minus-squareSoot [any]@hexbear.netlinkfedilinkEnglisharrow-up3·3 days agoMe wasting a kilowatt-hour, 2 cents, and a cupful of water instead of typing "riemann".count('n')
minus-squareinvalidusernamelol [he/him]@hexbear.netlinkfedilinkEnglisharrow-up2·3 days agoimport sys from collections import Counter def count(word: str, letter: str) -> int: if letter not in word: return 0 return Counter(word)[letter] if __name__ == '__main__': print(count(*sys.argv[1:3])
I shit you not, first try:
Maybe the AI is far sighted and mistoke the “m” for an “n”.
have it write code to count a character in a string and it’ll probably work. or don’t because the whole exercise is a frivolous waste
I’m pretty sure that the models which are counting correctly now are doing something along those lines.
Calculation stuff too.
Me wasting a kilowatt-hour, 2 cents, and a cupful of water instead of typing
"riemann".count('n')import sys from collections import Counter def count(word: str, letter: str) -> int: if letter not in word: return 0 return Counter(word)[letter] if __name__ == '__main__': print(count(*sys.argv[1:3])