## Looking to build a game that uses names of Premier League teams – what are the steps required to stay compliant

I am looking to build a game that users would play weekly. In order for the game to make sense, I would have to display the names of the 20 Premier League teams playing on a weekly basis. I will not be using the names of players themselves. The game would require people to pay to contend for their share of a weekly pot of winnings.

The game would be similar to: https://fantasy.espn.com/games/english-premier-league-pickem-2020/make-picks

## SQL Server Always On AG – Is a Passive Secondary Required for Automatic Failover?

It is my understanding that for automatic failover to occur in an Always On AG environment, the replicas just need to be configured with "automatic failover," "synchronous commit" and the environment must have proper quorum (i.e. odd number of voting members).

However, according to the "SQL Server 2019 Always On" textbook by Peter A. Carter, for automatic failover to work, the secondary cannot be active and must be passive. Passive meaning the Readable Secondary setting is set to ‘No’ so it is unavailable for direct connections or read access, and obviously no backups can be done on them either.

Here is the exact statement from the textbook:

"Although we can change the value of Readable Secondary through the GUI while at the same time configuring a replica for automatic failover without error, this is simply a quirk of the wizard. In fact, the replica is not accessible since active secondaries are not supported when configured for automatic failover."

Here’s a screenshot of the "quirk"

Note: According to the textbox, the Readonly Secondary should be set to ‘No’ if you want automatic failover to work. Thinking back, I don’t recall a successful automatic failover occurring with this set up and I believe when an issue occurred, the AG was in a RESOLVING state. Note, we have third server for proper quorum.

I’ve searched through Microsoft’s documentation to confirm whether or not the author’s statement is true but have yet to find anything that explicitly states that the secondary replica must be passive for automatic failover to work. This Microsoft article (Failover and Failover Modes (Always On Availability Groups)) states the conditions required for automatic failover but does not mention needing a passive secondary replica.

So is the author correct and Microsoft has failed to advertise this OR is the author incorrect and automatic failover does work when the secondary replica is active/readable? My objective is to have a highly available environment with automatic failover but do we need to sacrifice offloading read operations in order to accomplish this? Adding another server is not an option.

## Clicking custom plugin admin menu redirects to “No Update Required” on live site

I built a custom WordPress plugin that sends woocommerce purchase info to a CRM. The plugin works perfectly on localhost. But on live site, whenever I click on the admin menu, I always get redirected to "No Update Required" page.

Here is my main plugin file:

``/**  * Plugin Name: Woo Crm  * Description: Sends customer data to the CRM on purchase.  */  if (!defined('ABSPATH')) {     echo 'I am a plugin I cannot do anything when called directly.';     exit; }  // Config define('PLUGIN_NAME', 'Woo Crm'); define('PLUGIN_SLUG', 'woo_crm'); define('PLUGIN_URL', plugin_dir_url(__FILE__)); define('PLUGIN_PATH', plugin_dir_path(__FILE__));  // Imports require_once(PLUGIN_PATH . 'utils/utils.php'); require_once(PLUGIN_PATH . 'views/views.php'); require_once(PLUGIN_PATH . 'services/crm/crm.php'); require_once(PLUGIN_PATH . 'views/components/settings/settings.php');  class WooCrm {     function __construct()     {         // Register Styles         add_action('admin_enqueue_scripts', array(\$  this, 'register_styles'));          // Create Menu Page         add_action('admin_menu', array(\$  this, 'plugin_setup_menu'));          // Add Settings Fields to Menu Page         add_action('admin_init', array('settings', 'init'));          // Woocommerce hook         /**          * First check if WooCommerce is activated          * Then check if hook isn't empty          */         if (class_exists('WooCommerce')) {             \$  hook = get_when_to_send_data_hook();             if (!empty(\$  hook)) {                 add_action(\$  hook, array(\$  this, 'woo_order_create_client'));             }         }     }      function woo_order_create_client(\$  order_id)     {         // Create client logic     }      function plugin_setup_menu()     {         \$  icon_url = PLUGIN_URL . "public/images/dash-icon.png";         add_menu_page(__(PLUGIN_NAME, PLUGIN_SLUG), __(PLUGIN_NAME, PLUGIN_SLUG), 'manage_options', PLUGIN_SLUG, array('views', 'admin'), \$  icon_url);     }      function register_styles()     {         wp_register_style('woo_crm_admin', PLUGIN_URL . 'public/css/admin.css');         wp_enqueue_style('woo_crm_admin');     }  }  new WooCrm(); ``

Any help would be highly appreciated.

## What non-component materials are required for wizard spells?

I am currently playing a wizard, and trying to plan ahead. I am making the assumption that all published spells are common and known to him, so while he cannot cast them yet, he is aware of them all, and how they work.

As such he is planning ahead, trying to gather whatever he can to make those spells work when (if) he ever learns to cast them.

Examples:

Scrying (Divination, level 4)

Items belonging to a potential target: likeness or picture; possession or garment; body part (lock of hair, nail etc)

Teleport (Conjuration, level 7)

Items from a location: associated object taken within the last 6 months

Dream (Illusion, level 5)

Items belonging to a potential target: body part (lock of hair, nail etc)

Infernal calling (Conjuration, level 5)

Items belonging to a devil: talisman

Animate dead (Necromancy, level 3)

Something to animate: pile of bones; corpse of a medium or small humanoid

I have been through all the spells that I can find, but my question is: are there any items I have missed that are not material components, but have a specified positive effect on the spell in the same way as the above items.

I only care about the wizard spell list using all official sources (including optional spells such as from TGtE and dunamancy from EGtW).

