[ Politics ] Open Question : Could Dem candidate & spiritualist: Marianne Williamson convince Trumpers to give up hate & white identity politics & embrace love and peace?

“Our deepest fear is not that we are inadequate. Our deepest fear is that we are powerful beyond measure. It is our Light, not our Darkness, that most frightens us. ” Marianne Williamson

Hate to keep asking so many questions :)

Still learning a lot.  I’ve tried a zillion different ways and can’t figure out how to scrape Instagram for URLS.

I have have several other bots that scrape IG with ease, but none of them saves the URL in the profile.  I was trying to use Link Extractor to feed it a bunch of IG urls and extract the links to their external sites.  I run it but it gives me zero results.  Is there any way to do this? Thanks!!

[ Family ] Open Question : I hate being different?

I’m so sick and tired of being different because so many people love to press my buttons until I snap. I do muay thai and I enjoy it, even though I’m overweight and a very late bloomer (I started it last year and I’m 23) but I’m confident with my weight. I’m learning kickboxing because I’m a different person, people love to call me a loser until I break their noses. I wished I’ve learned it at an earlier age but it’s too late now because my parents didn’t have the money to sign me up (my dad is a disabled piece of garbage and my mom has to pay rent, groceries, car insurance, etc.) Physically and tastes, pretty much mainstream. I love sports, music and stuff but I’m mentally inefficient. . When they see my true self, they try to bully me until I get pressed and then I snap, especially at work. Whenever people say “it’s your environment or the people around you, change it, get a new job, move to a new school, etc” it’s complete bulls*it. Anywhere you go, it’s the same exact thing. If you don’t know anyone in your new place whether it’s school, job, home, etc. or you’re not “popular”, then you’re going to get bullied or get into fights. When I said “my dad was a disabled P.O.S….. What I meant was he couldn’t be able to work to put me into MMA and even though I was bullied for most of my life, he didn’t even care that I got hurt or anything. Sometimes I wished I didn’t knew him because he such a P.O.S.

Is the homebrew weapon attack cantrip ‘Blade of Hate’ balanced?

I have created some new cantrips which include making a weapon attack as there are only two official ones to choose from. I’ve tried to follow these principles based on Booming Blade and Green-Flame Blade:

  • Melee weapon attack only, 5 foot range
  • No unavoidable extra damage to the primary target at level 1
  • Damage no more than 2 targets
  • Spellcasting ability modifier doesn’t have to affect the spell at all
  • Only available on the Warlock, Sorcerer and Wizard spell lists

But with such a small amount of official content to compare them against, it’s hard to say if they’re balanced.

Is this spell balanced with Booming Blade and Green-Flame Blade?

Blade of Hate

Enchantment cantrip

Casting Time: 1 action
Range: 5 feet
Components: V, M (a weapon)
Duration: 1 round

As part of the action used to cast this spell, you must make a melee attack with a weapon against one creature within the spell’s range, otherwise the spell fails.

On a hit, the target suffers the attack’s normal effects, and it must make a Wisdom saving throw or become afflicted with an irrational hatred of you until the start your next turn. On its turn, it must use its action to attack you or include you as a target of or in the area of a hostile ability if it can. (Other targets may be chosen as well as you if applicable). Undead and creatures immune to being Charmed aren’t affected by this effect.

At 5th level, the attack deals an extra 1d6 psychic damage to the target. The damage roll increases by 1d6 at 11th level and 17th level.

How to make a keyboard for android devices that recognizes hate language/ cuss words? [on hold]

