I was looking at the  and trying this code:  from fractions import Fraction  &gt;&gt;&gt; print("Fraction (0.5):", Fraction(0.5)) Fraction (0.5): 1/2 &gt;&gt;&gt; print("Fraction (0.1):", Fraction(0.1))  Fraction (0.1): 3602879701896397/36028797018963968 &gt;&gt;&gt; print(1/10)  0.1   Looking at the Fraction(0.1) result I thought it was my computer problem, but when I tried it on several computers the results were same.    My question    is there any computational reason to choose these odd numbers 3602879701896397/36028797018963968 instead of 1/10 just like 1/2 as it chosen for Fraction(0.5). more of these exist in python?
Consider the following code:   0.1 + 0.2 == 0.3  -&gt;  false   0.1 + 0.2         -&gt;  0.30000000000000004   Why do these inaccuracies happen?
Why do Unix man pages use double backticks in place of double quotes? I've noticed that man pages and other documents formatted by Unix utilities often use double backticks `` followed by double single quotes '' to wrap quoted phrases instead of the double quote character ". Single quotes are similarly replaced. Why is this?  Here are a couple examples, from the man page for grep:   To find all occurrences of the pattern `.Pp' at the beginning of a line:         $ grep '^\.Pp' myfile   The apostrophes ensure the entire expression is evaluated by grep instead  of by the user's shell.  The caret `^' matches the null string at the  beginning of a line, and the `\' escapes the `.', which would otherwise match  any character.   The grep utility is compliant with the IEEE Std 1003.1-2008 (``POSIX.1'')  specification. Miraak is stealing all my dragon souls Chrome and IE 11 are fine, I'm only able to reproduce this in Firefox. Using version 27.0.1 on Windows 7. Meta as well as all the other sites are affected.        I can still see the hover effect, but the image is gone. I see this in Firebug:        The image doesn't show up in the Network tab. I am able to see the image by visiting  which goes to   I've done Ctrl-F5, I've cleared the cache and I've tried Private Browsing. Possibly related to  ? I have an object with two solidify modifiers added, but the modifiers are not visible in the view pane. How can I see the applied modifiers. This is in Blender 2.91 Where did my default brushes go? I was working on a logo design for a client in Illustrator CS4 when suddenly the default brushes were no longer there. The brush files are still in place but they do not show up in the brushes panel. The options to show the brushes by type are checked but greyed out.   I tried a preference reset, that didn't fix it. I haven't tried any new brushes because the brush I needed was in the stock set. I know its bad form not to try everything but I needed one of the stock brushes to tweak an existing design. Does the use of words such as 'fail', 'wrong', 'incorrect' and 'invalid' have a sufficiently negative impact on a users frame of mind to warrant the prohibition of their inclusion in the error messages generated by typical web forms?  i.e. Should we rephrase examples like these to just use positive words?  'date entered incorrectly'  or  'failed to complete registration, please see below for invalid field entries'  (PS, the examples are there to show use of the words in an error message, not to serve as examples of error messages I would use or things that need correcting in answers, I'm not looking for advice on how to write form error messages, but for information about the effect of certain words on a users frame of mind) Recovering from a move of /home when it's encrypted (ecryptfs) I had a 20GB / partition at work that dual-booted with Windows and it quickly ran out of space. I usually do 20GB / and 160GB (or whatever the rest of the hard drive is) as /home, so I intended on recovering the space Windows was taking up and turning that into /home.  That went fine and I was able to mount the partition and rsync all my files over.  However, I forgot that the partition was encrypted, so now all my files are sitting in /home/.ecrypt and /home/$USER is empty.  How can I recover my files from /home/.ecrypt and move them to /home/$USER?  I followed this tutorial: I am logging in to my Ubuntu Server using my username. Once I am logged in I am typing passwd command. Entering a new password but a second after getting following error messages:  passwd: Authentication token manipulation error passwd: password unchanged   What is wrong here? How can I change my password otherwise if I don't have access to that server physically, i.e. I am connecting remotely with ssh using terminal. I'm starting  and finally decided to learn how to write epsilon-delta proofs.  I have been working on chapter 5, number 3(ii). The problem, in essence, asks to prove that     $$\lim\limits_{x \to 1} \frac{1}{x} = 1.$$    Here's how I started my proof,     $$\left| f(x)-l \right|=\left| \frac{1}{x} - 1 \right| =\left| \frac{1}{x} \right| \left| x - 1\right| &lt; \epsilon \implies \left| x-1 \right| &lt; \epsilon |x|$$   I haven't made any further progress past this point. Is it possible to salvage this proof? Should I try an alternate approach? Two logos in beamer after certain frame I am making a presentation which is devided in two parts. The first part is about experiments held in instute A and the second part is about experiments held in instute A and institute B.  Is it possible to add a second logo in a beamer presentation after a certain frame?  Let's say that this is a previous slide    This is a next slide Fell for fake sugar daddy. How do I get out? Potential difference across a zero resistance wire Generate dynamic XY coordinate labels for dataframe corners in ArcGIS layout I need to label the four corners of a dataframe as shown in the image. Can this be done with dynamic text scripts? Upgrading my Wubi 11.04 to 11.10 I want to upgrade my current Wubi installation (Ubuntu 11.04) to Ubuntu 11.10. Is this possible to do inside Wubi? Or do I have delete Wubi from Windows, therefore deleting my current Ubuntu installation; and then install 11.10 via the Wubi installer?  Thanks access controller variable in javascript Is there any way to access controller variable set in a Method in Javascript. In the example above the value is set in constructor. But when I set it in a method it is showing as NULL in Javascript  In controller:  public class abc {     public string varA { get;set; }     public void fn(){         varA='hello';     } }   In VFPage:  function hello(){     var bool = '{!varA}';     alert(bool); }   The alert statement in the VF Page(i.e bool) is displayed as null. Can you please help how to access a variable set from a method instead of constructor? Forgotten iOS Restrictions Password/Passcode Has confinement been experimentally observed? So, confinement has obviously been shown by lattice gauge theory to be a predicted aspect of QCD. However, to what extent has it been observed in experimental physics? Can the Telekinesis spell be used to manipulate liquids? What has the greatest chance of being in Marcellus Wallace's briefcase? Is there really a way to make a true toon shader material in Cycles?