## Is the brass brazier required for find familiar?

When spell components are consumed or have a cost, they need to be provided and cannot be substituted by a spellcasting focus. The find familiar spell has such components:

10 gp worth of charcoal, incense, and herbs that must be consumed by fire in a brass brazier

Now obviously the charcoal, incense and herbs have to be provided as they have cost and are consumed. However what about the brass brazier? Does the caster have to provide that as well, as there are components that have to be provided and they directly interact with the brazier? It doesn’t logically seem like something a component pouch could replace, mostly those things are some small items. On the other hand it seems unreasonable to carry a brass brazier around, sounds heavy.

## Can the Suggestion to “sleep” during combat *ever* be “reasonable” as required by the spell? [closed]

The question “NPC casting Suggestion on PC: who decides it's reasonable?” gets at the issue of who decides what is reasonable when a Suggestion spell is cast.

Other questions try to get at “How do I decide what is a "reasonable" Suggestion?” – but the level of abstraction of the discussion seemed to leave it as relying on too much opinion to have an allowed answer.

As a result, we are attempting to ask a question on Suggestion for a specific scenario to see if a more definitive answer can be reached.

We recently faced a band of five Yuan-ti which can cast Suggestion 3x per day. The DM used this cache of fifteen Suggestion spells to tell our party over multiple rounds to “sleep” in order to capture us. It was overwhelming. We didn’t have enough Counterspells and Dispel Magic spells to resist.

In an upcoming session, our party is soon going to enter the Yuan-ti’s lair. It is almost inevitable we will face this tactic again with even more Yuan-ti with even more Suggestion spells. In some ways, we were lucky last time because the Yuan-ti let us escape. This time, they won’t let us live. There is a risk of a TPK.

Suggestion as a spell says that the action must be considered reasonable.

Is the Suggestion to “sleep” during combat ever reasonable? Technically a PC probably cannot fall asleep at will – so the PC will simply try to sleep – but the effect is the same in that they are taken out of combat.

Adding to that risk is the inability to reverse it even if the risk increases. Jeremy Crawford has ruled that the suggestion only has to be reasonable at the time it was cast. Thus the PC will be trying to get to sleep until they can for up to the next eight hours (see Sage Advice).

Is there agreement that Suggestion can always be worded in such a way that it is reasonable for a PC (or NPC) to be taken out of combat (i.e. despite definite risk to life and limb) by trying to sleep?

Or is there agreement that in all cases where a clear connection between definite risk to life and limb can be drawn that a Suggestion to try to sleep is not reasonable? (In which case – we can rule out that “sleep” is a reasonable Suggestion during combat.)

## What are all of the ways to decrease the amount of sleep required other than race/class features and the ring of sustenance?

Beyond the class features, racial traits, and feats that reduce the amount of sleep required for a long rest to 4 hours and the ring of sustenance that halves it I can’t find any other ways to reduce the amount of time required.

Did I miss annything?

## Amazing Bitcoin Website – Fully Automatic – Top Profitable Niche – No Experience Required!

This website is Fully automated – Top Profitable Niche with ready to go online business allows you to make money. No technical knowledge is required.

(Key Features)

· Amazing Website.
· Built with WordPress.
· Fully Automated.
· Easy to use & No Maintenance Required.
· Free Website Setup.
· Best Support.

Do you really wanted to start your own profitable Bitcoin site with little or no work involved? This is the perfect place to begin. GreatBitcoinSpot.com provides you a best way to…

Amazing Bitcoin Website – Fully Automatic – Top Profitable Niche – No Experience Required!

## Plotting a well defined function displays nothing for two-thirds of the range required

The plot in question concerns the second derivative of an inverse Laplace transform (ILT) of a function with five parameters. Here is the ILT

``ClearAll["Global`*"] prod = (s - cr1) (s - cr2) (s - cr3) (s - cr4); LW = (1 + s)^2/(si prod); Print["symbolic W'=", Wp = D[InverseLaplaceTransform[LW, s, x], x]] ``

Four parameters are functions of the fifth parameter "si", defined as the roots of a fourth order equation

``cr = {cr1, cr2, cr3, cr4} =     s /. Solve[si s^2 + 107 s/5 + 10 ((1 + s)^(-2) - 1) - 1/10 == 0,       s]; ``

Plotting the first derivative of the ILT takes .64

``lx = 13; Timing[  pd = Plot[Evaluate[Wp /. si -> 1], {x, 0, lx},     PlotRange -> {{0, lx}, {0.0225, .0275}}]] ``

Plotting of the second derivative of the ILT takes 14.84 and displays nothing for two-thirds of the range lx

``    Wd = D[Wp, x]; Timing[Plot[(Wd /. si -> 1), {x, 0, lx},   PlotRange -> {{0, lx}, {-0.002, .002}}]] ``

## Speeding up the Rummikub algorithm – explanation required

Regarding this question: Rummikub algorithm.

I was reading the first part of the solution in the posted answer (specifically, when there are no jokers involved, all tiles are distinct and only four colours are involved). Then, I reached the part in which the says that the algorithm runs in $$O(ABCD(A+B+C+D))$$ time, which is easy to determine why.

However, he the goes on to saying that we can speed up the algorithm so as to run in $$O(ABCD)$$ time by changing "the recurrence to ensure this occurs only once while maintaining correctness, which leads to $$O(1)$$ time for every ‘cell’ in the DP-table".

My problem is: I do not see how this can be done. I have tried playing around a bit with the recurrence, but I do not see how it can be modified, or what else we should keep track of so that we can speed up the time.