How to display an html markup of a specific URL via cURL [php]
How to show  tag literally in / tag?
For random variables $X \in \mathbb{R}^h$, and a positive semi-definite matrix $A$: Is there a simplified expression for the expected value, $\mathop {\mathbb E}[Tr(X^TAX)]$ and variance, $Var[Tr(X^TAX)]$? Please note that $A$ is not a random variable. Direct link for PDF files in SkyDrive/OneDrive I want to make a direct link to a document at SkyDrive, so that I'll see only the PDF at the browser, not any of the SkyDrive chrome.  For example, if you click , you will go automatically to the PDF file.  Is there any way to do this? How do I merge two dictionaries in a single expression (taking union of dictionaries)? I have two Python dictionaries, and I want to write a single expression that returns these two dictionaries, merged (i.e. taking the union).  The update() method would be what I need, if it returned its result instead of modifying a dictionary in-place. &gt;&gt;&gt; x = {'a': 1, 'b': 2} &gt;&gt;&gt; y = {'b': 10, 'c': 11} &gt;&gt;&gt; z = x.update(y) &gt;&gt;&gt; print(z) None &gt;&gt;&gt; x {'a': 1, 'b': 10, 'c': 11}  How can I get that final merged dictionary in z, not x? (To be extra-clear, the last-one-wins conflict-handling of dict.update() is what I'm looking for as well.) How can I get this 'Version: 0.1.0 - 94" value from the  tag in selenium webdriver? How can I get this Version: 0.1.0 - 94 value from the &lt;div&gt; tag in selenium webdriver? and here is my code:  &lt;div _ngcontent-qbk-c3="" style="text-align: center;"&gt;Version: 0.1.0 - 94&lt;/div&gt; How do I find the angle between two vectors? I have 3 points on my screen:  a = a point which is (c.x, 0) makes a line pointing straight up b = a user input touch, can be anywhere on the screen c = a moving object         a _______.________ |      |       | |      |       |  |   b  |       | |  .   |       | |   \  |       | |    \ |       |  |     \|       | |      | c     | |______._______|   I have drawn some lines so that you can see the vectors.  I want to be able to get the angle between a and b. I have tried this, but it doesn't work, does anyone know what I'm doing wrong?:  //v1 moving object float boxX = this.mScene.getLastChild().getX();  float boxY = this.mScene.getLastChild().getY();  //v2 user touch float touchX = pSceneTouchEvent.getX(); float touchY = pSceneTouchEvent.getY();       //v3 top of screen float topX = boxX; final float topY = 0;  float dotProd = (touchX * topX) + (touchY * topY);  float sqrtBox = (touchX * touchX) + (touchY * touchY); float sqrtTouch = (topX * topX) + (topY * topY);  double totalSqrt = sqrtBox * sqrtTouch; double theta = Math.acos(dotProd / Math.sqrt(totalSqrt));   The answer I usually get is between 0 and 1. How do I fix this so that I get the angle in degrees? Are there specific techniques/filters for snowscapes? How do the bonus perks from the Advanced Warfare Center work? Export objects to separate files in Illustrator Assume that $X$ and $Y$ are two random variables such that $Y=E[X|Y]$ almost surely and $X= E[Y|X]$ almost surely. Prove that $X=Y$ almost surely.   The hint I was given is to evaluate: $$E[X-Y;X&gt;a,Y\leq a] + E[X-Y;X\leq a,Y\leq a]$$  which I can write as: $$\int_A(X-Y)dP +\int_B(X-Y)dP$$ where $A=\{X&gt;a, Y\leq a\}$ and $B=\{X\leq a,Y\leq a\}$.  But I need some more hints. Limit of function of hyperbolic How can I - without using derivatives - find the limit of the function  $f(x)=\frac{1}{\cosh(x)}+\log \left(\frac{\cosh(x)}{1+\cosh(x)} \right)$  as $x \to \infty$ and as $x \to -\infty$?  We know that $\cosh(x) \to \infty$ as $x \to \pm \infty$ thus $\frac{1}{\cosh(x)} \to 0$ as $x \to \pm \infty$.  And I imagine that $\frac{\cosh(x)}{1+\cosh(x)} \to 1$ as $x \to \pm \infty$ thus $\log\left(\frac{\cosh(x)}{1+\cosh(x)}\right) \to 0$ as $x \to \pm \infty$.  Is this approach sufficiently formal?  Any help is appreciated. Aut $\mathbb Z_p\simeq \mathbb Z_{p-1}$ I have command prompt in tcsh that shows the current working directory. The problem is that the command prompt becomes very big once I am in a deep hierarchy of folders. How do I set the command prompt to show, let's say, only the last 3 directory names? How to burn or mount an ISO file? I have downloaded an ISO file recently.  How do I burn it to a CD or DVD or mount it? Schur's theorem and numbers Can you give a proof for bounds of  $S(r)$? Please suggest me articles to have better idea of Schur's theorem (Ramsey theory). My PC has both Ubuntu and Windows 7 installed. I have installed all my drivers in Windows like Nvidia graphics, motherboard etc. Shall I install them in Ubuntu too?  I looked on the web for my Nvidia drivers and I have found a .run file. How could I install it on my Ubuntu? Does a critical hit from an expanded crit range always hit regardless of AC? This question is in respect to the Champion's increased critical hit range.  On a roll of 18 or 19 (when this class feature becomes available), is the attack automatically a hit as it would be with a 20? Estimating the intersection of two lines I have two datasets, A and B, of weighted (x,y) pairs. I computed the best fit lines, L_A and L_B, respectively, of these datasets, and then computed the intersection of these two lines, (x*,y*).  Now, A and B are drawn from random distributions (of the form y=mx+b+e, where e is a normally distributed error term). I'd like to compute a confidence interval around x*. How can I do this?  A naive approach I tried involved computing confidence intervals for the slope/intercept estimates of L_A and L_B, generating approximate distributions for those 4 parameters, and repeatedly randomly sampling from these distributions. But a given line's slope and intercept estimates are not independent of each other, and I wasn't sure how to salvage this approach to account for that. Evaluating $\int_0^{\large\frac{\pi}{4}} \log\left( \cos x\right) \, \mathrm{d}x $ How is Faulhaber's formula derived? I have been wanting to understand how to find the sum of this series.   $$1^p + 2^p + 3^p +{\dots} + n^p$$  I am familiar with Gauss' diagonalised adding trick for the sum of the first $n$ natural numbers.  I can prove the formulas for  $$\begin{align}   \sum_{1}^{n} k^2 &amp;= \frac{n(n+1)(2n+1)}{6}\\  \sum_{1}^{n} k^3 &amp;= \frac{n^2(n+1)^2}{4}\\ \sum_{1}^{n} k^4 &amp;= \frac{n(n+1)(2n+1)(3n^2+3n-1)}{30} \\ \end{align}$$  With mathematical induction. But, beyond that even proofs with mathematical induction are difficult.  I'm interested in learning the theory and the proof behind Faulhaber's formula. What is the knowledge required to understand this proof ? Do you have to want to hurt someone for the cruciatus curse to work?