[ANN] Code Golf Challenge : 1,000 Digits Of Pi
Hi all, Code Golf's 12th challenge has just been added to the site. It asks you to calculate the first 1,000 digits of Pi - Something I'm sure most of you have thought about, but never done. You can see the challenge at : http://codegolf.com/1000-digits-of-pi For those who haven't heard of codegolf.com, it can be described as "allowing you to show off your code-fu by trying to solve coding problems using the least number of keystrokes." The site currently supports Perl, PHP, Python and Ruby with Scheme to (hopefully) follow soon. Your entries are automatically executed and scored - No need to wait for someone to validate your code. Other challenges include implementing the Vigenere Cipher, Prime factors, SHA-256 Hashing as well as the obvious 99 Bottles Of Beer. All of the challenges are competitive but there is still scope to well in them, even if you're new to the site. I hope some of you will find this interesting, and sorry for disturbing you if not! Have fun, Carl. -- http://mail.python.org/mailman/listinfo/python-list
Re: National grid to lat long conversion
> I have a load of British National Grid references that I want to > convert to decimal degrees so I can create a google KML file. Does > anyone know of a module to do this? I should probably have added that you can get a number of the variables you start off with from : http://www.ordnancesurvey.co.uk/oswebsite/gps/information/ coordinatesystemsinfo/guidecontents/guidea.html and http://www.ordnancesurvey.co.uk/oswebsite/gps/information/ coordinatesystemsinfo/guidecontents/index.html might be useful to read around the subject. It might look complex, but don't let it put you off. Also, you can get JavaScript code to do just this from the URL below, which would be a good starting point. http://www.movable-type.co.uk/scripts/latlong-gridref.html Regards, Carl. -- http://mail.python.org/mailman/listinfo/python-list
Re: National grid to lat long conversion
> I have a load of British National Grid references that I want to > convert to decimal degrees so I can create a google KML file. Does > anyone know of a module to do this? If there isn't a module available, you could roll your own. The equations are to be found at : http://www.ordnancesurvey.co.uk/oswebsite/gps/docs/ convertingcoordinatesEN.pdf They shouldn't be too hard to Pythonise. Regards, Carl. -- http://mail.python.org/mailman/listinfo/python-list