Workbench: Programming and publishing news and comment

Programming and publishing news and comment

 

Rogers Cadenhead

Author of Radio UserLand Kick Start

Tuesday, December 02, 2003 

Self-promotion: Stephen Ibaraki has published the transcript of an interview with me regarding Radio UserLand Kick Start, weblogging, and Java.

One question will be of particular interest to Radio users: "Could you provide five tips from the book?" Tip number 1 is one that I make often when talking about the software: Turn on nightly backups.

 11:58:41 AM | comments | trackbacks | permalink

In the Java Specialists newsletter, Heinz Kabutz and Carl Smotricz have devised a way to write BASIC programs in Java with a series of case statements for line numbering, a GotoException, and horrendous formatting:

Carl told me that it was possible to program GOTO in Java. Naturally I was curious, so I asked Carl to give me an example. ... What makes me scared is that the code runs and actually works.

 10:57:52 AM | comments | trackbacks | permalink

Monday, December 01, 2003 

Conferenza publisher Shel Israel writes that anti-Microsoft sentiments are obscuring the considerable amount of good that the Gates Foundation charity is accomplishing in the battle against malaria, AIDS and other diseases:

A century from now, the Gates Foundation will be known for the human suffering it battled and hopefully defeated. Some of today's most insidious killers may be as non-existent as yesterday's botulism or bubonic plague.

The Gates Foundation, with an endowment of $25 billion, is the largest philanthropy in the world. One of the reasons it is viewed cynically is because some of its work appears to have strategic implications for Microsoft, such as the foundation's ownership of five percent of the broadband communications provider Cox Communications and the placement of 40,000 computers running Microsoft software in low-income and remote libraries in the U.S.

However, I'll certainly agree that the good works his fortune makes possible will outlive the backlash against Microsoft's monopolistic business practices, especially if his money produces dramatic successes such as a cure for malaria.

 6:08:25 PM | comments | trackbacks | permalink

In an interview about Java programming, author Bruce Eckel uses a term several times without explanation: POJO.

The same acronym is popular on the Apache Geronimo developer's list, so I looked for a definition. It stands for "plain old Java objects," simple classes that are implemented as an alternative to Enterprise Java Beans and other complex methodologies.

It appears to have been coined by Martin Fowler in the book Patterns of Enterprise Application Architecture:

The alternative is to use normal Java objects. This always causes surprise because it's amazing how many people think you can't run regular Java objects in an EJB container. I've come to the conclusion that people forget about regular Java objects because they haven't got a fancy name -- so I've given them one: POJOs (Plain Old Java Objects). A POJO domain model is easier to put together, quick to build, can run and test outside of an EJB container, and isn't dependent on EJB (maybe that's why EJB vendors don't encourage you to use them).

 10:18:12 AM | comments | trackbacks | permalink

Wednesday, November 26, 2003 

The Foo Fighters remake of Prince's "Darling Nikki," released as a B-side gag, has become an unexpected hit.

It's hard to believe now, but the song was once so scandalous it inspired the movement to put warning records on albums:

The world might have been a slightly different place if an 11-year-old Karenna Gore could have prevented her mother from listening to her Purple Rain cassette: "Darling Nikki" has the near-mythological honor in pop trivia of being the song that compelled Tipper Gore to co-found the Parents Music Resource Center with other congressional wives, who in 1985 successfully pressured big record companies to create a warning-label system for pop records.

The song's included on the Foo Fighters' Everywhere But Home concert DVD released Tuesday.

 11:44:05 AM | comments | trackbacks | permalink

Monday, November 24, 2003 

There's lots of interesting shop talk on the Radio weblog of James Strachan, a maniaclly busy Java programmer who cofounded the Geronimo, Dom4J, and Jaxen projects at Apache (among others).

Geronimo, Apache's new open source J2EE server, began in August and seems to be rapidly moving towards its first significant public release. Right now, it's still in Apache's Incubator, a place for unofficial projects to prove themselves, but that's clearly a formality at this point.

 4:58:27 PM | comments | trackbacks | permalink

Friday, November 21, 2003 

When Chris Pirillo demonstrated the RSS search engine Feedster during his keynote speech at ApacheCon 2003, he ended up sharing the following weblog entry with the audience:

I cannot emphasize strongly enough how much I dislike Las Vegas and am bored with ApacheCon 2003. The biggest challenge so far has been keeping myself from packing up and heading back to the airport and then flying back to Chicago.

This dig, which wouldn't be possible without the magic of RSS, was noted by Todd Bishop on the Microsoft weblog he writes for the Seattle Post-Intelligencer.

 9:45:42 AM | comments | trackbacks | permalink

Thursday, November 20, 2003 

Clippy, the hated Microsoft Office Assistant, is a direct descendant of Microsoft Bob. The latter software was the company's infamous foray into agents, avatars who add personality to the help process, answering questions and responding to your commands until you get aggravated and tell them to go away.

Microsoft continues to do limited work in the area, offering a free agent developer's kit and character editor on the Microsoft Agent site.

The original Clippy was stored as an .ACT file, the same extension as all of Bob's characters. For no good reason, I've found a way to fire Clippy and replace him with any Bob agent in older versions of Microsoft Office programs such as Word 97.

To try it, look for an Actors folder inside an Office folder such as Microsoft OfficeOfficeActors). If you have one, drop Rover into it. The dog becomes one of the choices for the office assistant (screenshot).

 5:18:18 PM | comments | trackbacks | permalink

I just finished two grueling days getting a Red Hat Linux box caught up on kernel upgrades and security updates. Some of the PHP error messages showing up in the logs looked like attempts to exploit a new vulnerability, so I wanted to batten down the server.

To free up space, I used Red Hat Package Manager (RPM) and reviewed all of the packages installed on the server, looking for ones I don't need such as Gnome and X11 windowing packages and non-English support.

A few observations:

  • I can't believe there's so much cool open source software in a Linux installation.
  • RPM needs a way to group related packages together for one-step installation or removal. Deleting all Gnome software, which are useless on a server maintained remotely, was drudgery.
  • I'd love to find an RPM-style installation manager for Java libraries packaged as JAR archive files.
 12:24:04 PM | comments | trackbacks | permalink

Tuesday, November 18, 2003 

If you try to call a local Best Buy now, you'll get a national call center that refuses to redirect the call to the store because it wouldn't be fair to other customers, according to Matt Haughey:

Best Buy: "Well, sir, our employees are very busy this time of year and can't answer phones."

Haughey: "I called this number a month ago and spoke with someone on the floor."

Best Buy: "Well, that's not really fair to the people that walked into the store."

 11:53:02 AM | comments | trackbacks | permalink

A computer at the Naval Computer and Telecommunications Station in Jacksonville was compromised by crackers yesterday, according to the computer security site Zone-H.

The crackers apparently took advantage of a hole in an HP ChaiServer program used to manage printers remotely. A link to the Web site Jihad Online was added along with the boast "owned by The Ghost Boys."

 11:20:27 AM | comments | trackbacks | permalink

Microsoft developer Dare Obasanjo offers a useful XML litmus test:

Using XML for a software development project buys you two things (a) the ability to interoperate better with others and (b) a number of off-the-shelf tools for dealing with [the] format. If neither of these things apply to a given situation then it doesn't make much sense to use XML.

 11:01:18 AM | comments | trackbacks | permalink

 

Copyright 2003 Rogers Cadenhead. Last updated 12/2/2003; 12:04:22 PM.