Question When one/more users suggest another post answers your question (and there is a banner at the top of the page asking if question title answers your question? Yes/No), what physically happens to your question/on the site if you select Yes? (For example: is it immediately deleted, is it marked as duplicate, can people still provide answers, etc?)  Context  In my case, the suggested post partly answers / relates to my question (about 50%) - so I am more happy for my question to be linked to the suggested answer, if that's the outcome(?) (assuming my question isn't then deleted/hidden on the site) However, as the post question only partly covers my question (and in addition, several users have provided very helpful and detailed answers to my question), I definitely would not want my question (their contributions) to be deleted, if that's the outcome(?)   Related questions Please note (and for users who wish to read/learn more), there are several answers on the related topic of 'duplicate questions':   Summary: This is a feature request based on a issue caused by a much older version of SE. It is useful for context, but does not answer the above question specifically. Note (and de-dupe defence): The lead answer is 6 years old and the &quot;new/updated&quot; UI it shows is out-of-date.  Summary: This is a discussion about making duplicates more clear. Note (and de-dupe defence): Similar to the above, the lead answer references an old version of SE and the website has since changed. There is one answer that recommends [Change the text on the first button from &quot;That solved my problem!&quot; to &quot;Yes, my question is a duplicate.&quot;] but is low-scoring (5 vs. 150+ on lead) and is also from 6+ years ago - so unclear if this is what happens or not.  I believe this question is warranted and my intention is to clarify how SE works (in the context of &quot;Does this answer your question?&quot;), and help remove any doubt/confusion for users. (The alternative being for users to continue to read about how SE used to work half a decade ago).
I keep seeing custom flags in the queue from question askers who are incredibly irritated because there is a big, prominent box at the top of their question. It's just a list of other questions which may have the answer they desire, and is only even displayed to them because the question is not closed yet.  This question may already have an answer here: [list]  But to an ordinary user, it is not at all clear that the box is only shown to them, or that it will go away on its own if their question never actually gets closed. Could the text for this notice be altered to make it more clear that:  They are just suggestions for the person to view. Potentially if they agree with one, they should vote to close their own question as a duplicate of it.  Their question is not closed yet. If they disagree with the duplicates suggested, they should clarify their question and explain why it's not a duplicate.   I was thinking of an altered wording such as:  You might be able to find an answer to your question here: [list] If those answers do not fully address your question, please [edit your question] to clarify your exact problem.  I went with a more direct wording for the bolded title. Since the notice is only displayed to the asker, it makes more sense to talk directly to them in the message rather than making it feel like it's supposed to be addressing the entire audience of the site. Emphasize that only that person is seeing it by talking to them. It would also be helpful to append a &quot;More info&quot; link at the end of the message that links them to some further documentation about duplicates, and explains how the notice works - particularly that it will go away eventually or change to a proper duplicate notice if the question does get closed.
Prove without using graphing calculators that $f: \mathbb R\to \mathbb R,\,f(x)=x+\sin x$ is both one-to-one, onto (bijective) function. Prove that the function $f:\mathbb R\to \mathbb R$ defined by $f(x)=x+\sin x$ for $x\in \mathbb R$ is a bijective function.    The codomain of the $f(x)=x+\sin x$ is $\mathbb R$ and the range is also $\mathbb R$. So this function is an onto function. But I am confused in proving this function is one-to-one. I know about its graph and I know that if a function passes the  horizontal line test (i.e horizontal lines should not cut the function at more than one point), then it is a one-to-one function. The graph of this function looks like the graph of $y=x$ with sinusoids going along the $y=x$ line. If I use  a graphing calculator at hand, then I can tell that it is a one-to-one function and $f(x)=\frac{x}{2}+\sin x$ or $\frac{x}{3}+\sin x$ functions are not, but in the examination I need to prove this function is one-to-one theoritically, without graphing calculators. I tried the method which we generally use to prove a function is one-to-one but no success. Let $f(x_1)=f(x_2)$ and we have to prove that $x_1=x_2$ in order fot the function  to be one-to-one. Let $x_1+\sin x_1=x_2+\sin x_2$ But I am stuck here and could not proceed further. Can Rails Routing Helpers (i.e. mymodel_path(model)) be Used in Models? Say I have a Rails Model called Thing. Thing has a url attribute that can optionally be set to a URL somewhere on the Internet. In view code, I need logic that does the following:  &lt;% if thing.url.blank? %&gt; &lt;%= link_to('Text', thing_path(thing)) %&gt; &lt;% else %&gt; &lt;%= link_to('Text', thing.url) %&gt; &lt;% end %&gt;   This conditional logic in the view is ugly. Of course, I could build a helper function, which would change the view to this:  &lt;%= thing_link('Text', thing) %&gt;   That solves the verbosity problem, but I would really prefer having the functionality in the model itself. In which case, the view code would be:  &lt;%= link_to('Text', thing.link) %&gt;   This, obviously, would require a link method on the model. Here's what it would need to contain:  def link   (self.url.blank?) ? thing_path(self) : self.url end   To the point of the question, thing_path() is an undefined method inside Model code. I'm assuming it's possible to "pull in" some helper methods into the model, but how? And is there a real reason that routing only operates at the controller and view layers of the app? I can think of lots of cases where model code may need to deal with URLs (integrating with external systems, etc). To flag or not to flag question that don't show own effort? I am a little confused about what do with questions that are just asking      "I want this and that (...) and I want it to look exactly like that   (...) please help"   without showning ANY own effort?  According to  those kind of answers are not welcome  also the  says those questions should not be asked:     Don't ask about...   Questions you haven't tried to find an answer for (show your work!)   But does this mean that I should flag those kind of "helpdesk" questions or not? And if yes as what? low quality ? flag for moderator attention ? Or is just adding a kind comment asking for the asker's own attempts enough? Finding a basis for a certain vector space of periodic polynomials Using subcaption package but subfigures end up stacked rather than side by side I'm trying to put two jpegs side by side using the subcaption package, but the images are consistently stacking on top of each other rather than side by side. All the solutions I've found simply state that the pictures have to be small enough to actually be side by side but I've tried making them smaller, too small even and they stay stacked. My code looks like this:  \begin{figure}[H] \centering \begin{subfigure}{0.5\textwidth} \centering     \includegraphics[width=0.3\linewidth]{inclusion.jpg}     \caption{inclusions}     \label{fig:inclu} \end{subfigure}  \begin{subfigure}{0.5\textwidth} \centering     \includegraphics[width=0.3\linewidth]{deform}     \caption{grain deformation}     \label{fig:deform} \end{subfigure} \caption{filler text} \label{fig:manmade} \end{figure}   Help would be greatly appreciated. File being used by another process after using File.Create() (Before anyone jumps to the conclusion that this is the same question as , please read it through. Also I am looking for more comprehensive and detailed data than the poster in .)  Many years ago I used to use a tool called Line Speed Meter (or Monitor) by TCPIQ. This was a brilliant piece of software that would sit quietly in the background and several times a day (according to a selectable frequency) would reach out and test internet line performance against servers all over the world. In the course of a week (or more), thousands of servers would be tested and enough data would accumulate that one could analyze performance according to time of day, day of week, location of server, etc. Drill-down was possible to the point where you could see every server that was tested.  This data was invaluable in determining if one really was getting the performance being paid for. It was also infinitely more valuable than spot checks you perform at sites like  or even the better-regarded ones like  or  (both of which, incidentally, are biased toward USA users - which I am not one of anymore).  Unfortunately Line Speed Meter is no longer supported and the company that made it now has instead a tool called isposure that is nowhere near as flexible or transparent - it is geared to supplying data to ISPs rather than to the consumers. For example, according to their FAQ, it usually runs only once a day automatically - I'd like to start with running it every couple of hours for a week or two - and scale back once I have a good basis so that I can notice when performance changes. Also, the details of the tests are no longer visible to the consumer-user.  My question: is there a (preferably free) tool/service available today to automatically collect comprehensive line speed metrics so I can map out and analyze the performance I am getting on my Broadband internet connection?  EDIT 2012-02-13: I left something out of the above.  In my country, each ISP sells a package that implies performance beyond the borders of my small country. They own (or lease) the lines going across the ocean. They have full control of the bandwidth leading from their servers to the backbones in the USA and EU. Peformance through the cloud is very much relevant and although not entirely, certainly largely under the local ISP's control, since traditionally, the bottleneck has been traffic out of the country.  As an example, at the moment, my ISP is advertising widely their new transatlantic cable and how their performance now outstrips everyone else's. I haven't "felt" it - so I want a tool to quantify it.  Performance within my country is usually good. The problem is that almost all my work involves access to the Internet in North America, Europe, Pacific Rim and others. So I care about and want to document the end-to-end performance I am getting from my ISP - and if I switch, compare to what I get at a new ISP.  EDIT 2013-03-07: As @harrymc pointed out I neglected to mention OS. All the machines on my home LAN are (sadly) Windows (XP or 7). If A tool requires *nix, I have a couple ancient machines in storage I could probably re-purpose - but my preference is for a Windows-based tool. Thanks.  EDIT 2013-03-10: As a further clarification - a method to monitor speeds achieved during regular work provides half of what I'm looking for. What was nice about TCPIQ is that it would ferret out thousands of sites around the world and do brief d/l &amp; u/l tests against them to check speed and then log the results. This gave a valuable statistical database for analysis of speed overall, as well as during times of day, days of week and according to geographical targets. That's the sort of functionality I'd like to achieve (again). Blender image output is greyish and not white I know that $$\gcd(a^b-1,a^c-1)=a^{\gcd(b,c)}-1$$ which can be seen by expanding both terms into geometric series. Is there any such simplification for $$\gcd(a^b+1,a^c+1)=?$$  EDIT: When working with polynomials instead of whole numbers, it is $$gcd(x^n+1,x^m+1)=\begin{cases}a^{\gcd(n,m)}+1 &amp; \nu_2(n) =\nu_2(m)\\1 &amp;\text{else}\end{cases}$$ But this gives only a lower bound for the whole-number case. Feynman diagram for attractive forces Characterizing all ring homomorphisms $C[0,1]\to\mathbb{R}$. How to change the href for a hyperlink using jQuery How can you change the href for a hyperlink using jQuery? Why is $\Gamma\left(\frac{1}{2}\right)=\sqrt{\pi}$? It seems as if no one has asked this here before, unless I don't know how to search.  The Gamma function is $$ \Gamma(\alpha)=\int_0^\infty x^{\alpha-1} e^{-x}\,dx. $$ Why is $$ \Gamma\left(\frac{1}{2}\right)=\sqrt{\pi}\text{ ?} $$ (I'll post my own answer, but I know there are many ways to show this, so post your own!) I'm having an issue with blender where whenever I try to render as any sort of video, instead of showing up as an mp4 or whatever file type I chose, it will show up as a mystery file that cannot be opened. This issue started recently and randomly: I was always able to render perfectly fine before and I used the exact same settings now that I did then.   not sure exactly what I'm doing wrong. Here are the export settings I am using: Determining relationship (e.g. number of removes) with cousin? How do I figure out if someone is a first cousin, second cousin, cousin once-removed, etc? How to plot stacked bar plot inside table? I have following code in Latex. Which plots only one data series (data2). I would like to plot staked bar plot inside table for both data1 and data2 with different colours.  Any ideas.?  Many thanks.  \documentclass{article} \usepackage{booktabs} \usepackage{multirow} \usepackage{pgfplotstable} \usepackage{filecontents}  % The data \begin{filecontents}{data.txt} accession,data1,data2 C1,150708.4564,481.0388003 C2,49652.53112,275.2190163 C3,37379.1284,58.85806921 C4,34165.85698,26.06571636 C5,30856.19158,35.96802428 C6,15204.22768,26.71594573 \end{filecontents}   \pgfplotstableread[col sep=comma]{data.txt}\data  \newcommand{\errplot}{% \begin{tikzpicture}[trim axis right] \begin{axis}[y=-\baselineskip,   scale only axis,   width=5cm,   enlarge y limits={abs=0.5},   axis y line*=middle,   ytick=\empty,   axis x line*=bottom,   xbar,   bar width=1.5ex,   xmin=0,   visualization depends on=x \as \rawx,   nodes near coords,   every node near coord/.style={   anchor=east,   shift={(axis direction cs:-\rawx,0)}   }  ] %   \addplot [draw=black, fill=red]  table [x=data2,y expr=\coordindex]{\data}; \end{axis} \end{tikzpicture}% }  \begin{document}  % Get number of rows in datafile  \pgfplotstablegetrowsof{\data} \let\numberofrows=\pgfplotsretval  % Print the table \pgfplotstabletypeset[columns={accession,data1,data2},   % Booktabs rules   every head row/.style={before row=\toprule,after row=\midrule},   every last row/.style={after row=[3ex]\bottomrule},   % Set header name   columns/accession/.style={string type,column type=l,column name=accession},   columns/data1/.style={string type,column type=l,column name=data1},    columns/data2/.style={     column name={Data2},     assign cell content/.code={% use \multirow for Z column:    \ifnum\pgfplotstablerow=0    \pgfkeyssetvalue{/pgfplots/table/@cell content}    {\multirow{\numberofrows}{6.5cm}{\errplot}}%    \else    \pgfkeyssetvalue{/pgfplots/table/@cell content}{}%    \fi   }  }, ]{\data} \end{document} Adding multiple CKEditor instances in jquery I am currently writing my bachelor thesis and I am using LyX as my standard writing program (because I am not familiar with LaTeX at all).  For my bibliographystyle I use JabRef and the citation style needs to be Journal of Finance.  Now, I found this .bst file for the Journal of Finance style online () which is actually really good. But the problem is, that I need it in German. There must be an "und" instead of "and" and all the umlauts don't work as well. Basically I need everything in German.  Do you know a website with a German .bst file? Or can I change something in the settings in LyX or JabRef and everything would be fixed? How to install apps which require a newer version of iOS on a 1st gen. iPad? I would like to ask for some simple examples showing the uses of &lt;div&gt; and &lt;span&gt;.   I've seen them both used to mark a section of a page with an id or class, but I'm interested in knowing if there are times when one is preferred over the other.