Is there a way to check if my internet connection is with a dynamic or static IP? I'm running OSX.
Maybe a stupid question but how can I tell if I have a static IP address or a dynamic IP address? Running Fedora-13
I'm using the ieee style for biblatex and when inserting citations I want     [1,2,6-10]   Right now I'm getting     [1],[2],[6-10].   How can I change this? Counting overlapping polygons in GeoJSON to result in new set of polygons? If we're implementing , why don't we also require that users have at least 1.5 times the amount of reputation needed to ask their current question in order to answer their current question?  I believe this would really reduce the amount of non-answers that should have been edits to the original question, or perhaps a comment under another answer.  Edit  Inspired by marcog's excellent suggestion , perhaps it would make more sense to set a minimum amount of time that must pass before you can answer your own question. New users would need to wait in the neighborhood of six hours, while users with more reputation could answer their own question within minutes if they discovered the solution on their own.  This would get in the way of the behavior that we don't want, which is people posting answers that should have been edits while not annoying most. I read this sentence in a book:     I just took part in a study over in the Psychology Department.   Why do we add over in front of in the here? Given that $\displaystyle{a+b\sqrt[3]{2} +c\sqrt[3]{4} =0}$, where $a,b,c$ are integers. Show $a=b=c=0$  Do I use modular arithmetic? Show that $a(-1) = (-1)a = -a $. if I write,  #!/bin/bash echo "foo"   or  #!/bin/sh echo "foo"   both yields same. I have seen some scripts starting with #!/bin/sh or #!/bin/bash. Is there any difference between them? Will hardware changes affect system? A result of Erdős on increasing multiplicative functions Erdős proved that if $f(n)$ is a monotone increasing function from the natural numbers to the positive reals, and $f(n)$ is completely multiplicative, then there exists some constant $C$ such that $f(n)=n^C$ for all $n$.  I have not been able to find a nice proof of this online and was hoping someone could provide a proof. Will my passport number change when I renew it? Is "National Socialism" always capitalized? So, I'm writing a paper on the rise of communism in China. At one point I write the following:     "Today, it is well known that communism is responsible for more deaths than even national socialism."   Then, Word corrects it by capitalizing "National Socialism."   Is it always meant to be capitalized? I am simply referencing the ideology, not necessarily the Third Reich. Word didn't bother to correct "communism." I suppose since there was only one instance of Nazism (on a national scale at least) it could be considered a proper noun. Integrate $e^{ax}\sin(bx)?$ Is there a general formula for finding the primitive of $$e^{ax}\sin(bx)?$$  I've done this manually with $a=9$ and $b=4$ using Euler's formulas. But it takes a bit of time. Is there a pattern here? Present Perfect vs. Present Perfect Continuous how are you?  Well, my biggest doubt at the moment is the difference between these two tenses. Actually, the more I study the more I have doubts with these tenses.      /         These similar threads helped me to clarify and reiterate my previous understanding.   I'm not posting in these threads because the site suggests avoiding asking for clarification (I don't know why because it would avoid new threads with the same content).  My main doubt is as follows:     I've lived in New York for two years.   In my understanding, the sentence above implies (1) that I lived in NY for two years and now I live in another place; or (2) I'm moving to another city after two years living in NY; or (3) I lived in NY for two years, then I moved to another place for some period and, finally, I'm returning. Is that correct?     I've been living in New York for two years.   Whereas the sentence above, in my understanding, implies that I lived in NY for two years and I still living there.  Anyway, many sources that I've already read say that these two sentences have the same meaning and are interchangeable. Therein lies my question. Is that correct? Because if these two sentences are interchangeable, it destroys all my understanding.  Thanks in advance. I have a question about inheritance in Java.  I have two classes A and B , and class B, inherits from A:  public class A {      public A() {          System.out.println("Hi!");      } }   public class B extends A {      public B() {          System.out.println("Bye!");      }       public static void main(String[] args) {          B b = new B();      } }   When I run program B, the output is:  Hi! Bye!      Question : why the constructor of class A is invoked, when I create and object of class B ?    I know that B inherits everything from A - all instance or class variables, and all methods, and in this sense an object of B has all characteristics of A plus some other characteristics defined in B. However, I didn't know and didn't imagine that when I create an object of type B, the constructor of A is also invoked. So, writing this:  B b = new B();   creates Two objects - one of type B, and one of type A.  This is getting interesting,   can somebody explain why exactly this happens? A $60\times 60$ board is partitioned into rectangles of size $2\times 5$ (or $5\times 2$). Is it true that there always exist another partition into rectangles of size $1\times 3$ (or $3\times 1$) such that any $2\times 5$ (or $5\times 2$) rectangle contains a $1\times 3$ (or $3\times 1)$ rectangle?  For the "simple" partition into $2\times 5$ rectangles, this is certainly true: use the simple partition into $1\times 3$ rectangle.  Another way to partition is to first partition the $60\times 60$ board into $12\times 10$ boards, and then for each such board, put two $2\times 5$ at the top and ten $5\times 2$ below. It is not hard to tile each such $12\times 10$ board with $1\times 3$ (or $3\times 1)$ rectangles so that each $2\times 5$ (or $5\times 2$) contains a $1\times 3$ (or $3\times 1)$ rectangle.  (I'm assuming that an $m\times n$ rectangle has $m$ rows and $n$ columns.) Are locks unnecessary in multi-threaded Python code because of the GIL? If you are relying on an implementation of Python that has a Global Interpreter Lock (i.e. CPython) and writing multithreaded code, do you really need locks at all?  If the GIL doesn't allow multiple instructions to be executed in parallel, wouldn't shared data be unnecessary to protect?  sorry if this is a dumb question, but it is something I have always wondered about Python on multi-processor/core machines.    same thing would apply to any other language implementation that has a GIL. php String Concatenation, Performance In languages like Java and C#, strings are immutable and it can be computationally expensive to build a string one character at a time.  In said languages, there are library classes to reduce this cost such as C# System.Text.StringBuilder and Java java.lang.StringBuilder.  Does php (4 or 5; I'm interested in both) share this limitation?  If so, are there similar solutions to the problem available? Did I "get" (or "take") my degree "from" (or "in") the University of Somewhere? I would like to know what is the preferred way to indicate that I took a degree in some subject while also naming the place where I obtained the degree from:   I got my master's degree from the University of Somewhere; I got my master's degree in the University of Somewhere; I took my master's degree in the University of Somewhere.   I would say that "in" is more suitable to mention the particular subject (a degree in maths, for instance) than to indicate the place, but I still have doubts.  By the way, is it a "master's degree" or a "Master's degree"? How are "needs to be washed," "needs washing," and the regional variant "needs washed" to be distinguished"? I'm from Central Pennsylvania, and apparently, we have a strange language construct in this area. I was recently talking about how "my car needs washed" to a friend from NJ, and she told me that my sentence was grammatically incorrect.   I realize she's right, and I realize my options are "my car needs to be washed" or "my car needs washing". But I'm not clear on the precise rule being invoked. Seeking options for Spatial ETL (Extract, Transform, Load)? I am interested in the pros and cons of various spatial ETL (extract, transform, load) tools.  If you have used the items listed here (or add your own), I seek your opinions and experiences.  In particular I would like to see usability comparisons of:    (proprietary)  (proprietary, subset of FME features)  (open source)  (open source)  (I don't know that it is truly ETL, but more of a file translation toolset) Any additional lot listed   There is no need to give a review of ALL software mentioned.  If you are experienced with even one then that will be very beneficial in making a decision about which direction to go.  Example: I am looking to create a schema conversion function that will allow me to select the input layer, create a translation, and output to a new, pre-defined schema.  Optimally, after creating the translation script, I would like to have an interactive form where I can "map" fields in my input layer to the output layer (ie- The output layer will have a field called "Address", what is it called in the input layer?)  Some were mentioned in the Q&amp;A at   And here are a couple of related articles that I found.