inky has a blog inky writes about stuff

February 17, 2009

The danger line

Filed under: Uncategorized — Tags: , — inky @ 7:01 pm

1. Man, it sure is a pain to write this in language X
2. Maybe I could write a prototype just to get the bugs worked out
3. I’ll do it in language Y, that’ll be easier
4. Hey, this is way better than the thing I was working on before
5. I wonder how hard it would be to do all my development in language Y and automatically translate to X?

February 10, 2009

A python mud client

Filed under: Uncategorized — Tags: , — inky @ 11:52 pm

As one of those random things, I wrote 90% of a tinyfugue replacement in python. Naturally the unfinished 10% has all the interesting stuff, but if for some reason you were writing one I guess this’d be useful as a base. It’s also possibly useful if you’re interested in wide-character curses support for python; included is a module that patches the existing curses module to support wide characters (even if you compile with ncursesw, the existing python curses module doesn’t call the wide functions, so it doesn’t actually support wide characters). Anyway, for posterity, here is the pyclient source (“a better name” is one of the things in the unfinished 10%).

Powered by WordPress