Lock in SQL Server and Oracle
Read Committed Snapshot Isolation vs Read Committed - pros and cons?
Reputation widget failure on Android The title says it all. When I try to place the reputation widget on my home screen, I get this:  When I try again, I get this error, presumably because the Stack Exchange service has stopped.  Is this a bug? If so, where should I report it?  I am running Android 5.1 armeabi on a DigiLand DL718M tablet. How to prepare data for ListVectorPlot[]? How to make math font huge Showing that $\lim_{x \to 1} \left(\frac{23}{1-x^{23}}-\frac{11}{1-x^{11}} \right)=6$ I just learned that some Lenovo laptops include a utility that offers to limit battery charging capacity to within 0–80% in order to slow the attenuation of the battery lifespan:    How can I do this in Ubuntu? Does existence of $\gcd$ implies PID? Function with limits only at irrational points This is the starred example 5.1.8 in Krantz' Real Analysis and Foundations.     Give an example of a function $f: \mathbb{R} \rightarrow \mathbb{R}$ so that $\lim_{x\rightarrow c} f(x)$ exists when $c$ is irrational but does not exist when $c$ is rational.   I'm aware of the Dirichlet and Thomae functions but this seems slightly different. I'm not even sure a solution exists. Thanks for any help! I have several hundred Illustrator files that are formatted similarly, and for legal reasons I need to replace a font in all of them. Even with the 'Find font' tool, that's a hell of a lot of fonts to replace by hand.  Is there some way of automating it? For example, using Bridge? Illustrator (CS5) doesn't offer many options in Bridge, compared to the automation options offered by Photoshop. I also don't see any option for running actions on multiple Illustrator files.  Also, creating a repeatable action for replacing the font doesn't seem to work: instead of repeating my action, it brings up the dialog box an waits for me to tell it to replace them.  As a programmer I'm prepared to edit the files directly if it can be done without breaking them.    Update: The 'Batch...' menu item from Illustrator's actions panel menu allows the same action to be performed on a folder of files. It doesn't fix the Find Fonts action waiting for input though. Toggling the dialog off makes the action do nothing at all. Compute the mean of $(1 + X)^{-1}$ where $X$ is Poisson$(\lambda)$ Question  Let $X$ be Poisson with parameter $\lambda$.  Compute the mean of $(1 + X)^{-1}$. (Introduction to Probability Theory, Hoel, pp. 104)  Answer Key  The answer key shows that the mean is $\lambda^{-1}(1 - e^{-\lambda})$  My Solution  $$E(1 + X)^{-1} = \sum\limits_{j = 1}^\infty (1 + j)^{-1} \dfrac{\lambda^{(1 + j)^{-1}}e^{-\lambda}}{(1 + j)^{-1}!}$$ $$= e^{-\lambda} \sum\limits_{j = 1}^\infty \dfrac{\lambda^{(1 + j)^{-1}}}{((1 + j)^{-1} - 1)!}$$ $$= \lambda^{-1} e^{-\lambda} \sum\limits_{j = 1}^\infty \dfrac{\lambda^{(1 + j)^{-1} - 1}}{((1 + j)^{-1} - 1)!}$$ $$= \lambda^{-1} e^{-\lambda}(e^{\lambda} - 1)$$ $$= \lambda^{-1}(1 - e^{-\lambda})$$  EDIT: I found why I got the answer incorrect.  Thanks for those who answer the question! :) Create a box using the tcolorbox package or any other? (image) I would like to make a box like the figure below. Can you assist me with text code using tcolorbox?   Thanks How to know if something is a primitive concept, a law, a definition or a theorem Some basic Physics books are often misguiding in the sense that they don't make clear whether something is a primitive concept, a law, a definition or a theorem. This is often a little confusing. I've asked here some moments ago if there's a definition of force, and I've been redirected to a question about whether Newton's Laws are laws or definitions of mass and force.  This is just an example, but there are many others, like for instance, the conservation of energy, which some books present as a theorem, and some places says that this is a law of Physics. Time on the other hand, is something that according to Feynman's lectures on Physics, cannot be defined, so we just say how to measure it and leave it as a primitive concept.  In this context: how in general can we identify whether something is a primitive concept, a fundamental law of Physics, a definition or a theorem? How would one go about proving that the rationals are not the countable intersection of open sets? I'm trying to prove that the rationals are not the countable intersection of open sets, but I still can't understand why   $$\bigcap_{n \in \mathbf{N}} \left\{\left(q - \frac 1n, q + \frac 1n\right) : q \in \mathbf{Q}\right\}$$   isn't a counter-example. Any ideas? Thanks! . If you filter out a range of wavelengths, how can you calculate the energy from the remaining wavelengths?   To make it concrete, say we filter everything below 450nm or alternatively above 700nm. I'm using the gnome flashback session with metacity window manager, but I can't change to any metacity theme in any of the tweaking tools, as they're not even appearing in the lists. Is there anything I can do? How do you add an ActionListener onto a JButton in Java when upgrading to a 200 amp service panel with service drop coming from bottom underground do I need southern California Edison to come disconnect and then reconnect or can I just do it on my own. I do have a permit. Best place to put bug reports? What websites or other resources do users of Blender have available to them to report bugs or problems with the program?  I would like to get this issue cleared in Q&amp;A format so that we can link new users with bug-report-style questions to this post. If the laws of random variables weakly converge to a point mass at $c$, then the random variables converge in probability to $c$. This is question 10.3.1 from Rosenthal's First Look at Rigorous Probability.  Suppose $\mathcal{L}(X_n) \Rightarrow \delta_c$ for some $c \in \mathbb{R}$. Prove that $\{X_n\}$ converges to $c$ in probability.  Here $\mathcal{L}(X_n)$ refers to the distribution of $X_n$.  Is the following proof correct?  Is a simpler proof available?  Is there a simple proof using Skorohod's theorem?  I attempted to prove the contrapositive. Suppose $X_n \not \to c$ in probability.  This means that there is an $\varepsilon &gt; 0$ so that for all $N$, there exists an $m &gt; N$ such that  \begin{equation}   P(|X_m - c| \geq \varepsilon) &gt; \eta, \text{ for some $\eta &gt; 0$}. \end{equation}  Consider  \begin{equation}   B := \{x \in \mathbb{R} : |x - c| \leq \varepsilon\} \in \mathcal{B} \text{ the Borel sets on $\mathbb{R}$}. \end{equation}  Then $B^c \in \mathcal{B}$ and denoting the distribution of $X_n$ as $\mu_n$ we have  \begin{equation}   \mu_n(B^c) = P(X_n \in B^c) = P(|X_n - c| \geq \varepsilon) &gt; \eta. \end{equation}  For all $N$, there exists an $m &gt; N$ such that the cumulative distribution function of $X_m$ is not the same as the cumulative distribution function of $\delta_c$; in particular it's mass changes somewhere at least $\varepsilon$ distance from $c$. Finally because $\delta_c(\{x\}) = 0$ for all $x \neq c$ this completes the proof. Do systemd unit files have to be reloaded when modified? Let's say I write a mine.service file. Then I use systemctl enable mine.service.  If I later decide to edit mine.service, do I have to tell systemd that mine.service was changed? If so, how do I do that? Does a Magic Staff count as a magic weapon? Many creatures have resistance to weapons that aren't "magic weapons".  A Magic Staff can be used as a quarterstaff, but (usually) doesn't have a bonus to hit (a "plus").  Is it considered a Magic Weapon for the purpose of damage resistance?