How to determine which process or application is using excessive data
Managing Metered Connections on OSX
Skipping Iterations in Python I have a loop going, but there is the possibility for exceptions to be raised inside the loop. This of course would stop my program all together. To prevent that I catch the exceptions and handle them. But then the rest of the iteration runs even though an exception occurred. Is there a keyword to use in my except: clause to just skip the rest of the current iteration? Upload images from the Stack Exchange Android app I would like to request implementation of uploading images to questions/answers from the Stack Exchange Android app, especially now as it would definitely help uploading screenshots for reporting bugs and feature requests. How do I merge 2 VMware disks in to a single one? I have installed an Ubuntu server on a VMWare workstation with a space of 20GB storage as seen below:    After the installation I've attached another 40GB worth storage to the existing Ubuntu server installation (seen below):    Now I want to add this 40GB to my / (root) directory it mean's  I want that my / directory became to 60G , like it will be resize from 20G to 60G (20G + 40G), i don't know what should i do, can any body help me ?  , my df -h result shows;  root@Userver:~# df -h Filesystem      Size  Used Avail Use% Mounted on /dev/sda1        18G  900M   16G   6% / udev            990M  4.0K  990M   1% /dev tmpfs           400M  308K  399M   1% /run none            5.0M     0  5.0M   0% /run/lock none            999M     0  999M   0% /run/shm none            100M     0  100M   0% /run/user root@Userver:~#   it must be 60G !  i have no graphic mode, then i can't use Gparted tools, i'm just have ssh access ! Profitable strategy in coin tossing? There is a coin with a probability $p$ of heads, and $1-p$ of tails. Tosses are independent of each other. When you bet an amount of money $x$, you receive $2x$ if it lands heads, and you lose what you bet if it lands tails.  We are going to use the following strategy:  You start betting an initial amount $x_0$. Every time you lose, you bet twice what you bet in the previous throw. You keep doing this, until you win, at which point you retire, or start again, betting $x_0$.  The interesting case of course is when $p &lt; 0.5$.  The question is: How profitable is this strategy? Intuitively I feel that eventually I can always win an arbitrarily large amount of money. But that can't be entirely right ("the house always wins!"). So what am I missing here? What's the expected win in each run?  Also, does this sort of strategy have a name in the literature?  P.S.: Found this later, Workflow for UV orientation How to I deal with unwrapped UVs orientation?   Delete the default Cube. Add a Cylinder Edit mode and edge select the Top and the Bottom and a single connecting edge. Make them into seams UV Unwrap (standard Unwrap mode)   The unwrapped UV now shows two circles above a row of quads. I can save this and open it in an image editor and paint over those areas and get the texture to align on the cylinder back in blender.  But, the pattern(just happens to be text) that was inserted in place of the row of quads is now upside down on the model. Any attempt to flip or align just makes things worse, from upside down to mirrored or the Top/Bottom not aligning.  So my real question is how could I have known that the quads represented an upside down view of the world?  Do other blender users export UVs and mark them with arrows and colours just to see how they align on a model before actually painting for real?  I tried selecting the edges in step 3 in different orders before making them into seams and it made no difference.  I also looked at the Normals but they appear to be only Inside/Outside not Up/Down.  Blender 2.70 How to prove $(-3) \times (-4) = 12$? How to logically understand the multiplication of two integers ?  Eg:  3 x 4 = 12 (is understandable)  -3 x4 = -12 (is also somewhat understandable)  But , 3 x -4 = -12 (is NOT understandable)  -3 x -4 = 12 (is also NOT understandable)  Now , at this we must assume that commutative property may not be true .  What is the logical explanation for something being multiplied negative times ? Unable to install LanguageTool 2.5 extension for LibreOffice 4.2 on Ubuntu 14.04 I am not able to install LanguageTool extension for LibreOffice. Getting exception when I try to install it.   p.s. Somebody says that the solution is installing openoffice.org-java-common package but Ubuntu 14.04 does not have this package in its repository.  System details:  OS: Ubuntu 14.04 LTS  LibreOffice: 4.2 (4.2.3.3)  LanguageTool: 2.5  Java: Oracle JDK 1.8.0_05     Exception message: How to break out of multiple loops? Given the following code (that doesn't work):  while True:     #snip: print out current state     while True:         ok = get_input("Is this ok? (y/n)")         if ok.lower() == "y": break 2 #this doesn't work :(         if ok.lower() == "n": break     #do more processing with menus and stuff   Is there a way to make this work? Or do I have do one check to break out of the input loop, then another, more limited, check in the outside loop to break out all together if the user is satisfied? C, C++ and Java IDE for Ubuntu Is there an IDE which can run on Ubuntu that supports C, C++ and Java? I installed , but it only supported Java. I installed the C/C++ package manually, but that package gives an error if I include iostream.   Is there any other IDE which can satisfy my needs? Or can I get NetBeans with all packages pre-installed in it? Ubuntu 18.04 not detecting full RAM size systemd in ubuntu 14.04 How to download a whole FTP site using command line? I need to download an FTP site (a web site source code actually) containing a very high quantity of relatively small files (downloading it with FileZilla took more than a day, but I believe it could be downloaded much faster if many files were downloaded at once). Unfortunately there is no SSH access to the site and no way to archive the files on the server side.  So at least the question is how to download a whole FTP site into a folder using command line tools. A better it'd be if the download could be parallelized by downloading many files simultaneously instead of one by one. Do you capitalize both parts of a hyphenated word in a title?  "My Ex-Wife Hates Me"  or  "My Ex-wife Hates Me" What do I do now if I contributed to Roth IRA in 2012-2013 and my MAGI exceeded the limit? In 2013 I opened a Roth IRA for year 2012, contributing $4000 for year 2012.   In 2014 I contributed $5500 to that same Roth IRA for year 2013.  In 2015, I realized I was not eligible to contribute to a Roth IRA in 2012 and 2013 due to MAGI exceeding the limit. I opened a new account (Traditional IRA), deposited $5500, then immediately did a conversion to a new Roth IRA. (This is the "backdoor" approach as I understand it, is perfectly legal, and what I should have done in previous years). So I believe my Roth IRA account #2 (for tax year 2015) is in good standing  So now, what exactly should I do with the first Roth IRA account that I contributed to (incorrectly) for years 2012-2013? Luckily (?) there is only about $500 of gain in the account at this time.  If I re-characterize it as "Traditional IRA", have I missed the opportunity to do the conversion to Roth IRA for years 2012 and 2013?  Out of curiosity: Had I not caught this error, what would be the implications at Retirement time when I tried to take money out of the Roth IRA? Would the funds be treated as ordinary income (plus penalty?)   Lastly, with all this seemingly "fancy footwork" opening Traditional IRA and converting to Roth IRA, what documents (if any?) do I need to hold on to when it comes time to withdraw from the Roth IRA at retirement time to ensure the tax-free benefit? Python HTTPS requests (urllib2) to some sites fail on Ubuntu 12.04 without proxy I have an little app I wrote in Python and it used to work... until yesterday, when it suddenly started giving me an error in a HTTPS connection. I don't remember if there was an update, but both Python 2.7.3rc2 and Python 3.2 are failing just the same.  I googled it and found out that this happens when people are behind a proxy, but I'm not (and nothing have changed in my network since the last time it worked). My syster's computer running windows and Python 2.7.2 has no problems (in the same network).  &gt;&gt;&gt; url = 'https://www.mediafire.com/api/user/get_session_token.php' &gt;&gt;&gt; response = urllib2.urlopen(url).read()   File "/usr/lib/python2.7/urllib2.py", line 126, in urlopen     return _opener.open(url, data, timeout)   File "/usr/lib/python2.7/urllib2.py", line 400, in open     response = self._open(req, data)   File "/usr/lib/python2.7/urllib2.py", line 418, in _open     '_open', req)   File "/usr/lib/python2.7/urllib2.py", line 378, in _call_chain     result = func(*args)   File "/usr/lib/python2.7/urllib2.py", line 1215, in https_open     return self.do_open(httplib.HTTPSConnection, req)   File "/usr/lib/python2.7/urllib2.py", line 1177, in do_open     raise URLError(err) urllib2.URLError: &lt;urlopen error [Errno 8] _ssl.c:504: EOF occurred in violation of protocol&gt;   What's wrong? Any help is appreciated.  PS.: Older python versions don't work either, not in my system and not in a live session from USB, but DO work in a Ubuntu 11.10 live session. How to add a confirm dialog to a command button? I'd think this would work just fine, but it seems to prevent the action function from firing regardless of the confirm response  &lt;apex:commandButton value="Remove All" action="{!removeAll}" rerender="form"      status="LoadingStatus" onclick="return confirm('Are you sure?');"/&gt; How much time is too much time playing educational computer games? I recently bought an iPad primarily for my 3-year-old daughter. I put nothing on it but educational apps and children's books. No YouTube, no Internet, no (non-educational) games. I've decided to let her use it as much as she wants, for now, and see how it goes. That was a few weeks ago.  So far she's been using the iPad maybe 2 to 5 hours each day. She still enjoys other activities -- playing outside, playing with dolls and blocks, interacting with friends, being read to, etc. And I think she might be learning a thing or two from the apps. Still, several hours a day seems like a lot. How do I know if it's too much?  I've searched the web, and there's lots of info on limiting TV time and video games, but I can't find any recommendations on limiting use if it's only educational games.  Relevant: What is the best way to identify outliers in multivariate data? Suppose I have a large set of multivariate data with at least three variables. How can I find the outliers? Pairwise scatterplots won't work as it is possible for an outlier to exist in 3 dimensions that is not an outlier in any of the 2 dimensional subspaces.  I am not thinking of a regression problem, but of true multivariate data. So answers involving robust regression or computing leverage are not helpful.  One possibility would be to compute the principal component scores and look for an outlier in the bivariate scatterplot of the first two scores. Would that be guaranteed to work? Are there better approaches? Is it possible to test apex that relies on field history tracking? I have some code that relies on field history tracking by querying the History for a custom object. This works fine, but it appears that the history records aren't created during the test so none of my tests will pass. What is the best choice for .NET inter-process communication?