Trying to use setConverter() on my comboBox, but I get a null pointer exception if I put it in my initialize function
What is a NullPointerException, and how do I fix it?
Copy files from a list to a folder Deriving Schrodinger equation from Klein-Gordon QFT with the definition $\psi(\textbf{x},t)\equiv \langle 0|\phi_0(\textbf{x},t)|\psi\rangle$ In the book "Quantum Field theory and the Standard Model" by Matthew Schwartz, , the position space wavefunction is defined as   $$\psi(x)=\langle 0|\phi(x)|\psi\rangle, \tag{2.82+2.83}$$  where $|\psi\rangle$ is any state in the Fock space. Then he uses the equations (i) $\partial_t^2\phi_0=(\nabla^2-m^2)\phi_0$ (i.e., the Klein-Gordon equation for the free massive scalar field $\phi_0(\textbf{x},t)$) and (ii) $[H,\phi_0]=-i\partial_t\phi_0$ to derive Eq. 2.85, in following 3 steps:  $$i\langle 0|\partial_t\phi_0(\textbf{x},t)|\psi\rangle=\langle 0|\int \frac{d^3\textbf{p}}{(2\pi)^3}\frac{\sqrt{\textbf{p}^2+m^2}}{\sqrt{2\omega_\textbf{p}}}(a_p e^{-ip\cdot x}-a^\dagger_p e^{ip\cdot x})|\psi\rangle\\ =\langle 0|\sqrt{m^2-\nabla^2}\phi_0(\textbf{x},t)|\psi\rangle.\tag{2.85}$$  This equation is used to successfully derive the Schrodinger equation in quantum mechanics for the state $\psi(\textbf{x},t)\equiv \langle 0|\phi_0(\textbf{x},t)|\psi\rangle$.   The first equality follows from differentiation of $\phi_0(x)$ w.r.t $t$. How does the second equality follow from the first? How are the inputs (i) and (ii) are utilized to derive the second equality from the first? Is it true that the operator $$i\partial_t\sim\sqrt{m^2-\nabla^2}~?$$ If yes, what is the use of doing the middle step? Change logo url link I'm trying to change the logo url of the site to "mywebsite.com/side2", but it is not working, can anyone tell me where is the error in the code below?  add_filter( 'login_headerurl', 'custom_loginlogo_url' ); function custom_loginlogo_url($url) {  return home_url( 'side2' ); } no border around hyperlinks with hyperref What's in a name: hyperparameters So in a normal distribution, we have two parameters: mean $\mu$ and variance $\sigma^2$. In the book Pattern Recognition and Machine Learning, there suddenly appears a hyperparameter $\lambda$ in the  regularization terms of the error function.  What are hyperparameters? Why are they named as such? And how are they intuitively different from parameters in general? Why does the symbol for the multiplication operation change shape? $K \subset \mathbb{R}^n$ is compact iff it is closed and bounded I want to prove $\Leftarrow$.  I just need one more step, now. If I find a compact set that contains K, then it will finish the proof. Rudin take a k-cell to do that, but before it he proves that every k-cell is compact, and I think I can take a more simple compact to do this step. I has thinked in the closed ball, but don't know how to prove that it is compact. Can anyone help me to find this set, if it really exists? Thanks. Why does division by zero with floating point (or double precision) numbers not throw java.lang.ArithmeticException: / by zero in Java Possible Duplicate:          In  the following claim was mentioned:  $R/I \otimes_R M \cong M / IM$  So I tried to prove it. Can you help me finish my proof? Thanks!    We recall that $M \otimes_R -$ is a covariant right-exact functor that it is exact if $M$ is flat and we observe that the following is an exact sequence: $$ 0 \to IM \xrightarrow{i} M \xrightarrow{\pi} M / IM \to 0$$  $R/I$ is an $R$ module since $R/I$ is a subring of $R$ closed with respect to multiplication from $R$ but it is not necessarily flat hence we only get exactness on one side:  $$  (R/I) \otimes_R IM \xrightarrow{id \otimes i} (R/I) \otimes_R M \xrightarrow{id \otimes \pi} (R/I) \otimes_R M / IM \to 0$$  Then $$ \mathrm{Im(id \otimes \pi)} = (R/I) \otimes_R M / IM  \cong (R/I) \otimes_R M / \mathrm{Ker} (id \otimes i) $$  so we want to show two things:   (i) that $\mathrm{Ker} (id \otimes i) = \{0\}$. To this end let $r + I \otimes im \in (R/I) \otimes_R  IM $ and assume $ id \otimes i(r + I \otimes im ) = r + I \otimes im = 0 + I \otimes 0$. I'm not sure how to proceed from here.   (ii) and that $M /IM \cong (R/I) \otimes_R M / IM $  Can you help me? Thanks. How to monitor disk activity? How do I view my Disk Activity on Ubuntu? For example, How can I monitor what is being written and read from disk as well as the percentage of disk usage?  I am looking for an application similar to the Resource Monitor in Windows. Is the tag info page not available on mobile theme? I was surfing SO on my iPhone, and wanted to see the info (tag-wiki) page for a tag, but didn't find it. Clicking on the tag always leads to the list of question, and there is no other link to the tag wiki. Is it not available on the mobile site? Can't login with Google using Internet Accounts Energy conservation and interference I have a problem with energy conservation in case of interfering waves.  Imagine two harmonic waves with amplitudes $A$. They both carry energy that is proportional to $A^2$, so the total energy is proportional to $2A^2$. When they interfere, the amplitude raises to $2A$, so energy is now proportional to $4A^2$ and bigger than before.  The equivalent question is what happens to the energy with the superposition of two waves that interfere destructively.  Also, if someone could comment on the statement about this problem in my physics book (Bykow, Butikow, Kondratiew):      The sources of the waves work with increased power during the interference because they feel the wave from the other source. What HTML tags are allowed on Stack Exchange sites? What happened to the voting buttons? Starting from yesterday, the up-/downvote buttons seem to have moved from the left of a post towards above (in the middle) of the bodies of all questions and answers. Here is a screenprint of a sample (containing such buttons for both a question and an answer to it):    This happens on an iOS device (running 9.3.5), using various browsers and this in any SE site. No idea so far how it looks like in the most recent iOS version. Same for the (green) checkbox below those voting buttons (to mark an answer as accepted). Is this intended to be like this (IMO it looks ugly ... and a huge waste of available space), or is it rather some sort of CSS related issue that needs to be fixed? PS: Looking at the same page around the same time on a Win PC (using any of the common browsers) seems to work fine. Prove $ \sin x + \frac{ \sin3x }{3} + ... + \frac{ \sin((2n-1)x) }{2n-1} >0 $ Prove that for $ 0&lt;x&lt; \pi $, $$ \quad S_n(x) = \sin x + \frac{ \sin3x }{3} + ... + \frac{ \sin((2n-1)x) }{2n-1} &gt;0 \quad \forall n = 1,2,... $$  Having trouble with this problem. This is an olympiad-style question, so an answer that doesn't use calculus or analysis would be preferred. A possible approach is induction, but for this we need to find a function in terms of $n$ and $x$ so that we can actually use the inductive step. If anyone has any ideas they would be appreciated.  If you really want to go down the calculus route (at this point I don't mind), then $ S_n' (x) = \cos x + \cos 3x + ... +\cos((2n-1)x) $ , which you can find a closed form for, but I don't know how useful that is. Volume form on $(n-1)$-sphere $S^{n-1}$ Let $\omega$ the (n-1) form on $\mathbb{R}^n$ $$\omega=\sum_{j=1}^{n}(-1)^{j-1}x_{j}dx_{1}\wedge\cdots\wedge \hat{dx_{j}}\wedge\cdots dx_{n}$$ Show that the restriction of $\omega$ to $S^{n-1}$ in precisely the volume for this sphere.  What I did was: $\omega$ never vanish on the sphere, because, defining $\sigma\in \Omega^{n-1}(S)$ for $$\sigma_{p}(v_{1},...,v_{n-1})=det(p,v_{1},...,v_{n-1})$$ and $i:S^{n-1}\rightarrow \mathbb{R}^{n}$ the inclusion function, then $\omega=i^{\ast}(\sigma)$ then $\omega\not=0$ and therfore is a volume form.   How proof that $\omega$ is the volume form?   The first thing that comes to mind is show that $\int_{S^{n-1}}\omega=Vol(S^{n-1})$ but I have serious problems with the definition, I think that is to much.   How see that $\omega$ is invariant on $\mathbb{R}^{n}$ under action of $O(n)$ Show that the ring of all rational numbers, which when written in simplest form has an odd denominator, is a principal ideal domain. Show that the ring of all rational numbers $m/n$ with $n$ an odd integer is a principal ideal domain.  We haven't really discussed principal ideal domains. I've heard that this is easy, but I just lack the basic knowledge of what a principal ideal domain is. iMac disk partion FFFFFFFF-FFFF-FFFF-FFFF-FFFFFFFFFFFF and fusion drive unlinked Why is fundamental group insufficient to classify manifolds? I have heard that some issues in group theory prevent classifying all manifolds upto homotopy using the fundamental group invariant. Does anyone know what are those issues?  Thanks, K.