How to instantiate a derived class object in Java?
What does it mean to "program to an interface"?
I'm attempting to make an elevation profile from a DEM in ArcMap using the Interpolate Line tool.  I've done this before, and it has worked great--basically I just draw a line with Interpolate Line, then click Profile Graph to get the elevation profile.  However, for some reason, it's not working now: when I draw out my line, nothing shows up on the map.  I don't get a line, and I can't figure out what I'm doing wrong.  I've searched online for an answer, but to no avail.    Any tips? Curvature of a curve on a sphere Using proof by contradiction vs proof of the contrapositive How to create a progress bar? How do I disable Dunst and go back to notify-osd? I installed i3, which recommends dunst, but I'm not using i3 at the moment, and the dunst notifications don't really fit with Unity. I'd rather not uninstall dunst totally, since I might want to start using it at some point in the future; is there a way to switch back to notify-osd without uninstalling dunst? I need to find the intersection point of 2 line segments (lines are finite, i.e., they have end points).   e.g. segment 1 from $(x_1, y_1)$ to $(x_2, y_2)$ -- segment 2 from $(x_3, y_3)$ to $(x_4, y_4)$  you can assume $m_1$ and $m_2$ are the gradients of segment 1 and segment 2 respectively  similarly, $c_1$ and $c_2$ being the y-intercepts of segment 1 and segment 2 respectively  Using $y=mx+c$ I can easily find the equations of both lines and then derive the intersection point from those equations and check if that point actually lies on both the line segments (intersection point may not lie between the end points).  My problem is when I calculate the gradients $m_1$ and $m_2$ I do $\frac{y_2-y_1}{x_2-x_1}$ there for if one of the lines is vertical then I am going to have problems. How can I deal with this?  Another problem is that if the two segments intersect at a point which is also the same as one of the end points then I want to assume that they are not intersecting.  e.g. if segment 1 is from $(2, 3)$ to $(3, 7)$ and segment 2 is from $(3, 7)$ to $(7, 3)$ then I want to assume they don't intersect. Proving that $\sum_{n=0}^\infty \sum_{k=0}^n \frac{(-1)^n}{(k+1)\times (n-k+1)}$ converges Error message in my excel formula White lines between objects in render I am kind of new to the whole animation aspect and in fact still in high school.  I am trying to make a Minecraft character rig and I want to make some 3D hair. I did not know how to quite make it so I kind of when just did something pretty simple. It isn't the greatest in any means, but any how the point is every time I render it white lines show up between objects or joined objects. I don't know how to fix this and would like help (a picture is posted below of the problem). Is it possible to get the information for a device tree using /sys of a running kernel? Commonly for arm systems, device trees supply hardware information to the kernel (Linux). These device trees exist as dts (device tree source) files that are compiled and loaded to the kernel. Problem is that I do not have access to such a dts file, not even to a dtb file.   I have access to /sys and /proc on the machine and I wanted to ask if that would allow me to "guess the correct values" to be used in a dts?  Also potential answer could highlight additionally the aspect if the answer to this question also depends on whether the device tree interface was used in the first place (i.e. a dtb was created and provided to the kernel) instead of some more hacking "we simply divert from vanilla and patch the kernel so as to solve the device information problem for our kernel only"-solution? Let $R$ be an integral domain and let $S$ be a ring with $R \le S \le \text{Frac}(R)$ (fraction field).   Question: Is there a multiplicatively closed subset $U \subseteq R\setminus \{0\}$ such that $S=R[U^{-1}]$ ? Usually I use beamer  with the Warsaw theme which puts theorems (and other things) in boxes. Now I switched my theme to Marburg but i still want to keep the boxes. How can one do that? What is the process for a moderator to request reinstatement or appeal a removal? Please leave any feedback or questions about this process on .   From time to time, moderators will step down or be removed from their positions — they may have expressed their wish to step down due to time constraints or they may have had behaviors unfitting of a moderator and have been forcefully removed, along with a number of other possibilities that fall somewhere between those two. What is the process for evaluating moderator reinstatement or removal appeal requests?  Note: Feedback on the original version of this post can still be found . How can I determine the current brew package count? I tried to get the number of available brew packages by running  brew search | wc -l   but I don't know how accurate this really is. What do I need to take into account to get a more correct number?  PS: macports lists 19,889 packages online Its a .vbproj and looks like this  &lt;Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"&gt;     &lt;PropertyGroup&gt;         &lt;ProjectGuid&gt;15a7ee82-9020-4fda-a7fb-85a61664692d&lt;/ProjectGuid&gt;   all i want to get is the ProjectGuid but it does not work when a namespace is there...   Dim xmlDoc As New XmlDocument()  Dim filePath As String = Path.Combine(mDirectory, name + "\" + name + ".vbproj")  xmlDoc.Load(filePath)  Dim value As Object = xmlDoc.SelectNodes("/Project/PropertyGroup/ProjectGuid")   what can i do to fix this? Proving $\sum_{k=1}^n k k!=(n+1)!-1$ Is it possible to dynamically set Views' pager settings? Say for instance, you have a view that displays when viewing a certain node type, but you want the pager settings to be different for each individual node. I was thinking of making a CCK field like "pager setting" and then give it an integer option of x-y. But I don't know if it's possible to somehow dynamically plug that field into the Views' settings. Or is there another way to do this maybe? I cannot remember anyone writing the letter epsilon in any other way than \varepsilon in any math class; but in LaTeX \epsilon and \varepsilon are different symbols. Do any of you know why there are two different symbols? (I.e. if \epsilon is the correct way to write the letter epsilon, why aren't mathematicians using it, and when is, according to the standards today, the correct situation to use each of the symbols?) Customize Ubuntu for a library Internet kiosk Video editing software options?