Class using generics is calling wrong version of method (superclass rather than subclass)?
Java generics type erasure: when and what happens?
How to save Django ModelForm data? The iPhone has a very limited selection of default ringtones.  How do I create a new ringtone for my iPhone? How do I improve boot speed? Is the subset $[0, \sqrt2] ∩\mathbb{Q} ⊂ \mathbb{Q}$ closed, bounded, compact? Letting $\mathbb{Q}$ be equipped with the Euclidean metric.  What I can work out is that it is bounded as its contained in the closed ball of radius ${\sqrt2}/{2}$ centred at ${\sqrt2}/{2} $.  Its not compact as it can be expressed as union of the two disjoint open sets $[0,{\sqrt2}/{2}) $and$ ({\sqrt2}/{2}, \sqrt2)$ (though I'm not sure if this makes it not compact in $\mathbb{Q}$ or just $\mathbb{R}$).  And its not closed as the sequence of truncations of $\sqrt2$ in $\mathbb{Q}$ converges to $\sqrt2$ Installing drivers for windows? Title says it all, I don't see confirmation in  and a cursory google search seemed to say assume no and speculate about the pokemon bank. I am planning an hour and a half ride with my 1 month old baby girl. I heard that being in the car seat for a long time is not good for newborns.  Is an hour and a half too long? Should we do a stop in the middle of the trip? Mafia 3 no more damage to be dealt barclay mills I did most of the barclay mills missions and brought the damage down to 2550 but now I can find anything else to damage or steal, so the meter is stuck at 2550 and the objective says "find and destroy garbage barges" but when I click it, no waypoint.  Please help. How can I increase memory security in Delphi? Is it possible to "wipe" strings in Delphi? Let me explain:  I am writing an application that will include a DLL to authorise users. It will read an encrypted file into an XML DOM, use the information there, and then release the DOM.  It is obvious that the unencrypted XML is still sitting in the memory of the DLL, and therefore vulnerable to examination. Now, I'm not going to go overboard in protecting this - the user could create another DLL - but I'd like to take a basic step to preventing user names from sitting in memory for ages. However, I don't think I can easily wipe the memory anyway because of references. If I traverse my DOM (which is a TNativeXML class) and find every string instance and then make it into something like "aaaaa", then will it not actually assign the new string pointer to the DOM reference, and then leave the old string sitting there in memory awaiting re-allocation? Is there a way to be sure I am killing the only and original copy?  Or is there in D2007 a means to tell it to wipe all unused memory from the heap? So I could release the DOM, and then tell it to wipe.   Or should I just get on with my next task and forget this because it is really not worth bothering. using Ajax with 3 consecutive drop down lists depending on eachother Android SQLite database: slow insertion Finding real roots of negative numbers (for example, $\sqrt[3]{-8}$) Error after installing search service application I got this this error after setting up Search Service Application with Powershell.     The search service is not able to connect to the machine that hosts the   administration component. Verify that the administration component      'a23fd668-f823- 4ab2-b0fc-b0baebfd4af2' in search application   'SharePoint_Search_Service' is in a good state and try again.   The Sharepoint Search Service was showing error when I visited   Central Administration->Application Management->Service Applications->     Manage Service Applications  Here is the powershell script used  $App1 = "APP-Server-01" $APP2 = "APP-Server-02" $SearchAppPoolName = "SharePoint_SearchApp" $SearchAppPoolAccountName = "EXSERV\Administrator" $SearchServiceName = "SharePoint_Search_Service" $SearchServiceProxyName = "SharePoint_Search_Proxy" $DatabaseName = "SharePoint_Search_AdminDB"   Create a Search Service Application Pool  $spAppPool = New-SPServiceApplicationPool -Name $SearchAppPoolName -Account     $SearchAppPoolAccountName -Verbose   Start Search Service Instance on all Application Servers  Start-SPEnterpriseSearchServiceInstance $App1 -ErrorAction SilentlyContinue Start-SPEnterpriseSearchServiceInstance $App2 -ErrorAction SilentlyContinue Start-SPEnterpriseSearchQueryAndSiteSettingsServiceInstance $App1 -ErrorAction         SilentlyContinue Start-SPEnterpriseSearchQueryAndSiteSettingsServiceInstance $App2 -ErrorAction        SilentlyContinue   Create Search Service Application  $ServiceApplication = New-SPEnterpriseSearchServiceApplication -Partitioned -Name        $SearchServiceName -ApplicationPool $spAppPool.Name -DatabaseName $DatabaseName   Create Search Service Proxy  New-SPEnterpriseSearchServiceApplicationProxy -Partitioned -Name       $SearchServiceProxyName -SearchApplication $ServiceApplication What is the cardinality of the set of all topologies on $\mathbb{R}$? This was  on Quora. I thought about it a little bit but didn't make much progress beyond some obvious upper and lower bounds. The answer probably depends on AC and perhaps also GCH or other axioms. A quick search also failed to provide answers. List the files accessed by a program Why does a find field value in one application show up in a the find field of another application? On my MacBook Pro I have found that several applications seem to share the value for a find.  For example, I searched 'applestackexchange' in Safari's unified address bar, then I switch to Xcode and click into a Find field.  The first word of my search in Safari then appears there.  iTerm2 and Sublime Text 2 also seem to participate in this sharing.  Running latest Mountain Lion on  a 2012 MBP. Limiting range of value types in C++ Suppose I have a LimitedValue class which holds a value, and is parameterized on int types 'min' and 'max'.  You'd use it as a container for holding values which can only be in a certain range.  You could use it such:  LimitedValue&lt; float, 0, 360 &gt; someAngle( 45.0 ); someTrigFunction( someAngle );   so that 'someTrigFunction' knows that it is guaranteed to be supplied a valid input (The constructor would throw an exception if the parameter is invalid).  Copy-construction and assignment are limited to exactly equal types, though.  I'd like to be able to do:  LimitedValue&lt; float, 0, 90 &gt; smallAngle( 45.0 ); LimitedValue&lt; float, 0, 360 &gt; anyAngle( smallAngle );   and have that operation checked at compile-time, so this next example gives an error:  LimitedValue&lt; float, -90, 0 &gt; negativeAngle( -45.0 ); LimitedValue&lt; float, 0, 360 &gt; postiveAngle( negativeAngle ); // ERROR!   Is this possible?  Is there some practical way of doing this, or any examples out there which approach this? I need to include a couple of Python code listings, where the indentation of the lines (using some number of spaces) is significant. I would like for the code listings to be copyable, so the spaces at the beginning of the line need to be be copied along with the text.  This question has been asked in various ways before (e.g. , or ). Those questions focus on making line numbers uncopyable, though.  Making the spaces at the beginning of a line copyable seems to be harder: "I am not sure it is possible to specify in the PDF (at least in a viewer-independent way) that the indentation should be copied too" (). At , Philippe Goutet suggests a solution (turning the spaces into visible spaces, and coloring them in the background color so that they appear invisible) that works using Acrobat Reader, but not all readers. He says "It works under Acrobat Reader and it's extremely pleasant to be able to quickly copy/paste code without problem (perhaps the problem can be circumvented by writing direct PDF code to tell that it's a space, I've never had the time to try)".  Is it possible to produce a PDF with a code listing with copyable real spaces at the beginning of a line?  Minimal example: The line return x should start with four spaces.  \documentclass{article}  \begin{document} \begin{verbatim} def myfunction(x):     return x \end{verbatim} \end{document}   I know that I could attach the code to the PDF as a file, but that's not what I want. Why are differential equations for fields in physics of order two? What is the reason for the observation that across the board fields in physics are generally governed by second order (partial) differential equations?    If someone on the street would flat out ask me that question, then I'd probably mumble something about physicists wanting to be able to use the Lagrangian approach. And to allow a positive rotation and translation invariant energy term, which allows for local propagation, you need something like $-\phi\Delta\phi$.  I assume the answer goes in this direction, but I can't really justify why more complex terms in the Lagrangian are not allowed or why higher orders are a physical problem. Even if these require more initial data, I don't see the a priori problem.  Furthermore you could come up with quantities in the spirit of $F\wedge F$ and $F \wedge *F$ and okay yes... maybe any made up scalar just doesn't describe physics or misses valuable symmetries. On there other hand in the whole renormalization business, they seem to be allowed to use lots and lots of terms in their Lagrangians. And if I understand correctly, supersymmetry theory is basically a method of introducing new Lagrangian densities too.   Do we know the limit for making up these objects? What is the fundamental justification for order two? Integration of secant $$\begin{align} \int \sec x \, dx  &amp;= \int \cos x \left(  \frac{1}{\cos^2x} \right)  \, dx \\ &amp;= \int \cos x \left(  \frac{1}{1-\sin^2x} \right) \, dx \\ &amp; = \int\cos x\cdot\frac{1}{1-\frac{1-\cos2x}{2}} \, dx \\ &amp;= \int \cos x \cdot\frac{2}{1+\cos2x} \, dx  \end{align}$$  I am stuck in here. Any help to integrate secant?