Does every specialization of Craft you take get the class skill bonus, or just the first?

Suppose I’m playing a character with Craft as a class skill. I put 1 rank in it, select Weaponsmith to fit my background and end up with Craft (Weapons) +4. Now, if I later decide I want to be able to make bows and arrows, do I also get another +3 bonus on Craft (Bows) when I invest a new rank? There are different kinds of craft, just like there are different kinds of knowledge, but the class skill bonus for craft is completely unspecified.

Is the additional effect of Radiance of the Dawn dependent on the first effect?

The Light Domain Cleric Channel Divinity: Radiance of the Dawn has two effects:

As an action, you present your holy symbol, and any magical darkness within 30 feet of you is dispelled. Additionally, each hostile creature within 30 feet of you must make a Constitution saving throw.

Is the additional effect dependent upon the first effect? i.e. does the Channel Divinity require the presence of magical darkness within range before it can be used?

When an artificer uses its action to create two Cannons, how can it easily expend a spell slot between the creation of the first and second cannon?

While writing an answer for this question I came across a problem with how the Eldritch Cannon and the Fortified Position features interract.

Eldritch Cannon states:

Once you create a cannon, you can’t do so again until you finish a long rest or until you expend a spell slot of 1st level or higher.

Fortified Position states:

You can now have two cannons at the same time. You can create two with the same action (but not the same spell slot), and you can activate both of them with the same bonus action.

I use an action to create two cannons:

  • Cannon#1 is not a problem. It’s either the first cannon I’m creating since I took a long rest, or I expended a 1st level spell slot some time prior to the current action.
  • Cannon#2 is a problem. I have not taken a long rest, nor have I expended a 1st level spell slot since creating cannon#1.

The Eldritch Cannon feature doesn’t provide me with a way to expend a spellslot, but it prevents me from creating a second cannon before I expend a spellslot.

The Artificer has no means to expend a spell slot other than to cast spells. So I need to somehow cast a spell in the middle of my action.

My understanding is that I cannot generally break up my action with a bonus action, so I cannot expend a spell slot by casting a bonus action spell between the creation of two cannons.

A reaction can interrupt an action so it could occur between the creation of two cannons, but getting the opportunity to cast a reaction spell at the right time seems excessivily unlikely and difficult.

Therefore my question is:

When an artificer uses its action to create two Cannons, how can it easily expend a spell slot between the creation of the first and second cannon?

What is the first thing you look for when it is bottleneck situation for you to decide on closing of tabs?

I have 54 tabs opened right now and I won’t be surprised if I open 20 more today.

I keep wondering is, can there be a way where browser assists us by giving us something that we seamlessly adopt by giving us better ways to handle our greediness towards tabs.

What is the first thing you look for when it is bottleneck situation for you to decide on closing of tabs:

-Age of the browser — How old is that, opened 2 days ago?

-Revisit the content of the tab — To make sure you are not closing anything you would be needing soon?After that, you either close it or bookmark it for later(may be).

-The sequence — Since many links open the new tab next to its previous one, wondering if same sequence (as displayed in the browser)matters.

Please feel free to add parameters that I am not factoring in.

Graph theory: BFS (Breadth First Search) – why is current processed first?

I am referencing some code I found on Why is the current node printed (and processed) first before its children are processed? Wouldn’t “breadth first” mean “Process children first, then process parent”? or, is that only for Trees? I can’t be the only one to not understand this, so instead of flaming me, somebody please simply post the answer?

void Graph::DFSUtil(int v, bool visited[])  {      visited[v] = true; <-- why is this printed FIRST?     cout << v << " ";       // Recur for all the vertices adjacent      // to this vertex      list<int>::iterator i;      for (i = adj[v].begin(); i != adj[v].end(); ++i)          if (!visited[*i])              DFSUtil(*i, visited);  }   // DFS traversal of the vertices reachable from v.  // It uses recursive DFSUtil()  void Graph::DFS(int v)  {      // Mark all the vertices as not visited      bool *visited = new bool[V];      for (int i = 0; i < V; i++)          visited[i] = false;       // Call the recursive helper function      // to print DFS traversal      DFSUtil(v, visited);  }  

Should Anti Virus and Anti Malware layer be the first layer in web application stack or can it seat behind services?

Can you have Anti Virus and Anti Malware layer sitting deep with the microservice layer and have the malicious file flow through all the services ? Argument being the file is in memory and not getting processed until the service we will put the Anti Virus and Anti Malware layer on.

Shouldn’t this be stopped at the routing layer of the application?

Which occurs first? (late ToA spoilers)

Okay, so, real quick, I will place this here at the very start, if you don’t want Tomb Of Annihilation spoilers, please do not read any further.

That being said, I’m deep into my blind run of ToA. We just entered the Tomb Of The Nine Gods last session.

My character allowed Wongo, one of the Trickster Gods, to inhabit his body. This gave me the RIDICULOUS power of having a DC 16 Wis Save Stun effect I can use as an action. As a Wild Magic Sorcerer, I have the quickened spell metamagic. So, I thought I’d get Immolation at next level, since the stun effect would go off first, thus making them fail the initial Dex throw.

Now, as per the Immolation spell description,

At the end of each of its turns, the target repeats the saving throw. It takes 4d6 fire damage on a failed save, and the spell ends on a successful one.

As per the Wongo Power,

While inhabited by Wongo, you can use your action to unleash a psionic assault on a creature you can see within 60 feet of you. The target must succeed on a DC 16 Wisdom saving throw or be stunned until the end of its next turn.

So, basically, I’m wondering, would the Stunned condition end before the secondary Dexterity saving throw was made? Or would the secondary throw automatically fail due to it being made before the condition wears off?

What are some essentials to get a first time DM for their campaign?

My boyfriend has been playing D&D for a few years now but is going to be a first-time DM in his group’s next campaign which will be starting late-December. I want to get him some Christmas gifts that will help him in his campaign but I know very little about D&D so I’m looking for some help! I was thinking of getting the “Dungeon Master’s Guide: Core Rulebook” by the Wizards RPG Team but I’m hoping to get some feedback about whether this would be a good idea or not, as well as any other suggestions from avid players like you all! Any help would be very appreciated!

$O(k)$ Algorithm to find the first $k$ pairs of Magic numbers $a$ and $b$ such that $\sum_{i=1}^{a-1} i = \sum_{k=a+1}^b k $, with restrictions

Provide an $ O(k)$ algorithm to find $ k$ – magic pairs of positive integers a and b of type signed int where a magic pair is defined as $ \sum_{i=1}^{a-1} i = \sum_{k=a+1}^b k $ . You can’t use the summation formula $ \frac{N \cdot (N+1)}{2}$ as it would result in an overflow. Even you can’t run sums such as sum1 and sum2, it’s still going to overflow.

Example: (6,8) (35,49) (204,288) are the first three Magic Pairs.
P.C: This was our recent examination question, I am curious to know the algorithm.