Problems installing “sudo” under Debian 6
"Unable to locate package sudo" when i try to install sudo on new Debian
Can someone please explain how I can install  in the following ways?   By using the package manager? By downloading and installing a pre-built package? Search for a string in all tables, rows and columns of a DB How to modify a text file? I'm using Python, and would like to insert a string into a text file without deleting or copying the file. How can I do that? My 2nd great-grandmother, Margaret Elizabeth Armegust or Arbingast, was born 22 Sept 1837 in Ohio and died 24 July 1929 at the Richmond State Hospital, Wayne, Indiana, United States.  She lived for a time in Sparta, Noble, Indiana and Stock, Harrison, Ohio. She was married to John B. Miller on 22 Oct 1859 in Noble and they had at least five children: James, Samuel, Elias, Julia, and John.  I am searching for records from the State Hospital to learn of her diagnosis and treatment. Here is the top output which I gathered:    I noticed that top is showing vlc's cpu usage is > 100%.  Can anybody please justify me why it is showing like this, whether this is a bug in top application or something else. Let $L$ denote the set of all lines in the Euclidean plane $\Bbb R^2$. We say that two lines $L$ and $M$ are parallel if either $L = M$ or $L$ and $M$ have no points in common.  Using Euclid’s Parallel Postulate prove that parallelism is an equivalence relation on the set $L$.  I need some help determining if I have the right idea about this.  $L=L$ which means that $L$ is parallel to itself. So this is reflexive.  Suppose we have $L || M$. Then Either $L=M$ or $L$ and $M$ share no points. So Then $M=L$ or $M$ and $L$ share no points. Then $M||L$. So this is symmetric.  Suppose we have $L || M$ and $M || N$. So then either $L=M$ or $L$ and $M$ share no points and either $M=N$ or $M$ and $N$ share no points. So we have that either $L=N$ or $L$ and $N$ share no points. So $L || N$. So then this is transitive.  So from all of this, parallelism is an equivalence relation. I'm not sure if this is correct or not. Any help would be appreciated. Decomposition of semisimple Lie algebra via its roots What level is a spell if you cast it without expending a spell slot? This one seems to be a common question in most forums and all over the web, it is asked here in many formats that typically sound like this:  In SQL Server -  What are some reasons the transaction log grows so large? Why is my log file so big? What are some ways to prevent this problem from occurring? What do I do when I get myself on track with the underlying cause and want to put my transaction log file to a healthy size? In Book 1, Artemis et al escaped from the time stop by drugging themselves to sleep.  In the same time stop, Julius Root "accidentally" plugged Briar Cudgeon with a tranquilizer dart.  Cudgeon fell asleep, but did not disappear from the time stop.  Why not? In today's pattern recognition class my professor talked about PCA, eigenvectors and eigenvalues.   I understood the mathematics of it. If I'm asked to find eigenvalues etc. I'll do it correctly like a machine. But I didn't understand it. I didn't get the purpose of it. I didn't get the feel of it.        I strongly believe in the following quote:     You do not really understand something unless you can explain it to your grandmother. -- Albert Einstein   Well, I can't explain these concepts to a layman or grandma.   Why PCA, eigenvectors &amp; eigenvalues? What was the need for these concepts? How would you explain these to a layman? Looking for a short story about a boy discovering that the government puts mind control chemicals in his cereal I would have read this around 1985-1998 because I remember being in school at the time. It may have been in a short story collection with "The Ugly Little Boy" and a story about a family dealing with people in the future coming back to enhance the intelligence of their baby with enfante terrible results. A boy, grade school age or so and very intelligent, discovers (or possibly just decides) that there are drugs in the food that prevent one from thinking critically. The details are kind of fuzzy in my head, but I remember that he at one point distills the chemical from his cereal, which he'd detected as having a high concentration, and overdoses. He's convinced that the government is trying to silence him — a scene that sticks out in my mind was him falling on a moving sidewalk and tearing his clothing as he tries to escape two "men in black" type figures that are pursuing him. The short story ended with him deciding that he was better off just consuming the food and being happy in his ignorance.  Years later, as an adult learning about mental illness, it struck me that the story was slightly ambiguous as to whether there actually were chemicals, and that the use of drugs that dulled his creativity and intelligence, and the decision to take them anyhow, was reminiscent of the feelings that manic people have toward their medications.  Anyone know what this one was? Maybe a stupid question but how can I tell if I have a static IP address or a dynamic IP address? Running Fedora-13 Export each image from a collection in Google Earth Engine Jump between open windows on multiple monitors in Task View on Windows 10 with keyboard I'm using two monitors with Windows 10 and I have a few windows open on each monitor. When I open the Task View (Win + Tab) I can only navigate between the main monitor's windows with keyboard (using arrow keys or the Tab key). I see the other display's windows on that display but can't figure out how to cycle through those windows with my keyboard.  Is there a way I can give focus to secondary monitor's windows in the Task View using keyboard?  To put it another way, how do I select the first item on the right monitor in the following screenshot using keyboard? Proving identities (mod $pq$) using Fermat's little theorem? I'll be traveling to Germany this May and my planes would arrive at 4 May 20.30 at Frankfurt Airport but the Schengen visa that I received is valid only at 5 May.  Is it possible to enter if it's only a few hours before the day change? Or do I have to wait until day change in the transit area?  Another thing, would the airline rejected me from boarding the plane? creating a db schema I am trying to create a schema page in LaTeX. It shall look like this.   How can I create schema code which look like this image? There should be also a click to go function. When the user clicks on the user_schema link he should be redirected to that page.  What classes I can use for this? Any suggestions would be appreciated.    \documentclass{article} \usepackage[utf8]{inputenc}  \begin{document} \maketitle  \section{User schema} \mySchema{Users} {     _id: ObjectId - Id do registro     name: String - Nome do usuário     date: Date - Data de Cadastro     ren_date: Date - Data de renovação do Cadastro     email: String - Lorem ipsum dolorsitamet, consecteturadipisicingelit, sed do eiusmodtemporincididunt ut labore et dolore magna aliqua. Ut enim ad minimveniam, exercitationullamcolaborisnisi ut aliquipexeacommodoconsequat. Duisautereprehenderit in voluptatevelit esse cillumdolore eu fugiatnullapariatur. Occaecatcupidatat non proident, sunt in culpa quiofficiadeseruntmollit.     access_log: Array [          {              date: String - Data da ocorrência.             user: ObjectId - Usuário que executou.             action: String - Ação Executada.         }         {              date: String - Data da ocorrência.             user: ObjectId - Usuário que executou.             action: String - Ação Executada.         }     ]     \link{group}{group_id}: ObjectId - Id do grupo. } \end{document}   Here is the image how should it appear: Java Swing: Displaying images from within a Jar Why does my apple not weigh 500 tons? Related to this question:   $E=mc^2$ - energy equals mass. So, if an object has gravitational potential energy relative to another object, it should have additional mass to represent that extra energy.  So, if I have an apple in my hand, it should have quite a large amount of gravitational potential energy relative to a black hole at the edge of the observable universe. I did a quick calculation of how much this gravitational potential energy would be (using Newton's Law of Gravitation) and it came out to be the equivalent of around 500 tons (and that's just for one black hole!).  So, why does my apple not weigh a lot more than it appears to?  EDIT: Here's my calculation of the GPE:  Assumptions:   The apple has mass $m_a=0.3 kg$ The black hole has a mass equal to 1000 solar masses, $m_b=2\times10^{33} kg$ Distance between the apple and black hole is 60 billion light years   Obviously $GPE=mgh$ can't be used, because the gravitational acceleration is not constant and varies with distance, so it has to be integrated.  I used Newton's Law of Gravitation to provide the acceleration:  $$ F=\frac{G{m_1}{m_2}}{h^2} $$  A small change in height produces a small change in energy, which can be used to integrate:  $$ \begin{eqnarray*} \delta E&amp;=&amp;F \delta h\\ \int_0^EdE&amp;=&amp;G{m_a}{m_b}\int_1^R\frac{1}{h^2}dh \end{eqnarray*} $$  I'm integrating the force starting at 1m from the center of the black hole, as the force goes to infinity at $h=0$. It's a little crude, but it should provide a conservative estimate.  $$ \begin{eqnarray*} E&amp;=&amp;G{m_a}{m_b}(1-\frac{1}{R})\\ E&amp;\approx&amp; G{m_a}{m_b}\;\;\;\;\;\;(R&gt;&gt;1)\\ G&amp;=&amp;6.673\times 10^{-11}\;\;N(\frac{m}{kg})^2\\ G{m_a}{m_b}&amp;=&amp;4\times 10^{22}\;\;Nm\\ E&amp;=&amp;mc^2\\ \Delta m&amp;=&amp;\frac{4\times 10^{22}}{(3\times 10^8)^2}\\ &amp;\approx&amp;444,000\;\;kg \end{eqnarray*} $$  So, a little short of 500 tons, but still pretty big!