Querying and modifying TEXINPUTS from inside a latex file?
Define path for packages in the LaTeX file (analog of \input@path or \graphicspath for \usepackage)
When you first add a cylinder, you have the option to change the number of vertices, etc, but once you do anything else in blender, it seems you no longer can edit those parameters.   Is there a setting anywhere or an add-on that allows these parameters to be edited later on? If not, how easy would such an addon/feature be to create for anyone reading this? How to use sed to replace only the first occurrence in a file? I would like to update a large number of C++ source files with an extra include directive before any existing #includes. For this sort of task, I normally use a small bash script with sed to re-write the file.   How do I get sed to replace just the first occurrence of a string in a file rather than replacing every occurrence?  If I use  sed s/#include/#include "newfile.h"\n#include/   it replaces all #includes.   Alternative suggestions to achieve the same thing are also welcome. I have a string that contains both double-quotes and backslashes that I want to set to a variable in Python. However, whenever I try to set it, the quotes or slashes are either removed or escaped. Here's an example:  &gt;&gt;&gt; foo = 'baz "\"' &gt;&gt;&gt; foo 'baz ""'   So instead of baz "\" like I want I'm getting baz "". If I then try to escape the backslash, it doesn't help either:  &gt;&gt;&gt; foo = 'baz "\\"' &gt;&gt;&gt; foo 'baz "\\"'   Which now matches what I put in but wasn't what I originally wanted. How do you get around this problem? Where do I change my shell? What's the difference between align and align*? After some brief searching I can't find the difference between align and align*. Google summarily ignoring the * is making it harder I think.  Can you tell me the difference between these two?  Moreover, can you tell me where you generally go for this type of information? As a relatively new user I'm still building up my resources. Is the graviton hypothetical? Wikipedia lists the  as a hypothetical particle. I wonder whether graviton is indeed hypothetical or does its existence directly follow from modern physics? Does observation of gravitational waves amount to the discovery of graviton or could there be gravitational waves not composed of gravitons? Why is accuracy not the best measure for assessing classification models? This is a general question that was asked indirectly multiple times in here, but it lacks a single authoritative answer. It would be great to have a detailed answer to this for the reference.  , the proportion of correct classifications among all classifications, is very simple and very "intuitive" measure, yet it may be a . Why does our intuition misguide us here and are there any other problems with this measure? Have a look at   One of the bolds works, and the other one just turns up as ** in the actual post.  This is the string that isn't working: **x**ml n**ib**  Which renders as: xml nib Physical Interpretation of Planck's Constant Every time I click to open a link, other windows start opening. They all want to sell me Detox your Mac or have warnings about how my Mac is at risk or infected.  How can I check for malware? Package system is broken. How to fix it? I just recently bought an arduino and requires gcc-avr/avrdude to compile the software. I installed avr for another microprocessor component a while ago but is obviously an outdated version (gcc version 3.3 20030512 (prerelease)) so I went ahead to update these but it didn't work.   (Please note that before hand I also broke my aptdaemon through an incomplete wine installation (couldn't get passed font installation agreement) but I fixed that via a re-installation then accepting the agreement.)   I am trying to update these by running  but the dependencies it requires cannot be installed due to avr... terminal reports   Reading package lists... Done Building dependency tree        Reading state information... Done build-essential is already the newest version. libncurses5-dev is already the newest version. libncurses5-dev set to manually installed. libusb-0.1-4 is already the newest version. libx11-dev is already the newest version. You might want to run 'apt-get -f install' to correct these: The following packages have unmet dependencies: arduino-core : Depends: gcc-avr but it is not going to be installed avr-libc : Depends: gcc-avr (&gt;= 1:4.3.4) but it is not going to be installed Depends: binutils-avr (&gt;= 2.20) but it is not going to be installed binutils-dev : Depends: binutils (= 2.21.0.20110327-2ubuntu3) but 2.21.0.20110327-2ubuntu2 is to be installed libcwidget-dev : Depends: libcwidget3 (= 0.5.16-3ubuntu2) but it is not going to be installed Depends: libsigc++-2.0-dev but it is not going to be installed Depends: libncursesw5-dev but it is not going to be installed libmpfr-dev : Depends: libgmp3-dev (&gt;= 4.2.dfsg-1) but it is not going to be installed python-dev : Depends: python (= 2.7.1-0ubuntu5.1) but 2.7.1-0ubuntu5 is to be installed Depends: python2.7-dev (&gt;= 2.7.1-1~) but it is not going to be installed tk8.4-dev : Depends: tk8.4 (= 8.4.19-4) but it is not going to be installed E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).   But running   apt-get -f install   results in   (Reading database ... 163021 files and directories currently installed.) Unpacking binutils-avr (from .../binutils-avr_2.20.1-1ubuntu2_i386.deb) ... dpkg: error processing /var/cache/apt/archives/binutils-avr_2.20.1-1ubuntu2_i386.deb (--unpack): trying to overwrite '/usr/bin/avr-size', which is also in package avr-binutils 2.13.90.030512-2 dpkg-deb: error: subprocess paste was killed by signal (Broken pipe) Unpacking gcc-avr (from .../gcc-avr_1%3a4.3.5-1_i386.deb) ... dpkg: error processing /var/cache/apt/archives/gcc-avr_1%3a4.3.5-1_i386.deb (--unpack): trying to overwrite '/usr/bin/avr-g++', which is also in package avr-gcc-c++ 3.2.90.20030512-2 dpkg-deb: error: subprocess paste was killed by signal (Broken pipe) Errors were encountered while processing: /var/cache/apt/archives/binutils-avr_2.20.1-1ubuntu2_i386.deb /var/cache/apt/archives/gcc-avr_1%3a4.3.5-1_i386.deb E: Sub-process /usr/bin/dpkg returned an error code (1)   I have tried running update manager and updating my system via it but all I get is an error message  The following packages have unmet dependencies: arduino-core: Depends: gcc-avr but it is not installed avr-libc: Depends: gcc-avr (&gt;= 1:4.3.4) but it is not installed Depends: binutils-avr (&gt;= 2.20) but it is not installed   which then tells me to try running apt-get -f install which just results the same as last time.  So how can I fix my system, I really need the new avr, please :) BTW, my system is Ubuntu 11.04 htl5 voice recording with isualization Find the value of : $\cos x \cos 2x...\cos 999x$ given that $x=\frac {2\pi}{1999}$ Let $E$ be a metric $\mathbb R$-vector space, $I$ be a nonempty set and $(\mu_t)_{t\in I},(\nu_t)_{t\in I}$ be families of nonnegative finite measures on $\mathcal B(E)$.  that if $(\mu_t)_{t\in I}$ and $(\nu_t)_{t\in I}$ are tight$^1$ and bounded in total variation norm, then the family of convolutions $(\mu_t\ast\nu_t)_{t\in I}$ is tight and bounded in total variation norm as well.  Now I would like to show the converse: If $(\mu_t)_{t\in I}$ and $(\mu_t\ast\nu_t)_{t\in I}$ are tight, then $(\nu_t)_{t\in I}$ is tight. (Most probably we need to impose a boundedness assumption on $(\mu_t)_{t\in I}$ and on $(\mu_t\ast\nu_t)_{t\in I}$ or even a priori on $(\nu_t)_{t\in I}$.)  For the moment, I'm only able to prove the claim assuming that the $\mu_t,\nu_t$ are probability measures. Under this assumption, the proof goes as follows: Let $\varepsilon&gt;0$. Since $(\mu_t)_{t\in I}$ and $(\mu_t\ast\nu_t)_{t\in I}$ are tight, there is a compact $K\subseteq E$ with $$\sup\left(\sup_{t\in I}\mu_t(K^c),\sup_{t\in I}(\mu_t\ast\nu_t)(K^c)\right)&lt;\varepsilon\tag1.$$ Now $K-K$ is compact and \begin{equation}\begin{split}1-\varepsilon&lt;(\mu_t\ast\nu_t)(K)&amp;=\underbrace{\int_K\mu_t({\rm d}x)\nu_t(\underbrace{K-x}_{\subseteq\:K-K})}_{\le\:\nu_t(K-K)}+\underbrace{\int_{K^c}\mu_t({\rm d}x)\underbrace{\nu_t(K-x)}_{\le\:1}}_{&lt;\:\varepsilon}\\&amp;&lt;\nu_t(K-K)+\varepsilon\end{split}\tag2\end{equation} for all $t\in I$, which immediately yields $$\nu_t(K-K)&gt;1-2\varepsilon\;\;\;\text{for all }t\in I\tag3.$$  Can we drop the probability measure assumption?  EDIT I'm not able to obtain the claim, even with the help of the answer below. If $\varepsilon&gt;0$, the goal is to show that $$\nu_t(E)-\nu_t(K-K)=\nu_t((K-K)^c)&lt;\varepsilon\tag4.$$ If I'm choosing all the constants as generic as possible, we obtain $$\mu_t(E)\le c_1\tag5$$ $$\mu_t(K^c)\le k_1(\varepsilon)\tag6$$ $$(\mu_t\ast\nu_t)(K)&lt;c_1\nu_t(K-K)+c_2k_1(\varepsilon)\tag6$$ $$\mu_t(E)\ge\alpha_1\tag7$$ $$(\mu_t\ast\nu_t)(E)\le c_3\tag8$$ $$\nu_t(E)\le\frac{c_3}{\alpha_1}=:c_2\tag9$$ $$(\mu_t\ast\nu_t)(E)\ge\alpha_3\tag{10}$$ $$\nu_t(E)\ge\frac{\alpha_3}{c_1}\tag{11}$$ $$(\mu_t\ast\nu_t)(K^c)&lt;k_3(\varepsilon)$$ The assumptions that I'm imposing is that $(\mu_t)$ and $(\mu_t\ast\nu_t)$ are bounded above (by $c_1$ and $c_3$) and below (by $\alpha_1$ and $\alpha_3$) in total variation norm and are tight (so that we can find $K$ for arbitrary $k_1(\varepsilon)$ and $k_3(\varepsilon)$). In order to obtain the claim we need to choose $k_1(\varepsilon)$ and $k_3(\varepsilon)$ such that $(4)$ holds. From everything above, we obtain $$\nu_t(E)-\nu_t(K-K)&lt;\frac{c_3}{\alpha_1}-\frac{\alpha_3}{c_1}+\frac{c_3}{\alpha_1c_1}k_1(\varepsilon)+\frac1{c_1}k_3.(\varepsilon)\tag{12}$$ Even if we simplify this by assuming $\alpha_1=\alpha_3$, $c_1=c_3$ and $k_1(\varepsilon)=k_3(\varepsilon)$, the equation $$\frac{c_3}{\alpha_1}-\frac{\alpha_3}{c_1}+\frac{c_3}{\alpha_1c_1}k_1(\varepsilon)+\frac1{c_1}k_3.(\varepsilon)=\varepsilon\tag{13}$$ doesn't seem to admit a solution $(k_1(\varepsilon),k_3(\varepsilon))$ with positive $k_1(\varepsilon)$ and $k_3(\varepsilon)$; unless $\frac{c_3}{\alpha_1}-\frac{\alpha_3}{c_1}\ge0$; which clearly doesn't need to be the case (it is clearly the case for probability measures though ...)  $^1$ Remember that a family $\mathcal F$ of finite signed measures on $\mathcal B(E)$ is called tight if for all $\varepsilon&gt;0$, there is a compact $K\subseteq E$ such that $$\sup_{\mu\in\mathcal F}|\mu|(K^c)&lt;\varepsilon.$$ siunitx tabular numbers with separated uncertainty I would like to format the space reserved for a number shown in a table with separated uncertainty. It seems that when I use the table-format option the brackets around the mantissa disappear. This is illustrated in the example below:  \documentclass{article}     \usepackage{siunitx}  \begin{document}     \begin{table}   \begin{tabular}{                   S[separate-uncertainty = true]                   S[table-format=1.1(1)e1,                   separate-uncertainty = true]                   }     {Header} &amp; {Header}\\     1.0(2)e2 &amp; 1.0(2)e2\\   \end{tabular} \end{table}     \end{document}     I have also tried to use the bracket-numbers and multi-part-units = brackets without solving this issue. Is there any workaround to center the number and keep the brackets like in the first column of the example? OpenLayers 3: Cross-Origin Request Blocked: The Same Origin Policy disallows Would a very small creature inside a sealed container carried by a character take damage from AOE spells? Assume character A is in the AOE of a damaging spell.  Character A is carrying a closed container inside his backpack, alongside several sheets of parchment.  Damaging spell description specifically states that items carried by a creature are not damaged even on a failed save. Unattended objects are damaged, though.  Inside said container there is a small creature. Creature has no problem living inside container for a long amount of time.  Does this creature take damage from the spell? If it does not, what mechanic prevents damage? Edge won't connect to internet, Skype for business won't screen-share, Windows Store won't update apps after Windows 10 version 1809 installed I ran into a problem after upgrading Windows 10 October 2018 to version 1809. After the Windows update I noticed the following problems with Microsoft applications:   Microsoft Edge could no longer connect to the internet even though Chrome, Firefox and IE 11 still could. Skype for Business (formerly Lync) no longer allowed me to share my screen or view another person's shared screen. The Windows Store could not connect to the internet to update apps. The Microsoft Feedback portal could no longer connect to the internet.   How can I resolve these network issues that seemed to cooincide with an upgrade to Win10 ver 1809? Which function ($f$) is continuous nowhere but $|f(x)|$ is continuous everywhere?   I found this question , the question seems much interesting but for obvious reason it is closed there, I was wondering how to derive such a function? How can we play split screen in the XBOX 360 version of Minecraft? My little brother and I want to play Minecraft together on the Xbox 360, and we heard there was a split screen option. We've looked inside the options menu but weren't able to find it. Does the game really have a split screen option, and if so, how do we enable it?