What happens on notifyAll()?
Java: notify() vs. notifyAll() all over again
Evaluate $\lim\limits_{x\to 1}\frac{\sqrt x-x^2 }{1-\sqrt x}$ For example, if I wanted to write the equivalent of  There are many automated teller machines in this city.  Would it be  There are many ATMs in this city.  or  There are many ATM's in this city. (could get confused with possessive form or contraction).  or just  There are many ATM in this city. (assuming the final s is included in Machines represented by M).  Maybe something else? Can there be multiple paths for which Fermat's least time principle can be obeyed? Can there be more than one path for which Fermat's least time principle is obeyed? 'I have decided to purchase a jet for getting to NYC and back more quickly.' Are the following sentences grammatical or not? If not, does substituting a to-infinite make them grammatical? (Optional: designate if the sentence expresses purpose, reason, aim, or function)  1 I have decided to purchase a jet for getting to NYC and back more quickly. 2 I have decided to buy a jet for having a quicker way to get to NYC and back.  This is my only reason and aim; this will be the jet's only purpose and function.  3 I hate hairdryers, so I am buying a space heater for drying my hair more naturally, and that is my only aim &amp; purpose &amp; reason and that will be its only function 4 For having a lasting shine in your hair, buy ShineOn Shampoo. 5 My neighbor and I have decided to cooperate more for having a better life together.   Research done: ELL  (Note the  here is a restatement of Cambridge Dictionary's ) ELL  ELL  BBC English  (Currently the best site I've found.) ELU  All of which have answers that I find  (i) incomplete (ii) contradictory (iii) terribly confusing, if not (iv) wrong. To sort through the haze, I am focusing on one issue. Background Some sources say that you need to use a to-infinitive for expressing purpose, aim, function, reason, etc. I find these to be rather hazy distinctions, given that the ODO defines  as The reason for which something is done or created or for which something exists and the same work lists as : aim, reason, function, etc. It is my assertion that at least some of the following sentences demonstrate that one can use the -ing form (be it a gerund, verbal noun, participle) to express individual purpose (aim, reason, function, intention, whatever you want to call it). Do you agree, or not? Why (not)?  In shorter terms, are the sentences grammatical? or do we have to substitute a to-infinitive (including in order to + infinitive) to make them grammatical? (Optional: designate if the sentence expresses purpose, reason, aim, function, etc.) How can I convert from hex to base64? Can anyone recommend a straightforward way/tool to convert hex to base64?  I'm using Linux and OS X. How do we know the brain flips images projected on the retina back around? Why do we turn images upside down again rather than dealing with them directly, still vertically rotated after passing through our lens?   I don't see how that would cause any problems, and how we'd ever be able to figure out if we are presented with flipped images after getting used to interacting based on visual input, whether flipped or not.   What am I missing? Q&A blank in Stack Exchange Android app v1.0.95 - S10e/Android 10 How do people come up with difficult math Olympiad questions? Is the function $f(x)=|x|^{1/2}$ Lipschitz continuous? Is the function $f(x)=|x|^{1/2}$ Lipschitz continuous near $0$? If yes, find a constant for some interval containing $0$.   I think the answer is yes since I can find $L=1$ that satisfies Lipschitz continuity criteria in a interval close to $0$, am I right? Where was this picture taken (screensaver on LG Oled TV)? Can someone please tell me where this picture was taken? difference between accuracy and Rand index (R) I'm very confused, when I read on the wikipedia "From a mathematical standpoint, Rand index is related to the accuracy, but is applicable even when class labels are not used."   and   But when I use in R the rand.index function from fossil package and the Accuracy function from MLmetrics it doesn't give the same answer  &gt; Accuracy(predicted, real) [1] 0.8266667  &gt; rand.index(predicted,real) [1] 0.7114989  Please can someone explain to me the difference between these two and which one should I use?  NB:I use the k-medoids clustering algorithm (function pam from cluster package) Parse DateTime with time zone of form PST/CEST/UTC/etc What's the deal with the phrase "could care less"?  Whilst growing up, I've always known people (parents etc) to use the phrase "couldn't care less", but I've also come across people who use the phrase "could care less" to mean the same thing (that is, "I do not care at all about that").  To me "couldn't care less" seems a lot more logical. If I couldn't care less about something, that implies I do not care about it at all. In contrast to this, to my mind the phrase "could care less" seems to indicate "I do care about this to some degree at least", but that's definitely not the meaning intended.  What's going on here? Is my (logical) analysis correct or in error? In classical logic, why is $(p\Rightarrow q)$ True if $p$ is False and $q$ is True? Presentation of SL$(n,\mathbb{Z}_p)$ Transfer subtype Descriptions form long integer value into a string at new diffrent field How do I make log4j clear a log at startup? Let $a,b,c\in \Bbb R^+$ such that $(1+a+b+c)(1+\frac{1}{a}+\frac{1}{b}+\frac{1}{c})=16$. Find $(a+b+c)$ Let $f$ be entire and suppose that $\text{Im} f\ge0$. Show that $\text{Im} f$ is constant. How do you show that if $f$ is entire and if $\text{Im} f\ge0$, then $\text{Im} f$ is constant? Is this even true in the first place? "Mornings came and cast a blinding sunlight over everything, and he felt like nothing worthwhile could be accomplished."  For some reason, I feel like "a blinding light" is ok, but if its sunlight, then I should drop the "a" and write "cast blinding sunlight", but I'm not sure why I feel this way.   Can anyone offer some enlightenment?  edit - alternate phrasing, closer to being a literal translation: "Mornings came without warning, flooding the day with a strong sun, and he felt like nothing worthwhile could be accomplished."   I would still like an answer to the technical question of whether I should drop the "a", but would also appreciate knowing if anyone thinks option #2 is a better choice.