Unable to increase partition size using gparted on Ubuntu 16 I have a 50GB partition (sda10) that I want to merge with an existing partition of 172GB (sda4). How do I go about it?  The partitions are not contiguous. I am new to Ubuntu and don't want to mess up my system badly.
Resize Move Partitions on Dual Boot System I would like to be able to adjust the partitions shown below. Specifically, I want to add an additional 10GB from the unallocated space to /dev/sda5 (Ubuntu install). I will then format the remaining unallocated space as NTFS so it can be shared data between Windows and Ubuntu.   I am unable to increase the size of /dev/sda5 - I am only able to shrink it.  Any assistance would be greately appreciated.
It is discouraged to simply catch System.Exception. Instead, only the &quot;known&quot; exceptions should be caught. Now, this sometimes leads to unnecessary repetitive code, for example: try {     WebId = new Guid(queryString[&quot;web&quot;]); } catch (FormatException) {     WebId = Guid.Empty; } catch (OverflowException) {     WebId = Guid.Empty; }  I wonder: Is there a way to catch both exceptions and only call the WebId = Guid.Empty call once? The given example is rather simple, as it's only a . But imagine code where you modify an object multiple times, and if one of the manipulations fails expectedly, you want to &quot;reset&quot; the object. However, if there is an unexpected exception, I still want to throw that higher. $\mathbb Q$ is not the direct product of two non-trivial groups. I know this has been asked before, in a bunch of places, so I expect it to be closed as a duplicate at some point, but I'd like to know if my own proof works. If the proof is incorrect, please limit answers to pointing out the errors. If the proof is correct, then thoughts on improving it would be appreciated.  Prove that $\Bbb Q$ is not the direct product of two non-trivial groups.  —Aluffi exercise II.3.5. My proof Suppose that $\Bbb Q = G \times H$, neither $G$ nor $H$ trivial. First note that $0_G$ is the only element of $G$ with finite order: If $m\ne 0$ and $m\cdot g=0_G$, then $m\cdot(g,0_H)=0_{G\times H}$, contradicting the fact that $\Bbb Q$ has no non-zero elements of finite order. Suppose that for some $m\ne 0$ and some $n\ne 0$, $\pi_G(m/n)=0_G$. Then $0_G=n\cdot\pi_G\left(\frac m n\right)=\pi_G\left(n\cdot\frac m n\right)=\pi_G(m)=m\cdot\pi_G(1)$. Since $\pi_G(1)$ has finite order, we conclude that $\pi_G(1)=0$. Since $\Bbb Z=\langle 1\rangle$, $\pi_G$ maps every integer to $0_G$. Now let $a$ and $b$ be non-zero integers. Then $b\cdot\pi_G\left(\frac a b\right)=\pi_G\left(b\cdot \frac a b\right)=\pi_G(a)=0_G$. As above, this shows that $\pi_G\left(\frac a b\right)=0_G$. Thus if $\pi_G$ is not an injective function, then it must map everything to $0_G$, so $G$ will be a trivial group. The same result holds for $\pi_H$. Since by assumption, $G$ and $H$ are non-trivial, $\pi_G$ and $\pi_H$ are both injective functions, which is of course impossible. When does a Möbius transformation map $\Im(z)>0$ to itself? Show Möbius transformation which maps $\Im(z)&gt;0$ to itself iff  $$ f(z)= \frac{az+b}{cz+d}\,,\,\,ad-bc&gt;0$$ and $a,b,c,d$ are real. This question is present as a matter of historical interest.  While you are encouraged to help maintain its answers, please understand that "big list" questions are not generally allowed on Ask Ubuntu and will be closed per the .   It is possible to greatly extend the usage time of a laptop or netbook running on battery by disabling various services and installing various packages.   What tricks or tips do people have for getting an extra hour or two out of their batteries? What is the idiom for "as anyone can see" or "clearly"? I keep wanting to say "the handwriting on the wall," but that's not correct. The place I'm trying to use it is, "Alice likes Bob, Carol likes Bob, Alice thinks Bob likes her, but Bob dates Carol, and so as anyone can see, Bob did not like Alice."  What is the appropriate idiom here? I can't destroy blocks in Minecraft Creative Mode (singleplayer) basic geometry angle problem Two straight lines, AB and AD, lie in the same vertical plane. AB makes an angle of 25 degrees with the horizontal, and AD makes 32 degrees with the vertical. What is the angle between AB and AD?  The answer is 33 degrees or 93 degrees.   I cannot visualize what this question is asking. It says both AD and AD lie on the same vertical plane, then immediately says AD makes 32 degrees with the vertical. Isn't this a contradiction? Does $\sum_{k=1}^\infty\frac1{k^n}$ converge for $\Re(n)=1,\Im(n)\ne0$?  The ratio test is inconclusive.  It passes the term test for $\Re(n)=1$, but this is not sufficient to prove convergence.  Since we are dealing with so many complex numbers, I do not know of any convergence tests for this.  I know that if it is convergent, it is conditionally convergent. Why do eukaryotic organisms have introns in their DNA? We touched on introns and exons in my bio class, but unfortunately we didn't really talk about why Eukaryotes have introns. It would seem they would have to have some purpose since prokaryotes do not have them and they evolved first chronologically, but I could easily be wrong. Did the junk sections of DNA just evolve there by some sort of randomness or necessity as opposed to an actual evolutionary advantage? Why hasn't evolution stopped us from having introns since they seem to be a 'waste' of time and DNA? Why do prokaryotes not have introns? WordPress Installation Failed I am trying to install Wordpress on Lubuntu. I followed the instructions . Including PHP Apache and MySQL setups. Apache and MySQL appear to be running fine.  However, when I go to http://localhost/blog/, I get the following error:     Neither /etc/wordpress/config-localhost.php nor /etc/wordpress/config-localhost.php could be found.   Ensure one of them exists, is readable by the webserver and contains the right password/username. I am new to Drupal. I have been trying to make a slide show on the front page but I am facing an issue on how to upload images of my choice in the slide show. I.e. the images that I have in my computers folder.  I have created a view and placed an image field in it, everything is set. I have also added the block to the main page content. All I can see on the front page is the slider title obviously since i have not been able to add any images.   Can any body tell me how to set my own images to the slider?  I don't want to use fixer slider.  I have used views slide show and some other js files for cycle.  Edit: Here is a screenprint of the view I defiined so far: Why do I have different IP addresses on different websites? My wireless router shows the IP address is 113.46.75.*, which some websites like ip138.com, www.ip.cn show as my IP.   But other websites, like googling for "what is my ip", www.whatismyip.com, www.whatsmyip.org, show that my IP is 121.18.126.*.   I am very curious why this happens and how is it possible.   So, why do different websites show that I have different IPs?  Thanks all!  Plus: I changed my IP address several times (restarting the modem) and all addresses is like 113.46.*.*, but my IP address does not change when googling for "what is my ip".  My ISP is a small company, so I think it is true that when visiting some websites, I am NATted or proxied to some IP addresses which have access to those websites -- not to avoid firewall though, since I am still blocked from some websites.  But I still want some more information or resources to support our guess. Thank you! "Each person's car" vs. "each persons' car" Which of the following is correct?        Each person's car has four wheels.   Each persons' car has four wheels. As i am new to blender i decided to learn by recreating some animations which have some interesting problems, and gain more knowledge about how tv intros are being done, collecting some parody intros to videos. I came across a simple yet troublesome effect , found no answer by googling or getting through tutorials and testing methods on this case led me to nowhere.     I attempted to recreate the animation above, especially  the extending/appearing/drawn white strip with "randomly" placed gaps , strip which travels just above surface , casting shadow.   Tried dynamic paint,( with alpha channel) image sequence texture but although effect was very similar, whole invisible strip was casting shadow being Z transparent, in places where white color haven't reached yet.  I tried bezier curves as well(vector mode) but it appears that taper cant profile part in squary way, or maybe i am missing something here.  Shape keys seem to hard way to go , while keeping whole animation of stripe "unrolling" at constant speed.  I tried as well putting an array of planes on the path but it is completely not what i attempt to achieved.   I will edit post and add some pictures tomorrow. Best way to start investing, for a young person just starting their career? Many other solutions of the Cauchy's Functional Equation By reading the  on the Wiki,  it is said that      On the other hand, if no further conditions are imposed on f, then (assuming the axiom of choice) there are infinitely many other functions that satisfy the equation. This was proved in 1905 by Georg Hamel using Hamel bases. Such functions are sometimes called Hamel functions.   Could anyone give a more explicit explanation of these many other solutions?   Besides the trivial solution of the form $f(x)=C x$, where $C$ is a constant, and the solution above constructed by the Hamel Basis, are there any more solutions existing? How can I compute the integral $\int_{0}^{\infty} \frac{dt}{1+t^4}$? I have to compute this integral $$\int_{0}^{\infty} \frac{dt}{1+t^4}$$ to solve a problem in a homework. I have tried in many ways, but I'm stuck. A search in the web reveals me that it can be do it by methods of complex analysis. But I have not taken this course yet. Thanks for any help. How exactly do DLL files work? There seems to be an awful lot of them, but I don't know what they are or how they work.  So, what's the deal with them? When to use Stateful session bean over Stateless session bean? What is __init__.py for? What is __init__.py for in a Python source directory?