Mirroring 2 out of 3 HDMI displays (2 monitors and 1 TV)
How can I mirror one of the screens in a 3-monitor setup?
From the :   -exec command ;     There are unavoidable security problems     surrounding use of the -exec action; you should use the     -execdir option instead.  -execdir command {} +     Like -exec, but the specified command is run from the     subdirectory containing the matched file, which is not     normally the directory in which you started find.  This a much     more secure method for invoking commands, as it avoids race     conditions during resolution of the paths to the matched     files.    What does this mean? Why are there race conditions with running it from the starting directory? And how are these security risks? Quick Look support for non-native video files (.avi, .mkv) on Mavericks In the past, we've been able to get codecs for DivX/XviD/MPEG4 and support for containers like AVI, MKV in Mac OS X's Quick Look feature using  (as per ).  As noted on the Perian site, development has ceased, and future versions may or may not continue to work. It seems with the upgrade to OS X 10.9 "Mavericks", the OS or Quick Look API has changed sufficiently that Perian no longer works.  Are there any alternatives? Ideally a one-app-does-all like Perian, but even a list of individual codecs and/or plug-ins for video container files would be useful.  NB: This question isn't about video players—there are many that support more than those playable via the built-in QuickTime player. This question is about codecs/plug-ins for QuickTime on OS X to allow it and Quick Look (and apps which rely on the OS to play videos) to open/play video files/formats lacking native support. Create a new cmd.exe window from within another cmd.exe prompt How to change default user in WSL Ubuntu bash on Windows 10 How to import Illustrator swatch libraries into InDesign - Adobe Indesign Mac? I have a very reach swatch library in adobe-illustrator like food colors and.... But in adobe-indesign I don't have many colors. Why? Can I import them to indesign? Breitbart today:   What is the source for the term nothing-burger? Variation of the Kempner series – convergence of series $\sum\frac{1}{n}$ where $9$ is not a digit of $1/n$. It is easy to argue that the  converges:  $$  \sum\limits_{\substack{n \text{ s.t. 9 is}\\\text{ not a digit} \\\text{ of } n}}  \frac{1}{n} &lt; \infty$$  Let $E \subset \Bbb N_{&gt;0}$  the subset of the positive integers  such that $9$ is not a digit of the decimal expansion of $1/n$ (the decimal expansion is not allowed to have a trailing infinite sequence of "$9$"s. For instance $0.24999...$ is not allowed).  Here are the  that don't belong to $E$ : $11,13,17,19,21,23,29,31,34,38,41,…$ (not known by the OEIS, by the way).  My question is:     Does the series    $$ \sum\limits_{n \in E} \frac{1}{n} \tag 1$$ converge?   My attempt is :   Let $1/n = 0,a_1 a_2 \dots a_k \overline{b_1 b_2 \dots b_m}$ with $n \in E$. Since $1/n$ has no digit "9", we have at most $9^{k+m}$ possibilities for the $a_i$'s and $b_j$'s. Moreover, $1/n ≥ 0,00...0\overline{00...01}≥1/10^{k+m}$. But then I can only bound my series $(1)$ from below, by some real number. So, this is not a clue for the divergence of the series. Apparently, the numbers of the form $n=10k+1$ don't belong to $E$. Maybe we can find sufficiently many numbers that have $9$ in the decimal representation of their reciprocals, so that $(1)$ could converge...   Any comment will be appreciated ! cgi and tomcat im trying to run a cgi script (.cgi) with tomcat. I am getting the below error and cant find out whats wrong. I know i should really use apache and mod proxy but this really isnt my area of expertise so im taking the easy way out!  Thanks for any help.   java.io.IOException: Cannot run program "perl" (in directory "C:\Java\tomcat\webapps\my_app_name\WEB-INF\cgi"): CreateProcess error=2, The system cannot find the file specified     java.lang.ProcessBuilder.start(ProcessBuilder.java:459)     java.lang.Runtime.exec(Runtime.java:593)     java.lang.Runtime.exec(Runtime.java:431)     org.apache.catalina.servlets.CGIServlet$CGIRunner.run(CGIServlet.java:1705)     org.apache.catalina.servlets.CGIServlet.doGet(CGIServlet.java:597)     javax.servlet.http.HttpServlet.service(HttpServlet.java:627)     javax.servlet.http.HttpServlet.service(HttpServlet.java:729)     org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:738)     org.apache.struts2.dispatcher.FilterDispatcher.doFilter(FilterDispatcher.java:416) I try to create a common extent for rasters in QGIS 2.99. Here is my script:  import processing  processing.runalg("script:unifyextentandresolution",                   "/qgis_data/rasters/Image2.tif;                   /qgis_data/rasters/Image1.tif",                  -9999,"/qgis_data/rasters",True)   However, processing.runalg is being used for QGIS 2.99. I need it for QGIS 2.99 In Avatar: The Last Airbender, Aang's eyes glow when he goes into the Avatar State. This seems to be the case with all Avatars, but Aang and the other airbending Avatars tattoos glow too.      Is there any reason for why airbending Avatars tattoos glow as well as their eyes? How many times can I benefit from Advantage if I attack multiple times while not seen? A hidden ranger with Extra Attack attacks a surprised creature. Do both attacks benefit from Advantage, or just the first one?  If the ranger used Horde Breaker on another creature, would this attack benefit from Advantage? How do I install the latest OpenOffice? Is it possible to automatically "add" \left and \right commands in front of all brackets? The source code should be left intact, but LaTeX should interpret every pair of brackets as if they were preceded by such commands. This is because adding \left and \right commands is time consuming and makes source code longer and less readable. I considered defining new commands such as \lb and \rb for \left( and \right), but it doesn't seem very elegant to me: what if I also want to add square brackets for example?  Any ideas? Thanks. When I compile with LuaLaTeX and TL2016 this MWE   \documentclass{article}  \usepackage[no-math]{fontspec} \usepackage{luatex85} \usepackage{shellesc}  \setmainfont{Minion Pro}  \begin{document}  \huge{huge} \textbf{\huge{huge}}  \Huge{Huge} \textbf{\Huge{Huge}}   \end{document}   I have this .pdf.     Any help? With TL2015 all is correct. Thanks How can I listen to communication between a process and a serial port? On a Gentoo Linux machine, a process is communicating with another computer via serial port (/dev/ttyS1). I want to listen to this communication (i.e. what is being sent/received by the process) without further interfering.   How can I achieve this with just basic Linux tools? I even can change the serial port the process is communicating with, so maybe I can 'shortcut' two devices (/dev/ttyS1 and /dev/xxx) listen to all communication, when all output to /dev/ttyS1 is forwarded to /dev/xxx and vice versa. But how do I do it? Something with socat? Why does default auto.arima stop at (5,2,5)? The function auto.arima in the forecast package of R is a powerful tool to identify the best ARIMA(p,d,q) model for a given data series. In the   of the function, they report the following:  auto.arima(y, d=NA, max.p=5, max.q=5, max.order=5, max.d=2, start.p=2, start.q=2, ...)   According to the above function it seems that, by default, auto.arima tries to find the best model among all the combination having:   p equal or lower than 5 q equal or lower than 5 d equal or lower than 2 order equal or lower to 5, i.e. p + q + d  ≤ 5.   However, why does the default code stops at these conditions? Is there any particular reason why p, q and d should be equal or lower than 5, 5 and 2 and their sum lower than 5? What is the importance of the Diophantine inequality $\frac{1}{p} + \frac{1}{q} + \frac{1}{r} > 1$? In Humphreys' book  Introduction to Lie algebras and Representation Theory(3rd printing, p.62), the Diophantine inequality $$\frac{1}{p} + \frac{1}{q} + \frac{1}{r} &gt; 1$$ appeared while classifying all Coxeter graphs of irreducible root systems. Under the assumption $p \geq q \geq r \geq 2 $, the possible triples turn out to be $(p,2,2), (3,3,2),(4,3,2),(5,3,2)$, which correspond to the Coxeter graph $\text{D}_{p+2}, \text{E}_6, \text{E}_7, \text{E}_8$, respectively.  It seems quite straightforward to solve the inequality in positive integers, but Humphreys said that      This inequality, by the way, has a long mathematical history.   without further comment. So I want to know if this Diophantine inequality has any important significance, or if it has appeared in other context (maybe relevant history) before. Parsing input with scanf in C I've been having a lot of problems trying to figure out how to use scanf().  It seems to work fine with integers, being fairly straight forward scanf("%d", &amp;i).  Where I am running into issues is using scanf() in loops trying to read input.  For example:  do {   printf("counter: %d: ", counter);   scanf("%c %c%d", &amp;command, &amp;prefix, &amp;input); } while (command != 'q');    When I enter in a validly structured input like c P101, it seems to loop again before prompting me.  This seems to happen even with a single:  scanf("%c", &amp;c)    in a while loop.  It'll do the loop twice before prompting me again.  What is making it loop twice, and how do I stop it? When I enter in less amount of input that programmatically wouldn't have another character or number such as q, pressing enter seems to prompt me to enter more.  How do I get scanf() to process both single and double character entries? Generalization of Hölder inequality What is the difference between implication symbols: $\rightarrow$ and $\Rightarrow$? I do not understand the difference between $\rightarrow$ and $\Rightarrow$. Sometimes I see implication truth tables labeled with the former, sometimes with the latter.  Aren't they synonyms of logical implication or is there any difference?