English is my second language and i can get a little confused with time and dates. My Uni has sent me a email with a given deadline and i want to make sure that i understand it. The email stated the following "you have 14 days from today 5 March to submit your project. Deadline: 20 March 2020."  So i assume that the deadline is at midnight the 19th March. Because its 14 days from the 5th. But the write that the deadline is the 20th? How can that be when they wrote "14 days from today" which would be the 19th. Do they just mean that i should hand it in before midnight? or do i have to midnight the 20th of march?
If no exact time (such as 15:00 or 21:00) is specified about the deadline and only the date itself is given, does that mean that the Deadline date is inclusive or exclusive?  For example, if the deadline for my Research Project is 10th October (no other exact times are specified) does that mean that I can turn it in on 10th October before it turns into 11th October? Or should I submit it on 9th October before it turns into 10th?
I need to calculate the SQRT of  $x$ to $y$ decimal places. I'm dealing with $128$-bit precision, giving a limit of $28$ decimal places. Obviously, if $\,y &gt; 28$, the , which I'm currently using, becomes futile, as it simply doesn't offer $y$ decimal places.  My question to you is, can I calculate the Square Root digit-by-digit? For example, calculating the $n$-th digit, assuming I already have digit $\,n - 1$. I'm well aware this may be impossible, as I've not found any such method through Google yet, just checking here before I give up in search of arbitrary precision methods. How to block sites with iptables How to list files installed by a snap package? After a snap has been installed with sudo snap install [package] how can I list the files which have been installed by the snap? How to print a string at a fixed width? Reading Excel files from C# Quantum entanglement for faster-than-light (FTL) network communication? Quantum entanglement is 2 atoms that are paired together and when you stop one from spinning the other also stops with the same spin. Can you use these pairs to have faster-than-light (FTL) communication between 2 computers? prove that there are infinitely many numbers of the form $x = 111....1$ such that $31\mid x$ How to access Winter 13's Push Major functionality We are ISV Partners and all of our packaging orgs have been upgraded to Winter 13. One of the features of Winter 13 was supposed to allow us to push major release versions to subscriber orgs. I would have expected it to be in the previously existing "Push Upgrade" section of our packaging orgs, but that still only allows pushing patch versions.  If it didn't make the final Winter 13 release, I would have expected Salesforce to take it off the release page. Is this something we have to ask to be enabled? I'm a C++ guy learning Java. I'm reading Effective Java and something confused me. It says never to write code like this:  String s = new String("silly");   Because it creates unnecessary String objects. But instead it should be written like this:  String s = "No longer silly";   Ok fine so far...However, given this class:  public final class CaseInsensitiveString {     private String s;     public CaseInsensitiveString(String s) {         if (s == null) {             throw new NullPointerException();         }         this.s = s;     }     :     : }  CaseInsensitiveString cis = new CaseInsensitiveString("Polish"); String s = "polish";    Why is the first statement ok? Shouldn't it be   CaseInsensitiveString cis = "Polish"; How do I make CaseInsensitiveString behave like String so the above statement is OK (with and without extending String)? What is it about String that makes it OK to just be able to pass it a literal like that? From my understanding there is no "copy constructor" concept in Java? Duplicate questions that use different words to describe the same problem are important for people to find the content via search engines. But the user experience when an anonymous user arrives at a duplicate is less than ideal.  They have to notice the duplicate link and understand that the answer they are looking for is likely behind that link. I don't think this is all that obvious to someone without experience with an SE site.  I propose to just redirect users to the duplicate automatically if the closed duplicate has zero answers. In that case they need to follow the link to the duplicate in any case, so we might as well redirect them to it in the first place.  I could imagine this being problematic with search engines, as we would be displaying different content than what the search engines see. If that is too problematic I would suggest to show a very obvious link to the duplicate in the answers section for anonymous users. How do lexical closures work? While I was investigating a problem I had with lexical closures in Javascript code, I came along this problem in Python:  flist = []  for i in xrange(3):     def func(x): return x * i     flist.append(func)  for f in flist:     print f(2)   Note that this example mindfully avoids lambda. It prints "4 4 4", which is surprising. I'd expect "0 2 4".   This equivalent Perl code does it right:  my @flist = ();  foreach my $i (0 .. 2) {     push(@flist, sub {$i * $_[0]}); }  foreach my $f (@flist) {     print $f-&gt;(2), "\n"; }   "0 2 4" is printed.  Can you please explain the difference ?    Update:   The problem is not with i being global. This displays the same behavior:  flist = []  def outer():     for i in xrange(3):         def inner(x): return x * i         flist.append(inner)  outer() #~ print i   # commented because it causes an error  for f in flist:     print f(2)   As the commented line shows, i is unknown at that point. Still, it prints "4 4 4". Is this WUBI? What is "Installation size" setting for? I'm new to Ubuntu... I went to the downloads page and downloaded the Windows Installer as I am hoping initially to have a dual boot on my currently Win 7 PC (I would consider preserving my Win7 install as a VM under Ubuntu instead - advice?)  It's asking me to choose an "Installation size" but there's no explanation as to what the significance of this is. Is this a disc partition?  Can I increase it easily later if it's too small?  I came here to ask these questions and now I see a bunch of threads about 'WUBI' and possible downsides of installing Ubuntu this way. Is the Windows Installer I just downloaded going to give me WUBI? Is there a way to access an iteration-counter in Java's for-each loop? Is there a way in Java's for-each loop  for(String s : stringArray) {   doSomethingWith(s); }   to find out how often the loop has already been processed?  Aside from using the old and well-known for(int i=0; i &lt; boundary; i++) - loop, is the construct  int i = 0; for(String s : stringArray) {   doSomethingWith(s);   i++; }   the only way to have such a counter available in a for-each loop? Are split infinitives grammatically incorrect, or are they valid constructs? I have been given the task to rewrite a function as a sum of an even and an odd function. But when I went to analyze the parts of the original function I noticed that one part was neither even nor odd.   The original function was: $g(x) = (x + 1) / (x^2 - 3x + 4$)  After analyzing I realized that when using f(-x) to determine symmetry it produced a 'neither' result. How would I go about writing a function that is neither even nor odd as an even function. (It would have to be an even function as the (x+1) part of the original function is odd and since I need to write it as a sum of even and odd, the denominator would need to be even. Comma use with nonessential appositives Sorry, I do not know the language terminology. Is this a case of nonessential appositive?  Which of the following sentence has a correct comma use? Comma before &quot;should&quot;  Importantly, two frail subgroups of stroke population, long-term residential care and cognitive impairment patients, should not be excluded from the rehabilitation.  No comma before &quot;should&quot;  Importantly, two frail subgroups of stroke population, long-term residential care and cognitive impairment patients should not be excluded from the rehabilitation. How to extract and join files xxx.zip, xxx.z01 and xxx.z02 I have three files 1.zip, 1.z01 1.z02. I would like to extract and join them into a file, by right clicking 1.zip and selecting "Extract Here". But then there comes an error:     7-Zip 9.04 beta  Copyright (c)   1999-2009 Igor Pavlov  2009-05-30   p7zip Version 9.04   (locale=en_US.utf8,Utf16=on,HugeFiles=on,2   CPUs)      Error: /home/tim/Desktop/1.zip:   Can not open file as archive      Errors: 1   I was wondering what the problem it is and how I can solve it?  Thanks and regards!    ADDED: Is my usage of "unzip -FF" wrong? It seems not work:  $ unzip -FF 1.zip  Archive:  1.zip warning [1.zip]:  zipfile claims to be last disk of a multi-part archive;   attempting to process anyway, assuming all parts have been concatenated   together in order.  Expect "errors" and warnings...true multi-part support   doesn't exist yet (coming soon). file #1:  bad zipfile offset (local header sig):  0   Thanks again!  2nd ADDED: Still ain't right.  $ cat 1.z01 1.z02 1.zip &gt; combined.zip &amp;&amp; unzip -FF combined.zip Archive:  combined.zip warning [combined.zip]:  zipfile claims to be last disk of a multi-part archive;   attempting to process anyway, assuming all parts have been concatenated   together in order.  Expect "errors" and warnings...true multi-part support   doesn't exist yet (coming soon). warning [combined.zip]:  209829313 extra bytes at beginning or within zipfile   (attempting to process anyway) file #1:  bad zipfile offset (local header sig):  209829313   (attempting to re-compensate)  extracting: 1.wmv   bad CRC ee181eef  (should be f3c61875)   It generated 1.wmv, which can play well only until  midway in Gnome Mplayer.  3rd ADDED: Am I using 7z wrongly:  $ 7z e 1.z01  7-Zip 9.04 beta  Copyright (c) 1999-2009 Igor Pavlov  2009-05-30 p7zip Version 9.04 (locale=en_US.utf8,Utf16=on,HugeFiles=on,2 CPUs)  Processing archive: 1.z01  Error: Can not open file as archive  $ 7z e 1.zip  7-Zip 9.04 beta  Copyright (c) 1999-2009 Igor Pavlov  2009-05-30 p7zip Version 9.04 (locale=en_US.utf8,Utf16=on,HugeFiles=on,2 CPUs)  Processing archive: 1.zip  Error: Can not open file as archive I have been playing for almost 2 days, and today it is asking me to sign up again.  I have all my game saved in my google account, but I wonder if I just log in from a trainer account will I keep my progress? Which 1970s UK fantasy kids TV show has an older brother die? Prove that $C\exp(x)$ is the only set of functions for which $f(x) = f'(x)$ I was wondering on the following and I probably know the answer already: NO. Is there another number with similar properties as $e$? So that the derivative of $\exp(x)$ is the same as the function itself. I can guess that it's probably not, because otherwise $e$ wouldn't be that special, but is there any proof of it?