How to read a text file in a bottom up fashion in java?
Read a file line by line in reverse order
Issue in using longtable within table environment I have an issue making a long list with wrapped text. The table can be several page long. I use longtable and assign the width for each column but as soon as I put it in the \begin{table} \end{table}, it does not work. It clips the table. I want to make a label for the table so I put it in the table environment.  And is there a way to automatically adjust the width so that I don't need to assign the value manually?  Thank you.   Tung  \begin{table} \centering \begin{longtable}{|p{6.5cm}|p{2.5cm}|p{2.5cm}|p{2.5cm}|} \hline Name                                      &amp; Company     &amp;  Catalog Number   &amp;   Comments    \\ \hline Small DNA FRAG Extract Kit-100PR          &amp; VWR         &amp;   97060-558 &amp; \\ \hline Acrylamide 40\% solution 500 mL           &amp; VWR         &amp;   97064-522 &amp;  \\ \hline Bis-acrylamide 2\% (w/v) solution 500 mL  &amp; VWR         &amp;   97063-948 &amp;  \\ \hline GeneRuler 100 bp DNA Ladder, 100-1,000 bp &amp; Fermentas   &amp;   SM0241  &amp;    \\ \hline Mini Vertical PAGE System                 &amp; VWR         &amp;   89032-300  &amp;  \\ \hline \end{longtable} \label{tab:list} \end{table} My setup  I have a linux server running in my basement. I currently have my router looking to that server for DNS lookup, so I can use named to spoof a bunch of domain names to point to my local server's local address, 192.168.0.111. This works great.  I also am running Apache and PHP on this server, and have forwarded port 80 on my router to this machine, so my public IP xx.xxx.x.xx is sent to the basement server.  This is a great development set up for me, because I can develop websites in my local network and pull them up on numerous devices with a *.mylocal.net address. I can also quickly share a website on my public IP with others that are outside of my network.  I have a static IP, so that makes this even easier.  The problem  Some applications need to have an absolute URL. My spoofed DNS doesn't work outside my network, and neither does my internal IP address.  I need to be able to access the sites at the same IP that they are accessed publicly, which is my public IP: xx.xxx.x.xx    For some reason, I can't access my own public IP address from within my own network.  My router's public IP is xx.xxx.x.xx, and when I hit xx.xxx.x.xx from outside my network I see exactly what I want -- my development website. But, when I hit xx.xxx.x.xx from inside my network, the connection times out.    I assume my ISP has a firewall that blocks requests from xx.xxx.x.xx to xx.xxx.x.xx where the origin and the destination are the same IP (or maybe this is impossible on any network?)  So how can I set up my network to forward the internal request to my public IP to the local IP of my basement server?   I would like to do this within the local DNS server I set up, or in my router, so the change can be applied to all devices in my network, and not just the basement server or the windows tablet/laptop, etc individually. Does Two-Face die at the end of The Dark Knight? An idiom to describe someone who thinks he/she is wiser than others My husband wanted me to set up a Facebook account for him and I accidentally used our shared email address, which is set against my own account.  Since then, neither of us has been able to log in, so I can't alter any settings.  Can anyone advise how to resolve this please? MacBook Pro 2018 Random Restart > Previous shutdown cause: -20 Difference between "while" and "whilst" Possible Duplicate:          In terms of construction of sentences, can the two words while and whilst be used interchangeably? How to prove that any idempotent matrix is diagonalizable? In Markov inequality proof, why is $\int_a^\infty xp(x) \, dx \ge \int_a^\infty ap(x) \, dx$ Markov inequality,   $$\Pr(X \ge a) \le \frac{E[x]}{a}$$  Proof  $$\begin{aligned}      E(X) &amp;= \int_0^\infty xp(x)\,dx = \int_0^a xp(x)\,dx + \int_a^\infty xp(x)\,dx \\       &amp;\ge \int_a^\infty xp(x)\,dx \ge \int_a^\infty ap(x) \, dx  \end{aligned}$$  Why is the last inequality true? Why is it ok to change $x$ to $a$, and we know it is less than or equal to? How did they figure it out? Thanks! Code Formating in Comments My non-native English speaking friend just asked me: "Data is..." or "Data are..."?  I said both but that's because I've been desensitized from reading/writing both (especially from writing code and adding quick comments).  My question: Is it acceptable to utilize either for a university paper? Or is one safer than the other (when confronted with stickler professors)?    Related questions: Show that $\mathbb{Q}\times \mathbb{Q}$ is denumerable Suppose one is trying to find the radius of convergence of  $$ \exp(x)=\sum\limits_{k=0}^{\infty} \frac{x^k}{k!} $$  This "proof" was given in the lecture: $$ \begin{align} r =&amp; \frac{1}{\limsup\limits_{n \rightarrow \infty}\sqrt [n]{|a_n|}} \\ =&amp; \frac{1}{\limsup\limits_{n \rightarrow \infty}\sqrt [n]{\frac{1}{n!}}} \\ =&amp;\lim\limits_{n \rightarrow \infty} \sqrt [n]{n!}\\ r=&amp; \infty \end{align}$$  Other proofs involving the ratio test also seem to inspect the convergence of $\frac{1}{k!}$ instead of $\frac{x^k}{k!}$. Why is one allowed to substitute $\frac{1}{k!}$? NULL values inside NOT IN clause Characterising reals with terminating decimal expansions Show that a number has a terminating decimal expansion if and only if, it is rational and when in lowest terms, its denominator is coprime to all primes other than $2$ and $5$.   This is an unsolved question in my lecture notes. I can only seem to prove the converse direction for this. Would appreciate a solution for the other direction.     For converse direction:   Let the number, in lowest terms, be given by $\frac{l}{m}$ where $m = 2^ \alpha 5^\beta$, for some positive integers, $\alpha$ and $\beta$.    If $\alpha &gt; \beta$, let $k = 5^{(\alpha-\beta)}$. If $\alpha &lt; \beta$, let $k = 2^{(\beta-\alpha)}$.   Then $\frac{l}{m} = \frac{kl}{k2^\alpha5^\beta}=\frac{kl}{10^q}$ where $q = \max(\alpha,\beta)$.   Hence $\frac{l}{m}$ is a terminating decimal. I don't know anything about Star Trek except for the fact that it's about spaceships.  In  the person only wanted to watch the TV series. I want to watch every movie and TV series there is about Star Trek but I don't know where to start. I found this page on  which is about a time line. Do I need to watch it in this order? Are the movies and TV series related? Replaced wrong car in garage in GTA Online Override parent theme translation on child theme I have a parent theme that uses correctly load_theme_textdomain() to load all the translated strings in many languages.  Then I created a child theme that uses load_child_theme_textdomain() to achieve the same thing for its strings.  There are certain translated strings for a particular language on the parent theme that I'd like to replace/override in the child theme.  I know if they were on a template file I could replace the file and simply change the textdomain for those strings, but unfortunately the ones I'm talking about are used in many places and also in the dashboard (so inside some filter/action functions).  So my question is: is there a way to replace those translated strings inside the child theme without having to replace parent template files or functions?  I don't know, maybe adding a parent-theme.mo file inside the languages folder of the child theme with only those strings translated, or something like that. Autofilling fields based on another field How to send mail from the command line? How to send mail from the command line?