Can't Retrieve Data from Firebase in Android Studio
What is a NullPointerException, and how do I fix it?
Can Ubuntu really run all Windows programs? When and how do we use the different kinds of brackets/parentheses&nbsp;— (){}[]&nbsp;— while writing English (not code)? How do I move all files from one folder to another using the command line? R: Trouble using SMOTE package "invalid 'labels'" Interpreting the 'metric' column in routing table I'm a little confused about the output I'm seeing in my routing table, particularly the 'metric' column:  $ route -n Kernel IP routing table Destination     Gateway         Genmask         Flags Metric Ref    Use Iface 0.0.0.0         192.168.0.1     0.0.0.0         UG    0      0        0 wlan0 172.16.35.0     0.0.0.0         255.255.255.0   U     0      0        0 vmnet1 192.168.0.0     0.0.0.0         255.255.255.0   U     9      0        0 wlan0 192.168.82.0    0.0.0.0         255.255.255.0   U     0      0        0 vmnet8   According to the man page, metric indicates the 'distance' to the target. I was a little confused about what exactly "target" was. I assumed it was my router (it goes to gateway 0.0.0.0, which then goes to my router at 192.168.0.1). Thus, I expected the metric to be a single hop to my router. However, it's 9! Why is this so number high? Simple question, but one that I've been curious about...is there a functional difference between the following two commands?  String::class String.class   They both do what I expect -- that is to say they return Class -- but what is the difference between using the :: and the .?  I notice that on those classes that have constants defined, IRB's auto-completion will return the constants as available options when you press tab after :: but not after ., but I don't know what the reason for this is... The following sentence refers to an apocalyptic story where money no longer has any value:     A can of sardines, radio batteries, or a bicycle is/are more precious than money.   Should I use is or are after the series? Inner Product on $\mathbb{R}$ and on $\mathbb{C}$ This is a question of the book Linear Algebra of Kenneth Hoffman.  Describe explicitly all inner products on $\mathbb{R}$ and on $\mathbb{C}$.  I think that if $&lt;,&gt;$ is one inner product on $\mathbb{R}$ (or $\mathbb{C}$) then $&lt; ,&gt;=K[,]$, where $[,]$ is the standard inner product. Is that correct? outline object effect How can I achieve an outline effect similar to the ones found in League of Legends or Diablo III?      Is it done using a shader? How? I would prefer answers that are not tied up to any particular engine but one that I can adapt to whatever engine I'm working on. Does the universe have a center? If the big bang was the birth of everything, and the big bang was an event in the sense that it had a location and a time (time 0), wouldn't that mean that our universe has a center?  Where was the big bang? What is there now? Are we moving away from the center still? Are these even valid questions? SQL Azure and Full-Text Catalogs, Indexes and Searching I am trying to fit a SVM to my data. My dataset contains 3 classes and I am performing 10 fold cross validation (in LibSVM):   ./svm-train -g 0.5 -c 10 -e 0.1 -v 10 training_data   The help thereby states:  -c cost : set the parameter C of C-SVC, epsilon-SVR, and nu-SVR (default 1)   For me, providing higher cost (C) values gives me higher accuracy. What does C in SVM actually mean? Why and when should I use higher/lower values (or the LibSVM given default value) of C? Korea: Visa required to go to the city while in transit in Seoul for a Philippine citizen? Hi I'm traveling to Uzbekistan and have 12 hours layover in Seoul via Korean Airlines. Do I need a visa to go out of the airport for sightseeing? I'm a Philippine passport holder. Testing equality of coefficients from two different regressions This seems to be a basic issue, but I just realized that I actually don't know how to test equality of coefficients from two different regressions. Can anyone shed some light on this?   More formally, suppose I ran the following two regressions:  $$ y_1 = X_1\beta_1 + \epsilon_1 $$ and  $$ y_2 = X_2\beta_2 + \epsilon_2 $$ where $X_i$ refers to the design matrix of regression $i$, and $\beta_i$ to the vector of coefficients in regression $i$. Note that $X_1$ and $X_2$ are potentially very different, with different dimensions etc. I am interested in for instance whether or not $\hat\beta_{11} \neq \hat\beta_{21}$.   If these came from the same regression, this would be trivial. But since they come from different ones, I am not quite sure how to do it. Does anyone have an idea or can give me some pointers?   My problem in detail: My first intuition was to look at the confidence intervals, and if they overlap, then I would say they are essentially the same. This procedure does not come with the correct size of the test, though (i.e. each individual confidence interval has $\alpha=0.05$, say, but looking at them jointly will not have the same probability). My "second" intuition was to conduct a normal t-test. That is, take   $$ \frac{\beta_{11}-\beta_{21}}{sd(\beta_{11})} $$  where $\beta_{21}$ is taken as the value of my null hypothesis. This does not take into account the estimation uncertainty of $\beta_{21}$, though, and the answer may depend on the order of the regressions (which one I call 1 and 2).   My third idea was to do it as in a standard test for equality of two coefficients from the same regression, that is take  $$ \frac{\beta_{11}-\beta_{21}}{sd(\beta_{11}-\beta_{21})} $$   The complication arises due to the fact that both come from different regressions. Note that   $$ Var(\beta_{11}-\beta_{21}) = Var(\beta_{11}) + Var(\beta_{21}) -2 Cov(\beta_{11},\beta_{21}) $$ but since they are from different regressions, how would I get $Cov(\beta_{11},\beta_{21})$?  This led me to ask this question here. This must be a standard procedure / standard test, but I cound not find anything that was sufficiently similar to this problem. So, if anyone can point me to the correct procedure, I would be very grateful! Solutions to $a+b+c=12$, $a, b, c \in \mathbb{N}_0$ Let $a, b, c \in \mathbb{N}_0$. If $a+b+c=12$, how many solutions $(a,b,c)$ satisfy the equation?   Is the answer:      $729$ When the article the is used before theorem names When writing math papers, one sometimes has to refer to some famous theorems, for instance, the Pythagorean theorem.   Shall I write "by Pythagorean theorem", or "by the Pythagorean theorem". When shall I use the article "the"? Copy files excluding x,y,z causing error in shell script Regression without intercept: deriving $\hat{\beta}_1$ in least squares (no matrices) Plotting a function with an argument in degrees I want to plot a function. The function is, F is proportional to x/cos(x). Here x is rotation in degree and F is the force. I have to plot the graph where the x axis will be from 0 to 70 degree and the y axis will be linear value 0 to 5. I am not able to find any option to draw graphs where x axis is with rotational degree. I am trying to understand how complex numbers made their way into QM. Can we have a theory of the same physics without complex numbers? If so, is the theory using complex numbers easier?