Why does this C computation involving exponents produce the wrong answer?
C program to convert Fahrenheit to Celsius always prints zero
How to align checkboxes and their labels consistently cross-browsers Can non basic lands be tapped for colorless mana? For example,  has a mana fixing ability, but it doesn't say you can tap it for mana. Other non-basic lands have a mana ability listed on the card. Should I assume that Evolving Winds cannot be tapped for mana?  Basic lands don't have mana tapping abilities listed, but are assumed you can tap them for mana of the color they represent. Is Using Digital Signatures to prove identity a zero knowledge proof? Suppose Alice publishes a book with a public key in it, and later wants to prove that she wrote the book. She could sign challenge messages with her private key, and others could verify those signed messages. Alice is proving she knows a private key without revealing anything about it.  Is this an example of an interactive zero knowledge proof?   Or does this example somehow not apply to zero knowledge proofs? Align cell height of the tabularx rows The following latex code prints rows one at a time. However all the cells of the rows don't come out aligned. How can I fix it.   \documentclass{beamer}     \usepackage{tabularx}    \begin{document}  \begin{frame}{}  \begin{tabularx}{3.50in}{lXX}           \hline           &amp; Observation &amp; Conclusion \\           \hline             \uncover&lt;2-&gt;{1.} &amp; \uncover&lt;2-&gt;{Observation 1 } &amp; \uncover&lt;2-&gt;{Conclusion 1} \\   \uncover&lt;3-&gt;{2.} &amp; \uncover&lt;3-&gt;{Observation 2} &amp; \uncover&lt;3-&gt;{Conclusion 2} \\           \end{tabularx}      \end{frame}   \end{document}   The output looks as follows :    As we can see cells in first column do not align with the rest of the rows. Will appreciate any input as to how to fix this. writing js objects to files (including methods) in nodejs? Another Question in Hatcher How to scan an entire network using Nmap? Is there a way to scan an entire network using ?   What I want to do is scan my network for all the devices that are currently connected to it. How do you use Batch for send more than 10 emails? Looking for a (short?) story about a cryo ship looking for habitable planets I read this story/novella at least 15 years ago, probably 20 or more. It is about a ship, travelling through the universe, looking for habitable planets. Why, I can't remember. People are held in Cryo Stasis and I think they are wearing nothing in the chamber but some kind of mesh. Every time the ship gets close to a planet it wakes one or two of the people (one woman, one man?) to check it out but they never find anything good. I think in the end they wake up and discover, that they have arrived back at Earth. Other details are very vague but I seem to recall there was lots of stuff about a (blue?) light, dreaming/dreams and something about the cold, or cold blue lights or similar. Does that ring a bell for anyone? I recently decided to watch Doctor Who, and started viewing the 2005 version. I have the first two episodes from the first season, and I can't help but wonder what is the etymology of the name "Doctor Who"? And why does the protagonist call himself "the Doctor" (or is it "the doctor")? Lewis Carroll's Pillow Problem via Bayes' Theorem In Pillow Problems and a Tangled Tale Lewis Carroll presents the following problem:     A bag contains a counter, known to be either white or black. A white counter is put in, the bag is shaken, and a counter is drawn out, which proves to be white. What is now the chance of drawing a white counter?   One can easily reason that in the end, the bag must be in one of three states:   Black remains, new white taken New white remains, original white taken Original white remains, new white taken   In two of those states, a white counter remains to be drawn. Therefore, the chance is 2/3.  How can one arrive to this answer using Bayes' theorem? Are there any free/open source alternatives to Adobe After Effects? I've been a illustrator and graphic designer for a number of years and now I'm looking to go more into motion graphics and visual effects. Is there anything that is open source/free (not a demo, education version or trial) that is as complex and feature-rich as Adobe After Effects but for Linux? I've tried Cinlerra, kdenlive, openshot and Blender and whilst they are good at video editing (and 3d modelling in Blender's case) they fall short in effects and compositing features.  I've also tried , but the project recently closed and the last update was quite buggy.  Also,  doesn't work and hasn't been updated in many many years, so don't mention it ;-) Combinatorics Distribution - Number of integer solutions Concept Explanation I reading my textbook and I don't understand the concept of distributions or number of solutions to an equation.  It's explained that this problem is 1/4 types of sampling/distributions problems.  An example is provided to illustrate:     In how many ways can 4 identical jobs (indistinguishable balls) be distributed among 26 members (urns) without exclusion (since one member can do multiple jobs)?      A sample outcome might be:   $\text{_____________}$   |  A  |  B  |  C  |...|  Z  |    $\text{--------------------}$      $\text{_____________}$   |  o  | oo|    |   |    ||| o  |    $\text{_____________}$   |  A  |  B  |  C  |...  |  Z  |    $\text{--------------------}$      Thus, the question is reduced to, "How many $(26-1+4)$ letter words are there consisting of four circles and $(26-1)$ vertical lines?"  Therefore, the solution is:  $\binom{26-1+4}{4}$   I really don't understand why its $(26-1+4)$.  There's only 26 different spots or "urns" to place the 4 jobs.  Can someone please explain?    I looked through another text to try and understand and I found it explained as such:       There are $\binom{n+r-1}{r-1}$ distinct nonnegative integer valued vectors $(x_1,...,x_r$ satisfying the equation $(x_1 + ... + x_r = x_n$ for $x\ge0$. $\spadesuit$   How in the world are they deriving this?  For distinct positive integers I understand:  Assume I have 8 balls (n=8) and I have 3 urns (r=3): o^o^o^o^o^o^o^o, where o represents  a ball and ^ represents a place holder where an urn could be placed.  For this scenario:     There are $\binom{n-1}{r-1}$ distinct positive integer valued vectors $(x_1,...,x_n)$ satisfying the equation:  $x_1 + ... + x_n = n, x_i&gt;0, i=1,..,r$ $\clubsuit$   It's clear that I could have this specific case ooo|ooo|oo.  Here the bar represents a divide for the urn and you see I have 3 sections.  So that case is clear.  Can anyone please explain this problem to me?  I don't understand the nonnegative integer case.   Also, people who post tend to be crazy smart and explain things very in a complicated manner.  I'd appreciate it if it could be explained in layman's terms as much as possible.   Thank you!!! Can not start Chrome via command line I have a script that needs to run on multiple machines. The problem is, if I open a command line and type in chrome or chrome.exe, I get the same error message that it is not recognized as an internal or external command... I have already added it to my paths (as per screen shot below, see bottom entry in the paths) . It works this way on other computers.  The command prompt has been restarted (as has the computer) since updating the paths. Why does it not open Chrome as it does on my other machine(s)? Whilst entering C:\Program Files (x86)\Google\Chrome\Application\chrome.exe directly into the command line and pressing enter does make Chrome launch, I don't see why the path is not working. How do I move Steam games to a new computer without re-downloading them? Is it possible to reference an excel cell in a comment? I have an Excel balance sheet with a total at the bottom. On that cell I have a comment that says that the reason the total is X is because of what happens in J2. What happens if I insert another row before that, now my comment is wrong because all the rows jumped up a value.  Is there any way to reference a cell dynamically in an Excel commment? It's so cool that the notification reminds you of the colour of badge you've earned. But I am a little puzzled by the symbols:      Is it feasible to use the symbol from the earned site? At the moment it uses the symbol from the site I happen to be on (as you can see by looking to the left of the dropdown in each case.) The Aleph numbers and infinity in calculus. What fallacy dismisses problems by presenting "bigger" problems? Wasn't really sure how to phrase this, but I'm thinking of an instance in which someone diminishes a problem by presenting one of larger scope - as a rather shoddy example, "x political problem in America doesn't matter because half the world's population is starving."  I honestly have no idea if this is considered fallacious or not, but for some odd reason I can't shake the feeling that someone has described it to me as a fallacy before. Am I crazy or is there something to this (or something similar)? The book says:     Concentration. Some spells require you to maintain concentration in order to keep   their magic active. If you lose concentration, such a spell ends.   So what happens if, for example, you are already concentrating on a spell, and cast Witch Bolt without concentrating. Would you get the initial arc of blue energy, or would it not even go off?  I am asking if you can cast a spell that says concentration without concentrating for an immediate effect. This would be useful to avoid interrupting your existing concentration. In essence, if you are concentrating on thing A (doesn't have to be a spell since other things need concentration), can you cast a concentration spell getting an immediate effect without losing concentration on thing A?  Since the definition of concentration is to keep the spell active (meaning it is already active) I would think that you would get the initial effect (if it had one) without the need to concentrate on it.