automatically refresh page when someone makes changes
How do I implement basic "Long Polling"?
I have a quite wide monitor and it's quite annoying to see the login dialog in the login screen on the far left side of my screen. I literally have to turn my head around to look at it!  Is there a way to center the login dialog? Use #ifdefs and #define to optionally turn a function call into a comment Is it possible to do something like this  #ifdef SOMETHING #define foo // #else #define foo MyFunction #endif   The idea is that if SOMETHING is defined, then calls to foo(...) become comments (or something that doesn't get evaluated or compiled), otherwise it becomes a call to MyFunction.  I've seen __noop used, but I don't believe I can use that.  EDIT(s):  I don't think I can really use a macro here, because MyFunction takes a variable number of arguments.  Also, I'd like to make it so the arguments are NOT evaluated!  (So doing something like commenting out the body of MyFunction doesn't really give me what I need, as the arguments will still be evaluated) What is the difference between "I have a doubt with ...." & "I suspect there is a problem"? Query Feature and Usage based entitlements license I need to query programmatically the Feature license and usage-based license which is available in UI. Could someone please highlight if we can query the same or is it available in UI only, Thanks. Why do "df" and "du" commands show different disk usage? I cannot access ubuntu system on my pc, the error message: "the system is running in low graphics mode" and I tried some commands I searched from internet.   I found out a problems seems there is no available disk space. I used "df" and "du" commands to check, the results are as follow:  du -j --max-depth=1 23G  ./home 3.3G ./usr  ......  28G   and  df -Th  filesystem   Type   size    used   available   use%    mounted on  /dev/sda5    ext4   68G     68G    0           100%    /   how would I clean up the system for more disk space? UK visit visa: What documents prove genuine relationship with the visitor? How to generate a chirped signal Can Windows 7 be repaired to run with new motherboard? I have HP computer and it came with Windows Vista. It also had an option to upgrade to Windows 7 via upgrade disc. I have upgraded to Windows 7 via the special upgrade disc (It is special because it will only allow to install Windows 7 if Vista is already installed.  My motherboard recently died. I just replaced it and Windows 7 will not start up. It reboots and sometimes gives a blue screen of death. Very similar problem as described in this post: . Windows will not boot into normal or safe mode. Start up repair from system repair disc does not fix the problem. However, "" post on superuser describes that it should be possible to run Windows 7 on a new motherboard.  Is it hopeless to find a way to repair Windows 7 and I need to do a clean install? Is there a difference for repair options between OEM and retail versions of Windows 7? I remember doing this type of repair just fine in Windows XP days, so why am I unable to do so with Windows 7 - is it Microsoft or HP's fault? Should I stop buying HP computers or should I switch to Ubuntu? Explain travel times and distances on flight A flight from Los Angeles to ABQ is about 2 hours but is ~670.2 miles  A flight from San Jose to Chicago is 4 hours but is ~1859.0 miles  Can anyone explain why the travel time from San Jose to Chicago is not longer and closer to 5.75 hours?  If the distance increase by 2, shouldn't the time increase by a factor of 2 as well? Prove there is an increasing sequence ($s_n$) of points in $S$ such that $\lim s_n = \sup S$. Let $S$ be a bounded set. Prove there is an increasing sequence ($s_n$) of points in $S$ such that $\lim s_n = \sup S$. Note: If $\sup S$ is in $S$, it’s sufficient to define $s_n = \sup S$ for all $n$.  What I have tried so far:  Let $M=\sup S, L = \lim\, s_n,\,|s_n-L|&lt;\epsilon/2$, then $M-\epsilon &lt; L- \epsilon/2 &lt; s_n &lt; M &lt; M+\epsilon$. But I get this based on $M &lt;= \epsilon+L$, because $\epsilon+L$ is an upper bound for $s_n$.   However, as $s_n$ are just points in $S$, so I don't know if it's sufficient to say $M$, which is the $\sup$ of $S$, is smaller than $L+\epsilon$. Suppose $f$ is entire and    $$\iint_\mathbb{C}|f(z)|^2dxdy &lt; \infty$$Prove that $f\equiv 0.$   So far I have:  Suppose $f$ is bounded.  Then $f$ is constant by virtue of Liouville and so the conclusion is obvious.  Thus, assume $f$ non-bounded.  Then  $$\Big|\iint_\mathbb{C}f^2(z)dA\Big| \leq \iint_\mathbb{C}|f(z)|^2dxdy &lt; \infty$$ We can parameterize \begin{align*} \iint_\mathbb{C}f^2(z)dA &amp;= \int_0^{\infty}\int_0^{2\pi}f^2(re^{i\theta})\;d\theta\;rdr \\ &amp;= \int_0^{\infty}\int_0^{2\pi}f^2(re^{i\theta})\;ire^{i\theta}[-i\frac{1}{r}e^{-i\theta}]d\theta\;rdr \\ &amp;= \int_0^{\infty}\oint_{C_R}f^2(z)\;[-i\frac{1}{z}]dz\;rdr \\ &amp;= \int_0^{\infty}2\pi r dr\frac{1}{2\pi i}\oint_{C_R}\frac{f^2(z)}{z}dz \\ \\ &amp;= 2\pi f^2(0)\int_0^\infty rdr  \end{align*}  Whence f(0) = 0.  And I have no idea where to go from there.  The "entire" bit seems to suggest Liouville but I have already dealt with the bounded case.  Please advise ... Say I create an object as follows: let myObject = {   &quot;ircEvent&quot;: &quot;PRIVMSG&quot;,   &quot;method&quot;: &quot;newURI&quot;,   &quot;regex&quot;: &quot;^http://.*&quot; };  How should I remove the property regex to end up with new myObject as follows? let myObject = {   &quot;ircEvent&quot;: &quot;PRIVMSG&quot;,   &quot;method&quot;: &quot;newURI&quot; }; tcolorbox Spanning Two Columns in {paracol} Environment The paracol environment allows figures to span two columns by using an asterisk in the figure's environment declaration: \begin{figure*} ... \end{figure*}.  I'm not familiar with the guts of why that works, and I was curious to know if there's something analogous for an environment derived from tcolorbox (like \newtcolorbox{NewBox}[1][!htbp]{...float=#1}). That is, in this example, can I get a NewBox that spans both paracol columns the way I wrongly assumed \begin{NewBox*} ... \end{NewBox*} would.  PS The tag below is "parcolumns" because I don't have a high enough reputation to create the tag 'paracol' (in reference to this CTAN package: ) How to fix sculpting ridges? I ran into a problem I have never seen before and that is when I try to sculpt on a mesh, it sculpts like this:  Instead of this: I am using dyntopo with these settings:   I feel like theres a very obvious solution to this, but I have no idea what it is. Why does Oracle 9i treat an empty string as NULL? Uk Visa Refused need guidelines etc,,, Python mechanize javascript Unwanted comma between author and year using citet command I've been using the biblatex package for a while, and since updating my TeX installation (post-el capitan upgrade) I have been experiencing the following.   If the following is typed:  Such and such has been said \citep[111]{citekey}.   The following text is displayed:  Such and such has been said (Author, 2016, p. 111).   And if the following is typed:  \citet[111]{citekey} has said such and such.   The following text is displayed:  Author, (2016, p. 111) has said such and such.   The citep command is working as I want it to, but I do not want a comma placed after the author's name when using the citet command. I would like it to display as follows:  Author (2016, p. 111) has said such and such.    If I use the \citeyearpar command, it is fine, but I would rather not have to type the author's name in manually.   Here is the command placed in the preamble:  \usepackage[backend=bibtex, style=authoryear-icomp, url=true, isbn=false, natbib=true, sortcites=true, block=space, pagetracker=false, loccittracker=constrict]{biblatex}   Here is an example of an entry in my bib file (made using BibDesk):  @article{poldrack2006, Author = {Poldrack, Russell}, Journal = {Trends in Cognitive Sciences}, Number = {2}, Pages = {59--63}, Title = {{Can cognitive processes be inferred from neuroimaging data?}}, Volume = {10}, Year = {2006}}   I have also tried changing the entry to the following:  @article{poldrack2006, Author = {Russell Poldrack}, Journal = {Trends in Cognitive Sciences}, Number = {2}, Pages = {59--63}, Title = {{Can cognitive processes be inferred from neuroimaging data?}}, Volume = {10}, Year = {2006}}   The bibliography entry appears as follows, and is fine:  Poldrack, Russell (2006). “Can cognitive processes be inferred from neuroimaging data?” In: Trends in Cognitive Sciences 10.2, pp. 59–63.  Thank you for any help that can be offered. Change rep required to downvote on MSE When I tried to install Matlab using the Software Center, it prompted me for the Location of MATLAB installation(s). Since I am trying to install it, I don't know what to do.