Say I can attack 3 times. I want to throw 3 daggers, but I haven't drawn any yet. Are my Action choices really &quot;draw and throw 1 dagger&quot; OR &quot;draw 2 daggers&quot;? You can't draw and throw as part of the same attack? I ask because I read Thrown Weapon Fighting style, from the 2019 Unearthed Arcana &quot;Class Feature Variants&quot;, which goes out of its way to say that you can draw and throw as a single attack, and I was surprised that you couldn't already do that.  You can draw a weapon that has the thrown property as part of the attack you make with the weapon.
How do thrown weapons interact with the Extra Attack feature?  Can you throw more than one weapon per turn?  How about two-weapon fighting?  Do you need the Dual-Wielder feat to throw two weapons every turn?
How to use "grep" command to find text including subdirectories I want to find all files which contain a specific string of text. The grep command works, but I don't know how to use it for every directory (I can only do it for my current directory). I tried reading man grep, but it didn't yield any help. I'm currently taking Quantum Mechanics in school and I came across a table displaying the following in the given order:   $E_n (\text{energy levels}), g_n (\text{eigen functions})$   $n \ l, [m]$  $E_1, 1$   $1s, [0]$  $E_2, 4$   $2s, [0]$ $2p, [-1,0,1]$  $E_3, 9$   $3s, [0]$ $3p, [-1,0,1]$ $3d, [-2,-1,0,1,2]$    Now, as I understand $n$ defines the size of the orbital, $l$ the shape and $m$ the orientation.  My question is, how does the atoms shell model fit into this if one can have two electrons per orbital? Are $1s$ the same as the orbital $2s$, but just renamed for the sake of higher energy levels? Or do two similarly looking orbits exist for different energy levels? For example two "layers" of spherical electron clouds for an atom with $4$ electrons.  I just can't see how $2$, $8$, $18$ becomes $2$, $8$, $8$ as we were taught in Physics at high school? Am I missing something? Fact  The intersection of a closed set $A$ and a compact set $B$ is closed.  Background  I wanted to prove that the intersection of closed and compact sets is compact. There might be other ways, but I am not interested in them for now and am looking to prove the above statement.  Relevant Facts  I don't have much idea what to use. $A^c$ is open. Every cover $\cup_{i\ge1}U_i$ of $B$ contains a subcover $\cup_{i=1}^kU_i$. I might want to prove $A\cap B^c$ is open. Limit points may be another points to consider but I don't get any idea in that direction.  I also don't have that $B$ is closed otherwise it would be trivial.  Some Clarification  I am aware that compact sets are not closed in arbitrary topological spaces. The reason why I was motivated to believe tha intersection of closed and compact set is compact is true is: See Matt E.'s Answer      So if $K$ is compact in an arbitrary topological space (which is just to say that   it is a compact topological space when given its induced topology) and     $L$ is closed then $K \cap L$ is a closed subset of $K$ in its induced topology   Is it true if $A$ and $B$ are not whole spaces?  I would appreciate any hints. How should we cope with 12 month old waking in the night? We are trying to get our 12 month olds sleep routine improved now that both of us will be returning to work.  We've been working on getting the settling routine sorted out each night, and haven't quite yet got to him falling asleep on his own, but he does now settle quickly at the end of the routine in our arms.  We will be moving to trying to get him to settle in his cot soon.  Once settled he will tend to do about 3-4 hours in his cot before waking screaming.  When cuddled he will settle down in about 10 minutes and can generally be put back in his cot.  However often he will wake several times.  Last night he went down at 8, woke at 10, woke at 12, woke at 1am.  Each time putting him back in his cot.   At that point we gave up and brought him into our bed where he slept through to 6am.  When waking up he is often on either all fours or standing in the cot whilst screaming.  The main problem is that he's no longer sleeping "solidly" and will often poke and prod his mum in his sleep, and she therefore doesn't get a great nights sleep.  And with us both back to work we both need our sleep as much as possible. How to keep Blender from adding frame numbers to output filename? To prove Cayley-Hamilton theorem, why can't we substitute $A$ for $\lambda$ in $p(\lambda) = \det(\lambda I - A)$? Cayley Hamilton Theorem states that if $A$ is an $n \times n$ matrix over the field $F$ then $p(A) = 0$.  We note that $p(\lambda) = \det(\lambda I - A)$. Hence, why can't we just substitute $\lambda$ with $A$ and directly prove Cayley-Hamilton Theorem by saying that $p(A) = p(\lambda) = \det(\lambda I - A) = \det(AI - A) = 0$? How to dismiss the Windows 8.1 Upgrade banner? As of today, my Windows 8 system is displaying a large banner covering about a quarter of the screen, demanding that I upgrade to Windows 8.1 for free.  The banner helpfully informs me that that I can continue to use the computer while the upgrade is downloading.  There's a button to go to the store for the upgrade, but no other choices, such as No Thanks, Maybe Later, or Absolutely Not.    I can't find a way to dismiss the banner, and I can start programs but can't give them focus while the banner is present.  So I'm dead in the water.  How can I fix this?  Bringing up Task Manager doesn't give me any options.    My employer doesn't yet support Windows 8.1 (which is also an issue, but beyond my control) so I won't be able to connect to work if install the upgrade.  So there is no way on God's green earth that I'm going to install this upgrade now.    UPDATE: The banner went away after the second restart and I was able to run regedit as @magicandre suggested.  The banner hasn't reappeared.  So far, so good. I have a text file named "Hex_data.txt". I want to load content of Hex_data.txt into a variable name RAM in verilog. When I try this, I get an error that the text file can't be found. Where is this file loaded from?  The content of "hex_data.txt" :            21            a4          2a          26          7a          ff           6f   I want to create a variable name "RAM" defined like:   reg [6:0] RAM; in which the above content save like:  RAM[0]=21     RAM[1]=a4           RAM[2]=2a             RAM[3]=26            RAM[4]=7a             RAM[5]=ff             RAM[6]=6f   I wrote a code:  module file_read;      reg [7:0] RAM [0:6];          initial $readmemh("Hex_data.txt", RAM);   integer i;               initial begin                    $display("data:");                for (i=0; i &lt; 7; i=i+1)                $display("%d:%h",i,RAM[i]);              end                 endmodule        But the above code not working. How can i get desired output? I don't know how to prove this example. Let $y(t):\mathbb{R}^+\to \mathbb{R}$ be a nonincreasing function. Assume that there is a constant $A&gt;0$ such that \begin{equation} \int_{s}^{+\infty}y(t)dt \leq Ay(s), \quad 0\leq s&lt;+\infty \end{equation} Then $y(t)\leq y(0)e^{1-\frac{t}{A}}$, for all $t&gt;0$. What are these dark spots in my pictures? I've been seeing these dark spots in my pictures. They appear a lot more on some pictures than others, but they are in the same place in the image and independent of the lens being used. Is this dust? I've also heard that you can get oil spots on the sensor.  The image is from a Nikon D7000. cd in bash script without alias, function, source I've written a bash script which should cd me to a directory.   My problem is that only the directory in the subshell changes.  I've read of many similar problems to this, but I want to know if there is a solution besides using an alias, a function or sourcing the script.  If you don't understand what I mean, here's an example:  user@linux ~: cat ./myscript.sh #!/bin/bash cd /any/directory user@linux ~: ./myscript.sh user@linux ~:    Please note that my script is much longer, so I don't want to use a function! Prove by induction that $$(a_{1}+a_{2}+\cdots+a_{n})\left(\frac{1}{a_{1}}+\frac{1}{a_{2}}+\cdots+\frac{1}{a_{n}}\right)\geq n^{2}$$  where $n$ is a positive integer and $a_1, a_2,\dots, a_n$ are real positive numbers   Hence, show that  $$\csc^{2}\theta +\sec^{2}\theta +\cot^{2}\theta \geq 9\cos^{2}\theta$$  Please help me.  Thank you! How can I snap a window in a corner with 18.04? monitor files (à la tail -f) in an entire directory (even new ones) We are always introduced to magnets by pictures illustrating a parallepiped magnet, a horseshoe magnet, etc... Anyway the first time we actually calculate a magnetic field is for eelectromagnets. Indeed I've rarely seen explaining or calculating the magnetic field of a permanent magnet. I know formulas for the magnetic field of a moving charge, around a conductive wire, inside a solenoid, but I don't have idea on how to go about calcualting the filed of a simple permanent magnet. It's like that without the help of electricity I'm stuck. I'd guess it would be heavily dependent on the magnetic material, its shape and the medium in which is placed. I hope that someone would provide me some insights on why such formulas are  never introduced in most physics courses and lay down some examples of a permanent magnet field caluclation. When do you use at the office? And when do you use in the office? What's the difference between the phrases? The top bar is showing (again) the suggested edits count and 10K flags count, like it was before.  On Stack Overflow it looks like this: (that's the original color, same as in old top bar)        And on this very Meta site:        Same top bar. But different colors! Consistency broken.  I've just noticed the suggested edits count on Meta:        Black on black, I can see just a floating number - really confusing and out of any context.  In the name of Consistency, can we please have the same color on all sites? How can I include value of sharepoint's version column in a word document? I'm trying to work out a way to display the contents of the version column from SharePoint (i.e. the value that changes every time a file is checked in) as a field (or something similar) inside of a Word document.  Ideally, I'd like to know how to configure SharePoint so I could click something like "Insert > Quick Parts > Document Property > Version", and it would include the version in the document.  The goal is to make it easier for someone to correlate a printed version of a document with the version history of SharePoint.  I have been able to add editable text columns to the Document content-type and have them show up as document property quick parts.  I've also been able to add a calculated column which gets the version as a text string... however this calculated column isn't showing up in Word as a document property.  (Perhaps I'm missing a setting on the calculated column) Are static class variables possible in Python? Is it possible to have static class variables or methods in Python? What syntax is required to do this? Unintentional Lies and Misinformation