Can QGIS preserve layers when exporting a PDF?
Can QGIS preserve layers when exporting to PDF?
Drive from US to Canada with a dog What are the scope restrictions for setting shopt extglob. and other options? My non-interactive bash shell has extglob off. I would like to turn it on in the statement immediately before a command, but I have noticed that when shopt -s extglob is within an if .. then .. else block, it somehow does not register.   The following extglob-dependant command is not valid: syntax error near unexpected token '('.     Where can extglob be set, and why is there a restriction, at all? Does this apply to other options?  ... GNU bash 4.1.5     This works:    shopt -s extglob if true ;then     touch a.bcd; ls a.@(bcd) fi   This fails:    if true ;then     shopt -s extglob     touch a.bcd; ls a.@(bcd) fi ... line 17: syntax error near unexpected token `(' ... line 17: `touch a.bcd; ls a.@(bcd)' Why do clocks measure arc-length? This is a  about File Permission and Why 777 is "destructive".   I'm not asking how to fix this problem, as there are a ton of references of that already on Server Fault (reinstall OS). Why does it do anything destructive at all?  If you've ever ran this command you pretty much immediately destroy your operating system. I'm not clear why removing restrictions has any impact on existing processes. For example, if I don't have read access to something and after a quick mistype in the terminal suddenly I now have access well... why does that cause Linux to break? How to solve and see resolution of $13^{53} \pmod 7$ using Fermat little Theorem? degree of freedom of a rigid body 5 or 6? I'm confused here. I have a three particle (rigid) system. What would be the degree of freedom? I found out five. 3 coordinates for center of mass and 2 for describing orientation. But we have only three constraints, i.e. three equations that reduce 9 coordinates by 3, 9 - 3 = 6, which gives 6 degrees of freedom?? Did I miss something above? Unexpected output of xargs The statement below should print afc abc but it prints abc abc instead. I tried many times but every time same result Don't know why this happens could anyone explain and help me?  echo abc|xargs -i{} echo $(echo {}|sed 's/b/f/g') {} Hair Paricle System not rendering properly on plane I have read several introductory texts about LSTM online, but none of them give a rigorously mathematical explanation of what the model actually does. For instance, why does the forget gate forget any more than any of the other gates in the LSTM unit?  Which papers and/or books should I read if I want to get a deeper understanding of LSTM? easy_install: command not found Is it possible to set an SSLProtocol in Apache for a single VirtualHost (poodle)? I'm trying to test a patch for the  that involves disabling SSLv3 on my web server. In order to test this on a non-production environment first, I'm setting the SSLProtocol on a VirtualHost for a different test server. My config looks something like this:  &lt;VirtualHost *:443&gt;     SSLEngine On     SSLProtocol All -SSLv2 -SSLv3     ServerName test.mysite.com     # bunch of other stuff omitted &lt;/VirtualHost&gt;   However even after restarting apache my test site is still claimed to be vulnerable. Is this expected to work? I'm wondering if I have to set it in the global ssl config or whether there's something else subtle that's causing the setting not to take and/or work. Show that if $f(z)=\sum\limits_{n\geq0}a_nz^n$ is analytic in $\{z\in\mathbb{C}:|z|&lt;1\}\cup\{1\}$ and $\forall n\geq0:a_n\geq0$ then the radius of convergence of the power series is strictly larger than $1$.  My approach:   Let $D=\{z\in\mathbb{C}:|z|\leq1\}$.  We have that $f(1)$ converges, so $\sum\limits_{n\geq 0} a_n&lt;\infty$. Moreover since the $a_n$'s are all positive we have that $|a_n|=a_n$, therefore $\sum\limits_{n\geq 0} |a_n|=\sum\limits_{n\geq 0} a_n&lt;\infty$.  Let $f_n(z)=a_nz^n$, then $\forall z\in D, n\geq 0$ we have:  $$|f_n(z)|=|a_nz^n|=|a_n|\cdot|z^n|=a_n\cdot |z|^n\leq a_n\cdot 1^n\leq a_n$$  Then, applying Weierstrass M-test we get that the power series is convergent in $D$.  Now, I need to "find" an open ball $B$ such that $D\subset B$ and the power series is convergent in it.  Edit  $f$ is analytic in $1$, so there is an open set $U$ that contains $1$ such that   $$f(z)=\sum\limits_{n\geq 0} b_n(z-1)^n$$  Does it mean that the series is convergent in $U$?   I can see that we have that the two series coincide in $D\cap U$. Prove by induction $\sum_{i=1}^ni^3=\frac{n^2(n+1)^2}{4}$ for $n\ge1$ Prove the following statement $S(n)$ for $n\ge1$:  $$\sum_{i=1}^ni^3=\frac{n^2(n+1)^2}{4}$$  To prove the basis, I substitute $1$ for $n$ in $S(n)$:  $$\sum_{i=1}^11^3=1=\frac{1^2(2)^2}{4}$$  Great. For the inductive step, I assume $S(n)$ to be true and prove $S(n+1)$:  $$\sum_{i=1}^{n+1}i^3=\frac{(n+1)^2(n+2)^2}{4}$$  Considering the sum on the left side:  $$\sum_{i=1}^{n+1}i^3=\sum_{i=1}^ni^3+(n+1)^3$$  I make use of $S(n)$ by substituting its right side for $\sum_{i=1}^ni^3$:  $$\sum_{i=1}^{n+1}i^3=\frac{n^2(n+1)^2}{4}+(n+1)^3$$  This is where I get a little lost. I think I expand the equation to be  $$=\frac{(n^4+2n^3+n^2)}{4}+(n+1)^3$$  but I'm not totally confident about that. Can anyone provide some guidance? First time using bevel tool, doesn't bevel evenly. What am i doing wrong? Story about human space explorers who run into alien telepath space crew I read a short story in an anthology around 1998 (the book could have been older than that) which went like this - A human space exploration scientific crew is exploring an alient planet (peaceful planet, as I recall) when they run into an alien spaceship (from a different planet which also happened to be there) - the aliens were telepaths.   The alien commander and first officer discuss the earthlings after a meeting and realize that the human crew are the descendants of a species (Banthu/Klanthu/Zantha, something like that) which had tried to violently take over the galaxy some 20/30/50,000 years ago and which had been beaten back by the combined might of the rest of the galaxy. They had supposedly been eliminated but they somehow managed to survive and are back in space only a few thousand years after they were completely beaten (which is something the aliens are amazed by).   The alien commander kills the human explorers via telepathy but realizes that there is no information available to locate their home planet and speculate that they will be meeting again soon given the past history of the humans.  I vaguely think there was also a fantasy short by L Sprague de Camp in the same anthology, but can't be 100% sure. Any thoughts/ideas? Thanks! How to record how much time user has spent on my node? I want to record the time a user has spent on my particular node so I could show a pop up to the user to register once the user has read 3 article. But the user must have spent at least 30 seconds on each node.   There is the  module available, but I wonder if I can merge it with another (custom) module I have created (which records the number of nodes user have visited)? Ubuntu Detects 2 monitors when I only have one If $p$ and $q = 2p + 1$ are both odd primes, show that $-4$ and $2(-1)^{(1/2)(p-1)}$ are both primitive roots modulo $q$.   I cannot get heads nor tails of how to even start this let alone finish it GRUB and LILO both fail to install to NVMe hard disk when installing Debian bash: syntax error near unexpected token `}' I tried using this:  $ if [$a == 1] then { echo 'yes'; } fi;   but I get an error:  -bash: syntax error near unexpected token `}'   What is the correct format?  I tried several with no luck.