Saturday 16 July 2005

A few weeks ago I wrote about Lattice drawings. I mentioned that I had used a Python program to produce the figures there, and of course, was asked in the comments to publish the program. I didn’t, because the program was an unpresentable piece of crap. I had to edit text files, and then the program would draw the result. Yuk.

So last week while I was on vacation, I wrote a new program, called Platitude. This is a GUI application that lets you manipulate the lattice with the mouse. It still is very bare bones, but I wanted to get it out the door. I consider it a presentable piece of crap.

A changed 5 by 3 lattice

Try it and see what you think. It’s available as a Windows executable, and Python source. If someone could help me understand why I get bitmap errors on the Mac, that would be fabulous!


Speaking of posting things online? Can you by any chance post the XML, XSLT, and Python sources used to create this website? (The ones described in the colophon.)

I've been thinking about presenting all that code somehow, but it's large and hairy and hard to tie off neatly, and I'm not sure that it's a good solution to the problem of building this web site.
Ned, maybe you are too concerned about the quality of your personal code? Some people want to see the code you actually live with.
Maybe I am too concerned about the quality of my personal code. I'm thinking about it...
Ned, you are absolutely right to be concerned about code quality (even side project stuff).

In my experience, I've seen way too many examples of "large and hairy" code, and not nearly enough of well-crafted, elegant implementations.

Get it the way you want it, and then show it to us...

My .02, which as you know, I am never hesitant to give.

Also, If you don't, some hotshot kid will come along and then re-write the whole thing ;-)
Sometimes "large and hairy" code is better than no code. In my case I am interested in it for educational purposes, so in the worst case (if I can't figure it out) I'm no worse off than I was before.

Add a comment:

Ignore this:
Leave this empty:
Name is required. Either email or web are required. Email won't be displayed and I won't spam you. Your web site won't be indexed by search engines.
Don't put anything here:
Leave this empty:
Comment text is Markdown.