A Random Walk Through Idea Space: pythonPosts tagged with pythonhttp://www.thattommyhall.com2007-11-15T19:00:41+00:00thattommyhallTommys Projecthttp://www.thattommyhall.com/2007/11/15/tommys-project/2007-11-15T19:00:41+00:002016-06-05T02:27:23+01:00thattommyhallI posted last time about TeXmacs and remembered the plugins for using it to display output from some of the superb free maths packages (which sometimes lack a nice display).
The one I am excited about most is for SAGE. SAGE is written in python and leveragesSecond Python User Group meetinghttp://www.thattommyhall.com/2007/12/07/second-python-user-group/2007-12-07T17:30:42+00:002016-06-05T02:27:23+01:00thattommyhallI gave a talk at the second python user group in leeds on
Wednesday. It was called “Anatomy Of A Python Program - How Much Can
You Do In 0.1 KLOC?”. It is based on Peter Norvigs
Sudoku solver. I had been thinking
about doing it for WYLUG, possibly asInfinite Prime Number Generator In Pythonhttp://www.thattommyhall.com/2010/10/18/prime-gen/2010-10-18T13:50:35+01:002016-06-05T02:27:23+01:00thattommyhallI was looking at this article (The Genuine Sieve of Eratosthenes / PDF) about a common functional prime number generator that is mistakenly called the Sieve of Eratosthenes.
It is quite complicated, section 2 deals with the performance of the naive algorithmProject Euler 39 http://www.thattommyhall.com/2008/04/12/project-euler-39/2008-04-12T19:49:57+01:002016-06-05T02:27:23+01:00thattommyhallIf p is the perimeter of a right angle triangle with integral length
sides, {a,b,c}, there are exactly three solutions for p = 120.
{20,48,52}, {24,45,51}, {30,40,50}
For which value of p < 1000, is the number of solutions maximised?
You may rememberRubyQuiz 148 - Postfix to Infixhttp://www.thattommyhall.com/2007/12/01/rubyquiz-148-postfix-to-infix/2007-12-01T23:32:05+00:002016-06-05T02:27:23+01:00thattommyhallI have been meaning for some time to tackle the RubyQuiz problems in Python.
The one from yesterday (#148) is quite interesting, taking postfix notated expressions and returning an infix version.
For example
2 3 5 +
goes to
2 * (3 + 5)
I spoiltPython talk for WYLUG, Ruby envy, Haskell Joy.http://www.thattommyhall.com/2007/12/27/python-talk-for-wylug-ruby-envy-haskell-joy/2007-12-27T12:05:38+00:002016-06-05T02:27:23+01:00thattommyhallI am just getting a talk ready for WYLUG on python.
I sent Dave the following blurb:
Why I love Python:
A talk on the programming language Python, in 3 parts (feel free to
leave in the interludes if you have had enough)
Part 1: Past, Present, Future