Increasing home partition with Kali and Windows installed
How to resize partitions?
How does "proof of effort" make a question better? It seems like many questions by new users are downvoted immediately.  Sometimes there is a comment to the tune of "lacks research", "we're not here to do your homework", or "show us some effort".  Now I wonder, what does it matter how much work someone has done before posting?  If someone can ask a good question in 5 seconds, more power to them.  To illustrate this point, look at how you could "improve" a question to include proof of effort.  You could put in 5 failed code snippets and their in- and output.  This would make for very long questions with a high noise ratio.  Another suggestion is to add "research".  By "research", I suppose most programmers mean "Google".  So this is basically a suggestion to add a list of fruitless Google queries.  That doesn't sound interesting either.  How can "proof of effort" turn a bad question into a good one? If you have an array of Java objects which have a primitive type (for example Byte, Integer, Char, etc).  Is there a neat way I can convert it into an array of the primitive type?  In particular can this be done without having to create a new array and loop through the contents.  So for example, given  Integer[] array   what is the neatest way to convert this into  int[] intArray   Unfortunately, this is something we have to do quite frequently when interfacing between Hibernate and some third party libraries over which we have no control.  It seems this would be a quite common operation so I would be surprised if there's no shortcut.  Thanks for your help! Dispose or Recycle Hard Drive I have 3 old 3.5" internal hard drives sitting gathering dust at the moment. 2 are SATA, and one IDE. I want to either start putting them to use, or dispose of them to clear up some space.  What is the best approach towards disposing of the drives in terms of thoroughly cleaning the contents before throwing away or selling? Are there any recommendations for good software to use to do this?   Are there any 100% successful methods which result in having a usable drive at the end? The statement is:     In a commutative ring with 1, every proper ideal is contained in a maximal ideal.   and we prove it using Zorn's lemma, that is, $I$ is an ideal, $P=\{I\subset  A\mid A\text{ is an ideal}\} $, then by set inclusion, every totally ordered subset has a bound, then $P$ has a maximal element $M$.  My question is why $M$ must contain $I$? Understanding MongoDB BSON Document size limit Can a word be contracted twice (e.g. "I'ven't")? How can you duplicate weapons in Borderlands 2? I want to get 2 identical Unkempt Harolds for my Gunzerker, and I do not want to Tourge token grind. I have one already, but I want to get another. How would I duplicate with the newest version of PC BL2? Can a single player build a clan dojo? Is it possible for an one-or-two-person clan to build a dojo? If so, what are the resources involved?   I'd like to experience the whole Dojo building experience so I don't plan to join an existing Clan with a dojo already. Low-RAM Linux Distro Specifically for serving static sites I'm looking for a near-zero-configuration linux distro that is designed specifically for serving static web sites and nothing else on a low-RAM machine (I'm planning on 128MB, but the option of less would be nice).  Any ideas of a linux distro specifically tuned for serving static sites in a small footprint? I'm using NetBeans, trying to change the familiar Java coffee cup icon to a png file that I have saved in a resources directory in the jar file.  I've found many different web pages that claim they have a solution, but so far none of them work.  Here's what I have at the moment (leaving out the try-catch block):  URL url = new URL("com/xyz/resources/camera.png"); Toolkit kit = Toolkit.getDefaultToolkit(); Image img = kit.createImage(url); getFrame().setIconImage(img);   The class that contains this code is in the com.xyz package, if that makes any difference.  That class also extends JFrame.  This code is throwing a MalformedUrlException on the first line.  Anyone have a solution that works? I am trying to solve this exercise from Royden's 3rd edition.     The question is as follows: Let $f$ be a real-valued function defined for all real numbers. Show that the set of points at which $f$ is continuous is a $G_{\delta}$.    Let $$A_n = \{y : \text{there is a }~\delta_y \gt 0 : |f(s)-f(t)|\lt 1/n ~ \text{whenever}~ s,t \in (y-\delta, y+\delta)\}\;.$$     Then by the definition of open sets, $A_n$ is open.     To complete the proof, I need help in showing that $f$ is continuous at say $x$ if and only if $x\in \cap A_n$.     If $f$ is continuous at $x$, the there is a $\delta \gt 0$ such that $|f(x) - f(a)| \lt 1/n$ whenever, $x\in (a-\delta, a+\delta)$. so $x \in A_n$ son it must be in $\cap A_n$.  Thanks. Is volunteer work allowed in the US while visiting under the VWP or a B1/B2 visa? I am going to Santa Monica for 4 weeks to polish my English in July and would like to volunteer at the Planetary Society located in Pasadena.  I am a Swiss citizen and have a biometric passport. However, I don't have any special visa, as there is no visa needed for the school I am attending and using the Visa Waiver Program, I am allowed to stay up to 90 days in the US.  Am I allowed to do volunteer work during my stay? How to Uninstall Blender Software I installed Blender for a project working on and it's way more than I need. I'd like to uninstall it, but can't figure out how to do so. It's not showing up in Programs (using Windows 9) and I can't find instructions on how to remove it in the Blender documentation. Any assistance would be greatly appreciated. Thanks. ModernCV Remove horizontal line in sections I want to write my cv with moderncv-Classic style. Can you tell me, how I can remove the horizontal line in the left of each section? Can I use an Android phone as webcam for an Ubuntu device? Programming pattern to generate VGA signal with micro-controller? Why isn't Harry Potter punished for using magic outside of Hogwarts in Prisoner of Azkaban? Can I install Android on my non-Android device? Calculating $\sum_{n=1}^\infty\frac{1}{(n-1)!(n+1)}$ I want to calculate the sum:$$\sum_{n=1}^\infty\frac{1}{(n-1)!(n+1)}=$$  $$\sum_{n=1}^\infty\frac{n}{(n+1)!}=$$ $$\sum_{n=1}^\infty\frac{n+1-1}{(n+1)!}=$$ $$\sum_{n=1}^\infty\frac{n+1}{(n+1)!}-\sum_{n=1}^\infty\frac{1}{(n+1)!}=$$ $$\sum_{n=1}^\infty\frac{1}{n!}-\sum_{n=1}^\infty\frac{1}{(n+1)!}.$$  I know that $$\sum_{n=0}^\infty\frac{1}{n!}=e$$  so $$\sum_{n=1}^\infty\frac{1}{n!}=\sum_{n=0}^\infty\frac{1}{n!}-1=e-1$$  But, what can I do for $$\sum_{n=1}^\infty\frac{1}{(n+1)!}$$ ?  Am I allowed to start a sum for $n=-1$ ? How can I bring to a something similar to $$\sum_{n=0}^\infty\frac{1}{n!}$$? Upgrade to the specific php 7.1/7.2 from php 7.0 in Ubuntu 16.04 How can I upgrade to php 7.1 from php 7.0 in ubuntu 16.04 ?  If I do a php -v I get this message:  PHP 7.0.8-0ubuntu0.16.04.3 (cli) ( NTS ) Copyright (c) 1997-2016 The PHP Group Zend Engine v3.0.0, Copyright (c) 1998-2016 Zend Technologies     with Zend OPcache v7.0.8-0ubuntu0.16.04.3, Copyright (c) 1999-2016, by Zend Technologies