Block domain pointing to my website
Redirect, Change URLs or Redirect HTTP to HTTPS in Apache - Everything You Ever Wanted to Know About mod_rewrite Rules but Were Afraid to Ask
I have a .net client application which is connected to a remote database. Is it safe to keep a single connection open for the lifetime of the client (hours)? Does the answer hold if I have multiple (10 or 100) clients running? How to define a Bijection between $(A^B)^C$ and $A^{B \times C}$ $n!+1$ being a perfect square Lately it's happening to me this:  After completing one or more "First Posts" reviews, I go back to the Review Section main page:   And the post counter shows that there are still posts to review. I click the link to review them, but there is nothing.  Refreshing the page doesn't solve the issue: it shows the wrong number again. When should a supervisor be an author? Proof: Every convergent sequence of real numbers is bounded Show that both mixed partial derivatives exist at the origin but are not equal $$f(x,y) = \begin{cases} \displaystyle \frac{xy(x^2-y^2)}{x^2+y^2} &amp; \text{if } (x,y) \neq (0,0), \\ 0 &amp; \text{if } (x,y) = (0,0). \end{cases}$$ I tried finding both mixed partial derivatives but they ended up being the same for that function. I must be failing to take into account something dealing with the fact that it is piece-wise. I still need to show the mixed partial derivatives exist. How can I do all of this? Can I upload an entire folder using FTP? I need to upload a full folder using FTP.  Is there is any option for transferring a folder and all of its contents at once? A script on AIX which checks the number of parameters passed and complains if they are not correct:-  if [ "$#" -ge 1 ]; then   ... else   echo 'Usage: myscript &lt;a&gt; [b] [c]' fi   The script sets some environment variables so it is sourced. By that I mean I type the following on my command line. There is no second script, I am not sourcing a script from within another script.  . ./myscript.sh   If I pass it no parameters, I expect it to print out the usage statement but instead it runs using the parameters passed to the previous command that was sourced (not necessarily even this script!).  To double check this I added this line at the beginning of my script to prove that this was the case.  echo $# $@   If I pass it no parameters, it prints out the number and the list of parameters from a previously sourced script.  How do I get it to say $# is zero when I pass it zero parameters and source it?  The smallest possible recreate is a script thus:-  myscript.sh  echo $# $@   and then run it thus:-  . ./myscript.sh a b c   which prints out  3 a b c   then run it again without any parameters thus:-  . ./myscript.sh   which prints out the same  3 a b c   when you would expect it to print out  0   If you don't source the script and just run it thus:-  ./myscript.sh   then it works as expected and prints out  0   I hope that clarifies the issue at hand.  Since I seem to be getting lots of answers to explain why the above doesn't work and no answers to tell me what I should do instead, I thought I would have one more attempt at trying to explain what I am trying to do.  Requirement  I need to write a script that expects at least one parameter and complains if it is not invoked with a said parameter (see the first block of code in my question above), and this script needs to set some environment variables. Because of this second requirement I have assumed that I need to source the script so that the environment variables are still set when the script completes. How can you write a script that can tell when it has not been passed parameters that is also able to set an environment variable? As many people already know, there are several ways to trigger Windows 7 Aero Snap feature. A user can either press Win+{Left,Right,Up,Down} to snap the window to the left or right or maximize or restore. One can also drag the title bar to all the corner except bottom one.  However, is there any keyboard or mouse shortcut to place one window on top half the screen, and another window on bottom half the screen? Please do not tell me to use "Show Windows Stacked" because if I have more than two windows, it will place ALL the windows horizontally, which is not what I want. I want to be able to select the window I want and place it automatically either on top or bottom half the screen.  Thanks!  Edit: Thanks for Moab's suggestion, both on recommend WinSplit and updating my question.  I should make it more clear that I'm looking for a software that will do the functions WinSplit provided, but with on screen input, such as touch screen or pen. Schengen visa refusal on threat to public policy, security, health Making Change for a Dollar (and other number partitioning problems) I was trying to solve a problem similar to the "how many ways are there to make change for a dollar" problem.  I ran across a  that said I could use a generating function similar to the one quoted below:     The answer to our problem (293) is the   coefficient of $x^{100}$ in the reciprocal   of the following:      $(1-x)(1-x^5)(1-x^{10})(1-x^{25})(1-x^{50})(1-x^{100})$   But I must be missing something, as I can't figure out how they get from that to $293$. Any help on this would be appreciated. I want to add this iostat command to my .bashrc and create an alias for it: iostat -xk 2 $(findmnt -T ~ | awk 'END {print $2}')  I'm adding this to my .bashrc: alias ios='iostat -xk 2 $(findmnt -T ~ | awk 'END {print $2}')'  Unfortunately, it doesn't work. If I run the above iostat command in a terminal it works, but when I run the ios alias it no longer works. And yes, I restart my shell every time. One of the topics that seems to come up regularly on mailing lists and online discussions is the merits (or lack thereof) of doing a Computer Science Degree. An argument that seems to come up time and again for the negative party is that they have been coding for some number of years and they have never used recursion.  So the question is:   What is recursion? When would I use recursion? Why don't people use recursion? Is there any way to specify a suggested filename when using data: URI? If for example you follow the link:  data:application/octet-stream;base64,SGVsbG8=  The browser will prompt you to download a file consisting of the data held as base64 in the hyperlink itself.  Is there any way of suggesting a default name in the markup?  If not, is there a JavaScript solution? How to compute   $$\prod^{\infty}_{n=2} \frac{n^3-1}{n^3+1}\ ?$$   My Working :   $$\prod^{\infty}_{n=2} \frac{n^3-1}{n^3+1}= 1 - \prod^{\infty}_{n=2}\frac{2}{n^3+1} =  1-0 = 1$$  Is it correct Is every discrete absolute value non-archimedean? I've been reading Milne's notes on absolute values and local fields (Chapter 7 of the book on algebraic number theory), and a possibly minor point is confusing me.   On page 126, Milne writes, "$K$ is a field complete with respect to a discrete absolute value $|\cdot|$..." and then he talks about things that only make sense for non-archimedean absolute values, like the ring of integers and its maximal ideal.   Is every discrete absolute value on a field $K$ also non-archimedean? This would explain a lot, but I also suspect that it is not true, because I can't find any statement of this fact anywhere.  EDIT: An absolute value is discrete if the value group $|K^\times|$ is a discrete subgroup of the multiplicative group $\mathbb{R}_{&gt;0}$. An absolute value is non-archimedean if it satisfies the stronger triangle inequality $$ |x+y| \le \max (|x|,|y|) $$ or equivalently if the set $\{|1|,|1+1|,|1+1+1|,\ldots\}$ is a bounded subset of $\mathbb{R}$. What exactly is a distribution? I know very little of Probability and Statistics, and am wishing to learn.  I see the word "distribution" used all over the place in different contexts.  For example, a discrete random variable has a "probability distribution."  I know what this is. A continuous random variable has a probability density function, then for $x\in\mathbb{R}$, the integral from $-\infty$ to $x$ of the probability density function is the cumulative distribution function evaluated at $x$.   And apparently just "distribution function" is synonymous with "cumulative distribution function," at least when talking about continuous random variables (question: are they always synonyms?).  Then there are many famous distributions.  $\Gamma$ distribution $\chi^2$ distribution, etc.  But what exactly is a $\Gamma$ distribution?  Is it the cumulative distribution function of a $\Gamma$ random variable?  Or the probability density function of a $\Gamma$ random variable?  But then a frequency distribution of a finite data set appears to be a histogram.  Long story short: in Probability and Statistics, what is the definition of the word "distribution"?    I know the definition of distribution in Mathematics (an element of the dual space of the collection of test functions equipped with the inductive limit topology), but not Probability and Statistics. Is there a way to access wifi in Zurich airport without a phone service? I am traveling through Zurich and have a phone without any roaming there; I'm planning on picking up a SIM once I get to my final destination. Last time I was there, I couldn't access the airport wifi because it required a code sent via SMS.    In the event I need to contact someone or coordinate about flight delays, is there some alternate way to get wifi access? Is there a way in javascript to detect if the unload event is caused via a refresh, the back button, or closing the browser?