Tue, May 28, 2002
The 24-Hour Professor
This is one of the reasons I burned out on full-time teaching. At first it's great because you're making yourself more accessible, and that's a good thing, right? Suddenly students are sending you IMs at midnight. They're expecting responses via e-mail within two or three hours. On weekends. And these aren't distance-education courses, these are regular lecture courses.
A rule I learned a long time ago was that if you want to see the real point of a news story, skip to the last paragraph:
"It's rewarding and it's exciting," he says. "But I think it's exhausting. You're essentially teaching every day of the semester."Yep. Wed, May 22, 2002
Jini configuration hell
Put simply, Jini is too hard to configure. I consider myself fairly intelligent, and I have a lot of Java experience and a fair amount of Solaris experience. Nevertheless, it took me over a week of wasted evenings trying to run the Ray Tracer example included with the Jini distribution. Running this example requires no less than 6 processes to be running, 4 of which require commands spanning multiple lines to start.
You can see the fruits of my labor, a shell script that starts everything running. For everyday use, I've broken it into 5 different shell scripts: jini-start-all.sh, jini-start.sh, jini-stop-all.sh, jini-stop.sh, and one for the application (e.g., browser.sh or raytrace.sh).
I haven't even started writing my own programs, this is just to run the example. Folks, developers are going to be slow to adopt Jini until this get easier.Mon, Apr 29, 2002 Sun, Apr 28, 2002
I've given an assignment like this several times in compiler design and computer architecture courses, and always thought that it helped fix some basic concepts in students' minds. I also thought it was a lot of fun, but I may be the only one.
Don't use me as a guide to "fun" -- I once wrote an assembler in Perl.
When students complained about the assignment, I would tell them I once read that Bill Gates wrote the first version of Microsoft BASIC with an 8080 simulator on a PDP-10. The CS department at CSUF being a Microsoft shop, this went over well.
From a pedagogical standpoint, the assignment forced students to finally confront the difference between a binary 0 and the ASCII character '0', an apparently subtle distinction that had, to this point, eluded many.
We're talking Juniors and Seniors in Computer Science who hadn't yet caught on to a fairly fundamental bit of computer knowledge. I like to think of this part of my career as having performed a public service.Fri, Apr 26, 2002
One of the nicest things anyone has ever said about me
Why I may start reading more Science Fiction, or What the RIAA Doesn't Understand
Don't get me wrong, some SF is real literature. If you don't believe me, try Frank Herbert's Dune trilogy. (Don't stop at the first book, read the whole original trilogy, but feel free to skip the rest of the franchise.) And Orson Scott Card is worth reading because when he's good, he's really good. (He's also really bad from time to time.)
I suspect all that's going to change, due to the Baen Free Library. Author Eric Flint gets it. Quoting from his introduction to the Library,
Losses any author suffers from piracy are almost certainly offset by the additional publicity which, in practice, any kind of free copies of a book usually engender. Whatever the moral difference, which certainly exists, the practical effect of online piracy is no different from that of any existing method by which readers may obtain books for free or at reduced cost: public libraries, friends borrowing and loaning each other books, used book stores, promotional copies, etc.This is what the RIAA doesn't get about services like Gnutella and the old Napster. While it may be true that college students are stealing music, the rest of us are buying more. Personally, the only thing I hate more than bad SF is buying a CD because I liked a single that I heard on the radio, only to find out that I really don't like the rest of the album.
Generally what happens is:
And I'm not the only one. I've observed this behavior in most of my friends. If the RIAA are too dense/narrow-minded/stupid/greedy to figure this out, eventually they'll be replaced by a sensible business model.
Eric Flint is right. I'm going to read one of his books on my Palm, and if I like it I'm going to go buy some.Sat, Apr 13, 2002
An Exercise in Inadequacy
A tip for Google API experimenters
import com.google engine = com.google.soap.search.GoogleSearch() engine.key = '00000000000000000000000' engine.queryString = 'google api' answer = engine.doSearch() for result in answer.resultElements: print result.URL(Replace 000... with your key)
Much nicer.Thu, Apr 11, 2002
More practically, this means that I'll probably be working on my own "Google toolbar" for Linux.Tue, Mar 19, 2002 Tue, Mar 05, 2002