Consider the fraction, n/d, where n and d are positive integers. If n < d and HCF(n,d)=1, it is called a reduced proper fraction.
If we list the set of reduced proper fractions for d <= 8 in ascending…
The square root of 2 can be written as an infinite continued fraction.
The infinite continued fraction can be written, ?2 = [1;(2)], (2) indicates that 2 repeats ad infinitum. In a similar way, ?23 =…
To install pip on Windows, you need to first install its predecessor — easy install. However, if you’re using a 64-bit distribution of Python then the .exe installers here will give you this error when you run it:
If your have a type that represents a collection of values, adding a custom indexer gives you a natural way to index directly into the object using the .[ ] operator.
Note: Don’t forget to check out Benchmarks page to see the latest round up of binary and JSON serializers.
Follow on from my previous test which showed that the ServiceStack.Text JSON serializer was the top dog in town, I…
Following my back-to-back talks with the UK Developers Group and NxtGenUG Southampton, I just like to say thanks those guys for having me, it’s been a great pleasure :-)