Multiplication bug in java?
Why does Perl's sprintf not round floating point numbers correctly?
Rules for refreezing food Can I become leader of the Thieves' Guild without finishing the main chain and is there any benefits from being the leader anyway? I completed the quest where you get the Skeleton Key and I don't really want to continue the chain until I've done a lot of the other stuff in the game, since the key is so useful. Brynjolf said before that I would become leader of the guild after everything was over.  Can I become the leader anyway without finishing the Nightingales quest chain? Are there any bonuses for being the leader? Differences between derivatives and strong derivatives Definition: Let $f$ be a real valued function. We say $f$ is $\mathbf{strongly}$ $\mathbf{differentiable}$ at $x = a$ if the following limits exists and is finite:  $$ \lim_{x \to a, y \to a, x \neq y} \frac{ f(x)-f(y)}{x-y} = f^*(a) $$  and we can $f^*(a)$ the strong derivative of $f$ at $a$. Why is this definition of derivative different than the usual one? What is the main crucial point to understand here that makes it different? How do injuries work with Polyjuice Potion? We know that if you (using Polyjuice), take the form of someone who had been injured, you assume that injured form (e.g. Barty/Moody). If you are injured, presumably you would be uninjured while under Polyjuice. My question is, is this in real-time? That is, if you take a Polyjuice, and while you're still under its effects, the person being transformed into gets injured (or even dies), will that injury be transferred onto you? And conversely, if you get injured while in someone else's body, will that transfer over to your real body after the Polyjuice wears off, will it disappear, or will it go to the person you turned into? Use of "to lunch" vs."for lunch" Which is right?      I went to the (mall) to meet my parents for lunch / to lunch   This for a paper I am submitting for a writing assignment. I have heard "to lunch" is right, but is it right in this sentence please? c++ get registry key returns only one char Software/App for electronic research notebooks I want to keep a research notebook for my computational "experiments". Basically, I should at least be able to write text and attach images like plots. Other nice features to have would be   linking to past experiments/pages latex equations uploading papers, or other urls being able to transfer data dating and version control open-source tool   I am already familiar with trello and tiddlywiki. Trello is good for attaching stuff and organising tasks, but I need a notebook where I attach a plot, write stuff around it, attach another below it. It doesn't have a paper or canvas. Tiddlywiki is a little painful for attaching pics and equations, the file bloats, it seems I am keeping a blog.  What is a good, free electronic notebook tool for research/lab work? How can I get bash to perform tab-completion for my aliases? I have a bunch of bash completion scripts set up (mostly using bash-it and some manually setup).    I also have a bunch of aliases setup for common tasks like gco for git checkout. Right now I can type git checkout dTab and develop is completed for me but when I type gco dTab it does not complete.    I'm assuming this is because the completion script is completing on git and it fails to see gco.    Is there a way to generically/programmatically get all of my completion scripts to work with my aliases?  Not being able to complete when using the alias kind of defeats the purpose of the alias. I would be happy to get some hints on the following integral: $$ \int_0^1\frac{x^{19}-1}{\ln x}\,dx $$ How do I make protocol foo hostname-aware? This is a  about hostname-awareness and proxying.   I know that some protocols are hostname-aware; that is, when I connect to the HTTP server at www.example.com it knows I want www.example.com's HTTP service, not www.example.net's, even though they are on the same IP address.  How can I do this for protocol foo?  (Temporary note: this question appears pursuant to .) Say a security has been trading at under $20.10, and there are limit orders selling at $20.10 and $20.21. Then Simon issues a limit order to buy at $20.21. According to , Simon would end up buying shares at $20.10.  Why does the exchange favor the buyer here?  I.e., why does the transaction execute at the seller's limit of $20.10 instead of the buyer's limit of $20.21?  (I.e., why don't Inara/River get to sell at $20.21 / above their limit, but Simon gets to buy at $20.10 / below his limit?)  Is the example flawed?  If it makes a difference, I'm mainly curious about NASDAQ and NYSE.  I tried Googling for specs (e.g. ), but couldn't find anything.  Only found that some  implementation executes the average of the buy/ask.  Just curious how the system works. dynamic does not contain a definition for a property from a project reference What are some efficient ways to combine two structures in MATLAB? I want to combine two structures with differing fields names.  For example, starting with:  A.field1 = 1; A.field2 = 'a';  B.field3 = 2; B.field4 = 'b';   I would like to have:  C.field1 = 1; C.field2 = 'a'; C.field3 = 2; C.field4 = 'b';   Is there a more efficient way than using "fieldnames" and a for loop?  EDIT: Let's assume that in the case of field name conflicts we give preference to A. I am trying to understand   How can a set contain itself? Can you show example of set which is not a set of all sets and it contains itself. How do I identify SMD components? (or how do I identify any component) How do I identify the markings on an SMT component and match it up with a part number so I can be a good designer and actually look at a datasheet (and read the whole thing)? Or identify a part to replace an unknown part on a PCB? My Windows 10 notebook died but fortunately I was able to rescue the hard drive and put it into another PC.   Unfortunately, the other PC can't open the C/Users/Joe folder. What do I have to do to open the folder? I'm looking to clarify the differences/overlaps between the three and, if the terminology isn't accurate establish the correct terminology After looking into the different OAuth types and reading , I'm still confused on the specific pros and cons of user-agent vs web server flows.  The best explanation I can find says that user-agent tends to be used for mobile but it seems that they can both be used for desktop.   What makes it more appropriate to use one over the other in certain scenarios? Probability of an even number of sixes We throw a fair die $n$ times, show that the probability that there are an even number of sixes is $\frac{1}{2}[1+(\frac{2}{3})^n]$. For the purpose of this question, 0 is even.   I tried doing this problem with induction, but I have problem with induction so I was wondering if my solution was correct:   The base case: For $n=0$, our formula gives us $\frac{1}{2}[1+(\frac{2}{3})^0] =1$. This is true, because if we throw the die zero times, we always get zero sixes.  Suppose it's true for $n=k$. Then the odds of an even number of sixes is $\frac{1}{2}[1+(\frac{2}{3})^n]$, and thus the odds of an odd number of sixes is $1 - \frac{1}{2}[1+(\frac{2}{3})^n]$.    For $n=k+1$, there are two ways the number of sixes are even:  a. The number of sixes for $n=k$ was even, and we do not throw a six for $n=k+1$: $ \frac{5}{6} \cdot  \frac{1}{2}[1+(\frac{2}{3})^n]$  b. The number of sixes for $n=k$ was odd, and we throw a six for $n=k+1$: $\frac{1}{6}(1 - \frac{1}{2}[1+(\frac{2}{3})^n])$  So the probability $p$ for an even number of sixes at $n=k+1$ is $ \frac{5}{6} \cdot  \frac{1}{2}[1+(\frac{2}{3})^n] + \frac{1}{6}(1 - \frac{1}{2}[1+(\frac{2}{3})^n])$  I have two questions   How do I get from $ \frac{5}{6} \cdot  \frac{1}{2}[1+(\frac{2}{3})^n] + \frac{1}{6}(1 - \frac{1}{2}[1+(\frac{2}{3})^n])$ to $\frac{1}{2}[1+(\frac{2}{3})^n]$? I seem to have done something wrong, I can't get the algebra correct, I get $p = \frac{1}{3}[1+(\frac{2}{3})^n] + \dfrac{1}{6}$ Other than that, is my use of induction correct? Is it rigorous enough to prove the formula? System program problem detected?