Installing the beamer feather theme
Which graphics formats can be included in documents processed by latex or pdflatex?
I want to create a standalone python script using QGIS python API (PYQGIS) for education. First I create a model and export that model to python script.  original python script from the export :  ##=name ##raster=raster ##stat=output html outputs_QGISRASTERLAYERSTATISTICS_1=processing.runalg('qgis:rasterlayerstatistics', raster,stat)   Next I read this  and I tried to follow this tutorial to create my script.  Final script :  import sys from qgis.core import QgsApplication from PyQt4.QtGui import QApplication app = QApplication([]) QgsApplication.setPrefixPath("/usr", True) QgsApplication.initQgis()  # Prepare processing framework  sys.path.append('/home/username/.qgis2/python') from processing.core.Processing import Processing dem='aster.tif' slope='slope.tif' aspect='aspect.tif' outputs_SAGASLOPEASPECTCURVATURE_1=processing.runalg('saga:slopeaspectcurvature', dem,6,1,1,slope,aspect,None,None,None,None,None,None,None,None,None,None) Processing.initialize()  # Exit applications QgsApplication.exitQgis() QApplication.exit()   If I run this script it works fine without error but I don't take some export like aspect and slope (these can't be found?). Any idea why I can't take exports ?  I use Ubuntu and python 2.7 and QGIS 2.18.1.    i try to this script :  import sys from qgis.core import QgsApplication sys.path.append('/usr/share/qgis/python/plugins') import processing a=processing.alglist() print a processing.alghelp("saga:slopeaspectcurvature")   and i take that print any idea why ?  Algorithm not found   but if i use this module in QGIS work fine. How to set date format when manually inserting date on excel, without changing regional settings? How can I  compare (without calculator or similar device) the values of $\pi^e$ and $e^\pi$ ? Did Daenerys mess up regarding caravans? Converge or diverge? : $\sum_{n=1}^{\infty}\frac{\tan{n}}{2^{n}}$ For linear regression, we can check the diagnostic plots (residuals plots, Normal QQ plots, etc) to check if the assumptions of linear regression are violated.  For logistic regression, I am having trouble finding resources that explain how to diagnose the logistic regression model fit. Digging up some course notes for GLM, it simply states that checking the residuals is not helpful for performing diagnosis for a logistic regression fit.  Looking around the internet, there also seems to be various "diagnosis" procedures, such as checking the model deviance and performing chi-squared tests, but other sources state that this is inappropriate, and that you should perform a Hosmer-Lemeshow goodness of fit test. Then I find other sources that state that this test may be highly dependent on the actual groupings and cut-off values (may not be reliable).  So how should one diagnose the logistic regression fit? Difference of Gamma random variables What am I doing wrong? Joint Density of sum of random variables! So, I have this question:    And, what I have tried so far is I let $z_1 = \frac{X + Y}{2}$ and let $z_2 = \frac{X - Y}{2}$ to use change of variables for this question. However, when I work this out and plug it into my joint distribution of $X$ and $Y$ above, I end up with the $z_2$ disappearing and only having $z_1$ left in my joint distribution of $z_1$ and $z_2$. So, then when I go to find the marginal for just $z_1$ (which is $\frac{X + Y}{2}$ &lt;- what I am looking for), there is no $z_2$ therefore, integrating wrt to $z_2$, I get $z_2$ just come up (integral of 1). This is an issue because the bounds are from 0 to $\inf$. Obviously, I can't have infinite in my marginal density so what am I doing wrong?   Also, for question 5, I work it out similarly except I let $z_2 = X$ but I just end up with the exact same density as $f_{x,y}$ as seen in question 4 - is that normal? Please help, I been doing this question for a long time trying various dummy transformations.  Also, for question 4, I found the marginals of $x$ and $y$ and realized that the independence consequence (of the product being equal to the joint) is satisfied but using convolution, I get the same issue of my integral coming out to infinite! Thank you for all the help!   EDIT: Am I doing my bounds wrong? the bound for z_2 is from 0 to inf or 0 to z_1? Software implementations of random forest classifiers have a number of parameters to allow users to fine-tune the algorithm's behavior, including the number of trees $T$ in the forest. Is this a parameter that needs to be tuned, in the same way as $m$, the number of features to try at each split (what Leo Breiman calls mtry)? Regex for numbers only I haven't used regular expressions at all, so I'm having difficulty troubleshooting. I want the regex to match only when the contained string is all numbers; but with the two examples below it is matching a string that contains all numbers plus an equals sign like "1234=4321". I'm sure there's a way to change this behavior, but as I said, I've never really done much with regular expressions.  string compare = "1234=4321"; Regex regex = new Regex(@"[\d]");  if (regex.IsMatch(compare)) {      //true }  regex = new Regex("[0-9]");  if (regex.IsMatch(compare)) {      //true }   In case it matters, I'm using C# and .NET2.0. Blender build for Raspberry Pi3? What causes yogurt in sauces to split? How to prevent it? A lot of my favorite curry recipes have a yogurt based sauce in them, but on a pretty regular basis when I make them, the yogurt ends up splitting into basically curds and whey. What causes that, and how can I prevent it?  As an illustrative example, last night I made a simple tofu curry as follows:   warm evoo in a pan add chopped onion, saute briefly add curry seasonings, allow to warm/season the oil add cubed tofu, toss to coat cook for a while, tossing periodically to lightly brown the cubes turn heat off add plain greek yogurt stir to combine   In the few minutes it took to finish the rest of the meal and start plating, the yogurt had separated so I had a clumpy, lumpy, yogurt soup instead of a smooth creamy sauce. This example illustrates some conflict between xelatex and natbib- and footnote-generated superscripts.  The semi-colon between distinct citations is not typeset as a superscript, nor is the dagger.  The asterisk, however, looks fine to me.  Any suggestion on how to make these auto-generated superscripts look more normal?   Update Mostly fixed, see second screenshot below.  Update 2 Fully fixed!  Alter the MWE below with this code:  \DefineFNsymbols*{safestar}{{$*$}{\textdagger}{\textdaggerdbl}{\textsection} {\textparagraph}{\textbardbl}{$**$}{\textdagger\textdagger} {\textdaggerdbl\textdaggerdbl}{\textsection\textsection} {\textparagraph\textparagraph}{\textbardbl\textbardbl}} \setfnsymbol{safestar}   This comes  Achim Blumensath on the MinionPro mailing list, together with  for the footmisc package.  \documentclass[article, a4paper, 12pt, oneside]{memoir}  \usepackage{fontspec} \usepackage{xunicode} \usepackage{xltxtra} % c/o @wasteofspace, this is the "offending" line \defaultfontfeatures{Mapping=tex-text} \setmainfont{Linux Libertine O}  \usepackage[super]{natbib} \usepackage[perpage,symbol]{footmisc}  \let\sc\scshape \let\bf\bfseries \let\it\itfamily  \setlrmarginsandblock{23mm}{23mm}{*} \setulmarginsandblock{23mm}{198mm}{*} \checkandfixthelayout  \begin{document}  \bibliographystyle{plainnat} \setcitestyle{nature} \thispagestyle{empty}  This is a nice\footnote{(That is to say, minimal.)} example.\cite{lenat1976artificial,lenat1984and} Unfortunately, it has some problems.\footnote{From an aesthetic point of view.}  \bibliography{corneli}{}  \end{document}     But if we don't load , then we get this other slightly problematic result:   I guess I can live with the small and over-elevated asterisk.  It looks less bad when it follows a period. While traveling in the Berlin Tegel airport (TXL), I wanted to get on Wi-Fi. I found three unsecured networks in addition to a number of password-protected networks.   _Free_TXL_WiFi airberlin Berlin Tegel Airport WiFi   I had no idea which of these were an official Wi-Fi network provided by the airport and which were provided by other people, potentially for malicious purposes like capturing my network traffic. Presumably the official one uses a captive portal to allow internet access.  Is there any way to determine which Wi-Fi network is the official one provided by the airport? Would airport staff such as at the ticketing booths know? Are there official lists available somewhere?  I’d like an answer that is applicable to airports generally, rather than specific to the Berlin Airport. Also, please don’t just give a blanket “don’t use any public Wi-Fi network” answer; I know there are risks associated with it, but sometimes it is a necessity and so I want to know how to identify the airport-provided one.   suggests there are no official Wi-Fi networks, but the answers are six years old, so it’s not clear if things have changed or if none of the networks I saw were official. How to run shell script via terminal C++11: defining function on std::array How many individual lights can an arduino control I want to use a regular Arduino board to control LEDs - what is the most lights I can control individually from the board?  Is there a tutorial on how to hook it up? If a superconductor has zero resistance, does it have infinite amperage? What is the meaning of $\exp(\,\cdot\,)$? What is the meaning of the notation $\exp(\text{expression})$ ?  I think that it's something of the form $a^\text{expression}$ but does it mean that the base $a=e$ or can it be any base? Limit of $L^p$ norm when $p\to0$ Let ($\Omega$, $\cal{F}$, $\mu$) be a probability space and $f\in L^1(\Omega)$. Prove that  $$\displaystyle\lim_{p\to 0} \left[ \int_{\Omega}|f|^pd\mu \right]^{\frac{1}{p}}=\exp \left[ \int_{\Omega}\log|f| d\mu  \right],$$  where $\exp[-\infty]=0$. To simplify the problem, we may assume $\log|f|\in L^1(\Omega).$