Error during string matching?
Case insensitive 'Contains(string)'
Merging two files, one column at a time While executing a C program, a.out, using the Ubuntu terminal, why do I always need to type ./ before a.out, instead of just writing a.out? Is there solution for this? How to change the camera from Landscape to Portrait I need a way to render a picture that is longer heighth-wise than width-wise. Changing the scale of the camera does nothing. I've been told to look in the scene focus settings, and I didn't see anything. Is there a way to change the shape of the rendered image? How to link dataframes in ArcGIS or QGIS? The below image shows a layout in ArcGIS 10.1 with four dataframes.  Each dataframe is of the same geographic area, although they are different images. For example, the top left image is a 1989 DOQ, the top right image is a reversed 1989 DOQ, the bottom left image is a 2012 DOQ, and the bottom right image is a reversed 2012 DOQ.   Is it possible to link the dataframes so that panning the image in one dataframe pans the images in all of the other dataframes (i.e. similar to how you can "Link Views" in Erdas Imagine)? Is this possible in QGIS? Rank correlation statistics comparison I am trying to understand the relative behavior of the following rank correlation statistics:   Spearman coefficient Kendall Tau / Concordance percentage Normalized Gini coefficient (area under curve of percentage captured versus percentage observations) Normalized Area under ROC curve (for binary classifiers)   I don't believe any of these are functionally related to the others.  The accepted answer  references  and Spearman and Kendall are highly correlated (as one would expect).  Are there good intuitions behind/discussions of relative (across datasets) or absolute (for a given dataset) differences for (any pair of) these measures? Comparing two integers without any comparison Is it possible to find the greatest of two integers without any comparison? I found some  solutions:   if(!(a/b)) // if a is less than b then division result will be zero. {     cout &lt;&lt; " b is greater than a"; } else if (!(a-b)) // we know a is greater than or equal to b now.  check whether they are equal. {     cout &lt;&lt; "a and b are equal"; } else     cout &lt;&lt; "a is greater than b";   But if(c) or if(!c) is a comparison to zero. In addition it doesn't work for negative numbers. In fact I need a solution that avoids any if statement. Instead I should use switch statements and arithmetic operators. ThanX. Convert a javascript associative array into json object using stringify and vice versa How do I install drivers for an Intel HD Graphics? In System Info in 11.10, the graphics driver wasn't detected. I use ACER Aspire 4750 with Intel Core i3-2340M and Intel HD Graphics 3000 graphic card  How to install the driver for my Ubuntu? Are Complex Substitutions Legal in Integration? This question has been irritating me for awhile so I thought I'd ask here.  Are complex substitutions in integration okay?  Can the following substitution used to evaluate the Fresnel integrals:  $$\int_{0}^{\infty} \sin x^2\, dx=\operatorname {Im}\left( \int_0^\infty\cos x^2\, dx + i\int_0^\infty\sin x^2\, dx\right)=\operatorname {Im}\left(\int_0^\infty \exp(ix^2)\, dx\right)$$  Letting $ix^2=-z^2 \implies x=\pm\sqrt{iz^2}=\pm \sqrt{i}z \implies z=\pm \sqrt{-i} x \implies dx = \pm\sqrt{i}\, dz$  Thus the integral becomes  $$\operatorname {Im}\left(\pm \sqrt{i}\int_0^{\pm\sqrt{-i}\infty} \exp(z^2)\, dz\right)$$  This step requires some justification, and I am hoping someone can help me justify this step as well: $$\pm \sqrt{i}\int_0^{\pm\sqrt{-i}\infty} \exp(z^2)\, dz=\pm\sqrt{i}\int^\infty_0\exp(z^2)\, dz=\pm\sqrt{i}\left(\frac{\sqrt{\pi}}{2}\right)$$  Thus  $$\operatorname {Im}\left(\int_0^\infty \exp(ix^2)\, dx\right)=\operatorname {Im}\left(\pm\frac{\sqrt{i\pi}}{2}\right)=\operatorname {Im}\left(\pm\frac{(1+i)\sqrt{\pi}}{2\sqrt{2}}\right)=\pm\frac{1}{2}\sqrt{\frac{\pi}{2}}$$  We find that the correct answer is the positive part (simply prove the integral is positive, perhaps by showing the integral can be written as an alternating sum of integrals).  Can someone help justify this substitution?  Is this legal? I want to untriangulate every object in my scene with this script:  import bpy  for ob in bpy.data.objects:     bpy.ops.mesh.tris_convert_to_quads(limit=0.9, uvs=False, vcols=False, sharp=False, materials=False)   But it doesn't work in object mode, any ideas on how I can get it working? When I add LIMIT 1 to a MySQL query, does it stop the search after it finds 1 result (thus making it faster) or does it still fetch all of the results and truncate at the end? INT comparison without WHERE statement Unresolved external symbol on static class members This story was in one of the first SF anthologies I ever read, in the mid-1960s. A meteor lands near to a house. The householder finds it and carries it into his house (meteor is grapefruit/football sized). It’s actually a crashed spaceship, crewed by beings the size of beetles or cockroaches. They emerge, and are spotted by the householder, who of course thinks they’re insects, but notices one seems to be holding a tiny tube. He reaches towards it and the alien shoots his hand (the tube being a gun, of course), stinging him. I can’t recall how the story ends, but I’d love to know what the story was called, and who its author was, as I’m trying to assemble a list of the early SF that fired my enthusiasm for the genre. Drawing text on an image background that has dark and bright parts Often, I want to write text over a background image. If the background image is bright, I use a dark color for the text, and vice versa. But, often the image has both dark and bright parts. So a dark text is unreadable on the dark parts, and a bright text is unreadable on the bright parts.  I currently use one of several solutions, all of them are imperfect:   Brighten the image and use a dark font, or darken the image and use a white font; the problem is that it reduces the beauty of the background image. Use grey text (as in this question:  ). But grey text often looks unappealing, and is still only barely readable. Use dark text, and try to position it on the bright spots of the image (or vice versa). This takes a lot of time because it requires me to position each word separately.   Are there better solutions to this problem?   In particular: is there an automatic tool that takes an image and a text, and positions the text only on the dark/bright parts of the image? Direct observations of a black hole? Cut part from video file from start position to end position with FFmpeg I have a video file of 30 minutes, but I want to extract a video from 00:09:23 to 00:25:33.   I can define the startposition with -ss, but I couldn't find one for the end position. Any help please? Solving ODE with negative expansion power series I am solving a series of ODE, such that each DE is equal to some degree of term that I'm expanding to. For instance, one DE is this:  $\xi^r\partial_r g_{rr}+2g_{tt}\partial_t\xi^t=\mathcal{O}(r)$  $g_{ii}$ are given, from metric, but that's not important. I need to assume that the solution (since I'm looking for components of $\xi^\mu$, which is a vector with components $\xi^t,\xi^r,\xi^\phi$) is given with power series of the form:  $\xi^\mu=\sum\limits_{n}\xi^\mu_n(t,\phi)r^n$, and this is to be seen as expansion around $1/r$ (expansion around $r=\infty$).  Now when I plug this in the ODE I get this  $\frac{2}{l^2}\sum_n\xi^r_nr^{n+1}+2\sum_n\xi^t_{n,t} r^n+\frac{2}{l^2}\sum_n\xi^t_{n,t}r^{n+2}=\mathcal{O}(r)$, where   $\xi^\mu_{n,i}$   is the derivative with the respect to i-th component.   What troubles me is, how to expand this? Do I set n=0,-1,-2,... until my $\mathcal{O}(r)$ terms cancel each other out? Or?  I'm kinda stuck :\ Government investigating home library of missing inventor This is a short story from the 50s or 60s.  A scientist or inventor has invented either teleportation or a space drive and has disappeared - leaving no documentation or clues except his extensive home library.  The government gathers all types of scientists to attempt to duplicate his research.  Several months later, as they are about to launch the first space drive space ship, the officer in charge reveals that there was no 'disappeared inventor'.  The greatest step toward a new impossible concept is knowing that it has already been done. Is there a way to convert number words to Integers?