Printing to the same console line but dynamically
Dynamic single-line printing in Python (time?)
iPhone Storage Space Inaccuracy (No Storage Space) 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. Zsh says "no matches found" when trying to download video with youtube-dl I downloaded youtube-dl using pip on CrunchBang (a Debian Wheezy distro). When I run   youtube-dl {video URL}   I get  zsh: no matches found: {video URL}   I guess it has something to do with zsh, because I found some users on Arch forums complaining about it. When I switched to bash it worked. I was following  on creating a watch and noticed that when I rendered the watch, some pieces were messed up.  I'm new to 3D modeling and I've just learned Blender, I can't explain it well, so here's a picture:    Other examples:     I don't know if it's a problem with my World texture, the object, or the object's texture/material, so I can't even guess how to fix it. What causes this? Is it possible to fix it? Updating .class file in jar half sine and half cosine quaternions Ubuntu Screen Resolution How do I change the screen resolution in Ubuntu? I am dual booting Vista and Ubuntu. The preferences tab only has one resolution option for my computer. How long can I store soaked beans before cooking? Should initial e's after h-dropping be capitalized? A new Victorian-set British novel begins sentences containing h-dropping with lower-case e's, as in " 'e took my money, 'e did." This seems incorrect but I'm at a loss to find the rule. I have come across these three definitions of the limit superior (or upper limit) and the limit inferior (or lower limit) of a sequence of real numbers and I wonder how to establish the equivalence of these.    Walter Rudin: PRINCIPLES OF MATHEMATICAL ANALYSIS, 3rd edition:  Definition 3.16: Given a sequence $\{s_n\}$ of real numbers, let $E$ be the set of numbers $x$ (in the extended real number system) such that $s_{n_k} \to x$ for some subsequence $\{s_{n_k}\}$. This set contains all subsequential limits ..., plus possibly the numbers $+\infty$, $-\infty$. We now ... put  $$s^{*} = \sup E,$$ $$s_{*} = \inf E.$$ The numbers $s^{*}$, $s_{*}$ are called the upper and lower limits of $\{s_n\}$; we use the notation  $$ \lim_{n \to \infty} \sup s_n = s^{*}, \, \, \, \lim_{n \to \infty} \inf s_n = s_{*}.$$ Tom M. Apostol: MATHEMATICAL ANALYSIS, 2nd edition:  Sec. 8.3: Definition 8.2: Let $\{a_n\}$ be a sequence of real numbers. Suppose there is a real number $U$ satisfying the following conditions:    i} For every $\epsilon &gt; 0$ there exists an integer $N$ such that $n &gt; N$ implies $$a_n &lt; U + \epsilon.$$ ii) Given $\epsilon &gt; 0$ and given $m &gt; 0$, there exists an integer $n&gt; m$ such that $$a_n &gt; U - \epsilon.$$ Then $U$ is called the limit superior (or upper limit) of $\{a_n\}$, and we write $$U = \lim_{n \to \infty} \sup a_n.$$ Statement (i) implies that the set $\{a_1, a_2, a_3, \ldots \}$ is bounded above. If this set is not bounded above, we define $$\lim_{n\to\infty}\sup a_n = +\infty.$$ If the set is bounded above but not bounded below and if $\{a_n\}$ has no finite limit superior, then we say $\lim \sup_{n\to\infty} a_n = -\infty$. The limit inferior (or lower limit) of $\{a_n\}$ is defined as follows: $$\lim_{n\to\infty}\inf a_n = -\lim_{n\to\infty}\sup b_n,$$ where $b_n = -a_n$ for $n= 1, 2, 3, \ldots$.    Robert G. Bartle and Donald R. Sherbert: INTRODUCTION TO REAL ANALYSIS, 3rd edition: Exercises for Section 3.3: Problem 10: Let $(x_n)$ be a bounded sequence of real numbers, and for each $n\in \mathbb{N}$ let $s_n \colon= \sup \{x_k \colon k \geq n\}$ and let $t_n \colon= \inf \{x_k \colon k \geq n\}$. Prove that $(s_n)$ and $(t_n)$ are monotone and convergent. Also prove that if $\lim (s_n) = \lim (t_n)$, then $(x_n)$ is convergent. [One calls $\lim (s_n)$ the limit superior of $(x_n)$ and $\lim (t_n)$ the limit inferior of $(x_n)$.]   Now how can one show that the above three definitions are equivalent (i.e. these three definitions are of the same pair of numbers)? In Thor: The Dark World, Odin and Loki are discussing Loki's actions during The Avengers.  Loki argues that he would have ruled Earth as &quot;a benevolent god&quot;, and Odin replies:  Odin: We are not gods! We are born, we live, we die, just as humans do.  Now that's pretty definitive.  And Loki's snarky reply (&quot;Give or take five thousand years...&quot;) would seem to confirm that Asgardians have a limited lifespan, and will eventually die of old age.1  And we know that Asgardians can die in battle, because we've seen it happen over and over with supporting characters and Asgardian soldiers. Now, I've always been more of a fan of Thor stories (like Jason Aaron's Thor: God of Thunder arc) in which Thor and the Asgardians are gods.  Straight-up, genuine, higher-level-of-existence gods, not von-Däniken-esque wannabes playing on the tired old notion of magic just being super-advanced science.  BUT, despite my preferences, this exchange would seem to confirm once and for all that in the MCU, the Asgardians are not gods, but rather were mistaken for gods because of their ram-horns full of awesome-sauce and their magnificent bulging pecks. But wait!  Watch that movie for about 30 seconds longer and we come across this exchange:  Thor: She is ill. Odin: She is mortal. Illness is their defining trait.  Wait, what?  I thought Asgardians weren't immortal?  They can die in battle, and they naturally die of old age.  In my book, that makes them long-lived, but entirely &quot;mortal&quot;.  Surely Odin isn't splitting a hair so fine as to say that resistance to disease alone makes one &quot;immortal&quot;? So, if the Asgardians of the MCU aren't actually gods (grumblegrumblegrumble...), and they can't live forever (or even particularly long in a cosmic sense), and they can be killed in battle, in what sense are they &quot;immortal&quot; at all?  1 Fun fact: adjusted for a roughly 5,000 year lifespan, 1,048-year-old Loki is currently in the tail-end of his rebellious teenage phase. Low Quality Posts reviews add comments more than once on behalf of reviewer Every metrizable space with a countable dense subset has a countable basis How to enable MySQL client auto re-connect with MySQLdb? I came across PHP way of doing the trick:  my_bool reconnect = 1; mysql_options(&amp;mysql, MYSQL_OPT_RECONNECT, &amp;reconnect);   but no luck with MySQLdb (python-mysql).  Can anybody please give a clue? Thanks. Why was River Song so slow? Given a prime $p$ and number $a$, how do I find the smallest $n$ such that $n^a\equiv 1 \pmod p$? Is there a non trial-and-error method?  Edit: obviously removing $n=1$! Prove that $\mathbb{N}^k$ is countable for every $k \in \mathbb{N}$.  I am told that we can go about this inductively.   Let $P(n)$ be the statement: “$\mathbb{N}^n$ is countable” $\forall n \in \mathbb{N}$.  Base Case: $\mathbb{N}^1 = \mathbb{N}$ is countable by definition, so $\checkmark$  Inductive Step: $\mathbb{N}^{k+1}$ $“=”$ $\mathbb{N}^k \times \mathbb{N}$  We know that $(A,B)$ countable $\implies$ $A \times B$ is countable. I am stuck on the part where I have to prove the rest, but I know that, for example, $(1,2,7) \in \mathbb{N}^3 \notin \mathbb{N}^2 \times \mathbb{N}$ but instead $((1,2),7) \in \mathbb{N}^2 \times \mathbb{N}$. So how would I go about proving the statement. Evaluating $\zeta(0)$ using the functional equation of Riemann-Zeta function. $$\zeta(it)=2it\pi it−1\sin(i\pi t/2)\Gamma(1−it)\zeta(1−it).$$ Everything on the RHS is never zero,  Does that means LHS has no zeros, since $\sin(s)$ has a simple zero at $s=0$ while $\zeta(1−s)$ has a simple pole at $s=0$  (the Laurent expansion), so the product $\sin(i\pi t/2)\zeta(1−it)$ is finite and nonzero at $t=0$.  My question is that from functional equation one can't get direct answer $\zeta(0)=−1/2$ unless using alternate infinite series ! If the universe is expanding, what is it expanding into? What are Virtual Methods? Why would you declare a method as "virtual".   What is the benefit in using virtual?