Im trying to test if a polygon either a) touches or b) is only semi-contained by another polygon. The first is self-explanatory i guess, but the second could be many of the different predicates offered in QGIS.  I was therefore wondering if there are any more indepth explanations of the geometric predicates used in QGIS' select by location. (the only slightly basic explanation is  which doesn't give any real clue as to what the terms cover)
I wonder if there is somewhere an explanation for the parameters that can be set when running the Algorithm "Join Attributes by Location" in QGIS 2.18.  I had a look here:       but there is no explanation. Any hints?
Reputation changes not visible in the achievement box (again) Just like , which was marked as . But today, it's not working again. I'm still notified of new badges:      Update: it looks like new events are now updated; reputation events from earlier this UTC afternoon are still missing: How many 5-cards poker hands are there containing at least 3 of the 4 suits?  I don't how know how to properly handle this question.  There 13 ranks of each card, and 4 suits  My Attempt:  Begin with the first 3: C(13,3) X 4 ways to choose suits  Then pick last 3 cards of anything:  C(49,2)  My solution: 1,345,344  Thanks, can I reflectively instantiate a generic type in java? Is it possible to reflectively instantiate a generic type in Java? Using the technique described  I get an error because class tokens cannot be generic. Take the example below. I want to instantiate some subclass of Creator that implements Creator. The actual class name is passed in as a command line argument. The idea is to be able to specify an implementation of Creator at runtime. Is there another way to accomplish what I'm trying to do here?  public interface Creator&lt;T&gt; {     T create(); } public class StringCreator implements Creator&lt;String&gt; {     public String create() { return new String(); } } public class FancyStringCreator implements Creator&lt;String&gt; {     public String create() { return new StringBuffer().toString(); } } public static void main(String[] args) throws Exception {     Class&lt;?&gt; someClass = Class.forName(args[0]);     /*ERROR*/Class&lt;? extends Creator&lt;String&gt;&gt; creatorClass = someClass.asSubclass(Creator.class);     Constructor&lt;? extends Creator&lt;String&gt;&gt; creatorCtor = creatorClass.getConstructor((Class&lt;?&gt;[]) null);     Creator&lt;String&gt; creator = creatorCtor.newInstance((Object[]) null); }   Edit: I like Marcus' approach as being the most simple and pragmatic without circumventing the whole generics thing. I can use it in my situation because I can specify that the class passed must be a subclass of StringCreator. But as Ericson pointed out the generic information is still there at the type level, just not at the runtime level so it is still possible to reflectively examine whether a given class implements the correct generic type. How to bond/connect wires to neodymium magnets? After reading , I learned it is not advisable to solder a wire to neodymium magnets.  After more reading I found  post describing the use of conductive epoxy to bond electrical wires to neodymium magnets, a very messy process which takes several hours of waiting.  I want to ask this community if they have or suggest better methods to bond/connect a wire to a neodymium magnet to act as a conductive connection? Java is one of my programming languages of choice.  I always run into the problem though of distributing my application to end-users.  Giving a user a JAR is not always as user friendly as I would like and using Java WebStart requires that I maintain a web server.  What's the best way to distribute a Java application?  What if the Java application needs to install artifacts to the user's computer?  Are there any good Java installation/packaging systems out there? I am currently developing a website which is going to take some time to finish. I need to move some 'stuff' to production frequently, while maintaining a under construction status. My front page will clearly mention that my website is under construction.  I know crawlers will access my URL before I am ready to go live. Should I tell them my site is under construction (no need to index)? If yes how?  P.S.: Eventually, I am ok to let them see my under construction front page. I like having my hyperref hyperlinks a different colour, so it's obvious that they are links. But when I print a copy of the PDF, I don't want the links to be coloured, because you can't click them, so it doesn't matter and it's distracting.  Other than just having a separate "for printing" version of the PDF where I turn off the hyperlinks, is there a way to have the printed version come out without the coloured links? How to obtain the sum of the following series? $\sum_{n=1}^\infty{\frac{n^2}{2^n}}$ It seems that I'm missing something about this.  First of all, the series is convergent: $\lim_{n\rightarrow\infty}\frac{2^{-n-1} (n+1)^2}{2^{-n} n^2}=\frac{1}{2}$ (ratio test)  What I tried to do is to find a limit of a partial sum $\lim_{n\rightarrow\infty}S_n$ as follows: $S_n=\frac{\frac{1}{6} n (n+1) (2 n+1)}{\frac{1-\left(\frac{1}{2}\right)^n}{2 \left(1-\frac{1}{2}\right)}}$. Still, the limit is $\infty$ and I'm clearly doing something wrong. In Revenge of the Sith, after first being Force-choked by Anakin and then given births to Luke and Leia, Padme Amidala eventually lost her life on Polis Massa. We later, however, see her in the funeral procession on Naboo. The question is, how did she get there?    I mean, whoever delivered her there must have faced a lot of difficult questions, not just from her family but also from both the people and the authorities, since she was the former queen of the planet. Whoever it was, he could not have been just somebody, because it most certainly must not have been an easy task. It most likely was not any of the Jedi, since the world was probably half full of Palpatine's collaborators who would have immediately given them away.  So, who was it? And how was it carried out, in practice? Cartoon TV Show About Three Kids and Monsters and a "veil" between realms In Spivak's Calculus 3rd Edition, there is an exercise to prove the following:  $$x^n - y^n = (x-y)(x^{n-1} + x^{n-2} y + ... + x y^{n-2} + y^{n-1})$$  I can't seem to get the answer. Either I've gone wrong somewhere, I'm overlooking something, or both. Here's my (non) proof:  $$\begin{align*} x^n - y^n &amp;= (x - y)(x^{n-1} + x^{n-2}y +\cdots+ xy^{n-2} + y^{n-1}) \\           &amp;= x \cdot x^{n-1} + x \cdot x^{n-2} \cdot y + \cdots + x \cdot x \cdot y^{n-2} + x \cdot y^{n-1}\\ &amp;\qquad + (-y) \cdot x^{n-1} + (-y) \cdot x^{n-2} \cdot y + \cdots + (-y) \cdot x \cdot y^{n-2} + (-y) \cdot y^{n-1}\\           &amp;= x^n + x^{n-1} y + \cdots + x^2 y^{n-2} + x y^{n-1} - x^{n-1}y - y^2 x^{n-2}  - \cdots- x y^{n-1} - y^n \\           &amp;= x^n + x^2 y^{n-2} - x^{n-2} y^2 - y^n  \\           &amp;\neq x^n - y^n \end{align*}$$  Is there something I can do with $x^n + x^2 y^{n-2} - x^{n-2} y^2 - y^n$ that I'm not seeing, or did I make a mistake early on?  EDIT:  I should have pointed out that this exercise is meant to be done using nine of the twelve basic properties of numbers that Spivak outlines in his book:     Associate law for addition   Existence of an additive identity   Existence of additive inverses   Commutative law for additions   Associative law for multiplication   Existence of a multiplicative identity   Existence of multiplicative inverses   Commutative law for multiplication   Distibutive law In  (2017), Logan seems to be dying from sort sort of ailment, that prevents him to heal properly and seems to be decaying his body in a way that wasn't happening in any of the other films his character appears in.  I don't recall that this is being explained in the film. The Wikipedia page only mentions "adamantium poisoning" and "his healing factor fading", but it is not backed up with citations, so I would love to get an in-depth answer for this question, maybe using excerpts from the comic or original source material.  What is happening to Logan? How can I delete an account on a specific site? My account has 20 (!) sites associated to it.  I only use it for 3-5 sites.  To reduce clutter, I would like to delete my profiles that I do not use much.  I have went through , but when I enter the profile URL as:  http://russian.stackexchange.com/users/5772/alex   it gives the error message:     oops! this isn't a link to a valid profile   What procedure do I go through to delete my profile only on certain sites? Is C++ CLI a superset of C++? Would a C++  compiler be able to compile some large sets of C++ classes without modifications?   Is C++ CLI a superset of C++? Theme Activate Hook Virtual box is not working on windows 10 If I have bought 3 tickets for the same flight, can I bring three times the cabin allowance allowed per ticket?  The way I see it I am doing the airline a favor  Related: Changing content of footline in beamer How is it possible to set a specific text in the footline of the slides in beamer? In my case, author names and the title are shown. Instead I'd like to show the conference name and country.  \documentclass{beamer} \usetheme{CambridgeUS}  \author{Elena Piper, Amina Shahid, April Fiorese} \title{Evaluating the Change of Performance Metrics for Key ABS}  \begin{document} \maketitle  \end{document} How to handle relative urls correctly with a nginx reverse proxy I would like to be able to change the default CSS used by chrome, such as removing the underlines for links, etc. However, I cannot find the default CSS file used by Chrome. Does anyone know where it is?