Earlier quoted context omitted.
A bad words list is a regex. ;-) But note: for the most part this isn't using regexs, and to the extent it does, it seems largely intended to make the maintainers' lives easier by avoiding having to represent (and maintain) all the permutations they are trying to match for. What's sad though is that they're doing many, many passes through the pattern matcher, rather than just building a single big DFA from the whole…
Could Postgres convert the function into a DFA using the JIT optimizer (based on LLVM)? That might delve into sufficiently smart compiler territory but recognizing a bunch of OR'ed string matches seems on the easier end of optimization passes.
The naughty username checking system used by Twitch
321–330 of 348 posts
Re: The naughty username checking system used by Twitch
#322Earlier quoted context omitted.
>the guy that streamed a talking banana on Twitch Of all the ways I expected a talking banana to backfire, I didn't expect this one. Thanks for sharing
Wait, now I’m extremely curious what failure modes one would expect from a talking banana.
Re: The naughty username checking system used by Twitch
#323Doing this in SQL is absolute insanity. I’ve seen many pieces of code grow in this way and I understand how it happens but still surprises me to see how scrappy things are under the hood at some big-time companies.
Hello, what would be a better way to do it? In code? Regex?
Re: The naughty username checking system used by Twitch
#324Earlier quoted context omitted.
I thought it was something along the lines of "sticks and stones may break my bones but words can break hearts" Basically, the pen is stronger than the sword, kind of morale.
I've never heard that one, but it might be a regional variant. I always heard the other one.
After Googling, I think I might have picked up this version from Tim Minchins song "prejudice" [1] although Google also come up with this clip where a senator also use the "break my heart" version, clearly when it was meant for him to say "never harm" [2]
Re: The naughty username checking system used by Twitch
#325Earlier quoted context omitted.
> But on a collective level we aren't yet (if we'll ever be) as developed a civilization to have empathy on that level. I agree. Which is why we have rules around politeness and manners, which roughly conform to same actions as actual empathy. Which makes sense - people don't always have the same level of empathy, there are lots of neurodivergent people who will never understand empathy but who can learn a set of rul…
> I feel like this respect for being nice to each other so we can all get along is on the wane. I think this is depending on how you see it. The modern landscape with social media makes activists very effective in creating information campaigns that raises awareness of how to be polite in a modern world. Eg. nowadays personal pronouns are complicated business but finding out and respecting individuals chosen pronouns…
In one way, that is of course true, and people who just blithely ignore that, or even explicitly refuse to use the pronouns they're asked to, are of course arseholes.
But OTOH, it feels like it's getting more and more to keep track of -- at least if you also want to keep up the old norms of "good behaviour" we learned as kids. And perhaps that's precisely why some of us are feeling those old norms are falling by the wayside -- maybe people only have some set amount of attention to spend on this stuff, and if something new is added, something else gets crowded out?
If that's the case, do we know for sure that it's unequivocally a good thing? I'm not quite certain.
Re: The naughty username checking system used by Twitch
#326Earlier quoted context omitted.
I'm talking about things like 1. A professor fired for using the N-word in a discussion about racial discrimination 2. A professor placed on leave for using a Chinese expression that sounded like the N-word 3. People that express the opinion that someone who has undergone a gender change operation is different from someone that was born that gender. Expressing an opinion that they're different in some ways; not mocki…
3. The words you use for this are trans and cis. No one is going to get upset at someone for using them. If you are trying to use "creative" language to say the same thing you shouldn't be surprised when people take offense, considering that non-offensive terms already exist.
If you didn't understand that this was what the GP meant you must have led an exceedingly sheltered online life until now. (Which, frankly, feels so unlikely that it feels nearer to hand that your comment was made in bad faith or, at best, unthinkingly.)
Re: The naughty username checking system used by Twitch
#327Earlier quoted context omitted.
People should just be taught (I would consider this is an essential skill which should be put in basic school curriculum to psychologically prepare people for the life, many support/sales professionals learn it quickly but the rest of the people don't) words are just words and they don't have to take them seriously. No word is rude until you consider it rude. No word can actually harm you directly. It's you who is in…
I'm quite a feminine guy and I was always called various homophobic slurs at school. Even though I wasn't gay I didn't understand why it would matter if I was so I would just say "ok". Even when the insults could be considered objectively offensive I'm still generally okay with it. I've been called names quite a bit in the workplace over the years and I'm okay with it if makes them happy. Being autistic I don't reall…
You may be wrong, and these "High EQ individuals" right, in the sense that your acquiescence to this bullying behaviour might encourage the bullies to keep it up with others too. In that sense, your standing up against them would be not just for yourself but for all their potential future victims too, which would increase the future sum total of happiness in the world.
(I'm not saying it is necessarily so, but it may be.)
Re: The naughty username checking system used by Twitch
#328Earlier quoted context omitted.
I adore you but doubt your judgement about those being high EQ individuals. By the way in the middle school we used a derogatory for gay every day without even having any idea of what did it mean, all we knew was that was the worst word we knew. When others bullied me (always (or I just never cared and don't remember the verbal) physically, way harder to endure) I occasionally went mad and called them this word repea…
This is neither here nor there, but I learned from watching Louie that "faggot", the derogatory term for homosexuals, has the same origins as the word "fascism" – a bundle of sticks. The idea is that in the dark days of witch trials, one would, apparently, not only burn supposed witches, but also homosexuals. However, since homosexuals were thought of as less than witches, while a witch got the stake, the homosexuals…
Re: The naughty username checking system used by Twitch
#329Earlier quoted context omitted.
I'm quite a feminine guy and I was always called various homophobic slurs at school. Even though I wasn't gay I didn't understand why it would matter if I was so I would just say "ok". Even when the insults could be considered objectively offensive I'm still generally okay with it. I've been called names quite a bit in the workplace over the years and I'm okay with it if makes them happy. Being autistic I don't reall…
The thing with basic etiquette and other secondary virtues is that if you have none of them, the climate can become horribly rough and unpleasant but you can also overdo them. It's all about a reasonable equilibrium. As for name calling and slurs at work, I don't see a reason why these should ever be tolerated. Someone who cannot demonstrate a minimum of politeness towards their colleagues shouldn't be part of the te…
The problem is when language changes for some but not all, so suddenly words that used to be perfectly normal are considered slurs: Those who learned and use them in the original non-offensive sense are suddenly, and in their own opinion unjustly, seen as bigoted.
Re: The naughty username checking system used by Twitch
#330Earlier quoted context omitted.
People should just be taught (I would consider this is an essential skill which should be put in basic school curriculum to psychologically prepare people for the life, many support/sales professionals learn it quickly but the rest of the people don't) words are just words and they don't have to take them seriously. No word is rude until you consider it rude. No word can actually harm you directly. It's you who is in…
> Uhura : But why should I object to that term, sir? You see, in our century, we've learned not to fear words.