Why size of derived class having virtual inheritance is coming unexpected?
Struct padding in C++
Lie algebra of $\left(\begin{smallmatrix}a & b\\ & a^2\end{smallmatrix}\right )$ in $GL_2(\mathbb{R})$ I'm working on the question     Let $G$ be the group of invertible real matrices of the form $\left [\begin{array}{c c}a &amp; b\\ &amp; a^2\end{array}\right ]$. Determine the Lie algebra $L$ of $G$, and compute the bracket on $L$.   I'm familiar with how to derive the Lie algebra for a linear group like $U_n$, $SU_n$, etc. but I'm not sure what to do in a more explicit case like this. What's the subject of "There is my biscuit!" ? And how about "There is one biscuit left"? What's the subject, grammatically speaking, of these sentences?   There is my biscuit! My biscuit is there! There is one biscuit left.   I don't really know how to analyze these. The following observations seem to be relevant, though:   The verb to be doesn't take an object. In the first two sentences, there is a demonstrative pronoun. It is therefore potentially a subject, I think. I don't know what part of speech is taken by there in the third sentence. In favour of reading my biscuit and one biscuit as the subjects is that if there were more than one biscuit then, in each case, the verb would become plural (There are my biscuits! etc.) In favour of reading one biscuit as the subject of the third sentence is that if we recast it as (the slightly unidiomatic) There remains one biscuit, it seems that one biscuit would have to be the subject.   All of this leads me tentatively towards thinking that my biscuit and one biscuit are the subjects here, but I'm not totally confident about this.  One other possibility: since to be doesn't take an object, does that mean it can have two subjects? In I am he, presumably both I and he are subjects, if neither is an object? How do I check that multiple keys are in a dict in a single pass? Show that $\forall (x,y)$ in the first quadrant: $\frac {x^2+y^2}{4}\leq e^{x+y-2}$ Where is the Layers panel in Blender 2.8? I am starting working on Blender 2.8, but I can't find the layer panel. Where is it? Exporting video to .mov in Blender 2.79 In the past, Blender (at least the Mac version) has had the ability to encode video files as .mov, the format used by Quicktime Player. However, with Blender 2.79 this feature seems to have vanished, for both the Internal and Cycles render engines. The release log happens to have the entry "Video encoding settings have been simplified, along with the addition of a Constant Rate Factor (CRF) mode" which I suppose could be the cause.  Does anyone know what happened—whether it is the aformentioned reason or something else—and how to export videos as Quicktime .mov in Blender 2.79? Using Sequence to delete a part of an expression Symbolizing using RGB values from Excel in ArcGIS Desktop? I have an excel file with 2 attribute columns, 1-feature info 2-Number of color (RGB) that the current feature should be symbolize. This file file can be joined with the layer using the "feature info" field which is unique (join by attribute table). So i have as attribute the color number attribute for every polygon feature.  How can  i use this this information to symbolize every feature with their attributed color already imported from the excel sheet? Possible Duplicate:                 What is the difference between does have and has? For example, compare she does have a car and she has a car. What are the system requirements for each flavour of Ubuntu Desktop? I'm thinking about installing Ubuntu Desktop, but I don't know what flavor is the best for my system. What are the minimum and recommended hardware requirements? What kind of CPU? How much memory? Should I have Hardware Acceleration? What flavor should I use?  This is an attempt of a canonical answer. My answers have the &quot;official  requirements&quot;, the recommended are a mix of official sources and opinion based (along with the answer it's told the source). You can comment or edit if you feel that the information is obsolete or incomplete. It is a good rule of thumb that any system capable of running Windows Vista, 7, 8, x86 (Intel) OS X will almost always be a lot faster with any Ubuntu flavor even if they are lower-spec than described below. In a problem, we have to differentiate : $$ y = \arcsin (2 x \sqrt{1 - x^2}),$$ given: $$-{1/(\sqrt2)} &lt; x &lt;{1/(\sqrt2)}$$.   My approach :  Put $x = \cos (p)$, so y reduces to:- $y = 2p = 2 \arccos (x)  \implies$ ${dy}/{dx}$ $ = -{2}/{\sqrt{1-x^2}}$   But the solution given is without the minus sign, so I am doing something wrong here but don't know what.  So please tell me what I am doing wrong and how to correct it. Is `sudo pip install` still a broken practice? HDMI to VGA convert I just bought a new HP Pavilion dv7t Quad Edition laptop that has HDMI out. I already have a couple of monitors that are VGA and I'd like to hook up one of these to dual monitors.  I've read some sketchy reviews of products that try to convert directly from HDMI (digital) to  VGA (analog), so I was wondering if someone has a good recommendation on how to hook these two together. How to install latest Code::Blocks from tar.xz? Output of Logistic Regression Prediction When does a Square Matrix have an LU Decomposition? If $\gcd(a,b)=1$, then there exists integers $x$ and $y$ such that $xa + yb = 1$ Could the granting lag for each badge be added to the FAQ? Why does US Customs & Immigration ask the purpose of my trip when I'm returning home? As a US citizen, when I re-enter the US, I am often asked where I was, how long I was there, and the reason for my visit.  Why am I asked these things?  Am I required to answer? Don't I have a legal right to enter the US (as long as I'm not doing or carrying anything illegal)?  If I were to refuse to answer these questions, would I be permitted entry?  Note: I'm not really bothered by the questions (except when the agent asking them is especially rude), I'm just curious. Why can't I catch Pokemon in Pokemon Go anymore?