How to change browser url without page refreshing
Change the URL in the browser without loading the new page using JavaScript
There is a statement that maximizing the likelihood is equivalent to minimizing the cross-entropy.  Are there any proof for this statement? 'setenv' command not working on tcsh shell when called explicitly I can run setenv command just fine in my tcsh shell like this:  echo $0 /usr/bin/tcsh echo $SHELL /usr/bin/tcsh setenv START_TIME `date +%s` echo $START_TIME 1499355967   But, whenever I run it explicitly like shown below, it doesn't work. I need to do this because I have to specify shell when executing it via python subprocess call, otherwise it will call a sh shell as default.  /usr/bin/tcsh -i -f -c 'setenv START_TIME `date +%s`' echo $START_TIME START_TIME: Undefined variable.   What's the problem here? I searched for this issue online, but couldn't find any issue similar to this. This is extremely frustrating. When using the \cite command in figure captions and the ieeetr bibliography style, then  BibTeX numbers the citations as appearing earlier than they do in reality (i.e. the first citation in the document ends up being [42]).  Is there any way to get BibTeX to ignore the \listoffigures section when numbering? I can work. I could work. I will work. I would work. I shall work. I should work. Irrationality of sum of two logarithms: $\log_2 5 +\log_3 5$ I try to prove that the number $$\log_2 5 +\log_3 5$$ is irrational. But I have no idea how to do it. Any hints are welcome. Boolean variable returns as string from javascript function What are the fundamentals of implementing hook_menu()?  I would like to see the basics covered in a single question, to avoid having to answer the same similar but different questions over and over. Yesterday, Asaf Karagila's  sparked an extensive discussion on ways of proving that all countable ordinals are embeddable in $\Bbb Q$, and whether particular solutions to this use the Axiom of Choice.  Since the arguments used to prove this can be shady on their use of Choice when formulated tersely, fully fleshed out answers are appreciated.  To be concrete, this question asks for proofs of the following fact:     All countable ordinals $\alpha &lt; \omega_1$ are order-embeddable in the rationals $\Bbb Q$.   Especially answers avoiding the Axiom of Choice are appreciated.    Of relevance and related interest is  (but it's not a duplicate, since that question asks for explicit embeddings). Sometimes, when fighting an enemy, your character will do a special move, with a third person view animation, instantly killing the enemy. But these types of moves seem to be random, sometimes being used on enemies with nearly full health, other times not having a finishing move at all during a whole fight.  What are the parameters determining when a finishing move is used? In English, especially in a poetic description, ships and cars are  referred to as "she".   Maybe their owners compare their beauty and elegance with those of women, but what if a female owner wanted to describe her yacht or car?   Would she also say, "She is a real beauty", or it might be "he" then?   Does the choice of a pronoun depend on whom she is giving the description of it to — a man or a woman?  What about a man-o’-war or a merchantman? Being ships, are they also referred as "she"?  P.S.  on the use of "she" in reference to ships, but there seems to be no answer to my question there.  P.P.S. My question wasn't pulled out of a thin air. I came across a book by a prominent Russian linguist, G.Veichman, written in 1990, (Novelties in The English Grammar is my translation of the title), where I read that the rule of personification of vehicles may be added regarding a female owner talking about her car using the preposition "he". Period. No further explanation or reference examples. I've found a strange thing: some Stack Exchange sites have their own domain names instead of https://[site name].stackexchange.com. The websites which have their own domain names are:          Are there any parameters for allocating specific URLs to Stack Exchange sites? Disable sleep on laptop lid close in tty1 I'm using Ubuntu Desktop 15.10 on a laptop and it runs an Apache server with SSH as well. When using a GUI, I have the power options set to not sleep at all even when the laptop lid is closed, but recently I stopped the X-System and am now using TTY1 instead to save resources. However, in TTY1, if I close the laptop lid, the computer goes to sleep and prevents the SSH and Apache server from working. Any way to prevent this easily? The realistic answer I bet is to use Ubuntu Server instead (unless I'm mistaken and Ubuntu Server will also sleep on lid close) but I don't exactly want to switch yet unless there's an easy way to switch to it like you can switch from ubuntu-desktop to lubuntu-desktop? Any advice is welcome to prevent the computer from sleeping I am stuck with the proof of below expression;  "If F is an infinite field, then no infinite subgroup of F* (the multiplicative group of F) is cyclic."  anyone can help? How to check if a process is running via a batch script Showing that $\int\limits_{-a}^a \frac{f(x)}{1+e^{x}} \mathrm dx = \int\limits_0^a f(x) \mathrm dx$, when $f$ is even Motivation for Ramanujan's mysterious $\pi$ formula The following formula for $\pi$ was discovered by Ramanujan: $$\frac1{\pi} = \frac{2\sqrt{2}}{9801} \sum_{k=0}^\infty \frac{(4k)!(1103+26390k)}{(k!)^4 396^{4k}}\!$$   Does anyone know how it works, or what the motivation for it is? A quick search for currency regex brings up . The problem I have in choosing one is that regex is difficult to verify without testing all the edge cases. Does anyone have a regex for U.S. currency that has been thoroughly tested? My only requirement is that the matched string is U.S. currency and parses to System.Decimal:  [ws][sign][digits,]digits[.fractional-digits][ws]   Elements in square brackets ([ and ]) are optional.  The following table describes each element.   ELEMENT             DESCRIPTION ws                  Optional white space. sign                An optional sign. digits              A sequence of digits ranging from 0 to 9. ,                   A culture-specific thousands separator symbol. .                   A culture-specific decimal point symbol. fractional-digits   A sequence of digits ranging from 0 to 9. If we remove the square in the upper right corner of a $8\times 8$ chessboard.  The question is: Is it possible to cover the entire remaining area, with $1\times 3$ chocolate bars? (they can be laid on the chessboard vertically and horizontally aswell)  For the answer: We know that there will be $63$ squares left on the chessboard, of which $32$ are white and $31$ are black, since the one in the upper right corner was black. $63$ is divisible by $3$, so it could be possible to cover the area, but that doesn't prove that an arrangement exists to do it. I'm not sure how to continue and am seeking help. Thanks. I am a new user of Ubuntu 12.04.   I installed Ubuntu and Windows XP, and I want to use both operating systems. When I restart or boot my PC the GRUB menu does not appear.  How can I solve this problem? Book wherein humans were most dangerous/aggressive of numerous species