Implementing generic java interface adds additional method
Java generics type erasure: when and what happens?
When should I start an LLC for my side work? I am doing quite a bit of sidework this year and wondering at what point would it be a good idea to "start a business" and bill through that. Take a look on a website with specified viewport size, that is bigger than physical size? How to reference sections, equations, and figures in a separate document (e.g., supplemental information)? I have a main document (manuscript) and a supplemental document.   I wonder if there is a way that I can "link" the two (make them recognize each other) so that section, equation, and figure references across documents are recognized? "Started to work" vs "Started working" Make Excel open some hyperlinks with non-default browser A bunch of our network/server/storage hardware uses web interfaces for their administrative portals. I'm currently using an Excel 2010 worksheet to keep track of each device. I have one column set aside to list the URL for each web interface. This makes it easy to simply click the URL to open each administrative portal.  My default browser is Firefox. However, some of the administrative portals don't play well with Firefox and require the use of IE. Until now, when I want to open a hyperlink in IE, I have to manually open IE, copy the URL from the Excel worksheet, and paste it into the IE address bar (otherwise it will open in Firefox if I simply click it). It's just an annoying extra couple of steps.  So without changing Firefox as my default browser, is there a simple way in Excel 2010 to tell it which hyperlinks to open in IE when they are clicked? I want to choose specifically which links open in which browser  (For reference I'm using Windows 7 Enterprise 64-bit) Can you raise a number to an irrational exponent? The way that I was taught it in 8th grade algebra, a number raised to a fractional exponent, i.e. $a^\frac x y$ is equivalent to the denominatorth root of the number raised to the numerator, i.e. $\sqrt[y]{a^x}$. So what happens when you raise a number to an irrational number? Obviously it is not so simple to break it down like above. Does an irrational exponent still have a well formed meaning?  The only example that comes to mind is Euler's identity, but that seems likes a pretty exceptional case. What about in general? Why does du and quota results not match? Does someone knows if it exists some ppa packages source for the newest Ubuntu version 19.10 i had problem with that when i upgraded from Ubuntu 19.04 to 19.10 i didn't work? Transit Visa for Thailand Im an Indian citizen. Do I need a transit visa in Thailand while going to Angkor Wat from Kolkata (India), and can I stay in Thailand for two days on this transit visa? Thanks to the internet, graphic design and programming are becoming increasingly overlapping fields.   As a programmer, I constantly find myself needing basic knowledge of Graphic Design, but have trouble locating thorough yet concise graphic design learning resources, and instead usually find bits and pieces of knowledge applicable to the task at hand.  Can you guys offer some tips or recommend some good books, tutorials, blogs, and websites which provide a beginner level overview of web design that have been, in your experience, effective and high quality learning materials. I'm not looking for tips on how to use image editing tools, but assuming a basic grasp of those, which resources and advice will best help a new designer create professional looking designs? How can I rotate an object based on another's offset to it? I have a 3D model of a turret that con rotate around the Y-axis. This turret has a cannon that is significantly off the center of the object. I want the cannon, not the turret, to aim at a specified target. I can only rotate the turret, however, and thus I don't know what equation I need to apply in order to accomplish by objective.  The following image illustrates my problem:  If I have the turret "LookAt()" the target, a laser originating from the cannon will completely miss said target.   If this were a completely top-down scenario, and the cannon were exactly parallel to the turret, then my logic tells me that the fake target should be located at a position that's equal to the actual target plus an offset that's equal to that between the turret and the cannon. However, in my actual scenario, my camera is angled 60º, and the cannon has a slight rotation.  The following image illustrates the scenario:   I'm not sure exactly why, but if I apply that same offset, it only seems to work while aiming at certain distances from the turret.  Is my logic flawed? Am I missing something fundamental here?  Final Edit: the solution provided by @JohnHamilton latest update solves this problem with perfect precision. I have now removed the code and images that I used to illustrate my incorrect implementations. The problem is, when I open applications I need to always right click, select run as admin.     When I don't do it getting unexpected application errors. BTW, I turned off UAC.   It's annoying. Is there any way to change behavior of double left-click to act as "Run as administrator" action? I mean to make "Run as administrator" action by default. Thx in advance Is there a C pre-processor which eliminates #ifdef blocks based on values defined/undefined? event.returnValue is deprecated. Please use the standard event.preventDefault() instead Site specific magic comment links What is an idiom/slang for "someone who pretends to be good when they're not"? This is not from real life, but from a movie on my local TV. A character in the movie is really bad, but when she talks with others, she pretends to be an innocent/ good woman. I want to know how to describe this kind of person. When light waves enter a medium of higher refractive index than the previous, why is it that:  Its wavelength decreases? The frequency of it has to stay the same? Let $f$ be a real valued and continuous function over $[a,b]$ with $a &lt;b$ such that $f(a)=f(b)$ , My question here is :     Question (claim): How to show that : there  exists  $c \in [a, \frac{a+b}{2} ]$ such that : $f(c)=f(c+\frac{b-a}{2})$.   Note: I have tried intermediate values but I didn't succeed. How to count duplicate elements in a Ruby array I have a sorted array:  [   'FATAL &lt;error title="Request timed out."&gt;',   'FATAL &lt;error title="Request timed out."&gt;',   'FATAL &lt;error title="There is insufficient system memory to run this query."&gt;' ]   I would like to get something like this but it does not have to be a hash:  [   {:error =&gt; 'FATAL &lt;error title="Request timed out."&gt;', :count =&gt; 2},   {:error =&gt; 'FATAL &lt;error title="There is insufficient system memory to run this query."&gt;', :count =&gt; 1} ] Inductive proof that ${2n\choose n}=\sum{n\choose i}^2.$ I would like to prove inductively that $${2n\choose n}=\sum_{i=0}^n{n\choose i}^2.$$  I know a couple of non-inductive proofs, but I can't do it this way. The inductive step eludes me. I tried naively things like $${2n+2\choose n+1}={2n+2\over n+1}{2n+1\choose n}=2\cdot {2n+1\over n+1}{2n\choose n},$$  But I don't think it can lead me anywhere. I would like the proof to be as simple as possible.