How to decide bootstrap number of runs?
Rule of thumb for number of bootstrap samples
When do we double the consonant before '-ing' affix? My son is learning how to spell. He is doing a good job listening to sounds and working out spelling that way (which doesn't work for many words, but at least a lot of common ones), but although he's gotten the -ing chunk, he frequently misses doubling letters in these words.  Is there a guideline for when the end consonant is doubled? He's working on these sorts of words:        riding   sitting   skating   writing   getting Change elements on different positions within a list In non-relativistic QM, the $\Delta E$ in the time-energy uncertainty principle is the limiting standard deviation of the set of energy measurements of $n$ identically prepared systems as $n$ goes to infinity. What does the $\Delta t$ mean, since $t$ is not even an observable? Can you dispel a magic effect you can't perceive? Discussions about Dispel Magic seem to imply that as long as you can perceive a magic effect in range of the spell, you can try and dispel it.   See  and  from @Miniman:      knowing where it is means that you know where it is. This allows you to use spells like Dispel Magic to remove its invisibility.   But what if you can't perceive it?  Two scenarios come in mind:   In combat, an evil wizard casts Invisibility on himself, walks away from the fray and uses the hide action on his next turn. Since PCs know/assume/deduce he's invisible and certainly in range of the spell, can one use Dispel Magic to end the spell? PCs enter a 80'&times;80' room. Can one declare: "I dispel any Invisibility spell in range", thus revealing one (the closest?) invisible enemy in the room?   What's enough to enable a caster to cast Dispel Magic on a magic effect:    perceiving (seeing, hearing, smelling, etc.) it? knowing/assuming/deducing it's there? or merely suspect/predict it? How to concatenate items in a list to a single string? How to Compact geodatabases in multiple directories using ArcPy? I am trying to write a script to walk through all folders in my workspace and find and compact all geodatabases in my workspace.  I feel like I'm on the right track but I am stuck.  import acrpy, os from arcpy import env  arcpy.env.workspace "C:"  for (path, dirs, files) in os.walk(arcpy.env.workspace)     for file in files         if ".gdb" in file:         workspaces = arcpy.ListWorkspaces("*", "FileGDB")             for workspace in workspaces:             arcpy.Compact_management(workspace)   I am using ArcGIS 10.2.2 for Desktop. Trying to purge MySQL fails I'm running in circles currently, trying to fix some mysql problem.  I couldn't use apt-get for a while now, because it always stuck at the line Setting up mysql-server-5.6 (5.6.27-0ubuntu0.15.04.1) ... and didn't let me do anything. So I tried to reinstall mysql, purging it. While I was able to remove mysql-server and mysql-client eventually, I'm still unable to purge mysql-common. Obviously, I managed to corrupt something, but how can I get my system back and running at this point?  ...:~# apt-get purge mysql-common Reading package lists... Done Building dependency tree        Reading state information... Done The following packages will be REMOVED:   mysql-common* 0 upgraded, 0 newly installed, 1 to remove and 5 not upgraded. After this operation, 0 B of additional disk space will be used. Do you want to continue? [Y/n] Y (Reading database ... 423600 files and directories currently installed.) Removing mysql-common (5.6.27-0ubuntu0.15.04.1) ... Purging configuration files for mysql-common (5.6.27-0ubuntu0.15.04.1) ... update-alternatives: error: /var/lib/dpkg/alternatives/my.cnf corrupt: invalid status dpkg: error processing package mysql-common (--purge):  subprocess installed post-removal script returned error exit status 2 Errors were encountered while processing:  mysql-common E: Sub-process /usr/bin/dpkg returned an error code (1)   -  ...# sudo dpkg -P --force-all mysql-common (Reading database ... 424733 files and directories currently installed.) Removing mysql-common (5.6.27-0ubuntu0.15.04.1) ... Purging configuration files for mysql-common (5.6.27-0ubuntu0.15.04.1) ... update-alternatives: error: no alternatives for my.cnf dpkg: error processing package mysql-common (--purge):  subprocess installed post-removal script returned error exit status 2 Errors were encountered while processing:  mysql-common   -  ...:~# lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description:    Ubuntu 15.04 Release:    15.04 Codename:   vivid   My goal is to just get it back and running again (mysql). Like when you want to say that you'll tell a short version of something which would alter the accuracy of the original version.  I was thinking of "In a nutshell" and "To make a long story short", but I felt like those phrases did not place emphasis on the "there might be an insignificant loss of accuracy" aspect. I'm studying for a midterm and need some help with proving summation     $$\sum\limits_{k=0}^n\binom{n}{k}2^k = 3^n$$   using the binomial theorem.  This is what I've been thinking so far:   In the binomial theorem, we set $x = 0$ and $y = 2$, so:  $3^n = (x+y)^n = \sum\limits_{k=0}^n\binom{n}{k}y^k$  $ = \sum\limits_{k=0}^n\binom{n}{k}2^k$  Am I getting this correct so far or completely wrong? Any help would be appreciated. Thanks. UIToolbar tint on iOS 4 present continous or present perfect continous? Should I write 'I have been reading a book now' or 'I am reading a book now'? I started to read one week ago and I haven't ended yet. Thanks for help Correct plural form of a noun preceded by "zero" When using zero as a quantifier, is it correct to use the singular form on the object of the quantifier, or the plural form?  It sounds confusing when I put it that way, but what I mean is: Which is correct?   Your password expires in 0 days. Your password expires in 0 day.   Essentially I suppose I'm asking, does "singular" mean "one" or "the opposite of more than one", as zero is not "plural" in the traditional "more than one" sense?  I'm pretty sure "days" sounds correct, but I can't be sure. New questions, Show Recommended, Sort Newest not working Select New questions, show Recommended and sort by Newest and the  in my list is from 2012:  EDIT The very old questions now appear to be gone (yay) but the ordering seems inconsistent (boo): Export Track Markers to csv I am trying to export markers from the Blender motion tracker and found the following script that will do exactly that:  for clip in D.movieclips:     for track in clip.tracking.tracks:         fn = 'data/tr_{0}_{1}.csv'.format(clip.name.split('.')[0], track.name)         with open(fn, 'w') as f:             frameno = 0             while True:                 markerAtFrame = track.markers.find_frame(frameno)                 if not markerAtFrame:                     break                 frameno += 1                 coords = markerAtFrame.co.xy                 f.write('{0} {1}\n'.format(coords[0], coords[1]))   It works but I have two questions:   How can I save the data on my Desktop rather than in folder in MacOS blender content where it saved right now. The following won't work:   fn = '/User/me/Desktop/data/tr_{0}_{1}.csv'.format(clip.name.split('.')[0], track.name) The resulting values I get do not represent the more user friendly marker values in den Blender GUI. Instead of x/y coordinates in screen coordinates, I get a value between 0/1. How can I convert them to those screen coordinates ?    Thanks for your help If, one fine day, someone found a contradiction in ZFC (or even ZF), what implications would such an event have for mathematicians? Is there currently any backup axiomatic system on par with ZFC that would enable mathematicians to continue pursuing mathematics, should the unthinkable occur? Citing a range of papers using numeric keys as in \cite{a, b, c} -> [1-3] How can I cite a range of papers, the output is a range of numbers, instead of a list of numbers? In other words, when I type  ... some dummy text here is due to me \cite{me1, me2, me3, me4} ...   I want the output to be     ... some dummy text here is due to me [3-6] ...   instead of     ... some dummy text here is due to me [3.4.5.6] ...   (I use LaTeX, and am currently using the amsart class and whatever it includes. But I am open to other suggestions.) I have a card that is 50% used with 7% interest. The max credit limit on the card is $10,000, and I used $5000. I have another card that is $14,000 and I have $2900 used, but the interest is 14.9%. I want to move the $2900 card to the other card that has a lower interest rate (7%). This will bring the balance close to the max, but the idea is to focus on this one card and bring the balance down as quickly as possible. is this a wise choice? I am looking to purchase a house in 6 months so I thought that this might be enough time to pay it off and keep my score up. My scores are currently in the low 700s. Lower bound for $\phi(n)$: Is $n/5  1$? Is it true that :  $\frac {n}{5} &lt; \phi (n) &lt; n$ for all $n &gt; 1$ where $\phi (n)$ is  .  Since $\phi(n)$ has maximum value when $n$ is a prime it follows that maximum value of $\phi(n)$ in term of $n$ is $n-1$ , therefore $\phi(n)&lt; n$ for all $n$. What is the best lower bound for $\phi(n)$? Moderators accepting answers on user's behalf after a certain time period Prevent browser caching of AJAX call result It looks like if I load dynamic content using $.get(), the result is cached in browser.  Adding some random string in QueryString seems to solve this issue (I use new Date().toString()), but this feels like a hack.   Is there any other way to achieve this? Or, if unique string is the only way to achieve this, any suggestions other than new Date()?