Regular expression - empty or a minimum of 6 characters
What is the expression on RegularExpressionValidator to check if the Textbox text is 6 or more characters long?
Why does an atom remain uncharged after emission of an alpha particle? When an alpha particle is emitted, two protons and two neutrons leave the nucleus but the electrons remain the same in number. Why does the atom remain uncharged although it appears it should have a net charge of $-2e$? Finding the left and right cosets of H = {(1), (12), (34), (12) ○ (34)} in S4 I have an exercise where I am supposed to find the left and right cosets of H = {(1), (12), (34), (12) ○ (34)} in S4. But how do I generate the cosets? As I have understood it you are supposed to pick a number that is not in the set H and multiply it with every number in H. But this does not exactly give the right answer. I would really appreciate it if someone gave an easy to understand explanation of how to generate the left and right cosets. How to `bundle install` when your Gemfile requires an older version of bundler? Accented letters with IM FELL fonts I am having an error compiling the following code with xelatex and lualatex:  ** WARNING ** "seac" character deprecated in Type 2 charstring. ** ERROR ** Type2 Charstring Parser: Parsing charstring failed: (status=-1, stack=5)  Output file removed.  \documentclass{article}  \usepackage{xunicode} \usepackage{fontspec}  \setmainfont[Mapping=tex-text,Ligatures={Common}, Numbers={OldStyle}]{IM FELL English PRO} \begin{document}  Buongiorno a tutti. Trallallà.  \end{document}   The error disappears when I omit the accented à. It also doesn't happen when I use other fonts.  Could you suggest any workaround?  Thank you, A Very similar to , except for Java.  What is the recommended way of encoding strings for an XML output in Java. The strings might contain characters like "&amp;", "&lt;", etc. /usr/bin vs /usr/local/bin on Linux What is the meaning of "would", and how to use it? What is the meaning of would, and which tense is it used in the following sentences?  For example,   That would be Ram calling. I'll answer it. (the meaning of would and which tense is used) The guy on the phone had southern accent. That would be Tom. (the meaning of would and which tense is used) “We saw a police helicopter overhead yesterday morning.” “Really? They would have been looking for those bank robbers.” (the meaning of would and which tense is used) You would have to say/do that. (Why is would used here? What happens to the meaning if would is removed?) John said he didn't steal any money. Well, he would, wouldn't he ? (Why is would used here?)   Why is would used in sentences 1, 2, and 3 to mean "presumption" instead of using other modals, such as: must and should? Does the meaning change if used others?   Can we use will, must, should and could in the place of would, without changing the meaning of sentences?   What kind of meanings would it make if they (will, must, should, and could) are used in the place of would?     I'd be grateful if you could answer me. Prove by induction that for all $n \geq 3$: $n^{n+1} > (n+1)^n$ I am currently helping a friend of mine with his preperations for his next exam. A big topic of the exam will be induction, thus I told him he should practice this a lot. As at the beginning he had no idea how induction worked, I showed him some typical examples.  Now he showed me an exercise he was having trouble with, which states that one should prove $$n^{n+1} &gt; (n+1)^n$$  for all $n \geq 3$. I have to admit that I too have trouble showing this inequality, as in all of my attempts, my lower bound is too low. Also, I have not yet figured out, how one gets the $(n+2)^{n+1}$, primarely the number $2$ is a problem. I think this might be solved using the binomial theorem, however, I don't think they have already seen the binomial theorem in school.  Is there an easy method to show this inequality by induction not using the binomial theorem? If no: How can one show it using the binomial theorem?  Thanks for answers in advance. How to make Blender use Python2.x? Why is current a scalar quantity? I have downloaded and installed the newest  for my Windows 7 (64-bit OS), but when I want to install 64-bit Linux, the New->Create Virtual Machine only displays 32-bit option, no 64-bit option. Could anyone give any clues about this issue? Thanks very much in advance! Nginx Subdirectory returning 404 I currently have a bunch of working static files at the domain name khairulslt.me (from NameCheap). Recently, I've tried setting up a subdirectory (khairulslt.me/RGBGame) as seen in the code below; However, I keep getting 404 errors. What am i missing out?  server {    server_name khairulslt.me www.khairulslt.me;    autoindex off;   location / {     root /var/www/khairulslt.me;     index circles.html;   }   listen 443 ssl; # managed by Certbot ssl_certificate /etc/letsencrypt/live/khairulslt.me/fullchain.pem; # managed by Certbot ssl_certificate_key /etc/letsencrypt/live/khairulslt.me/privkey.pem; # managed by Certbot include /etc/letsencrypt/options-ssl-nginx.conf; # managed by Certbot ssl_dhparam /etc/letsencrypt/ssl-dhparams.pem; # managed by Certbot  location /RGBGame {     root /var/www/khairulslt.me/RGBGame;     index colorGame.html;     try_files $uri $uri/ /var/www/RGBGame/colorGame.html?q=$uri&amp;$args;     autoindex off;   }  location /robots.txt { return 200 "User-agent: *\nDisallow: /\n";    }  }   server { if ($host = www.khairulslt.me) {     return 301 https://$host$request_uri;   } # managed by Certbot   if ($host = khairulslt.me) {     return 301 https://$host$request_uri;   } # managed by Certbot   listen 80; server_name khairulslt.me www.khairulslt.me; return 404; # managed by Certbot }   I've tried all the different settings like (alias vs root), try_files, autoindex(on, off). My main website www.khairulslt.me works fine and is serving the html/css/js files in /var/www/khairulslt.me perfectly fine. I'm just not sure why I can't replicate the settings for my other app (html/css/js files in folder /RGBGame). Could it be that I've missed out something that isn't related to the nginx config? If F is a finite field, then $F^F=P_F$. Boolean b1 = true; Boolean b2 = true; String b3 = 'b1 &amp;&amp; b2'; Boolean b4 = Boolean.valueOf(b3); system.debug('test Bool '+ b4);   Given a string how can you convert into expression without breaking the sting. Why is the even root of a number always positive? Let $n \in \mathbb N$ be a natural number and $a \in \mathbb R$ be a real number. The $n$-th root of the number $a$ is defined as follows:  Case I: $n$ is an odd number. In this case the $n^{\text{th}}$ root of $a$ is defined to be that number $b \in \mathbb R$ such that $b^n = a$.  Case II: $n$ is an even number. In this case the $n^{\text{th}}$ root of $a$ is defined to be that number $b \geq 0$ such that $b^n = a$.  Why is it that when $n$ is even, we only consider $b \geq 0$. For example, both $+2$ and $-2$ squared equal $4$, but when we say the square root of $4$ is $2$. Is there a reason for this? How OPTIONS are settled can be an eye opener and I hope I can get some answers The only reason why I put it here is to find out whether I am a victim or just ignorant of the way brokers deal with option positions that were exercised. Whether I am a victim or just ignorant depends on the answer that I posted here. The facts are: I had a 2 SHORT QS Option at 75 which was exercised against me on the 23 Dec 00.45 AM and I later exercised my 2 LONG QS Option at 70 on 23 Dec 9.31 AM. The broker charged me Borrow Fee for 24-27 Dec for $1102, which means instead of getting $1000 profit I turn this into a loss of $102 plus comm. My question:  Since both long and short options were exercised on the same day one at 45 mins on 23 Dec and the later at 9.31 am on the same day, how can there be a SHORT POSITION in the stocks since both are net-off in my account ?  The answer I got from my broker and this is the point that I want to clarify.  The response I got from IB was that the initial exercise at 45 mins on 23 Dec was actually on 22 Dec (not 23 as I alleged). They refused to show me how they got 22 Dec.  This is my explanation to my Broker in reply.  Even if the short call and long call was exercised on different dates 22 and 23 Dec respectively, IB can only charge me for the SHORT position for one day and not from 24-27 Dec by ignoring my long call position was not there.  Further Facts:  My Broker ignored my answer and insisted the dates are correct and therefore I was charged to borrow shares that was need to satisfy the short position on exercised. So I am lost as I do not know whether the broker is correct and they can do this by ignoring my long call position after exercised or there is something they had not tell me. That is the reason I came to this site soliciting answers from those who know more than I do or had experienced the same.  I hope I have explained this clearly now and why would I want to give an opinion when I am looking for an answer ? I googled it but I couldn't find the answer... maybe I didn't seek it in the proper way. My question is if &quot;to&quot; must be repeated in sentences such as the following ones:   In the past, women used to do the housework and to take care of children.  The aim of this meeting is to control their progress and to discuss the new working plan.    If I had to bet, I would omit the second to... But I am not sure about it. How can I revert a config file back to the originally installed version after I have edited it? Limit memory usage for a single Linux process I'm running pdftoppm to convert a user-provided PDF into a 300DPI image.  This works great, except if the user provides an PDF with a very large page size.  pdftoppm will allocate enough memory to hold a 300DPI image of that size in memory, which for a 100 inch square page is 100*300 * 100*300 * 4 bytes per pixel = 3.5GB.  A malicious user could just give me a silly-large PDF and cause all kinds of problems.  So what I'd like to do is put some kind of hard limit on memory usage for a child process I'm about to run--just have the process die if it tries to allocate more than, say, 500MB of memory.  Is that possible?  I don't think ulimit can be used for this, but is there a one-process equivalent? Correct way of mounting a Windows share I mounted a Windows share to my Ubuntu 11.10 system via adding the following line to the /etc/fstab:  //serveraddr/sharedfolder /mnt/foldername/ smbfs credentials=/home/myname/.smbpasswd 0 0  using the .  But there's a problem with the permissions. The owner of the mount folder is root. I can not create any folders or files in the mounted point is I don't become the root. Even I can not change the ownership to my default user via   sudo chown -R myname .  I googled and saw that it might stem from the fact that Windows file formats (fat32/ntfs) can not save ownership. But when I connect to the same location via samba as   smb://serveraddr/sharedfolder  by providing my credentials, I have the privileges to write without being the root.  How can I make it to let me write to the mounted folder?