Vapor barrier behind durock?
What are the pros and cons of adding a vapor barrier behind shower backer board?
Infinite group with only two conjugacy classes Multiple Inheritance #include&lt;iostream&gt; using namespace std;  class A  {    int a;    int b;    public:    void eat()    {       cout&lt;&lt;"A::eat()"&lt;&lt;endl;    } };  class B: public A {    public:    void eat()    {        cout&lt;&lt;"B::eat()"&lt;&lt;endl;     }  };  class C: public A {     public:    void eat()     {        cout&lt;&lt;"C::eat()"&lt;&lt;endl;     }  };  class D: public B, C {  };  int foo(A *ptr) {  ptr-&gt;eat();  } main() {  D obj; foo(&amp;(obj.B)); //error. How do i call with D's B part.  }   The above foo call is a compile time error.  I want to call foo with obj's B part without using virtual inheritance. How do i do that.   Also, in case of virtual inheritance, why the offset information need to be stored in the vtable. This can be determined at the compile time itself. In the above case, if we pass foo with D's object, at compile time only we can calculate the offset of D's A part. Some of the Puella Magi seem to have magical powers related to the wishes that they made. Sayaka has regeneration abilities, and she wished to heal someone. Homura has time manipulation abilities, and she wished to go back in time.  But other magical girls, like Mami and Kyouko, don't appear to have powers related to their respective wishes.  So, is there a connection, or is it only a coincidence for Sayaka and Homura? If it's the former, how do Mami and Kouko's wishes relate to their powers? I was born in Brazil and came to the United States at the age of 7, in 2007. I no longer need to live in the United States because I have found success in investing and no longer depend on having a job. I am going to buy property in my home country soon, but I have just turned 18.   Will I ever be able to return to the United States to see my friends and other family members? Even if it is a 30-day visa? And, if so, in the future, am I still eligible for the EB-5 visa? Will I be barred from entry? How to make a teleport command that does not work in the Nether? I have a vanilla server 1.8.7 that uses a book to tp players to spawn or to their home (an invisible armor stand with their uuid connected to it). Problem is, if they set home (place their armor stand) in the overworld and go to the nether and try to tp home (activated using a trigger), it sends them to the same co-ordinates in the nether, and most likely kills them.   I did some digging, and there seems to be a dimension parameter, but I can't quite figure out the syntax or how to get it to work.  I updated the command block to:  /tp @a[score_tpHome_min=1,Dimension=0] 68 68 68   I was hoping it would only tp the player when they were in the overworld (Dimension 0), but it seems to be ignoring that parameter in the nether and still teleporting to those co-ordinates in the nether.   I also tried:  /tp @a[score_tpHome_min=1,Dimension:0] 68 68 68   Which is the way other people were using the parameter in other ways, but that gave an error. I am trying to evaluate the following:  $\displaystyle \int_{0}^{\infty} \frac{1}{1+x^a}dx$, where $a&gt;1$ and $a \in \mathbb{R}$  Any help will be much appreciated. USB 2.0 device (scanner) does not work with xhci_hcd on USB 3.0 system Possible Duplicate:    It's time once again to support your favorite open source project through our Free Vote-Based Advertising for Open Source Projects. We are clearing the leader boards to start the first half of 2011 anew. Here is your chance to create a . Create a graphical ad for an open source programming project and post it as an answer to this question (in the right format), and it will feed live remnant ads on Stack Overflow. Ad Requirements It must be an advertisement soliciting the participation and contribution of programmers writing actual source code. This is not intended as a general purpose ad for consumer products which just happen to be open source. It's for finding programmers who will help contribute code or other programmery things (documentation, code review, bug fixes, etc.). Your ad should be an original creation which has not previously appeared on Stack Overflow. Please do not resubmit entries that have appeared as ads on Stack Overflow in previous periods. In order to work, the answers you post to this question must conform to the following rules. Answer Template  [![Tagline to show on mouseover][1]][2]        [1]: http://image-url   [2]: http://clickthrough-url   Please do not add anything else to the body of the post. If you want to add any commentary, keep it in the comments. Image requirements  The image that you create must be 220 pixels by 250 pixels Can be hosted anywhere (tinypic, twitpic, your blog); we will mirror the image locally when we serve it. Must be GIF or PNG No animated GIFs Absolute limit on file size of 150 KB  The output, which ultimately will be served in an ad slot on Stack Overflow, can be previewed by clicking through to this URL:  Score Threshold There is a minimum score threshold an answer must meet (currently 6) before it will be served up by that URL and shown on Stack Overflow. You can see all the ads that currently make the threshold and meet our criteria on this page:  You can also view the ads that meet the threshold using 's Yesterday, my laptop caught a virus which caused massive damage. Since them, I have been trying to recover important files before reformatting my computer, a task the virus has not made easy.   Restoration points predating the attack have been deleted.  Most of my folders show empty.  My Start menu is essentially empty, with the exception of Trillian and Mirror's Edge. The same goes for my Desktop, which only has programs which were installed after the attack.  Searching for files through my computer is pretty much useless, as it only rarely brings up anything. I suspect most of my files have not been deleted. While my folders show empty, uTorrent still does display them and I can open them from here. Unfortunately, when I select Open Containing Folder, the folder still shows as completely empty even if I'm currently watching a video from that very folder. Further adding evidence to the not-deleted-just-missing theory, the data recovery software I'm using (Restoration) cannot find only find an handful of the missing files.   If they were deleted, I could do a forensic recovery to get them back but since they're probably still somewhere on my computer, just out out of my reach, I can't find them.   Under those circumstances, is there a way I can recover those files? I'm a quarter Draconian, a quarter Dragonborn and half Half-Dragon? What are the differences between "Dragonborn", "Half-Dragon", and "Draconian" races in D&amp;D?  In the Hoard of the Dragon Queen adventure, for example there is  a Half-Dragon npc. I had assumed that when writing the adventure they were only allowed to use known material from Basic, and so renamed the Dragonborn into "Half-Dragon" for the sake of compatibility etc. However, the dragon breath rules are not at all similar for the half-dragon and the dragonborn, and I've also noticed wiki article that imply that they are different races entirely. (Thus introducing me to the term Draconian)  Are there clear differences between these three races, (in the same way there are differences between Goblins and Hobgoblins, or Dragonborn and Lizardfolk and Kobolds,) or are they really just three different setting names for the same basic race?  Answers can either be D&amp;D 5e specific, or be based on the lore from all editions of Dungeons and Dragons. (I'm assuming here that the answer will be the same regardless)  Here are two images, the first one is a "half-dragon" from the front of the Hoard of the Dragon queen module, and the second one is a "dragonborn" from the 5e player's Handbook.  I've included these images to help explain my confusion. Helpful flags not getting updated after getting 'close question' privilege Using congruences, show $\frac{1}{5}n^5 + \frac{1}{3}n^3 + \frac{7}{15}n$ is integer for every $n$ Luggage transfer in Dubai between flights, without a visa I am traveling from Stockholm to Dubai and Dubai to Nairobi using two different airlines. I have Kenyan nationality and can't go through Immigration because I don't have a Dubai visa.    How I will get my luggage? Does it make a difference to CP if you feed candies before or after evolving? When activating the evolution for a caught Pokemon, it seems to amplify the Combat Power (CP). Thus it seems most beneficial to evolve your Pokemon with the highest CP, if you have multiple of the same kind.   But what I am not sure about is whether it makes an efficiency difference if you spend candies and dust to boost CP before evolving, to gain more from the amplification? Or is it more efficient to just evolve without spending, and then using the leftover candies afterwards, since they now give a bigger CP boost per candy?   I only tested with a Rattata so far, which gained +8 CP per candy before evolving, and +15 CP afterwards. I collected no numbers on the amplification efficiency though, and now ran out of materials for further testing.  Or maybe it is a balanced calculation and makes no difference at all? I would love to have some insight on that.    Some data I collected thus far: (GPC = CP gain per candy)  79 CP Weedle (GPC 6) evolved to: 84 CP Kakuna (GPC 6), evolved at 90 CP to: 297 CP Beedrill    Note: The max-CP "half circle" in the profile stayed filled roughly at the same relative position throughout the evolutions. In Dummit and Foote, Exercise 15.18 (p. 727 3rd edition) one is asked to prove that for a commutative ring with unity $R$, and $f$ a non-nilpotent element of $R$, that the localization $R_f$ is isomorphic to $R[x]/(xf - 1)$.  I have done this, using the strategy outlined in the problem, using the universal property of $R_f$ proved in Theorem 36. The problem I have is this:  If $R_f \cong R[x]/(xf - 1)$ and $\phi:R[x] \to R_f$ is a surjective homomorphism, it stands to reason that $\text{ker}(\phi)$ should be $(xf - 1)$. I cannot show this directly. The surjective homomorphism I have in mind is, for:  $p(x) = a_0 + a_1x + \cdots + a_mx^m$  $\phi(p) = \dfrac{a_0}{1} + \dfrac{a_1}{f} + \cdots + \dfrac{a_m}{f^m}$  It is clear to me that $\phi$ annihilates $(xf - 1)$, so that ideal is contained in the kernel. What I cannot show is the other containment, or equivalently:  If $\phi(g) = 0_{R_f}$ then $g(x) \in (xf - 1)$. The trouble I am running into is that $R$ might be a "bad" ring, containing a lot of zero-divisors, $f$ might even be a zero-divisor (being non-nilpotent is a considerably weaker property), so the usual polynomial tricks of the division algorithm or using the irreducibility of $xf - 1$ aren't much use, here.  I feel I am missing something obvious....what is it? How do I get started with Translations? My friend and i would like to translate Ubuntu. where should we start? where to find translation tools? How does matchmaking work in Play mode? How does Hearthstone match you with opponents in Play mode, for both Ranked and Unranked? Does your record in Ranked affect matchmaking in Unranked (and vice-versa)? Inequality involving $\limsup$ and $\liminf$: $ \liminf(a_{n+1}/a_n) \le \liminf((a_n)^{(1/n)}) \le \limsup((a_n)^{(1/n)}) \le \limsup(a_{n+1}/a_n)$ This may have been asked before, however I was unable to find any duplicate. This comes from  of "Mathematical Analysis: An Introduction" by Browder. Problem 14:     If $(a_n)$ is a sequence in $\mathbb R$ and $a_n &gt; 0$ for every $n$. Then show:   $$ \liminf(a_{n+1}/a_n) \le \liminf((a_n)^{(1/n)}) \le \limsup((a_n)^{(1/n)}) \le \limsup(a_{n+1}/a_n)$$   The middle inequality is clear. However I am having a hard time showing the ones on the left and right. (It seems like the approach should be similar for each). This is homework, so it'd be great if someone could give me a hint to get started on at least one of the inequalities.  Thanks. Software was blocked from opening because it is not from an identified developer I went to run LibreOffice on my OS X 10.9 and it would not let me install it. It said it was from an unidentified developer. I'm aware of the security features of the Mac and went to System Preferences to allow the software to run.   When I opened this setting I saw a button that said, '"LibreOffice" was blocked from opening because it is not from an identified developer.' and there was a button next to it that said "Open Anyway". I clicked this button and nothing happened. I clicked it multiple times, like a hundred, out of frustration. Is there something else I need to do? Could someone verify this is not a bug?   UPDATE: I've included the photo below of what my System Preferences screen looked like and the button I pushed that didn't work.  UPDATE II: So I tried opening the application again and went into the system preferences and pressed the "Open Anyway" button again and nothing happened at first but a few minutes later while I was typing an email something flashed across my screen, possibly another dialog (or more likely a chewpacabra), but it quickly disappeared and the next thing I know LibreOffice launched! How should I structure my URLs for both SEO and localization? When I set up a site in multiple languages, how should I set up my URLs for search engines and usability?  Let's say my site is www.example.com, and I'm translating into French and Spanish. What is best for usability and SEO?  Directory option:  http://www.example.com/sample.html http://www.example.com/fr/sample.html http://www.example.com/es/sample.html   Subdomain option:  http://www.example.com/sample.html http://fr.example.com/sample.html http://es.example.com/sample.html   Filename option:  http://www.example.com/sample.html http://www.example.com/sample.fr.html http://www.example.com/sample.es.html   Accept-Language header:  Or should I simply parse the  header and generate content server-side to suit that header?  Is there another way to do this? If the different language versions don't have different urls, what do I do about the search engines?    UPDATE 2011-12-06  Google has new recommendations for meta tags for explicitly pointing to other language content: .  UPDATE 2012-05-25  Related but not precisely:   UPDATE 2013-06-12  includes discussion of several URL schemes directly relevant to the question.