I am working on an application, where i would like the user to first register and than log in to the application.   Can i make the user perform both actions from a single form i.e. as soon as he registers he may be logged in or go for separate forms for both the actions
I have notice some sites have the same form for login, register and forgotten password.  Below the form you have 3 buttons    i forgot my password register log me in   What are the pros and cons on using this approach and which version would you go for.
Where does the word "torsion" in algebra come from? Torsion is used to refer to elements of finite order under some binary operation. It doesn't seem to bear any relation to the ordinary everyday use of the word or with its use in differential geometry (which relates back to the ordinary use of the word). So how did it acquire this usage in algebra?  I'm interested to understand the intuition behind why the word "torsion" was chosen for this notion, as well as when it was first used. Merge around a face So, I'm working on a control station that has buttons. It is a one-mesh creation, that means, I don't want to create buttons and things like that separated from the main mesh, but as you can see, I have problems. I would like to make the highlighted parts to be one with the main part around them. I've tried everything, and I have this problem on multiple creations. Any idea?  Update: I've added another example of the problem. I want them to be one face, instead of two. (2nd picture) Let $\alpha, \beta \in \mathbb{C}$, such that $\alpha + \beta$, and $\alpha\beta$ are algebraic. Show that $\alpha$ and $\beta$ are algebraic. Let $\alpha, \beta \in \mathbb{C}$,  such that $\alpha + \beta$, and $\alpha\beta$ are algebraic. Show that $\alpha$ and $\beta$ are algebraic.   attempt: Suppose $\alpha, \beta \in \mathbb{C}$ such that $\alpha + \beta$, and $\alpha\beta$ are algebraic.  Let $\alpha + \beta$, $\alpha\beta$ are algebraic be algebraic over $F$. And let $\alpha, \beta \in K$, where $K$ is an extension of $F$.  then $\alpha + \beta $ and $\alpha\beta$ lie in the extension $K = F(\alpha,\beta)$, which is finite over $F$.  so $[F(\alpha, \beta) : F] = [F(\alpha, \beta): F(\alpha + \beta, \alpha\beta)][F(\alpha + \beta, \alpha\beta) : F] \leq 2[F(\alpha + \beta, \alpha \beta) : F] $, since $\alpha + \beta$ and $\alpha \beta$ are roots .   So $[F(\alpha + \beta) : F]$ is finite and in the extension $F(\alpha,\beta)/F$ the elements must be algebraic over $F$, then $\alpha , \beta$ are algebraic.  Can someone please verify this? Or help me give a better approach. Thank you! I'm wondering what the preferred method is for dealing with AJAX calls. Should one use the same plugin php file to process the POST or a separate one? Which is cleaner or safer? The gravitational force on your body, called your weight, pushes you down onto the floor. $$W=mg$$ So, what is the weight equation through general relativity? Interpreting the 'metric' column in routing table I'm a little confused about the output I'm seeing in my routing table, particularly the 'metric' column:  $ route -n Kernel IP routing table Destination     Gateway         Genmask         Flags Metric Ref    Use Iface 0.0.0.0         192.168.0.1     0.0.0.0         UG    0      0        0 wlan0 172.16.35.0     0.0.0.0         255.255.255.0   U     0      0        0 vmnet1 192.168.0.0     0.0.0.0         255.255.255.0   U     9      0        0 wlan0 192.168.82.0    0.0.0.0         255.255.255.0   U     0      0        0 vmnet8   According to the man page, metric indicates the 'distance' to the target. I was a little confused about what exactly "target" was. I assumed it was my router (it goes to gateway 0.0.0.0, which then goes to my router at 192.168.0.1). Thus, I expected the metric to be a single hop to my router. However, it's 9! Why is this so number high? How do I effectively defeat the Wall of Flesh? I've read the , and I don't get it. I am really interested, but I've read the explanation there a couple of times and I still don't get it how the Duff's device works.  What would a more detailed explanation be? What is actually the characteristic length in fluid dynamics description? In many fluid-dynamics models and quantities (, ... generally various  descriptions) there is a parameter (usually $L$ or $\ell$) descripted as characteristic linear dimension or characteristic length. What is that in intuitive and physical meaning? I understand the typical examples ( etc.) but I can't see so far any systematic generalisation.  What is the definition? (Or, maybe: What is its role during the derivation?) How come $32.5 = 31.5$? (The "Missing Square" puzzle.) Is normal extension of normal extension always normal? Modify a class definition's annotation string parameter at runtime Whats this white stuff on my board? Postgres : Relation does not exist error Replace links with the current question title in comments In questions, links get converted into question titles (see )  Can the same functionality be added to comments? Run Script on Wakeup? What is $1^k+2^k+\cdots+ (p-1)^k$ modulo $p$? (From Ireland and Rosen). valueOf() vs. toString() in Javascript The Android OS monitors the power consumption of running apps and hardware (display). As you may guess, this is a useful feature as it allows to track down energy greedy apps.  Is there an application that would do such monitoring on Mac OS?  It should calculate the percentages of the charge that an application/process/hardware has used.  I use plenty of little software that runs in the background permanently. It would be nice to know if such little helpers drain the battery significantly. Given this XML, what XPath returns all elements whose prop attribute contains Foo (the first three nodes):  &lt;bla&gt;  &lt;a prop="Foo1"/&gt;  &lt;a prop="Foo2"/&gt;  &lt;a prop="3Foo"/&gt;  &lt;a prop="Bar"/&gt; &lt;/bla&gt;