SQL: Combining two select queries, using results from the first
What is the difference between "INNER JOIN" and "OUTER JOIN"?
Probability of a 2 pair in poker What is a StackOverflowError? How to calculate the difference between two dates using PHP? I have two dates of the form:  Start Date: 2007-03-24  End Date: 2009-06-26   Now I need to find the difference between these two in the following form:  2 years, 3 months and 2 days   How can I do this in PHP? Prove that inequality $\sum _{cyc}\frac{a^2+b^2}{a+b}\le \frac{3\left(a^2+b^2+c^2\right)}{a+b+c}$ json parse error with double quotes I have a Beamer presentation with note pages, in which everything renders just fine with pdflatex.   However, when the file is compiled using xelatex (I need to use fontspec), texts in frames after a note page are not visible -- they are rendered in white colour. This problem is reproducible when using Beamer v3.33.  %% Compile with xelatex \documentclass[handout]{beamer}  \mode&lt;handout&gt; { \setbeameroption{show notes} \RequirePackage{pgfpages} \pgfpagesuselayout{2 on 1}[a4paper,border shrink=5mm] }  \begin{document} \begin{frame} A test, A test! \note{ } \end{frame}      \begin{frame} This text does not appear! \note{ } \end{frame} \end{document}   While this problem can be solved by compiling with lualatex, I'm wondering if there's any thing one can do to make it work for xelatex? Maven project with native dependency and copying files Brasero says it won't burn the CD because the file is too big, what's going on? Are actions and bonus actions interchangeable? Lie Algebra of U(N) and SO(N) just after the Big Bang and before inflation the currently observable universe was the size of a coin. One millionth of a second later the universe was the size of the Solar System, which is an expansion much much faster than speed of light. Can space expand with unlimited speed? Uploading both data and files in one form using Ajax? When you use the allowframebreaks option in beamer then you get additional frames if the content is too high for one frame. The vertical spacing gets disturbed when you use a list (itemize, enumerate, description), for example, see the following animation. I used the t option (for top alignment) for the frame.     \documentclass[aspectratio=169]{beamer}   \begin{document}  \begin{frame}[t,allowframebreaks] \frametitle{Frame Title} \setlength{\mylength}{\baselineskip} \begin{itemize} \item Test \item Test \item Test \item Test \item Test \item Test \item Test \item Test \item Test \item Test \item Test \item Test \item Test \item Test \item Test \item Test \item Test \end{itemize}  \end{frame}  \begin{frame}[t,allowframebreaks] \frametitle{Frame Title}  Text\\ Text\\ Text\\ Text\\ Text\\ Text\\ Text\\ Text\\ Text\\ Text\\ Text\\ Text\\ Text\\ Text\\ Text\\ Text\\ Text\\ Text\\ Text\\ Text\\ Text\\ Text\\ Text\\ Text\\ Text\\  \end{frame}  \end{document}    I thought of a solution, when I read  question where they explain the different length in lists. The main idea is to check if the current frame is not the first frame of a frame continuation and add the needed vertical space. I thought that \topsep is the needed length but apparently, it is not quite right. It ist almost perfect but it still "dances" a little bit. Which additional length do I need? Here's the animation and the used code.     \documentclass[aspectratio=169]{beamer}  \setbeamertemplate{frametitle continuation}{%     (\insertcontinuationcount)%     \ifnum\insertcontinuationcount&gt;1%     \vspace*{\topsep}%     \else%     %     \fi% }  \begin{document}  \begin{frame}[t,allowframebreaks] \frametitle{Frame Title}  \begin{itemize} \item Test \item Test \item Test \item Test \item Test \item Test \item Test \item Test \item Test \item Test \item Test \item Test \item Test \item Test \item Test \item Test \item Test \end{itemize}  \end{frame}  \end{document}   Related        Definition of \itemize in beamer  In beamerbaselocalstructure.sty I found  \renewcommand{\itemize}[1][]{%   \beamer@ifempty{#1}{}{\def\beamer@defaultospec{#1}}%   \ifnum \@itemdepth &gt;2\relax\@toodeep\else     \advance\@itemdepth\@ne     \beamer@computepref\@itemdepth% sets \beameritemnestingprefix     \usebeamerfont{itemize/enumerate \beameritemnestingprefix body}%     \usebeamercolor[fg]{itemize/enumerate \beameritemnestingprefix body}%     \usebeamertemplate{itemize/enumerate \beameritemnestingprefix body begin}%     \list       {\usebeamertemplate{itemize \beameritemnestingprefix item}}       {\def\makelabel##1{%           {%             \hss\llap{{%                 \usebeamerfont*{itemize \beameritemnestingprefix item}%                 \usebeamercolor[fg]{itemize \beameritemnestingprefix item}##1}}%           }%         }%       }   \fi%   \beamer@cramped%   \raggedright%   \beamer@firstlineitemizeunskip% }   But I do not understand where the different kinds of spaces are defined that cause the "dancing".  "Evil" Stuff in beamer  Motivated by the comment of @cfr I searched the beamer documentation for "evil" stuff -- this is what I have found (beamer guide version 3.41):   Do not use subsubsections, they are evil. Never ever use the evil option shrink.  Using this [again shrink] option is very evil. The use of this [allowframebreaks] option is evil. $$ \sum_{n=1}^{\infty} \frac{(\sin n+2)^n}{n3^n}$$  Does it converge or diverge?   Can we have a rigorous proof that is not probabilistic?   For reference, this question is supposedly a mix of real analysis and calculus. How can I make a PATCH HTTP Callout from Apex? I need to make a PATCH http request.  I made the rather incredible discovery today that I can't set an HttpRequest to use the PATCH method, as when sending the request I get a callout exception:     System.CalloutException "Invalid HTTP method: PATCH"   The work around I've found on Stack Exchange and elsewhere is only applicable to a Salesforce Rest API request:    This is therefore not helpful to me as I'm calling out to a third party.  By what manner of magic can I send a PATCH request from Salesforce?  The only work around I can think of is to not do it from Apex - this is not an option. How to determine $\int x^2 e^{-x^2}\mathrm dx$? I was wondering how to determine $$\int x^2 e^{-x^2}\mathrm dx?$$ I tried to move the exponential into the integrator, and apply integration by parts, but that will make the integrand more complicated. Thank you! How can I find the program I'm hiding in bash QR factorization of complex matrix If you have two complex numbers $a,b$ how can you find the QR factorization of   $ M = \begin{bmatrix}        aI_n\\          bI_n \end{bmatrix} $,  I can't seem to be able to do it. I tried an earlier trick, but I now know it's not necessary true for complex numbers. Is there anyway to do this?  I think if I use a Givens algorithm I should be able to reduce it to a QR factorization. MacOS dmg file question Not entirely sure if this is where to ask this, but I can't find another place to...  I've recently switched from Windows to Mac and I am trying to understand more in depth what I'm working with.  My question is: are .dmg files the equivalent of .zip files in Windows? I came to this theory when downloading a .dmg and when I opened it, it contained a .app and and text file read me. To me, this seems like a compressed file.   Is this correct? Why can I put an electrolytic capacitor on AC? I have seen here and there schematics with electrolytic capacitors put on AC. And this sounds weird to me.  Electrolytic capacitors have a polarity, right? If we invert the polarities on DC, bad things happen. As far as I understand, AC inverts polarity every now and then (commonly 50Hz). Why can we put such capacitors on AC without damaging them?  Example:    from demonstration here: