Archive for October, 2004

IBM, Python, and the Blues

Wednesday, October 20th, 2004

I gave a talk about Python at IBM's Toronto lab yesterday. It seemed to go pretty well---Paul Buck, who'd invited me out there, said that his group in IBM sees LAMP (Linux, Apache, MySQL, and Perl/Python/PHP) as being as big a threat to Java as .NET, so they want ...

Bayesian Filtering for Newsgroups?

Thursday, October 14th, 2004

Paul Gries and I were working at the same desk this morning. He was paging through dozens of posts to the bulletin board for a first-year course, many of which were repeats of questions that had already been answered. At the same time, I was setting up SpamBayes ...

Virtual Internet Appliances

Thursday, October 14th, 2004

I had mail from Joel Spolsky yesterday in response to my postings about how difficult it is to get a working Java web development environment set up. His suggestion? Give everyone VMWare, and distribute machine images that have everything pre-configured. The more I think about this, the ...

Apt and Extensible Programming

Wednesday, October 13th, 2004

Over in the java.net community forums, Bruce Chapman suggests that we deprecate javac in the next major Java release. Yup, that's right: no more javac. Instead, he suggests that we all start using apt, which allows developers to run their own code inside the compiler. As he ...

E4X and Configuration

Wednesday, October 13th, 2004

Jon Udell posted some more comments about E4X today. If you haven't been following along, it's a proposal to make XML a native data type in JavaScript, so that programmers can manipulate it as naturally as they do strings or lists. The most exciting thing for me about E4X (and ...

Blogging vs. Venting

Tuesday, October 12th, 2004

Christian, Steve, and Anthony, from the Hibernate development team, have commented on my postings about the trouble I'm having getting things to work. I'm not sure what 'seem swoon by "academic woe"' means, and I think that trying to get Hibernate into the undergrad curriculum will do more to ...

Oh, You Mean You Wanted It to *Work*…

Friday, October 8th, 2004

Finally back on track building a simple Hibernate example to give future generations of students...or am I? In case you haven't been following along, I had my project laid out as follows: build.xml hibernate.cfg.xml src/User.hbm.xml src/Test.java After building, I had all of the above, plus: gen/User.java class/User.hbml.xml class/User.class class/Test.class class/hibernate.cfg.xml Why copy the .hbm.xml and .cfg.xml files to the class ...

Open Source, Cold Shoulder

Friday, October 8th, 2004

I'm very pleased to announce that an article Michelle Levesque and I wrote about why so few women get involved in open source computing, and what that reveals about open source's weaknesses, is now on-line at: http://www.sdmagazine.com/documents/sdm0411b/ (The trailing slash is required.) You may have to register to view it, but registration is free.

Ant + Hibernate: There’s More Than One Way to Fix It

Friday, October 8th, 2004

I don't know who William Lopez is---I've never met the man, and before yesterday at 19:40 EST, I'd never heard of him. But then a mail message landed in my inbox saying, "I think I've solved your Ant + Hibernate problem." He included his solution in a ZIP ...

Ant + Eclipse = More Pain

Friday, October 8th, 2004

The biggest problem with classpaths is that there is no standard way of defining them. Classpaths can be set through environment variables (which have an OS-specific syntax), command-line arguments to the VM, system properties (which can be set through the command-line or a properties file), and even by arbitrary ...