Strange behaviour with Javascript Array.push()
Is JavaScript a pass-by-reference or pass-by-value language?
Why does the image not appear? I'm using IEEEtran to format an article, and I wanted to include an image. I included the graphicx and hyperref packages, and used the following code, like normal, to include an image.  \begin{figure}[!t] \centering \includegraphics[width=3in]{fetch} \caption{Pipeline: Fetch Instruction} \label{fig:fetch} \end{figure}   What appears, however, is this:    Fetch.png is a file in the directory, and if I remove it, pdflatex errors instead of producing an output. I'm using MiKTeX 2.9 on Windows 7. Any ideas? According to , $[0,1]$ cannot be written as union of countable disjoint closed sets, is the same true about (uncountable) family of disjoint closed intervals ? How fast would the Earth need to spin for us to feel weightless? It's a classic question with many answers all over the Internet, but none here so I figured I'd ask it:  How fast would the Earth need to spin for a person (or anything for that matter) to feel weightless while on the surface at the equator?    In this situation everything on the Earth's surface would essentially be in orbit around the Earth at the radius of the Earth's surface (let us assume the atmosphere was also spun up to this angular velocity so there would be no air drag slowing things down).  Let us also say by "surface of the Earth" we mean mean sea level.  You can decide for yourself if/how to factor in the bulge of the Earth.  You can assume that the Earth somehow is able to maintain its present shape while spinning up.  Any comments on whether an Earth spinning slightly faster than this speed will cause it to break apart or not will also be appreciated. How to allow to run su instantly after I added the user to the appropriate group I have the su executable with the following permissions:  bash-4.2# ls -la /bin/su -rws--s--- 1 root wheel 59930 Sep 14  2012 ./su   When I am logged in as a user, not in the wheel group and try to run su, I get an error, which is correct:  bash-4.2$ su bash: /bin/su: Permission denied   After that I add this user to wheel group from root:  bash-4.2# usermod -a -G wheel user   But for the same terminal session I still can't run su:  bash-4.2$ su bash: /bin/su: Permission denied   For the new sessions I can run su. How to allow to run su instantly after I added the user to the appropriate group? Check the uniform convergence of series of functions Check that given series converges uniformly for $x\in(-\pi,\pi)$ or not  1) $\sum_{n=1}^{\infty} (\frac{x}{n})^n$  2) $\sum_{n=1}^{\infty}\frac{1}{((x+\pi)n)^2}$  first series is power series so I find the radius of convergence that comes $R=e$ which is inside the given set so I am not able to give the final conclusion. after this I were thinking to apply $M_n$ test , but I am not able to find $M_n$. Please help to solve this problem. What's the difference between &lt;b&gt; and &lt;strong&gt;, &lt;i&gt; and &lt;em&gt; in HTML/XHTML? When should you use each? Clear named (and lored) item from players inventory 1.13 In 1.12, the command:  clear @p paper 0 1 {display:{Name:"[Winning Ticket] Musical Minecarts",Lore:[" Take this ticket to the reward "," collections at the entrance of the ", " Games area to claim your prize! "]}}   would remove a piece of paper with that specific name and lore from the player's inventory. I assumed the 1.13 conversion would be:   execute at @p as @p run clear @s paper{display:{Name:"[Winning Ticket] Musical Minecarts",Lore:[" Take this ticket to the reward "," collections at the entrance of the ", " Games area to claim your prize! "]}} 1   but this doesn't work. As well as this, the command:  give @p minecraft:paper{display:{Name:"[Winning Ticket] Musical Minecarts",Lore:[" Take this ticket to the reward "," collections at the entrance of the ", " Games area to claim your prize! "]}} 1   only gives the item, without the custom display name, despite the lore being correct. What is the correct syntax for these two commands? An integrable and periodic function $f(x)$ satisfies $\int_{0}^{T}f(x)dx=\int_{a}^{a+T}f(x)dx$. I want to prove:     For an integrable function $f(x)$ and periodic with period $T$, for every $a \in \mathbb{R}$, $$\int_{0}^{T}f(x)\;dx=\int_{a}^{a+T}f(x)\;dx.$$   I tried to change the values and define $y=a+x$ so that $dy=dx$ and the limits of the integrals are as we want, but I'm not sure how to use the fact that $f(x)$ is periodic.  Thanks a lot! Figure reference \ref{fig:result} renders as ?? in PDF Make CMD-Delete a keyboard shortcut in Apple Mail to move a message to the archive? I run Windows XP and the wallpaper I used to have got lost. I have backups of the system itself, so if I knew where to look, I could find a copy of the old wallpaper.  I have some idea of the original filename (searching now), and I recall it saves it as a bitmap, but an exact location would be helpful.  It was a photo/JPEG that used to be on the filesystem, and I don't have backups, so the Firefox, and Internet Explorer wallpaper locations are unlikely. I checked %SYSTEMROOT%\system32 as well - so I'm assuming it's somewhere else. I'm having this XML document with namespaces and I want to extract some nodes using XPath.  Here's the document:  &lt;ArrayOfAnyType xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://tempuri.org/"&gt;   &lt;anyType xsi:type="Document"&gt;     &lt;Id&gt;5&lt;/Id&gt;     &lt;Title&gt;T1&lt;/Title&gt;   &lt;/anyType&gt;    &lt;anyType xsi:type="Document"&gt;     &lt;Id&gt;15&lt;/Id&gt;     &lt;Title&gt;T15&lt;/Title&gt;   &lt;/anyType&gt; &lt;/ArrayOfAnyType&gt;   What's the XPath expression going to be if I want to extract all "anyType" elements with xsi:type="Document"?  I've tried this:   //anyType[@xsi:type="Document"]   and it doesn't work: I'm hand-maintaining an HTML document, and I'm looking for a way to automatically insert a link around text in a table. Let me illustrate:  &lt;table&gt;&lt;tr&gt;&lt;td class="case"&gt;123456&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;   I would like to automatically make every text in a TD with class "case" a link to that case in our bug tracking system (which, incidentally, is FogBugz).  So I'd like that "123456" to be changed to a link of this form:  &lt;a href="http://bugs.example.com/fogbugz/default.php?123456"&gt;123456&lt;/a&gt;   Is that possible? I've played with the :before and :after pseudo-elements, but there doesn't seem to be a way to repeat the case number. Dealing with rust on a steel frame Show all inbox items (notifications) in app The SE app currently only shows some inbox items:   Answers Comments Chats   When I see those I assume I'm all caught up, but it turns out there are more on the web which aren't displayed in the app:   Bounty expiration Elections Edits on your own posts Maybe others?   I was about to tag this  but realized it's probably intentional.  I imagine the reason for not showing them is because they're not something you can act on from within the app. Bounties can't be offered or awarded1 and elections can't be voted on.  But then again chats can't be replied to either. Badge descriptions can't be viewed (on the Achievements side). Selecting those launches the browser. Why then shouldn't bounties or elections launch the browser too? Hiding them just means I'll miss it if I haven't visited in browser recently.  1 Though accepting answers does award the bounty I need to know a word which means:     "negligence shown by a person in performing a duty, or a responsibility, or any given task."   or,      "A person who is negligent in performing their duties/responsibilities."   One possible choice is the use of word "delinquent". Is there any other word?  Please provide the usage of suggested word in a sentence also. Using the itemize environment inside a caption The following code does not compile. However, if I remove the itemize environment it does. I googled for this problem, and found suggestions that using the caption package would solve the problem, though I did not find any clear description of why the problem occurred in the first place. See for example    I'm using Debian squeeze with TeX Live 2009-11. The included version of caption has   \ProvidesPackage{caption}[2009/10/09 v3.1k Customizing captions (AR)]   I also tried downloading and using the caption package from     but this doesn't change anything. I put the sty files in my current directory. I assume that overrides the system files. This one corresponds to  \ProvidesPackage{caption}[2010/01/09 v3.1m Customizing captions (AR)]   Error message and example file follow.  *******************************************     ERROR: Argument of \@caption has an extra }.  --- TeX said --- &lt;inserted text&gt;                  \par  l.13     }  --- HELP --- From the .log file...  I've run across a `}' that doesn't seem to match anything. For example, `\def\a#1{...}' and `\a}' would produce this error. If you simply proceed now, the `\par' that I've just inserted will cause me to report a runaway argument that might be the root of the problem. But if your `}' was spurious, just type `2' and it will go away. ******************************************************  \documentclass{article} \usepackage{caption} \begin{document}  \begin{figure}     \captionsetup{singlelinecheck=off}     \caption     {       foo       \begin{itemize}       \item bar       \end{itemize}     } \end{figure} \end{document} Which Stack Exchange sites use MathJax? As the title says, I could use an exhaustive list of all Stack Exchange sites that use MathJax.  If the list included any site-specific customizations made to the MathJax configuration on each site, that would be even better. About number truncation of ticks display in ListPlot I'm currently working on some logging code that supposed to - among other things - print information about the calling function. This should be relatively easy, standard C++ has a type_info class. This contains the name of the typeid'd class/function/etc. but it's mangled. It's not very useful. I.e. typeid(std::vector&lt;int&gt;).name() returns St6vectorIiSaIiEE.  Is there a way to produce something useful from this? Like std::vector&lt;int&gt; for the above example. If it only works for non-template classes, that's fine too.  The solution should work for gcc, but it would be better if I could port it. It's for logging so it's not so important that it can't be turned off, but it should be helpful for debugging.