Before I start talking, please do NOT close this question because it is to broad. I am making a keyboard for Android devices that recognizes hate words/ cuss words typed by the user and then shows a alert. Following the Envato Tuts+ https://code.tutsplus.com/tutorials/create-a-custom-keyboard-on-android–cms-226150 tutorial, I have created a regular keyboard for Android devices. It functions like a regular keyboard and you can use it while you are texting, on twitter, etc. I understand that to add word recognition, I would have to simply keep track of the keys pressed, and compare it to a list of words (a hashset of words would be sufficient). If a word in the list is typed, a alert would come up. I have tried to add GlobalKeyListener to recognize certain char codes typed by the user. That idea did not work. I think I would have to create an additional java class to contain the words. Also, I have a old javascript keyboard that recognizes bad words/hate language typed by the user. The word recognition for the javascript keyboard was this:

 $  (function() {    //Hate language/cuss words recognition:   var isValidWord = function(word) { //This code updates the following variables with all the invalid words     var invalidWords = ['fuck', 'ass', 'Fuck', 'Ass', 'bitch', 'Bitch', 'motherfucker', 'MotherFucker', 'assole', 'Assole', 'idiot', 'Idiot', 'stupid', 'Stupid', 'moron', 'Moron', 'gay', 'Gay',]; //This code contains all of the invalid words.      return !invalidWords.find(function(invalid) { //This code returns the function to find invalid words.        return word === invalid; //If the user has typed a invalidWord, this code returns that the word is invalid.     });    };   var $  write = $  ('#write'),     shift = false,     capslock = false; // This code is imported from Jquery.   // It defines 3 variables, textarea, a shift status, and a caps lock status.   $  ('#keyboard li').click(function() { //This code creates 2 variables when a character is clicked (Not a symbol ).     var $  this = $  (this),       character = $  this.html(); // If it's a lowercase letter, nothing happens to this variable       //Blank span // Shift key if ($  this.hasClass('left-shift') || $  this.hasClass('right-shift')) { // If the shift key is pressed,(The shift key is left or right shift) we togle the uppercase value of each letter.   $  ('.letter').toggleClass('uppercase'); //This code calls the leter to be uppercase.   $  ('.symbol span').toggle(); //Nothing happens if it is a symbol.    shift = (shift === true) ? false : true; // This code sets the shift key to the opposite boolean. (If shift key= false, set it to true.)   capslock = false; // capslock is not enabled.   return false; // If the code above is true, the computer returns a false. The false  } // Caps lock if ($  this.hasClass('capslock')) {   $  ('.letter').toggleClass('uppercase'); //This code gets the letters you type in and toggles their class to uppercase.   capslock = true; //This code sets the capslock button to true.   return false; // This code returns the boolean false to the computer, setting the caps lock to false.  } // Delete if ($  this.hasClass('delete')) { //This Code happens when hit the delete button.   var html = $  write.val(); // This code defines the variable HTML to the write vairiable.val, which gets the letters you typed in earlier.    $  write.val(html.substr(0, html.length - 1)); //This code makes the delete button delete. The number 0 defines that it deletes the previous number and the number -1 takes away part of the string typed by the user.   return false; }    // Special characters   if ($  this.hasClass('symbol')) character = $  ('span:visible', $  this).html(); //This code sets the symbol charactes' spam to visable, and gets what the characters look like from the HTML that I have typed in earlier.   if ($  this.hasClass('space')) character = ' '; //Makes a space bettween characters and symbols typed by the user.   if ($  this.hasClass('tab')) character = "\t" // This code uses the \t metaCharacter which finds a tab character. It returns the number in the string of where the character was found, and if the user has not typed anything, it returns -1)   if ($  this.hasClass('return')) character = "\n"; // This code uses the \n metaCharacter. If return is pressed, the computer located the user to another line. If there are no more lines, it stays on the same line.    // Uppercase letters   if ($  this.hasClass('uppercase')) character = character.toUpperCase(); // This code defines the uppercase method and the toUpperCase method. If you have clicked shift or caps lock, it toggles the uppercase class. It would not work for me so I did some rechearch. I figured out that you need to add the toUpperCase method. The method sets any strings typed and sets the class to uppercase. (I defeined the classes in the index.HTML file.)    // Remove shift once a key is clicked.   if (shift === true) { //This code happenes when shift is true. (Shift is true when it is pressed.)     $  ('.symbol span').toggle(); //This code happens when a symbol is pressed when shift is on     if (capslock === false) $  ('.letter').toggleClass('uppercase'); // This code happens when capsLock is false and the shift key is pressed. After a character is pressed with the shift key, the shift is set to false.      shift = false; //Sets the shift key to false.   }   var inputText = $  write.val() + character; //This code defines the variable inputText to the current letters typed, plus the new character typed.    var words = inputText.split(' '); // This code defines the variable words to the variable inputText, and then splits the text. A split in the tex is when you take a part of a string away.   var lastWord = words[words.length - 1] // This code gets the last word the user typed by getting the length of the word and taking 1 letter away.    if (isValidWord(lastWord)) { //This code detirmines if the last word typed by the user is a valid word.      $  write.val(inputText); //If the last word typed by the user is a valid word, it types the word.    } else {     alert('Error: The word you have just typed contains hate language/cuss words. These words are mean and have the possibiliy of hurting someones feelings. Do you want to ThinkTwice about what you have just said?'); //If the last typed word is invalid, this alert comes up.        }     }); }); 

If someone can please help me develop this keyboard, it would be greatly appreciated.

Node JS library to find if text has abuse, porn, bad words, hate speech etc

This question might get removed because Stackoverflow does not entertain such question. But I really need help.

Can someone please help me in finding a library that finds if a string/text/paragraph has hate speech, porn, child abuse, F words, feminism speech, nazi speech etc. ?

Also, if this is not the platform for that, please advice me where I can post this question.