As I understand it, class features only apply to spells you gained through that class. For example, I can't use the Distant Spell metamagic on, say, Cure Wounds, if I gained Cure Wounds from being a Bard. Am I correct in this?  Speaking as both a player and DM here. I wanna know what I can build around.
Can a multiclass sorcerer/cleric use the Metamagic class ability with non-sorcerer spells? For example, using Twinned Spell when casting cure wounds to heal two creatures instead of just one?
Facebook changed how their API serves profile pictures that are requested with a non-application scope UID. Now because before Graph API 2 all applications shared the original UID, if users like me has joined Stack Exchange websites before  2, rolling out their profile pictures are not shown properly. Facebook suggests to use an access token to query those profile pictures, either an application access token or a user access token. A user access token is not a reliable option at all, because it would only work for users who joined website with Facebook and are currently logged in. Application access tokens, by the way, can be used by creating sort of a proxy that would retrieve a profile picture from Facebook and display it. Yet still it's not perfect. I think the best solution is to communicate with Facebook and ask them to offer an opportunity to convert old Graph API 1 UID's to application scope user IDs. Properties of $x_k=\frac{a_{k+1}-a_{k}}{a_{k+1}}$ where $\{a_n\}$ is unbounded, strictly increasing sequence of positive reals Let $\{a_n\}$ be an unbounded, strictly increasing sequence of positive real numbers and let $x_k=\frac{a_{k+1}-a_{k}}{a_{k+1}}$. Which of the following statements is/are correct? (CSIR NET December 2014)         For all $n\geq m, \sum\limits^{n}_{k=m}x_k&gt;1-\bf{\frac{a_m}{a_n}}$   There exist $n\geq m, \sum\limits^{n}_{k=m}x_k&gt;\frac{1}{2}$      My attempt:  Analysing question in light of $a_k=k\implies x_k=\frac{k+1-k}{k+1}=\frac1{k+1}$, I feel both are correct, I doubt if  I can generalise the result in light of this one example.   Any way to prove that this true for general case?    Note: Please do not confuse  with my question. The first two options are different, I've marked the difference in bold. I want to show that  $$\int_{0}^{\frac{\pi}{2}}\frac{d\theta}{a + \sin^2(\theta)} = \frac{\pi}{2\sqrt{a(a+1)}}$$  for $a &gt; 0$.  I try several methods   Substitutions to rationalize The famous $U = \tan(\frac{\theta}{2})$ Multiplying by conjugates   and other calculus techniques and still, I can not prove the equality.   Anyone can give me a hint of how should I begin to work this integral?  I'm very ashamed that I can not solve this problem. Prove if $f:[a,b] \rightarrow \mathbb{R}$ is integrable, then so is $|f|$ and $\left|\int_{a}^{b}f(x)dx\right| \leq \int_{a}^{b}|f(x)|dx$ Prove that if $f:[a,b] \rightarrow \mathbb{R}$ is integrable, then so is $|f|$ and $\left|\int_{a}^{b}f(x)dx\right| \leq \int_{a}^{b}|f(x)|dx$   I already proved that |f| is integrable, but how do I show that $|\int_{a}^{b}f(x)dx| \leq \int_{a}^{b}|f(x)|dx$   ? I'm trying to do raster algebra with two rasters, but when I transform the rasters to array I can't do the operation because the files do not have the same extent  example:  from osgeo import gdal import numpy as np  IMG1 = gdal.Open('C:/IMG1.TIF') IMG2 = gdal.Open('C:/IMG2.TIF')  img1 = IMG1.ReadAsArray() img2 = IMG2.ReadAsArray()  img1+img2 &gt;&gt;&gt;&gt;&gt; ValueError: operands could not be broadcast together with shapes (5353,3352) (5548,3232)    So.. if I see the gt of every img show that img1 and img2 have the same size of the pixel (100) but different extent  g1 = IMG1.GetGeoTransform() gt1 &gt;&gt;&gt;&gt;&gt; (482084.999999999, 100.0, 0.0, 5652715.00001374, 0.0, -100.0) g2 = IMG2.GetGeoTransform() gt2 &gt;&gt;&gt;&gt;&gt; (475184.999999999, 100.0, 0.0, 5643715.00001535, 0.0, -100.0)   So.. I used this operation in order to get the intersect extent.. but I don't know how to apply  r1 = [gt1[0], gt1[3],gt1[0] + (gt1[1] * IMG1.RasterXSize), gt1[3] + (gt1[5] * IMG1.RasterYSize)] r2 = [gt2[0], gt2[3],gt2[0] + (gt2[1] * IMG2.RasterXSize), gt2[3] + (gt2[5] * IMG2.RasterYSize)] intersection = [max(r1[0], r2[0]), min(r1[1], r2[1]), min(r1[2], r2[2]), max(r1[3], r2[3])] ArgumentNullException or NullReferenceException from extension method? What would you consider to be the best exception type to throw when an extension method is called on a null instance (where the extension method does not allow it)? Since extension methods are nothing but static methods you could argue that it should be ArgumentNullException, but on the other hand they're used like instance methods so it might be more natural to use the NullReferenceException. Let's take the following example:  public static string ToInvariantString(this IFormattable value, string format) {     return value.ToString(format, CultureInfo.InvariantCulture); }   This way a NullReferenceException will be thrown if the value parameter is null.   The other example would be:  public static string ToInvariantString(this IFormattable value, string format) {     if (value == null) throw new ArgumentNullException("value");     return value.ToString(format, CultureInfo.InvariantCulture); }   EDIT: In some of the answers you have pointed out that an extension methods can be called like a static method and in those cases a null reference exception would be wrong, which is a great point, and actually one of my concerns, not sure why I forgot to mention that in the question in the first place.   Someone also pointed out that it's wrong to throw a NullReferenceException, and yes, it is. That's why I don't throw it, I just let it happen (let the CLR throw it) by not guarding the method.  I think I favor the ArgumentNullException (that's what I've use so far) but I still think there is at least room to argue for an against the NullReferenceException since it seems more natural in most places where the method is going to be used. I'm looking for a simple, easy to understand algorithm to alphabetically sort an array of characters in C. How to convert a number to words in MS Excel Android app? Excel Macros are unsupported in Android and there is also no SpellNum Function in Android . I want a function which can convert a number to words. Is there any way we can achieve this ? eg -  40004  , should be converted to Forty Thousand Four How do I change the email address associated with my Stack Exchange OpenID? I registered my Stack Overflow account using the Stack Exchange OpenID provider. I later changed my e-mail, but I cannot change the e-mail address associated with my OpenID for some reason. Why is that, and how do I change it? I logged in to Stack Exchange and it lets me change my password, but never my e-mail. How do you easily horizontally center a  using CSS? I'm trying to horizontally center a &lt;div&gt; block element on a page and have it set to a minimum width. What is the simplest way to do this? I want the &lt;div&gt; element to be inline with rest of my page. I'll try to draw an example:  page text page text page text page text page text page text page text page text                -------                | div |                ------- page text page text page text page text page text page text page text page text I have an itemized list:  \begin{itemize}     \item Lorem     \item Ipsum     \item Sit     \item Dolor     \item Amet \end{itemize}   I want to create an accolade on the right side of 'Lorem' and 'Ipsum', and add a bit of text at the point of the accolade. The level of this text should be between the first and the second line. How can I get this done? existence of complex structure in dimension 2 Does an orientable closed 2 manifold always admit a complex structure?﻿  I know that an almost complex doesn' t necessarily give rise to a complex structure(the almost complex structure should be integrable) I am studying 2 manifolds over R, and I wonder if an almost complex structure always exist? This almost structure may be chosen integrable?  I ask because there are certain known results on the different possible geometries in dimension 2.I don' t know exactly how these manifolds (closed and orientable) are classifyied, but I know there are three cases. May be I am confused, and the complex structure is irrelevant to this classification. Some help please! Integrating trigonometric function problem $\int \frac{3\sin x+2\cos x}{2\sin x+3\cos x}dx$ \begin{eqnarray*} \int \frac{3\sin x+2\cos x}{2\sin x+3\cos x}dx &amp;=&amp;  \int \frac{(3\sin x+2\cos x)/\cos x}{(2\sin x+3\cos x)/\cos x}dx\\ \\ &amp;=&amp; \int \frac{3\tan x +2}{2\tan x +3} dx\\ &amp;&amp; u = \tan x \text{ and } du = \sec^2 x \ dx  \end{eqnarray*} Am I going in the right direction with this one? It seems like not. Why do we use "./" (dot slash) to execute a file in Linux/UNIX? Why do we use ./filename to execute a file in linux?  Why not just enter it like other commands gcc, ls etc... I'm trying to remember information about a series of three books I read in the early 1980's (first book could have been published in the 1970's). The book featured a character who was a scientific creation of some sort. It was (initially, I believe) an assassin, and had the ultimate getaway scheme; with effort, it could change its body, becoming about 10 years younger and switching sex. It changed 4 or 5 times in the first book, coming down from a senior citizen to someone in their teens or twenties; in the second and third books, it changed once per book (by the last book, it was a child or a young teenager).  The first book was title something like "The Morph..." where whatever the word was that started with "Morph" was this creature. No recollection of the author's name, or the titles of the other two books.  I think the cover of the first book was predominantly yellow, with black silhouettes representing the character at the four ages seen in the book, and a black title. And/or, the book might have been published by DAW (all their books at the time had yellow spines with black letters). Can anonymous class implement interface? Is it possible to have an anonymous type implement an interface?  I've got a piece of code that I would like to work, but don't know how to do this.  I've had a couple of answers that either say no, or create a class that implements the interface construct new instances of that. This isn't really ideal, but I'm wondering if there is a mechanism to create a thin dynamic class on top of an interface which would make this simple.  public interface DummyInterface {     string A { get; }     string B { get; } }  public class DummySource {     public string A { get; set; }     public string C { get; set; }     public string D { get; set; } }  public class Test {     public void WillThisWork()     {         var source = new DummySource[0];         var values = from value in source                      select new                      {                          A = value.A,                          B = value.C + "_" + value.D                      };          DoSomethingWithDummyInterface(values);      }      public void DoSomethingWithDummyInterface(IEnumerable&lt;DummyInterface&gt; values)     {         foreach (var value in values)         {             Console.WriteLine("A = '{0}', B = '{1}'", value.A, value.B);         }     } }   I've found an article  that describes one approach. Is this the best way of doing this? Visiting Iran as a dual EU-American citizen I find I have to scroll a lot to move the text of my page compared to Windows where I can choose the speed of the mouse wheel.   Does Ubuntu have a similar utility and if so how can I access it? I've read that flash memories can "only" be reprogrammed 100000 to 1000000 times, until the memory storage "deteriorates"  Why exactly does this happen with flash and not other memory types, and what does "deteriorate" refer to, internally?  EDIT: Since it's not only flash that this happens, I'd like to generalize a bit and inquire about the memories that have this problem. Also, does the wearing out between these memory types occur due to the same phenomenon? How to run ffmpeg from command line in android