I've seen responses using , where the code is broken up into html, css, javascript and the output.  Q: If I have a post that includes a lot of code, is is better to post it to an outside source, or simply paste it into my question in a code block?
. (See comments to the question: the OP tried to include a couple of long XML files, but that wasn't possible.)  What's the recommended approach to including code/data, when there's just too much of it to embed in the question?  I could think of a few approaches myself:   Paste the data to a pastebin and link (and wait for the links to die) Encode the (compressed) data in an image and include that (kludgy!) Implement an attachment feature in Stack&nbsp;Overflow (which will probably be abused)
Probability of lim sup, lim inf for sequence of random variables. Maybe this is extremely simple, but i havent found a specific answer for this online.  For a sequence of independent continuous random variables $X_n$ ,$n=1,2,3,...$ , all with the same probability density function $f(x)&gt;0$ for all real $x$, and a specific real number $b$, what do the following events mean in simple terms and what is the probability of each?  a)$\lim_n\sup\{X_n \gt b\}$ b)$\lim_n\inf\{X_n \gt b\}$ c)$\lim_n\sup\{X_n \le b\}$ d)$\lim_n\inf\{X_n \le b\}$ Why is the Java plugin (JRE) disabled in Chrome? Why is the Java plugin (JRE) is disabled in Chrome? It is some security concern?  From official Java website:     Chrome no longer supports NPAPI (technology required for Java applets)   The Java plug-in for web browsers relies on the cross platform plugin architecture NPAPI,   which has been supported by all major web browsers for over a decade.   Google's Chrome version 45 (scheduled for release in September 2015) drops support   for NPAPI,   impacting plugins for Silverlight, Java, Facebook Video   and other similar NPAPI based plugins.   But anyone knows why? How it could be dangerous for Chrome user with latest version of Java JRE installed? is $y = \sqrt{x^2 + 1}− x$ a injective (one-to-one) function? I have a function  $y = \sqrt{x^2 + 1}− x$ and I need to prove if it's a Injective function (one-to-one).  The function f is injective if and only if for all a and b in A, if f(a) = f(b), then a = b  $\sqrt{a^2 + 1} − a = \sqrt{b^2 + 1} − b$  $\sqrt{a^2 + 1} + b = \sqrt{b^2 + 1} + a$  $(\sqrt{a^2 + 1} + b)^2 = (\sqrt{b^2 + 1} + a)^2$  $a^2 + 1 + b^2 + 2b\sqrt{a^2 + 1} = b^2 + 1 + a^2 + 2a\sqrt{b^2 + 1}$  $2b\sqrt{a^2 + 1} = 2a\sqrt{b^2 + 1}$  $b\sqrt{a^2 + 1} = a\sqrt{b^2 + 1}$  $(b\sqrt{a^2 + 1})^2 = (a\sqrt{b^2 + 1})^2$  $b^2(a^2 + 1) = a^2(b^2 + 1)$  $b^2a^2 + b^2 = a^2b^2 + a^2$  $b^2 = a^2$  $\sqrt{b^2} = \sqrt{a^2}$  $b = \pm a$  then the function is not injective because $b$ in not equal to $a$, but using online  the function is injective. What can you say about the range space and null space Let $V$ be a vector space over a field $F$ and $T$ a linear operator on $V$. If $T^2$$=$ $0$, what can you say about the relation of the range of $T$ to the null space of $T$? Advantages of ROC curves What is the JavaScript >>> operator and how do you use it? How does the drift velocity of electrons in a conductor depend on the temperature? How does the drift velocity of electrons in a conductor depend on the temperature?  I have two contradicting views for this.    First, we can say that increasing the temperature of the conductor will increase the kinetic energy of the electrons. Hence, their drift velocity should increase with increase in temperature.  Or, from the relation $v_d = \frac{eE}{m}T$ ($T$ is the relaxation time) we can say that the drift velocity is directly proportional to the relaxation time. Increasing the temperature will obviously decrease the relaxation time - as collisions will become more frequent - and thus decrease the drift velocity. Hence, an increase in the temperature will cause a decrease in the drift velocity.   So which view is correct? Indicator Function Here is  an excerpt from "All of Statistics" by Larry Wasserman (page 23):     Given an event A, define the indicator function of A by      $$ I_{A}(\omega)= \color{Red}{I(\omega \in A)} =\begin{cases}  1 &amp;  \text{ if } \omega \in A \\   0 &amp; \text{ if } \omega \notin A   \end{cases} $$   I am not convinced, referring to term colored red, with the notation here. Since this is a widely referred text, I would like to know that whether this is a typo or I am missing something here. What are the basic rules and idioms for operator overloading? Show that $u(x)=\ln\left(\ln\left(1+\frac{1}{|x|}\right)\right)$ is in $W^{1,n}(U)$, where $U=B(0,1)\subset\mathbb{R}^n$. The entire problem statement is:  Let $n&gt;1$ and let $U=B(0,1)\subset\mathbb{R}^n$. Show that $u:U\to\mathbb{R}$ given by  $$u(x)=\ln\left(\ln\left(1+\frac{1}{|x|}\right)\right)$$ is in $W^{1,n}(U).$  My attempt at the proof is as follows:  To show that $u\in W^{1,n}(U)$ it suffices to show that $|Du|\in L^{n}(U)$. Consider $$u_{x_i}=\frac{1}{\ln\left(1+\frac{1}{|x|}\right)}\frac{1}{1+\frac{1}{|x|}}|x|^{-2}\frac{x_i}{|x|},$$ which simplifies to, $$u_{x_i}=\frac{1}{\ln\left(1+\frac{1}{|x|}\right)}\frac{1}{1+\frac{1}{|x|}}\frac{x_i}{|x|^3}.$$ Thus, $$|Du|=\frac{1}{\ln\left(1+\frac{1}{|x|}\right)}\frac{1}{1+\frac{1}{|x|}}\frac{1}{|x|^2}$$ which can be manipulated to, $$|Du|=\frac{1}{\ln\left(1+\frac{1}{|x|}\right)}\frac{1}{1+|x|}\frac{1}{|x|}.$$  Moreover, since $U=B(0,1)$ we can bound the second term from above which gives, $$|Du|\leq\frac{1}{\ln\left(1+\frac{1}{|x|}\right)}\frac{1}{|x|}$$  Thus, we can instead show that $$\int_U\left(\frac{1}{\ln\left(1+\frac{1}{|x|}\right)}\frac{1}{|x|}\right)^n&lt;\infty.$$  Converting this into polar coordinates we have with $r=|x|$, $$\int_0^R\int_{\partial B(0,r)}\left(\frac{1}{\ln\left(1+\frac{1}{r}\right)}\frac{1}{r}\right)^n\,dSdr=\int_0^R\left(\frac{1}{\ln\left(1+\frac{1}{r}\right)}\frac{1}{r}\right)^n\int_{\partial B(0,r)}dSdr$$ Note that $\int_{\partial B(0,r)}\,dS=n\alpha(n)r^{n-1}$, which is the surface area of $B(0,r)$. Thus, we have then $$n\alpha(n)\int_0^R\left(\frac{1}{\ln\left(1+\frac{1}{r}\right)}\frac{1}{r}\right)^nr^{n-1}\,dr=n\alpha(n)\int_0^R\left(\frac{1}{\ln\left(1+\frac{1}{r}\right)}\right)^n\frac{1}{r}\,dr$$  And so this is where I get stuck in the problem, since I don't how I can evaluate that last integral to show it's finite.  Thank you for any help or feedback! Can I accept an already rejected edit (to my own post)? Today,  to one of . Before I got to see the notification, the edit already was rejected by other people (three rejections, one approval).  But the edit was actually a good one (like most edit proposals to my post I get to see) – a correction of syntax errors, so I would have definitively approved it.  (The suggested edit didn't change the main point of the answer, which was about the API to use, but it made the code example of my answer actually usable. I didn't compile it when writing my answer, it was late at the evening.)  So I did edit my post to include the proposed change, so the proposal is not fully lost. But the proposer only got the negative feedback from the rejection, and none of the reputation bonus an accepted edit gives.  My suggestion: Could there be added a way a post author can accept edits which were already rejected by other users?  Also, is there some way I can contact the rejectors and teach them not to reject good edits? How to get file creation & modification date/times in Python? I have a script that needs to do some stuff based on file creation &amp; modification dates but has to run on Linux &amp; Windows.  What's the best cross-platform way to get file creation &amp; modification date/times in Python? I can intuitively understand that there are infinitely many irreducible polynomials in $\Bbb{F}_p[X]$, where $p$ is a prime number, but I'm having a hard time actually proving it. What proof strategy should I take for this? If we look at light as a collection of little particles, we can say that dimmer light has its photons more spread out.  But if we look at light as a wave, then there no gaps unless specifically placed there on purpose.  So how can one interpret the formation of gaps between the photons? Use worksheet name as a variable in a lookup I have 2 workbooks with 60 plus worksheets. I need to copy data from one workbook to the other but would like to capture and use the worksheet name within the cell. This is because when I create the workbook I make a master worksheet and then copy it 60 plus times. The above would make the cell ref for each worksheet the corresponding worksheet cell in the other file. Where does top command get all the data for CPU Utilization? Performance of a Trigger vs Stored Procedure in MySQL Normally, it takes three votes to delete.  It still does, though the mouseover tip for a question with one delete vote cast on it already appears to be stuck at '1'    And then after casting a delete vote on it:    And if I've cast the first delete vote:    The above examples are from P.SE, and while I don't have the privs to verify this being the situation on other sites, this has been confirmed on at least SO and is likely network wide.    Child meta dups:   SO: In my bedroom the bottom half of all receptacles are controlled by one switch. Is it possible to have just one receptacle with top and bottom hot all the time?  The top half is hot all the time the bottom half is controlled by one switch.  Keep in mind there are six other receptacles in this room that are the same way controlled by the same switch. When I took the receptacle out the right side tab had been removed.  The top right screw had a black wire, the bottom right had a red wire, the top and bottom left screws had separate white wires.  I changed the receptacle out as suggested, I capped off the red wire and I capped off the white wire that was attached to the bottom left screw. I attached the other white wire to the top left screw and attached the black wire to the top right screw. I now have none of the receptacles working at all. What did I do wrong? Schwarz's Lemma, fixed points question This is from an old qualifying examination question.  If f is holomorphic in the unit disk $D$ and $|f(z)|&lt;1$ for all $z\in D$. Suppose also that $f$ has two distinct fixed points in $D$ then $f(z)=z$ for every $z\in D$  I know that I have to use the Schwarz's lemma and may be make use of Möbius transformations. I tried setting $g(z)=\phi_a\circ f\circ \phi_{-a}$. But that does not seem to work because I don't see why $|g(z)|=|z|$ for some non zero $z$.   Any helpful hints are greatly appreciated.  Edit: Of course the $a$ above is one of the fixed points.