Why is a python float which was converted from a string not the same as a normal float of the same value?
"is" operator behaves unexpectedly with integers
I just visited  and noticed that my profile picture is not the same as on all other sites.  According to  the image will be synchronized when synchronizing the complete profile. I did that but the image is still the same.  Then I wanted to change the image in the Area51 profile directly - but I can only change to a gravatar image and can't use the new and fancy Stack Exchange image.  Is that a bug? An ideal whose radical is maximal is primary I've got to prove that an ideal $Q$ whose radical is a maximal ideal is a primary ideal. That is, I want to prove that if $xy\in Q$, then $x\in Q$ or $y^n\in Q$ for some $n&gt;0$.    I've been trying for a while and I'm not sure where to begin. All I've got is that if $\text{Rad}(Q)$ is maximal and by definition it's the intersection of all prime ideals $P_i$ containing $Q$, then it must be equal to each of these $P_i$. So there is only 1 prime ideal containing $Q$, namely $\text{Rad}(Q)$.  Could anyone point me in the right direction? Thanks for any replies. I couldn't find anything about Ubuntu acting as a  receiver or sender.   Can it work at all? Are there hardware prerequisites? Is WiFi a requirement or can it work over LAN or another kind of network connection? WiFi direct seems to be a necessary requirement, is it a sufficient one? (i.e. if a system supports WiFi direct does that mean it supports Miracast?) Are there differences in support between receiving/sending? How is the latency? (compared to the competition, i.e. VNC, commercial Miracast devices, etc.) How do I actually use it, if it's difficult?   Specifically, I plan to use it together with an Android phone (4.x Jelly Bean). How to Fix "Read-only file system" error when I run something as sudo and try to make a folder/file? When I try to save something or rename a file/folder it say this error " Read-only file system" or run something as root in the terminal it say this error  sudo: unable to open /var/lib/sudo/"My User Name"/0: Read-only file system  W: Not using locking for read only lock file /var/lib/dpkg/lock E: Unable to write to /var/cache/apt/   E: The package lists or status file could not be parsed or opened.   When I make a Folder the error dialog in the details with Nautilus is this:    Error creating directory: Read-only file system   I would show you I picture of it but it isn't even letting my save onto my flash drive. Please help me. I would like a way to convert a document from HTML to LaTeX on a Windows platform. What is my best option? We have a group of three characters: The lawful good paladin (acolyte), the lawful good fighter (soldier) and the chaotic good druid (criminal). All try to help NPCs in need, won't fight between themselves, but of course have different alignments and personalities. The druid is greedy, but otherwise a good guy. This brought up the question for our group whether greed can be considered a contradiction to having a chaotic good alignment? I understand it as "acting upon what is good, but having your own understanding of 'good'". But I am not sure if the PC being is played 'wrong'.   How do you determine if a given action is in line with a PC's alignment? And should the GM intervene if a PC is played differently that his/her alignment indicates?  Example: There is a Chaotic Good druid with a criminal background. The druid attacked caravans who destroyed his homeland, which he was protecting as his druidic duty, to make way for faster trade routes. Thus he made a name of himself and soon had quite a pile of goods in his territory. The thieves guild caught wind of that and made a deal with him to smuggle wares through his territory as long as they won't hurt the wildlife. So far, seems like a reasonable match between criminal and CG.  Upon opening a chest in a dungeon the druid found a magic chainmail and a bag filled with 420gp. As he was the only one next to the chest, he turned around and told his two comrades there were 360gp in the chest, keeping an extra 60gp to himself without them knowing. Later after finishing a task for the mayor the druid and the paladin persuaded him to give them 550 instead of 500gp, while the fighter was drunk outside. The druid told the paladin to keep his share of those 10% extra, as a gift for always being successful on those charismatic tasks. This was done to check out the personality of the paladin. He accepted without a second of doubt and didn't even contradict when the druid told him not to tell the fighter anything about the extra.   I am now confused about whether this is just unlawful or also not good, and if so what should I as DM do about it? Can a creature's sacrifice benefit be taken when it is sacrificed to Eldrazi Monument? What would be an English equivalent for the Mexican Spanish word tocayo? In Mexican Spanish (not sure if other Spanish speaking countries use the word too) we call "tocayo" to those people that share the same name as us (but not necessarily the same last name i.e., Juan Gonzalez and Juan Carlos Castillo are tocayos).  I was wondering if an equivalent for this word exists at all in English or maybe even an expression? Whenever I start a game, from both the disc and hard drive, my Xbox will say "Username signed out". What's wrong and how do I fix it? Just to be clear, it signs me out when I start a game. How can I stop this? I want to exclude certain local folders with Google Drive but I *keep* them on the computer Using Google Drive on Windows (although I think the same question applies to OS/X) I want to exclude certain local folders but keep them on the computer.  When I go to Drive preferences and deselect specific folders, it wants to remove them from the local PC and keep them only in the cloud.  This doesn't work for me.  I feel like I could do this in earlier versions of the Google Drive client but I cannot recall for sure.  Is this possible? Intuitive explanation for formula of maximum length of a pipe moving around a corner? Answers in top Network Posts showing incorrect score There is already a question  which is posted around a month ago (which was fixed). My question reports a similar issue of showing inaccurate scores along with another bug.   A couple of answers in the Top Answers in my network profile are showing incorrect score.         As we can see they are showing a score of 10. But as of writing this question, the score of both the answers is 9.  and  both have a score of 9 instead of 10.  Even though the current score is 9, both these answers reached a score of 10 a few months ago and I was awarded  for both.         The vote was removed either when a user was removed or there was an unupvote. As far as I can tell, I don't remember an unupvote notification in the achievement box from these answers. My guess is the votes are removed when user accounts were deleted.   So, I suspect the score of answers in Top Network Posts is not updated either when there is an unupvote or a vote thrown away due to account deletion.   Is this the right reason why score is inaccurate? Can this be fixed? How do "Dummy Variables" work? I do not understand how dummy variables work in math.   Suppose we have:  $$I_1 = \int_{0}^{\infty} e^{-x^2} dx$$  How is this equivalent to:  $$I_2 = \int_{0}^{\infty} e^{-y^2} dy$$  How does this dummy variable system work?   Since $y$ is the dependent variable for $I_1$ How can $y$ itself be and independent variable for $I_2$  ??  Thanks! Genes and Intelligence Assuming that intelligence has a genetic component,   • do we know which genes contribute to it?   and, if so,  • can we predict intelligence from genomic analysis? Flexslider view preview working but not on actual page My block is not working for the flexslider: The images are not appearing, but the view preview does work.  I don't know if it is relevant, but a similar problem would happen with just a slideshow view, although one image would appear and it would not cycle.  Could jQuery be a problem?  The following is the actual page with the block that is not showing any images.        The following is the view preview, which works. Following an online tutorial that uses an object named "icosahedron" from Add > Mesh > Regular Solids > Archimedean > Icosahedron. This object is not available in my version of Blender (2.74). Presenter asks me to include an add-on named "Add Mesh: Regular Solids", which again is not listed in my User Preferences dialog. What can I do about it? Matrix in a matrix I would like to draw a matrix with top left, top right, bottom left and bottom right blocks. The top left should be a 3x3 matrix with numerical entries, the top right is 0, the bottom left is 0 and the bottom right is just a "single" entry uJ. Here is my attempt.    $ \left[ \begin{array}{c|c} [\begin{array{c|c|c} 0 &amp; 0 &amp; 2\mathrm tr(MM^{*}) \\ 0 &amp; 0 &amp; -ua \\ u &amp; -ua &amp; 0 \end{array}]     &amp;  0\\ \hline 0 &amp; uJ  \end{array}\right]. $    I would like to emphasize that the non-top-left entries are not just single entries, but blocks, so I do not want to just make a 4 by 4 matrix with vlines and hlines and additional 0's. How do I invoke a Java method when given the method name as a string? If I have two variables:  Object obj; String methodName = "getName";   Without knowing the class of obj, how can I call the method identified by methodName on it?  The method being called has no parameters, and a String return value. It's a getter for a Java bean. Let random vector $x = (x_1,...,x_n)$ follow multivariate normal distribution with mean $m$ and covariance matrix $S$. If $S$ is symmetric and positive definite (which is the usual case) then one can generate random samples from $x$ by first sampling indepently $r_1,...,r_n$ from standard normal and then using formula $m + Lr$, where $L$ is the Cholesky lower factor so that $S=LL^T$ and $r = (r_1,...,r_n)^T$.  What about if one wants samples from singular Gaussian i.e. $S$ is still symmetric but not more positive definite (only positive semi-definite). We can assume also that the variances (diagonal elements of $S$) are strictly positive. Then some elements of $x$ must have linear relationship and the distribution actually lies in lower dimensional space with dimension $&lt;n$, right?  It is obvious that if e.g. $n=2, m = \begin{bmatrix} 0 \\ 0 \end{bmatrix}, S = \begin{bmatrix} 1 &amp; 1 \\ 1 &amp; 1\end{bmatrix}$ then one can generate $x_1 \sim N(0,1)$ and set $x_2=x_1$ since they are fully correlated. However, is there any good methods for generating samples for general case $n&gt;2$? I guess one needs first to be able identify the lower dimensional subspace, then move to that space where one will have valid covariance matrix, then sample from it and finally deduce the values for the linearly dependent variables from this lower-dimensional sample. But what is the best way to that in practice? Can someone point me to books or articles that deal with the topic; I could not find one. If you have a java.io.InputStream object, how should you process that object and produce a String?    Suppose I have an InputStream that contains text data, and I want to convert it to a String, so for example I can write that to a log file.  What is the easiest way to take the InputStream and convert it to a String?  public String convertStreamToString(InputStream is) {     // ??? }