this post was submitted on 06 Nov 2023
170 points (94.3% liked)
Asklemmy
43989 readers
1356 users here now
A loosely moderated place to ask open-ended questions
Search asklemmy ๐
If your post meets the following criteria, it's welcome here!
- Open-ended question
- Not offensive: at this point, we do not have the bandwidth to moderate overtly political discussions. Assume best intent and be excellent to each other.
- Not regarding using or support for Lemmy: context, see the list of support communities and tools for finding communities below
- Not ad nauseam inducing: please make sure it is a question that would be new to most members
- An actual topic of discussion
Looking for support?
Looking for a community?
- Lemmyverse: community search
- sub.rehab: maps old subreddits to fediverse options, marks official as such
- [email protected]: a community for finding communities
~Icon~ ~by~ ~@Double_[email protected]~
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
is it broken now?
So what's the finding?
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.