My vim snippet appear &lt;++> every time i i use tab. I want to use tab completion, yet the &lt;++> doesn't make any sense.  For instance, /title{&lt;++>}. Is there a mapping feature in vim snippet i didn't know? or quick shortcut that i miss.
I have a LaTeX editing environment that does some assistive stuff such as auto-indenting, closing parentheses, etc.  However, one of the things that it does is unknown to me, and is difficult to search for. If I type an empty set of braces, it replaces them with  {}&lt;++&gt;   If I type two empty sets, for example when I'm setting up a fraction \frac{}{} what I actually get is  \frac\left\{ } \right\}&lt;++&gt;}&lt;++&gt;   Is this a problem? What does &lt;++&gt; do?  Edit: This is using
Prove: If $a\mid m$ and $b\mid m$ and $\gcd(a,b)=1$ then $ab\mid m$ Prove: If $a\mid m$ and $b\mid m$ and $\gcd(a,b)=1$ then $ab\mid m$  I thought that $m=ab$ but I was given a counterexample in a comment below.  So all I really know is $m=ax$ and $m=by$ for some $x,y \in \mathbb Z$. Also, $a$ and $b$ are relatively prime since $\gcd(a,b)=1$.   One of the comments suggests to use , i.e., $aq+br=1$ for some $q,r\in\mathbb{Z}$. Any more hints?  New to this divisibility/gcd stuff. Thanks in advance! How do I store phone numbers in PostgreSQL? Suppose f is a twice differentiable function with $f(0)=0$ and $f(1)=1$, $f'(0)=f'(1)=0$. Then show that $|f''(x)| > 4$ for some $x$ in $(0,1)$ Any help would​ be appreciated.  My initial attempts were using Lagrange's Mean Value Theorem first between $f(0)$ and $f(1)$ to show that $f'(t)=1$ for some $t$ in $(0,1)$.  Now applying LMV between $f'(t)$ and $f'(0)$, and $f'(t)$ and $f'(1)$ I could prove it if t lies in either $(0,1/4]$ or in $[3/4,1)$. Don't really know where to go next. Limit of a Piecewise Function defined on Rationals and Irrationals Domains in cell membrane How is movement of proteins and lipids between different domains of cell membrane prevented?  Why is the noncytosolic layer not able to do lateral movements between domains but cytosolic layer is able to do so? Prove that $\frac{(n-2)s^2}{\sigma^2}\sim \chi^{2}_{n-2}$ The novel centers around a man living a comfortable existence in the pretty distant future.  To support himself, he is occasionally asked to enter a box which will copy his entire body, and send it out faster than the speed of light to some developing world, to work.  His copy on this world wakes up and realizes what a big mistake he's made.  The copy does grueling work, feels lonely, and eventually just dies of radiation sickness.  Back on earth, the man never realizes how bad it is out there, and keeps sending out more copies.  I think the story is probably 80s or earlier - not sure if it's a short story, or the beginning of a novel which I lost &amp; never finished. I'm looking to create a simple short-lived reservation system, and I'd like to generate confirmation numbers that are   unique random-looking alphanumeric short-ish, at least much shorter than 32 character-long strings returned by sha1   I'm only looking to have ~500 reservations, so I don't imagine high likelyhood of collissions.  One idea I had is generate an sha1 hash based on a date-time stamp and username, then truncating it to its first 10 characters.  Would something like that be reliably unique enough for the purposes of processing ~500 reservations? Transcendental Extensions. $F(\alpha)$ isomorphic to $F(x)$ Let $E$ be an extension field of $F$ and $\alpha \in E$. Then $\alpha$ is transcendental over $F$ if and only if $F(\alpha)$ is isomorphic to $F(x)$, the field of fractions of $F[x]$.   This was a theorem in an abstract algebra textbook with a very brief proof. Can someone please explain why this theorem holds? I'm having difficulty grasping the concepts at hand.  Thanks! Determining the characteristic of a field If $\mathbb{F}=\{ 0,1,x,y\}$ is a field with four elements, why is the characteristic 2?   In a field with four elements, the characteristic is 2 or 3(since it has to be a prime). Is there any way to determine precisely the characteristic of this field, and in general any finite field? Find all subgroups of $\mathbb{Z}\times\mathbb{Z}$. Find all subgroups of $\mathbb{Z}\times\mathbb{Z}$.   I can find all the infinite subgroups of the form $n\mathbb{Z}\times m\mathbb{Z}$, where $n,m$ run over $\mathbb{Z}$. But I don't know how to write out all the finite subgroups in a uniform expression.  Any suggestions? Thanks in advance. why ls reports a huge file and du does not? What is the best way to save values (like strings) for later use? I'm fairly new to LaTeX and I'm struggling with something apparently simple, but for which I can't find a fair solution. The problem (simplified) is as follows (please take care terms used may not have the traditional meaning in LaTeX):  I need to references to files (many) throughout a text. As example, the files:  "C:/Work/this_file1.c", "C:/MoreWork/this_file1.c" and "D:/MoreWork/another_file2.h".  So, now I would like to create an "alias" to each directory and each name file so I can reference them. A "pseudocode" could be:  % Definition \alias \c_dir = C:/Work/ \alias \d_dir = D:/MoreWork/ \alias \file1 = this_file1.c \alias \file2 = another_file2.h  % Reference in text \c_dir\file1    % For referencing C:/Work/this_file1.c \d_dir\file1    % For referencing D:/MoreWork/this_file1.c \c_dir\file2    % For referencing C:/Work/another_file2.h   My first approach was using \newcommand, but that caused numerous problems due to naming limitations. (I also tried other methods like pgfkeys, but it always gets stuck somewhere!)  Can you suggest a method? What is the value of $p^2q + q^2r + r^2p$ for the given cubic equation? If p,q,r are the real roots of the equation $x^3-6x^2+3x+1=0$ then find the value of $p^2q + q^2r + r^2p$?  My Attempt: I tried $(p+q+r)(pq+qr+rp)$ but couldn't really figure out what to do with the extra terms. The roots are also not trivial to find. Any help would be appreciated. Remove GRUB and keep a Linux system How can I account for a nonlinear variable in a logistic regression? How can I account for a nonlinear independent variable in a logistic regression?  For example, consider this data set:  b1  b2  b3  b4  b5 1   1   0   0   20 0   1   0   0   20 1   0   0   0   13 1   1   1   0   8 1   1   0   1   5 0   1   0   1   4 1   1   0   1   5 0   0   0   0   8 0   0   1   0   13 1   0   0   1   20 1   0   0   0   29 1   1   0   1   40 1   0   0   0   53 0   1   1   0   68   Suppose I gathered some data like the above (suppose I had 10,000 rows) and I want to use them to predict future sets of similar data with an equation generated by a logistic regression. I get the above data. My independent variables are b1 through b5. By looking at the data, I can clearly see that independent variables b1 through b4 are binary (maybe they are male/female, rent/own, etc).   However I see that b5 is clearly not binary. Upon graphing it and looking at the numbers I determine that the b5 variable has a bathtub shaped U curve with an equation of b5=(x-4)^2+4.   I understand that using the b5 variable as it is would screw up my logistic regression - since any interval independent variables must have a linear relationship with the dependent variable.   Yet, I must account for the variable b5 in my data set while doing a logistic regression for it to be accurate and predict well (right?).  Given the above data, how would I go about making a predictive model with a logistic regression? Any references online or in books would greatly be appreciated as I am having trouble finding a good explanation of the above.  Cheers =)  EDIT:  Sorry if my question is unclear.  Consider this: Suppose we had the following data on many people:  Y: Whether they had a stroke before the age of 50 or not 1. Whether they own a pet or not. 2. Whether they graduated college or not. 3. Whether they are male or female. 4. The number of hours they exercise every week.  We want to train a logistic regression model based on historical data to predict if someone in the future with the same data will be more apt or not to have a stroke before the age of 50.  The problem I am having is with the last variable. A continuous ratio variable like "number of hours exercised each week."  Exercising more each week may have diminishing returns on health and thus having a stroke. For example decreasing an increasing rate. Or maybe (totally made up) exercising a little bit is really good for you, exercising a moderate amount is really bad for you, and exercising a lot is really good for you again. We might have a U shaped curve like (x-4)^2+4 for example when plotting health to exercise.   I would image that having a curved, non-linear independent variable in a logistic regression like the one I described above would cause problems. Am I right? And if so, what kinds of things can you do to still include the variable in the logistic regression. Perhaps a transformation? Is that all? Can't format my usb drive. I have already tried with mkdosfs and gparted I have a MicroSD card in a USB adapter (which plugs into a USB port on my machine, and acts like a USB flash drive). I was using Unetbootin to make this a bootable USB flash drive with Kubuntu. But I needed to cancel while it was working. So I killed the Unetbootin process from the console.  Since then, I can't format the MicroSD or delete the folder that Kubuntu made. I have also tried mkdosfs, with no success. I can't mount the drive anymore either? What can I do to make this drive usable again?  Trying to create a new partition table in GParted, as described in Eliah Kagan's answer, does not work. It fails with the error message "imposible crear tabla de particiones" ("unable to create a partition table"). Which airlines allow in-cabin pets on transatlantic flights? I had opened a terminal to install macchanger via sudo apt-get install -y macchanger, and then entered my password. It stated that macchanger was already the newest version, so I typed clear and then ran:  sudo ifconfig eth0 down   which is when this error message appeared:  eth0 ERROR while getting interface flags: no such device   This is a laptop and I am connected via ethernet cable.  How can I resolve this, so that I can run macchanger?    So I used ifconfig -a and I'm looking but seeing no mention of  eth0  The interfaces that are showing top to bottom are:  enp58s0f1 lo tun0 UNSPEC wlp59s0   The only reference to ethernet is the MAC and also txqueuelen   Does this help in figuring what I need to do to get this sorted? Why are there two Address lines in Address forms? Experience and a quick Google Images search suggests that it's standard to provide two fields for Address/Street. A colleague argues that it's perceived as two alternative addresses, and that the fact that there's only one country, state, zip, phone just makes it more confusing. I tried to think of a good explanation for having two fields but couldn't. To the reason of "there are some very long addresses" he replies "then why don't they use a multiline input field which would make it clearer that it's the same address".  So, what's the reason? And is it only standard for the US or for Europe as well?