C/C++ Macro for breaking or continuing
Why use apparently meaningless do-while and if-else statements in macros?
Hypernym for "audiobook", "podcast", "speech", etc.? Can a level 1 Warlock Cast a 4th level spell from 8th level Sorcerer with their warlock pact magic spell slots? Can my player’s multiclass Warlock 1/Sorcerer 8 cast the higher level sorcerer spells from with their warlock pact magic spell slots?  My player argued that he could now cast his 4th level sorcerer spells with his level 1 warlock  spells slots. I think he interpreted pact magic as "highest spell slot possible",  so he figures that since he has 4th level spell slots, he interprets that the warlock spell slots are 4th level slots now too. How do I redirect in a class sub-classing the EventSubscriber class? We're having a problem with the core poll module on drupal 7. We have a poll that we want anonymous users to be able to vote on. There is currently one anonymous vote, and now anonymous viewers only see the result (we've tried looking at it from outside our network).   We've checked the perms, and anonymous can vote and view results ( but not change vote). We've cleared the cache.   How does Poll work on D7 with regards to the anonymous user? I have a simple page that has some iframe sections (to display RSS links). How can I apply the same CSS format from the main page to the page displayed in the iframe? Suppose that $(s_n)$ converges to s. Prove that $(s_n^2)$ converges to $s^2$ I am really struggling with my proofs class, I don't really understand how to prove a statement like this, or what the epsilon is standing for..  Suppose that $(s_n)$ converges to s.  Prove that $(s_n^2)$ converges to $s^2$ directly without using the fact that $lim(s_nt_n)=st$  Suppose that $(s_n)$ converges to s. Then, since $(s_n)$ is convergent, there exists an $M_1$ such that $|S_n|&lt;M_1$, for all $n\in \!\,\mathbb{N} \!\,$. Let $M=M_1+|S|$ (I don't completely understand this step...). Then given $ε&gt;0$, there exists N such that n>N implies that $|s_n-s|&lt;ε/M$. Thus for n>N, we have $|s_n^2-s^2|=|s_n-s|*|s_n+s|&lt;(ε/M)(M)=ε$. Hence, $s_n^2$ converges to $s^2$. How can I determine that I am looking at the block I need? I want to execute a command if I am looking at a specific block. A command should only be executed if it is targeted. What are drawbacks or disadvantages of singleton pattern? The  is a fully paid up member of the 's , but it lately seems rather orphaned by the developer world. I still use quite a lot of singletons, especially for , and while you have to be a bit careful about multithreading issues (like any class actually), I fail to see why they are so awful.  Stack Overflow especially seems to assume that everyone agrees that Singletons are evil. Why?  Please support your answers with "facts, references, or specific expertise" I reviewed  in the First Posts queue.  Which said      i changed it to 'localsystem' and done. thanks much   So it obviously was a potential low quality post. But sometimes such answers can be spot on, so I checked it out, better safe than sorry. I turned out the post had been deleted. Great! So I clicked "No action needed". Then I got this:    You can imagine I felt "wrongfully accused".  I think that deleted posts should not be used for review audits, because the meaning of "No action needed" is not clear in this context. Explain the plane scene in The Dark Knight Rises? In The Dark Knight Rises, at the beginning of the film Bane kidnapped a guy from the plane, then he drew blood from the guy he kidnapped. And then throughout the movie I didn't see any news regarding this kidnap scene. But, before the end of the movie we find out that the guy kidnapped by Bane was Dr Pavel. Bane needed him to convert the fusion project into a nuclear bomb and Dr Pavel was the only guy who could have done it.   But I don't understand, why did he draw blood from Dr Pavel? Finding Distribution function from probability density function Strange Recurrence: What is it asymptotic to? So I have the following recurrence relation for the growth rate of an algorithm:  $T(n)$ = time taken by algorithm to solve problem of size n:  $$T(n) = T(n-1) + T(\lceil(n/2)\rceil)$$  Clearly this does not obey any polynomial law but now my question is what does it obey?  I merely want an asymptotic equivalence.  My guess is subexponential since this is faster than polynomial but clearly slower than any exponential form.  What though is the question.... Do you need a comma before a subordinating conjunction (like if)? Are both of the following sentences correct?  a: You can call me, if you need me.  OR  b: You can call if you need me.  Note that in a:, the comma is placed before the "if" and is not present in case b.  From this link, I gather that it isn't necessary because it's a short sentence:   But can someone point out an "official" source on this usage? How do I get the member to which my custom attribute was applied? How to create two classes in C++ which use each other as data? Most efficient way to randomly "sort" (Shuffle) a list of integers in C# What is the best (idiomatic) way to check the type of a Python variable? I need to know if a variable in Python is a string or a dict.  Is there anything wrong with the following code?  if type(x) == type(str()):     do_something_with_a_string(x) elif type(x) == type(dict()):     do_somethting_with_a_dict(x) else:     raise ValueError   Update: I accepted avisser's answer (though I will change my mind if someone explains why isinstance is preferred over type(x) is).  But thanks to nakedfanatic for reminding me that it's often cleaner to use a dict (as a case statement) than an if/elif/else series.  Let me elaborate on my use case.  If a variable is a string, I need to put it in a list.  If it's a dict, I need a list of the unique values.  Here's what I came up with:  def value_list(x):     cases = {str: lambda t: [t],              dict: lambda t: list(set(t.values()))}     try:         return cases[type(x)](x)     except KeyError:         return None   If isinstance is preferred, how would you write this value_list() function? How much of 32-bit support is dropped in macOS Catalina? macOS Catalina is said to have dropped support for 32-bit apps. It’s not clear how much support is dropped.   Is there any supported way for a 64-bit app to request the kernel to create a 32-bit code segment? How to set a proxy for terminal? I am looking to set a proxy for terminal. What I need is I want to send all terminal communications to the internet through a proxy, say tor.   I tried to set a system wide proxy set up. But Terminal doesn't obey the system wide proxy configuration.  Is there any other way to do this? $A$ is an $n\times n$ matrix of complex numbers. Prove that if $\lambda$ is an eigenvalue of $A^2,$ then $\sqrt{\lambda}$ or $-\sqrt{\lambda}$ is an eigenvalue of $A.$    If $\lambda$ is an eigenvalue of $A^2,$ we have $\lambda\alpha=A^2\alpha$ for some $\alpha.$ Then how can we find a $\beta$ s.t. $\sqrt{\lambda}\beta=A\beta?$