Generating unique ID for instances using Guid in C#
Is a GUID unique 100% of the time?
How do I color intersection of two ellipses in different color. For instances, the ellipses should themselves be colored as yellow and their intersection as red. My code for drawing ellipses is given below  \draw (-4,0) ellipse (8 and 3); \draw (8,0) ellipse (8 and 3);   UPDATE: In the comments to individual answers, I have requested to show it for three ellipses. Proving question on sets I am unable to understand this question. I have to say whether its true of false and then prove it but I can't proceed with the question unless I understand it.     Let $S$ be the set of stars in our galaxy. There is exactly the same   number of subsets of stars in our galaxy as there are functions   $f:S\rightarrow\{\alpha,\beta\}$ Always sort Recent Places by date modifed Expected Value of Normal CDF I am trying to calculate the expected value of a Normal CDF, but I have gotten stuck. I want to find the expected value of $\Phi( \frac{a-bX}{c} )$ where $X$ is distributed as $\mathcal{N}(0,1)$ and $\Phi$ is the standard normal CDF.  I know I can transform $\frac{a-bX}{c}$ to be a normal random variable $\mathcal{N}\left(\frac{a}{c},\frac{b^2}{c^2}\right)$ where $\frac{b^2}{c^2}$ is the variance of the normal random variable. I'm not sure if this helps though.  I think that the expected value of a CDF is $0.5$ but since $\Phi$ is the CDF of a standard normal CDF and $\frac{a-bX}{c}$ is not standard normal I do not think the expected value should be 0.5. I tried integrating the CDF, but I do not believe I did it correctly.  When $a = -2.3338$, $b = 0.32164$, $c = 0.94686$, I believe the correct answer is approximately $0.009803$. I found this through simulation.  I would appreciate any help or suggestions. What are the guidelines for using version-specific tags? I believe that some of my questions were asked before but I didn't find any satisfying guidance. I just found only . I hope senior members will help me to understand the situation and use tags correctly.  I have several questions which are related to following explanation:   What is current community's attitude towards version specific tags on Stack Exchange?  How to correctly use version specific tags?  When is it good to create version specific tag? Should any version specific tags be at least marked as synonyms to version unspecific tags? Should I use version specific tags if I re-tagging questions?  Should I re-tag questions if I think that incorrect version specific tag is used?   For example, I mainly visiting questions related to two main topics: WCF and Entity framework. Tagging questions in these topics follow very different rules. WCF uses single main tag  sometimes combined with  currently proposed as synonym to WCF, whereas Entity framework currently have:      - version 2 and 3 never existed  - I started this tag myself but now I think it was a mistake   and two ridiculous tags (both for CTP5 of EF 4.1 – their meaningful lifetime was about 3 months):         I've already several times retagged questions introducing tag for EF 4.1 RC. Separate problem is in Code-first approach related strictly to  where 5 other tags are used to describe the same:           I asked for merging these tags in .  As you can see that EF topic currently contains too many tags to describe the same. There are other related tags to EF but they are mainly used as supporting tags for specific features.  First I thought this is a common situation because ASP.NET MVC uses also new tag for each version even questions usually asks for general problems related to any version but then I was informed by @Richard in  that EF is probably tag polluted.  I regularly retag questions in EF topic. Currently I'm using:     as general topic's tag because I was already informed by @Slauma  that people usually have only this tag between their favorites and I should not remove it. It was a good point.   for questions related directly to EFv4 features  for questions related directly to EF 4.1 features  for questions related to fluent and annotations mapping from EF 4.1   But still I think that  and  are somehow redundant but I'm not sure if my opinion is shared by other participants in these tags. WCF also has 3 versions and almost twice as more questions than EF and it still uses only single main tag  without any problem. I think the used version should be information included in a question.  Are there any general rules? What about version related tags to C#, .NET and ASP.NET MVC? I first thought that it is common and accepted approach to create version specific tags just because users around ASP.NET MVC (strong tag) do the same.  Sometimes I think I received privileges too early and I don't use them correctly. I need some guidance. Latin Square and Graph Theory How many &quot;$1$&quot; can be selected at most, provided that only one from each row and column of the attached matrix $A$ is selected?(That is, when one &quot;$1$&quot; is selected, no other element can be selected than the row and column where that &quot;$1$&quot; is located.)  Answer: I think $6$ can be chosen.  How can I give this answer in connection with graph theory? I think it has to do with the Latin Square(or Rectangle). But I can't connect and explain. Please help me. I thought a lot, but I could not establish the relationship completely. Thanks... I am trying to prove the following.  Proposition Let $g$ be a Lie algebra such that the first derived algebra $Dg$ is a proper ideal of $g$. Consider the quotient $g/D^1 g$, and show that the preimage of any codimension 1 subspace is   an ideal, and has codimension 1.   I could show that the preimage is indeed an ideal, but I need some help with the part about the dimensions:  So suppose that $\phi: x \mapsto [x]$ is the quotient projection. And write $[h] + Dg$  for a codimension 1 subspace of $g$ (here $h\subset g$). Then the preimage of this subspace is just the linear span $h+Dg\leq g$. Let $y+z \in h+Dg$ with $y\in h$ and $z\in Dg$. Let $x\in g$. We want to show that $[x, y+z]\in h$, ie that $h + Dg \lhd g$. We can write $x$ as $x_0+x_1$ for $x_0 \in Dg$, $x_1\not\in Dg$. Then  $$[x,y+z] = [x_0, y+z] + [x_1, y] + [x_1,z] \in h + Dg$$  The inclusion follows since $Dg$ is an ideal so the first and third terms belong $Dg$; and $[x_1, y] \in D_g$, as $g/Dg$ is abelian. When running a Java app from eclipse my ImageIcon shows up just fine.  But after creating a jar the path to the image obviously gets screwed up.  Is there a way to extract an image from the jar at runtime so I can then open it up?  Or, is there a better way to do this?  I'd like to distribute a single jar file if possible. How to control the mouse in Mac using Python? What would be the easiest way to move the mouse around (and possibly click) using Python on OS X?    This is just for rapid prototyping, it doesn't have to be elegant. Covariance of Euler-Lagrange equations under change of generalized coordinates Cardinality of cartesian product of an infinite set with N Suppose that f is continuous on $(a,b)$ and $\lim_{x\to a^+}  f(x) = \lim_{x\to b^-} f(x) = \infty$. Prove that $f$ has a minimum on all of $(a,b)$.  I was thinking of applying the extreme value theorem, but I realized that it applies only to closed intervals. So I was thinking of defining a closed interval that is in $(a,b)$, and using the definition of one sided limits to go about the problem, but I don't know how to proceed. Help please? From the man page on git-merge, there are a number of merge strategies you can use.     resolve -  This can only resolve two heads (i.e. the current branch and another branch you pulled from) using 3-way merge algorithm. It tries to carefully detect criss-cross merge ambiguities and is considered generally safe and fast. recursive -  This can only resolve two heads using 3-way merge algorithm. When there are more than one common ancestors that can be used for 3-way merge, it creates a merged tree of the common ancestors and uses that as the reference tree for the 3-way merge. This has been reported to result in fewer merge conflicts without causing mis-merges by tests done on actual merge commits taken from Linux 2.6 kernel development history. Additionally this can detect and handle merges involving renames. This is the default merge strategy when pulling or merging one branch. octopus -  This resolves more than two-head case, but refuses to do complex merge that needs manual resolution. It is primarily meant to be used for bundling topic branch heads together. This is the default merge strategy when pulling or merging more than one branches. ours -  This resolves any number of heads, but the result of the merge is always the current branch head. It is meant to be used to supersede old development history of side branches. subtree -  This is a modified recursive strategy. When merging trees A and B, if B corresponds to a subtree of A, B is first adjusted to match the tree structure of A, instead of reading the trees at the same level. This adjustment is also done to the common ancestor tree.   When should I specify something different than the default?  What scenarios are each best for? So the problem is that account 1 and account 2 bought a game together, but account 1 isn't used anymore. Can we transfer the game license from account 1 to account 3?   The game was bought on account 1 and account 2 activated account 1 as primary. What's the best way to take a segment out of a text file? How to know the motherboard BIOS version using the command line How can get the BIOS version of my motherboard?  The command dmidecode gives you some information about the BIOS, but I can't find what I need...    I tried dmidecode command before asking and I didn't find what I needed - I want only the BIOS version and nothing else in the output. singlespacing in table with no indent How to type \sim above another symbol x? I want to put a "~" above x, just like \hat x but replacing \hat with \sim.   How to do that? Can you intentionally fail a skill check? This comes up to me in the context of the 3.x/PF/d20 Fly skill, even when I simply read about it: Can you intentionally fail a Fly skill check, or any other skill check for that matter, if you, or your character for that matter, decides that the effects of failing the check are what is desired in the situation?  Example:  Take a a shapeshifted Draconian cruising at high altitude, with a few friends on his back who have some means of breathing air supply, whether it be mundane or magical.  Now lets say that the air supply goes kablooie, similar to a decompression or all-packs-trip in an airliner.  For the sake of the folks on his back -- if not himself, depending on if dragon forms need supplemental air to fly at such high altitudes, the Draconian has to lose altitude, and fast.  Considering that by RAW, a Fly check failure leaves yourself falling, would saying "I initiate a rapid descent" be enough to treat the next Fly check as an intentional failure, or would you have to roll a 'reverse' Fly check, where failing the check gives you the desired outcome of a rapid descent, and succeeding leaves you stuck at altitude?  P.S. I added the rules-as-written tag because a RAW answer is highly desired here, albeit not mandatory.  I can already mostly figure it out from a simulationist standpoint, but that answer involves going in-depth into airline flying and non-normal procedures. Current sensing nA to mA I need to sense the current of a target  through various periods of its on/sleep/off state and then need to send this data back to another interface MCU to read out the value. They will be both on the same board, powered by 5&nbsp;V USB.  However these are the requirements I have:   5&nbsp;V USB PSU Must be able to sense currents in the range of nA to mA with high    accuracy/precision. (I figure 1&nbsp;nA to 500&nbsp;mA) Only measure the current of the target MCU and not the interface. Must output maximum 3.3&nbsp;V interface MCU   I have looked at available options and current sense amplifiers by Texas Instruments can't sense nA due to higher bias currents. So therefore I feel I would need a precision amplifier.  However I am stuck on how to proceed with this because, I need to somehow have a automatic dynamic current range and I am fairly new to current sensing and am not really sure on all the specifics.