IO 😇@lemmy.blahaj.zone to Microblog Memes@lemmy.worldEnglish · 6 months agooddly specificlemmy.blahaj.zoneimagemessage-square198linkfedilinkarrow-up11.51Karrow-down114
arrow-up11.49Karrow-down1imageoddly specificlemmy.blahaj.zoneIO 😇@lemmy.blahaj.zone to Microblog Memes@lemmy.worldEnglish · 6 months agomessage-square198linkfedilink
minus-squareJoh4PM@lemmy.worldlinkfedilinkEnglisharrow-up3arrow-down12·6 months agoSince you start counting from zero, the byte limit should be 255 = 2^8 - 1.
minus-squareverstra@programming.devlinkfedilinkEnglisharrow-up46·6 months agoThere are only two hard problems in computer science: naming things, cache invalidation, off-by-one errors. I’m afraid you’ve fell victim to the problem 2.
minus-squareAbsolutelyNotAVelociraptor@sh.itjust.workslinkfedilinkEnglisharrow-up6·6 months agoI see what you did there.
minus-squaredohpaz42@lemmy.worldlinkfedilinkEnglisharrow-up18·6 months agoThe count is 0 through 255, which equals 256 total.
minus-squaremoriquende@lemmy.worldlinkfedilinkEnglisharrow-up5·6 months agoIf you create a table and number the first row with “0”, you’ll need 256 rows to reach row index “255”
minus-squaretgt@programming.devlinkfedilinkEnglisharrow-up3·6 months agoI guess it’s you and 255 others?
Since you start counting from zero, the byte limit should be 255 = 2^8 - 1.
There are only two hard problems in computer science:
I’m afraid you’ve fell victim to the problem 2.
I see what you did there.
The count is 0 through 255, which equals 256 total.
If you create a table and number the first row with “0”, you’ll need 256 rows to reach row index “255”
I guess it’s you and 255 others?