We saw Peter drive away.   Turned into passive:     Peter was seen to drive away.   I don't agree with this, because the meaning would be entirely different- in my limited understanding. What's making me unsure is that this is on an educational curriculum book, whose creators would surely be more proficient at English than me. We all make mistakes, so is the sentence correct?  The alternative which I suggest:      Peter was seen driving away.   The other question doesn't adress my problem. The sentence is indeed grammatically correct, but I'm saying the meaning changes because it would cause a confusion with the phrasal verb (or idiom- I might be mixing them up) "see to". I want someone to confirm or deny my arguement. Here:
We have a situation: someone saw the boy break the window. Can I make this passive sentence?     The boy was seen to break the window.   I use Murphy's Grammar and this structure is never discussed.
Arrow keys, Home, End, tab-complete keys not working in shell I have installed ubuntu minimal(mini.iso) on my vm. I then used recovery mode to login as root and create an account with useradd -m admin and then set a password with passwd admin.  When I login on the new account, instead of the normal prompt I only see a $ sign. If I try to tab-complete a command or file name it prints a normal tab. If I try to use the arrow keys it prints ^[[A, ^[[B, ^[[C or ^[[D. Also, ls no longer adds colors.  None of these problems were in recovery mode. How can I fix this? Can I check if the C# compiler inlined a method call? I'm writing an XNA game where I do per-pixel collision checks. The loop which checks this does so by shifting an int and bitwise ORing and is generally difficult to read and understand.  I would like to add private methods such as private bool IsTransparent(int pixelColorValue) to make the loop more readable, but I don't want the overhead of method calls since this is very performance sensitive code.  Is there a way to force the compiler to inline this call or will I do I just hope that the compiler will do this optimization?   If there isn't a way to force this, is there a way to check if the method was inlined, short of reading the disassembly? Will the method show up in reflection if it was inlined and no other callers exist?  Edit: I can't force it, so can I detect it? Integral vanishes on all intervals implies the function is a.e. zero I am having trouble with the following problem:      $f:\mathbb{R}\to \mathbb{R}$ is a measurable function such that for all $a$:   $$\int_{[0,a]}f\,dm=0.$$   Prove that $f=0$ for $m$ almost every $x$ (here $m$ is the Lebesgue measure).    I have no problem proving this for $f$ non-negative, or under the assumption that $f$ is integrable. But the question only assumes that $f$ is measurable and no more.  My idea was the usual thing; we look at the set of points where $f$ is positive and negative and assume one of these has measure greater than zero. Then I wanted to estimate one of these by an open set, look at the integral on the open set and show that it had to be greater than zero, a contradiction. But a key part of this attack is the assumption of the absolute continuity of the integral, which only holds in the case where $f$ is integrable.  Alternatively, if it were integrable one could simply estimate $f$ by a continuous function, where the result is quite obvious.  Ultimately we are going to show that $f$ is integrable, but it is not clear to me how to show this before showing it is zero a.e. So there must be a simpler way. Does anyone have suggestions? I want to write all zeros to my hard drive, so I can re-install windows 7 Why isn't an infinite, flat, nonexpanding universe filled with a uniform matter distribution a solution to Einstein's equation? Display header and footer in all PDF pages using VF My vf page     &lt;apex:page renderAs="pdf" Controller="testpdf1"&gt;     &lt;head&gt;         &lt;style type="text/css" media="print"&gt;             @page              {                 size: 8.5in 11in;/* width height */             }              @page              {                 @top-center                  {                     content: element(header);                 }                  @bottom-left                  {                     content: element(footer);                 }             }              div.header              {                 padding: 10px;                 position: running(header);             }              div.footer              {                 display: block;                 padding: 5px;                 position: running(footer);             }              .pagenumber:before              {                 content: counter(page);             }              .pagecount:before              {                 content: counter(pages);             }         &lt;/style&gt;     &lt;/head&gt;      &lt;div class="header"&gt;             &lt;div align="right"&gt;Header&lt;/div&gt;     &lt;/div&gt;      &lt;div class="footer"&gt;         &lt;div&gt;Page &lt;span class="pagenumber"/&gt; of &lt;span class="pagecount"/&gt;&lt;/div&gt;     &lt;/div&gt;      &lt;div class="content"&gt;         &lt;p&gt;             &lt;apex:repeat value="{!opp}" var="item"&gt;                 &lt;tr&gt;                     &lt;td class="tableContent"&gt;{!item.Name}&lt;/td&gt;                 &lt;/tr&gt;             &lt;/apex:repeat&gt;         &lt;/p&gt;     &lt;/div&gt; &lt;/apex:page&gt;   Controller  public class testpdf1 {     public list&lt;Account&gt; opp{get;set;}      public testpdf1()     {         opp=[SELECT Name  from Account limit 50];     } }   I am getting all records in pdf format but able to get header in first page only and i am not getting header from second pages how can i display header to all pages. Add a section before \tableofcontents to content So, if we have a large pipe which is constricted in the middle, the fluid in the middle section  will move faster. Why is it so? What dictates that liquid that an X amount of it must pass on the other side regardless of the size of the encasement?  The only reason I could think about is because that the initial pressure which causes the movement somehow is being transferred to a smaller area, but that makes no sense. Prove if $|a_{n+1}|/|a_n| \leq |b_{n+1}|/|{b_n}|$ and $\sum |b_n|$ is convergent, then $\sum |a_n|$ is convergent Suppose that we do not know anything about the complex analysis (numbers). In this case, how to calculate the following integral in closed form? $$\int_0^\infty\frac{\cos x}{1+x^2}\,\mathrm{d}x$$ If $\mathrm{Tr}(A)=0$ then $T=R^{-1}AR$ has all entries on its main diagonal equal to $0$ Why is $\mathbb{E}[X] = 1 + \sum^\infty_{k=1}\mathbb{P}(X > k)$ true? I'm working through a problem regarding expected values in Markov chains, and at some point it says:     Recall from probability that if $X$ is a positive integer valued random variable, then $\mathbb{E}[X] = 1 + \sum^\infty_{k=1}\mathbb{P}(X &gt; k)$.   I know that by definition $\mathbb{E}[X] = \sum_a a\mathbb{P}(X = a)$, but I can't see how the above equality follows from this, nor am I sure if this is how to approach the problem. In the sentence "the best choice would be...", what does "would" mean in the following sentence?     Questioner: Is this sentence correct?   'Finished eating, we went to the zoo'.      Answer: I'm afraid that is not correct. The phrase 'Finished eating' is a participle phrase with a passive meaning and you need an active meaning here. The best choice would be 'Having finished eating...'. Out of five needed members for my doctoral thesis committee, four are fixed. For the fifth member, I approached Mr.A. He has no real connection to my research or topic but I contacted him because he was just as good a fit as anybody else in the department to be the fifth member. I have never worked with him or taken any classes but we did talk a lot in the first few years where he would just ask about my progress by the copy machine, etc. We don't even have a "rapport". The relationship is absolutely neutral, nothing positive/friendly, and nothing negative. I asked him to be on my committee and he said yes. I said I'll get back to you with dates, etc. He is a senior tenured professor.  Then about a month later, I was looking at the CV of some of the new hired (junior) faculty in the department Mr.B (this is his first year) and I see that we have a collaborator in common. Mr.B has published multiple papers with him and Mr.B is working with the same code and the code managing team that we are working with. He is definitely a good person to have on my committee. I finally see Mr.B after a few more months (because of busy schedule/travel/etc.) and he agrees to be on my committee.  The question is, how can I tell Mr.A, as tactfully as possible, after about four months of being quiet that he is basically rejected from my committee because I didn't know about Mr.B but now that I know, Mr.B is a much better match than he is? That I don't need him but I do appreciate his offer? I don't want to antagonize Mr.A or burn any bridges. Should this be in email or in person? Should I explain or just keep it terse? Should I keep it vague that I don't need him and thanks for his time? Or should I tell him about Mr.B and why he is a better match?  FYI, this was before anything official/paperwork was done so there is no problem with that. Bold row in table aligned with dcolumn I have been running Ubuntu 12.04 for the past few weeks. I recently tried to download and install some files through the Update Manager. It located a few files, downloaded them, but then failed to install them. It gave the error:  installArchives() failed: (Reading database ...  (Reading database ... 80% dpkg: unrecoverable fatal error, aborting:  reading files list for package 'libasn1-8-heimdal': Input/output error   I tried using apt-get upgrade but a similar error was produced:  Reading package lists... Done Building dependency tree        Reading state information... Done The following packages will be upgraded:   icedtea-6-jre-cacao icedtea-6-jre-jamvm openjdk-6-jre openjdk-6-jre-headless   openjdk-6-jre-lib 5 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Need to get 0 B/34.6 MB of archives. After this operation, 1,024 B of additional disk space will be used. Do you want to continue [Y/n]? y (Reading database ... 80% dpkg: unrecoverable fatal error, aborting:  reading files list for package 'libasn1-8-heimdal': Input/output error E: Sub-process /usr/bin/dpkg returned an error code (2)   Any help would be greatly appreciated. Thanks in advance.  Edit: Here's some extra information that may be useful. My original problem was that the Ubuntu Software Centre would not open. I found that the Update Manager and Synaptic Package Manager also failed to open. They all gave an error along the lines of:   "installArchives() failed: dpkg: error: reading package info file '/var/lib/dpkg/available': Input/output errorError in function:"   After much googling I seemed to fix that problem as the package managers would open again. When I then tried to download and install any updates from the Update Manager I got the error at the beginning of this post. What does the "Alternative Character Sheet" mean when it asks you for the "Maximum Hit Dice" and the "Remaining Hit Dice"? I am trying to fill in the "Alternative Character Sheet" (one of the ). It asks me for my "Maximum Hit Dice" and the "Remaining Hit Dice". What do these terms mean? Is static HTML the fastest? I have been researching several different techniques to deliver web content fast, like nginx and node.js.  When it comes down to performance optimization http expires headers and gzip come to mind. After that come common techniques like sprites and CDNs etc.  But I am wondering.  What would be the very fastest technique to load a website?  Is static html the very fastest that can be? Or is there something else even faster? While studying the problem of determining the orbit of a binary star system, my astronomy notes say: "the projection of an ellipse onto a plane is still an ellipse (except the special case in which it's a segment)". How could I prove this?  EDIT: As suggested i'm adding what I know about ellipses. I know the basics of ellipses in the plane, the equation of an ellipse in a plane in cartesia coordinates, the equation of an ellipse in polar coordinates, the fact that ellipses can be obtained by the intersection of planes with a cone. In my geometry course we defined ellipses as the the points of the plane such that the ratio between the distance from a point and a line is constant and less than 1. I also know that the sum of the distances of the points of the ellipse from the foci is constant. Changing pemalink structure to /%post_id%/%postname%/ I'm currently using permalink structure: /%year%/%monthnum%/%day%/%postname%/  I want to change that to: /%post_id%/%postname%/  I expect it to be:   faster (database is sorted by post_id?) shorter URLs (and clearly visible short verstions, just leaving the %postname%/ out) more SEO friendly - since my content is "evergreen" so publishing date is irrelevant (and written at each post, along with last update date) - so this would give shorter URLs, with no downsides compared to using year/month/day structure.   THE QUESTION: Does WordPress handle all the 301 redirects automatically? I can fix internal links to the new structure (though I'd expect that to be automatic as well), but worry about outsite links, pointing to my posts/articles.  If not, what's the best way to implement this change? Any links or full answers here are welcome.  I have about 120+ posts already, will this change affect the speed since it's not been done from the start?