I'm writing this in Ubuntu 16.04.5 LTS. I'm looking at Gnome Extensions for Ubuntu 18.04 that work with Gnome version 3.24 and breaks with version 3.26.  How can I find out using browser (google search doesn't tell me), apt list | grep ... or other means what version of Gnome Ubuntu 18.04 is using today?  Rebooting every time I want to know something about a version I haven't booted is inconvenient.    Test Results:  zcat /dev/nvme0n1p10/usr/share/doc/gnome-session-bin/changelog.Debian.gz | head -n1 gzip: /dev/nvme0n1p10/usr/share/doc/gnome-session-bin/changelog.Debian.gz: Not a directory   Important Note: I do not have 18.04 installed. I have 18.04 Unity installed. I want to know current known version would be installed so I can research bugs before installation.    EDIT: I'm not looking for the Gnome version of the current booted partition (as the duplicate candidate does) using:  $ apt-cache policy gnome-shell gnome-shell:   Installed: (none)   Candidate: 3.18.5-0ubuntu0.3   Version table:      3.18.5-0ubuntu0.3 500         500 http://ca.archive.ubuntu.com/ubuntu xenial-updates/universe amd64 Packages      3.18.4-0ubuntu3 500         500 http://ca.archive.ubuntu.com/ubuntu xenial/universe amd64 Packages   I'm looking for the gnome version for a partition that needs to be mounted first (18.04). Or simply a link to a website containing the current version numbers as of today for 14.04, 16.04, 18.04, etc.
Is there a way I can see all the versions that are in the archives that I have configured in sources.list. I can see the last version of each archive withapt-get policy, but how can I see them all?  Is there any way that this can also include PPA and anything in sources.list.d?
Old movie about aliens and a family; father briefly abducted About 15 or so years ago, I dimly recall watching a movie on TV about aliens, which really struck a chord, but I can't remember enough to google a name or anything more specific. The action takes place on Earth, perhaps in the USA. It was a live action movie, not animated.    It was about a family; the father (grandfather?) was an army pilot, and when he was flying, he was abducted by aliens (briefly, then returned, I think?). The (grand?)daughter is a little child, and her nanny is trying to teach her telekinetic abilities (perhaps a result of modifications done to the father?). I think I remember her also conjuring up a glowing orb between her hands. The nanny turned out to work for the aliens. There was also something about the government trying to chase/capture the family.   Any help will be appreciated! mkdir -p will create a directory; it will also make parent directories as needed.  Does a similar command exist for files, that will create a file and parent directories as needed? Explosive AR(MA) processes are stationary? I have a sample composed by 2500 count data values. I've plotted in R the corresponding histogram and ecdf. I've run the One-Sample Kolmogorov-Smirnov test to check if the distribution is either exponential or poisson, but I got negative results.  Is it possible that the One-Sample Kolmogorov-Smirnov test, it's not the correct test to work with this count data.  What is the best way to identify a distribution for this kind of data? First off, this is a question about a desktop application using Windows Forms, not an  question.  I need to interact with controls on other forms. I am trying to access the controls by using, for example, the following...  otherForm.Controls["nameOfControl"].Visible = false;   It doesn't work the way I would expect. I end up with an exception thrown from Main. However, if I make the controls public instead of private, I can then access them directly, as so...  otherForm.nameOfControl.Visible = false;   But is that the best way to do it? Is making the controls public on the other form considered "best practice"? Is there a "better" way to access controls on another form?  Further Explanation:  This is actually a sort of follow-up to another question I asked, . The answer I got was great and solved many, many organizational problems I was having in terms of keeping the UI straight and easy to work with both in run-time and design-time. However, it did bring up this one niggling issue of easily controlling other aspects of the interface.  Basically, I have a root form that instantiates a lot of other forms that sit in a panel on the root form. So, for instance, a radio button on one of those sub-forms might need to alter the state of a status strip icon on the main, root form. In that case, I need the sub-form to talk to the control in the status strip of the parent (root) form. (I hope that makes sense, not in a "who's on first" kind of way.) Insert distinct data into Combobox List How can I change the font of the top bar without changing the shell theme? I am using Ubuntu GNOME 17.04. I want to change the font of the GNOME top bar from the default font by Adapta to Fira Sans. I already have all the fonts, I just want to change the font of the top bar so it doesn't look out of place compared to everything else. How can I stand on the ground? EM or/and Pauli? Kernel Panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0) Uneven line height in XeTeX I'm embarking on a journey to create a conference abstract book using XeTeX and got stuck within five minutes:        The missing 'g' in 'somethin' influences the line height of the following line. How can I correct this?  At the end I want to be able to include the abstracts and corresponding information through our online registration system, so this should be a global setting.  My MWE:  \documentclass[10pt, a5paper]{article} \usepackage{fontspec}  %% GEOMETRY \usepackage[left=2cm, right=1.5cm]{geometry} % to change the page dimensions  \newenvironment{AbsHead} {     \fontsize{16}{22}\headfont\noindent }% {     \vspace{0.5 cm} }  \newenvironment{AbsAuthors} {     \fontsize{12}{14}\authorfont\noindent }% {    \vspace{0.5 cm} }  \begin{document}  ￼￼￼￼\setmainfont{Minion Pro} \newfontfamily\authorfont{Helvetica Neue Light} \newfontfamily\headfont{Helvetica Neue Condensed Bold}  \begin{AbsHead}The XIAP  something something something somethin somethin somethin somethin somethin somethin somethin something something\end{AbsHead}   \begin{AbsAuthors}Somebody Someone\end{AbsAuthors}   \noindent Purpose: Lorem ipsum \end{document} Diamond moderator privileges vs. 10k rep privileges? As we are in election period, I don't get the difference between getting to 10k reputation point and the diamond. What additional controls do you earn with the diamond ? I'm trying to use grep to show only lines containing either of the two words, if only one of them appears in the line, but not if they are in the same line.  So far I've tried  grep pattern1 | grep pattern2 | ... but didn't get the result I expected. The boundary of union is the union of boundaries when the sets have disjoint closures Assume $\bar A\cap\bar B=\emptyset$. Is $\partial (A \cup B)=\partial A\cup\partial B$, where $\partial A$ and $\bar A$ mean the boundary set and closure of set $A$?   I can prove that $\partial (A \cup B)\subset \partial A\cup\partial B$ but for proving $\partial A\cup\partial B\subset \partial (A \cup B)$ it seems not trivial. I tried to show that for $x\in \partial A\cup\partial B$ WLOG, $x\in \partial A$ so $B(x)\cap A$ and $B(x)\cap A^c$ not equal to $\emptyset$ but it seems not enough to show the result. If M is a non-orientable closed connected 3 manifold prove H1(M) is an infinite group. Getting key with maximum value in dictionary? Evaluating $\int_{0}^{\infty}\frac{\sin^{2n+1}x}{x}\mathrm{d}x$ I was generalizing the following integral: $$\int_{0}^{\infty}\frac{\sin^{2n+1}x}{x}\mathrm{d}x \hspace{40pt} n\geq 0$$ We can start by noting that $\sin x =\dfrac{e^{ix}-e^{-ix}}{2i}$ and thus $\displaystyle \sin^{2n+1}x=\frac{(-1)^n}{2^{2n}}\sum_{r=0}^n (-1)^r \binom{2n+1}{r}\sin(2r+1)x$. This implies $$\begin{aligned}\displaystyle \int_{0}^{\infty}\frac{\sin^{2n+1}x}{x}\mathrm{d}x &amp;=\frac{(-1)^n}{2^{2n}}\sum_{r=0}^n (-1)^r \binom{2n+1}{r}\int_{0}^{\infty}\frac{\sin(2r+1)x}{x}\mathrm{d}x \\ &amp;=\frac{(-1)^n\pi}{2^{2n+1}}\sum_{r=0}^n(-1)^r\binom{2n+1}{r} \\ &amp;=\frac{(-1)^n\pi}{2^{2n+1}}\sum_{r=0}^n\left((-1)^r\binom{2n}{r}-(-1)^{r-1}\binom{2n}{r-1}\right)\end{aligned}$$ Where I have used the well known  $\displaystyle \int_{0}^{\infty} \frac{\sin(2r+1)x}{x}\mathrm{d}x=\int_{0}^{\infty}\frac{\sin x}{x}\mathrm{d}x=\frac{\pi}{2}$ and the property of binomial coefficients that $\displaystyle \binom{n}{r}+\binom{n}{r-1}=\binom{n+1}{r}$ Since the above sum telescopes, we have $$\displaystyle \int_{0}^{\infty}\frac{\sin^{2n+1}x}{x}\mathrm{d}x=\frac{(-1)^n\pi}{2^{2n+1}}(-1)^n\binom{2n}{n}=\frac{\pi}{2^{2n+1}}\binom{2n}{n} ~\forall ~ n\in \mathbb{Z^{+}}$$ I would like to know other methods for evaluating this integral. Some observations I made is for $\frac{a}{b}+\frac{b}{a}$, is either:   the denominator has to be one, the numerator has to be a multiple of the denominator or  the numerator and denominator have to be the same.    Obviously, with the given conditions case 3 is eliminated since  $a \neq b$.  For case 1, if $b=1$, then $a=1$ which is a contradiction to the given condition that says $a \neq b$.  For case 2, I would think of examples. For example if $b=2$ then a multiple is $4$, so $a=4$. Then we have:  $$\frac{a}{b}+\frac{b}{a}=\frac{4}{2}+\frac{2}{4}=\frac{10}{4}$$  which is not an integer, but how would i proceed to show this case for all integers. Upgrade SQL Server 2000 database to 2008 R2 and enable new features How can I bootstrap? How can I bootstrap Drupal 8 from an external script?  This an example script from the .  require_once __DIR__ . '/vendor/autoload.php'; use PhpAmqpLib\Connection\AMQPStreamConnection;  $connection = new AMQPStreamConnection('localhost', 5672, 'guest', 'guest'); $channel = $connection-&gt;channel(); $channel-&gt;queue_declare('task_queue', false, true, false, false); echo " [*] Waiting for messages. To exit press CTRL+C\n"; $callback = function ($msg) {   echo ' [x] Received ', $msg-&gt;body, "\n";   sleep(substr_count($msg-&gt;body, '.'));   echo " [x] Done\n";   $msg-&gt;delivery_info['channel']-&gt;basic_ack($msg-&gt;delivery_info['delivery_tag']); };  $channel-&gt;basic_qos(null, 1, null); $channel-&gt;basic_consume('task_queue', '', false, false, false, false, $callback);  while (count($channel-&gt;callbacks)) {   $channel-&gt;wait(); }  $channel-&gt;close(); $connection-&gt;close();   Within a worker script like this, I need to be able to create nodes.  How can I bootstrap Drupal 8 in this script?  ? and  bootstraps passing a fake request to the kernel, which to me looks like a work-around.  In Drupal 7 you could do something like this, apparently.  // Bootstrap Drupal. include_once './includes/bootstrap.inc'; drupal_bootstrap(DRUPAL_BOOTSTRAP_FULL); Future Simple and Future Perfect I've read  about Future Simple and Future Perfect, but I still can't understand the exact usage of these two tenses. Is there any diffrence between the following?     I will do my homework by 6 p.m.   I will have done my homework by 6 p.m.       I will do my homework after school   I will have done my homework after school   Also, I've checked the word 'by' in  and there're some confusing examples:       By the time (that) this letter reaches you I will have left the country.   Can I use 'By the time (that) this letter reaches you I will leave the country' instead?