I recently bought a "travel sized" version of a facial spray that I use so I could bring it on my holiday. But I just looked at the label and saw that it was 118ml, 18ml over the 100ml limit. I just wanted to know if that would still be alright to bring on board.
I know as a fact that I've gotten liquids larger than 3 ounces through the TSA scanner systems (such as sunscreen). I was scolded one time for bringing a shampoo container, but I was still ultimately allowed to bring that container through.  In any case, how often are liquids larger than 3 ounces ultimately confisticated, if I put them in a ziploc bag where they can be clearly seen?
How does Austria's suspension of Schengen affect travellers (both EU and non-EU)? I'm an Italian citizen. Next Sunday I'm going to Austria. I have a national ID card but no passport. Recently Austria suspended Schengen. So can I enter Austria? Bash : compare two strings with space I am trying to write a bash script which run a command and compare the result with another string.   #!/bin/bash -x  STATUS=`/root/setup_ha show --password-file=/root/password | grep "&gt;HA State" | awk '{print $3}' |  cut -c 2-`  TEST=`echo $STATUS` if [[ "$TEST" == "ON Master" ]]; then echo CLUSTER CRITICAL else   echo CLUSTER OK MASTER fi   As the Original string is on two lines, I echo it in a new variable TEST. The New variable have the output of the command on one line.  Here is the Bash debug output :  ++ /root/setup_ha show --password-file=/root/password ++ grep '&gt;HA State' ++ awk '{print $3}' ++ cut -c 2- + STATUS='ON Master' ++ echo 'ON' Master + TEST='ON Master' + [[ ON Master == \O\N\ \M\a\s\t\e\r ]] + echo CLUSTER OK MASTER CLUSTER OK MASTER   I also tried the following test :  if [[ "$TEST" =~ "ON Master" ]]   The thing is bash is not able to compare the strings it is always false.  Any idea ?   EDIT :  Here is the output with the first answer :  + STATUS='ON Master' ++ echo 'ON' Master + TEST='ON Master' + '[' 'ON Master' == 'ON Master' ']' + echo CLUSTER OK MASTER CLUSTER OK MASTER   Still  not working ON seems weird on line 3, plus in my bash it takes green color ! I recently moved from having a main site like www.example.com with a subdomain associated site yyy.example.com, to moving everything off the subdomain to a subdirectory like www.example.com/yyy/, with the same hierarchy underneath the subdirectory, and now yyy.example.com is just a redirect page to the subdirectory, so yyy.example.com/abc/page-x is redirected to www.example.com/yyy/abc/page-x and so on.  The effect has been that the traffic increased by several times (the total page views are more than ten times at the present rate) what it was to the yyy subdomain. Previously almost all of the traffic to the yyy subdomain was from the www site. This is from monitoring the old yyy site for a year or more.  I'm curious to know if there's any research or results which would indicate whether this is universal (subdirectories beat subdomains) or "just me". The rule says if the order of two actions/events is clear then the past perfect is not necessary, i.e. you can use past simple. So if the sentence has before or after then the order is clear and therefore the rule applies.  says the first sentence is incorrect. Is he/she right? If so, how do you explain what appears, to me, to be contradictory?     If the Past Perfect is not referring to an action at a specific time,   Past Perfect is not optional. Compare the examples below. Here Past   Perfect is referring to a lack of experience rather than an action at   a specific time. For this reason, Simple Past cannot be used.      Examples:      She never saw a bear before she moved to Alaska. Not Correct      She had never seen a bear before she moved to Alaska. Correct   They say "a lack of experience rather than an action". Saying that just does not solve the problem I have which is the past simple fits the rule of order of events. Not seeing is a negative event with the verb "to see".  I hope the answer won't be this is how we speak or this is how English works or since when languages are logical! I have been trying to use Sidecar in the public betas of macOS Catalina and iPadOS 13.  I have a 2019 Macbook Pro, and a 3rd generation iPad Pro, so I know I have supported devices.  Both devices are on the same Wifi network, and both have Bluetooth enabled.  Both devices are logged into iCloud with the same AppleID.  Both devices have two-factor authentication enabled.  I have tried this both with and without a USB-C cable connection between the two devices.  The Sidecar preference pane in System Preferences does appear, and when I go into it I can see in the "Select Device" dropdown that my Mac can "see" my iPad Pro.  However, when I try to connect to it, I get the following after a pause:    I keep  for troubleshooting tips, but none have been useful for me thus far.  FWIW, I have been a "good citizen" and reported my problems to Apple via the Feedback Assistant apps on both devices, so in case this is a temporary bug, I've reported it.  I'm just asking here in case someone else has encountered this issue.  Edit: Eventually, Sidecar started working for me (sometimes) after some of the later public betas came out.  I'm not sure exactly which version(s) of Catalina and/or iPadOS made the difference for me.  So far it has worked without any timeouts in the final versions. I didn't need to downgrade and then re-upgrade as the submitted answer suggests, although I'm glad that has worked for some. What is the problem that gets worse after you try to solve it? Example sentence - This problem is a _____ which gets complicated every time you try to solve it.   Is there such a word that represents a problem which will become worse if/when one tries to solve it?  Note - After seeing the comments and answers I'd like to add that this is not a can of worms or Pandora's box because it doesn't create a new problem but just worsens.   Example: Magic leaves protecting a fruit by enclosing it. Every time a leaf is touched, all the leaves close together further, that is more tight than before. What does accepting an answer actually convey (2015 edition)? Do you really want to create a new tag? In C# why can't a conditional operator implicitly cast to a nullable type How to search questions with only one specific tag? I can search question with target using [target] but the result questions also include question tagged with other tags.   How to get the question with only one specific tag? If photons have no mass, how can they have momentum? Show that $[0, 1)\times[0, 1)$ is homeomorphic to $[0, 1]\times[0, 1)$ but not to $[0, 1]\times[0, 1]$. When I sketch these spaces it this statement makes sense intuitively because $[0, 1]\times[0, 1]$ is closed and $[0, 1)\times[0, 1)$ and $[0, 1]\times[0, 1)$ are each "missing" part of their boundary which would make them closed. I also know, $[0, 1]\times[0, 1]$ is compact and compact spaces are not homeomorphic to non-compact spaces.   I am having trouble saying this explicitly, as is pretty obvious in the clumsiness of the wording above. Redirect the output of a command in `time command` I am trying to time something using:  /usr/bin/time myCommand   However, since /usr/bin/time writes to stderr, if myCommand also writes to stderr, I will get more than just time's output on the stream. What I want to do is, redirect all of myCommand's output to /dev/null, but still write time's output to stderr. Using an example myCommand that writes to stderr of ls /nofile, we see that (obviously) there is no output at all with the following:  $ /usr/bin/time ls /nofile 2&gt; /dev/null $   Without any redirection, we see both the output from ls (to stderr) and the output from time (also to stderr):  $ /usr/bin/time ls /nofile ls: cannot access /nofile: No such file or directory 0.00user 0.00system 0:00.00elapsed 0%CPU (0avgtext+0avgdata 3776maxresident)k 0inputs+0outputs (0major+278minor)pagefaults 0swaps   What I want is something that simply produces:  $ /usr/bin/time ls /nofile &gt; RedirectThatImAskingFor 0.00user 0.00system 0:00.00elapsed 0%CPU (0avgtext+0avgdata 3776maxresident)k 0inputs+0outputs (0major+278minor)pagefaults 0swaps   Any ideas? How to identify a downvoting stalker Possible Duplicate:          Yeah I got a deranged stalker that keeps downvoting me.  Anyone know how going about identifying such individuals?  (I just got 4 all at the same time just after making a new post).      that was the question I originally asked. Please tell me, what is so wrong with it ? When am I entitled to participate in a stock split? — record date, split date, ex date Stock split announcements usually mention a few dates — record date (&quot;date of record&quot;), split date (&quot;distribution date&quot;, &quot;pay date&quot;, or &quot;payment date&quot;), ex date (&quot;ex-split date&quot;). Examples:  :  Each Apple shareholder of record at the close of business on August 24, 2020 will receive three additional shares for every share held on the record date, and trading will begin on a split-adjusted basis on August 31, 2020.   :  Each stockholder of record on August 21, 2020 will receive a dividend of four additional shares of common stock for each then-held share, to be distributed after close of trading on August 28, 2020. Trading will begin on a stock split-adjusted basis on August 31, 2020.    In the case of the Tesla split, the record date is August 21, the split date is August 28 (Friday), and the ex date is August 31 (Monday). Apple's  provides definitions of these dates:  What is the effective date of the split? There are several key dates. The Record Date – August 24, 2020 - determines which shareholders are entitled to receive additional shares due to the split. The Split Date – August 28, 2020 - shareholders are due split shares after the close of business on this date. The Ex Date – August 31, 2020 - the date determined by Nasdaq when Apple common shares will trade at the new split-adjusted price.  However, further down in the FAQ, there is an explanation that seems to contradict the definition of the record date given above:  What happens if I buy or sell shares on or after the Record Date and before the Ex Date? [...] If you buy shares on or after the Record Date but before the Ex Date, you will purchase the shares at the pre-split price and will receive (or your brokerage account will be credited with) the shares purchased. Following the split, you will receive (or your brokerage account will be credited with) the additional shares resulting from the stock split.  Judging by the Apple FAQ, the way the record date works for stock splits is completely different from the way the record date works for cash dividends. With cash dividends, people who become shareholders of record after the record date are not entitled to the dividends. With stock splits, however, people who purchase shares after the record date (but before the ex date) are entitled to the stock split. Furthermore, for stock splits, the record date comes before the ex date, whereas for cash dividends, the record date comes after the ex date. It appears that I am not the only one confused about this. A quick internet search reveals years and years of confusion regarding the record date for stock splits. An extremely common point of confusion is the apparently incorrect assumption that the record date for stock splits works in the same way as the record date for cash dividends. A few questions:  Am I right that the record date for stock splits works differently from the record date of cash dividends? The only relevant dates for a stock split seem to be the split date (on which I will receive new shares after the market closes), and the ex date (on which I can sell the new shares on stock exchanges at a post-split price). It seems that the record date is completely irrelevant. What is the record date for? From my understanding, the price of the stock will be reduced at the instant the new shares are distributed (on the split date). Is this correct? Leave bash script running on remote terminal while not logged in? I have a bash script that takes several hours to run.  While it's running, I would like to do other things, which may involve logging out or disconnecting from the internet (my script runs network tests on various computers).  I understand that there is a command that would allow me to run my tests from a remote terminal and logout of the terminal while it runs.  Does anyone know what this command is? Cannot open adobe reader on Ubuntu 12.10 64bits I downloaded AdbeRdr9.5.1-1_i386linux_enu.deb from the official website and installed it. Nothing wrong happened during the installation. But when I click Adobe Reader's icon, it has no response. Neither can I open a pdf file with Adobe Reader.  I checked that the package name is adobereader-enu:i386. How do I prove this function is bijective? $$ v(s,p)=2^{p-1}(2s-1). $$ The domain is natural numbers and the codomain is also the natural numbers.  And this one: $$ f(s)=2s-1. $$ The domain is the natural numbers, and the codomain is the odd numbers in the natural numbers.  With this one I would do this to show it's injective: $$ \begin{align} v(s)&amp;=v(s_1)\\ \implies 2s-1&amp;=2s_1-1\\ \implies (2s_1)/2&amp;=(2s_2)/2\\ \implies s=s_1 \end{align} $$ So it's injective since if $v(s)=v(s_1)$ then $s=s_1$.  And to show it's surjective $f(s)=y$: $$ \begin{align} y&amp;=2s-1\\ \implies s&amp;=(y+1)/2 \end{align} $$ Then the function must be surjective since every $y$ is the same as the codomain for $f$.  Am I correct? GOTO still considered harmful? Everyone is aware of Dijkstra's  (also  .html transcript and  .pdf) and there has been a formidable push since that time to eschew the goto statement whenever possible. While it's possible to use goto to produce unmaintainable, sprawling code, it nevertheless remains in . Even the advanced  control structure in Scheme can be described as a sophisticated goto.  What circumstances warrant the use of goto? When is it best to avoid?  As a followup question: C provides a pair of functions, setjmp and longjmp, that provide the ability to goto not just within the current stack frame but within any of the calling frames. Should these be considered as dangerous as goto? More dangerous?    Dijkstra himself regretted that title, for which he was not responsible. At the end of  (also  .pdf) he wrote:     Finally a short story for the record.   In 1968, the Communications of the ACM   published a text of mine under the   title "The goto statement considered   harmful", which in later years would   be most frequently referenced,   regrettably, however, often by authors   who had seen no more of it than its   title, which became a cornerstone of   my fame by becoming a template: we   would see all sorts of articles under   the title "X considered harmful" for   almost any X, including one titled   "Dijkstra considered harmful". But   what had happened? I had submitted a   paper under the title "A case against   the goto statement", which, in order   to speed up its publication, the   editor had changed into a "letter to   the Editor", and in the process he had   given it a new title of his own   invention! The editor was Niklaus   Wirth.   A well thought out classic paper about this topic, to be matched to that of Dijkstra, is , by Donald E. Knuth. Reading both helps to reestablish context and a non-dogmatic understanding of the subject. In this paper, Dijkstra's opinion on this case is reported and is even more strong:     Donald E. Knuth: I believe that by presenting such a   view I am not in fact disagreeing   sharply with Dijkstra's ideas, since   he recently wrote the following:   "Please don't fall into the trap of   believing that I am terribly   dogmatical about [the go to   statement]. I have the uncomfortable   feeling that others are making a   religion out of it, as if the   conceptual problems of programming   could be solved by a single trick, by   a simple form of coding discipline!" I registered my Stack Overflow account using the Stack Exchange OpenID provider. I later changed my e-mail, but I cannot change the e-mail address associated with my OpenID for some reason. Why is that, and how do I change it? I logged in to Stack Exchange and it lets me change my password, but never my e-mail.