Alright, so the description of the "hex" spell states the following:     [...] If the target drops to 0 hit points before this spell ends, you can use a bonus action on a subsequent turn of yours to curse a new creature. [...]   So, the way I understand it, the "subsequent turn" does not have to be directly afterwards, right? I mean, if you do something else for 3 rounds, the 4th round would still technically be a subsequent spell, correct?  Therefore, let's say I cast this spell in the first round of combat, finish my enemies together with the rest of my party and exit combat. Then, thirty minutes later, we enter combat again (and are therefore still within hex's max duration, even if cast at its lowest level).  So my question: Can I still move my hex to an enemy of my choice in this situation? Provided that I kept up concentration for the whole time, of course (which some super-strict DMs might punish), and didn't enter an antimagic field or encountered anything else that would cause the spell to end.  Thanks in advance, appreciate your help!
Previous questions confirmed that Hex can last through multiple encounters (assuming my warlock's concentration doesn't get broken by a club to the head or the like) and at higher levels even through a short rest.   My question is how targeting Hex works when trying to keep it up for extended periods of time.   Can I just cast it on nothing and keep it up until a valid target presents itself or is an initial valid target required?   Then later, does changing the target of the Hex require that the original target is brought to 0 HP?   Once the initial target dies does the spell stay active even if I don't immediately choose a new target?  My suspicion from reading the spell is that it needs an initial target, but then from that point on I can just keep it up after that target dies until it either expires or a new target presents itself. Is this correct?
Using ArcPy to convert .txt to shapefile with coordinate system? I tried to define my coordinate system on creating the shapefile but when I zoom to layer I don't see my features and ArcGIS crashes. I know it's not in the coordinate system I defined for it but it shows the coordinate under properties but doesn't reflect when I zoom to layer. Here is my python code:  import arcpy  newfcName ="newfc.shp"   outpath = r"C:/FLOOD/IKEJA AND KOSOFE"  # Declaration arcpy.env.overwriteOutput=True  arcpy.env.workspace= outpath  # Create new Shapefile and add FIELDS newfc = arcpy.CreateFeatureclass_management(outpath, newfcName, "Point") # get the coordinate system by describing a feature class dsc = arcpy.Describe("newfc.shp" )  coord_sys = dsc.spatialReference  try:        # run the tool    arcpy.DefineProjection_management(newfcName , coord_sys)     # print messages when the tool runs successfully    print(arcpy.GetMessages(0))  except arcpy.ExecuteError:    print(arcpy.GetMessages(2))  except Exception as ex:    print(ex.args[0])  arcpy.AddField_management(newfc, "X", "STRING", field_length = 50) arcpy.AddField_management(newfc, "Y", "STRING", field_length = 50) arcpy.AddField_management(newfc, "Z", "STRING", field_length = 50) arcpy.AddField_management(newfc, "I", "FLOAT", field_length = 50)  # Reference Cursors cursor=arcpy.da.InsertCursor(newfc, ["X", "Y", "Z", "I"])  # Read File  a = open("C:/FLOOD/IKEJA AND KOSOFE/DEM/532722.txt","r")  inputF = a.readlines()  for line in inputF:     xCoordinate, yCoordinate, zValue, iValue = line.split(" ")      newRow = (str(xCoordinate), str(yCoordinate), str(zValue), float(iValue))      cursor.insertRow(newRow)  a.close() Running junit tests in parallel in a Maven build? What word means what many people think 'ironic' means? 'Ironic' is often used to mean an unusual coincidence rather than its true meaning which is closer to sarcastic. That being said, is there a word that would be a good replacement for what many people seem to think it means? How to interpret the margin of error in a poll? Recently the media reported on a political poll that stated that "46% of Republican voters in Mississippi think that interracial marriage should be illegal".  One example story (of many around the 'net) is this one from the NY Daily News: .  From that article:     A survey conducted last month shows 46% of GOP voters in the state   believe interracial marriage should be illegal - a plurality of the   people questioned   Given that I know many people in interracial marriages (including in my own family) I was motivated to track down the full story rather than fall to the obvious hysteria.  I located the press release on the poll from Public Policy Polling  (PDF)  which has:     46% of these hardcore Republican voters believe interracial marriage   should be illegal, while 40% think it should be legal. With Barbour   included, Huckabee gets more support (22%) from the former than the   latter (15%), as does Palin (13-6). The support for Bachmann (10-2),   Gingrich (13-8), and Pawlenty (4-1) works the opposite way.   And at the end of the first page they state:     PPP surveyed 400 usual Mississippi Republican primary voters from   March 24th to 27th. The survey’s margin of error is +/-4.9%.   Now what I don't understand is how to interpret the results especially the margin of error value.    From the raw numbers, 46% (~50%) of 400 voters is 200 voters who responded who think that interracial marriages should be illegal.  But from stats of Mississippi in the 2008 Federal election, McCain polled about 725,000 Republican votes (to Obamas 556,000). My gut feeling is that you can't extrapolate that 46% number to the other 724,600 Republican voters and still retain a 5% margin of error.  So is the media misrepresenting the numbers (really? the media would do that?!?!?!) Or are there statistics at work that I don't understand?  Thanks for your help! Who made the decision for Gandalf's promotion from 'grey' to 'white'? In the first book of the LoTR, after his fight with the Balrog of Moria, Gandalf the Grey changed to .   My question is, who made the decision to 'promote' him from grey to white? Was it ? Or was it the ? Or was it the ? Omitting the hypotheses of finiteness of the measure in Egorov theorem I want to prove that if I omit the fact that $\mu (X) &lt; \infty$ in Egorov theorem and place instead that our functions $|f_n| &lt;g$ and $g$ is integrable, we still get the result of Egorov's theorem.  Fix $m$ a natural number.  I took $ w_{n} = |f_n-f|$ and thus by DCT $\int |f_{n} - f|$ goes to zero.  Then I took $\bigcup_n {( w_{n} \geq 1/m)}$. I need its measure to be finite. Its measure is less than the sum of the measures of each $ w_n\geq 1/m)$ varying $n$, and by Tchebychev, this is less than $m\int|f_{n} - f|$.  But I got stuck here.  Any help is appreciated. Thanks! So to help prevent brute force attacks against my phpmyadmin install I've configured nginx to require HTTP Basic Auth (extra username and password) and then the requests need to come from a whitelisted IP Address. However the IP Address whitelist works fine if I run  however without adding the extra .php block I could load  without my IP being whitelisted. This issue doesn't affect the HTTP Basic Auth. Is there a reason this happens? Anyway to get around having to add extra .php blocks? A copy of the config area for phpmyadmin is below.  # Setup and secure phpMyAdmin location /phpmyadmin/ {   allow 1.2.3.4;   deny all;   auth_basic "phpMyAdmin - HTTP Basic Login";       auth_basic_user_file /etc/nginx/pma_pass;     location ~ \.php$ {     include snippets/fastcgi-php.conf;             fastcgi_pass unix:/run/php/php7.0-fpm.sock;     allow 1.2.3.4;     deny all;     } } How do you define an arbitrary sort sequence for views? Simple & easy way to jail users I need a simple and easy way to jail users in their home directories in Oneiric. Do you have a simple configuration for jailing users, with full help, or some good web links?  I would be offering an online free public server with 10 to 20 GB free space. I don't know how many users. I want to give them SSH and SFTP so that they can connect through FileZilla. Duplicate auxiliary verbs in a sentence (may we / should we delete the second?) why can't I edit /proc/sys/kernel/perf_event_max_sample_rate with vi I'm root, running Centos8 on bare mental and permissions on /proc/sys/kernel/perf_event_max_sample_rate are as follows  -rw-r--r--. 1 root root 0 Oct  3 14:00 perf_event_max_sample_rate   I want to change the sample rate by opening this file with vi, making the change and then writing it with either w or w!. When I do so it comes back with  perf_event_max_sample_rate" E667: Fsync failed  When I try to quit, it tells me  E37: No write since last change (add ! to override)   So I can't change the value with vi.  However I can change the value with   echo 4000 &gt; /proc/sys/kernel/perf_event_max_sample_rate   Is this simply because /proc is not a real file system and that all changes to things in /proc would have to be made using echo with a redirect, or maybe sed?  Is this behavior documented somewhere? After writing code to populate textboxes from an object, such as:  txtFirstName.Text = customer.FirstName; txtLastName.Text = customer.LastName; txtAddress.Text = customer.Address; txtCity.Text = customer.City;   is there way in Visual Studio (or even something like Resharper) to copy and paste this code into a save function and reverse the code around the equal sign, so that it will look like:  customer.FirstName = txtFirstName.Text; customer.LastName = txtLastName.Text; customer.Address = txtAddress.Text; customer.City = txtCity.Text; Find the first occurrence/starting index of the sub-array in C# Proving the identity $\sum_{k=1}^n {k^3} = \big(\sum_{k=1}^n k\big)^2$ without induction I recently proved that  $$\sum_{k=1}^n k^3 = \left(\sum_{k=1}^n k \right)^2$$  using mathematical induction.  I'm interested if there's an intuitive explanation, or even a combinatorial interpretation of this property. I would also like to see any other proofs. If I have a 18-55mm lens, is there a point in buying a 35mm prime lens? Enable disk encryption after installation If the universe is expanding, what is it expanding into? If the universe is expanding, what is it expanding into? When the big bang happened where did it occur?  When the big bang happened how did it occur?  Where did the energy come from? Energy can not be created or destroyed does that mean, energy has existed before the universe was here? Interpretation of R's lm() output The help pages in R assume I know what those numbers mean, but I don't. I'm trying to really intuitively understand every number here. I will just post the output and comment on what I found out. There might (will) be mistakes, as I'll just write what I assume. Mainly I'd like to know what the t-value in the coefficients mean, and why they print the residual standard error.   Call: lm(formula = iris$Sepal.Width ~ iris$Petal.Width)  Residuals:      Min       1Q   Median       3Q      Max  -1.09907 -0.23626 -0.01064  0.23345  1.17532    This is a 5-point-summary of the residuals (their mean is always 0, right?). The numbers can be used (I'm guessing here) to quickly see if there are any big outliers. Also you can already see it here if the residuals are far from normally distributed (they should be normally distributed).  Coefficients:                  Estimate Std. Error t value Pr(&gt;|t|)     (Intercept)       3.30843    0.06210  53.278  &lt; 2e-16 *** iris$Petal.Width -0.20936    0.04374  -4.786 4.07e-06 *** --- Signif. codes:  0 ‘***’ 0.001 ‘**’ 0.01 ‘*’ 0.05 ‘.’ 0.1 ‘ ’ 1    Estimates $\hat{\beta_i}$, computed by least squares regression. Also, the standard error is $\sigma_{\beta_i}$. I'd like to know how this is calculated.  I have no idea where the t-value and the corresponding p-value come from. I know $\hat{\beta}$ should be normal distributed, but how is the t-value calculated?  Residual standard error: 0.407 on 148 degrees of freedom   $\sqrt{ \frac{1}{n-p} \epsilon^T\epsilon }$, I guess. But why do we calculate that, and what does it tell us?  Multiple R-squared: 0.134,  Adjusted R-squared: 0.1282    $ R^2 = \frac{s_\hat{y}^2}{s_y^2} $, which is $ \frac{\sum_{i=1}^n (\hat{y_i}-\bar{y})^2}{\sum_{i=1}^n (y_i-\bar{y})^2} $. The ratio is close to 1 if the points lie on a straight line, and 0 if they are random.  What is the adjusted R-squared?  F-statistic: 22.91 on 1 and 148 DF,  p-value: 4.073e-06    F and p for the whole model, not only for single $\beta_i$s as previous. The F value is $ \frac{s^2_{\hat{y}}}{\sum\epsilon_i} $. The bigger it grows, the more unlikely it is that the $\beta$'s do not have any effect at all. How do I use 'chmod' on an NTFS (or FAT32) partition? I can't get grub menu to show up during boot