Why are exceptions detrimental to performance?
What are the effects of exceptions on performance in Java?
Correlated joint normal distribution: calculating a probability Given   $$ f_{XY}(x,y) = \frac{1}{2\pi \sqrt{1-\rho^2}} \exp \left( -\frac{x^2 +y^2 - 2\rho xy}{2(1-\rho^2)} \right) $$  $Y = Z\sqrt{1-\rho^2} + \rho X$  And   $$ f_{XZ}(x,z) = \frac{1}{2\pi } \exp \left( -\frac{x^2 +z^2}{2} \right) $$  Show that $P(X&gt;0,Y&gt;0)= \frac{1}{4}+\frac{1}{2\pi}(\arcsin \rho) $  I'm supposed to use the fact that X and Z are independent standard normal random variables, but I don't quite understand how. Any help would be greatly appreciated. As shown in various episodes ("Mirror, Mirror," "Phantasms," etc.), other universes exist, oftentimes containing the same characters, albeit in different situations than in the prime universe. I'm curious, though, whether individuals that apparently exist outside of the multiverse, such as members of the Q, would not be duplicated elsewhere. It seems reasonable to me, but I'm not sure. How to understand degrees of freedom? Why does the humidifier make a stove's flame orange? Just like , the color of my stove's flames were affected by the humidifier as well.  Why does this happen? Is it a good thing or a bad thing ? I have a managed C# dll that uses an unmanaged C++ dll using DLLImport. All is working great. However, I want to embed that unmanaged DLL inside my managed DLL as explain by Microsoft there:    So I added the unmanaged dll file to my managed dll project, set the property to 'Embedded Resource' and modify the DLLImport to something like:  [DllImport("Unmanaged Driver.dll, Wrapper Engine, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null", CallingConvention = CallingConvention.Winapi)]   where  'Wrapper Engine' is the assembly name of my managed DLL 'Unmanaged Driver.dll' is the unmanaged DLL  When I run, I get:     Access is denied. (Exception from HRESULT: 0x80070005   (E_ACCESSDENIED))   I saw from MSDN and from  that's supposed to be possible... Is it possible to extend a tourist Schengen visa (12 more days)? Is $R^2$ useful or dangerous? I was skimming through  by Cosma Shalizi (in particular, section 2.1.1 of the ), and was reminded that you can get very low $R^2$ even when you have a completely linear model.  To paraphrase Shalizi's example: suppose you have a model $Y = aX + \epsilon$, where $a$ is known. Then $\newcommand{\Var}{\mathrm{Var}}\Var[Y] = a^2 \Var[x] + \Var[\epsilon]$ and the amount of explained variance is $a^2 \Var[X]$, so $R^2 = \frac{a^2 \Var[x]}{a^2 \Var[X] + \Var[\epsilon]}$. This goes to 0 as $\Var[X] \rightarrow 0$ and to 1 as $\Var[X] \rightarrow \infty$.  Conversely, you can get high $R^2$ even when your model is noticeably non-linear. (Anyone have a good example offhand?)  So when is $R^2$ a useful statistic, and when should it be ignored? How will learning about philosophy impact real-life? Does "a couple" always mean two? Prove that ${\left(\frac{x+1}{2}\right)}^{x+1} \leq x^x$ I want to prove that for each real number $x&gt;0$, the statement  $${\left(\frac{x+1 } {2}\right)}^{\!x+1} \leq x^x$$  is correct.   I’ve tried using mathematical induction methods, but haven’t found a solution. Although, using any method is appreciated. In Oracle, I can re-create a view with a single statement, as shown here:  CREATE OR REPLACE VIEW MY_VIEW AS SELECT SOME_FIELD FROM SOME_TABLE WHERE SOME_CONDITIONS   As the syntax implies, this will drop the old view and re-create it with whatever definition I've given.  Is there an equivalent in MSSQL (SQL Server 2005 or later) that will do the same thing? This is NOT an installation problem question. I've had both op sys working fine side-by-side for a couple of weeks now. I'm using Ubunutu 12.04 64-bit.  This morning when I tried to switch from Win8 to Ubuntu, it just rebooted into Win8. No grub screen whatsoever. This is the 3rd machine I've had dual-booting &amp; have never seen this, but then Win8 is a 1st for me &amp; has thrown some pretty awesome blocks in the path to get to here. Atrocious op sys...  I'm assuming the ASUS updater did this yesterday. (ASUS R503U)  So, do I just put the Ubuntu disk in &amp; reinstall grub? I know how to , but I'd like to add a bunch of different extensions and avoid the tedious job of adding every single one. Is there a command line tool or registry key I can use to accomplish this? How can the pixel values of a raster image be extracted under a polygon fishnet? I have a single band raster image of 30m by 30m resolution. I have already created a polygon fishnet (grid) of 300m by 300m with point labels over that. How can I extract the mean pixel value of the raster image overlaying each feature in the fishnet grid? Is it possible with Arcgis?  Please inform me. Which Python memory profiler is recommended? I want to know the memory usage of my Python application and specifically want to know what code blocks/portions or objects are consuming most memory. Google search shows a commercial one is  (Windows only).  And open source ones are  and .  I haven't tried anyone, so I wanted to know which one is the best considering:   Gives most details. I have to do least or no changes to my code. I'm having an issue with the following piece of (G)AWK script:  do {     ... } while (system("sleep 10"))   My intention is to break the loop when the user presses ^C during the sleep, but it's not working.  I believe the problem is that Bash exits with 0 when interrupted with ^C, at least when it's executed by AWK's system():  $ awk 'BEGIN { print "\n" system("sleep 2") }' (let the sleep complete) 0      $ awk 'BEGIN { print "\n" system("sleep 2") }' ^C 0   Why is it so?   Is this a bug in Bash or in (G)AWK?  Is there a simple solution that doesn't involve complicated Bash-specific syntax like trap?  The best I could come up with is this:  do {     ... } while (42 == system("sleep 10 &amp;&amp; exit 42"))   which still looks like a kludge to me. Accessing a property of derived class from the base class in C# Another word for a troll not on the internet The definition of an internet troll:     In Internet slang, a troll (/ˈtroʊl/, /ˈtrɒl/) is a person who sows   discord on the Internet by starting arguments or upsetting people,   by posting inflammatory,[2] extraneous, or off-topic messages in an   online community (such as a forum, chat room, or blog), either   accidentally[3][4] or with the deliberate intent of provoking readers   into an emotional response[5] or of otherwise disrupting normal   on-topic discussion.[6]      This sense of the word troll and its associated verb trolling are   associated with Internet discourse, but have been used more widely.   Media attention in recent years has equated trolling with online   harassment. For example, mass media has used troll to describe "a   person who defaces Internet tribute sites with the aim of causing   grief to families."[7][8]     What is the equivalent for a person who does this type of thing in real life (non-cyber) troll? Solve a linear system with more variables than equations Schengen area 90 days limit: Can I leave on the 91st day? Can anyone tell me if the 90 days is in fact 90 nights? Can you leave the Schengen area on the 91st day? Or are you only allowed 89 nights and you are required to leave on the 90th day?