Is the grappling strike maneuver a part of an attack or used after the hit?

Battlemaster says

Maneuvers. You learn three maneuvers of your choice, which are listed under "Maneuvers" below. Many maneuvers enhance an attack in some way. You can use only one maneuver per attack.

but unlike other maneuvers, grappling strike uses "immediately after you hit" instead of "when you hit"

Is grappling strike limited to the one maneuver per attack clause?

Can you draw a weapon as part of a spell attack?

This is inspired by the following question which seems to only ask about steel wind strike, while this question is more general:

  • Can I draw a weapon as a part of a Melee Spell Attack?

The rules on "Other Activity on Your Turn" state (emphasis mine):

[…] You can also interact with one object or feature of the environment for free, during either your move or your action. For example, you could open a door during your move as you stride toward a foe, or you could draw your weapon as part of the same action you use to attack. […]

Similarly, the rules on the "Use an Object" action state (emphasis mine):

You normally interact with an object while doing something else, such as when you draw a sword as part of an attack. When an object requires your action for its use, you take the Use an Object action. […]

However, what if you cast a spell such as fire bolt, which involves making an attack; can you draw a weapon while performing this attack?

Can I draw a weapon as a part of a Melee Spell Attack?

A spell like Steel Wind Strike requires a melee spell attack. Use an Object (PHB pg193) states, "…such as draw a sword as part of an attack." This doesn’t clarify a spell or weapon attack. Steel Wind Strike requires the use of a melee weapon in the casting, but doesn’t seem to hit with that weapon. You’re doing force damage of 6d10, not the standard weapon damage, so it appears to just be a component for the casting rather than an actual weapon attack (as opposed to spells like Green-Flame Blade ((SCAG pg143)) that uses an actual melee weapon attack first).

So, since an attack with a melee weapon can involve drawing the weapon as a free part of the attack, and Steel Wind Strike uses the weapon as a casting component to make a melee spell attack, can that weapon be drawn as a free part of the melee spell attack action??

How do I name the thing that is done in the FROM part of the query?

So, I have recently started studying data bases in Uni, MySQL. I am practicing some queries with different stuff that the professor gave us.

One of the questions i have found is as follows:

Show the Name and Wage of the employee supervisor and the average wage of the employees that he is supervising. Arrange the data by name and the average wage in an ascending order. (I’m working on the newest version of the MySQL Workbench with the accompanying local host server)

There is only one table, the employee table. With a foreign key supervisor ID that references the employee IDs which are primary keys.

This is the solution to the query:

SELECT, SUP.wage, AVG(EMP.wage) AS AVG_WAGE FROM employee EMP, employee SUP WHERE SUP.employee_ID = EMP.supervisor_ID GROUP BY ORDER BY AVG(EMP.wage) ASC; 

I’m wondering, what is the name of the thing that he used here where he like… split the employee table into 2 virtual tables for the sake of the query?

I didn’t know this is possible at first so I was doing this:

SELECT name, wage, AVG(wage) AS AVG_WAGE FROM employee WHERE emp_ID IN (SELECT sup_ID FROM employee) GROUP BY name, wage, sup_ID IN (SELECT emp_ID FROM employee) ORDER BY AVG(wage); 

This shows the supervisors and their wages but doesn’t show the average wage of the employees that each supervisor supervises and just displays the wage of the supervisors again with a bunch of zeroes at the end.

Thank you!

I’m sorry if I’m not very clear in my wording since I’m not studying databases in English and English is not my first language. Thus it isn’t easy to find info on google about a bit specific things like this where I don’t know how to word questions.

Is concealed difficulty an integral part of the cliffhanger scene form?

The “Cliffhangers” section in Masters of Umdaar says that the difficulties for rolls should be concealed until rolled against:

Of course, GMs, don’t reveal a difficulty for a specific approach until a player attempts it—let them stumble around to see which methods are more effective. (MoU 28, Cliffhangers: Running the Cliffhanger)

