Prof Avery's weblog
industrial waste of time


CSU Fullerton Perl Powered Python vi Hacker

Geek News

del.icio.us bookmarks


Tue, May 28, 2002

The 24-Hour Professor
via Serious Instructional Technology: from The Chronicle of Higher Education, The 24-Hour Professor: Online Teaching Redefines Faculty Members' schedules, duties, and relationships with students.

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

/var/spool/last #

Wed, May 22, 2002

Catching up
Not sure how I could have missed mentioning this, but apparently I did. My little Google Outline Browser was featured quite prominently in Jon Udell's Byte column last month. I'm quite gratified, and a little guilty that my own doctitles aren't quite up to snuff.

/var/spool/last #

Fri, May 03, 2002

Jini configuration hell
Since its introduction, pundits have wondered why Jini has failed to catch on like other Java technologies. Having recently tried to take the plunge into JavaSpaces, I believe I can answer that question.

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.

/var/spool/last #

Mon, Apr 29, 2002

Like SimCity, only boring
From the Alfred P. Sloan Foundation comes Virtual University, a computer game that lets you practice being a University president.

/var/spool/last #

Sun, Apr 28, 2002

C programming is good for you
From Embedded Systems Magazine: Instruction Set Simulation in C.

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.

/var/spool/last #

Fri, Apr 26, 2002

One of the nicest things anyone has ever said about me
Rael Dornfest describes this site as wonderful tomfoolery.

/var/spool/last #

Fri, Apr 19, 2002

Why I may start reading more Science Fiction, or What the RIAA Doesn't Understand
Having been the victim of entirely too much bad science fiction in my life, I find myself hesitant to read new authors. Every time I go to the bookstore I wander through the SF aisle and look, but rarely find anything compelling enough to pick up.

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.

...We expect this Baen Free Library to make us money by selling books.

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:

  1. I hear a song on the radio that I like
  2. I download that song and a couple of other tracks by the same artist from Gnutella
  3. If I like the music, I pick up a couple of the artist's CDs the next time I go to Borders or Tower Records.
And the best part is that I end up buying albums that never would have occurred to me otherwise. In the last year, I've bought CDs by Portishead, Beth Orton, Jimi Hendrix, B.B. King, Eric Clapton, Weezer, Moby, and Alice in Chains, every single one of them after listening to MP3s.

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.

/var/spool/last #

Sat, Apr 13, 2002

An Exercise in Inadequacy
Feeling smug? Check out Things Other People Accomplished When They Were Your Age to see what you could have accomplished if you hadn't been reading weblogs.

/var/spool/last #

Fri, Apr 12, 2002

A tip for Google API experimenters
Check out Jython and use the Java API docs. Not only is Python a nicer language, but you can leave out the "get" and "set". Place googleapi.jar in your jre/lib/ext directory and try the following:

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.

/var/spool/last #

Thu, Apr 11, 2002

Google API
Get ready, here comes some amazing stuff: Google has released an API for their search engine, so that you can write programs that make queries without pretending to be a web browser and screen-scraping the results.

Dave Winer and others are already hard at work on brand new applications. Rael Dornfest has already written an article with a demo.

More practically, this means that I'll probably be working on my own "Google toolbar" for Linux.

/var/spool/last #

Tue, Mar 19, 2002

The Anal Retentive Time Tracking System
After a little detective work with Google, I finally managed to track down the latest version of artts.

/var/spool/last #

Tue, Mar 05, 2002

Weblogging with vi
Finally, a weblogging system simple enough for a UNIX guy: Blosxom by Rael Dornfest of O'Reilly and Associates is a 30-line CGI script for publishing weblogs from plain text files.

/var/spool/last #



August 2020
Sun Mon Tue Wed Thu Fri Sat