#dev | Logs for 2017-09-19

« return
[20:13:17] <FatPhil> Getting completely unwarranted lameness filter error
[20:13:38] <FatPhil> What's lame about this post:
[20:13:40] <FatPhil> > Any filtering is CENSORSHIP
[20:13:41] <FatPhil> Bollocks. Filtering is *only* censorship if you are *in control of the medium*. Noone controls the media within which academic journals operate - if you don't like the filtering that reviewers and editors perform in your field of study you are free to find or found an alternative journal.
[20:13:46] <FatPhil> Note that I'm not saying science is a bed of roses,far from it, it's rife with corruption because there's too much money dependence, but groupthink is not censorship; if anything, it's an opportunity to have a voice that really stands out from the crowd, at least if you're demonstrably more right (i.e. less wrong) than the others.
[20:13:51] <FatPhil> ?
[20:14:37] <FatPhil> I can't even imagine what I would need to tweak in order to get it past any meaningful filter.
[20:15:53] <TheMightyBuzzard> FatPhil, what's the text
[20:16:04] <TheMightyBuzzard> the error text
[20:17:35] <FatPhil> Filter error: Are you having fun? I am.
[20:18:56] <TheMightyBuzzard> good good
[20:19:30] <FatPhil> maybe have a (private) #lame channel where lame string matches are reported by a bot, so it can be monitored?
[20:20:35] <FatPhil> Well, I hate to disagree with you, but actualy, it's bad bad.
[20:21:04] <TheMightyBuzzard> fixed
[20:21:32] <TheMightyBuzzard> dunno what was matching but it don't now.
[20:22:40] <FatPhil> That's a supporting argument for dumping $& to #lame
[20:23:19] <FatPhil> yup, it's gone through - thanks for the quick fix
[20:23:56] <TheMightyBuzzard> that would require adding an irc library to rehash and then letting everything matching the filters through.
[20:24:24] <FatPhil> or having it logged to a log file, and then have a sniffer bot tail -F that log file
[20:24:44] <TheMightyBuzzard> either way, it is decidedly not a quick fix.
[20:25:00] <TheMightyBuzzard> whereas tweaking a regex in the web ui is.
[20:25:21] <TheMightyBuzzard> i did test them on dev first, btw. i'm just not Bytram.
[20:25:39] <FatPhil> where's the web ui?
[20:26:03] <TheMightyBuzzard> https://soylentnews.org if you can get to it
[20:27:11] <TheMightyBuzzard> there's some difference in how my local perl handles a compiled extended regex and how the one on prod does as well, which makes things trickier.
[20:32:00] <FatPhil> So dichotomy is a banned word?
[20:33:14] <TheMightyBuzzard> looks like it would false-positive, yes.
[20:36:04] <TheMightyBuzzard> looks like no. it passes.
[20:36:57] <TheMightyBuzzard> growl, snarl.
[20:39:32] <TheMightyBuzzard> what the fucking hell. now it's not matching things it should.
[20:40:21] <FatPhil> Add a text box to that page and have each filter report its matchiness?
[20:40:45] <TheMightyBuzzard> not a "can do this right now" thing
[20:40:46] <FatPhil> so DiceHoldinnggs is banned! :D
[20:41:47] <FatPhil> I should suck the repo and look at rolling a patch
[20:44:09] <TheMightyBuzzard> oh hell, nothing in your post text was tripping the regex. it was something in the topic.
[20:45:32] <TheMightyBuzzard> were you by chance trying to reply to a DN post without changing the topic?
[20:48:41] * TheMightyBuzzard shakes his head and steps out for a smoke
[20:48:59] <FatPhil> never - I treat all DN as devnull
[20:49:10] <TheMightyBuzzard> hrm...
[20:49:17] <FatPhil> in my mind the whole thread doesn't exist
[20:49:49] <TheMightyBuzzard> those damned regexes should be correct as written right now. if they're not there's some perl internals fucking up.
[20:50:43] <TheMightyBuzzard> okay, now it's tripping again
[20:51:55] <TheMightyBuzzard> it's the semi-colon for some reason
[20:55:29] <TheMightyBuzzard> fuck it. they'll just have to stay not-enabled for a bit.
[21:10:38] <TheMightyBuzzard> why. the. shit. is a nearly entirely numeric regex matching &nbsp;?
[21:25:46] <TheMightyBuzzard> oh, missing a ]
[21:56:54] <FatPhil> just about to paste tjat one here!
[22:05:16] <FatPhil> sure you mean \S in the d i c k n i g ones? rather than \s
[22:06:02] <TheMightyBuzzard> yup. that one's to be lazy and block any invisible character entities.
[22:06:29] <TheMightyBuzzard> d&something;ick
[22:07:11] <FatPhil> OK
[22:07:50] <TheMightyBuzzard> come to think of it, that one would block &shy; so that one's superfluous now.
[22:08:43] <FatPhil> TYPing in the dark, so may make errors..." ([dickngrs]&.+;){9,}
[22:09:28] <FatPhil> however, this is enumerating badness, which is doomed to fail
[22:10:32] <TheMightyBuzzard> ya. i really do try and minimize the false positives.
[22:11:36] <FatPhil> [0]* and (0)* are just 0*
[22:12:48] <FatPhil> 88 and 89 look like they could be simplified with /i
[22:13:49] <FatPhil> I think anything that injects 9 http entities is more likely to be evil than legit.