Very very Simple Application
Unfortunately application has stopped android emulator genymotion
Transparency/Masking : See through an Outer Sphere and see Inner Sphere in true colours Summary  I want to be able to look through an outer sphere - BlueSphere, and see another sphere inside - RedSphere  This is the target goal I'm trying to get to:    Issues  Here is what I have tried, and the problems I'm having:  1)  If I set the spheres transparency alpha values to 0.75    - then the inner RedSphere does not take on its "true" colour and shows as blue instead of red.    2)  If I set the spheres transparency alpha to lower values of 0.5   the spheres lose their crispness which I don't want and the inner RedSphere still does not take on its "true" colour   { can't paste a 3rd sample - need more reputation points }   Background  I am animating two spheres, one inside the other, superimposed about a common origin.   At the start:   the outer BlueSphere is at full radius the inner RedSphere is at zero radius  As time progresses:   the outer BlueSphere shrinks the inner RedSphere expands    So what happens is the expanding inner RedSphere "bursts through" the contracting outer BlueSphere.  So the effect I am looking for is to see the RedSphere appearing as Red as it expands inside the BlueSphere.  Thinking/Logic  So I figure that transparency is not the way to go.  The transparency settings are behaving correctly - as one would expect, in a "real world" situation - the inner sphere (Red) takes on the colour of the outer sphere (Blue) seeing as we are looking through a (transparent) Blue material.  Any ideas on what approach to take ?  It's almost as if I should be "removing" the part of the BlueSphere that the RedSphere "occupies" so that we see the RedSphere directly without any BlueSphere between us and the RedSphere.  Some sort of masking ??  Advice, comments, suggestions welcome. Thanks.  [requested edit]  Using internal render.  [ My End Solution - Thanks for the guidance ]  Right, so here is the way I got to my final result:  1) I created python drivers for each sphere   I used the frame_current scene property for input Passed that to a scripted expression which used sin() as the scaling factor Used some if / elif conditionals against frame_current to make the spheres visible only when I needed them   2) I created 3 layers   On Layer-1 - background   I put RedSphere AND BlueSphere with drivers driver_Outer_RedSphere() &amp; driver_Outer_BlueSphere() limiting the display of each sphere to show only where each radius > halfway  On Layer-2 - foreground-1   I put RedSphere ONLY with driver driver_Inner_RedSphere() limiting the display of RedSphere to show only where its radius &lt;= halfway  On Layer-3 - foreground-2   I put BlueSphere ONLY with driver driver_Inner_BlueSphere() limiting the display of BlueSphere to show only where its radius &lt;= halfway    3) I rendered each layer to .PNG sequence [RGBA] (alpha channel for transparency)   Render Layer-1 - background   background : [sky]  Render Layer-2 - foreground-1   background : [transparent]  Render Layer-3 - foreground-2   background : [transparent]    4) I brought all 3 sequences into the Video Sequence Editor   Strip-1 - background   blend [cross] opacity [1.00]  Strip-2 - foreground-1   blend [alpha-over] opacity [0.50]  Strip-3 - foreground-2   blend [alpha-over] opacity [0.50]    5) Rendered the 3 layer final sequence to H.264  So the "aha moment" struck me right at the end when I was in the Video Sequence Editor:   "Don't try to make the Outer Spheres transparent, and see through to the Inner Spheres" "Instead overlay the Inner Spheres over the Outer Spheres, and limit the opacity of the Inner Sphere overlay"     So now I see my Inner Spheres in their true colours, but the colours are muted due to the .75 opacity - and hence it gives the visual impression that the Inner Spheres are in fact inside the Outer Spheres.  Thanks all for the input - it got me going in the right direction. I was trying to fit my data into various models and figured out that the fitdistr function from library MASS of R gives me Negative Binomial as the best-fit. Now from the  page, the definition is given as:     NegBin(r,p) distribution describes the probability of k failures and r   successes in k+r Bernoulli(p) trials   with success on the last trial.   Using R to perform model fitting gives me two parameters mean and dispersion parameter. I am not understanding how to interpret these because I cannot see these parameters on the wiki page. All I can see is the following formula:    where k is the number of observations and r=0...n. Now how do I relate these with the parameters given by R? The help file does not provide much information either.   Also, just to say a few words about my experiment: In a social experiment that I was conducting, I was trying to count the number of people each user contacted in a period of 10 days. The population size was 100 for the experiment.   Now, if the model fits the Negative Binomial, I can blindly say that it follows that distribution but I really want to understand the intuitive meaning behind this. What does it mean to say that the number of people contacted by my test subjects follows a negative binomial distribution? Can someone please help clarify this? I have tried without success to plot the curve of the chi-squared distribution. Is there a generous soul who can come to my rescue. Since the last update (v1.0.85), I am getting all the question pages blank on the Android app. For those who are confused with the image, I'm using RtL (Right-to-Left) layout.        If I scroll down (quite a bit) I can see the question. But even then I cannot see the question title, the related comments or answers.         App Version: 1.0.85 Device Manufacturer: LGE Device Model: LG-D620   OS Version: 5.0.2 (152541901f156) What does  signify when using Vim LatexSuite? I have a LaTeX editing environment that does some assistive stuff such as auto-indenting, closing parentheses, etc.  However, one of the things that it does is unknown to me, and is difficult to search for. If I type an empty set of braces, it replaces them with  {}&lt;++&gt;   If I type two empty sets, for example when I'm setting up a fraction \frac{}{} what I actually get is  \frac\left\{ } \right\}&lt;++&gt;}&lt;++&gt;   Is this a problem? What does &lt;++&gt; do?  Edit: This is using I recently updated my version of Lyx from 1.6.7 to 2.0.6. I would like to transfer my old keyboard shortcuts to this new version, but I am having difficulty because I was inconsistent with the way that I set them up:   Some were defined in the specified .bind file,  but others were modified in the lyx preferences menu.   I found that when importing my old .bind file into this updated version of lyx, it imported the keyboard shortcuts that were in the .bind file, but not those that I had added in the preferences menu.  Does anyone know if these keyboard shortcuts that were added via the preferences menu are stored in another .bind file somewhere in the lyx directory? Has anyone else successfully transferred keyboard shortcuts that had been implimented in the preferences menu? Any examples of life forms on Earth that could have survived on Mars or Moon? Do we know of any living forms on Earth that could continue to live on Mars? How can I make a single event handler handle ALL Button.Click events? "There are a good many scholars ..." is it right? In "Seeing like a state" of James C.Scott there is a sentence at the beginning of a paragraph (Acknowledgements xi):     There are a good many scholars whose writings opened up new   perspectives for me or provided outstanding analyses of issues that I   could not have hoped to study so comprehensively on my own.   What worries me is a good many scholars. Is this some type of inversion or ancient English? Is this grammatically right? Why is a here? I thought that appropriate version would be There are many good scholars. Am I wrong? How i recover my icloud username and password If $x\sqrt{1+y}+y\sqrt{1+x}=0$ find $y'$ Find $\frac{dy}{dx}$ if $x\sqrt{1+y}+y\sqrt{1+x}=0$ for $-1\leq x\leq 1$   My Attempt $$ x\sqrt{1+y}=-y\sqrt{1+x}\implies x^2(1+y)=y^2(1+x)\implies x^2+x^2y=y^2+xy^2\\ 2x+2xy+x^2\frac{dy}{dx}=2y\frac{dy}{dx}+y^2+2xy\frac{dy}{dx}\\ \frac{dy}{dx}\Big[ x^2-2y-2xy \Big]=y^2-2x-2xy\\ \frac{dy}{dx}=\frac{y^2-2x-2xy}{x^2-2y-2xy} $$ How do I proceed further and find the derivative ? Why can't a CNAME record be used at the apex (aka root) of a domain? I have a list of cards for a deck I want to build or buy. What should I do to check whether that deck is legal in a particular format (Standard, for example)? Was or is? Confusion How to prove this sequent using natural deduction? How do I prove $$S\rightarrow \exists xP(x) \vdash \exists x(S\rightarrow P(x))$$ using natural deduction? Just an alignment of which axioms or rules that one could use would be much appreciated. How many players can play split-screen, and what game modes are (or aren't) available?   How many players can play local co-op? How many players can play local multiplayer? How many players can play online multiplayer from a single console? less with "update file" like functionality I want to watch a file that gets overwritten every 5 minutes with less. How can I make less follow the new file descriptor instead of keeping the old one displayed? watch "cat file" won't do it because the file is too long to fit into one terminal window. Subfiles failing with custom class Pushforward of inverse map at the identity? Let $G$ be a Lie group and $i:G \rightarrow G$ denote the inversion map $i(x) = x^{-1}$. (Notation: $f_*$ is the pushforward map $F_*:T_pG \rightarrow T_{i(p)}G$ which takes $(F_{*}X)(f)=X(f\circ F)$ and $X$ is a tangent vector, $X\in T_pG$.) I wish to show that $i_{*}:T_{e}G\rightarrow T_{e}G$  is given by $i_{*}(X)=-X$ As a first step, it is trivial to prove that $i_*$ is an involution as $\mbox{Id}_{*}=(i\circ i)_{*}=i_{*}\circ i_{*}$ but I can't seem to make any further progress. Any help would be appreciated. Render looks darker than Look Dev mode I have been texture painting in look dev mode. But when i try to render it, everything looks very dark. I have 3 sun lights in my scene, ambient turned on in Eevee settings. What am i missing? I really like the look of my scene in Look Dev mode, how can i achieve the same look when my scene is rendered too?