- Joined on Aug 30, 2020
ryexandrite commented on pull request hexbear-collective/lemmy-hexbear#296
feature/keyword-filtering-mainPer the rust documentation https://docs.rs/regex/1.4.5/regex/#untrusted-input > Untrusted regular expressions are handled by capping the size of a compiled regular expression. (See…
2 years ago
ryexandrite commented on pull request hexbear-collective/lemmy-hexbear#296
feature/keyword-filtering-main@zongor @DashEightMate I think the one main inprovment is that insted of compialing multiple regex they should be concatenated into one large regex and compiled once. This means that the DFA is…
2 years ago
ryexandrite commented on pull request hexbear-collective/lemmy-hexbear#296
feature/keyword-filtering-main@DashEightMate by a plaintext containes check do you mean in the sql query itself? If so I'm not sure how I feel about that. the use of a sql `ILIKE` is a heavy performance hit for the database it…
2 years ago
ryexandrite commented on pull request hexbear-collective/lemmy-hexbear#296
feature/keyword-filtering-mainI'm as of yet unconvinced on the regex functionality. I'd be a lot more comfertable with striping grouping regex charateres and only allowing `[]\.*+?`. Rust has the memory safty to prevent large…
2 years ago
ryexandrite commented on pull request hexbear-collective/lemmy-hexbear#296
feature/keyword-filtering-mainthis is what I was worried about, good catch.
2 years ago
ryexandrite commented on pull request hexbear-collective/lemmy-hexbear#296
feature/keyword-filtering-mainyes, same sugestion I made for the comments, good catch.
2 years ago
ryexandrite approved hexbear-collective/lemmy-hexbear#296
feature/keyword-filtering-mainLGTM
2 years ago
ryexandrite commented on pull request hexbear-collective/hexbear-frontend#172
Add keyword filtering UINOTE: do not merge this until hexbear-collective/lemmy-hexbear#296 is also merged
2 years ago
ryexandrite approved hexbear-collective/hexbear-frontend#172
Add keyword filtering UIWe'll want to come up with an alt color for the secondary color I think.
2 years ago
ryexandrite commented on pull request hexbear-collective/hexbear-frontend#172
Add keyword filtering UIas long as we can put in place midigations to prevent regex computation / exacution time and memory exploits in the backend (which rust supports) I think we can be ok allowing regex special chars.
2 years ago
ryexandrite commented on pull request hexbear-collective/lemmy-hexbear#296
feature/keyword-filtering-mainwe will need to do some testing to make sure this can't be abused we dont; want someone constructing an obsurdly expensive regex. if you can, please take a look at…
2 years ago
ryexandrite suggested changes for hexbear-collective/lemmy-hexbear#296
feature/keyword-filtering-mainLooking good, I think there needs to be some final changes to how the comment filter is done for efficiency but this is otherwise looking good.
2 years ago
ryexandrite commented on pull request hexbear-collective/lemmy-hexbear#296
feature/keyword-filtering-mainThis itterator too may run when it is not needed. we only need to iterate if there are comments to filter. a check for `bad_comment_ids.is_empty()` would be best.
2 years ago
ryexandrite commented on pull request hexbear-collective/lemmy-hexbear#296
feature/keyword-filtering-mainThis loop seems inefficient to me.
2 years ago
ryexandrite commented on pull request hexbear-collective/lemmy-hexbear#296
feature/keyword-filtering-mainok, I think we can trust it in that respect if things compile.
2 years ago
ryexandrite commented on pull request hexbear-collective/hexbear-frontend#172
Add keyword filtering UIis that blue color of the keywords tied to the theme?
2 years ago
ryexandrite commented on pull request hexbear-collective/hexbear-frontend#172
Add keyword filtering UIah, my bad. for some reason I was thinking these were somthing local.
2 years ago
ryexandrite suggested changes for hexbear-collective/hexbear-frontend#172
Add keyword filtering UI2 years ago
ryexandrite commented on pull request hexbear-collective/hexbear-frontend#172
Add keyword filtering UIIs there a better name for these component than `Disclosure`?
2 years ago
ryexandrite dismissed review from ryexandrite for hexbear-collective/hexbear-frontend#172
Reason:
2 years ago