I've asked this around and I'm RACKING MY BRAIN trying to figure it out.   Which one is the correct verb form in the following sentence?     The craziest thing I've ever done is go / to go / going scubadiving in Belize   Some people say that both the to + verb and the ing forms are correct, because you need a noun there and the bare form is a verb; other people say only the to + verb is the correct one here, because the ing form only applies when you reverse the sentence (going scubadiving is yadda yadda) and not when you place the subject in the end.  I know many people would use the bare infinitive to be quicker while speaking, but that just sounds wrong to my ears as it's a verb!  Can you please tell me, once and for all, which is the correct verb form?
As a native speaker of English, the gerund version of this sentence sounds better:  infinitive:     When used together in chains,   extension methods are an unprecedented   tool to produce extremely concise   code.   gerund:     When used together in chains,   extension methods are an unprecedented   tool for producing extremely concise   code.   But how can I explain to someone learning English how to decide in situations like these whether to use the infinitive or the gerund?
Return dynamically allocated memory from C++ to C Floor function in complex plane My question is very simple. How would one take the floor of a complex number and what is the floor of i? This is a small exercise that I just can't seem to figure out. When I see it I'll probably go 'ahhh!', but so far I haven't made any progress.  I'd like to prove that any linear functional $\phi$ on $\ell^\infty$ that is positive, i.e. for any $(x_n) \in \ell^\infty$ such that $x_n \geq 0$ for all $n \in \mathbb{N}$ we have $\phi((x_n)) \geq 0$, is a bounded linear operator and has $\|\phi \| = \phi((1,1,...))$.  Nothing I have tried worked so far, so any hints would be appreciated, thanks! Add time restriction in ArcGIS Network Analyst Javascipt component not coming render as pdf Short-lived sci-fi series with a former astronaut turned superhero (or maybe a police officer?) using his spacesuit for his "powers" Plot Details/Summary I only watched an episode or two of this one, so I can't recall a whole lot about it.  The protagonist is a former astronaut of some sort, who makes it his mission to clean up the crime in his city.  He might have been a police officer in his &quot;new life&quot; or he might have decided to become a sort of quasi-superhero.  In either case, I distinctly recall his space suit being the gimmick that makes him an effective crime fighter in the show.  I seem to recall the protagonist being a young, dark-haired man, and I think he had a friendship or an alliance with a young woman (maybe a fellow cop, or someone from the space program?).  I don't think there were alien beings in the show.   The criminal threats were all quite terrestrial, IIRC. Timeframe and other Publication Details This was a syndicated tv show I saw on American television, probably around the late 90s to early 2000's.  I believe the show was filmed in Canada, though I'm not certain.  I don't think it lasted very long - it was pretty dreadful.  I can say for certain the show is not Space Cop or Gerry Anderson's Space Precinct. How to know if something is a primitive concept, a law, a definition or a theorem Some basic Physics books are often misguiding in the sense that they don't make clear whether something is a primitive concept, a law, a definition or a theorem. This is often a little confusing. I've asked here some moments ago if there's a definition of force, and I've been redirected to a question about whether Newton's Laws are laws or definitions of mass and force.  This is just an example, but there are many others, like for instance, the conservation of energy, which some books present as a theorem, and some places says that this is a law of Physics. Time on the other hand, is something that according to Feynman's lectures on Physics, cannot be defined, so we just say how to measure it and leave it as a primitive concept.  In this context: how in general can we identify whether something is a primitive concept, a fundamental law of Physics, a definition or a theorem? What happens if 2 separate abilities require you to sacrifice a creature? If i have two cards that force opponents to sacrifice every upkeep like for example  "At the beginning of each opponent’s upkeep, Mogis deals 2 damage to that player unless he or she sacrifices a creature."  And  "At the beginning of your upkeep, draw a card unless target opponent sacrifices a creature or pays 3 life."  Does the oppenent have to sacrifice twice? Or if they sacrifice Mogis's ability have they not allowed me to draw from indulgent tormentor? miktex-makepk - PK font HieroB could not be created I am depressed, after trying to install HieroTeX with MikTex 2.9 and TeXnicenter for four weeks without succeeding. I installed hieroglf, it works perfectly, but has only 60 signs. I followed the main advices, so I created a folder texmf-Local , throwed in  the content of HieroTex3.5 and Hiero-Type1.3.1.4 , put the axmf , mf and sty files where I think they belong, put that directory  texmf- local in the path searched by Miktex, updated map and file databases fo Miktex. Still the files can be compiled but Hiero fonts are not found.  Te main errors I can detect from log are the following:   " No file egypto.sty.tex found" and  "  "miktex-makepk - PK font HieroB could not be created." and similar for other fonts Thanks Tags in spoilers are always visible, even if you don't put your mouse on the spoiler (on  for example). See the screenshot:      Looks a bit strange on this site too:        that needs ! Find the inverse of a Trig Matrix I don't have a clue of what's going on. We haven't learn this in class so I need all the help possible. The more detailed of an explanation, the better. Thanks in advance. The only info I have is that this matrix is Orthogonal. Which means I know the answer, just don't know how to get it.  \begin{bmatrix}        \cos\theta &amp; -\sin\theta \\        \sin\theta &amp; \cos\theta       \end{bmatrix} Apt-get update with an @ in password error I want to update ubuntu 11.04 throught apt-get. So I added the following lines in apt.conf  export http_proxy=http://username:password@proxyserver.net:port/ export ftp_proxy=http://username:password@proxyserver.netport/  export http_proxy=http://deepak:Deepak@123@12.1.1.1:3128   My question is: how do I insert special characters to a username or password?  For instance: my password for proxy is Deepak@123 and it is getting an error. How to prove that: $\tan(3\pi/11) + 4\sin(2\pi/11) = \sqrt{11}$ Orthogonal matrix and orthonormal columns Why is my dual-core CPU recognized as a quad-core one? My processor is an . As you can see, it's 2 cores and 4 threads.  Although, both Ubuntu 11.04 and Windows 7 seem to think it's a quad-core CPU:      Why is this? Is it because there are 2 threads per core, dividing the CPU in 4 processing units? Removing nodes from an XmlDocument The following code should find the appropriate project tag and remove it from the XmlDocument, however when I test it, it says:  The node to be removed is not a child of this node.  Does anyone know the proper way to do this?  public void DeleteProject (string projectName) {     string ccConfigPath = ConfigurationManager.AppSettings["ConfigPath"];      XmlDocument configDoc = new XmlDocument();      configDoc.Load(ccConfigPath);      XmlNodeList projectNodes = configDoc.GetElementsByTagName("project");      for (int i = 0; i &lt; projectNodes.Count; i++)     {         if (projectNodes[i].Attributes["name"] != null)         {             if (projectName == projectNodes[i].Attributes["name"].InnerText)             {                                                                 configDoc.RemoveChild(projectNodes[i]);                 configDoc.Save(ccConfigPath);             }         }     } }   UPDATE  Fixed. I did two things:  XmlNode project = configDoc.SelectSingleNode("//project[@name='" + projectName + "']");   Replaced the For loop with an XPath query, which wasn't for fixing it, just because it was a better approach.  The actual fix was:  project.ParentNode.RemoveChild(project);   Thanks Pat and Chuck for this suggestion. Prevent Windows 10 from installing/updating a specific driver? It seems that the recent Synaptics driver update for Synaptics SMBus TouchPad on Windows 10 (build 100049) somehow doesn't see my middle-button. Uninstalling, and installing an older driver for Windows 8.1 from the HP site (my machine is HP EliteBook 8570w) restores the middle button functionality.    Few days later, the driver updates itself again, and I lose the middle-button.  I realize I'm running unsupported software, but is it possible to prevent updating this particular driver, without either disabling updates altogether or preventing other drivers from updating? Is it possible to edit a layer in QGIS while there is an active query? I am new to Quantum and I am digitizing polygon layers using the editing features. I would like to apply simple queries ('date > 2012/08/01'), however while the query is active I cannot edit the layer. Is this possible? How can I import a .c4d static model (Cinema 4d) on Blender? Is there any plugin could help me? I didn't notice anything on Internet. Database files that are built using SQL 2008 are not compatable with 2005. Is there a work around?