I am still using ubuntu 17.04 (Because some features were not working in 17.10). Now I want to upgrade to 18.04. But update manager is showing that "Upgrade from zesty to bionic is not supported with this tool." When tried to upgrade from terminal, it is also showing the same. What can I do now ?
Recently I have installed an older version of Ubuntu on my old machine. Whenever I try to install any software, I get an error saying it couldn't be found:  $ sudo apt-get install vlc Reading package lists... Done                Building dependency tree        Reading state information... Done     E: Couldn't find package vlc
How to implement uniform grids Up until now, I implemented all-against-all collision detection in my games. It worked fine.  But I reached a point where implementing this kind of collision detection, makes the game run poorly, because there are two many objects to iterate through and check for collision.  I have searched this site and found something about 'uniform grids'. But I didn't completely understand what it is and how to implement it. Tried to Google it but nothing easy enough to understand came up.  I am a beginner to 2D-game programming. Do you mind trying to explain to uniform-grids, or link me to some good tutorial?  Thanks a lot Suppose that I have a &lt;div&gt; that I wish to center in the browser's display (viewport). To do so, I need to calculate the width and height of the &lt;div&gt; element.   What should I use? Please include information on browser compatibility. How to Evaluate $\int e^{2x}\sin(3x)\ dx$? Integration by parts - unless I'm not thinking straight - doesn't seem to help here.. If I pick either of the functions $e^{2x}$ or $\sin(3x)$ to be $u$ or $dv$, they don't change to anything easier... $e^{2x}$ stays in the form $e^x$ and $\sin(3x)$ flip-flops between $\sin(3x)$ and $\cos(3x)$, neglecting the constant that gets introduced.  So how can I approach solving this? $u$-substitution doesn't seem to be something I can use either. Google Chrome: Is there a keyboard shortcut to open a link in a new tab? Is is possible to open a link in a new background tab in Google Chrome with a keyboard shortcut?  (I know it's possible with Ctrl+click and middle click, and I know that Shift+Enter opens the link in a new browser window.) In my book, it proves that an infinite subset of a coutnable set is countable. But not all the details are filled in, and I've tried to fill in all the details below. Could someone tell me if what I wrote below is valid?  Let $S$ be an infinite subset of a countable set $T$. Since $T$ is countable, there exists a bijection $f: \mathbb{N} \rightarrow T$. And $S \subseteq T = \{ f(n) \ | \ n \in \mathbb{N} \}$. Let $n_{1}$ be the smallest positive integer such that $f(n_{1}) \in S$. And continue where $n_{k}$ is the smallest positive integer greater than $n_{k-1}$ such that $f(n_{k}) \in S$. And because $S$ is infinite, we continue forever. Now consider the function $\beta : \mathbb{N} \rightarrow S$ which sends $k \rightarrow f(n_{k})$.   So in order for $S$ to be countable, $\beta$ would have to be a bijection. $\beta$ is injective since if $f(n_{k}) = f(n_{j})$, then $n_{k} = n_{j}$ because $f$ is injective. We also can conclude $k = j$ because the various $n_{i}$ chosen were strictly increasing.   Edit: $\beta$ also needs to be surjective. So for every $r \in S$ there exists a $q \in \mathbb{N}$ such that $\beta(q) = f(n_{q}) = r$. We know that $f^{-1}(r) \in \{n_{1}, n_{2}, ..., n_{k} ... \}$, so we can let $f^{-1}(r) = n_{d}$. Thus $\beta(d) = f(n_{d}) = r$. Now that Unity is gone, the usual way of setting a Compose Key (via Keyboard Preferences > Layout) no longer works (because in Ubuntu 18.04, Devices > Keyboard has no Layout tab).  How do we set a Compose Key in Ubuntu 18.04 Bionic Beaver? Run a command in a shell and keep running the command when you close the session I am using Putty to connect to a remote server. What I want to know is if there is any way to write my commands and allow them to keep running after I close the session with Putty. The reason for this is that I do not want to keep the computer ON all the time. Is there any way to do this?.  Update with the solution  For my question as it is presented the best solution is use one of the commands provided such as nohup, because you do not have to install any additional software. But if you are in the same problem use screen, install it and use it. It is amazing.  I have selected the answer of Norman Ramsey as favourite because propose several solutions using commands and screen. But please check the other answers specially the one of PEZ, then you get an insight of what screen is able todo. Is there any information in canon to indicate that Dumbledore knew that the Marauders were Animagi? Is there any information in canon (or from JKR) to indicate that Dumbledore knew that three of the Marauders were Animagi?  I can't recall anything, but Harry seems to be firmly convinced that Dumbledore knows "everything that goes on around here," and that assessment seems to be accurate during Harry's years. Does the Rule of Two Serve any Actual Purpose? I know Darth Bane came up with the Rule of Two to ensure the survival of the Sith, but, in reality (or in the Star Wars reality), does it (or any Sith rule) serve a true purpose?  And why does each successive Sith bother with it?  Due to the nature of the Sith, Sith Lords tend toward arrogance and self-importance.  Both the Sith master and Sith apprentice seem to regularly break the rule by training others.  Deceit and personal interest over loyalty is a way of life for the Sith.  What is to keep any Sith from following the Rule of Two (or any rule, for that matter) if it is against their own self interest?  If a Sith Master can stay in power longer by training a 2nd apprentice and pitting the two against each other, is he really going to worry about the Rule of Two more than his own plans and survival?  The Rule of Two also assumes that every Sith Master would place the survival of the Sith over his own survival, as opposed to attempting to ensure his own immortality in whatever way he could (like Plagueis).  When you have a group that, by default, is arrogant and self-serving, as well as deceptive, why would they want the Sith to survive themselves?  I can see how the Rule of Two, and any other Sith beliefs would be possible guidelines, but it terms of the nature of ambitious people (and the Sith are ambitious), it's hard to believe that each new Sith Master would follow this rule faithfully.  So does this rule, or any Sith rule, actually work?  Or is it more of a suggestion that is broken when convenient? Bash scripts ran from from gnome/nautilus don't have environment variables Why isn't my Minecraft LAN server working? A nasty integral of a rational function I'm having a hard time proving the following $$\int_0^{\infty} \frac{x^8 - 4x^6 + 9x^4 - 5x^2 + 1}{x^{12} - 10 x^{10} + 37x^8 - 42x^6 + 26x^4 - 8x^2 + 1} \, dx = \frac{\pi}{2}.$$  Mathematica has no problem evaluating it while I haven't the slightest idea how to approach it. Of course, I would like to prove it without the use of a computer. Is this an explicit form of a special function I fail to recognize? How to add Windows to GRUB I have my encrypted Archlinux installed on my SSD. Now I have one HDD with Windows installed. But in my GRUB just Archlinux is shown (no Wonder, because I just installed Windows on the other HDD, GRUB doesn't know of that by now.).  My Question is, how do I properly add my Windows-HDD to GRUB, so that I can choose which to boot when starting?  I am a little bit afraid of destroying my GRUB so I can't boot my encrypted Archlinux anymore.  Thanks! I stumbled upon this "relation" (is the name correct?):  $$ \lim_{m \to \infty} \lim_{n \to \infty} \cos^{2n}(m! \pi x) = \begin{cases} 1,&amp;x\text{ is rational}\\ 0,&amp;x\text{ is irrational}\end{cases} $$  How is it called and why is it so? I'm really not asking for a proof since I fear it would be too complicated for me to understand, but rather for an "intuition". Gameplay programmers write game code, but so do game designers and developers. Where is the line drawn? What skills do gameplay programmers use that game designers or developers do not? Why is $a^n - b^n$ divisible by $a-b$? I did some mathematical induction problems on divisibility   $9^n$ $-$ $2^n$ is divisible by 7. $4^n$ $-$ $1$ is divisible by 3. $9^n$ $-$ $4^n$ is divisible by 5.   Can these be generalized as $a^n$ $-$ $b^n$$ = (a-b)N$, where N is an integer? But why is $a^n$ $-$ $b^n$$ = (a-b)N$ ?  I also see that $6^n$ $- 5n + 4$ is divisible by $5$ which is $6-5+4$ and $7^n$$+3n + 8$ is divisible by $9$ which is $7+3+8=18=9\cdot2$.  Are they just a coincidence or is there a theory behind?  Is it about modular arithmetic? Are there infinitely-many numbers that are both square and triangular? I just started to read "Friendly Introduction to Number Theory" but I am getting stuck in the first exercises.     1.1. The first two numbers that are both squares and triangles are 1 and 36. Find the next one and, if possible, the one after that. Can   you figure out an efficient way to find triangular–square numbers? Do   you think that there are infinitely many?     I found how to find out the number which is both square and triangle. (don't know if this is effective way)    However how can I answer "Do you think that there are infinitely many?"? I think I need to find the formula but no idea yet. Can you please help me? Proof for Property of Complex Numbers Is the inequality $\lvert z_1 + z_2 \rvert \ge \lvert z_1 \rvert - \lvert z_2 \rvert$ incorrect, where $z_1$ and $z_2$ are any two complex numbers? I need an example to prove that it is. And in case it is correct, can you please give the proof? Thanks for any help. Where is attribute table in ArcGIS Desktop when not visible? I've just updated to ArcGIS 10.1 for Desktop and when I go to open an attribute table, I can not see it anywhere.   I'm wondering if it is off my screen somewhere or if its just super tiny that I can't see it.   I'm using dual monitors and it's not popping up on either.  Is there a way I can find my attribute table? Invest money and get 120% back - a site says