cmake add_test() with different runtime_output_directory
CMake & CTest : make test doesn't build tests
Converting string arrays into Map How to count the node a user has created in a View? var functionName = function() {} vs function functionName() {} I've recently started maintaining someone else's JavaScript code. I'm fixing bugs, adding features and also trying to tidy up the code and make it more consistent.  The previous developer used two ways of declaring functions and I can't work out if there is a reason behind it or not.  The two ways are:  var functionOne = function() {     // Some code };     function functionTwo() {     // Some code }   What are the reasons for using these two different methods and what are the pros and cons of each? Is there anything that can be done with one method that can't be done with the other? I am being flown out by a company for an on-site visit. Will I earn miles for this trip, or will the company? I am trying to put two subscripts at the left and right of a character. For example, something like:  _{t} p_{x}  where p is in the middle. How do you do this? Prove that a finite union of closed sets is also closed Can every even integer be expressed as the difference of two primes? Can every even integer be expressed as the difference of two primes? If so, is there any elementary proof? How do I get a block with data to place myself? If a warlock's invocation states that they can use a spell without a slot does that mean they can cast the spell as often as they want? On page 111 of the 5E hand book the invocations Misty Visions, Mask of Many Faces, Master of Myriad Forms, and Otherworldly Leap all they that you can cast them without expending a spell slot. Does this mean the spells essentially become cantrips and I can cast them as often as I want? When solving this issue (  ), I did a function so that the plugin would auto-hide from all users except one (me:).  The flaw is that it only auto-hides when active.  At first, it was a mu-plugin, but I had to enable/disable it manually. It really doesn't need to run all the time, as it may slow the site (?) or even contain some sensitive manipulation of the site's language (another question mark).  But mainly the motivation is that I don't want the client activating/deactivating/deleting this plugin (is for my own use), and don't want it cluttering her own plugins list.  So, decided to split the functions in two plugins:   One is a Must-Use used to hide the regular one.  The other will be activated/deactivated upon necessity and is the one from the above linked issue.   But now I run into another question: how to hide one plugin from the Must-Use listing? How to install the Boot-Repair tool in an Ubuntu live disc? When the bootloader (GRUB) is broken, I cannot access neither Ubuntu nor Windows.  I heard that an easy solution to fix this is to use the Boot-Repair tool from an Ubuntu liveCD (or liveUSB).  What are the steps to do this? "I had my house [be] burned down" I have found out that using the verb be in passive constructions such as:      I had my house be burned down    is incorrect, therefore it should be      I had my house burned down.    But is it possible instead of be to use get? E.g.      The wire is passed through the pliers in a specific way to avoid having it get bent.   The rope had its surface wear.   The rope had its surface get worn.   The rope had its surface worn.   The first two sound very odd to me, but just for clarification could you please point out the errors and which ones are correct? Or is using get, be it in -ing or the to infinitive, in any situation along with have incorrect? what is the real use case of dependency injection? Strange bug with "MessageName[a,b] is not of the form symbol::name ", Debugger & cursor location Ubuntu Screen Resolution How do I change the screen resolution in Ubuntu? I am dual booting Vista and Ubuntu. The preferences tab only has one resolution option for my computer. Is there anything like GF(6)? Which folder is recycle bin in on Win7? How to check files there? I was using another account before. Let me call it account A. And I deleted a lot of files to the Recycle Bin at that time. But before I removed account A I forgot to empty the Recycle Bin.   My question is, are my files still there? I've searched and found that the Recycle Bin may live in $Recycle.Bin, but I can't open files there so I can't know what they are. Any help how to open deleted files or how to delete them permanently? Let $x_0 \in \mathbb{R}$ and $f,g: \mathbb{R} \to \mathbb{R}$  such that $f$ is discontinuous at $x_0$ but $g$ is continuous at $x_0$, then $f+g$ at $x_0$ is...   My approach: After some graphical attempts to construct such a pathological case as given above I claim that the described scenario isn't possible. That is $$f \text{ disc. at } x_0 \text{ and } g \text{ cont. at } x_0 \implies f+g \text{ disc. at } x_0 $$  Proof: I was trying to come up with a contradiction, because if they happen to work out I find these kind of proofs to be most satisfying.   Assume $f+g$ is continuous at $x_0$ that is $$\forall \epsilon &gt; 0 ,\exists \delta_1 &gt; 0 : \forall x \in \mathbb{R}, |x-x_0| &lt; \delta_1 \implies |f(x)+g(x)-f(x_0)-g(x_0)| &lt; \epsilon  $$  Since this statement must be true for all $\epsilon &gt; 0$ I could choose $\epsilon:=1$. Next I know that also $g$ is continuous at said point $x_0$, thus  $$\forall \epsilon &gt; 0, \exists \delta_2 &gt; 0 : \forall x \in \mathbb{R}, |x-x_0| &lt; \delta_2 \implies |g(x)-g(x_0)| &lt; \epsilon $$  and I have that $f$ is NOT continuous at $x_0$ therefore: $$\exists \epsilon^* &gt; 0, \forall \delta&gt;0: \exists x \in  \mathbb{R}, |x-x_0| &lt; \delta \wedge |f(x)-f(x_0)| \geq \epsilon $$  My problem is to bring all these three statements nicely together. Mainly I get confused by the quantors. In order to match all three statements I assume I have to choose $\epsilon &gt; 0$ such that the last statement is met, so say $\epsilon:= \epsilon^*&gt;0$, so statement 1 and 2 are still true for said $\epsilon$  I also need to choose $\delta$. Lets say $\delta = \min{(\delta_1,\delta_2)}$ now I should be able to work with all three statements at the same time right? But then I stumble with my argumentation.  Let $|x-x_0|&lt; \delta$, then we obtain $$ |f(x)+g(x)-f(x_0)-g(x_0)| \leq |f(x)-f(x_0)| + |g(x)-g(x_0)| &lt; - \epsilon + \epsilon =0 $$ which means that $|f(x)+g(x)-f(x_0)-g(x_0)| &lt;0$ and I hope that this is a contradiction because $|.| \geq 0$. Please comment (or answer) if I am right or absolutely on the wrong path. I'd also appreciate it if you criticize my formulation. I'm a fourth year undergraduate student in a university in the U.S., and this is my last semester. I have already applied to graduate schools, and I'm currently awaiting responses. Since I have already finished all my requirements and am ready to graduate, I wanted to go part time this semester. I am aware of how it affects my financial aid; however, I do not know if it has an effect on my admittance to graduate school. I do not mean whether or not I get accepted (the decisions will happen without knowledge of my current semester), but whether I am eligible to attend graduate school if I have been part time for a semester. That is, will there be any potential issues when the schools that have accepted me see my final transcript and see I was part time? Is there a universal answer to this? Or should I contact each school individually and ask about their policy?   Also, are there any other potential issues with going part time that I haven't mentioned? Anything noteworthy I might have missed? How are dashes implemented in TeX? How does LaTeX implement the differences between the dashes?  -, --, and --- all print different dashes, but - is not an active character: it has catcode 12, the same as digits like 2.