The Picard Maneuver to Funny: Home of the Haha • 10 months agoGood effortstartrek.websiteimagemessage-square129fedilinkarrow-up11Karrow-down111
arrow-up1993arrow-down1imageGood effortstartrek.websiteThe Picard Maneuver to Funny: Home of the Haha • 10 months agomessage-square129fedilink
minus-square@DoomBot5linkEnglish2•10 months agoNo elephants in the room, but there is an elephant. I expect nothing less of this level of pandentics from a bot.
minus-squareDefederateLemmyMllinkfedilinkEnglish2•10 months agoelephant_generator.sh #!/bin/bash elephantCount=0 for (( i=0; i<=${elephantCount}; i++ )); do echo "Insert elephant ${i}" done
minus-square@DoomBot5linkEnglish0•10 months agoThat’s all fine, but the issue comes from the natural language processing layer. “elephants == elephant > 1” so elephant = 1 is still valid.
Is this an off-by-one error?
No elephants in the room, but there is an elephant. I expect nothing less of this level of pandentics from a bot.
elephant_generator.sh
#!/bin/bash elephantCount=0 for (( i=0; i<=${elephantCount}; i++ )); do echo "Insert elephant ${i}" done
That’s all fine, but the issue comes from the natural language processing layer. “elephants == elephant > 1” so elephant = 1 is still valid.