cheese_greater@lemmy.world to Asklemmy@lemmy.ml · 10 months agoHow far can Lemmy support nested comments? Let's find outmessage-squaremessage-square258fedilinkarrow-up1182arrow-down111file-text
arrow-up1171arrow-down1message-squareHow far can Lemmy support nested comments? Let's find outcheese_greater@lemmy.world to Asklemmy@lemmy.ml · 10 months agomessage-square258fedilinkfile-text
minus-squareBlueÆther@no.lastname.nzlinkfedilinkarrow-up7·10 months agoIt looks like you broke the interwebs my mate
minus-squarecheese_greater@lemmy.worldOPlinkfedilinkarrow-up4·10 months agoDid I actually do something bad? Like are y’all upset at me?
minus-squareAnbalsilfer@lemmy.mllinkfedilinkarrow-up13·edit-210 months agoYou’re a grey hat. Technical problems like these are likely to never get fixed until their consequences are demonstrated.
minus-squarecheese_greater@lemmy.worldOPlinkfedilinkarrow-up1·9 months agoI feel like I’m def more of an IdeasGuy, like I don’t implement stuff but I guess I’m good at finding edge cases/outliers.
minus-squareBlueÆther@no.lastname.nzlinkfedilinkarrow-up3·10 months agolooks like 128 deep from here, and that number feels very familiar some how. I just cant place where Ive seen it before…
minus-squareu/lukmly013 💾 (lemmy.sdf.org)@lemmy.sdf.orglinkfedilinkarrow-up5·10 months agoHmm… I got 99. The red line is there 14 times with full color change + 1 extra line. Each time it’s 7 colors, so 99. I double-checked.
minus-squareBlueÆther@no.lastname.nzlinkfedilinkarrow-up11·10 months agoIf in doubt look at the code: const MAX_COMMENT_DEPTH_LIMIT: usize = 100; I Guess that is the answer
minus-squareu/lukmly013 💾 (lemmy.sdf.org)@lemmy.sdf.orglinkfedilinkEnglisharrow-up4·10 months agoNow, what would happen with other instances if you compiled it with higher number for your own 🤔
minus-squareBlueÆther@no.lastname.nzlinkfedilinkarrow-up3·10 months agoI think you are correct, I based it on:
minus-squareFeathercrown@lemmy.worldlinkfedilinkEnglisharrow-up1·9 months agoMaybe there are branches in the tree of comments?
minus-squareFeathercrown@lemmy.worldlinkfedilinkEnglisharrow-up4·9 months ago128 = 2^7; powers of 2 show up a lot in computing. Looks like it’s 100 though per the below comment.
It looks like you broke the interwebs my mate
Did I actually do something bad? Like are y’all upset at me?
You’re a grey hat. Technical problems like these are likely to never get fixed until their consequences are demonstrated.
I feel like I’m def more of an IdeasGuy, like I don’t implement stuff but I guess I’m good at finding edge cases/outliers.
Yes but like quantified…
looks like 128 deep from here, and that number feels very familiar some how. I just cant place where Ive seen it before…
Hmm… I got 99. The red line is there 14 times with full color change + 1 extra line. Each time it’s 7 colors, so 99. I double-checked.
If in doubt look at the code:
const MAX_COMMENT_DEPTH_LIMIT: usize = 100;
I Guess that is the answer
Now, what would happen with other instances if you compiled it with higher number for your own 🤔
I think you are correct, I based it on:
Maybe there are branches in the tree of comments?
128 = 2^7; powers of 2 show up a lot in computing. Looks like it’s 100 though per the below comment.
deleted by creator