HiddenLayer555@lemmy.ml to Showerthoughts@lemmy.worldEnglish · 3 months agoSaying "over" on the radio is like the null byte at the end of a string.message-squaremessage-square22fedilinkarrow-up1209arrow-down110
arrow-up1199arrow-down1message-squareSaying "over" on the radio is like the null byte at the end of a string.HiddenLayer555@lemmy.ml to Showerthoughts@lemmy.worldEnglish · 3 months agomessage-square22fedilink
minus-squareA_norny_mousse@feddit.orglinkfedilinkarrow-up4arrow-down1·3 months agoReminds me of some TV show where a rookie cop tended to forget that and the cop on the other end just stubbornly waited for an answer, every time. Of course you can always just stop listening after n bytes, no need for a null byte then.
minus-squareAnUnusualRelic@lemmy.worldlinkfedilinkarrow-up4·3 months agoYou always add a timeout. It’s a basic safety.
Reminds me of some TV show where a rookie cop tended to forget that and the cop on the other end just stubbornly waited for an answer, every time.
Of course you can always just stop listening after n bytes, no need for a null byte then.
You always add a timeout. It’s a basic safety.