IO, the Angel@lemmy.blahaj.zone to Microblog Memes@lemmy.worldEnglish · 2 months agooddly specificlemmy.blahaj.zoneimagemessage-square198linkfedilinkarrow-up11.49Karrow-down112
arrow-up11.48Karrow-down1imageoddly specificlemmy.blahaj.zoneIO, the Angel@lemmy.blahaj.zone to Microblog Memes@lemmy.worldEnglish · 2 months agomessage-square198linkfedilink
minus-squareJoh4PM@lemmy.worldlinkfedilinkEnglisharrow-up3arrow-down12·2 months agoSince you start counting from zero, the byte limit should be 255 = 2^8 - 1.
minus-squareverstra@programming.devlinkfedilinkEnglisharrow-up45·edit-22 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·2 months agoI see what you did there.
minus-squaredohpaz42@lemmy.worldlinkfedilinkEnglisharrow-up18·2 months agoThe count is 0 through 255, which equals 256 total.
minus-squaremoriquende@lemmy.worldlinkfedilinkEnglisharrow-up4·2 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·2 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?