That stands out because it’s contrary to standard practices in Fate. On the one hand, that makes it feel like an optional playstyle preference note; on the other hand, it can be read as a deliberate and noteworthy departure from Fate norms to introduce a different sort of experience to the game.

Are concealed difficulties a crucial part of the cliffhanger concept or is this just a playstyle preference of the author? What difference does concealing difficulties make to the table experience when using cliffhangers?

Approximation of a function part of the input of NMaximize

I need to maximize the following function (the input to NMaximize below)

    NMaximize[{((1/3) + f[p]*(1 - p)*(((1/(Sqrt[2]/2))*p)^2-1))/(1+(1-p)*     (((1/(Sqrt[2]/2))*p)^2 - 1)), p >= Sqrt[2]/2, p <= 1}, {p}] 

where $ f(\cdot)$ is defined as follows

    f[p_?NumericQ] := NMinimize[{-((a + a^2 + b - 2 a b + b^2 + c - 2 a c - 2 b c + c^2)     /((-1 + a) (a + b + c))), 0 <= a, a <= b, b <= c, c <= 1, c <= a + b, (a + b + c)/3 <= p},      {a, b, c}, Method -> "DifferentialEvolution"][[1]] 

However, as expected, the computation does not end and there are several alert messages. For the underlying mathematical problem I am trying to solve, I could replace $ f(\cdot)$ by a simple function $ g(\cdot)$ that approximates it, but I need $ g(p)\le f(p)$ for all $ p\in[0,1]$ . I tried to use InterpolatingPolynomial with a few values of $ f(\cdot)$ . However, $ f(\cdot)$ is neigher concave nor convex in $ [0,1]$ , and I am struggling to obtain a good approximation of $ f(\cdot)$ which satisfies the $ g(p)\le f(p)$ in $ [0,1]$ .

Do you know how any method for generating such approximation function $ g(\cdot)$ (or solving the maximization problem in a different way)?

Cut part from function

I try implement cutting some ease function.

I have one ease function ease(x) where x (0,1) and result (0,1).

I can not understand what the function will be above ease function. The function must repeat the form of the original function in the specified range (from, to), while its parameter must also be in the range 0-1 and the result (y0, y1) must also be in the range 0-1.

enter image description here

I try something like:

d = to - from efrom = easing(from) eto = easing(to) ed = eto - efrom  f = (easing(from + X * d) - efrom) / ed  

but something is wrong

Is there a limit on the number of Proficiency Swaps as part of Customizing Your Origin in Tasha’s?

Tasha’s has a section on replacing proficiencies granted by race in the section on customizing your origin and provides the example of swapping elven proficiency with a longbow for a tool proficiency. Does that mean you could swap all 4 weapon proficiencies from Elven Weapon Training for any 4 weapons or 4 tool proficiencies instead?

how to know when the user is in specific part of the website and when he leaves that part and display the data in the admin dashboard

I want to display for the admin when a user visits a page and when he leaves that page

the page is for example test.test/my-dashboard. and it’s only available for the logged in users. the admin knows to know the time when the user is in that page and the time the user leaves that page.

thanks in advance and excuse my language.

Can you benefit from the Dueling fighting style for one weapon, then draw a second weapon as part of Extra Attack to qualify for Two-Weapon Fighting?

Say a Champion fighter has the "Two-Weapon Fighting" fighting style and the "Dual Wielder" feat. At 10th level, they pick up "Dueling" (+2 to damage rolls when wielding a single one-handed melee weapon) for their 2nd fighting style. Since they’re 10th-level, their Extra Attack feature lets them make 2 attacks as part of the Attack action.

Can they have one weapon drawn for their first attack, to benefit from Dueling – and only then draw another weapon for their second attack in the Attack action, in order to meet the requirement for Two-Weapon Fighting (and thus deliver another attack with their bonus action)?