Can a goalkeeper head a backpass then pick it up?
Can a goalkeeper chip the ball to the head of a teammate from a goal kick to circumvent the backpass restriction?
How to write uncertainties with the \pm symbol "10 ± 1 K" by using siunitx? Using the siunitx package, if I specify an error with the \pm symbol then it automatically converts it to a form using parenthesis. I would like it to not do this and keep the \pm symbol, but still space the elements of the quantity and symbol in a good way.  e.g. \SI{10 \pm 2}{\kelvin} would produce 10(1) K  I would like it to produce: 10\pm1 K or something similar with spacing taken care of. How do I use filenames that start with a dash "-" as command arguments? How can an ordered pair be expressed as a set? Abnormal behavior with iwlwifi driver: the device is shown as not working Setting custom UITableViewCells height Need help identifying the fantasy book about a portal to a fantasy land in the basement of a house I can't remember any names of characters or locations where the story took place but I do remember the basic plot of this early 90's novel; a human man inherits his father's house. In the basement there is a doorway to a fantastic land where adventure ensues. He fights elves and wins their deadly elf swords which he buries under concrete at the end of the novel (because if you don't get rid of them they will come back and get you).  At the end of the novel he must remake the world in his own imagination, turning the tough Elf King into a cobbler and making Jesse Jackson President. I have been looking high and low and have drawn a blank.  Any help would be appreciated. Thanks! I have a generic method with this (dummy) code (yes I'm aware IList has predicates, but my code is not using IList but some other collection, anyway this is irrelevant for the question...)  static T FindThing&lt;T&gt;(IList collection, int id) where T : IThing, new() {     foreach T thing in collecion     {         if (thing.Id == id)             return thing;     }     return null;  // ERROR: Cannot convert null to type parameter 'T' because it could be a value type. Consider using 'default(T)' instead. }   This gives me a build error      "Cannot convert null to type parameter   'T' because it could be a value type.   Consider using 'default(T)' instead."   Can I avoid this error? How do I use sudo to redirect output to a location I don't have permission to write to? I've been given sudo access on one of our development RedHat linux boxes, and I seem to find myself quite often needing to redirect output to a location I don't normally have write access to.  The trouble is, this contrived example doesn't work:  sudo ls -hal /root/ &gt; /root/test.out   I just receive the response:  -bash: /root/test.out: Permission denied   How can I get this to work? Piping STDERR vs. STDOUT According to "" (pg. 44), you can pipe only STDERR using the |&amp; redirection symbols.  I've written a pretty simple script to test this:  #!/bin/bash echo "Normal Text." echo "Error Text." &gt;&amp;2   I run this script like this:  ./script.sh |&amp; sed 's:^:\t:'   Presumably, only the lines printed to STDERR will be indented. However, it doesn't actually work like this, as I see:      Normal Text.     Error Text.    What am I doing wrong here? The Internet is awash with criticisms (or is that praise) of how Star Wars Episode VII: The Force Awakens borrows, steals, homages, references, archetype-uses or parallels from Star Wars Episode IV: A New Hope.  What are those similarities? Pass an extra argument to a callback function Behaviour of printf when printing a %d without supplying variable name I've just encountered a weird problem, I'm trying to printf an integer variable, but I forgot to specify the variable name, i.e.  printf("%d");   instead of  printf("%d", integerName);   Surprisingly the program compiles, there is output and it is not random. In fact, it happens to be the very integer I wanted to print in the first place, which happens to be m-1.  The errorneous printf statement will consistently output m-1 for as long as the program keeps running... In other words, it's behaving exactly as if the statement reads  printf("%d", m-1);   Anybody knows the reason behind this behaviour? I'm using g++ without any command line options.  #include &lt;iostream&gt; #define maxN 100 #define ON 1 #define OFF 0  using namespace std;  void clearArray(int* array, int n); int fillArray(int* array, int m, int n);  int main() {     int n = -1, i, m;     int array[maxN];     int found;      scanf("%d", &amp;n);      while(n!=0)     {         found=0;         m = 1;         while(found!=1)         {             if(m != 2 &amp;&amp; m != 3 &amp;&amp; m != 4 &amp;&amp; m != 6 &amp;&amp; m != 12)             {                 clearArray(array, n);                 if(fillArray(array, m, n) == 0)                 {                     found = 1;                 }             }             m++;         }          printf("%d\n");          scanf("%d", &amp;n);     }      return 0; }  void clearArray(int* array, int n) {     for(int i = 1; i &lt;= n; i++)         array[i] = ON; }  int fillArray(int* array, int m, int n) {     int i = 1, j, offCounter = 0, incrementCounter;      while(offCounter != n)     {         if(*(array+i)==ON)          {             *(array+i) = OFF;             offCounter++;                }         else          {             j = 0;             while((*array+i+j)==OFF)             {                 j++;             }             *(array+i+j) = OFF;             offCounter++;                    }         if(*(array+13) == OFF &amp;&amp; offCounter != n) return 1;         if(offCounter ==n) break;          incrementCounter = 0;                while(incrementCounter != m)         {             i++;             if(i &gt; n) i = 1;             if(*(array+i) == ON) incrementCounter++;          }            }      return 0; } My parents are Indian Citizens. They hold a valid B2 Tourist Visa to USA. I'm planning to book a flight with Hyderabad (India) - Abu Dhabi (UAE) - Dublin (Ireland) - USA. The leg from Hyderabad to Dublin is operated by Etihad and I know there is no problem hopping at Abu Dhabi. The leg from Dublin to US is operated by Aer Lingus. I called Aer Lingus customer care agent told me a transit visa is required to land in Dublin. She did not care to ask for the citizenship of traveller or about the USA visa. I went through Irish immigration website - (), India is not in list of countries that require transit visa. I'm now confused. Can some one confirm if they traveled with the same itinerary recently  Update: I called Aer Lingus again. Another agent told as long as I don't exit the airport, a transit visa is not required. I think these people don't really understand trouble we go through when boarding is denied. I put this question because I read a person was denied boarding earlier - . His case mentions about denied because of different day. But I see his transit time is 12 hours only. Prove that if $ f\mathrm{(}z\mathrm{)} $ is analytic at the infinity  ,then :  $ {\lim}_{{z}\mathrm{\rightarrow}\mathrm{\infty}}{f}\prime{\mathrm{(}}{z}{\mathrm{)}}\mathrm{{=}}{0} $ Are all algebraic integers with absolute value 1 roots of unity? How do I set environment variables from Java? Prove that $\gcd(a^n - 1, a^m - 1) = a^{\gcd(n, m)} - 1$ Finding net magnetic and electric force on charged particle This is from my textbook, it is not an assigned problem, but I want to understand.   It says:      Consider the situation in the figure, in which there is a uniform electric field in the x direction and a uniform magnetic field in the y direction. For each example of a proton at rest or moving in the x, y, or z direction, what is the direction of the net electric and magnetic force on the proton at this instant?   I believe I need to use the equation   $$ F_{net}=(q\overrightarrow{E})+q(\overrightarrow{v} \times \overrightarrow{B}) $$  But I'm not sure exactly how. We've just started to learn about this, and I want to get a head start. Could anyone put me on the right track? Extracting Windows 8 Start Screen Patterns Is there any way to extract the Windows 8 Start Screen patterns, in order to use them as standalone wallpapers on other systems?  For example see this screenshot:    I am interested in the dark blue background. I heard that this background is somehow adapted to your chosen color theme. So many different variations should exist.  Engadget has an article  briefly talking about these background patterns and the different color schemes. They call them "personalization tattoos".    Update:    I found the following page/guide:   This looks a very good way to achieve my goal. Unfortunately the guide seems to be dated.  I tried to find shsxs.dll on the RTM of Windows 8 without much luck. It looks like Microsoft changed the way they handle the background image. The file is nowhere to be found...  I also looked into uxtheme.dll, but it doesn't contain any interesting images.  Any new ideas? Any other *.dll with might be of interest here? Where and why do I have to put the "template" and "typename" keywords? In templates, where and why do I have to put typename and template on dependent names? What exactly are dependent names anyway?    I have the following code:  template &lt;typename T, typename Tail&gt; // Tail will be a UnionNode too. struct UnionNode : public Tail {     // ...     template&lt;typename U&gt; struct inUnion {         // Q: where to add typename/template here?         typedef Tail::inUnion&lt;U&gt; dummy;      };     template&lt; &gt; struct inUnion&lt;T&gt; {     }; }; template &lt;typename T&gt; // For the last node Tn. struct UnionNode&lt;T, void&gt; {     // ...     template&lt;typename U&gt; struct inUnion {         char fail[ -2 + (sizeof(U)%2) ]; // Cannot be instantiated for any U     };     template&lt; &gt; struct inUnion&lt;T&gt; {     }; };   The problem I have is in the typedef Tail::inUnion&lt;U&gt; dummy line. I'm fairly certain that inUnion is a dependent name, and VC++ is quite right in choking on it. I also know that I should be able to add template somewhere to tell the compiler that inUnion is a template-id. But where exactly? And should it then assume that inUnion is a class template, i.e. inUnion&lt;U&gt; names a type and not a function?