dnd 5e – What should happen if you use the "enlarge" saying on an explosive?

Technically nothing

The explosives would have the same range and damage as before, since spells only do what the description says, no more or less. And there is no mention of explosives (for which there are no real rules anyway). The description increases the size and weight of an object, but there is no other effect.

There is a rule for increased weapon damage, although it could be argued that this has to do with both the increased weight of the creature it exercises and the size of the weapon itself.

That means … if the explosive is homebrew, a DM can make his own decision. If the explosive radius is 5,, simply increasing the explosive would automatically increase the radius (if you look at it as a ‘aura’ around the object). Adding an additional 1d4 to match the increase in weapon damage is reasonable.

dnd 5e – What should happen if you enlarge an explosive?

My thief played a bomb and hid from a wizard who would ignite it remotely when the guards approached it with magic. While they waited, the wizard came up with the good idea to throw "enlarge" at it and convert 1 pound of explosives to 8 pounds of explosives.

I winged it a little bit and the explosion was twice as big (hit everyone in 10 feet instead of 5) and did additional 1d4 damage, although this should be the effect if it's a weapon.

Is there a suitable way under RAW to deal with an "enlarged" explosive?

Mutex – What would happen if you signal () before wait ()?

A bakery needs to provide customers with a stream of muffins. The muffins are made by a baker in the kitchen and placed on a conveyor belt. The conveyor belt transports the muffins to where the customers are waiting to buy them.
This scenario was simulated with two processes: the baker and the customer as well as a common conveyor belt, which is implemented as a circular array called a conveyor belt, whereby each room in the array can accommodate a muffin. There are two common general semaphores, empty and full, and a mutex
buffer_mutex. In this scenario there are only several bakers and one customer.

The pseudo code for the baker is as follows. The baker uses an integer variable to note the next available space on the conveyor.

  1. while (true) {
  2. muffin = makeMuffin (); // Create a muffin
  3. wait (empty);
  4. wait (buffer_mutex);
  5. Sponsor = muffin; // Place the muffin on the conveyor belt
  6. in = (in + 1) mod n;
  7. Signal (buffer_mutex);
  8. Signal (full);
  9. }}

The pseudocode for the customer is as follows. The customer uses an integer variable to note the next location on the conveyor that contains a muffin.

  1. while (true) {
  2. wait (full);
  3. Muffin = sponsor (out); // Take a muffin off the conveyor
  4. Sponsor (out) = zero;
  5. out = (out + 1) mod n;
  6. Signal (empty);
  7. eat (muffin); // Eat the muffin
  8. }}

What happens if the order of the semaphores in the customer changes?
So we have signal (empty) in line 2 and wait (full) in line 6.

Telegram php tdlib, authorization phase cannot happen

I am learning about tdlib with PHP library
I have already created a phptdlib library and successfully executed the client.php file.
tdlib php library docs.

The problem is that I cannot authorize my customer.
"Client not authorized" is still displayed after running client.php.
I have already checked my.telegram.org and got my api_id and api hash as mentioned here:
tdlib core documents

Any idea what's missing?
Can you display more PHP examples with tdlib?

Others, you can explain:
Why do I have to provide my phone number? Is this the case for a client running from my PHP server?
Is there any other way to get authorization without giving my phone number?

That's all …
Greetings.
Leandro

Camera – what should happen if one of the players leaves the screen?

In a local multiplayer mode where the camera follows the players, what's the best thing if the players are so far apart?

Accepted:

  • The level is larger than the current camera view, but finally.
  • The game is a co-op (not against) so leaving the screen has no unfair advantage or possibility of grief.
  • Classic solutions like a wraparound are not possible.
  • No split screen.

Approaches that come to mind:

  1. Limit the player within the camera limits.
  2. Let the player disappear from the screen. Make a way of seeing where they are like a player symbol and an arrow.
    • (Optional) Kill the player if he gets too far. (Smash Bros. Ultimate)
  3. Zoom the camera infinitely. Allow the natural level limits (if any) to limit players.
  4. Teleport the stray player to the group. (Diablo 3)

If the answer depends on the view and genre of the game (but I really think that shouldn't be the case), the answer I'm currently doing is a top-down ARPG.

Advantages / reasons for the proposed solution and also remarkable solutions from other games would be nice.

Combinatorics – Probability that exactly two accidents will happen on a given day if 7 accidents happen in a week

If 7 accidents happen in a week, what is the probability that exactly 2 accidents happen on a given day?

I tried to do it like this.

2 out of 7 accidents can be recorded $ {7} choose {2} $$ = 21 $. Now this can happen in any of the 7 days, so we have $ 7 times $ 21. Now the remaining 5 in can happen $ 6 ^ 5 $ Ways. So the probability is $ frac {7 times 21 times 6 ^ 5} {7 ^ 7} = frac {3 times 6 ^ 5} {7 ^ 5} $

But that gives me a value greater than 1. I know I'm doing something wrong. Can someone help me ?

Health – What will happen to me in Corona during this time in Doha or at Vienna Airport?

I live in Iran and bought this Qatar Airways flight from Tehran (Iran) to Vienna for February 29th. As far as I know, the flight has not been canceled due to coronavirus health reasons. Although I know of no way to ensure this. So maybe I have to go to the airport and see what's going on.

And I don't want to cancel the flight because I should be in Vienna for my job from March 1st.

However, if the flight is not canceled by the airline, I do not know what will happen to me at the airports. Some people say they could quarantine me at Qatar Airport or Vienna Airport, maybe for 14 days.

Does anyone have any views or experiences regarding such conditions? I am panicked and overwhelmed with thoughts and worries.

Kotlin – why does this strange compiler behavior happen in Android Studio 3.6?

I have updated for Android Studio 3.6 today. I use Kotlin,

A very strange stuff is happening to me.

The first problem is that I have to press SAVE now before I can run. Until Android 3.5 was automatic. But it's okay, it's a matter of getting used to.

The second problem is the worst. I have a Type Alien that was assembly list and I had to switch to a simple one arraySo I changed the previous code typealias Duo = ArrayList to the typealias Duo = Array,

No error mark after I have saved and executed the files (with ^ S).

It's a big project, and I have a small piece of code in some models that can appear as

var gData = ArrayList()    
gData.add(arrayOf(5.0, 1.0))

Now the message appears, pointing to the second line:

Type inference failed. Expected type mismatch: inferred type is Array
 but Duo /* = ArrayList */ was expected

I have no idea what happens … I tried restart and restart and invalidate cacheswithout success. The same news. I find in path (^ + f) to check double declaration of duo, Nope.

If I've tried the following toy code in Kotlin Playground, it's fine. No mistake.

typealias Duo = Array
fun main() {
    var gData = ArrayList()    
    gData.add(arrayOf(5.0, 1.0))
    println(gData(0)(0))
}

I am lost!