Solving differential equations with sums (power series)
Solving an ODE in power series
The "Spell Storing" ability of the Shield Guardian says:     To do so, the wearer must cast the spell on the guardian.  The spell has no effect but is stored within the guardian.   This seems to indicate you cannot cast, for instance, Fire Shield on the Guardian, because that has a range of Self.  This seems different than what is intended, as the wording for a ring of spell storing is:     This ring stores spells cast into it, holding them until the attuned   wearer uses them....Any creature can cast a spell of 1st through 5th   level into the ring by touching the ring as the spell is cast.  The spell has no effect, other than to be stored in the   ring.   The use of the word "into," which does not seem to indicate any range, versus the use of the word "on," which seems to mean the guardian is a target of the spell.    Which is the correct interpretation, grammatically, versus what is the RAI? If $k>0$ is a positive integer and $p$ is any prime, when is $\mathbb Z_p[\sqrt{k}] =\{a + b\sqrt k~|~a,b \in\mathbb Z_p\}$ a field. combining results of two select statements Callout Mock Responses & multiple HTTP Status Code values I'm trying to unit test the behavior of some code which performs callouts and its logic is dependent on the HTTP status code of the response - 200 vs 401.  The pattern being exercised is familiar:   Make callout Response is (unauthorized) HTTP 401 Logic checks Status value on the response if (status == 200) { /* yay! */ } if (status == 401) { /* make request for auth /* }   retry original callout with newly acquired authorization yay!    I am attempting to test the code's "try, auth, retry" behavior using the MultiStaticResourceCalloutMock but it appears that only a single status code can be set for all requests that the mock provider can respond to using the .setStatusCode(int) method. Is this accurate?  Is there a mechanism for using a single MultiStaticResourceCalloutMock and having it respond with different status codes per URL in the test context?  Is the only solution here to use a Dispatcher such as what Andrew Fawcett documents here in this answer?   Is there another method/mechanism that allows for different status codes to be returned by the mock provider on the HTTPResponse?    Some  showing the one-time usage pattern of the .setStatusCode(200) method and the multimock class.  @isTest private class CalloutMultiStaticClassTest {     @isTest static void testCalloutWithMultipleStaticResources() {         // Use MultiStaticResourceCalloutMock to         // specify fake response for a certain endpoint and          // include response body in a static resource.             MultiStaticResourceCalloutMock multimock = new MultiStaticResourceCalloutMock();         multimock.setStaticResource(             'http://api.salesforce.com/foo/bar', 'mockResponse');         multimock.setStaticResource(             'http://api.salesforce.com/foo/sfdc', 'mockResponse2');         multimock.setStatusCode(200);         multimock.setHeader('Content-Type', 'application/json');          // Set the mock callout mode         Test.setMock(HttpCalloutMock.class, multimock);          // Call the method for the first endpoint         HTTPResponse res = CalloutMultiStaticClass.getInfoFromExternalService(             'http://api.salesforce.com/foo/bar');         // Verify response received          System.assertEquals('{"hah":"fooled you"}', res.getBody());          // Call the method for the second endpoint         HTTPResponse res2 = CalloutMultiStaticClass.getInfoFromExternalService(             'http://api.salesforce.com/foo/sfdc');         // Verify response received          System.assertEquals('{"hah":"fooled you twice"}', res2.getBody());     } } How is money held in escrow for a home purchase from a IRA treated by the IRS? Using all the letters of the word ARRANGEMENT how many different words using all letters at a time can be made such that both A, both E, both R both N occur together . pattern of moving electrons in wire under AC Why didn't the Alliance send for Yoda instead of Obi-Wan? Is there any SE Site where Questions related to Hacking are on-topic? Where were the cannons in final fight in Wakanda in Infinity War? In Black Panther, Ulysses Klaue describes his arm cannon as a leaf blower in comparison to the cannons/weapons that Wakanda has.  Infinity War comes after the events of Black Panther, so the weapons should exist. During the final fight with the children of Thanos and Space Dogs (as Rocket refers to them), Wakandans could have used these powerful cannons, pointing them at the opened section of barrier. Instead they chose a fist fight.  Even M'Baku says that it would be the end of Wakanda, so the magnitude is huge and risks are very high. Why were these powerful weapons not used?    Edit 1: I watched the movie again and planes are there in the fight. But they were only used to destroy the spaceships that crashed. Undocumented increase in minimum bounty value? I recently discovered that if I have posted an answer to a question, the minimum bounty I can offer for that question is +100 (instead of the usual +50).   Temporarily deleting the answer reinstates the +50 bounty (a workaround!).  As far as I can tell, this is not mentioned in  , , or . I've also tried  but didn't get very far.  So:   Should the FAQs be updated to include this information? Why have this rule in the first place if it's so easily bypassed?     Update:  This is indeed a new feature (introduced in ) to .This is mentioned explicitly in a few   but, as far as I can tell, not in FAQs. This information is therefore out of reach of mere mortals who do not have a finger on the pulse of MSO/SE.   The loophole mentioned above , but as of this update, can still be exploited (tested on superuser).  We can haz bugfix and faq update, pliz? How to disable Import option in LibreOffice Calc while pasting text in a cell? I'm making a table in which I have to copy few lines from pdf to a table. I'm using LibreOffice calc for table making purpose. Problem is that even though I am copying simple text from the pdf, when I paste it to LibreOffice, Import Option keeps on poping up(randomly-sometimes it pop up sometime it does't). And due to this pasted text's font size also very small. Desired result is that when I paste the text in the cell, it just got pasted in the cell, without any time wasting popup which also disturbs the font size. Same question is asked here but no solution. A limit ordinal $\gamma&gt;0$ is said to be indecomposable iff $\nexists\alpha,\beta&lt;\gamma$ such that $\alpha+\beta=\gamma$.  In view of this definition, I’m trying to prove the equivalence of the following statements for limit ordinals $\gamma$:  (1) $\gamma$ is indecomposable.  (2) $\alpha+\gamma=\gamma$ $\forall\alpha&lt;\gamma$.  (3) $\gamma=\omega^\alpha$ for some $\alpha\in\mathrm{ON}$.  I’ve been able to get $(1)\implies(2)$ and $(3)\implies(1)$, but I have nothing more than scratch work for $(2)\implies(3)$.  Any suggestions would be appreciated. If $X$ is compact and $T:X \to Y$ continuous and bijective, show that $T$ is homeomorphism. Let $X$ and $Y$ be metric spaces, $X$ compact, and $T:X \to Y$ bijective and continuous. Show that $T$ is a homeomorphism.   My attempt:  We need only show that $T^{-1}$ is continuous.  Let $M \subset Y$ be closed. Then, from the surjectiveness of $T$, there exists a $A \subset X$ such that $T(A)=M$. Since $M$ is closed, by the continuity of $T$, we must have that $A$ is closed.  Now $$T^{-1}(T(A))=T^{-1}(M)$$ i.e, $A=T^{-1}(M)$. Since $A$ and $M$ are closed, we must have that $T^{-1}$ is continuous.  My problem with this, however, is that I am not using the fact that $X$ is compact anywhere in the proof. Is there perhaps another way that I can show this, using the compactness of $X$?   Any hints will be appreciated. How to add startup applications in lubuntu? Evaluate  $$\int\frac{e^xdx}{(e^{2x}-1)(e^x+1)}$$  I tried to decompose the integrand into A and B partial fractions.  No success. Find the limit $\lim_{n\rightarrow\infty}\sum_{k=1}^{n}\frac{1}{k+n}$ $$\lim_{n\rightarrow\infty}\sum_{k=1}^{n}\frac{1}{k+n}$$  Could you please give me a hint how to find this limit? When should static_cast, dynamic_cast, const_cast and reinterpret_cast be used? What are the proper uses of:   static_cast dynamic_cast const_cast reinterpret_cast C-style cast (type)value Function-style cast type(value)   How does one decide which to use in which specific cases? Manual/automatic line breaks and text alignment in TikZ nodes XSL That Returns the XML unchanged