How to avoid "Exception in thread "main" java.util.ConcurrentModificationException" error in Java
Iterating through a Collection, avoiding ConcurrentModificationException when removing objects in a loop
What should be done with questions that have been resolved as a comment instead of an answer? I'm trying to go through and provide answers to every unanswered question (search &quot;closed:0 answers:0&quot;), somewhat following the spirit that was blogged about at  .  However, I'm finding this much more difficult than it needs to be, as many of the questions have already been answered without the use of an &quot;answer&quot; - but instead, in the form of a comment by either the OP or another poster. I wouldn't mind reading through and skipping these, as long as there was some appropriate action I could take to at least assist with preventing these questions from being seen again from the same query - either by myself or another SO member.  Is there such an appropriate action?  Should we vote to close?  If so, using what reason? Even if I vote to close, what are the chances that 4 other users will also view the question and also vote to close?  (i.e., will my individual vote even do any good?  Is there any report to show recent close votes, so that others may also review and contribute supporting close votes?) Should we post some sort of an answer - even just something to the effect of &quot;this was already answered by the OP's own comment to his answer (above)&quot;? Would something like this be appropriate to flag for moderator attention, and let the moderators deal with it?  (Or would this be considered too trivial?) Should we rename the question title to something standard that can be used in a search exclusion?  (Maybe &quot;SOLVED:&quot;?)  Basically, how can I help to denote questions as &quot;This question is no longer in active search of an answer - though better answers may still be appreciated.&quot;? I've already reviewed , which was closed as a duplicate of  - but this requires effort on part of a user who may very likely no longer be active. Otherwise, is there something I should be doing to improve my search to filter out these types of questions? I've run across this many times, so I don't consider it to be a rare issue.  However, the last question like this I just ran across, prompting this question, was .  In this case, the question was self-answered by the OP in the form of a comment, this question is the OP's only question, the OP has no other visible activity on SO, and the OP hasn't been seen on SO since he registered and posted the question 5 months ago. Another one I just ran across is .  However, here the &quot;answer&quot; comment was posted by a reputable and recently active SO member.  Should I leave a comment directed at him, asking him to re-post his comment as an answer, or should I post my own answer echoing his comment?  (Or something else?) Yet another is .  Interestingly, the OP actually self-edited the question to include the &quot;SOLVED:&quot; prefix on to the question, instead of posting his resolving comment as an answer (and ideally accepting it) as he was asked to do by another comment.  This brings up another good idea - is there a &quot;standard&quot; we should use to rename the titles on these &quot;resolved but unanswered&quot; posts that could be used as a search exclusion?  (Also added to the above list.) What are imaginary numbers? At school, I really struggled to understand the concept of imaginary numbers.  My teacher told us that an imaginary number is a number that has something to do with the square root of $-1$.  When I tried to calculate the square root of $-1$ on my calculator, it gave me an error.  To this day I still do not understand imaginary numbers.  It makes no sense to me at all.  Is there someone here who totally gets it and can explain it?  Why is the concept even useful? Gparted: move extended partition on the left I have some free disk space on the left of my ubuntu (sda5)  What is best solution to extend sda5 ?  I can    copy sda3 or sda5 with dd to bigger disk. delete sda3,5,swap create sda3,5,swap dd original partition.   Not sure how to do it properly.  May be there is a simpler solution. Hide text using css I have a tag in my html like this:  &lt;h1&gt;My Website Title Here&lt;/h1&gt;   Using css I want to replace the text with my actual logo. I've got the logo there no problem via resizing the tag and putting a background image in via css. However, I can't figure out how to get rid of the text. I've seen it done before basically by pushing the text off the screen. The problem is I can't remember where I saw it. In Cycles, is there a way to create a procedural texture that follows the longitudinal lines of a sphere? Like a beach ball or globe? The texture should be able to be mapped to any sphere-shaped object, not just perfect spheres.    My current approach is to use a rotated wave texture, but that doesn't come from the poles (It uses latitudes) Prime spectrums bijection but not homeomorphism vertical lines in matrix using tikz package my problem is interconnected to my two previous posts ( and) and i've tried to incorporate answers into solution but without success.   My task is this matrix multiplication with added description:   and my so far code follows:  \documentclass{article} \usepackage{tikz,amsmath}  \begin{document} \begin{tikzpicture} \node[minimum height=0cm,minimum width=2cm] (m) {}; \path[shade,draw] (0,2) -- (0,5) -- (3,5) -- (3,0); \draw (0,0) --(0,5); \draw (3,0) --(0,2); \draw (3,0) --(3,5); \node (r11) at ([xshift=0.6cm,yshift=4cm]m.south) {$S_{11}$}; \node (r11) at ([xshift=2.5cm,yshift=4cm]m.south) {$S_{12}$}; \node (r11) at ([xshift=2.5cm,yshift=2.15cm]m.south) {$S_{22}$}; \node (r11) at ([xshift=0.6cm,yshift=2.15cm]m.south) {$S_{21}$}; \node (r11) at ([xshift=0.6cm,yshift=2.6cm]m.south) {$--------------$}; \node (r11) at ([xshift=0.6cm,yshift=1.5cm]m.south) {$--------------$}; \end{tikzpicture} \[ \begin{bmatrix} \begin{equation}        wn_{1}           \\[0.3em]        wn_{2}       \end{bmatrix}  \]  \end{document}       with following output:      I am not able to add vertical line and nodes and incorporate the matrix into document (vector that follows behind the matrix is not centered). Problem with nodes and incorporation is the same as in . Let $f:(0,\infty) \to R$ be differentiable. Suppose that $\lim_{x\to\infty}(f(x)+f'(x))=L$. Show that $\lim_{x\to\infty} f(x) = L$ and $\lim_{x\to\infty} f'(x) = 0$. (Hint: Write $f(x) = e^xf(x)/e^x$ and use l’Hopital’s Rule.)    My working for $\lim_{x\to\infty}f'(x)=0$:  For $\lim_{x\to\infty}f'(x) = 0$, I let $f(x) = e^xf(x)/e^x$ and applied quotient rule which then cancels off $e^{2x}$ and I'm left with $\lim_{x\to\infty}(f(x)+f'(x)-f(x))$. Can I then equate this with $\lim_{x\to\infty} \left(f(x)+f'(x)\right) - \lim_{x\to\infty}f(x)$ which then gives $L-L=0$? Is this step correct? If $S$ is a nonempty subset of group $G$, then $S^{|G|}$ is a subgroup of $G$. Let $G$ be a group with $|G| = n$ and let $ \emptyset \ne S \subseteq G$.   I want to show that $S^n$ is a subgroup of $G$ where by $S^n$ I mean the set $\lbrace s_1\cdots s_n \; | \; s_i \in S\rbrace$. Preserve bash history in multiple terminal windows I consistently have more than one terminal open. Anywhere from two to ten, doing various bits and bobs. Now let's say I restart and open up another set of terminals. Some remember certain things, some forget.  I want a history that:   Remembers everything from every terminal Is instantly accessible from every terminal (eg if I ls in one, switch to another already-running terminal and then press up, ls shows up) Doesn't forget command if there are spaces at the front of the command.   Anything I can do to make bash work more like that? How can I let player click text to use a command? I want players to be able to click text to run an OP command even if that player is not an OP. For example something like:  Console: Do you want to enable Fly? [If you do, Please click here]  *Player1 clicks that text*  Console: /fly Player1   Is something like this possible? How do I remove my "page not found" pages from Google's index? I have a wordpress site that has had a large number of blog posts removed. How can i ask google to remove all these 404 page not founds, but leave the active blog posts. I see the removal tool in google webmasters but it doesnt say if it will just remove the 404s. I understand 404s naturally are removed from the index, but i want to expedite this. Simple question.   SO had turned me into a better developer by far, I like to browse questions that strike my interest and curiosity and just read through the answers. I never fail to learn something new everyday, whether it's something trivial or something much more complex.  When I receive reputation it means a lot to me, almost a self achievement of sorts. Something I can show to someone to prove my "worth". I think it works for me as a great confidence booster, also its something I can show my friends who don't understand what I do.   It almost feels like I can finally have something to back me up if need to be.  So the question is what does YOUR reputation mean to YOU? Is it simply a number, is it a score as if you're playing a game, or does it help you mentally achieve your goals and improve yourself like it does for me. If $0<a<b$, prove that $a<\sqrt{ab}<\frac{a+b}{2}<b$ Infinity, is clearly not . But there is some dissent on whether or not zero is finite. I have seen authors use "finite" to indicate the value of $0$ is excluded as well as infinity.  Is there any rule about this? How to print only defined variables (shell and/or environment variables) in bash The bash builtin command set, if invoked without arguments, will print all shell and environment variables, but also all defined functions. This makes the output unusable for humans and difficult to grep.  How can I make the bash builtin command set print only the variables and not the functions?  Are there other commands which prints only the shell variables, without the functions?  Note: bash differentiates between shell variables and environment variables. see here Database schema documentation for the public data dump and SEDE Stack Exchange releases "data dumps" of all its publicly available content roughly every three months , and also makes that information queryable over the Internet at the  (SEDE) (updated weekly, on Sunday). Over time, as new features and other bits of data are introduced to Stack Exchange sites, the "anatomy" of the data dump is likely to change. Let $x \in \mathbb R$  Find a closed form of $\int_0^\infty\dfrac{\cos(xt)}{1+t^2}dt$ .   Let me give some context: this is an exercise from an improper integrals course for undergraduates. My teacher was not able to give a valid solution without  resorting to Fourier series.   He actually wanted to prove first that the function is a solution of the ODE $$ y-y'' =0$$ without succeeding in proving it.   Anyway the result sould be $\dfrac{\pi}{2}e^{-x}$  Thanks for any help on this subject. I understand that the entrance pupil is the image of the aperture as seen from the front of the lens. However, is the size of the entrance pupil the same as the size of the effective aperture? In other words, if I measure the size of the entrance pupil by looking at it, will that be equivalent to the focal length of the lens divided by the f-number (with the focus set to infinity)? I know that sometimes this is hard to estimate because of the shape of the aperture blades, but I was wondering whether pupil and aperture can be quite different (perhaps at very low magnification). Let $f$ be a holomorphic function in $H={\{z\in\mathbb{C}}:\Re(z)&gt;0\}$ such that it is continuous in $cl(H)$, $|f(z)|\leq1$ $\forall z\in \delta H$ and $\lim_{|z|\to\infty}f(z)=0 $. Prove that $|f(z)|\leq1$ $\forall z\in H$. I thought about taking the bounded set $H\cap D(0,R), R&gt;0$. This way we could use the maximum modulus principle to prove it but I do not really know how to relate it with the limit since I would need $|f(z)|\leq1$ $\forall z\in H\cap D(0,R)$, and I do not have it on $D(0,R)$.