Whenever I need to know a simple fact, Google often finds it in answers.com.  I loathe answers.com's user interface, and inability to deliver the information I need after I click through Google, requiring additional work to actually get the answer.    I'm signed into Google; is there a way to tell Google I don't want results that include answers.com without adding -answers.com in the search phrase?
I regularly find sites that copy content from elsewhere (mailing lists, etc) while not providing any added value. Quite to the contrary, they are pretty heaped with ads.  I'd like to remove those sites as permanently as possible from my Google search results. Any ideas?
I would like to update a large number of C++ source files with an extra include directive before any existing #includes. For this sort of task, I normally use a small bash script with sed to re-write the file.   How do I get sed to replace just the first occurrence of a string in a file rather than replacing every occurrence?  If I use  sed s/#include/#include "newfile.h"\n#include/   it replaces all #includes.   Alternative suggestions to achieve the same thing are also welcome. "Year olds" or "year-olds" I am writing about some leadership stuff, and I am trying to say that I am leading the 14-15 year old boys. How do I correctly use year-olds as in, "I was the adviser to the 14-15 year-olds."  Thanks in advance Recommendation for mobile prepaid SIM card for smartphone + home calls in Germany What SIM card would you recommend for a smartphone user for travel in Germany?  It would be probably the only or the most important connection to the Internet, so large amounts of data and relatively fast transfer is an issue.  I need to stay in touch with friends and family, so the calls to other EU countries should be as cheap as possible.   For to the first criteria, I found the T-Mobile offer interesting. The internet costs 10 Euros/month and after reaching the transfer limit it stays relatively fast. According to tests (Galileo from Pro7, AFAIR) it has also the best coverage. However, calls to other countries are very expensive.  For to second criteria, Lebara and Mobilka are interesting. The calls are very cheap, but there are problems with signal strength in many locations, where T-Mobile has no problem. The voice quality, at least in Lebara, is also limited. They both have mobile internet with unlimited transfer, but after reaching the high speed limit, the transfer is reduced to 64 kbps, which is too slow.  I've found out that O2 has foreign calls at moderate prices, but I haven't yet checked for details. There are so many other options, making it is hard to compare them all without spending the whole weekend on it. So, if someone has found a better option than having 2 SIM cards and constantly switching them, this answer would be greatly appreciated. Setting ArcGIS Desktop license to lower level for testing whether Python script still runs? I have a Python script that will need to be given to a client.   We are currently evaluating what license level the client will need in order to run the script for their software acquisition purposes.   We all have ArcGIS 10.1 Advanced license in our company.   I checked all the tools and extensions used in the script against the web help and found that they should work on the Standard license level.   Is there a way I can test the script against the Standard license level, when we have no Standard license level in or company (only the higher Advanced level)? Why does camera this tracking fail completely even when the solution value is very low? The attached animated gif shows some frames of a video with a mesh box placed at each tracking marker used to successfully track (solution error &lt;.4) an 800 frame chunk of video.   The point is to illustrate just how poorly the camera tracker calculated: when the box is at a marker placed at the top of a faraway building on the left, it is actually visually much larger than when it is at the tracking marker closest to where the real camera was. I went to great lengths to be sure that the camera's sensor size and focal length are correct, and manually placed and followed all markers to be sure they were accurately tracking.   There is not a lot of parallax motion over the 800 frames, but there should have been enough to at least know that the point closest to the camera moved more than the point furthest away. Sometimes it seems to work, sometimes it doesn't. Does anybody know how to improve this? Sci-Fi short story that involved time travel and a couple who keep losing each other I read a collection of Sci-Fi short stories back in the 1970's or early 80's that had one about a couple in love who kept losing each other. The book was my dad's so the story itself could be much older than that. I am very fuzzy on the details as I was young when I read it and it was so long ago. I believe the woman/girlfriend was "taken" (by some bad guy aliens??) while she was sleeping. I think it involved time travel and the man had to search through time to find her. After he found her, when he was asleep one time, he somehow was then "taken" and I think transported through time and had to fight his way back to her again. He may have been some sort of police officer. I just remember in the end, at night when they went to bed, the couple always wore handcuffs so they were never separated when they went to sleep ever again. Does this ring a bell with anyone?  (There is a possibility it is in a short story collection that also contained " The Twonky " by Lewis Padgett (1942), as I remember reading that story around the same time) How to preserve custom number formatting after closing a workbook? Is "of" instead of "have" correct? Are moderator tools, specifically flagging or voting to close going to be implemented in the Android app? If we have a dispute, we should at least have the flag option.  What about share option? If we would like to share a question, we could long press on the question title, and the question title, excerpt, and short URL copied to clipboard. Can you use Dispel Magic on the source of a spell (ie, the caster)? So I'm getting my listItems with a Camlquery, but i want to calculate the avg of the "price" rows  This is the code I've used so far:  function VisaLista() {     namn = document.getElementById("txtNamn");     var camlQuery = new SP.CamlQuery();     camlQuery.set_viewXml(     "&lt;Where&gt;" +     "&lt;And&gt;" +     "&lt;Eq&gt;&lt;FieldRef Name='Title'/&gt;&lt;Value Type='Text'&gt;" + namn + "&lt;/Value&gt;&lt;/Eq&gt;" +     "&lt;Or&gt;" +     "&lt;Eq&gt;&lt;FieldRef Name='Prioritet'/&gt;&lt;Value Type='Text'&gt;Hög&lt;/Value&gt;&lt;/Eq&gt;" +     "&lt;Eq&gt;&lt;FieldRef Name='Status'/&gt;&lt;Value Type='Text'&gt;Startad&lt;/Value&gt;&lt;/Eq&gt;" +     "&lt;/Or&gt;" +     "&lt;/And&gt;" +     "&lt;/Where&gt;");     listItems1 = list.getItems(camlQuery);     clientContext.load(listItems1);     clientContext.executeQueryAsync(OnSuccessVisa, OnFail); } function OnSuccessVisa() {     var listEnumerator = listItems1.getEnumerator();     var elmt = 0;     while (listEnumerator.moveNext()) {         var currentItem = listEnumerator.get_current();         elmt = (currentItem.get_item('_x0072_zb6'));          var sum = 0;         for (var i = 0; i &lt; elmt.length; i++) {             sum += parseInt(elmt[i], 10);         }          var avg = sum / elmt.length;          document.write("The sum of all the elements is: " + sum + " The average is: " + avg);     }     $("#Kategori1").text = "Medelvärdet för dessa ordrar: " + avg }   I am getting following error     "Cannot get the value length of null - at elmt, line 43 I need to process a large file, around 400K lines and 200 M. But sometimes I have to process from bottom up. How can I use iterator (yield return) here? Basically I don't like to load everything in memory. I know it is more efficient to use iterator in .NET. When is double-quoting necessary? The old advice used to be to double-quote any expression involving a $VARIABLE, at least if one wanted it to be interpreted by the shell as one single item, otherwise, any spaces in the content of $VARIABLE would throw off the shell.  I understand, however, that in more recent versions of shells, double-quoting is no longer always needed (at least for the purpose described above).  For instance, in bash:  % FOO='bar baz' % [ $FOO = 'bar baz' ] &amp;&amp; echo OK bash: [: too many arguments % [[ $FOO = 'bar baz' ]] &amp;&amp; echo OK OK % touch 'bar baz' % ls $FOO ls: cannot access bar: No such file or directory ls: cannot access baz: No such file or directory   In zsh, on the other hand, the same three commands succeed.  Therefore, based on this experiment, it seems that, in bash, one can omit the double quotes inside [[ ... ]], but not inside [ ... ] nor in command-line arguments, whereas, in zsh, the double quotes may be omitted in all these cases.  But inferring general rules from anecdotal examples like the above is a chancy proposition.  It would be nice to see a summary of when double-quoting is necessary.  I'm primarily interested in zsh, bash, and /bin/sh. I'm trying to enable Intel SRT on my laptop. To do this, I need to change SATA controller mode from AHCI to RAID. The problem is that windows has no drivers for RAID and I can't install it while controller is in AHCI mode.   For now I have RAID driver in INF package (inf, sys, cat files). And I can load Windows recovery console with controller in RAID mode. The last thing to do is to intall this driver, but I don't know how to do it.  Google says rundll32.exe setupapi,InstallHinfSection DefaultInstall 123 &lt;filename&gt;.inf might help, but it doesn't. I've written a few questions on Stack Overflow before that have been closed due to being "not constructive" or "not a real question".  Now, after scanning the FAQ for the site a few times, I understand that my questions were indeed closed for good reason.  However, even after reading the FAQ, I still don't understand why a question of "what's the best practice here?" is a bad thing.  I feel as though if you properly explain your situation as thoroughly as possible, then it shouldn't be a bad question at all.  Questions like "what's the best language?" or "which framework should I use?" are indeed bad questions initially, but I feel if you specify in the post (or preferably in the title itself) what the context is, shouldn't that be deserving of some kind of an answer?  In  I asked what would be "best practice", and naturally my question was closed.  So I read the FAQ and learned how to make a more constructive question, of which I've now re-edited in an attempt to be less vague.  I understand the desire to avoid debate and lengthy discussion over a question, but I also feel as though sometimes there are certain questions which should be asked if proper context is given.  Why is a question over "best practice" always a bad question to ask? MWE:  \documentclass{article}  \usepackage{listings}  \begin{document}  IIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII hardware/software  \end{document}   This results in this output:    If \usepackage{listings} is commented out, the hyphenation rules return to normal:    And just to note, in the actual environment I'm working in, it will also hyphenate between hard•ware, while with listings enabled, it hyphenates hardware/•software, as in the first image:    Two questions:   Why is this happening? Is there a way to disable this? I don't really want this behaviour just because I'm typing code occasionally in a document. The tutorial I read is based on 2.79. So I'm not sure if it's still the same name in 2.8. But I can't find anything providing similar functionalities. What focal length lens do I need for photographing the moon? I would like to know whether it is possible to photograph moon without any flaws with a canon EOS 550d..   Also to get an image of the moon as close as the following image, what kind of equipment(lens,etc) is need to be used with the 550d Body What is the difference between the Circle-K and Lawson Power Cube? Clarification of the "25D" option in ogr2ogr