I've read that in insert mode in vim, one can use &lt;C-Left&gt; and &lt;C-Right&gt; to move by words. This works for me, but only as far as I don't run vim inside tmux terminal splitter.  When inside tmux, &lt;C-Left&gt; instead throws me out of the insert mode and gives an error:     E388: Couldn't find definition   This error is explained in the help to have something to do with definition searching. However, I don't want any definition to be searched for, I want just to move one word to the left. As well, &lt;C-Right&gt; does nothing more than throwing me out of the insert mode, not what I would like.  Reading somewhere that this might be connected to set (no)esckeys, I tried it with both settings of this flag, with the very same result. As well, I have seen the answers in  but they don't appear to help me.  My current .tmux.conf:  # This File is : ~/.tmux.conf  # use "|" and "-" to do vertical/horizontal splits # (press CTRL B and then - or |, CTRL D to close it) unbind % bind | split-window -h bind - split-window -v  # use the vim motion keys to move between panes # (press CTRL B and then h,j,k,l for the move) bind h select-pane -L bind j select-pane -D bind k select-pane -U bind l select-pane -R  # use vim motion keys while in copy mode # To copy, press CTRL B and then [, move, space, move, enter. # To paste, press CTRL B and then ] setw -g mode-keys vi  # make vim work properly inside tmux setw -g xterm-keys on set -g default-terminal "screen-256color"   And .vimrc:  " tabs, indentation, line numbering set ts=4 sts=4 number autoindent sw=4  " sage is python au BufNewFile,BufRead *.sage set filetype=python  if &amp;term =~ '^screen'   " Page keys http://sourceforge.net/p/tmux/tmux-code/ci/master/tree/FAQ   execute "set t_kP=\e[5;*~"   execute "set t_kN=\e[6;*~"    " Arrow keys http://unix.stackexchange.com/a/34723   execute "set &lt;xUp&gt;=\e[1;*A"   execute "set &lt;xDown&gt;=\e[1;*B"   execute "set &lt;xRight&gt;=\e[1;*C"   execute "set &lt;xLeft&gt;=\e[1;*D" endif
This is all in iTerm2 on OS X.  I used to have  export TERM='xterm-256color'   in my .bashrc. This meant Vim in tmux did use 256 colors.  And once I added  set -g xterm-keys on   then keyboard shortcuts with modifiers worked fine in Vim. Namely: shift+left/right that I mapped to switch Vim tabs, ctrl+up/down that I mapped to move ("bubble") lines, and shift+left/right which worked out of the box to jump by word in the command-line mode (e.g. when typing something like :e foo bar baz).  However, this setup had the problem that the Vim background color only shows behind text, as mentioned .  So I removed  export TERM='xterm-256color'   from my .bashrc and instead put this in my .tmux.conf:  set -g default-terminal "screen-256color"   That fixed the Vim background color, but broke the keyboard shortcuts - they do unexpected things (move the cursor, delete text) instead.  By using ctrl+v to insert the verbatim output from the key combinations (as described ), I was able to work around it:  map [1;5A &lt;C-Up&gt; map [1;5B &lt;C-Down&gt; map [1;2D &lt;S-Left&gt; map [1;2C &lt;S-Right&gt; cmap [1;2D &lt;S-Left&gt; cmap [1;2C &lt;S-Right&gt;   This makes the shortcuts work, but it doesn't feel like the right solution. Could anyone tell me what's happening here and how to fix it?
Proving $ 1+\frac{1}{4}+\frac{1}{9}+\cdots+\frac{1}{n^2}\leq 2-\frac{1}{n}$ for all $n\geq 2$ by induction Is there a way to have two copies of  app in Ubuntu each with a different account?  It seems copying the app in another folder does not work. Does Gentle Repose work on a Circle of Spore Druid's Fungal Infestation Ability? The Circle of Spores Druid feature Fungal Infestation states:  If a beast or humanoid that is Small or Medium dies within 10 feet of you, you can use your reaction to animate it, causing it to stand up immediately with 1 hit point. The creature uses the zombie statistics. It remains animate for 1 hour, after which time it collapses and dies.  Circle of Spore druids also gain access to the  spell, which states:  You touch a corpse or other remains. For the duration, the target is protected from decay and can’t become undead. The spell also effectively extends the time limit on raising the target from the dead, since days spent under the influence of this spell don’t count against the time limit of spells such as raise dead.  There seem to be some good arguments that they cannot work together:  First, Gentle Repose states the target cannot become undead, which would seem to preclude Gentle Repose working on a fungally infested creature that appears to be in some sense raised from the dead. Second, gentle repose states you touch a corpse or other remains - one could argue that using the zombie statistics, the fungally infested entity is neither a corpse or remains, but an undead zombie.  However, there are also some reasonable arguments that they could work together:  First, the Fungal Infestation does not say that the creature is undead or a zombie, but that it uses the statistics of a zombie, which might leave room for a RAW interpretation that the features could work together (for example, it could be considered a fungally infested corpse or fungally raised remains). Second, Gentle Repose says that it extends the time limit of raising the target from the dead and makes reference to spells like Raise Dead, which in flavour are similar to what happens with Fungal Infestation.  RAW, can a player cast gentle repose on a zombie created by Fungal Infestation? How to remove a watermark from a PDF file? I thought this would be a simple task, but it turned out the other way.  The watermark is the very same (overlapping, but transparent) image on every single page. I created the PDF file myself (so no copyright worries here) using PDFCreator 0.9.8.  I have already tried my friend's Adobe Acrobat Pro, but it didn't work. It tries to remove it, but it can't. I tried to remove header/footer, etc., but the watermark just won't disappear.    How can I remove the watermark? How to set a command block with a command inside using the setblock command In his first lesson (transcripted in "Tips on Physics"), Feynman talks about math for physicists in a very cool and practical way. And at the end of the section he talks something like "so the first thing to do is to learn to learn derivative, integral and algebra" (I don't know how much precise I'm being because I've read it in Portuguese). I would to know if there is some book that deals with math as Feynman did it in this lesson (respecting formalities, but teaching how to use the practical rules)? Also, someone have any recommendations for algebra book (college level)? "Subject, verb, direct object, object complement" versus "subject, verb, indirect object, direct object" Reading English Grammar (HarperCollins College Outline, published by HarperResource, an imprint of HarperCollinsPublishers) I found a chapter (Sentence Basics) that explains that in English there are different sentence patterns; in particular   Subject, verb, direct object, object complement Subject, verb, indirect object, direct object   The chapter reports the following example for the patterns:     Alice called Charles Professor Miller.   Alice gave Charles the rabbit.   What is the difference between the two kind of sentences? What is the difference between the object complement in the first case, and the indirect object in the second case?  PS: The question, which could appear silly, comes from the fact in my first language there is only the object complement. How to select a clustering method? How to validate a cluster solution (to warrant the method choice)? One of the biggest issue with cluster analysis is that we may happen to have to derive different conclusion when base on different clustering methods used  (including different linkage methods in hierarchical clustering).  I would like to know your opinion on this - which method will you select, and how. One might say "the best method of clustering is which gives you the right answer"; but I may question in response that cluster analysis is supposed to be an unsupervised technique - so how do I know which method or linkage is the right answer?  In general: is a clustering alone robust enough to rely on? Or we need a second method and get a shared result to be based on both?  My question is not only about possible ways to validate / evaluate clustering performance, but is broader - on what basis do we select/prefer one clustering method/algorithm over another one. Also, is there common warnings that we should look around when we are selecting a method to cluster our data?  I know that it is very general question and very difficult to answer. I only would like to know if you have any comment or any advise or any suggestion for me to learn more about this. How does long to int cast work in Java? How do I install .run files? My PC has both Ubuntu and Windows 7 installed. I have installed all my drivers in Windows like Nvidia graphics, motherboard etc. Shall I install them in Ubuntu too?  I looked on the web for my Nvidia drivers and I have found a .run file. How could I install it on my Ubuntu? I am looking for one word to describe someone who always does what he loves.   Loving means enjoying something very much, free-spirited means not restrained by convention. Is there a hybrid word?   I mean a word that describes someone who is independent and always does what he loves. Please also try to not make the word too esoteric. Also, the word needs to be positive.  How will it be used?  I am submitting an application for college, and they require me to supply a word to describe myself. I have always done what I love. So, I require a word to describe someone who loves what they want. There is no sentence, in particular, just a prompt asking me to describe myself in one word. Working in Cycles.  Say I have a "disco ball" with a glossy shader. I'm pointing a spot light to it, and I'm trying to have the reflections of that light illuminate the diffuse material on the walls with the patterns from the ball.    I get this:    but I'd like to get something like:    For the illustration I placed a point light inside the ball an removed faces. But what I'd like to do is move the light around the ball so that the light reflected from it changes like it would do in real life.   Is that possible at this point?  EDIT:  Just for the record here's the image rendered in LuxRender (yet another program to learn...) Beamer in LyX: no sperator option avaiable I have been using beamer in LyX for a while now. Love it. But I just got a new computer, istalled LyX again and when I create a new beamer file (or open an old one) the "separator" option that is used to end a frame is not avaiable.  I do not know if there is something wrong with my installation or if I should install some package, or something else.  Has anybody ever run into this problem as well?  Thank you for the help.  Edited: Thank you for the answers, I basically need to update lyx on the other computers now. What is the definition of a symmetric distribution? What's the definition of a symmetric distribution? Someone told me that a random variable $X$ came from a symmetric distribution if and only if $X$ and $-X$ has the same distribution. But I think this definition is partly true. Because I can present a counterexample $X\sim N(\mu,\sigma^{2})$ and $\mu\neq0$.  Obviously, it has a symmetric distribution, but $X$ and $-X$ have different distribution! Am I right? Do you guys ever think about this question? What's the exact definition of symmetric distribution? Proof by induction that if $n \in \mathbb N$ then it can be written as sum of different Fibonacci numbers Proof that every natural number $n\in \mathbb N$, can be written as the sum of different Fibonacci numbers between $F_2,F_3,\ldots,F_k,\ldots$.  For example: $32 = 21 + 8+3 = F_8+F_6+F_4$  Research effort:  The base step it's simple:  Let $k=1$ it can be britten as $k=1=F_2$  For the inductive step I considered:  Let $k = k  F_2 =F_2+F_2+\cdots+F_2 = \sum_{i=2}^w a_iF_i, a_i =\{0,1\} $  Then if $k$ suffice I want to see if $k+1$ suffices too... But I'm not realy seeing how to use the inductive hypothesis, so I assume It's wrong.  Any thoughts on which can the inductive step be? I recently bought one of these ESR meters, a 'MESR-100':       It claims to be able to test capacitor ESR with the caps left in-circuit.  It appears to work well from my tests so far.  However, how much can I trust the in-circuit readings?  Are they going to be less accurate?  Are there certain circuit configurations where it wouldn't be possible to measure ESR in-circuit accurately?  [EDIT: Added the model as requested] : If no spell can reawaken the dead, how did the resurrection stone work? Dumbledore himself said that no spell can reawaken the dead. Isn't that the main objective of the resurrection stone? If one can't reawaken the dead then what is the use of the stone? Surely then one of the Hallows is flawed? Unable to locate package Why isn't Harry Potter punished for using magic outside of Hogwarts in Prisoner of Azkaban? Mask and inherit the same systemd unit Suppose a package provides whatever.service file so certain events (including whatever.socket) cause a daemon to start with a certain configuration.  I want to disable this completely. In particular, I want the old socket and any other unit files that might refer to this service by name to be unable to start the daemon.  Instead, I want to create my own unit files for this daemon with a different .socket unit and different environment variables. I also want my override to automatically take account of possible upstream updates to the original unit file (which my current solution of copying whatever.service as whatever-modified.service and editing it unfortunately does not provide).  If I create the following symlinks and files: /etc/systemd/system/whatever.service → /dev/null /etc/systemd/system/whatever-modified.service → /usr/lib/systemd/system/whatever.service /etc/systemd/system/whatever-modified.service.d/fix.conf  systemd considers the new service to be masked as well and refuses to start it. How to avoid this?