Java class error android 03-13 15:27:57.592: I/Process(1985): Sending signal. PID: 1985 SIG: 9 03-13 15:27:58.558: D/AndroidRuntime(2062): Shutting down VM 03-13 15:27:58.558: E/AndroidRuntime(2062): FATAL EXCEPTION: main 03-13 15:27:58.558: E/AndroidRuntime(2062): Process: com.example.cabbookinghome, PID: 2062 03-13 15:27:58.558: E/AndroidRuntime(2062): java.lang.NoClassDefFoundError: Failed resolution of: Landroid/support/v7/appcompat/R$styleable; 03-13 15:27:58.558: E/AndroidRuntime(2062):     at android.support.v7.app.ActionBarActivityDelegate.onCreate(ActionBarActivityDelegate.java:106) 03-13 15:27:58.558: E/AndroidRuntime(2062):     at android.support.v7.app.ActionBarActivityDelegateICS.onCreate(ActionBarActivityDelegateICS.java:57) 03-13 15:27:58.558: E/AndroidRuntime(2062):     at android.support.v7.app.ActionBarActivity.onCreate(ActionBarActivity.java:99) 03-13 15:27:58.558: E/AndroidRuntime(2062):     at com.example.cabbookinghome.SplashActivity.onCreate(SplashActivity.java:38) 03-13 15:27:58.558: E/AndroidRuntime(2062):     at android.app.Activity.performCreate(Activity.java:5933) 03-13 15:27:58.558: E/AndroidRuntime(2062):     at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1105) 03-13 15:27:58.558: E/AndroidRuntime(2062):     at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2251) 03-13 15:27:58.558: E/AndroidRuntime(2062):     at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2360) 03-13 15:27:58.558: E/AndroidRuntime(2062):     at android.app.ActivityThread.access$800(ActivityThread.java:144) 03-13 15:27:58.558: E/AndroidRuntime(2062):     at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1278) 03-13 15:27:58.558: E/AndroidRuntime(2062):     at android.os.Handler.dispatchMessage(Handler.java:102) 03-13 15:27:58.558: E/AndroidRuntime(2062):     at android.os.Looper.loop(Looper.java:135) 03-13 15:27:58.558: E/AndroidRuntime(2062):     at android.app.ActivityThread.main(ActivityThread.java:5221) 03-13 15:27:58.558: E/AndroidRuntime(2062):     at java.lang.reflect.Method.invoke(Native Method) 03-13 15:27:58.558: E/AndroidRuntime(2062):     at java.lang.reflect.Method.invoke(Method.java:372) 03-13 15:27:58.558: E/AndroidRuntime(2062):     at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:899) 03-13 15:27:58.558: E/AndroidRuntime(2062):     at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:694) 03-13 15:27:58.558: E/AndroidRuntime(2062): Caused by: java.lang.ClassNotFoundException: Didn't find class "android.support.v7.appcompat.R$styleable" on path: DexPathList[[zip file "/data/app/com.example.cabbookinghome-1/base.apk"],nativeLibraryDirectories=[/vendor/lib, /system/lib]] 03-13 15:27:58.558: E/AndroidRuntime(2062):     at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:56) 03-13 15:27:58.558: E/AndroidRuntime(2062):     at java.lang.ClassLoader.loadClass(ClassLoader.java:511) 03-13 15:27:58.558: E/AndroidRuntime(2062):     at java.lang.ClassLoader.loadClass(ClassLoader.java:469) 03-13 15:27:58.558: E/AndroidRuntime(2062):     ... 17 more 03-13 15:27:58.558: E/AndroidRuntime(2062):     Suppressed: java.lang.ClassNotFoundException: android.support.v7.appcompat.R$styleable 03-13 15:27:58.558: E/AndroidRuntime(2062):         at java.lang.Class.classForName(Native Method) 03-13 15:27:58.558: E/AndroidRuntime(2062):         at java.lang.BootClassLoader.findClass(ClassLoader.java:781) 03-13 15:27:58.558: E/AndroidRuntime(2062):         at java.lang.BootClassLoader.loadClass(ClassLoader.java:841) 03-13 15:27:58.558: E/AndroidRuntime(2062):         at java.lang.ClassLoader.loadClass(ClassLoader.java:504) 03-13 15:27:58.558: E/AndroidRuntime(2062):         ... 18 more 03-13 15:27:58.558: E/AndroidRuntime(2062):     Caused by: java.lang.NoClassDefFoundError: Class not found using the boot class loader; no stack available   can someone here tell me whats wrong or why i'm getting no class error?
Why am I getting a NoClassDefFoundError in Java? I am getting a NoClassDefFoundError when I run my Java application.  What is typically the cause of this?
A closed form for a triple integral with sines and cosines I need to run Firefox browser from terminal. Browser works fine, but terminal still waits for Firefox to return and if I do CTRL+C, it terminates Firefox. How to run command to make Firefox work independently from terminal? How can I change my Minecraft username? I have two tables, movies and categories, and I get an ordered list by categoryID first and then by Name.  The movie table has three columns ID, Name and CategoryID. The category table has two columns ID and Name.  I tried something like the following, but it didn't work.  var movies = _db.Movies.OrderBy( m =&gt; { m.CategoryID, m.Name }) Proof of the First Isomorphism Theorem for Groups I am kind of confused on the terminology of &quot;space&quot;. From  I am getting that  In mathematics, a space is a set (sometimes called a universe) with some added structure.  And from topological and metric spaces, I know that we a space is a a tuple of a set and a structure, e.g. $(X, \tau)$, $(X, d)$, where $\tau$ and $d$ are a topology and a metric respectively. On the other hand, in machine learning the term &quot;features space&quot; is used a lot for sets like $\mathbb R^n$, e.g.  and although it often refers to the set underlaying set itself, not the tuple of set plus the added structure. In fact, I have done the same in a previous publication (which the peer-reviewers accepted), but I would like to be both correct and precise in what I research, write, and submit. Is it just that machine learning researchers are imprecise in their terminology? Is it just an ? I think, what some people are doing, might be they consider a space to be a set, which is somewhat structured, instead considering the set with the structure (so, the tuple), to be the space.  I am not sure how to think about this. How do I deal with this in my writing? Especially since, what happens a lot is that I need subsets and element out of the underlying sets of all kinds of spaces.  Of course it would greatly help if there was a general name for a set that is the underlying set of a space, , but it seems that there is no dedicated name for such a set. Let's say there was a features space $(X, \cdot)$, (where I am not even sure, what structure we would add). Then it would be great to have a name for the set, let's call it an asdf. So we could say the feature asdf.  Afterthoughts: What makes it worse for me is that it seems ( and ) I am not even using the word &quot;structure&quot;, right, since it is about operations, so we are talking about an &quot;algebraic structure&quot;, while &quot;geometric space&quot; is... something else...? So apparently a &quot;vector space&quot; is actually not a &quot;geometric space&quot;, but an &quot;algebraic structure&quot;. I can understand that point, but the language gets even more confusing. Difference between staticmethod and classmethod What is the difference between a function decorated with  and one decorated with ? $f(x)$ is a strictly increasing, and continuous, function on $[0,+\infty)$. Consider the integral,  $$\int_0^a f^{-1}(x) dx.$$  Reasoning  The interval $[0,a]$ is "reflected" across the line $y=x$ onto the interval $0 \leq y \leq a.$  $f(x)$ and $f^{-1}(x)$ are symmetric across the line $y=x$. So, the integral is equivalent to the area bounded by $y = 0$, $y=a$, and $f(x)$.  So, "integrating $f$ along an interval on the $y$-axis" is the same as integrating $f^{-1}$ along the same interval on the $x$-axis?  Question  Is my reasoning correct? import Excel sheets by name To mean "He is a friend of mine who I love" or "He is a friend of mine that I love", can I say "He is a friend of mine I love"? When I omit "who" or "that" in that sentence, it sounds wrong to me. I think I am not used to that structure. What do you think?  Note: I know (that) relative pronouns can be dropped like in "He is someone (that/who) I love", but in the sentence I gave, I think it is wrong to omit it because "a friend" was already modified by "of mine".  Context: I am talking about a friend, and I am saying I love him. Meaning of hash symbol in pin name I'm reading the datasheet of a PSRAM (available ). In the top-right hand corner all the pins are listed. Some of the pin names end with a hash, e.g. LB#, OE#.  What does the # notation mean for pins? How to get this blur texture effect in photoshop? I'm trying to get an image to look similar to this photo:    I'd guess they took a picture of the monitor with a regular camera. But I'm more interested to know what effects / filters they used to get the blur and texture. Any suggestions would be appreciated What are good methodologies for creating sprocs that reduce the pain of debugging? And what tools are out there for debugging stored procedures?  Perhaps most importantly, what are indications to look out for that errors are happening in a sproc and not in the code? I hope I'm not all over the board too terribly bad here. Votes for answers to any of the above. Thanks.  For what it's worth, I work in a .NET environment, SQL servers. I am trying to construct a theoretical Diffie-Hellman key exchange protocol. However, i cannot understand the difference between choosing an additive group or a multiplicative group. I believe an additive would make it much more simple, but would a multiplicative group make it more difficult to break? What would be the difference between the use of those 2 kinds of number groups? Are they going to start a new trilogy of Spider-Man once again? I was reading Wikipedia's entry on the 2012 movie  to find out about the next movie in the franchise. It says that there were plans for a third movie but it is cancelled now, and Spider-Man is going to appear in . It also says that Sony hired someone (don't remember the name) to write a new trilogy for the franchise.   What is the point of telling the same story once again? They have repeated it twice already. Is it just for business or to compete with the Marvel Cinematic Universe? Question  Let $X_n\geq 0$ be independent for $n\geq 1$. The following are equivalent.  $\sum_{n=1}^\infty X_n&lt;\infty$ a.s. $\sum_{n=1}^\infty[P(X_n&gt;1)+E(X_nI(X_n\leq 1)]&lt;\infty$ $\sum_{n=1}^\infty E(X_n/(1+X_n))&lt;\infty$   My attempt I was able to prove $(1)$ implies $(2)$ and $(2)$ implies $(3)$ but not $(3)$ implies $(1)$. For $(1)$ implies $(2)$, observe that by Borel-Cantelli $\sum_{n=1}^\infty P(X_n&gt;1)&lt;\infty$, else $X_n&gt;1$ infinitely often w.p.1 so that $(1)$ is violated. To see that $\sum_{n=1}^\infty E(X_nI(X_n\leq 1)]&lt;\infty$, apply Kolmogorov three-series theorem (I think). For $(2)$ implies $(3)$ we can write that $$ \begin{align} \frac{X_n}{1+X_n}&amp; =\frac{X_n}{1+X_n}I(X_n\leq 1)+\frac{X_n}{1+X_n}I(X_n&gt;1)\\ &amp;\leq X_nI(X_n\leq 1)+ I(X_n&gt;1). \end{align} $$ Now take the expectation of both sides and sum on $n$ using $(2)$ to conclude $(3)$. For the last implication $(3)$ implies $(1)$, I tried to use Kolmogorov three series theorem. To this end put $Y_n=X_nI(X_n\leq 1)$. First note that $\sum_{n=1}^\infty P(X_n&gt;1)&lt;\infty$ since $$ P(X_n&gt;1)\leq P\left(\frac{X_n}{1+X_n}&gt;\frac{1}{2}\right)\leq 2E\frac{X_n}{1+X_n} $$ by Markov's inequality. But I am unable to show that $\sum EY_n&lt;\infty$ and $\sum\text{Var}(Y_n)&lt;\infty$. Any help is appreciated. What does it mean to "align" partitions? I am familiar with what partitions are, but I saw , and realised I didn't know what "aligned partitions" are.  So what does it mean to "align" partitions? What are the benefits, and the downsides? Let $R$ be a sub-ring of a ring $S$. Let $f,g$ be non-zero polynomials in $R[x]$ and assume that the leading coefficient of $f$ is a unit in $R$. If $f$ divides $g$ in $S[x]$, show that $f$ divides $g$ in $R[x]$.   Thoughts: If $f$ divides $g$ in $S[x]$, then  $g(x) = f(x)q(x)$ for some $q(x)$ in $S[x]$. From here I'm not sure what the question is asking. Do I have to show that $q(x)$ is an element of $R[x]$ ? Insights appreciated. This is how I'm approaching it: let $R$ be a finite integral domain and I'm trying to show every element in $R$ has an inverse:   let $R-\{0\}=\{x_1,x_2,\ldots,x_k\}$,  then as $R$ is closed under multiplication $\prod_{n=1}^k\ x_i=x_j$,  therefore by canceling $x_j$ we get $x_1x_2\cdots x_{j-1}x_{j+1}\cdots x_k=1 $,  by commuting any of these elements to the front we find an inverse for first term, e.g. for $x_m$ we have $x_m(x_1\cdots x_{m-1}x_{m+1}\cdots x_{j-1}x_{j+1}\cdots x_k)=1$, where $(x_m)^{-1}=x_1\cdots x_{m-1}x_{m+1}\cdots x_{j-1}x_{j+1}\cdots x_k$.   As far as I can see this is correct, so we have found inverses for all $x_i\in R$ apart from $x_j$ if I am right so far. How would we find $(x_{j})^{-1}$? Using the simple example below, what is the best way to return results from multiple tables using Linq to SQL?  Say I have two tables:  Dogs:   Name, Age, BreedId Breeds: BreedId, BreedName   I want to return all dogs with their BreedName.  I should get all dogs using something like this with no problems:  public IQueryable&lt;Dog&gt; GetDogs() {     var db = new DogDataContext(ConnectString);     var result = from d in db.Dogs                  join b in db.Breeds on d.BreedId equals b.BreedId                  select d;     return result; }   But if I want dogs with breeds and try this I have problems:  public IQueryable&lt;Dog&gt; GetDogsWithBreedNames() {     var db = new DogDataContext(ConnectString);     var result = from d in db.Dogs                  join b in db.Breeds on d.BreedId equals b.BreedId                  select new                         {                             Name = d.Name,                             BreedName = b.BreedName                         };     return result; }   Now I realize that the compiler won't let me return a set of anonymous types since it's expecting Dogs, but is there a way to return this without having to create a custom type?  Or do I have to create my own class for DogsWithBreedNames and specify that type in the select?  Or is there another easier way?