How much would someone absorb from the  spell if they can't be put to sleep? The spell states  This spell sends creatures into a magical slumber. Roll 5d8; the total is how many hit points of creatures this spell can affect. Creatures within 20 feet of a point you choose within range are affected in ascending order of their current hit points (ignoring unconscious creatures). Starting with the creature that has the lowest current hit points, each creature affected by this spell falls unconscious until the spell ends. [...] Subtract each creature's hit points from the total before moving on to the creature with the next lowest hit points. A creature's hit points must be equal to or less than the remaining total for that creature to be affected.  So what happens if an elf or a warlock with Aspect of the Moon (both are immune to magical sleep but not directly to the spell itself) is in the targeted area? Would it: A. Treat them like they don't exist B. Subtract their HP and then move on, leaving them awake or C. Let them absorb the full effect of the spell as regardless of their HP they can't be put to sleep  B seems the most likely but I feel like I've seen C ruled before in a game. A would also make some sense as well.
From the spell description:     Sleep (...) Creatures within 20 feet of a point you choose within range are affected in ascending order of their current hit points (ignoring unconscious creatures). Starting with the creature that has the lowest current hit points,(...) Subtract each creature’s hit points from the total before moving on to the creature with the next lowest hit points. A creature’s hit points must be equal to or less than the remaining total for that creature   to be affected. Undead and creatures immune to being charmed aren’t affected by this spell. (PH p.276)   Now, to build the ascending order of their current hitpoints, the spell instructs to count everyone in area of effect, but only ignore unconscous creatures. Then later on it says that Undead and creatures immune to being charmed aren't affected.  Are those two latter kinds of creatures excluded from the roll of current HP by default? Following the "if they were it would say so" philosophy of Sage Advice, it doesn't seem so to me.
I would like to know how to put a time delay in a Python script. Does more reflective aluminum foil make a room cooler compared to less reflective foil? Aluminum foil is said to be not absorbing light at all. It reflects light. So, does it mean that a more shiny aluminum foil will reflect more light and thus make the room more cooler as compared to less shiny foil?  If yes, then where does unreflected light go in case of less shiny aluminum foil?  Does less shiny and more shiny actually make a difference? Why?  In order to keep whole room cool will it help if I stick the foil to the outside of wooden door (exposed to the sunlight) too? Suppose someone from "Harry's world" married a Muggle, and they want to escort their child. Can the Muggle parent get through to the Hogwarts platform? I have a quick question about buttons that toggle between two states. (Think Play/Pause, or Shuffle/Regular Play.) As the title says, should the toggle show it's current state or the state to which it will transition?  I think people are used to the Play/Pause convention. But the Shuffle/Regular play might be more confusing if you show the transition state instead of current. For example, the built-in music player on the Xbox 360 does it this way: when it's in shuffle mode, it shows the icon for direct play and vice versa and it always confuses me (am I in shuffle mode or straight play).  I see it this way: Play/Pause is more like action as in begin playing or pause playing. Yes behind the scenes it is a state transition but to the user, there is an action. Whereas Shuffle/Straight Play is an option and it's best to show the current state (and possibly have only one icon and change button to show that the option is enabled/disabled). Thoughts? Do IE standalone-browser still exist (and run on Win 7?) How to reduce space between image and its caption? Is there any rule for differentiating between the endings "th" and "ht"? Some words end in th (length, width), and others end in ht (height, fight, tonight, caught).    I sometimes have difficulties in spelling such words because I don't know which ending to choose. Is there any rule or pattern (even localized) in choosing one or the other? How do I get the next element in HTML using JavaScript?  Suppose I have three &lt;div&gt;s and I get a reference to one in JavaScript code, I want to get which is the next &lt;div&gt; and which is the previous. Sometimes it’s possible to use either a noun adjunct or the possessive case.     the shop door   the shop’s door   However, in certain phrases it’s not OK to do so.     the ship’s crew (the ship crew is wrong)   The questions are:   How can one find out what to use in such cases as “the shop(’s) door” when a noun adjunct option and the possessive case option are available?  How can one know which option is wrong in order to avoid the construction “ship crew”? Is there a difference in meaning between (a) the shop door (b) the shop’s door? How can I merge properties of two JavaScript objects dynamically? "Real" cardinality, say, $\aleph_\pi$? Is there any meaningful definition to afford for $\aleph_r$ (as in cardinality) where $r\in\mathbb{R}^+$? $r\in\mathbb{C}$? What about $\aleph_{\aleph_0}$? Can we iterate this? $\aleph_{\aleph_{\aleph_{\cdots}}}$  I may be throwing in bunch of rather naive/basic questions, for I haven't learnt much about infinite cardinalities. If I am referring to bunch of stuff abundantly dealt in established areas, please kindly point out. Why are passports checked at the check-in counter, Immigration and even at the gate? I was wondering, why there are passport checks at the check-in counter, Immigration and even at the gate?    For example, I was at Istanbul flying to either UK or US. There's a security check at the check-in counter asking a bunch of questions about my immigration status - even more than the Immigration officer at the border. Also, at the gate, there's also Security officer checking my immigration status and passport asking the same questions.    I thought that would be the responsibility of an Immigration officer rather than some third party company?   The thing I'm curious the most is they don't even know which countries this passport can go to with or without visa. They have to go back to the counter and check with the system which takes a long time. I was wondering why they hire these kind of companies to slow down the process? Birthday line to get ticket in a unique setup At a movie theater, the whimsical manager announces that a free ticket will be given to the first person in line whose birthday is the same as someone in line who has already bought a ticket.  You have the option of choosing any position in the line. Assuming that you don't know anyone else's birthday, and that birthdays are uniformly distributed throughout the year (365 days year), what position in line gives you the best chance of getting free ticket? Quickly calculate date differences "No worthy mechs found" when trying to relay email to Gmail using Postfix I've been trying to configure email to forward to Gmail, using Postfix to relay email to smtp.gmail.com. However, I'm failing to get it to authenticate with smtp.gmail.com, which is a rather vital prerequisite to getting anything working…  The mail logs show only:  Oct 29 15:50:14 gsnedders-1 postfix/master[6596]: daemon started -- version 2.7.1, configuration /etc/postfix Oct 29 15:50:19 gsnedders-1 postfix/pickup[6598]: EBA1F78750: uid=1000 from=&lt;gsnedders&gt; Oct 29 15:50:19 gsnedders-1 postfix/cleanup[6603]: EBA1F78750: message-id=&lt;20111029145019.EBA1F78750@mail.gsnedders.com&gt; Oct 29 15:50:19 gsnedders-1 postfix/qmgr[6599]: EBA1F78750: from=&lt;gsnedders@gsnedders.com&gt;, size=324, nrcpt=1 (queue active) Oct 29 15:50:19 gsnedders-1 postfix/cleanup[6603]: F2D557874F: message-id=&lt;20111029145019.EBA1F78750@mail.gsnedders.com&gt; Oct 29 15:50:19 gsnedders-1 postfix/local[6605]: EBA1F78750: to=&lt;me@gsnedders.com&gt;, orig_to=&lt;me&gt;, relay=local, delay=0.04, delays=0.03/0.02/0/0, dsn=2.0.0, status=sent (forwarded as F2D557874F) Oct 29 15:50:19 gsnedders-1 postfix/qmgr[6599]: F2D557874F: from=&lt;gsnedders@gsnedders.com&gt;, size=454, nrcpt=1 (queue active) Oct 29 15:50:19 gsnedders-1 postfix/qmgr[6599]: EBA1F78750: removed Oct 29 15:50:20 gsnedders-1 postfix/smtp[6606]: warning: SASL authentication failure: No worthy mechs found Oct 29 15:50:20 gsnedders-1 postfix/smtp[6606]: F2D557874F: SASL authentication failed; cannot authenticate to server smtp.gmail.com[74.125.157.108]: no mechanism available   And the postfix config is:  relayhost = [smtp.gmail.com]:587  smtp_use_tls = yes smtp_sasl_auth_enable = yes smtp_sasl_password_maps = hash:/etc/postfix/sasl/passwd smtp_sasl_security_options = noanonymous  smtp_tls_eccert_file = smtp_tls_eckey_file = smtp_tls_security_level = may smtp_tls_CAfile = /etc/postfix/cacert.pem smtpd_tls_received_header = yes tls_random_source = dev:/dev/urandom smtpd_tls_security_level = may Optional Android notifications for reputation changes I would like to get a notification if my reputation count has changed. I think there is already some internal API for that. (I can see that changes in the menu bar in the top).  I'm sure that some people would not like that so that should be optional. Is there a simple way in Perl that will allow me to determine if a given variable is numeric?  Something along the lines of:  if (is_number($x)) { ... }   would be ideal.  A technique that won't throw warnings when the -w switch is being used is certainly preferred. What's the difference between a Long Term Support Release and a Normal Release? Is it possible to use JSF+Facelets with HTML 4/5? My understanding is that heat is essentially atomic vibrations. If there are almost no atoms, how can there be residual heat?  Also, as I understand in space there is no heat transfer via convection and it is mainly through EM radiation. In this case, why is it that if i were to go into space with no suit and just an airtight helmet through which I could breathe, I would still freeze to death very quickly?