Would it be "Life was" or "Life were" in this Circumstance? This may be a correct vs. more correct situation.  “If life was simple, we’d never grow.”  I wonder if this should be "were" or "was." "Were" is used for unreal conditionals, so when looking up “if life…” then “were” normally shows up. But I wonder if “was” would actually be correct here because life being simple is a possibility for some and not for others, so there’s duality to the meaning. It could be simple for some and complex for others.
"Was" or "were" in subjunctive clauses I'm not a native english speaker, so even though I'm decently proficient at it, I don't really "know the rules" sometimes, and this is one that's been confusing me for a long time.  Which one is correct in each sentence?     If the movement [was/were] to continue uncorrected, the tower would   one day topple.      If I [was/were] rich, I would buy a yacht.   NOTE: I care not only about the case of "I", but also "she", "them", "it", etc, as in the example of the tower. Would it be any different if instead of the tower, it'd be me who'd topple if uncorrected?  I'm pretty sure it's "were" in both cases. That's what they taught me, I think. I started to doubt when I saw a lot of "was", but it sounded like the typical intentional mistake used "stylistically". ("If I was a rich girl...")  Then I saw it some more and thought it came down to an American/British English difference (I was taught British, in theory, and most of what I read is American).    But that tower sentence came straight from "The Guardian"...  When do you use was and when do you use were?
Find out which application listens to specific key bindings? Is there an application to know which key is bound by which process and therefore not usable in another application? What is the purpose of JNDI Where do I ask a question about copyright? Android How to use MediaScannerConnection scanFile Suppose I have this:   $\frac{6^{666}}{2^{6}}$ (mod $125$)  I saw it is possible to reduce only the numerator's power modulo Euler's phi function. Can someone explain why is that possible?  It is essentially this:   $\frac{6^{666 \space (mod \phi(125))}}{2^{6}}$ (mod $125$) How do I use superposition to solve a circuit? Yes, this is a pedagogical question. While answering another recent question, I wanted to refer the OP to concise instructions for using superposition to solve circuits. I found that all the easily found resources online were somewhat deficient. Typically they were unclear about what kinds of circuits superposition applies to, or about the actual method to apply the superposition theorem to a circuit problem. So,   What kinds of circuits can be solved by superposition?  How are different kinds of sources treated when solving by superposition?  What are the steps to solve a circuit using the superposition theorem? Why do popular but not ideal questions keep being closed? I notice a really worrying trend of some really popular questions being closed and eventually deleted. Some of them became legends already, like this one  ? Yes, it does not fit the format ideally, but what is point of obeying the letter of the law to such extent that it becomes ridiculous? Ok, closing is fine if community leaders became so pedantic, but why go so far as to even delete it? At this point it looks like burning old pictures just because you don't like them.  Update: Summary  For now I heard only two clear arguments:   Those questions pollute search results.  Those questions don't play well with enforcing question and answer standards.   Both of that statements are easily verifiable and to my experience are just false. Problems with \input{table.tex}\hline after 2020 fall LaTeX release Since updating to the 2020 Fall release (MikTeX on Windows but also tested with TeXLive), I can no longer compile files where tables are imported from an external file using \input and followed by \hline (or \bottomrule). Things work perfectly with older releases. Note that it works if the last \\ is outside the file to be imported, but this is not a feasible option if the tables are created automatically from other softwares. Here is a MWE:  \begin{document}  \begin{table}   \caption{Table in text}   \begin{tabular}{lcc}     a &amp; 1 &amp; 2\\     b &amp; 1 &amp; 2\\     \hline   \end{tabular} \end{table}  \begin{table}   \caption{Table in other file 1}   \begin{tabular}{lcc}     \input{table1}     \hline   \end{tabular} \end{table}  \begin{table}   \caption{Table in other file 2}   \begin{tabular}{lcc}     \input{table2}\\     \hline   \end{tabular} \end{table}  \end{document}  with external files: table1.tex:     a &amp; 1 &amp; 2\\     b &amp; 1 &amp; 2\\  table2.tex:     a &amp; 1 &amp; 2\\     b &amp; 1 &amp; 2  Here is the log when it fails: This is pdfTeX, Version 3.14159265-2.6-1.40.21 (MiKTeX 20.10) entering extended mode (MWE.tex LaTeX2e &lt;2020-10-01&gt; patch level 1 L3 programming layer &lt;2020-10-05&gt; xparse &lt;2020-03-03&gt; (&quot;C:\Program Files\MiKTeX\tex/latex/base\article.cls&quot; Document Class: article 2020/04/10 v1.4m Standard LaTeX document class (&quot;C:\Program Files\MiKTeX\tex/latex/base\size10.clo&quot;)) (&quot;C:\Program Files\MiKTeX\tex/latex/l3backend\l3backend-pdftex.def&quot;) (MWE.aux) (table1.tex) ! Misplaced \noalign. \hline -&gt;\noalign                    {\ifnum 0=`}\fi \hrule \@height \arrayrulewidth \futurelet... l.18     \hline                 ! You can't use `\hrule' here except with leaders. \hline -&gt;\noalign {\ifnum 0=`}\fi \hrule                                           \@height \arrayrulewidth \futurelet... l.18     \hline                 ! Missing number, treated as zero. &lt;to be read again&gt;                     \futurelet  l.18     \hline                 ! Illegal unit of measure (pt inserted). &lt;to be read again&gt;                     \futurelet  l.18     \hline                 (table2.tex) [1{C:/Users/Gouel/AppData/Local/MiKTeX/pdftex/config/pdftex.map}] (MWE.aux) ) (see the transcript file for additional information)&lt;C:/Program Files/MiKTeX/fo nts/type1/public/amsfonts/cm/cmr10.pfb&gt; Output written on MWE.pdf (1 page, 14750 bytes). Transcript written on MWE.log.  With an older release under Linux, it works perfectly: This is pdfTeX, Version 3.14159265-2.6-1.40.20 (TeX Live 2019/Debian) (preloaded format=pdflatex)  restricted \write18 enabled. entering extended mode (./MWE.tex LaTeX2e &lt;2020-02-02&gt; patch level 2 L3 programming layer &lt;2020-02-14&gt; (/usr/share/texlive/texmf-dist/tex/latex/base/article.cls Document Class: article 2019/12/20 v1.4l Standard LaTeX document class (/usr/share/texlive/texmf-dist/tex/latex/base/size10.clo)) (/usr/share/texlive/texmf-dist/tex/latex/l3backend/l3backend-pdfmode.def) (./MWE.aux) (./table1.tex) (./table2.tex) [1{/var/lib/texmf/fonts/map/pdftex/up dmap/pdftex.map}] (./MWE.aux) )&lt;/usr/share/texlive/texmf-dist/fonts/type1/publi c/amsfonts/cm/cmr10.pfb&gt; Output written on MWE.pdf (1 page, 13788 bytes). Transcript written on MWE.log. How can I do a brute force (ciphertext only) attack on an CBC-encrypted message? Given a CBC ciphertext and IV, how can I find the encryption key?  We are limited with an 8 chars key, each char in the range of [a..h], so I can generate every possible key (these are only $8^8 = 2^{24}$ (about 4 million) different possible keys).  How would I go about finding the correct one though? My question isn't how they receive the energy to jump, but why.  When someone views an element's emission spectrum, we see a line spectrum which proves that they don't exist outside of their orbitals (else we would see a continuous spectrum).  Electrons can be released in the form of beta decay, thus proving that they are capable of traveling outside of orbitals contrary to the statement my teacher said that they stay within orbitals. Then, to add to the confusion, the older model of rings floating around a nucleus has, from what I can tell, been outdated, which would support this model. My teacher's explanation was that the electrons made a quantum jump of some kind. How do electrons move between orbitals or do we know how they jump, excluding the reason that energy causes them to jump, and why are positrons formed sometimes instead of electrons in Beta decay?  When I'm asking "how do electrons jump" I would like to know how an electron can jump between each orbital such as how it moves and how it knows where to jump since it appears to be a jump where the electron doesn't slow into a orbital position. Specifically how they jump what is this Atomic electron transition, I understand that they jump and that they do this through absorbing and releasing energy but what is this Atomic electron transition other than what is already on the wikipedia article . Galaxy S not detected, how do I make it work? Can anyone please provide the necessary steps to connect a Samsung Galaxy S with Ubuntu 10.10 please? I was thinking that perhaps it could detect something, but it doesn't, Anyone succeeded ?   Thanks How do I keep my character centred on screen? How to get a file's Media Type (MIME type)? How do you get a Media Type (MIME type) from a file using Java?  So far I've tried JMimeMagic &amp; Mime-Util. The first gave me memory exceptions, the second doesn't close its streams properly. How would you probe the file to determine its actual type (not merely based on the extension)? I need to find the closure of these sets on the ordered square: $$A = \{(1/n)\times 0 | n\in \mathbb{Z}_+\}$$ $$B = \{(1-1/n)\times \frac{1}{2}| n\in \mathbb{Z}_+\}$$ $$C = \{x\times 0 | 0&lt;x&lt;1\}$$ $$D = \{x\times \frac{1}{2}| 0&lt;x&lt;1\}$$ $$E = \{\frac{1}{2}\times y | 0&lt;y&lt;1\}$$ I know that the closure is just the set itself united with its limit points. For $A$, the set of limit points, I imagine, are $\{&lt;1,0&gt;\}$, that is, the $x$ coordinate is $1$ and the $y$ is $0$. But  is says the reverse. What am I getting wrong? Following the same reasoning, $B' = \{&lt;1,\frac{1}{2}&gt;\}$ $C' = \{&lt;0,0&gt;,&lt;0,1&gt;\}$ What am I doing wrong? How do I get Pokémon Go to detect my phone's orientation? When initiating a battle it starts off in AR mode, but then warns me saying my phone's orientation is not detected. I am then forced to turn off AR mode. Has anybody experienced this? If so, what are the solutions?    Per comments, I am unsure this is a permissions issue. I have everything turned on. I'm trying to make a page where a user provides an ID of a attachment and the site will set the headers and deliver that file instead of a 404 page. so /download/1754 would lookup the attachment with that Id and output it for viewing/download depending on the file type.  I just can't think of a wordpress friendly way to do this from inside a plugin. I considered using add_rewrite_rule but couldn't see a good way around it, also considered checking $_SERVER['REQUEST_URI'] to deliver the content before any HTML but then I'd have to stop the page from rendering a 404 and I was not sure of a Wordpress friendly way to do this.  My current idea was to have my plugin make a download page, assign a template and have that template run the logic instead of my plugin class. while I have used this before for another situation it was very messy as I had to write a lot of code to force users to be unable to update or edit the file and recreate/delete it on activation.deactivation. so ideally I'd like to avoid that. Style every four posts differently Possible Duplicate:          Is it possible to style every four posts differently? I mean something like this:  &lt;div class="row"&gt; &lt;div&gt;1st post&lt;/div&gt; &lt;div&gt;2nd post&lt;/div&gt; &lt;div&gt;3rd post&lt;/div&gt; &lt;/div&gt; &lt;div class="row&gt; &lt;div&gt;4th post&lt;/div&gt; &lt;/div&gt; ...Repeat   I'm using , so it would be great if I could experiment more with that.. :) New flagging dialog has a duplicate for duplicate We've changed the flagging format from today(AFAIK) as below,        looks good.  But, when I select it should be closed for another reason...  I can see the same reason duplicate on the top.        What is the need of placing that reason over there? It should not be there. Please remove the dupe. I downloaded and installed Ubuntu from the official site. However, I don't know if I installed the 32-bit or 64-bit version.  In Windows 7 I could right click My Computer and it listed which version it was.  Is there an easy way to check in Ubuntu? How to interpret autocorrelation plot in MCMC I am getting familiar with Bayesian statistics by reading the book Doing Bayesian Data Analysis, by John K. Kruschke also known as the "puppy book". In chapter 9, hierarchical models are introduced with this simple example: \begin{align} y_{ji}   &amp;\sim {\rm Bernoulli}(\theta_j)  \\ \theta_j &amp;\sim {\rm Beta}(\mu\kappa, (1-\mu)\kappa)  \\ \mu      &amp;\sim {\rm Beta}(A_\mu, B_\mu)   \\ \kappa   &amp;\sim {\rm Gamma}(S_\kappa, R_\kappa) \end{align} and the Bernoulli observations are 3 coins, each 10 flips. One shows 9 heads, the other 5 heads and the other 1 head.  I have used pymc to infer the hyperparamteres.  with pm.Model() as model: # define the          mu = pm.Beta('mu', 2, 2)     kappa = pm.Gamma('kappa', 1, 0.1)     # define the prior     theta = pm.Beta('theta', mu * kappa, (1 - mu) * kappa, shape=len(N))     # define the likelihood     y = pm.Bernoulli('y', p=theta[coin], observed=y)      # Generate a MCMC chain     step = pm.Metropolis()     trace = pm.sample(5000, step, progressbar=True)     trace = pm.sample(5000, step, progressbar=True)   burnin = 2000  # posterior samples to discard thin = 10  # thinning  pm.autocorrplot(trace[burnin::thin], vars =[mu, kappa])   My question is regarding the autocorrelation. How shall I interpret autocorrelation? Could you please help me to interpret the autocorrelation plot?    It says as the samples gets further from each other the correlation between them reduces. right? Can we use this to plot to find the optimum thinning? Does the thinning affect the posterior samples? after all, what is the use of this plot?