I added an Amazon book link to a comment and it got transformed to: http://rads.stackoverflow.com/amzn/click/0131177052  This performs a redirection to Amazon. If somebody clicks on it, do you get click-money from Amazon partnership for it? If so, good idea to monetize the users input!
We have officially discontinued the Amazon book affiliate remnant ads, since despite our best efforts they don't perform well for our audience and cannot be made to perform well.  We've often wondered,   I'm thinking this isn't a problem; it has gotten lots of support historically. So we're going to go ahead and do it, so the company Amazon account is still getting some use, and we benefit a little.   To be clear: from this point on, all Amazon links posted on all sites will automatically be rewritten to add our affiliate link. We have a clever affiliate redirect that geolocates the IP address and redirects to the appropriate regional Amazon store (amazon.uk, amazon.ca, et cetera).  If you have any feedback on this, or suggestions, as they say &hellip; speak now or forever hold your peace!
What is the best way to iterate over a dictionary? Number of bins when computing mutual information I want to quantify the relationship between two variables, A and B, using mutual information. The way to compute it is by binning the observations (see example Python code below). However, what factors determines what number of bins is reasonable? I need the computation to be fast so I cannot simply use a lot of bins to be on the safe side.  from sklearn.metrics import mutual_info_score  def calc_MI(x, y, bins):     c_xy = np.histogram2d(x, y, bins)[0]     mi = mutual_info_score(None, None, contingency=c_xy)     return mi How to influence the position of float environments like figure and table in LaTeX?   This is a general question and should collect useful answers for all users. I hope we can use this as a reference On a whim the other day, I changed my meta name from Lord Torgamus to Popular Demand.  I just noticed that the old name has "stuck" to the author tag of ; everywhere else on meta, my new name displays as expected.  Is this a feature?  Is it a bug?  Mostly I'm just curious, as I can't think of a strong reason in favor of keeping this behavior or a strong reason for changing it.  A question somewhat like this has been raised before as , but the previous poster implied that the issue had something to do with migration, which my situation shows is not the case. How do I change my username? Some time ago, when I installed Ubuntu, I chose a rather stupid username for my account that I do not want to use anymore. How do I change this (including the name of my home directory, and the name in the terminal) without losing settings for applications? How do I keep permissions and my keys for various authentification (e.g. email, SSH, GPG and more)? What settings could possibly get lost if I changed my username? Is it possible to have 2 git repositories in one directory?  I'd think not, but thought I'd ask.  Basically, I'd like to check in my home directory config files (e.g. .emacs) which should be common across all of the machines I work on, but have a second repository for local files (e.g. .emacs.local), which contains machine-specific configurations.  The only way I can think of to do that is to have the local config in a subdirectory and ignore that subdirectory from the main git repository.  Any other ideas? This is my follow up question. My previous question is here:   Problem:  If I add the image in my table, I get the following output as shown in the image below. Why is the Co-Supervisor going below?   I am using this code:  \begin{tabular}{|l|c|r|} \hline \bf Author: &amp; \hspace{5pt} &amp; \bf Research Supervisor:\\ \hline Mr. X &amp;  \hspace{5pt} &amp; Prof. Dr. Z\\ \hline \includegraphics[width=0.40\textwidth,height=10mm]{Figures/images} &amp;  \hspace{5pt} &amp; \bf Co-Supervisor:\\ \hline &amp;  \hspace{5pt} &amp; Prof. Dr. Y\\ \hline \end{tabular}   What I want is shown below:   PS: Please ignore the table borders, they are for demo only, I won't be using them in my final code.  The final product: that I desire is: It seems pretty straightforward to dual boot those versions of Windows when the newest is installed after Windows XP. But the inverse isn't happening on my machine. I tried even editing the BOOT.INI file, but the boot just freezes or displays that a file is missing when I try to boot another partition.  Currently I'm stuck with Windows XP, and I need to boot my Windows 7 instead.  What is the solution? Acro package provides "! Missing number, treated as zero." after update to acro-v2.7b Which metric to use to evaluate highly imbalance classification model performance How to kill a dragon in Skyrim? Anyone got any tips on how to beat down a Dragon solo? I've managed to get it down to 3/4 health, but keep running out of potions and getting owned.  I tend to whittle it down with bow from cover, then hit it with akimbo Lightning Strike which is awesome btw. Then poison and some sword.  I can't see a way to achieve this without having about 1000 points of stamina to run away from it when it does a swooping breath attack which seems to track you no matter what way you go.  Any advice please? This is for fighting them out in the open, "wild dragons" if you will. IS or ARE? "The only thing that I want you to hit right now IS/ARE the books" I'd like some suggestions for good reading materials on the Keldysh formalism in the condensed matter physics community. I'm familiar with the imaginary time, coherent state, and path integral formalisms, but lately, I've been seeing Keldysh more and more in papers. My understanding is that it is superior to the imaginary time formalism at least in that one can evaluate non-equilibrium expectations. How to use grep on column? I want to apply grep on particular column in column command.  myfile.txt  3,ST,ST01,3,3,856 3,ST,ST02,4,9,0234 6,N1,N101,2,3,ST 6,N1,N102,1,60,Comcast 6,N1,N103,1,2,92   My Command:  column -s, -t &lt; myfile.txt | grep -w "ST"   Here I want to only grep the pattern ST in 2nd column. How to do this ?  Expected Result:  3       ST            ST01              3            3            856 3       ST            ST02              4            9            0234 Java socket/serialization, object won't update I may be visiting the US soon for both work (conference) and leisure (sight-seeing) but was wondering whether it is possible to pay a visit to Cuba, as I see that direct commercial flights have been restarted. From what I can tell, it is still not permitted for US citizens to travel to Cuba as tourists (from the ).  What is the legal status of European citizens - would it be permitted for me to travel as a tourist from, say, Florida to Cuba on a commercial flight? Would this cause problems for me on my return to the US?  I understand that the question has been asked before () but the situation has changed and I believe it warrants asking again. Possible Duplicate:    When we tell a joke or narrate a story in simple present can we use 'would' in some cases? For example:  He goes up to this man and punches him in the face. The man looks straight into his eyes and tells him that he will take revenge He goes up to this man and punches him in the face. The man looks straight into his eyes and tells him that he would take revenge A coin is tossed three times: The probability of zero heads is 1/8 and the probability of zero tails is 1/8.  And my question is: What is the probability that all three tosses result in the same outcome?   So, if P(zero heads)= 1/8 , then that should be the same of p(all tails)?  If so, we could use the Addition Rule which is $P(A \cup B) = P(A) + P(B)$  where A and B are disjoint events, i.e. $A \cap B = \emptyset$, A is the event of tossing all heads and B is the event of tossing all tails.  I'm not sure how to continue after that... would the complement be used? Show rigorously that the sum of integrals of $f$ and of its inverse is $bf(b)-af(a)$ Suppose $f$ is a continuous, strictly increasing function defined on a closed interval $[a,b]$ such that $f^{-1}$ is the inverse function of $f$. Prove that,   $$\int_{a}^bf(x)dx+\int_{f(a)}^{f(b)}f^{-1}(x)dx=bf(b)-af(a)$$   A high school student or a Calculus first year student will simply, possibly, apply change of variable technique, then integration by parts and he/she will arrive at the answer without giving much thought into the process. A smarter student would probably compare the integrals with areas and conclude that the equality is immediate.  However, I am an undergrad student of Analysis and I would want to solve the problem "carefully". That is, I wouldn't want to forget my definitions, and the conditions of each technique. For example, while applying change of variables technique, I cannot apply it blindly; I must be prudent enough to realize that the criterion to apply it includes continuous differentiability of a function. Simply with $f$ continuous, I cannot apply change of variables technique.  Is there any method to solve this problem rigorously? One may apply the techniques of integration (by parts, change of variables, etc.) only after proper justification.  The reason I am not adding any work of mine is simply that I could not proceed even one line since I am not given $f$ is differentiable. However, this seems to hold for non-differentiable functions also.  I would really want some help. Pictorial proofs and/or area arguments are invalid. I just want to write \Sha without ruining everything I realize similar questions have been asked before but I am not satisfied with any of the answers I've seen. I would like to use the Cyrillic letter Ш to denote a particular group in mathematics. Most solutions involve using OT2 or T2A encoding; for example, at . However, this makes the other text in the document look bad.   For example, using the solution above, I get    while I would like to have     The first seems to be shaded strangely and the characters don't seem to align right.  Does anyone know how I can write the character Ш (in math mode) without changing the default font for the rest of the text?