Platitude

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!

tagged: » 6 reactions

Comments

[gravatar]
D 11:49 AM on 16 Jul 2005

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.)

Thanks.

[gravatar]
Ned Batchelder 2:30 PM on 16 Jul 2005

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.

[gravatar]
Damien Katz 2:45 PM on 16 Jul 2005

Ned, maybe you are too concerned about the quality of your personal code? Some people want to see the code you actually live with.

[gravatar]
Ned Batchelder 2:53 PM on 16 Jul 2005

Maybe I am too concerned about the quality of my personal code. I'm thinking about it...

[gravatar]
kudla 10:33 AM on 17 Jul 2005

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 ;-)

[gravatar]
D 2:29 PM on 17 Jul 2005

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:

name
email
Ignore this:
not displayed and no spam.
Leave this empty:
www
not searched.
 
Name and either email or www are required.
Don't put anything here:
Leave this empty:
URLs auto-link and some tags are allowed: <a><b><i><p><br><pre>.