IO 😇@lemmy.blahaj.zone to Microblog Memes@lemmy.worldEnglish · 2 个月前oddly specificlemmy.blahaj.zoneimagemessage-square198fedilinkarrow-up11.51Karrow-down113
arrow-up11.49Karrow-down1imageoddly specificlemmy.blahaj.zoneIO 😇@lemmy.blahaj.zone to Microblog Memes@lemmy.worldEnglish · 2 个月前message-square198fedilink
minus-squareJoh4PM@lemmy.worldlinkfedilinkEnglisharrow-up3arrow-down12·2 个月前Since you start counting from zero, the byte limit should be 255 = 2^8 - 1.
minus-squareverstra@programming.devlinkfedilinkEnglisharrow-up46·edit-22 个月前There 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·2 个月前I see what you did there.
minus-squaredohpaz42@lemmy.worldlinkfedilinkEnglisharrow-up18·2 个月前The count is 0 through 255, which equals 256 total.
minus-squaremoriquende@lemmy.worldlinkfedilinkEnglisharrow-up5·2 个月前If you create a table and number the first row with “0”, you’ll need 256 rows to reach row index “255”
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?