Which syntax should I use when creating a "class constructor" in java script?  function Person(name) {     this.name = name; };   Or  var Person = function(name) {     this.name = name; };
I've recently started maintaining someone else's JavaScript code. I'm fixing bugs, adding features and also trying to tidy up the code and make it more consistent.  The previous developer used two ways of declaring functions and I can't work out if there is a reason behind it or not.  The two ways are:  var functionOne = function() {     // Some code };     function functionTwo() {     // Some code }   What are the reasons for using these two different methods and what are the pros and cons of each? Is there anything that can be done with one method that can't be done with the other?
If I start a Google+ Hangout, is there anyway to send my friends a link directly to that Hangout post? I couldn't find any options.   So I have to send people a link to my profile, and let them click on the join hangout button. I prefer not to do that since the hangout post may be buried by my other updates. Role of dependencies while installing software?? What is the role of dependencies while installing any software?I was installing vlc player and it were closed by giving me error something like check dependency .  What is to solution of this and how i'll get these dependencies??  Thanks in Advance. After I factory reset my Nokia 6, this icon appeared. I've never seen it before. What is this icon in the highlighted part? On finding polynomials that approximate a function and its derivative (extensions of Stone-Weierstrass?) Setting: Let $\sum a_n z^n$ have radius of convergence $R$.  We have that  $$ R = \frac{1}{\underset{n \rightarrow \infty}{\limsup} \left|a_n \right|^{1/n}} $$  via Hadamard's formula for the radius of convergence.  Question: What are the radii of convergence for (i) $\sum a_n z^{2n}$ and (ii) $\sum a_n^2 z^n$?  Attempt for $\sum a_n^2 z^n$:   For ease of notation, let $R_1$ and $R_2$ denote the radii of convergence for power series $\sum a_n z^{2n}$ and $\sum a_n^2 z^n$ respectively. From Hadamard's formula, we then have  $$ R_2 = \frac{1}{\underset{n \rightarrow \infty}{\limsup} \left|a_n^2 \right|^{1/n}} = \left( \frac{1}{\underset{n \rightarrow \infty}{\limsup} \left|a_n \right|^{1/n}} \right)^2 = R^2 $$   But what about $R_1$? How to allow certain html tags? What are the light blue lines on my imported objects What is a simple way of downloading a file from a URL path? Reduce minimum in call volume I find that the minimum in-call volume on my HTC Desire is still far to loud on some calls.  Since I got the phone, I have flashed several different custom ROMs, radio updates, etc, and have had the issue throughout.  Do you know of any way (setting, hack, app, whatever) to reduce the minimum volume?  My device is rooted and I am currently running one of the CyanogenMod 7 (Gingerbread) nightly builds. Singular or Plural setting to a variable. PHP Something wrong with monthly user rep - some users show quarterly figures? I am a Swedish citizen traveling to Kyrgyzstan via Russia. Do I need a transit visa while waiting for my flight iin 24 hours? Remote desktop without a password I have an HTPC with a user that has no password and autologin.  I want to be able to connect to it via Remote Desktop without a password, so I can login with the original user. (I don't want to add another user just for the mstsc)  Is there a way of doing that?  The OS is Windows 7, 32bit. Orbit followed by a particle around Schwarzschild Black Hole Looking for a function $f$ that is $n$-differentiable, but $f^{(n)}$ is not continuous I am looking for a real valued function of real variable that is $n$-differentiable, but whose $n$th derivative is not continuous.  This is my function:  $f_n(x) = x^{n+1} \cdot \sin{\frac{1}{x}}$, if $x \neq 0$ and 0, if $x=0$. $n\in \{0,1,2,\ldots\}$ For example, if $n=0$, $f_0$ it's continuous and non diferentiable in $0$. How do I enable error reporting in PHP? How do I remap certain keys or devices? I'm searching for a way to remap certain keys in ubuntu.  i.e.   I'd like to change PgUp to Home or PgDown to End.  Does a built-in command or a tool exist reassign keys in Ubuntu/GNOME? Show that the Sorgenfrey line does not have a countable basis. I'm not too sure whether this is the right place to ask this (and please correct me if it is not), but I'm currently studying a course in Algebraic Number Theory and would like to be pointed in the direction of any solved problems that can assist in learning.  I have the book Problems in Algebraic Number Theory by Murty and Esmonde, which is particularly good, but are there any further sources (inc. online) available that do a similar job?   It is so often frustrating to be presented with an extensive list of practice questions, many of which form part of the exposition of the material (as in Number Fields by Marcus for example) and then to have no real way of knowing whether any solution you generate is correct and has not made any oversights.   MSE is undoubtedly a good place to verify any answers and clear up issues, but question limits and the impracticality of going online every time a solution seems suspect (or the question is computational and lacks any result to check against) form a barrier.  I suppose any ANT textbook that has an accompanying solutions manual or online published solutions is what I have in mind. Or failing that, links to institutions running a course in ANT with answers to homework exercises.  Thanks in advance. Sometimes when I'm making a sauce or soup that needs to be a bit spicy, I have no troubles spicing how I want to.  But if the dinner party is a bit late, or I made the sauce in advance to really draw out all the flavors of the spices, vegetables and meat, sometimes I end up with a way too spicy/hot dish.  You can always pour a bit water and try to dilute it a bit, but that also takes away all of the good flavor. So is there some trick that I'm missing I can use, when this happens to me (other than being more careful or using the spices later)?