express authentication middleware failing to redirect correctly after a PUT request
Express js - can't redirect
Charm Person has verbal and somatic components.  Is there anything in the rules as written that defines how obvious those verbal and somatic components are?  Would it be obvious the caster was casting a spell from 5 feet away?  From across a crowded room?  I'm specifically interested in an answer based on the rules as written, although interpretation and individual opinion are not unwelcome. There is a question I have based on the fact: If you take a quadratic polynomial with integer coefficients, take the set $\{1,2,3,4,5,6,7,8\}$, make a partition $A=\{1,4,6,7\}$, $B=\{2,3,5,8\}$, and then evaluate the polynomial with the elements of each set you got an equality.  If now with a cubic polynomial and the set $\{1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16\}$, how to pick a suitable partition that accomplish the same fact? I mean is there a general formula for bigger degree? Are there any countable Hausdorff connected spaces? Do countable Hausdorff connected topological spaces exist? I made my first sculpt model and I used a mirror modifier. But then I applied the mirror modifier, because I got a strange edge on the mirror line in sculpt mode. Now I modeled it, but it still mirrors the model, what in the beginning was good, but sometime I want to do asymmetrical things.  What did I wrong? Many thanks for your help!! Happy modeling :D Can I store the .git folder outside the files I want tracked? I have an unusual idea to use git as a backup system. So let's say I have a directory ./backup/myfiles and I want to back that up using git. To keep things clean I don't want to have a .git directory in the myfiles folder, so I thought I could create ./backup/git_repos/myfiles. From looking at the git docs, I've tried doing this:  $ cd backup/myfiles $ mkdir ../git_repos/myfiles $ git --git-dir=../git_repos/myfiles init Initialized empty Git repository in backup/git_repos/myfiles/ $ git --git-dir="../git_repos/myfiles/" add foo fatal: pathspec 'foo' did not match any files   You can see the error message I get there. What am I doing wrong? I've been wondering about this one for a while; I find it a little weird how abruptly it happens. Basically, why do we need just three uniforms for $Z_n$ to smooth out like it does? And why does the smoothing-out happen so relatively quickly?  $Z_2$:     $Z_3$:    (images shamelessly stolen from John D. Cook's blog: )  Why doesn't it take, say, four uniforms? Or five? Or...? In normal line integration, from what I understand, you are measuring the area underneath $f(x,y)$ along a curve in the $x\text{-}y$ plane from point $a$ to point $b$.  But what is being measured with complex line integration, when you go from a point $z_1$ to a point $z_2$ in the complex plane?  With regular line integration I can see $f(x,y)$ maps $(x,y)$ to a point on the $z$ axis directly above above/below $(x,y)$.  But in the complex case, when you map from the domain $Z$ to the image $W$, you are mapping from $\mathbb{R^2}$ to $\mathbb{R^2}$ ...it is not mapping a point to 'directly above/below'...so I don't have any intuition of what is happening with complex line integration. Finding all homomorphisms between $\mathbb{Z}/m\mathbb{Z}$ and $\mathbb{Z}/n\mathbb{Z}$ I want to find all group homomorphisms $\varphi: \mathbb{Z}/ m \mathbb{Z} \to \mathbb{Z}/n\mathbb{Z}$, with $m$ and $n$ natural numbers.  Clearly $\varphi(0)=0$ since the identity in $\mathbb{Z}/m\mathbb{Z}$ must map to the identity in $\mathbb{Z}/n\mathbb{Z}$, and it follows that $m \varphi(1)=0$, so is $mx \equiv 0 \bmod n$?  This as far as I get. How can I find all the homomorphisms? Cardinality of the Cartesian Product of Two Equinumerous Infinite Sets Is the cardinality of the Cartesian product of two equinumerous infinite sets the same as the cardinality of any one of the sets? I couldn't find this explicitly stated in any handout or text. This certainly seems to be true from the examples I have seen:  The Cartesian product of two infinitely countable sets is again infinitely countable. The Cartesian product of two sets with cardinality of continuum again has cardinality of continuum. How does the propagation of gravity work for photons? Can someone suggest a way to compare the values of two dates greater than, less than, and not in the past using JavaScript? The values will be coming from text boxes. What's the difference between terms 'link function' and 'canonical link function'? Also, are there any (theoretical) advantages of using one over the other?  For example, a binary response variable can be modeled using many link functions such as logit, probit, etc. But, logit here is considered the "canonical" link function. New to the cloud so pardon this question as I'm certain it's relatively simple!  I've setup my Google Cloud Instance and I'm now trying to connect to it using FileZilla. I have a good understanding of how to do this... but I've been completely unable to download my .ppk file, public key, and private keys. The documentation clearly gives the folder that the files are located in.... but I'm unable to navigate to these folders (it's as if they don't exist) furthermore I'm not really sure how to download something to my computer through the SSH terminal.  Also somewhat infuriating is that I've found the keys in the web portal on Google Cloud however there is no option to download them. I can only view them in clear text.  Any help would be greatly appreciated! Which browsers are officially supported by Stack Exchange?  Also, what else is needed in order to use every feature of the site? Boolean variable returns as string from javascript function I am looking to use this feature for two purposes: scanning books (one camera pointed at each of a pair of pages), and for stereo 3D photography.  I would like to be able to preview and capture photos from two cameras simultaneously, and download them to my Mac (recent laptop, Mac OS X 10.8.x). Being able to keep track of which photos were from which camera is also a must.  I see a couple of packages that will do this via USB tethering on Windows, namely  (which other than being on Windows, looks perfect for my needs) and . I certainly could run Windows on my Mac somehow, but I'd rather avoid that, if possible.  I haven't bought the cameras yet, and I do not have any requirements as to which cameras are supported (it seems the packages above only support Canons), other than that they be relatively inexpensive. This is a hobby-type project, not a $3000 dSLR-type project.  However, even if all you have is a dSLR solution for this problem, I'd still like to hear about it. Perhaps it will lead to related solution.  Inventive hacky solutions welcome! The AC adapter supplied with my laptop is designed to accept voltage in the range of 100-240VAC at 50-60Hz, but the AC cable that plugs into the adapter unit itself is only rated to 125VAC 7.5A 2.5A.  I know the adapter can accept 220V power, but is it safe to use this cable with the AC adapter to plug into a 220V socket?  Edit: The part in question is a 90W HP Smart AC Adapter.  The laptop does not cause the AC adapter to draw more than about 80 watts from the socket (as measured with a Kill A Watt meter).  Edit 2: The amperage rating of the cable as marked on the attached label is 2.5A, not 7.5A. How are java.lang.Object's protected methods protected from subclasses? The keyword protected grants access to classes in the same package and subclasses ().  Now, every class has java.lang.Object as superclass ().  Hence I conclude that every class may access java.lang.Object's methods even if they are protected.  Take a look at the following example:   public class Testclass {   public Object getOne() throws CloneNotSupportedException {     return this.clone();   }   public Object getTwo() throws CloneNotSupportedException {     return ((Object) this).clone();   } }   While getOne() compiles fine, getTwo() gives   Testclass.java:6: clone() has protected access in java.lang.Object         return ((Object) this).clone();   I neither understand why getTwo() doesn't compile nor what's the difference (regarding the access of java.lang.Objects members) with getOne(). I am a physics Master's student.  I have good grades, with CGPA above 9(/10)(However, all courses in my university are graded on a curve so the actual marks are significantly lower than 90%). This has been my marks throughout my undergraduate and graduate courses and I was happy because this was above average. Also, my summer projects in UG were usually computational and any difficulty I had in theoretical aspects I attributed it to my inexperience in advanced Physics.   However, recently I have started to work on pure theoretical project and while reading for the project I realized that I consistently miss some details from each topic. I understand the general idea, can re-derive most of the equations(with some effort) however when I discuss things with my professor or when I read further topics I realize that I have missed certain key-details. This is exactly similar to the case of me missing a few key questions in my exams and getting that 9 grade point instead of 10(or at-least I think so). I was not worried about this before but now I realize that there is some flaw in the way I study (but I do not know what).   Since I want to apply for Physics PhD I realized that I will need to have solid concepts and it would be best to correct my mistakes but I do not know how or even what could be the reason for my imperfect understanding.  Any direct suggestion would help or even certain general guidelines on what I can do.    Things I've tried recently -   1) I've started to written down almost everything I read. This is slightly laborious but is certainly helping. It also helps me to gloss over the things I read previously when I come back the next day.  2) I completely avoid smartphone when I'm library/study room so that I won't get distracted. Not sure if it helps me solve the above problem but certainly helps me study better in general.  3) I've tried to read the topics from several sources. The books I am reading is somewhat like a collection of research papers and hence does not have a exercises. So I though reading from various sources might help get better ideas but it's not really helping because most other sources are too high level as an introductory text. But this will probably help me in cases where it's practical to do this.  4) Somewhat similar to point (1)- I am trying reread, whenever I can, what I've done until that point. But not sure how much this will help me in filling the gaps. The coupon collectors problem