Moving Limit within Probability/Law of Large Numbers
A possible incorrect application of Law of Large numbers
I read that it is a best practice to double quote all of your variable expansions in Bash. I also read that one cannot use a shell glob (wildcard(*)) right after a double quoted variable expansion. These situations conflict when one wants use the value of a regex pattern, expanded out of a variable.   The reason I would sometimes want to combine regex with a wildcard is to keep my regex minimal, neater, in my personal taste.  My particular problem  I downloaded phpmyadmin into my document root directory and unzipped it, but I fail to rename it with mv by a regex pattern I put in a variable, and available when expanding its variable. Here's the exact trace:  userName@compName:/var/www/html# ll total 11336 drwxr-xr-x  3 root root     4096 Feb 14 07:04 ./ drwxr-xr-x  3 root root     4096 Feb 14 06:56 ../ -rw-r--r--  1 root root      612 Feb 14 06:57 index.nginx-debian.html drwxr-xr-x 12 root root     4096 Dec 23 08:50 phpMyAdmin-4.7.7-all-languages/ -rw-r--r--  1 root root 11589684 Dec 23 14:08 phpMyAdmin-latest-all-languages.zip userName@compName:/var/www/html# echo $pma [pP][hH][pP][mM][yY][aA][dD][mM][iI][nN] userName@compName:/var/www/html# mv "$pma"*/ phpmyadmin/ mv: cannot stat '[pP][hH][pP][mM][yY][aA][dD][mM][iI][nN]*/': No such file or directory   If I'll unquote the variable expansion to ${pma} I would indeed be able to combine the variable expansion and the regex, as in ${pma}*, but it is important to me to follow the best practice without exceptions, if I can.  My question  How could I keep the variable expansion double quoted, but still using the extracted value with a wildcard? Executing user-supplied ruby code on a web server Man clones himself to have the clone do things he doesn't enjoy I read a short story about four years ago and can't remember the title or author. The only thing I know is that it is relatively old -- like Huxley or Asimov era. Can anyone help me?   The basic synopsis is this: a man clones himself and has his clone do the parts of his life that he doesn't enjoy. He deceives his wife about this; she doesn't know he has a clone. Whenever the man and the clone are both home, the clone is locked in the "toolbox" in the basement. The clone starts to treat the man's wife better than he had previously. His wife starts to fall in love the clone, and the man decides he needs to get rid of the clone. When he tries to do so, the clone overpowers the man and locks him in the toolbox in the basement!  I'm hoping to share this story with my English class this school year. Any help is appreciated! Existence of subgroup of order six in $A_4$ Show that  the  alternating  group  $A_4$  of all even permutations of $S_4$ does not contain a  subgroup of order $6$.   For me am thinking to write all elements of $A_4$ and trying to find every cyclic subgroup generated by each element of $A_4$, then I have to check whether there exist such a subgroup or not! This is a long procedure for me, I ask if there is a short way to do this. KOMA-Classes (scrbook, scrreprt, ... ): Disable chapter separation in \listoffigures and \listoftables I use \listoffigures and \listoftables. Both commands create line breaks for items from different chapters. How can you stop that?  Screenshot: What is a word to describe inefficient communication? Example 1 - When reviewing résumés I don't want someone to use 1.5 pages to describe one job.   Example 2 - When a person uses excessive description to answer a simple question. What is the difference between Python's list methods append and extend? What's the difference between the list methods append() and extend()? How to check internet access on Android? InetAddress never times out How do I pass parameter TO a Visualforce page from a link in an email? Here's what I am trying to do:  1) User creates record A.  2) Time-based workflow sends an email to the Record A creator based on a date field in the record.  3) The email template has a URL link.  4) The URL links to a Visualforce page that is basically a form with fields to be filled out (this Visualforce page is in a managed package) and a save button that creates a new User record.  5) When the User clicks the URL link in the email, the Visualforce page opens in a new window.  6) I would like to pass the values of the fields in record A to pre-fill the Visualforce page fields.   Here's my link:  &lt;a href="https://cs19.visual.force.com/apex/CloneThisUser?Desktop=true&amp;Id={!Pending_User__c.User_to_CloneId__c}&amp;formGroupInputSmall={!Pending_User__c.First_Name__c}   And here's the code from the relevant section of the Visualforce page:  &lt;div class="form-group form-group-sm"&gt;       &lt;!-- &lt;apex:outputLabel styleClass="col-sm-2 control-label" for="formGroupInputSmall"&gt;First Name&lt;/apex:outputLabel&gt; --&gt;       &lt;div class="col-xm-11 col-sm-12"&gt;           &lt;apex:inputField html-placeholder="First Name" styleClass="form-control FirstNameInput"  value="{!u.FirstName}" id="formGroupInputSmall"/&gt;       &lt;/div&gt;     &lt;/div&gt;   I have only included the first field I would like to pass the parameter to, in order to keep this post simple.   The link passes the User_to_Clone_Id__c just fine but does not fill in the "First Name" field with the value of the First_Name__c .  What am I doing incorrectly? Thanks. Proper use of passive and active voices? What is accountsd and why does it want to use the "login" keychain? Basically, I've designed a booklet on Photoshop CC. It's an informational booklet so it's quite vibrant with lots of colours and pictures in it.   I've finished it and exported all the files into PDF format. Upon doing this, the PDF's are much "duller" for use of a better word. Now I'm not a designer and the whole thing was a learning process but now I'm reading about CMYK and RGB colour models and conversions etc. I designed the whole thing RGB (because CMYK looked duller obviously. The PDF's aren't disastrous, red is still red, black is still black but it's nowhere near as visually appealing anymore.   Is this just because of the monitor and the models each program uses or when I send my brochure to be printed, am I doomed for a much duller booklet? There's obviously a way around it otherwise all print would be dull. How to convert numbers between hexadecimal and decimal How do you convert between hexadecimal numbers and decimal numbers in C#? Moving all files to a new computer, my concern is links I'm moving all files to a new computer, via an external hard drive. I am certain that broken links will be a concern. What can I do to fix this? Is there a 'Best Practices' kind of way to prevent this problem beforehand? I have many hundreds of .blend files, and of course, I fear losing them. When to use reinterpret_cast? I am little confused with the applicability of reinterpret_cast vs static_cast. From what I have read the general rules are to use static cast when the types can be interpreted at compile time hence the word static. This is the cast the C++ compiler uses internally for implicit casts also.  reinterpret_casts are applicable in two scenarios:   convert integer types to pointer types and vice versa  convert one pointer type to another. The general idea I get is this is unportable and should be avoided.     Where I am a little confused is one usage which I need, I am calling C++ from C and the C code needs to hold on to the C++ object so basically it holds a void*. What cast should be used to convert between the void * and the Class type?  I have seen usage of both static_cast and reinterpret_cast? Though from what I have been reading it appears static is better as the cast can happen at compile time? Though it says to use reinterpret_cast to convert from one pointer type to another? Give us better search-by-score syntax I had a tin of golden syrup for a long time - longer than I care to admit. When I opened it up yesterday (to sweeten up some mulled wine), it was granular (a bit like honey can be), and black around the edges.   Is this 'bad', or just different?   Is the blackness the result of some chemical reaction with the tin?  And in general, does it eventually go off, or does it last indefinitely? $f$ be an analytic function defined on $\mathbb{D}=\{z\in\mathbb{C}:|z|<1\}$ I came across the following problem that says:  Let $f$ be an analytic function defined on $\mathbb{D}=\{z\in\mathbb{C}:|z|&lt;1\}$ such that the range of $f$ is contained in the set $\mathbb{C}\setminus (-\infty,0]$. Then  $f$ is necessarily a constant function. there exists an analytic function $g$ on $\mathbb{D}$ such that $g(x)$ is a square root of $f(z)$ for each $z\in\mathbb{D}$. there exists an analytic function $g$ on $\mathbb{D}$ such that $\operatorname{Re}g(z)\geq 0$ and $g(z)$ is a square root of $f(z)$ for each $z\in\mathbb{D}$. there exists an analytic function $g$ on $\mathbb{D}$ such that $\operatorname{Re}g(z)\leq 0$ and $g(z)$ is a square root of $f(z)$ for each $z\in\mathbb{D}$.   I have to determine which options are correct. Can someone help in the right direction? Thanks in advance for your time. HTTP webpage is showing "Not Secure" in Chrome I've called GoDaddy a few different times and they said that it looks like it is a problem with my HTML file.  Except, my HTML file is the basic outline of a webpage, nothing fancy at all.    Chrome still says that the webpage is, "Not Secure" with the big red x over it.    I'm not sure what to do to fix it, I don't have any personal information on the site nor am I collecting any information from visitors (it's sort of an information site).  I shouldn't need an SSL certificate because I am not hosting anything privately. I have a few satellites and stations orbiting my planets, but I'd like to add onto them. I've seen numerous videos on using docking clamps to attach my new ship to the existing station, but can I do that on a part-by-part basis? For example, I take an extra fuel tank up there, can I attach just the tank to my station, then send my vessel back to Kerbin? I'm not talking about refueling, but rather transferring individual parts from my ship to the station in orbit.  I'd prefer to not have to use an unmanned probe and jettison everything but the desired part in space after docking if possible, but if that's the only way I guess I don't have a choice.