Posts on January 31st, 2003

Q: How Much Does jEdit Rock?

A: Very Much

posted January 31st, 2003

Tip for Writing Macros for jEdit with Jython

Don't use the following idiom:

data = open('foo.txt').read()
...

Instead, do:

f = open('foo.txt')
data = f.read()
f.close()

This is important if you're working with files that jEdit has open, as Jython may still have the file open when you attempt to save it with jEdit. If this happens, you may be unable to save your file in jEdit. I learned this the hard way.

posted January 31st, 2003

DataSource Connection String Reference

http://www.connectionstrings.com/ is a great reference on DB connection strings.

posted January 31st, 2003

Train Good for Coding

Another observation, mainly for testing purposes: train rides are a good time for coding -- especially if one has good tunes.

posted January 31st, 2003

Python DB-API module for ADO

I haven't used it yet, but I'm looking forward to playing with it. It can be found here: http://adodbapi.sourceforge.net/

posted January 31st, 2003