Equals operator or function between 2 strings not getting validated properly in JAVA
How do I compare strings in Java?
Cycles Emit Light from area on Texture So I have a giant object that is completely uv unwrapped. I would like to make areas of the object with a specific area of texture emit light.   The problem is that this object (and it is only one object) only has one material. I would like the lava to emit light, but I cannot move it to a separate material without breaking something.  I'd like to find a method where I can select a part of the texture and tell blender that whatever has that part of the texture emits light.  Is this possible?  Thanks. I know that the harmonic series $$\sum_{k=1}^{\infty}\frac{1}{k}  = \frac{1}{1} + \frac{1}{2} + \frac{1}{3} + \frac{1}{4} + \frac{1}{5} + \frac{1}{6} + \cdots + \frac{1}{n} + \cdots \tag{I}$$ diverges, but what about the alternating harmonic series   $$\sum_{k=1}^{\infty}\frac{(-1)^{k+1}}{k}  = \frac{1}{1} - \frac{1}{2} + \frac{1}{3} - \frac{1}{4} + \frac{1}{5} - \frac{1}{6} + \cdots + \frac{(-1)^{n+1}}{n} + \cdots \text{?} \tag{II}$$  Does it converge?   If so, what is its sum? "python" not recognized as a command How do I read image files directly from a zip without extracting to disk? So I was writing up a simple binary tree in Python and came across [...]  I don't believe this to be related to the Ellipsis object, more it seems to have something to do with an infinity loop (due to Python's shallow copy?). The source of this infinity loop and why it doesn't get expanded while expanding when accessed is something I'm completely lost to, however   &gt;&gt;&gt; a [[[[[], [], 8, 3], [[], [], 3, 2], 6, 3], [], 1, 4], [[], [], -4, 2], 0, 0] &gt;&gt;&gt; Keys(a)#With a+b [0, 1, 6, 8, 3, -4] &gt;&gt;&gt; Keys(a)#With [a,b] [8, [...], [...], 3, [...], [...], 6, [...], [...], 1, [...], [...], -4, [...], [...], 0, [...], [...]] &gt;&gt;&gt; Keys(a)[1]#?? [8, [...], [...], 3, [...], [...], 6, [...], [...], 1, [...], [...], -4, [...], [...], 0, [...], [...], 8, [...], [...], 3, [...], [...], 6, [...], [...], 1, [...], [...], -4, [...], [...], 0, [...], [...]]     Version using a+b  def Keys(x,y=[]):     if len(x):y+=[x[2]]+Keys(x[0],y)+Keys(x[1],y)#Though it seems I was using y=y[:]+, this actually outputs an ugly mess     return y   version using [a,b]  def Keys(x,y=[]):     if len(x):y+=[x[2],Keys(x[0],y),Keys(x[1],y)]     return y   So what exactly is [...]? Why use a prime number in hashCode? Which Answer to Accept: Better Solution or Answer to Actual Question? Possible Duplicate:          I received two answers to a question I asked. One solution suggested I do things in a completely different manner than I have been. Another acknowledged that the first solution was correct but went on to explain how to do what I was asking.  Should I accept the first answer because it provides the better way of doing things or should I accept the second one because it answers the precise question that was asked? How to space columns evenly in a table with multicolumns? This question relates to a discussion on . Euclid's proof of the infinitude of primes is an indirect proof (a.k.a. proof by contradiction, reductio ad absurdum, modus tollens). My understanding is that Intuitionists reject such proofs because they rely on the Law of the Excluded Middle, which they don't accept. Does there exist a direct and constructive proof of the infinitude of primes? How do I make a 3 dimensional character out of flat picture? I have a cartoon character (a lion) that is part of my business logo that I want to put into Blender and animate it somehow. Is there any way I can take a flat picture (JPEG) and transform it into a 3D image and then animate it in Blender? Let $A_n$ denote an $n \times n$ tridiagonal matrix.  $$A_n=\begin{pmatrix}2 &amp; -1 &amp; &amp; &amp; 0 \\ -1 &amp; 2 &amp; -1 &amp; &amp; \\ &amp; \ddots &amp; \ddots &amp; \ddots &amp; \\ &amp; &amp; -1 &amp; 2 &amp; -1 \\ 0 &amp; &amp; &amp; -1 &amp; 2 \end{pmatrix} \quad\text{for }n \ge 2$$  Set $D_n = \det(A_n)$  Prove that $D_n = 2D_{n-1} - D_{n-2}$ for $n \ge 4$. Would a monk with the Tavern Brawler feat have improvised weapons count as monk weapons?  It states in the monk's Martial Arts feature (PHB, p. 78) that:     At 1st level, your practice of martial arts gives you mastery of combat styles that use unarmed strikes and monk weapons, which are short swords and any simple melee weapons that don’t have the two-handed or heavy property.   The Tavern Brawler feat (PHB, p. 170) states that:     You are proficient with improvised weapons and unarmed strikes.   And the rules for improvised weapons (PHB, p. 147-148) state:     In many cases, an improvised weapon is similar to an actual weapon and can be treated as such. For example, a table leg is akin to a club. At the DM’s option, a character proficient with a weapon can use a similar object as if it were that weapon and use his or her proficiency bonus. An object that bears no resemblance to a weapon deals 1d4 damage.    If the improvised weapon does not resemble a weapon, is simple, and is not heavy or two-handed, could a monk replace the d4 dice? For example if the monk is level 6 and has a unarmed attack of a d6, with a d6 dice instead? I was recently watching Episode 3 and a few clone wars episodes, and I found myself thinking during the opening battle between the Republic and General Grievous' forces above Coruscant, on a planet so densely populated where potentially thousands of inhabitants can be killed from a drifting capital class ship with a decaying orbit during space battles what defenses are in place?  Is there any instances of some form of emergency services that tractor beam chunks of debris to safe landing places or repulsor towers that can slow or suspend it until it can be taken apart safely? Even disintegration lasers or emergency force field generators like the types deployed on Hoth as they must have the energy output capable of sustaining it. This IS the galactic capital so must have some advanced tech at its deposal. Even now in our own development humans have certain preventative measures for all types of threats and ways of tracking them, plus responses or fall back plans. How is the equation of motion on an ellipse derived? I would like to show that a particle orbiting another will follow the trajectory   \begin{equation} r = \frac{a(1-e^2)}{1 + e \cos(\theta)}. \end{equation}  I would like to do this with minimal assumptions. Any pointers? I've read that this is nothing but the equation for an ellipse, as defined from the focus of the ellipse. But I'm not satisfied in just taking the result, I mean why should I assume that orbits are elliptical? I guess it should be derivable from energy and angular momentum considerations... How can a photon have no mass and still travel at the speed of light? Video grid with vstack and hstack If you create a scene for the Video Sequence Editor and start working on a project Blender will render the output from the VSE. But if you want to later switch it to render your 3D scene again (the camera output) where is the setting to select the source?  Usually I keep a separate .blend for VSE edits so I don't need to switch, but I feel like I ought to learn how to do this as it's pretty basic. I would expect to find this in the Render context but I see no place to specify the source.  Thanks. We are having issues with our exchange 2013 server. The server is running Windows Server 2008 R2 Standard.  The issue we're having is that our Exchange server isn't receiving internet emails. It can currently send mail out to internet addresses, and send and receive internal emails from the current email server. I have checked the settings of the receive connectors and everything seems correct. We have tried everything that we can think of.   We can send and receive email locally, and send out to a gmail account. However, we don't get the reply email from the gmail account to the inbox.    Thanks in advance!! Image is of the DNS settings on the exchange server. Why are There No "Triernions" (3-dimensional analogue of complex numbers / quaternions)? Since there are  complex numbers (2 dimensions) and quaternions (4 dimensions), it follows intuitively that there ought to be something in between for 3 dimensions ("triernions").   Yet no one uses these. Why is this? When doing calculations on very large numbers where integral data types such as double or int64 falls short, a separate class to handle such large numbers may be needed.    Does anyone care to offer an efficient algorithm on how best to do this?