Strange behaviour of Stack Exchange websites
Antivirus software is breaking SE web page? (blocking CSS and JS)?
I have a featureclass in an Esri file geodatabase. When I edit the features using the editor in ArcMap, and I delete most of my features and keeping only the ones in the middle, the zoom to layer command doesn't work as expected. Instead of zooming to the extent of the features remaining in the feature class, the extent will be the former one (containing all deleted features). When reviewing the extent values in the properties dialog for the feature class, I can clearly see the old values. So the edit session doesn't seem to alter the full extent values.  Is there a way to recalculate these values?  I am pretty sure that this problem should occur to everyone editing features in ArcMap... I host am ExpressionEngine based website on a single Amazon EC2 instance in the US East (Virginia) region. I use Ubuntu.    The website allows members to post their content, and displays it for other members and for users who are not logged in.   Goal: I need to begin serving the same website across the globe, equally fast to Hong Kong, New York, and Los Angeles.   I considered two solutions:  1.Setting up three separate EC2 instances for three regions: Virginia, Oregon, and Singapore. Use Amazon Rot53 Geo Location to direct traffic to instances based on the browser's IP address.   Pro: the website will load fast for the region.   Contra: these will be essentially three separate websites. Unless I am mistaken?   Setting up one instance in a region equally remote from all three locations: (Ireliand), and boost the server to the highest performance available.    Pro: It will be the same website for all regions.   Contra: it will cost a lot to make it fast enough.   My challenges:   a) I do not know a way to sync server settings, database, and content between multiple Ubuntu instances in real time. If a knowledgeable person could explain to me how to do that, I would be most grateful.   b) I am not thoroughly familiar with all Amazon AWS resources. Does AWS has a built-in method that would allow me to achieve my goal of serving a single PHP / MySQL based membership website across the globe equally fast in all three chosen locations? Why doesn't `sudo cd /var/named` work? How do I get started creating an Ubuntu Desktop App? I want to create an Ubuntu desktop app, specifically to replace Gwibber.  I can code in Java, Python and a few other technologies. Adobe Flex would have been an option until Adobe decided to suck some more and stopped support for AIR on Linux.  Note - I don't care about supporting other OS's. It will be a personal Ubuntu specific app. It can I open-source, I don't mind extra help.  It should integrate seamlessly with Ubuntu, notifications and all.  I guess Python it is, is that correct? How do I get started? jQuery animate() Though tangentially related to another post on MathOverflow (), the questions below are mainly out of curiosity. They may be very-well known ones with very well-known answers, but...    Suppose $\Sigma$ is a sigma-algebra over a set, $X$. For any given topology, $\tau$, on $X$ denote by $\mathfrak{B}_X(\tau)$ the Borel algebra over $X$ generated by $\tau$.     Question 1. Does there exist a topology, $\tau$, on $X$ such that $\Sigma = \mathfrak{B}_X(\tau)$?   If the answer to the previous question is affirmative, it makes sense to ask for the following too:     Question 2. Denote by ${\frak{T}}_X(\Sigma)$ the family of all topologies $\tau$ on $X$ such that $\Sigma = \mathfrak{B}_X(\tau)$ and let $\tau_X(\Sigma) := \bigcap_{\tau \in {\frak{T}}_X(\Sigma)} \tau$. Is $\Sigma = \mathfrak{B}_X({\frak{T}}_X(\Sigma))$?   Updates. Q2 was answered in the negative by Mike (). Get OS-level system information I'm currently building a Java app that could end up being run on many different platforms, but primarily variants of Solaris, Linux and Windows.  Has anyone been able to successfully extract information such as the current disk space used, CPU utilisation and memory used in the underlying OS? What about just what the Java app itself is consuming?  Preferrably I'd like to get this information without using JNI. I would like to install Office 2015/365 on Ubuntu 15.04. I tried to install Office using Wine, but that did not work. Please note that I do not want virtualisation unless it has a -like behaviour, where application windows are treated like regular Ubuntu application windows by the system. Form action doesn't submit hard-coded variable I'm trying to determine if 1317 and 116 can be written as the sum of three squares?  I have the condition that if it is not of the form $4^{\alpha}(8k+7)$ then it can be written as a sum of three squares, but how do I use this condition to work it out?  Thank you Applying an ellipsis to multiline text If $$S=\frac{1}{1+1^2+1^4}+\frac{2}{1+2^2+2^4}+\cdots+\frac{n}{1+n^2+n^4}\,$$ find the value of $14S$.  The question can be simplified to:  Find $S=\sum\limits_{k=1}^n\,t_k$ if $t_n=\dfrac{n}{1+n^2+n^4}$.  As $1+n^2+n^4$ forms a GP, $$t_n=\frac{n(n^2-1)}{n^6-1}\,.$$ But I can't figure out how to solve further. It would be great if someone could help. How to clone/copy all file/directory attributes onto different file/directory? I want to copy the attributes (ownership, group, ACL, extended attributes, etc.) of one directory to another but not the directory contents itself.  This does not work:  cp -v --attributes-only A B cp: omitting directory `A'              Note: It does not have to be cp. Q. Find all pairs $(p,n)$ of positive integers where $p$ is prime and $p^3-p=n^7-n^3$.   Rewriting the given equation as $p(p+1)(p-1)=n^3(n^2+1)(n+1)(n-1)$, we see that $p$ must divide one of the factors $n,n+1,n-1,n^2+1$ on the $\text{r.h.s}$.   Now, the $\text{l.h.s}$ is an increasing function of $p$ for $p\ge1$. This implies that for any given $n\ge1$, there is exactly one real $p$ for which $\text{l.h.s}=\text{r.h.s}$. For $p=n^2$, we get $\text{l.h.s}=n^6-n^2&lt;n^7-n^3=\text{r.h.s}.$ This means that either $p&gt;n^2$ or $p&lt;n^2$ must hold.  Assuming $p&gt;n^2$, it follows that the prime $p$ cannot divide any of $n,n+1,n-1$. So $p$ must divide $n^2+1$ and hence $p=n^2+1\quad (\because p&gt;n^2)$.  Substituting the value of $p$ in the given equation we get, $n^2+2=n^3-n\implies n^3-n^2-n=2$. As the factor $n$ on the $\text{l.h.s}$ must divide $2$, the above equation has a unique integer solution $n=2$.  Finally, we get $(5,2)$ as the solution to the given equation.      But how do I conclude this is the only solution possible? Also, why does'nt $p&lt;n^2$ (the case which I ignored) hold? As a bonus question, I would like to ask for any alternative/elegant solution (possibly using congruence relations) to the problem. Non-existence of $\lim \limits_{(x, y) \to (0,0)} \frac{x^3 + y^3}{x - y} $ How to show that $\lim \limits_{(x, y) \to (0,0)} f(x, y)$ does not   exist where,         $$f(x, y) =  \begin{cases} \dfrac{x^3 + y^3}{x - y} \; ; &amp; x \neq y \\  0 \; \;\;\;\;\;\;\;\;\;\;\; ; &amp; x = y  \end{cases}  $$   I tried bounding the value of the function as $(x, y)$ approaches $(0,0)$ but was not successful. I graphed the function and saw that it was actually approaching $0$ but Microsoft Math failed to render some points around the $x = y$ plane. So I imagine I need to find points $(x, y)$ such that $x$ is extremely close to $y$ but $(x, y)$ is not as close to $(0,0)$ to show that the function does not approach $0$ around the origin. But was unable to think of any.   Hints or suggestions would be awesome. Any help is appreciated. Stringification of a macro value Is there any practical difference between saving at 300ppi or 72ppi? I often see statements in discussions about web displayed image quality that go something like this: "I only upload pictures at 72 dpi and 1200 pixels on the long edge, so if someone copies and prints the image it won't look as good as if it were 300 dpi."  What? Have I missed something here?  Does an image edited and saved/exported with 1200x800 pixels at 300 ppi look any different online than the same image saved/exported with 1200x800 pixels at 72 ppi? Other than the metadata regarding ppi, is there any difference in the two images at all? If so, what is the difference? If I tell my printer to print the images at 4R (4X6 inches) will there be any difference at all in how the printer creates a print from the 1200x800 @ 300 dpi image versus the 1200x800 @ 72 dpi image? Why don't self-closing script elements work? Holomorphic function $\varphi$ with fixed point $z_0$ such that $\varphi'(z_o)=1$ is linear? This is an exercise in complex analysis:     Let $\Omega\subset{\Bbb C}$ be open and bounded, and $\varphi:\Omega\to\Omega$ a holomorphic function. Prove that if there exists a point $z_0\in\Omega$ such that   $$ \varphi(z_0)=z_0\qquad\text{and   }\qquad \varphi'(z_0)=1 $$   then $\varphi$ is linear.   I'm trying work out the case $z_0=0$ first, in which $$ \varphi(z)=z+\sum_{n=2}^{\infty}a_nz^2. $$ It suffices to show that $a_n=0$ for all $n\geq 2$. If let $$ \varphi(z)=z+a_2z^2+O(z^3) $$ then  $$ \varphi^k(0)=z+ka_2z^2+O(z^3), $$ and $$ \varphi^k(0)=0,\quad (\varphi^k)'(0)=1. $$ If one can show that $\{ka_2\}_{k=1}^{\infty}$ is uniformly bounded, then one at least has $a_2=0$. But I don't know how to go on. Any idea? Calculate expected values using logistic regression coefficients The outcome of the logistic model is binary (0;1) - intervention that occurs in hospital (3838 interventions in 51096 cases). I am modeling the effect of age groups (60 to 74; 75 to 89 and 90+) and sex (female) on the outcome. My reference age group is male aged 18-59.  My logistic regression coefficients look like this:  intercept  -4.313 female      0.5117 age 60-74   0.4081 age 75-89   1.1761 age 90+     1.5612.   Corresponding odds ratios:  female      1.668 years60_74  1.504 years75_90  3.242 years90     4.764   Now I am trying to obtain a probability of an outcome = 1 for each case. What is the right way to do this?