Calculate Great Circle v0.14
I rewrote portions of the code, two major changes and a host of small improvements.
For one thing you no longer need to hack the code in order to get the program to function (look at –help)
Second the program no longer caches the HTML file, it caches a parsed PHP array. This speeds up the program 1000x fold (actually only like 12x).
the program no longer uses wget to fetch the html page from the server, it now uses php's file() function. it also uses preg_grep() instead of piping the output from wget through grep this was an inefficent and dumb way to do things, but that's why that was version 0.01 and this is version 0.14.
Why did I spend so much time writing a program that can calculate the distance between two arbitrary points on the glob to 10 decimal places (more really)? you'll have to read tommorow to find out.
No Comments »
No comments yet.
RSS feed for comments on this post. TrackBack URI
Leave a comment
Line and paragraph breaks automatic, e-mail address never displayed, HTML allowed: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong>