I would like to use both insert and remove in the same sentence. However, I would like to know how I will use the prepositions because the verbs have different prepositions into/from.  There are some posts about this issue; however, mine is a little bit different because there is an object after my verbs as seen below.     This method either inserts or removes some parameters from queries.   What is the correct way of writing this sentence? I am not sure because both insert and remove needs some parameters.     This method either inserts into or removes some parameters from queries.   I think the above does not sound well,   or     This method either inserts or removes some parameters into or from queries.   Thanks
Examples:        Data can be imported to and exported from the application.    Data can be imported and exported from the application.   Data can be imported to the application and exported from it.                  The manager defined the products that should be added to and removed from the store.   The manager defined the products that should be added and removed from the store.   The manager defined the products that should be added to the store and removed from it.      I assume that the third sentence is correct in my examples. My question is whether the two other sentences are correct.
How Conditional Random Fields and Logistic Regression could be the same? If you have read  tutorial about CRF, on page 4 under the section Classification, it wants to relate CRF to Logistic Regression (or Maximum Entropy, as it is known by this name in NLP community).   The formulation of Logistic Regression is said to be  $ p(y|x) = \frac{1}{Z(X)}exp \{ \lambda_y + \sum_{j=1}^{K}\lambda_{y,j}x_{j}\} $.  On the other hand, on the Wikipedia  for logistic regression, the formulation is  $ f(t) = \frac{1}{1+e^{-t}} $  and the classifier's formulation is the explanation of this formulation which is derived from Logistic Function.  My question is, first, how Logistic Regression and Maximum Entropy Classifier are related to each other and are identical?   Second, the CRF tutorial says Logistic Regression (or Maximum Entropy Classifier) is simple CRF model, how? What is the physical meaning of commutators in quantum mechanics? This is a question I've been asked several times by students and I tend to have a hard time phrasing it in terms they can understand. This is a natural question to ask and it is not usually well covered in textbooks, so I would like to know of various perspectives and explanations that I can use when teaching.  The question comes up naturally in what is usually students' second course in quantum physics / quantum mechanics. At that stage one is fairly comfortable with the concept of wavefunctions and with the Schrödinger equation, and has had some limited exposure to operators. One common case, for example, is to explain that some operators commute and that this means the corresponding observables are 'compatible' and that there exists a mutual eigenbasis; the commutation relation is usually expressed as $[A,B]=0$ but no more is said about that object.  This naturally leaves students wondering     what is, exactly, the physical significance of the object $[A,B]$ itself?   and this is not an easy question. I would like answers to address this directly, ideally at a variety of levels of abstraction and required background. Note also that I'm much more interested in the object $[A,B]$ itself than what the consequences and interpretations are when it is zero, as those are far easier and explored in much more depth in most resources.    One reason this is a hard question (and that commutators are such confusing objects for students) is that they serve a variety of purposes, with only thin connecting threads between them (at least as seen from the bottom-up perspective).   Commutation relations are usually expressed in the form $[A,B]=0$ even though, a priori, there appears to be little motivation for the introduction of such terminology. A lot of stock is placed behind the canonical commutation relation $[x,p]=i \hbar$, though it is not always clear what it means.  (In my view, the fundamental principle that this encodes is essentially de Broglie's relation $\lambda=h/p$; this is made rigorous by the  but that's quite a bit to expect a student to grasp at a first go.) From this there is a natural extension to the Heisenberg Uncertainty Principle, which in its general form includes a commutator (and an anticommutator, to make things worse). Canonically-conjugate pairs of observables are often introduced, and this is often aided by observations on commutators. (On the other hand, the energy-time and angle-angular momentum conjugacy relations cannot be expressed in terms of commutators, making things even fuzzier.) Commutators are used very frequently, for example, when studying the angular momentum algebra of quantum mechanics. It is clear they play a big role in encoding symmetries in quantum mechanics but it is hardly made clear how and why, and particularly why the combination $AB-BA$ should be important for symmetry considerations.  This becomes even more important in more rigorous treatments of quantum mechanics, where the specifics of the Hilbert space become less important and the algebra of observable operators takes centre stage. The commutator is the central operation of that algebra, but again it's not very clear why that combination should be special. An analogy is occasionally made to the Poisson brackets of hamiltonian mechanics, but this hardly helps - Poisson brackets are equally mysterious. This also ties the commutator in with time evolution, both on the classical side and via the Heisenberg equation of motion.   I can't think of any more at the moment but they are a huge number of opposing directions which can make everything very confusing, and there is rarely a uniting thread. So: what are commutators, exactly, and why are they so important? On September 29th, I created the  tag for  Today, while checking the tag description, I saw that the  seems to be .  Why is that? Why has the Community user "stolen" the spot as author of the tag? Do I need a Japanese transit visa when arriving at Narita and departing from Haneda? I'm arriving from New Delhi, India (Indian passport) with JAL at Narita on 11th July at 07:30 and departing for San Francisco with JAL at 00:05 on 12th July from Haneda. Do I need a transit visa as I'll be switching airports and spending a few hours at JAL City Haneda Airport Hotel?  Previously I had connecting flights from Narita to San Francisco and obtained shore passes to relax at Narita Nikko Hotel. Now I'm travelling with my elderly Mom and do not want complications at Narita immigration or later in the day while going from Narita Airport to Haneda airport. Please advise. I have a command that I want to have run again automatically each time it terminates, so I ran something like this:  while [ 1 ]; do COMMAND; done;   but if I can't stop the loop with Ctrl-c as that just kills COMMAND and not the entire loop.  How would I achieve something similar but which I can stop without having to close the terminal? Aliens like giant grasshoppers invade earth, give black people power over whites With 5 images I have to create a video of 60 seconds in ffmpeg, each image has to display for 15 seconds. after  15 seconds, first image has to fade out and 2nd image has to fade in, after that 2nd image has to fade out, 3rd image has to fade in..etc. Please guide me how can I achieve this using ffmpeg commands. Understanding QGIS buffer tool units Avoiding if statement inside a for loop? How can I show or hide boot messages when Ubuntu starts? Extract date from a variable in a different format Let me explain you the problem   $ date +%c -d "$d" Tue 31 Dec 2013 01:13:06 PM CET $ date +'Today is %F' -d "$d" Today is 2013-12-31   This solution corresponds to current date.  But I have one variable which stores date other than current date  $Prev_date="Wed Dec 25 06:35:02 EST 2013"    I am looking for solution to read this date as 2013-12-25 and store it in a variable.  I have tried this:  a=`date --date=$Prev_date '+%y/%m/d'` echo $a   It's giving this error:  date: illegal option -- date=Wed usage: date [-u] mmddHHMM[[cc]yy][.SS] date [-u] [+format] date -a [-]sss[.fff] I recently ran across elliptic curve crypto-systems:    (Brown University)  (Wikipedia)  (IEEE)  (RSA.com)   It seemed to me to be great alternative to RSA as the de-facto cryptosystems to be used in banking and financial systems and in the public key infrastructure for certificates, but is not used! If someone can explain why this is not done, it would be very helpful. A comparison between traditional RSA and an elliptic curve cryptology would be helpful.  To begin with:  Advantage of RSA:   Well established.   Advantages of elliptic curve:   Shorter keys are as strong as long key for RSA (see the IEEE paper) Low on CPU consumption. Low on memory usage. Vito and Luca question Weird display on screen before swipe lock Samsung Galaxy s6 edge plus How can I enable multiple users login at a time in remote system? Recently we bought dedicated server with Windows Server 2012 Standard.It's allowing 2 people at a time.So I want to allow more people at a time.  How can I do this? Delete all files except files with the extension pdf in a directory I have a directory that contains the following:  x.pdf y.zip z.mp3 a.pdf   I want to delete all files apart from x.pdf and a.pdf. How do I do this from the terminal? There are no subdirectories so no need for any recursion. Give an example of a relation R on $A^2$ which is reflexive, symmetric, and not transitive How to Straighten Curved UVs into Straight Belt Will I get OTA updates after installing Android L Developer preview? When I tried to connect my Ubuntu 13.10 to my VM Centos 6.5 using ssh appear the message "Connection refused" or "No route to host" even than I change the port, noting change.    I need to use SSH, VPN and Samba, but this IP in my VM Centos do not work.  How Can I resolve this problem?