Lets say a creature is attacked by an adventurer with a net.  Can the creature free themselves from the net with misty step?
Can a character escape the  (DMG p. 177, listed in the SRD as the ) with the  spell? To clarify, I am not asking if the bands prevent teleportation. I am asking whether the bands are teleported with the character as he teleports using misty step.
After upgrading to macOS Sierra, I'm getting the notification that "Your disk is almost full. Save space by optimizing storage.":    The options appear to be to store my files in iCloud, automatically delete files, or manually delete files:    My problem/irritation is that I have 80GB free of my 440GB volume.  The question: is there a way to silence this notification in a (semi-)permanent fashion, or to change the threshold it uses for the notification? Selecting the Real Analysis Textbooks I am a sophomore in US with double majors in mathematics and microbiology. I am interested in self-studying the real analysis starting now since it will help me on my current research on computational microbiology, prepare for upcoming math research (starting on this Fall) on the analytic number theory, and prepare for the real analysis course I will take on Fall and Putnam competition. I just finished "Calculus with Analytic Geometry" by G. Simmons, "How to Prove It" by Daniel Velleman, and "How to Solve It" by G. Polya. I also read some portions of Apostol's Calculu Vol.I to get a deeper view on the calculus theories. I was originally planned to read Apostol's Calculus Vol.I and Spivak's Calculus first, but I think it would be a better idea to start with real analysis since it covers all ideas in those "advanced calculus" textbooks and much more. My current plan is to start with one "dumbed-down" real analysis textbook and one "comprehensive, detailed, and intermediate" textbook, and advance into Rudin's PMA (required textbook for my real analysis course) starting on Summer and use it in accordance with other real analysis textbooks. Could you help me on selecting one book from each category?   Elementary Real Analysis textbooks:  **Elementary Analysis: The Theory of Calculus (Kenneth Ross)  **Understanding Analysis (Steven Abbott)  **The Way of Analysis (Robert Strichartz)  **Real Mathematical Analysis (Charles Pugh)   Intermediate, detailed Real Analysis textbooks:  **Mathematical Analysis (Tom Apostol)  **Undergraduate Analysis (Serge Lang)  **Introduction to Real Analysis (Bartle, Sherbert) **Elements of Real Analysis (Bartle, Sherbert)  **Mathematical Analysis I (Vladimir Zorich)   Thank you very much for your time, and I look forward to your advice!   Sincerely, PK How do you convert CString and std::string std::wstring to each other? CString is quite handy, while std::string is more compatible with STL container. I am using hash_map. However, hash_map does not support CStrings as keys, so I want to convert the CString into a std::string. Writing a CString hash function seems to take a lot of time. CString -----&gt; std::string  How can I do this? std::string -----&gt; CString:  inline CString toCString(std::string const&amp; str) {     return CString(str.c_str());  }  Am I right?  EDIT: Here are more questions: How can I convert from wstring to CString and vice versa? // wstring -&gt; CString std::wstring src; CString result(src.c_str());  // CString -&gt; wstring CString src; std::wstring des(src.GetString());  Is there any problem with this? Additionally, how can I convert from std::wstring to std::string and vice versa? Should import statements always be at the top of a module? Today I was told a tale by a Unix trainer where the root password got leaked to the students, and one of the fellas removed the execute permission from /usr/bin/chmod itself. How do you recover chmod in this case and make it executable again? Let's say getting it from an external source or recompiling it is not a preferable option, is there some smart hack that can recover this chmod itself?   Note that this happened a long time ago and I'm not looking for a solution for some current problem, just curious about what ways Unix provides us around such an issue. Proving with induction $(1-x)^n<\frac 1 {1+nx}$ Prove using induction that $\forall n\in\mathbb N, \forall x\in \mathbb R: 0&lt;x&lt;1: (1-x)^n&lt;\frac 1 {1+nx}$   My attempt:   Base: for $n=1: 1-x&lt;\frac 1 {1+x}\iff 1-x^2&lt;1$, true since $0&lt;x&lt;1$.  Suppose the statement is true for $n$, prove for $n+1$:  $(1-x)^{n+1}=(1-x)(1-x)^{n}\overset{i.h}&lt;\frac{(1-x)}{1+nx}$  Now I got stuck, maybe another induction to show that $1+nx+x&lt;1+nx$? Is there another way?  Moreover, I was told it's wrong to begin with $(1-x)^{n+1}$ and reach to $\frac 1 {1+(n+1)x}$ but why? Is it assuming what I need to prove? I have question about ArcGIS and python script. There are following sample code, So I would like to change Another Field , not OIDFieldName. Please let me know how to change Another Field.  import arcpy import itertools  arcpy.env.workspace = r"C:\path\to\workspace"  base_shapefile = "some_shapefile.shp"  oid_field = arcpy.Describe(base_shapefile).OIDFieldName feature_count = int(arcpy.GetCount_management(base_shapefile).getOutput(0))  for (i, j) in itertools.combinations(range(feature_count), 2):     arcpy.Select_analysis(base_shapefile , "combination_%i_%i.shp" % (i, j), '"%s" in (%i, %i)' % (oid_field, i, j))   These sample code is combination for 5C2. I want to create all combiantions 5C3 , 5C4 , 5C5. How do you properly use namespaces in C++? I come from a Java background, where packages are used, not namespaces. I'm used to putting classes that work together to form a complete object into packages, and then reusing them later from that package. But now I'm working in C++.  How do you use namespaces in C++? Do you create a single namespace for the entire application, or do you create namespaces for the major components? If so, how do you create objects from classes in other namespaces? Lowering elevation of lake using QGIS I am in QGIS. I have a raster layer of mountains and a lake. I have a vector layer (shapefile) of the lake. It sits nicely where it supposed to be over the raster level. I am going to convert this height map to an STL so that I can cnc this out of wood, so I'd like the actual lake to be something like 200 feet lower than it shows on the raster layer so that I can fill it with blue epoxy. I have read a lot of clipping and everything else, and I am lost. htaccess subdomain “I do not know where … is” vs. “I do not know where is …” How does entropy depend on location and scale? The entropy of a continuous distribution with density function $f$ is defined to be the negative of the expectation of $\log(f),$ and therefore equals  $$H_f = -\int_{-\infty}^{\infty} \log(f(x)) f(x)\mathrm{d}x.$$  We also say that any random variable $X$ whose distribution has density $f$ has entropy $H_f.$  (This integral is well-defined even when $f$ has zeros, because $\log(f(x))f(x)$ can be taken to equal zero at such values.)  When $X$ and $Y$ are random variables for which $Y = X+\mu$ ($\mu$ is a constant), $Y$ is said to be a version of $X$ shifted by $\mu.$  Similarly, when $Y = X\sigma$ ($\sigma$ is a positive constant), $Y$ is said to be a version of $X$ scaled by $\sigma.$ Combining a scale with a shift gives $Y=X\sigma + \mu.$  These relations occur frequently.  For instance, changing the units of measurement of $X$ shifts and scales it.  How is the entropy of $Y = X\sigma + \mu$ related to that of $X?$ How to backup an Android device? function customization_form_user_register_form_alter(&amp;$form, &amp;$form_state, $form_id) {  $form['account']['pass']['#attributes']['placeholder'] = t('Password'); }   I am trying to set placeholder on password field in registration form.  I seted placeholder on username and email, but on password field won't work...  Any help? Thank you! What does “pull sb. out of the hat” mean? I found the phrase, “pull her out of the hat” in the following sentence of the quote from Frank Bailey, the most relied-upon former aide of Ms.Sarah Palin, whose memoir, “Blind Allegiance to Sarah Palin: A Memoir of Our Tumultuous Years” is due out on Tuesday this week.  “I doubt if there's anything new in this book, just more detailed views of the gruesome story of her rise and fall. What would really be interesting is an account of who made the decisions in the GOP to pull her out of the hat. It certainly wasn't McCain.”  I don’t find the idiom, “pull one out of the hat” in any dictionaries at hand. Does it mean to “pick up” (Sarah Palinfor (vice) presidential candidate) or “remove her from (the candidate seat)? Can somebody teach me the meaning of this phrase? Is it considered rude if you only ask Questions but almost never answer one yourself I have used the websites of SO a lot the past few months because I am busy with a large scale web project. I feel I get better answers here on SO than when I just do a Google search, maybe because I can be more specific here with my problem, and the responses are really fast.  Occasionally when I am not working I try to answer some questions, but the question almost always has an answer which is 'as good as' or 'better' than the answer I would supply.  So my question/answer ratio is about 20/1 something, if not more. When I look at my profile page I see a bucket-load of questions and almost nothing I answered myself.  Is this considered bad behaviour? I can see that this looks a little egoistic.  : One devoted to one's own interests and advancement. How to delete files listed in a text file I have a text file that has a list of paths to various files. Is there a command I can use that will iterate through each line and delete the file at the stated path? How to find a whole word in a String in java Google Chrome: Have different settings on different computers? How to understand intuitively the Stolz-Cesaro Theorem for sequences?