How do you get the co-ordinates of en element from browser window top and left in javascript?
Retrieve the position (X,Y) of an HTML element relative to the browser window
What steps must an educational institution wanting to recruit good faculty take? There is a cycle in the academia:    Good doctorates from top universities invariably join other top universities as faculty members.  Good students aspire to study in top universities under excellent faculty members.   Suppose a new educational institution or department springs up and desires to set up a top-quality group, how does it break into this cycle? I suppose this could take some years, but is money-power the only thing that could be wielded by the institute to achieve its end? In the past, both Philosophy and Science were one. However, because of the vastness of Science, it was cut off. I am inclined to go along the same line of thinking, but, is there a way to merge both disciplines once again? Slope of geometry as `fac` input for cycles material I have a terrain with two materials going into a Mix Shader, I want the fac input to be the slope of the terrain. Steep parts should be one color, flat part another. I'm having trouble opening jar files because there is no java runtime in open with listed. Even I have installed it via Software Center(i also try to reinstall it via synaptic and i do a --purge via terminal). How to delete entry in Auto Complete in Microsoft Edge How do I delete an unwanted entry in AutoComplete in Microsoft Edge?  I have tried everything including highlighting with the down arrows and nothing works. If you want to buy a house but you also think value will drop… is there something you can do to alleviate the risk? Disclaimer: yours won't be fiscal advice. People involved will consult a professional before doing anything. This is just to gather some preliminary information.  Situation:   you want to buy a house or a flat, in UK you will get a mortgage in GBP, but you'd pay the down payment in EUR you think that there are fairly high chances that the value of houses in UK and GBP will drop the whole point of this question is actually buying the house/flat, renting is not an option by definition   What can you do to mitigate that risk? Why is Python 2.7 still the default Python version in Ubuntu? According to official documentation of Python, Python2.7 support will end near in future.     DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7. More details about Python 2 support in pip, can be found at    Why is Ubuntu not using Python3 as default in their upcoming version?  $ cat /etc/os-release  NAME="Ubuntu" VERSION="19.04 (Disco Dingo)" ID=ubuntu ID_LIKE=debian PRETTY_NAME="Ubuntu 19.04" VERSION_ID="19.04" HOME_URL="https://www.ubuntu.com/" SUPPORT_URL="https://help.ubuntu.com/" BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/" PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy" VERSION_CODENAME=disco UBUNTU_CODENAME=disco     $ python Python 2.7.16 (default, Apr  6 2019, 01:42:57)  [GCC 8.3.0] on linux2 Type "help", "copyright", "credits" or "license" for more information. Computing second partial derivative with polar coordinates Consider the polar coordinates with $x=r\cos\theta$ and $y=r\sin\theta$.  I can show using the chain rule that $$\frac{\partial}{\partial x} = \frac{x}{r} \frac{\partial}{\partial r} -\frac{y}{r^2} \frac{\partial}{\partial \theta}$$   What is the method to compute $\dfrac{\partial^2}{\partial x^2}$? I don't know how to do it. Samsung netbook NP300E5A dimming on battery My Samsung netbook NP300E5A screen is continually dimming.  The screen is forty percent dim on battery, but if I plug in the charger, the screen will be normal. I have tried all I know and I could not fix it. What should I do? what am trying to explain  is that the system is dimming like flooricent light  the screen resolution systems are all ok. When I pluging my charge the dimming we stop but when is on battery it look like flashing someone  light when driving I am a little at a loss.  A couple years before my mother-in-law passed away she signed her house over to my wife and her sister via a quitclaim deed.    After she passed we sold the house for $80,000. The money was used to pay off the mortgage, some other funeral expenses, and sent $15,000 to other family members.  All the money was dispersed at the closing of the house.  My wife and her sister each ended up with about $20,000.  How do we go about claiming this income?  Since there was a quitclaim deed I guess we technically owned the house for a few years prior to its sale.  How does that affect our tax and what is the basis?  Is the basis the selling price(fair market value) or something else?  How much does each sister claim for gains?  Sorry it this is a jumble of questions I am just trying to get this straightened out before tax is due. $X$ is homeomorphic to $X\times X$ (TIFR GS $2014$) Question is :  Suppose $X$ is a topological space of infinite cardinality which is homeomorphic to $X\times X$. Then which of the following is true:   $X$ is not connected. $X$ is not compact $X$ is not homeomorphic to a subset of $\mathbb{R}$ None of the above.   I guess first two options are false.  We do have possibility that product of two connected spaces is connected.  So, $X\times X$ is connected if $X$ is connected. So I guess there is no problem.  We do have possibility that product of two compact spaces is compact.  So, $X\times X$ is compact if $X$ is compact. So I guess there is no problem.  I understand that this is not the proof to exclude first two options but I guess the chance is more for them to be false.  So, only thing I have problem with is third option.  I could do nothing for that third option..  I would be thankful if some one can help me out to clear this.  Thank you :) Uniform continuity of $f(x)=x^{2/3}\log x$ on $[0, \infty)$ Let $f$ be a real valued function on $[0,\infty)$ defined by  $$f(x)= \begin{cases} x^{{2}/{3}}\log x &amp; \text{ if } x&gt;0 \\  0 &amp; \text{ if } x= 0 \end{cases}$$  Then which of the following is true?  A. $f$ is discontinuous at $x=0$.  B. $f$ is continuous on $[0,\infty)$, but not uniformly continuous on $[0,\infty)$.  C. $f$ is uniformly continuous on $[0,\infty)$.  D. $f$ is not uniformly continuous on $[0,\infty)$, but uniformly continuous on $[1,\infty)$.  I could see that $f(x)=x^{\frac{2}{3}}\log x$ is continous at $x=0$   But for uniform continuity I thought boundedness of derivative would help   But I found $f'(x)=\frac{2}{3}x^{-\frac{1}{3}}\log x + x^{-\frac{1}{3}}$   This $f'(x)$ is not bounded so i can not say any thing about uniform contunuity.  Please help me to clear this.   Thank you :)  P.S : This was already asked before ( some other person but it was not having enough details so it got closed. I tried to edit that question but someone said I should not edit OP to add more details. I was afraid that may be against the rules of MSE. So, I thought i should ask this separately with my own ideas. Heartbleed: What is it and what are options to mitigate it? This is a  about understanding and remediating the Heartbleed security issue.   What exactly is CVE-2014-0160 AKA "Heartbleed"? What is the cause, what OSs and versions of OpenSSL are vulnerable, what are the symptoms, are there any methods to detect a successful exploit?   How can I check to see if my system is affected? How can this vulnerability be mitigated? Should I be concerned that my keys or other private data have been compromised? What other side effects should I be concerned about? An English book tells me that the following sentence is correct:     This publication is made from paper from sustainable forests.   Shouldn't it be of paper instead? "One of them was/were you" If I am talking to somebody about a certain group of people in the third person, and then want to refer to the person I am talking with as one of those people, which do I say?     One of them were you      One of them was you. How is ** implemented in Python? I'm wondering where I find the source to show how the operator ** is implemented in Python.  Can someone point me in the right direction? Inequality involving $\limsup$ and $\liminf$: $ \liminf(a_{n+1}/a_n) \le \liminf((a_n)^{(1/n)}) \le \limsup((a_n)^{(1/n)}) \le \limsup(a_{n+1}/a_n)$ This may have been asked before, however I was unable to find any duplicate. This comes from  of "Mathematical Analysis: An Introduction" by Browder. Problem 14:     If $(a_n)$ is a sequence in $\mathbb R$ and $a_n &gt; 0$ for every $n$. Then show:   $$ \liminf(a_{n+1}/a_n) \le \liminf((a_n)^{(1/n)}) \le \limsup((a_n)^{(1/n)}) \le \limsup(a_{n+1}/a_n)$$   The middle inequality is clear. However I am having a hard time showing the ones on the left and right. (It seems like the approach should be similar for each). This is homework, so it'd be great if someone could give me a hint to get started on at least one of the inequalities.  Thanks. What are the rules and limits of Accio spell? We know that Accio spell (aka ) has some limits:   It can be blocked (e.g. Harry couldn't Accio the Diadem in RoR in Deathly Hallows). Many more failures are listed on Wikia.   But what are the exact full rules and limitations governing the spell in Harry Potter world?   Distance?  Line-of-sight?  Knowing exact or approximate location?  Specificity of item (e.g. "Accio Broom" seemed to work for Weasleys in OotP to bring their locked-up brooms - why not just a random broom?) Types of Accio-able stuff? Can you Accio water? Lump of earth? Gases/liquids/etc...? Can you Accio based on jQuery selector (or an SQL where clause), for lack of a better description? E.g. "Accio the book that has the word 'Flammel'"? "Accio biggest green ball from this room"? Can you Accio ALL items of a kind? (the reason I thought of this whole question was seeing "Accio all guns" comment in ). Can you Accio vague stuff? ("Accio meal"). Other rules that can be inferred.   NOTE: While Wikia article has some of the info, it is clearly very lacking in details on specific rules based on specific instances in canon. I'm looking for a fully comprehensive, organized ruleset for the charm, not merely 1-2 tidbits in Wikia article. In an exam paper, there was a picture of an air stewardess in the aeroplane serving passengers. One of my pupils wrote the following:      The air stewardess works on an aeroplane.    Shouldn't it be the air stewardess works in an aeroplane? Do not show the score for users during primaries I believe that showing the post score for nomination posts during primaries is a bad idea.  When I loaded the primaries page during the election, the first thing I saw was a post voted -1. This immediately colored my impression of the post. Reading his post didn't indeed make me wish he was a moderator, but at the same point I couldn't bring myself to click on the down arrow. He wasn't an awesome candidate, but he wasn't a -2 score candidate either. Actually, I kinda wanted to sympathy upvote instead.  I want to judge by myself whether a candidate is worth or not my +1. For some of those people I don't have an opinion already, and I want to form one on my own. I don't want game theory to kick in, I don't want to be tricked into sympathy upvotes.  Having those numbers in large print as the first thing I see about them honestly prevents me from doing so. I'd rather have their avatar there.     Some people on chat do not agree with me;  I imagine they'll post explaining why I want to be aware of their opinion while forming my own.      Regardless of the discussion here, if you do prefer to hide the scores as you vote, here's the jQuery oneliner that does just that:  $(".vote-count-post").hide()