"big enough to do this"
“He is small enough to walk.” But baby wasn't walking so why didn't they use “small” instead of “small enough”?
Table column not align if give color for Table entries My code follows:  \documentclass{book} \usepackage{color,colortbl} \begin{document}  \begin{tabular}{ll&gt;{\color{red}}p{20pc}} a &amp;1 &amp;Test \end{tabular}  \end{document}   The output was:    Some unnecessary vertical space came before the last column. If I remove the tag \color{red} then everything works fine, how can I fix this?  Above said issue was fixed based on the suggestion given by David Carlisle and CarLaTeX, but the same problem was there if I use the supertabular environment, I used supertabular package for auto breaking table and the code follows:  \documentclass{book} \usepackage{color,colortbl,supertabular} \begin{document}  \begin{supertabular}{ll&gt;{\leavevmode\color{red}}p{4pc}&gt;{\leavevmode\color{black}}l&gt;{\leavevmode\color{black}}l&gt;{\leavevmode\color{red}}p{4pc}} a &amp;1 &amp;Test &amp;a &amp;1 &amp;Test\\ a &amp;1 &amp;Test &amp;a &amp;1 &amp;Test\\ \end{supertabular}  \end{document} Does one need a visa to transfer between two airports during a transit through the Schengen area? I am an Indian citizen travelling from New York to Delhi with a layover in Paris where I need to transfer between Paris Orly Airport (ORY) and Paris Charles de Gaulle Airport (CDG).  Do I need to have a visa to make this transfer?  I didn't notice that while booking the ticket. I need to monitor the network activities of a process and the bandwidth of the connection. So I decided to use nethog and netperf combine with grep and awk to write the values to a file.   nethog command: nethogs -t  eth0 | grep firefox | awk '{ print $3 }' (I want to take the upload/download speed). The 1st problem is that command doesn't print anything.  More detail: command: nethogs -t  eth0 | grep firefox output:  usr/lib/firefox/firefox-bi�)/4956/1000  0.338867    0.239063 /usr/lib/firefox/firefox-bi�)/4956/1000 0.543555    0.274219 /usr/lib/firefox/firefox-bi�)/4956/1000 0.794531    0.489844 /usr/lib/firefox/firefox-bi�)/4956/1000 0.794531    0.489844 /usr/lib/firefox/firefox-bi�)/4956/1000 0.749023    0.589844 /usr/lib/firefox/firefox-bi�)/4956/1000 1.30098 3.47617 /usr/lib/firefox/firefox-bi�)/4956/1000 1.90449 8.0127 /usr/lib/firefox/firefox-bi�)/4956/1000 5.31641 25.0033 /usr/lib/firefox/firefox-bi�)/4956/1000 8.60762 42.0176   I want the two values at the bottom right. But as you can see the output ain't consistent (the space), add | awk '{print $3}' most of the time return nothing. And I can't fix this.  netperf command: netperf -H 192.168.1.10 and the output is:  Recv   Send    Send                           Socket Socket  Message  Elapsed               Size   Size    Size     Time     Throughput   bytes  bytes   bytes    secs.    10^6bits/sec    524288 524288 262144    10.00    **718.62**   I want to print the value on the bottom right but have no idea how to. That's the 2nd problem => solved by  fedorqui!  Can you guys help me out? Any ideas will be appreciated! Problem 20-9 in Lee's Introduction to Smooth Manifolds (2nd Ed.) asks to prove that for a Lie group $G$, and for $X, Y\in \text{Lie}(G)=\mathfrak g$, there is $\epsilon&gt;0$ and a smooth map $Z:(-\epsilon, \epsilon)\to \mathfrak g$ such that   $$(\exp tX)(\exp tY) = \exp\left(t(X+Y) + \frac{1}{2}t^2[X, Y] + t^3 Z(t)\right)$$   What we want to show is that the first and second term in the Taylor expansion of $\exp^{-1}\left((\exp tX)(\exp tY)\right)$ are $t(X+Y)$ and $\frac{1}{2}t^2[X, Y]$ respectively.  Calculating the first term is easy since we just need to differentiate $\exp^{-1}((\exp tX)(\exp tY))$ with respect to $t$ at $t=0$ once, and this gives the desired result.  But for the second term we need to take the second derivative at which I am stuck. Why does $\tan^{-1}(1)+\tan^{-1}(2)+\tan^{-1}(3)=\pi$? Playing around on wolframalpha shows $\tan^{-1}(1)+\tan^{-1}(2)+\tan^{-1}(3)=\pi$. I know $\tan^{-1}(1)=\pi/4$, but how could you compute that $\tan^{-1}(2)+\tan^{-1}(3)=\frac{3}{4}\pi$ to get this result? Passing list to viewparams variables in GeoServer SQL views? I have a sql view which take only one parameter, but this parameter is a list, and a need to know how can i pass this parameter in the url  Here is my sql view  SELECT * FROM shop WHERE id IN %list%   When I put the default value for %list% as (1, 2 ,3) as example, the layer preview works and show the shopa with the default ids,  but when I try this in the url  viewparams=list:(1,2,3)   does not work.   I already tried other things like   viewparams=list:"1,2,3"   but nothing works.  Does anyone know how to do this? Installing from source - do I need to keep the extracted tarball directory If I'm installing from source, do I need to keep the extracted tarball directory?  So if I download the git tarball. I then do:  tar -xvzf git.tar.gz   This will create a git.x.x. directory, into which I cd, then run ./configure etc. Once I'm done with this process, and git, or whatever is installed, do I need to keep the original git.x.x extracted directory, or is that just used for compiling the program?  I'm somewhat confused by all the directories, and folders used for programs. I am trying to prove the following.  Proposition Let $g$ be a Lie algebra such that the first derived algebra $Dg$ is a proper ideal of $g$. Consider the quotient $g/D^1 g$, and show that the preimage of any codimension 1 subspace is   an ideal, and has codimension 1.   I could show that the preimage is indeed an ideal, but I need some help with the part about the dimensions:  So suppose that $\phi: x \mapsto [x]$ is the quotient projection. And write $[h] + Dg$  for a codimension 1 subspace of $g$ (here $h\subset g$). Then the preimage of this subspace is just the linear span $h+Dg\leq g$. Let $y+z \in h+Dg$ with $y\in h$ and $z\in Dg$. Let $x\in g$. We want to show that $[x, y+z]\in h$, ie that $h + Dg \lhd g$. We can write $x$ as $x_0+x_1$ for $x_0 \in Dg$, $x_1\not\in Dg$. Then  $$[x,y+z] = [x_0, y+z] + [x_1, y] + [x_1,z] \in h + Dg$$  The inclusion follows since $Dg$ is an ideal so the first and third terms belong $Dg$; and $[x_1, y] \in D_g$, as $g/Dg$ is abelian. Process substitution and pipe I have a database with millions of phone numbers with free-for-all formatting. Ie, the UI does not enforce any constraints and the users are typing in whatever they want.  What I'm looking for is a Java API that can make a best-effort to convert these into a consistent format. Ideally, the API would take the free text value and a country code and produce a valid international phone number or throw an exception.  For example, a phone number in the system might look like any of the following:  (555) 478-1123 555-478-1123     555.478.1123 5554781123   Given the country of US, the API would produce the value "+1 (555) 478-1123" for all these. The exact format does not matter, as long as it's consistent.  There are also numbers in the system without area codes, such as "478-1123". In that case, I would expect a NoAreaCodeException, or something similar.  There could also be data such as "abc", which should also throw exceptions.  Of course, there are countless variations of the examples I have posted, as well as the enormous complication of international phone numbers, which have quite complicated validation rules. This is why I would not consider rolling my own.  Has anyone seen such an API? I just updated all my sites using the patch method of resolving the Drupal SA-CORE-2014-005 exploit. I just read reports that just yesterday there is someone from a Russian IP infiltrating drupal sites.     My main concerns are now:   How do I tell if my sites have been comprised? What should I search for in my apache access logs to detect if my site was a victim or not? So far what are these hackers doing to comprised sites? Problem with typesetting maths content in an unusual font in beamer Nvidia graphics card no longer works in Windows 10 (error: Code 43) but works in Ubuntu For a prime $p \equiv 1$ or $3$  (mod $8$), show that the equation $x^{2} + 2y^{2} = p$ has a solution.   I'd like to see an elementary proof. I am working on setting up a Minecraft server on a machine I have at home. This particular machine has two quad-core CPUs running at 2.0Ghz so I would like to take advantage of the number of cores and run a server with 4 or 6 of the cores. My server of choice is CraftBukkit, the latest version of which is craftbukkit-1.4.7-R1.0 and launched with a start-up script of:  "C:\Program Files\Java\jre7\bin\java.exe" -Xms1G -Xmx8G -jar craftbukkit-1.4.7-R1.0.jar"   The  says:     Minecraft servers, as of 1.1.0, can use multiple cores, so now they will not sit idle.   but does not really expand on this.  My questions, then:   Is it possible to set the number of cores the server uses? How do I do it - via start-up options, or other methods? Is it really worth it and would it make that much of a difference with a lot of players? How and when is old-releases.ubuntu.com updated? The old-releases.ubuntu.com mirror hosts the repositories for EOL Ubuntu releases. The  currently lists up to 11.10 (or 12.04.3 if you count point upgrades), but the  lists up to 13.04. Why the discrepancy? When will the main page be updated? When will the newest EOL release (13.10) be shifted here? In our application, we receive text files (.txt, .csv, etc.) from diverse sources. When reading, these files sometimes contain garbage, because the files where created in a different/unknown codepage.  Is there a way to (automatically) detect the codepage of a text file?   The detectEncodingFromByteOrderMarks, on the StreamReader constructor, works for UTF8  and other unicode marked files, but I'm looking for a way to detect code pages, like ibm850, windows1252.     Thanks for your answers, this is what I've done.  The files we receive are from end-users, they do not have a clue about codepages. The receivers are also end-users, by now this is what they know about codepages: Codepages exist, and are annoying.  Solution:    Open the received file in Notepad, look at a garbled piece of text. If somebody is called François or something, with your human intelligence you can guess this. I've created a small app that the user can use to open the file with, and enter a text that user knows it will appear in the file, when the correct codepage is used.  Loop through all codepages, and display the ones that give a solution with the user provided text.  If more as one codepage pops up, ask the user to specify more text. How do I document a module in Python? That's it. If you want to document a function or a class, you put a string just after the definition. For instance:  def foo():     """This function does nothing."""     pass   But what about a module? How can I document what a file.py does? I need to grant select permission for all tables owned by a specific user to another user.  Can I do this with a single command along the lines of:  Grant Select on OwningUser.* to ReceivingUser   Or do I have to generate the sql for each table with something along the lines of:   Select 'GRANT SELECT ON OwningUser.'||Table_Name||'TO ReceivingUser'   From All_Tables Where Owner='OWNINGUSER' Why is it so difficult to pull an immersed mug out of the water? Suppose I put a mug in the water and then tilt it so that the water gets inside. It then floats due to buoyant force. But if I try to pull it out then a lot of force is needed. That's due to suction? What exactly happens at the moment when the force I apply is enough to pull the mug out? And what causes the loud pop sound when that happens?