What happened to Saruman after he "died"?
What happened to Saruman after he was knifed by Grima?
I've been working a bash script to automate the process of opening and closing an LVM over LUKS external hard drive. However I continue to receive errors on line 28:   $(vgchange -a n ; cryptsetup luksClose vol)   The error I receive:  $ sudo ./encryption.sh -l Locking System.............. ./encryption.sh: line 28: 0: command not found System Locked!   Here is the rest of the code for reference:  if [ $1 = -u ] ; then     $(cryptsetup luksOpen /dev/sdb2 vol)     echo "Unlocking.................." | pv -qL 10     $(mount /dev/mapper/vol-lvroot /mnt ; mount /dev/mapper/vol-lvvar /mnt/var ; mount /dev/mapper/vol-lvhome /mnt/home ; mount /dev/sdb1 /mnt/boot)     echo "System Mounted!" | pv -qL 10 #   exit 0 fi  if [ $1 = -l ] ; then     $(umount /mnt/var ; umount /mnt/home ; umount /mnt/boot ; umount /mnt/)     echo "Locking System.............." | pv -qL 10     $(vgchange -a n ; cryptsetup luksClose vol)     echo "System Locked!" | pv -qL 10     exit 0 fi   Other information:   I receive no apparent error when running the command in question by itself interactively. I'm new to writing bash, so any recommendations and constructive criticism is appreciated. The process appears to complete successfully, but I don't understand the error or how to make them go away. Upon further research when running the troubled code alone in interactive mode it does provide output after being executed.   This is given after posting the troubled code interactively.   0 logical volume(s) in volume group "vol" now active Initially, my question was: is "focussed" or "focused" the correct past tense of "focus", but since this applies to a lot of words, I would like to generalize and ask: is there supposed to be a rule when to double the consonant? Convert UTC/GMT time to local time We are developing a C# application for a web-service client. This will run on Windows XP PC's.  One of the fields returned by the web service is a DateTime field. The server returns a field in GMT format i.e. with a "Z" at the end.  However, we found that .NET seems to do some kind of implicit conversion and the time was always 12 hours out.  The following code sample resolves this to some extent in that the 12 hour difference has gone but it makes no allowance for NZ daylight saving.  CultureInfo ci = new CultureInfo("en-NZ"); string date = "Web service date".ToString("R", ci); DateTime convertedDate = DateTime.Parse(date);               As per :     UTC/GMT Offset       Standard time zone: UTC/GMT +12 hours   Daylight saving time: +1 hour   Current time zone offset: UTC/GMT +13 hours     How do we adjust for the extra hour? Can this be done programmatically or is this some kind of setting on the PC's? Why can't a normal user `chown` a file? Related post   In Peskin and Schroeder's QFT p28, the authors tried to show causality is preserved in scalar field theory.  Consider commutator $$ [ \phi(x), \phi(y) ] = D(x-y) - D(y-x) \tag{2.53} $$ where $D(x-y)$ is the two-point correlation function,  $$D(x-y):= \langle 0 | \phi(x) \phi(y) | 0 \rangle  = \int \frac{d^3 p}{ (2\pi)^3} \frac{1}{ 2E_{\mathbf{p}}} e^{-ip(x-y)}\tag{2.50}$$  P&amp;S argued that each term in the right-hand-side of (2.53) is Lorentz invariant, since $$\int \frac{d^3p }{ (2\pi)^3} \frac{1}{2E_{\mathbf{p}}} = \int \frac{ d^4 p }{ (2\pi)^4} (2\pi) \delta(p^2-m^2)|_{p^0&gt;0} \tag{2.40}$$ is Lorentz invariant.  Since there exists a continuous Lorentz transformation in the spacelike interval $(x-y)^2&lt;0 $ such that $(x-y) \rightarrow - (x-y) $ and $D(y-x)=D(x-y)$, (2.53) equals zero in the spacelike interval. In timelike interval, since such continuous Lorentz transformation does not exist, (2.53) is non-zero in general.  My question is, consider a non-continuous Lorentz transmation in the timelike interval, $PT$, namely time reversal times parity transformation. I can also let  $(x-y) \rightarrow - (x-y) $. Why (2.53) in the timelike interval is non-zero?  I guess $PT$ will let (2.40) go to $p^0&lt;0$ branch. But I am not sure if it breaks the Lorentz invariant of (2.40) and (2.50). Feature selection with Random Forests I use bash on both my Mac and as my cygwin shell. Overall, I'm quite pleased with it.  My one complaint however is that its TAB completion isn't as good as Windows Command Line TAB completion.   For example, if there are two files with the same prefix, then bash just beeps at me when I try to TAB complete. If I keep nailing TAB, then it will eventually show me a list of potential files.  I definately prefer how Windows will cycle through potential files right on the command line.   Is there a way to get bash to operate similar to Windows Command Line in this regard?  If there isn't (I do not want to switch shells), am I missing something about TAB completion in bash? Is there a more efficient way to use it? Resistor in series We know that when a resistor is connected in series , the current flowing through that resistor will be constant.But how do we use a resistor to limit the current flowing through a circuit ,when resistor is connected in series with the circuit ? The probability that an initial quantum state $|\psi_i\rangle$ becomes the final quantum state $|\psi_f\rangle$ is given by  \begin{eqnarray} P(i \rightarrow f) &amp;=&amp; |\langle\psi_f|\psi_i\rangle|^2 \tag{1}\\ &amp;=&amp; \langle\psi_f|\psi_i\rangle^*\langle\psi_f|\psi_i\rangle \\ &amp;=&amp; \langle\psi_i|\psi_f\rangle\langle\psi_f|\psi_i\rangle. \end{eqnarray}  Equation (1) seems to show that the probability for the transition ($i\rightarrow f$) can be interpreted as the system both moving forward in time ($i\rightarrow f$) with amplitude $\langle\psi_f|\psi_i\rangle$ and backward in time ($f\rightarrow i$) with amplitude $\langle\psi_i|\psi_f\rangle$ simultaneously.  Does this reasoning help to explain the Born rule? (Is it like the Transactional Interpretation of QM?)  I guess we must experience the macroscopic direction of time ($i\rightarrow f$) in accord with increasing entropy in an expanding universe whereas microscopically QM works both forwards and backwards in time.  Addition  This is an improved version of the argument including time-evolution operators.  The probability that an initial quantum state $|\psi_i\rangle$ evolves to become the final quantum state $|\psi_f\rangle$ is given by  \begin{eqnarray} P_{i \rightarrow f} &amp;=&amp; |\langle\psi_f|U_{i \rightarrow f}|\psi_i\rangle|^2 \tag{2}\\ &amp;=&amp; \langle\psi_f|U_{i \rightarrow f}|\psi_i\rangle^*\langle\psi_f|U_{i \rightarrow f}|\psi_i\rangle \\ &amp;=&amp; \langle\psi_i|U^\dagger_{i \rightarrow f}|\psi_f\rangle\langle\psi_f|U_{i \rightarrow f}|\psi_i\rangle \\ &amp;=&amp; \langle\psi_i|U_{f \rightarrow i}|\psi_f\rangle\langle\psi_f|U_{i \rightarrow f}|\psi_i\rangle \end{eqnarray} where $U_{i \rightarrow f}$ is the forward-time evolution operator and $U_{f \rightarrow i}=U^\dagger_{i \rightarrow f}$ is the corresponding backward-time evolution operator.  Equation (2) seems to show that the probability $P_{i\rightarrow j}$ can be interpreted as the system first evolving forwards in time and then evolving backwards in time.  Perhaps this is an example of Murray Gell-Mann's  that "Everything not forbidden is compulsory"? At the quantum level, below observable probabilities, there is nothing to stop time flowing both forwards and backwards. find $\left( \frac{x}{x+y} \right)^{2007} + \left( \frac{y}{x+y} \right)^{2007}$ if m varies then find the range of c for which the line $y=mx + c$ touches the parabola $y^2 = 8(x+2)$ .  I tried Put the value $y = mx + c in$ the parabola equation and then done $D = 0$ or $D&gt;0 $  I am getting $16/(m^2 + 8m) &gt;0 $  But in this , how do I neglect m How do I enter a file or directory with special characters in its name? General closed form of $\int_{0}^{\theta_0} \frac{1}{\sqrt{\cos \theta-\cos \theta_0}} d\theta$ I once asked a  about how to integrate the reciprocal of the square root of cosine.  Is  there a general closed form for the integral $$\int_{0}^{\theta_0} \frac{1}{\sqrt{\cos \theta-\cos \theta_0}} d\theta$$   in terms of the gamma function?  Thank you. The vertical line at the end of the cell where i used cell merge is missing. Select all columns except one in MySQL? I'm trying to use a select statement to get all of the columns from a certain MySQL table except one. Is there a simple way to do this?  EDIT: There are 53 columns in this table (NOT MY DESIGN) Here is a sentence excerpted from ,     Teen suicide is a growing health concern. It is the third-leading cause of death for young people ages 15 to 24, surpassed only by homicide and accidents, according to the U.S. Center for Disease Control and Prevention.   I've heard people use both "people aged from X to Y" and "people ages from X to Y" quite often, but I've always been believing that only the former is grammatically correct, whereas in the latter the "ages" doesn't seem to serve as any grammatical component of this sentence. So when I see an APA paper use "ages" in that way, I am just quite surprised: I just can't believe such an authoritative and rigourous academic institution will let such an explicit (and indeed naive, even to a non-native speaker's eyes) grammatical mistake survive in their publications. I'm aware that in daily language usage one ought not to become so fussy over insignificant matters like this, but I do wonder whether it should be paid attention to in academic writings.  OR, using "ages" in that way is no longer considered a grammatical mistake? Honestly I don't think this'd be true, but if it really is, I'd be grateful to be informed. Thanks! How to create an annuity timeline on LaTeX I was wondering, how can I create a timeline exactly like this one:    on LaTeX?  I am a Finance student, and write all of my notes using LaTeX. These timelines, are giving me a headache. Since we use a lot of different timelines because of annuities. I want to learn how to create one basic timeline, so that I can then change anything I want. But basically, I want something like this, with the arrows and everything.  Thank you so much guys! Multiplying Binomial Terms Does Blender support any form of collaborative editing? Remove "Show Desktop" button next to the clock in Windows 7