not_IO@lemmy.blahaj.zone to Microblog Memes@lemmy.worldEnglish · 3 days agooddly specificlemmy.blahaj.zoneimagemessage-square199fedilinkarrow-up11.48Karrow-down113
arrow-up11.47Karrow-down1imageoddly specificlemmy.blahaj.zonenot_IO@lemmy.blahaj.zone to Microblog Memes@lemmy.worldEnglish · 3 days agomessage-square199fedilink
minus-squaresquaresinger@lemmy.worldlinkfedilinkEnglisharrow-up32·3 days agoIf this is about a counter for users in the chat, sure. But if this is an array of users indexed by an 8-bit number, then it will fit 256 slots with the first slot being numbered 0.
minus-squaresquaresinger@lemmy.worldlinkfedilinkEnglisharrow-up1·1 day agoUnless it’s lua, then screw anyone programming with it. Have to use lua for my current project and the 1-based indexing is really screwing with me.
If this is about a counter for users in the chat, sure. But if this is an array of users indexed by an 8-bit number, then it will fit 256 slots with the first slot being numbered 0.
this guy indexes
Unless it’s lua, then screw anyone programming with it.
Have to use lua for my current project and the 1-based indexing is really screwing with me.
Fair, sounds reasonable