February 17, 2007

Goin' to Orlando -- the Rational Software Development Conference

Well, once again my Ruby on Rails talk, "Unified Modeling
Language on Rails: From Diagram to Web Site in Record Time", has been accepted for the IBM Rational Software Development Conference, so sometime between June 10 and June 14, I'll be presenting in Orlando. I don't have the date yet -- they'll let me know after 2/28, apparently -- but I'm excited, so I thought I'd let anybody know might care know. :)

This was a fun experience last year, so if you're going to the converence, stop by and say "hi"! Or let me know and maybe we can get together.

Posted by roadnick at 09:51 AM | Comments () | TrackBack

January 11, 2007

Malicious Code Injection: It's Not Just for SQL Anymore

A company I know has discovered that all of the sites it built in the late 1990's and early 2000's are vulnerable to SQL Injection attacks, where a malicious user can obtain the contents of the database (or do other nasty things) without much effort. Every single one. I recently found (and patched) a similar problem in Syfy Portal's code. (No, I didn't write it, thankfully, but I could have.)

Turns out that SQL injection isn't the only way to perform this attack.

Good advice here.

Posted by roadnick at 11:05 AM | Comments () | TrackBack

Vista Ultimate launched

When I worked on Special Edition Using Microsoft Word 2007, they gave me a copy of Vista to install, and I really did kind of like it. I still have it installed, anyway. But I was disappointed that the Does that Ultimate site, which is supposed to have all kinds of extras was not available. Well, apparently is now.Windows Vista Ultimate site with extras launched

Posted by roadnick at 10:12 AM | Comments () | TrackBack

A couple of items for the reading list

Here are a couple of interesting pieces for those of you want to delve into some of the more difficult topics:

Defining SOA as an architectural style
Understanding the Model Driven Architecture (MDA)

Certainly not light reading, but how else are you going to take your skills to the next level?

Posted by roadnick at 10:05 AM | Comments () | TrackBack

Virtual PC

For months, my installation of Microsoft Word wasn't working, and I didn't have the wherewithal to reinstall it. (Yes, I did have the CDs, just not the patience.) I was pretty sure that it was irrevocably corrupted, and I didn't wanna think about it. So imagine how surprised I was when I uninstalled some garbage I had no use for (half of which I don't even know how it got installed) and suddenly Word started working again.

I'm wondering if it might not be a good idea to look at Virtual PC, now that Microsoft has decreed that it is free, and start installing things that way so they don't conflict with each other. What started me on this? A nice piece about how to test with IE 6 when you have already installed IE 7.

Posted by roadnick at 09:55 AM | Comments () | TrackBack

Java skill levels

Ever been frustrated trying to decipher somebody's code? Of course you have. Check out Daniel Spiewak's look at Java skill levels. Heheheheh...

Posted by roadnick at 08:57 AM | Comments () | TrackBack

January 10, 2007

Painless Functional Specifications

When I first started at Site Dynamics (a million years ago, I think) my first action was to insist that projects actually had a specification. I know, I know, I'm a little anal that way. But funny, I just coouldn't bring myself to watch people work on projects for months at a time while the client constantly changed his mind and added features. Silly of me, huh?

Anyway, this morning I ran across a very good series of articles on Painless Functional Specifications. A must read for anybody involved in development in any way.

[UPDATE: Also check out Painless Software Scheduling.]

Posted by roadnick at 12:25 PM | Comments () | TrackBack

January 09, 2007

The Gobbledygook Manifesto

Yesterday, I confirmed my attendance at this years Microsoft Book Publishing Summit in March -- let me know if you're going! -- so I'm reminded of the work I did for them a few years ago.

I'm especially reminded by The Gobbledygook Manifesto -- Cutting Edge! Mission Critical! An analysis of gobbledygook in over 388,000 press releases sent in 2006. The winner?

"Next generation," with 9,895 uses, followed by over 5,000 uses each of "flexible," "robust," "world class," "scalable," and "easy to use."

The thing is, I remember using lots of gobbledygook on those Microsoft papers, because it just seemed right at the time. (Note that the Client accepted those papers.) But I wonder, how else do you say these things without seeming too casual, another whitepaper crime?

Posted by roadnick at 08:05 AM | Comments () | TrackBack

December 12, 2006

Warp drive, when?

NASA is actually working on warp drive. I'm all tingly.

Posted by roadnick at 09:20 AM | Comments () | TrackBack

December 10, 2006

Custom Google Search Engine

Here's something interesting. I was looking for a quick way to add search functionality to SyFy Portal when I came across the Google Custom Search Engine. You can specify a site or sites to search, including individual web pages -- for which they have the "Google Marker" app -- and you can collaborate with others on a search engine. Very interesting. I think there are community-building advantages here....

Posted by roadnick at 05:29 PM | Comments () | TrackBack

October 27, 2006

Second Life and Amazon S3

I've been hearing a lot about Second Life lately, and I think this time I'm actually going to check it out. Second Life is and immersive environment a lot like World of Warcraft, or Star Wars Galaxies, except that nobody's trying to kill you. The really cool thing about Second Life is that everything in the world, for the most part, is built by residents, and you can buy and sell these objects using "Linden dollars". What's cool about that? Well, how about the fact that you can buy and sell those Linden dollars using real dollars. Yes, that means that if you make money in second life, you can turn that into cold hard cash. How much cold hard cash? Well, apparently the exchange rate fluctuates, but as far as I can tell, it's about one American dollar to 250 Linden dollars. A lot of businesses are jumping on this bandwagon, but it's hard to tell how much of this is-will go anywhere. Still, it's interesting, and I wonder if there's a living to be made here. I've tried to check it out before, but I've never had the hardware for it. Finally, my laptop has a display it likes, although the environment supposedly is not compatible with a satellite connection. (So far, in the very limited exploring I've done, it's not too much of a problem.)

There is also a lot of talk about the educational component here; today's youth are so focused on videogames, there is a fear he that they would learn better and an immersive and are such as this one. In other words, take for example the Sarbonians, a video game meant to teach economics. Students come from an environment in which there's no scarcity, and in a crash land on an alien world with limited supplies, and they have to make a go of it. Unlike other games with an economic basis (such as Civilization), in this one characters explain why the economic principles are the way they are. Pretty cool idea, if you ask me.

What I also thought was interesting is that Linden Labs, which runs Second Life, is making use of Amazon's new distributed storage solution, Amazon S3. This is an interesting concept in which you upload your content, and they pretty much handling. You only pay for the capacity that you use. They have a compute cloud as well.

Interesting.

Posted by roadnick at 01:11 PM | Comments () | TrackBack

September 26, 2006

If you can't beat 'em...

I rant about _blank">stupid patents all the time, but mostly because it's very rare that I see a controversial patent that I would consider "non-obvious". Maybe it's because I think about how to do these things all the time, even though I rarely have time to implement any of them. Well, I've finally had it.

I had an idea for a project last year, and it would have been fantastic. I'm not going to tell you what it was, but I can prove it would have been very successful, because I've just found out there's a company doing it, and very successfully. Now, I can deal with that. I didn't do it because I didn't have time.

But they patented it!!! So now, not only am I not the first to do this, I can't even do it at all!!

So that's it. It turns out that while a traditional Utility Patent (meaning just about everything but design patents) is only $380 to file -- more to actually have it issued and so on -- it turns out you can file a Provisional patent application for only $75. Maybe I ought to be doing that with my ideas.

I was an Inventor on 9 patents -- which, by the way, I ALSO thought were obvious, but the company disagreed -- and I remember what a pain it was to put together the application, but by G-d I've had enough!

Posted by roadnick at 10:39 AM | Comments () | TrackBack

May 07, 2006

This is your brain on the computer

I thought about this when I was in college, but I never had the opportunity to carry it out. Scientists are working on ways for disabled patients to control a mouse with their brain, or by thinking about moving various body parts: Wired News: Now That's Using Your Brain

Posted by roadnick at 01:34 PM | Comments () | TrackBack

Net neutrality fails in the House

Net neutrality, in case you haven't heard, is the concept that all traffic on the web should be treated fairly and equally. In other words, companies should not have the ability to give content from some providers special treatment while degrading (ie slowing down) traffic from other providers. Now Intel backs 'Net Neutrality'. According to this Wired article:

The House Committee on Energy and Commerce on Wednesday voted down an "net neutrality" amendment to a telecommunications bill.
With the defeat in the House, attention on the issue is expected to shift to the Senate, where Sens. Olympia Snowe (R-Maine) and Byron Dorgan (D-North Dakota) plan to introduce a net neutrality bill.
Telephone and cable companies have argued that the internet should remain free from regulation, and that tiered service would provide a fair way of funding their build-out of internet capacity to accommodate streaming video and other high-bandwidth traffic. They have emphasized that they don't intend to block any website or degrade any internet service.

I say bull. If you didn't intend to do it, you wouldn't be fighting so hard for the right to do it. We're not talking about personal freedoms, here, where you stand on principle. We're talking about big companies using political capital to get what they want. And they don't do that without a reason.

Posted by roadnick at 12:57 PM | Comments () | TrackBack

March 31, 2006

Telling it like it is

Sometimes I think if I didn't do this for a living, I would just get out of programming altogether. I know it's not true, because I'm just hooked on it. But I do get pretty disgusted at all of the turf wars and methodology wars and acronym wars and all of the other wars that go on around new technologies. I just posted a link to a good article that pretty much tells it like it is. Do the simplest thing possible. Period. no more, no less.

Posted by roadnick at 12:34 PM | Comments () | TrackBack

January 29, 2006

Senator with iPod finally figures out broadcast flags

This is beautiful. From Boing Boing: Senators figure out the Broadcast Flag, curse it as an abomination!:

First MIT grad John Sununu of New Hampshire said that government mandates "always restrict innovation" and then 82-year-old Ted Stevens of Alaska talked about the iPod he'd gotten for Christmas and put the RIAA's Mitch Bainwol on the spot about whether his proposal would break Stevens' ability to move digital radio programs to his iPod and listen to them in the most convenient way (it would).

and
[Sununu] pointed out that "we have a whole history of similar technological innovation that has shown us that the market can respond with its own protection to the needs of the artists." And he concluded with one of the most damning depictions of the ahistorical nature of the flag (clip from Congressional RealVideo) you'll hear on the Hill:

"The suggestion is that if we don't do this, it will stifle creativity. Well...we have now an unprecedented wave of creativity and product and content development...new business models, and new methodologies for distributing this content. The history of government mandates is that it always restricts innovation...why would we think that this one special time, we're going to impose a statutory government mandate on technology, and it will actually encourage innovation?"
Posted by roadnick at 11:18 AM | Comments () | TrackBack

January 28, 2006

JSON: Ajax without the cross-domain issues

I've just posted an introductory discusion on JavaScript Object Notation (JSON). What's itneresting about it is it provides away to get around the cross-domain issues you get when you try to access web services using Ajax. Yahoo's now outputting JSON in a ridiculously easy way, so this is worth checking out.

Posted by roadnick at 05:14 PM | Comments () | TrackBack

January 21, 2006

Easy XML-RPC in PHP

I've just put together a quick tutorial on using XML-RPC in PHP over on the InformIT XML and Web Services Reference Guide. Very cool, and VERY easy. Definitely going to use this.

Posted by roadnick at 02:03 PM | Comments () | TrackBack

January 16, 2006

Semantic Interpretation for Speech Recognition

one thing I love about the Web is the fact that some of the specifications are right there for you to look at to know how things are done. These days, things are getting more and more complicated, but the specs are still there. Witness Semantic Interpretation for Speech Recognition, explains how applications can tell not so much what you said into that phone application, but what it actually means. I am hereby predicting that in the next 12 to 24 months we will see some public use of audio text analysis. And by public, I mean an application that regular people use rather than an application used on regular people.

Posted by roadnick at 10:11 PM | Comments () | TrackBack

December 22, 2005

Virus catches child porn offender

The other day Sarah told me she was a bit disturbed because she'd received an email from the FBI saying they'd found that she had visited illegal web sites. Having received many of these fake emails (usually purporting to be from the CIA, interestingly) my reaction was "please tell me you didn't open the file that comes with the email." Fortunately, my wife is saavy enough not to open weird attachments, so all was well, and I told her about the source of these emails: a virus, worm, or scam, take your pick.

But apparently a 20 year old in Germany had a guilty conscience, and when he received a similar email, his first reaction was to turn himself in. Police charged him on discovering child pornography on his computer.

Posted by roadnick at 09:39 AM | Comments () | TrackBack

December 04, 2005

Random House goes digital

Random House is going digital. The publishing company has witnessed what went on in the music industry, and has decided to beat Pirates to the punchby providing a way to legally access their books electronically.

"The technology was adopted before there was a business model for legitimate sales," [Richard Sarnoff, president of Random House's corporate development unit] says. "That created a fertile ground for piracy, and it became ingrained in consumer behavior."
are also worried about plans by an Google & Co. to scan library books and make the content available online. And as an author, I'm in agreement with being concerned.

Technorati tags: | | | | |

Posted by roadnick at 09:42 AM | Comments () | TrackBack

November 04, 2005

Stop the MPAA and RIAA's Horror Triple Bill!

Just recevied this action alert from the Electronic Frontier Foundation:

On Thursday, November 3rd, the heads of the MPAA and RIAA present to the House Subcommittee on the Courts, the Internet, and Intellectual Property their plans for the future of digital technology.

For high-definition television (HDTV), the MPAA demands every receiver must have, and obey, the broadcast flag. For new radio technologies, you'll be restricted to recording radio shows for a minimum of 30 minutes, for a maximum of 50 hours. And all analog to digital video conversions will be forced to watch for, and obey, a concealed copy restriction mark.
If any one of these provisions pass, it would be a disaster for you and for innovation.
There'll be no room for open source software here. All of these devices must be "robust" -- welded shut to prevent alteration by their owners.
There'll be no room for innovation without the say-so of Hollywood. And there'll be no fair use copying without breaking the law.
Please, please, please, if you live in the US, go to the EFF's site and contact your Congressperson to oppose these bills, and spread the word.

Technorati tags: | | | | | |

Posted by roadnick at 04:55 PM | Comments () | TrackBack

November 02, 2005

Microsoft plans Web version of Windows, Office

I'm not quite sure what to make of this, but apparently Microsoft is planning a sort of online version of Windows and Office, partially to compete with Google. Here's the full story. I gotta chew on this for a while.

Posted by roadnick at 10:00 AM | Comments () | TrackBack

October 22, 2005

Secret Code in Color Printers Lets Government Track You

The Electronic Frontier Foundation has broken the code that printer companies have put in, causing printers to include a tiny invisible pattern that indicates when the document was printed and the serial number of the printer that printed it. Ostensibly to foil (or at least track) counterfeiters, this deal is troubling for several reasons, perhaps put best by EFF Seniorspace Staff Attorney Lee Tien:

Underground democracy movements that produce political or religious pamphlets and flyers, like the Russian samizdat of the 1980s, will always need the anonymity of simple paper documents, but this technology makes it easier for governments to find dissenters. Even worse, it shows how the government and private industry make backroom deals to weaken our privacy by compromising everyday equipment like printers. The logical next question is: what other deals have been or are being made to ensure that our technology rats on us?

Supposedly, the codes are only able to be read by the Secret Service, but the EFF has an automated program that lets you to code your own documents.

Technorati tags: | | | |

Posted by roadnick at 09:38 AM | Comments () | TrackBack

October 21, 2005

Open source publishing

SourceBeat looks interesting. You buy a subscription to a book, and you get 12 months of access to that book. During that time, and there may be additions, corrections, and so on. They also have an early release program in which you can start reading the book before it's actually "finished" without impacting your 12 months. SourceBeat covers open source topics.

Technorati tags:

Posted by roadnick at 02:29 PM | Comments () | TrackBack

October 16, 2005

Getting started with Ruby

My editor over at InformIT has asked me to produce some ruby content, which is nice, because I'd been planning to learn that anyway. It's just always nice to have an excuse. :-) what's also nicest having a place where you can go to get started without having to figure out where to find everything. Thankfully, Loud Thinking has provided a page for Getting started with Ruby that provides links to everything from the language itself to documentation to tutorials and such. Very nice job.

Technorati tags: |

Posted by roadnick at 11:20 AM | Comments () | TrackBack

September 30, 2005

On eBay, Skype, and the death of Google

I just posted some remarks on why I think we're seeing the very beginning of the end for Google.

Posted by roadnick at 12:56 PM | Comments () | TrackBack

August 16, 2005

Google vs. Yahoo: Does size matter?

OK, so in response to claims that Yahoo has indexed twice as many pages as Google, we have A Comparision of the Size of the Yahoo and Google Indices, in which the researchers compare the number of results returned for just over 10000 queries and conclude that since Yahoo returns fewer results, it must not have as many pages indexed, and certainly not twice as many.

But as anybody who's tried to wade through useless results has wondered, is more really better? Maybe -- and I have no reason to say this other than speculation -- Yahoo has a better way of choosing results?

Like I said, I have no idea how they decide what to display, and maybe they really don't have all of the pages they say they do. I'm just pointing out a major flaw in the experiment's methodology.

Technorati tags: | | |

Posted by roadnick at 07:37 PM | Comments () | TrackBack

August 07, 2005

Pay no attention to that man behind the curtain

Some people have a knack for knowing what's coming next. And some work very, very hard at it. O'Reilly is pretty well regarded in that field, and at OSCON, Tim O'Reilly gave some insight into the numbers that help guide those predictions. Interesting stuff.

Technology: | | |

Posted by roadnick at 05:25 PM | Comments () | TrackBack

August 01, 2005

Installing Perl modules without root privileges

The one thing I hate about not running my own server is not having root privileges. It just makes my life a bit more complicated. Fortunately, I can usually get around this little problem. When I started using PHP-Nuke, I figured out how to create my own symbolic links to my own images directory, so I could add new ones. Now I need some Perl modules, and fortunately, you can install without superuser privileges. This article is about installing mod_perl, but of course the concepts apply to anything...

(Oh, and if you can't run CPAN, you can search CPAN and download the packages manually...)

Technorati tags: |

Posted by roadnick at 09:25 AM | Comments () | TrackBack

July 31, 2005

Is plagiarism a cultural issue?

I'd like to draw your attention to a comment I made over on my InformIT blog. More than once I've been burned by a writer from India who plagiarized material. Now I hear that it's common among programmers, too. With increasing reliance on India programmers, are we creating a monster?

Technorati tags: | | |

Posted by roadnick at 03:11 PM | Comments () | TrackBack

July 26, 2005

The IT budget has no clothes

Finally someone who calls it like it is. I've been arguing for years that people are upgrading software just because they can, and not because they need to. Sure, there are people who can benefit from, say, Office's integration with XML. (I can't think of any, but I'm sure they're out there.) But that doesn't mean everybody needs it. Heck, unless I need to track changes, I can usually get by with WordPad. It'd be a waste for me. And it's not just Microsoft, even though people think that's my problem. It relates to any software. You should only have to upgrade if you actually need the new product. It's just that Microsoft is the one that is constantly trying to get people to pay for useless upgrades, so it comes up most often in discussion.

Check this out: Shared Spaces Research & Consulting: Stop! An IT Spending Manifesto

Technorati tags: | | |

Posted by roadnick at 08:19 AM | Comments () | TrackBack

May 12, 2005

AJAX design patterns

This week I'll be writing about AJAX, which is basically just a set name for the combination of techniques I've been using for years to load content into the browser without having to load a new page. (Only now, it's supported in non-IE browsers, which is wonderful.) One interesting resource I don't want to lose track of: Software As She’s Developed » Blog Archive » AJAX Patterns: Design Patterns for AJAX Usability.

Posted by roadnick at 02:13 PM | Comments () | TrackBack

May 09, 2005

Despicable non-journalism

My world is very complicated. I am in a profession (writing) where, for better or worse, some measure of success is given by how many people know who you are. And yet, I really am a very, very private person. I don't, frankly, like anybody up in my business, as they say. Read my work or don't, but leave me out of it. So it was with some measure of disgust and revulsion that I read Dee-Ann LeBlanc's Maureen O'Gara Strikes Again, in which she unceremoniously dumps her volunteer position at LinuxWorld Magazine because they pay O'Gara. Why? Because in their quest to discredit Groklaw's Pamela Jones, O'Gara published the most personal of personal details about her. To give you an idea, she published PJ's address and phone numbers, and that's not the most private of the information.

It's disgusting.

PJ is standing up to O'Gara. Good for her. Now she says that she's being warned that people are talking about her imminent "suicide", which is what apparently happened to someone else in this matter. She tells us unequivocably that if we hear about her suicide, it isn't.

No matter which stand you take on the SCO thing -- which is what is at the heart of the matter -- this is simply disgusting.

Technorati tags | | |

Posted by roadnick at 08:11 PM | Comments () | TrackBack

May 04, 2005

Stupid questions

I'm not for sending jobs overseas, but I have to read this comment on the news that IBM is planning to lay off 10,000 to 13,000 mostly European workers and shake my head. Keep in mind that this person is theoretically American, and English is theoretically his/her first language.

Talk about answering your own question.

Posted by roadnick at 11:44 PM | Comments () | TrackBack

April 16, 2005

Free screen grab

In my line of work, I'm constantly looking for a way to grab screenshots. I actually paid for SnagIt!, and I like it, but I lost the activation code about 35 rebuilds ago, so now I'm glad to find Screen Grab Pro, which does much of the same thing for free.

Posted by roadnick at 08:15 PM | Comments () | TrackBack

April 13, 2005

Definitions of an engineer

I like all three of the Definitions of an Engineer, including the original:

An engineer is someone who can take a simple idea and see through it to the bottomless pits of messy, complexity that lies underneath.

and the two in the comments. Hehehehe....

Posted by roadnick at 12:21 AM | Comments () | TrackBack

April 05, 2005

Japanese youth rediscover novels -- on their cell phones

Apparently Japanese teenages are rediscovering reading with ebooks on their cell phones.

Technorati Tag: | | |

Posted by roadnick at 10:28 AM | Comments () | TrackBack

March 27, 2005

Should Bill Gates step down?

Here's an interesting thought: Bill Gates Must Go from Keep Trying (via Orbit Now!).

Posted by roadnick at 10:24 PM | Comments () | TrackBack

March 16, 2005

How to do a low-level format

I am now the proud user of a Windows 2000/Linux dual boot system. Not that it was easy, mind you. At one point my 160 Gig drive was reporting that it had two partitions: 82 Gig and 534 Gig. Obviously that was wrong. So Support told me I'd need to do a "low level format" but of course I had no idea how to do that.

So, they told me I needed to download a debug program. I did, then I used it to create a floppy that I could use to boot the machine. Just using fdisk (which was on the floppy, I guess) didn't work, so I had to run the following script:

A:\>debug <enter>
-F 200 L1000 0 <enter>
-A CS:100 <enter>
xxxx:0100 MOV AX,301 <enter>
xxxx:0103 MOV BX,200 <enter>
xxxx:0106 MOV CX,1 <enter>
xxxx:0109 MOV DX,80 <enter>
(80 for hd 0 or 81 for hd 1 )
xxxx:010C INT 13 <enter>
xxxx:010E INT 20 <enter>
xxxx:0110 <enter>
-g <enter>
Program terminated normally
-q<enter>

NOTE that I have no idea whether this script is particular to the Dell Precision 370 on which I was running it or whether that's the normal way to "overwrite the Master Boot Record with zeros", which is what support tells me that script does.

Definitely a "use at your own risk" kind of thing. Even if it works, the results are a completely blank hard drive. (Well, as far as the OS is concerned.)

Posted by roadnick at 11:16 PM | Comments () | TrackBack

March 07, 2005

"Automatic" translation of blog posts

Now here's a fun idea. The brain behind "A Consuming Experience", who unfortunatly doesn't have a name anywhere obvious, so I can't refer to it has figured out how to do "Automatic" translation of blog posts. Something to think about...

[Update: That would be a lady named "Improbulus", as I've since been chided. :) ]

Technorati tag:

Posted by roadnick at 03:22 PM | Comments () | TrackBack

March 01, 2005

Yahoo releases web services API

Check it out over on the InformIT blog...

Posted by roadnick at 03:21 PM | Comments () | TrackBack

February 25, 2005

MythTV

One of these days, I'll have time. And when I do, I'm going to build a MythTV system.

Technorati tags: /

Posted by roadnick at 07:10 AM | Comments () | TrackBack

February 19, 2005

Jython and numeric directory names

After getting some inspiration from Sean McGrath, I've decided to expand the Programmer How-To a little bit, and add tips for those niggling things that people just generally spend hours and hours on. This first one involves Jython and numeric directory names when importing code.

Sean's right, though; if we all documented these things when we figured them out, we might not spend so much time floundering around pulling our hair out.

Posted by roadnick at 04:43 PM | Comments () | TrackBack

February 06, 2005

One click, yes. One aggregator, NO.

I've discovered that I'm generally cranky when I post to InformIT. My take on a one-click aggregation solution is no exception.

Posted by roadnick at 05:46 PM | Comments () | TrackBack

Hacking TiVo

OK, it's not really hacking, but TiVo has released the TiVo Home Media Engine SDK, which lets you program your TiVo using Java. The hitch, well, besides the fact that it's not supported by the DirecTV receivers, which is more my problem than a general complaint, there's the fact that "HME applications can not control any of the TiVo DVR’s scheduling, recording, or video playback capabilities."

BAH.

Posted by roadnick at 01:46 PM | Comments () | TrackBack

February 04, 2005

Creating a GUI Feedreader using C++, Part 1: A No-Brainer Guide to UML

Now live on DevSource -- Creating a GUI Feedreader using C++, Part 1: A No-Brainer Guide to UML: "If you've never used the Uniform Modeling Language (UML) before, it can seem a little intimidating. However, UML is actually not all that difficult, once you get to be familiar with the different diagrams and how they can help you to model and document your project. This article takes you through the process of modeling an application using UML, explaining each of the different diagrams, and the basics of how they work. When you're done, you'll have enough of an understanding of UML to document your own project. You'll also have enough of an understanding to delve into UML's finer points without feeling overwhelmed."

Note that this is also the first article chronicling the development of ChaosCrusher, an RSS/Atom/syndication feedreader that will hopefully do what I want a feedreader to do.

Posted by roadnick at 11:14 PM | Comments () | TrackBack

January 30, 2005

Python is cool

I'm crash coursing on Python right now, and I came across Instant Python. Very cool. Very, very cool.

Oh, and I added the Python versions of Use an if-then statement, and Use a while loop, Use a for-next loop, Output to the command line to the Programmer How-To. Nothing complex, but then it looks like very little is when it comes to Python...

Have I mentioned that it's cool?


Posted by roadnick at 07:13 PM | Comments () | TrackBack

January 27, 2005

Interactive streaming video?

I haven't had a chance to really even thoroughly read this yet, much less play with it, but I didn't want to loose it. Apparently you can now "combine interactive advertising with streaming video. Users can actually click on objects within a running video ad to trigger an associated message" with a new product called Shoshmosis. We'll see.

Posted by roadnick at 11:02 AM | Comments () | TrackBack

January 23, 2005

Cringely and Apple movie predictions

Here's something interesting. Cringely proposes that the Mac Mini is actually Apple's first step into the movie distribution business. I'd have to reprint the whole thing to explain it all, but basically he proposes that Apple is preparing to dominate the pay-per-download HD movie business -- think HD NetFlix without waiting for the mail -- the way it dominates the pay-per-download music business with iTunes and iPod. If he's right, this would actually be pretty cool.

Now if I could only get an HDTV for less than an arm and two legs...

Posted by roadnick at 11:00 AM | Comments () | TrackBack

January 19, 2005

The resilience of the web community

I ran across this interesting quote in an old piece about the infamous backroom deal setting webcasting royalty rates:

Every new technology medium seems to enjoy a delicious moment, between being born as a vehicle for human creativity controlled by no one, into a Pigopolistic advertising channel, controlled by very few.

What's interesting to me is how the web keeps spawning medium after medium for creative expression. As one closes down, another appears. Is this the promise of the web?

Posted by roadnick at 08:39 AM | Comments () | TrackBack

January 17, 2005

What I want in an aggregator

Almost a year ago, I wrote about what I want in an RSS aggregator, and now, as I actually write one in C++ (see, I told you I was doing it) I've gone back and found that all of those requests are still valid. And I still don't see anybody doing all of it.

Posted by roadnick at 11:53 AM | Comments () | TrackBack

January 15, 2005

Groovy

Everybody seems to be talking about Groovy, "a new agile dynamic language for the JVM combining lots of great features from languages like Python, Ruby and Smalltalk and making them available to the Java developers using a Java-like syntax." I'm not entirely certain what that means, but I suspect I'm going to have to find out.

Posted by roadnick at 04:09 PM | Comments () | TrackBack

IBM releases 500 patents

Via Ned Batchelder, IBM is releasing 500 patents for royalty-free use in open-source projects. I think we're going to see more and more of a push for open source from IBM this year.

Posted by roadnick at 03:17 PM | Comments () | TrackBack

A better UML tutorial

I'd listed a UML tutorial in my last posting, but it was, frankly, awful, so I've removed it. Here's a muc better UML Tutorial.

Posted by roadnick at 09:57 AM | Comments () | TrackBack

January 13, 2005

Open source Java spell-checker

I'm looking for a phone number for the Jazzy company -- the one that sells wheelchairs -- and ran across the Jazzy open source spell checker, which includes an API you can use in a Java app. Not that I need it right now, but you never know.

Posted by roadnick at 08:10 AM | Comments () | TrackBack

January 12, 2005

Use the GLA with the Log and Trace Analyzer with Release 2 of the Autonomic Computing Toolkit

Now featured on IBM developerWorks -- Use the GLA with the Log and Trace Analyzer with Release 2 of the Autonomic Computing Toolkit: The GLA and LTA are Eclipse-based tools that enable logs to be parsed for occurrences of pre-defined events, relate those events to situations, and recommend actions based on information in a knowledge base. This tutorial is of particular interest to developers and administrators of applications with dependencies on multiple servers, such as DB2, Apache, and WebSphere. The key lesson imparted here is how to use the GLA to create your own adapter for custom application logs. Additionally, the tutorial introduces the underlying elements of the log adapter process. These low-level enablers of autonomic computing systems are an important contributor to the creation of more autonomic computing systems. This tutorial takes you through an example of how high-level open standards, such as the Common Base Event description, can be incorporated into development and administration functions at a practical level.

Posted by roadnick at 02:02 PM | Comments () | TrackBack

500 Terabytes, 5 DBAs

Here's a little tidbit for you. Wal-Mart's data warehouse, which includes both customer data and inventory and sales data, has passed the half-a-petabyte mark. And they have just five DBAs. Chew on that for a while.

Posted by roadnick at 09:07 AM | Comments () | TrackBack

January 11, 2005

How to explode TV news

Jeff Jarvis has a great post on how to explode TV news. Basically, exploit the web by giving in to it. I hope they take him up on it.

Posted by roadnick at 06:33 PM | Comments () | TrackBack

The best prediction list I've seen so far

My money's on Chris Pirillo.

Posted by roadnick at 05:56 PM | Comments () | TrackBack

January 10, 2005

Programmer How-to Additions

I've gone ahead and added some new content to the Programmer How-To:

January 06, 2005

Pick a Java, any Java

Ever needed an old version of a product that's no longer supported? Sometimes it can be next to impossible to lay your hands on, but thankfully, Sun's got a products download archive page where you can download just about anything they've supported at one time or another.

Posted by roadnick at 04:02 PM | Comments () | TrackBack

January 05, 2005

What's next for XML/SOA/Web Services/Grid/Autonomic?

I've usually got a good knick for predicting what's coming next, but now I'm being put on the spot about it. Next week's InformIT guide entry is supposed to be about what I think is going to happen in XML/Web Services/SOA/Grid/Autonomic in the coming year. What do you think?

Posted by roadnick at 02:13 PM | Comments () | TrackBack

December 28, 2004

Docrot

You may have heard of "linkrot", where the sites you link to gradually disappear, and eventually you wind up with a bunch of links to nonexistant pages. For the past two weeks I've been dealing with "docrot". That's when you try to use an API based on the samples and documentation, but it doesn't work because the code's moved on and the documentation hasn't.

Not a good day.

Posted by roadnick at 11:19 AM | Comments () | TrackBack

December 13, 2004

C++ FAQ

I'm teaching myself C++ today. No, really. This C++ FAQ might come in handy.

Posted by roadnick at 07:59 PM | Comments () | TrackBack

Programmer Rosetta Stone

I've started a new project: the Programmer How-To. The idea of this wiki is that for the most part, the differences between computer languages are all about syntax and vocabulary. I frequently find myself in a situation in which I need to do something but I have to look up that syntax. This site will (hopefully) provide a kind of programming universal translator, where you can look up how to do a particular task in a particular language. It's also my first public wiki, so I'm hoping to get some participation...

Posted by roadnick at 10:56 AM | Comments () | TrackBack

Inventing the future

Here's an interesting thought, from an interview with futurist Ray Kurzweil:

I realized that my inventions had to make sense when the project was finished, rather than for the world that existed when the research project began, and invariably the world was a different place three or four years later. Most technology projects fail not because the inventors are unable to get the thing to work, but because the timing is wrong. So I became an ardent student of technology trends. I now have a group of ten people assisting me to gather data on key trends, and we develop mathematical models of technology evolution that have proven remarkably accurate over the last couple of decades. So this enables me to essentially invent with the technologies of the future.

Posted by roadnick at 10:46 AM | Comments () | TrackBack

December 08, 2004

Fishing still more popular than the internet

Yes, folks, according to a Harris Poll, fishing is still more popular than the Internet. The poll surveyed adults on their leisure habits, and as usual, the top three were "reading (35%), watching TV (21%) and
spending time with their families and children (20%)". Numbers four, five, and six were "going to the movies (10%), fishing (8%) [and] computer-related activities (7%)", making the oh-so-addictive internet less popular than fishing.

Of course, this is a survey of leisure activities, so it doesn't take into account all of the time spent surfing at work. But then, consider how many adults can just turn on the computer when they get home every night; going fishing is typically a major event.

A little bit of a reality check.

Posted by roadnick at 06:18 PM | Comments () | TrackBack

November 10, 2004

Unacceptable symbols

My son's been messing with my computer again, and as part of my cleanup procedure I always check Windows Update. Today I find just one Critical Update, but it just amused the heck out of me: Remove unacceptable symbols from the Bookshelf Symbol 7 font.

Unacceptable symbols? I ran through it in Word and didn't see anything objectionable, unless you want to consider "h" as a double-headed sperm. Maybe the Oriental characters mean something nasty.

But still, a "critical" update for this?

Whatever.

Posted by roadnick at 07:44 PM | Comments () | TrackBack

November 09, 2004

How to create a project plan

I don't often point to Microsoft, but here's a quick guide telling you how to Create a Project plan in 5 easy steps. Most of it may seem obvious, but I've been a bit surprised lately at how many people have trouble with it.

Posted by roadnick at 11:40 PM | Comments () | TrackBack

November 06, 2004

Big Brother moves to RFID

It was only a matter of time before we saw IDs scannable surreptitiously, and from a distance. Looks like I ought to hurry up and get my passport before the new changes take effect.

Posted by roadnick at 06:36 PM | Comments () | TrackBack

October 04, 2004

Alexa Web Services

And another one I mentioned at InformIT.com:

Not to be outdone, I guess, Amazon has just announced the release of Alexa Web Services. Alexa, as you may or may not know, is a service that crawls the web and collects information such as how popular a site is. (It's also the place to find the Wayback Machine, which shows you what sites looked like, oh, 8 years ago.)



The new service lets you request information about a site such as its popularity, language, file size, incoming and outgoing links, and so on, as well as listing links for a particular category.



Amazon has also announced the release of version 4.0 of their popular Amazon Web Services, now known as E-Commerce Service.

Posted by roadnick at 09:27 PM | Comments () | TrackBack

Bloglines Web Services

As I commented over at InformIT.com:

Ooooo, I'm excited about this one. Bloglines is a server-based RSS aggregator. In other words, you sign up for an account, and then you can "subscribe" to various feeds and see them all in one place, right there on the Bloglines site. Now they've released an API that lets developers pull subscription and item information for building clients and other apps.



Can't wait to play with this one...

Posted by roadnick at 02:53 PM | Comments () | TrackBack

August 21, 2004

It's about time: internet, not Internet

Iv'e never quite understood why why were supposed to capitalize "Internet", and wherever possible I've lowercased "web", to the constant chagrin of copyeditors. So I'm thrilled that Wired has annoucned that it will no longer capitalize internet, web, or net. Why?

The simple answer is because there is no earthly reason to capitalize any of these words. Actually, there never was.
Posted by roadnick at 04:32 PM | Comments () | TrackBack

August 18, 2004

Mozilla extensions

Here's a cool thing I just discovered. Apparently you can add extensions to Mozilla and Mozilla-based products such as Firefox (my browser of choice) and Thunderbird (my email reader of choice). These extensions are items such as feedreaders and calendars. Haven't poked around yet, but maybe I'll download some themes...

Posted by roadnick at 10:02 AM | Comments () | TrackBack

August 12, 2004

Automatic browser redirects

Ever been to a page that says, "We've moved! You'll be redirected in 20 seconds," and then 20 seconds later (or thereabouts) a new page appears without your having clicked anything? Here's how it's done.

At the top of your page, add a "meta" tag. This tag passes information about the page to the browser. for example, if I wanted to redirect you to this blog's home page after 30 seconds, I'd use the tag:

<META HTTP-EQUIV="refresh" content="30;URL=http://www.nicholaschase.com/blog">

Here's what that does. First it tells the browser to refresh, or reload the page. The content attribute tells it when -- in this case, after 30 seconds -- and where to go when it does. When the browser refreshes, it will go to the specified URL.

You can also use this for simply refreshing a page by adding its own URL. Just make sure you set the delay high enough for the page to be useable!

Posted by roadnick at 12:03 AM | Comments () | TrackBack

July 26, 2004

Lindows changes name, amuses with parody

So Lindows is now Linspire, and if you think you'll have trouble remember the name, check out Come on baby, run Linspire. Hehehe. Love the faces.

Posted by roadnick at 02:12 PM | Comments () | TrackBack

June 30, 2004

File uploads in PHP

Writing a PHP page and need to accept files from a form? Here's the skinny, according to the PHP Manual entry on Handling file uploads:

First, you will of course need the HTML form:

<form enctype="multipart/form-data" action="_URL_" 
                   method="post"> 
   <input type="hidden" name="MAX_FILE_SIZE" 
                   value="30000" /> 
   Send this file: <input name="userfile" type="file" /> 
   <input type="submit" value="Send File" /> 
</form>

Then you'll need to save the file in the PHP page:

<?php
// In PHP versions earlier than 4.1.0, $HTTP_POST_FILES 
              //should be used instead
// of $_FILES.

$uploaddir = '/var/www/uploads/';
$uploadfile = $uploaddir . $_FILES['userfile']['name'];

print "<pre>";
if (move_uploaded_file($_FILES['userfile']['tmp_name'], 
                           $uploadfile)) {
   print "File is valid, and was successfully uploaded. ";
   print "Here's some more debugging info:\n";
   print_r($_FILES);
} else {
   print "Possible file upload attack!  Here's some ";
   print "debugging info:\n";
   print_r($_FILES);
}
print "</pre>";

?>
Posted by roadnick at 11:47 AM | Comments () | TrackBack

June 28, 2004

Manipulating time and dates in Java

Need to get a certain date or time -- other than right now? Here's a hint: don't use java.util.Date. Use java.util.GregorianCalendar instead. For example, if you needed a date object that represented the moment twenty four hours ago:

java.util.GregorianCalendar lastAcceptable = 
         new java.util.GregorianCalendar();
lastAcceptable.add(java.util.Calendar.HOUR, -24);

You can use any of the constants defined in java.util.Calendar to add or subtract time from a date. Check out the GregorianCalendar API for more information on manipulating and retreiving dates and times.

Posted by roadnick at 03:08 PM | Comments () | TrackBack

June 26, 2004

The commodity network

With the way kids expect everything to be done for them, do we really have the creativity left in this world to take advantage of Decentralization and Commodification? I hope so.

Posted by roadnick at 01:01 PM | Comments () | TrackBack

June 19, 2004

Posting a book that's "in progress"

For a while now, I've been thinking about the idea of posting chapters of a book as I write them and inviting comment. I've been particularly thinking about it lately, as I ponder a book that's more ... well ... philosophical than my usual work. (More on that when I've figured out how to express it in words rather than just vague notions and gestures.) Anyway, I must have been thinking too loudly, because today's San Jose Mercury News talks about what happens when authors open texts online for others to edit.

I do think it's going to happen more and more often, as we fully acclimate to "social media".

Posted by roadnick at 10:42 PM | Comments () | TrackBack

June 17, 2004

Using the Generic Log Adapter with the Log and Trace Analyzer

Now featured on developerWorks: Using the Generic Log Adapter with the Log and Trace Analyzer

The GLA and LTA are Eclipse-based tools that enable logs to be parsed for occurrences of pre-defined events, relate those events to situations, and recommend actions based on information in a knowledge base. This tutorial is of particular interest to developers and administrators of applications with dependencies on multiple servers, such as DB2, Apache, and WebSphere. The key lesson imparted here is how to use the GLA to create your own adapter for custom application logs. Additionally, the tutorial introduces the underlying elements of the log adapter process. These low-level enablers of autonomic computing systems are an important contributor to the creation of more autonomic computing systems. This tutorial takes you through an example of how high-level open standards, such as the Common Base Event description, can be incorporated into development and administration functions at a practical level.
Posted by roadnick at 11:50 AM | Comments () | TrackBack

June 16, 2004

Checkboxes and missing values

Hi

Just read your article on php and forms. Thanks for putting such a resource on the web. Just one quick question though. I don't want to have a check box initially checked but when I leave it blank it doesn't show up in the results. I am trying to produce a csv so this leaves me with one less coloum.

Is there a way around this

Thanks
David


Hi, David!

The nature of checkboxes is that they only show up if they're selected. You can either use a radio button instead, or you can stay with the checkbox but also include an empty hidden field of the same name. That way there's always a "value" with that name, even if the checkbox doesn't come through. Be careful, though, you'll then have to deal with multiple values for a
single field.

I hope that helps!

---- Nick

Posted by roadnick at 12:46 PM | Comments () | TrackBack

June 15, 2004

81% is a "blackout"?

It's interesting that we consider an 81% response rate to the top 40 major sites -- such as Yahoo, Google, Microsoft.com, and Apple.com -- to be a blackout of major Web sites. I don't know that I'd agree, but how integrated are we that we even notice this kind of thing?

Posted by roadnick at 05:20 PM | Comments () | TrackBack

Know your path

Here's a little tidbit for you: always make sure you know what application you're executing. Three times now, the http://www.metrosphere.com has gone down because the HTTP server hung up. That sounds like a simple problem, except that MetroSphere runs on IBM's WebSphere Portal, so the HTTP server is only a small part of the process. Trouble was, when I restarted the httpd server, it wasn't recognizing the portal application server. Twice, I spent a week in technical support hell, with a severity one problem (production system down). That means I personally have to be on call 24 hours a day until it's resolved.

Twice now, the problem has mysteriously resolved itself after we figured out all the other problems. This time I decided to take the bull by the horns, so to speak, and find out what the deal was with the HTTP server before I even touched the application server.

The answer?

Although I was going to the /opt/IBMHTTPServer/bin directory,

httpd

was running a different application than

./httpd

The former was running an HTTP server that is, I think, part of Linux. The latter actually runs the version we need to run.

Let that be a lesson to you. (I know it's a lesson to me!)

Posted by roadnick at 12:57 PM | Comments () | TrackBack

June 02, 2004

Understand the Autonomic Management Engine

Now on developerWorks: Understand the Autonomic Management Engine

"The idea of an autonomic computing system is attractive -- who wouldn't want a system that knows what to look for, and what to do if it finds it? But, building one from scratch is too much of an undertaking for most shops. Fortunately, the Autonomic Management Engine simplifies the process. This tutorial explains how AME works and shows you how to embed it into one of your own applications."

This is actually pretty cool. Well, I think so, anyway. :)

Posted by roadnick at 11:34 AM | Comments () | TrackBack

May 23, 2004

Monsanto sues over fugitive seeds

Chemical giant Monsanto has spent years developing "Roundup-Ready Grain" -- specifically canola seeds that aren't killed by herbicide -- and charges farmers $15 an acre roualties to plant it. They also require farmers to buy new seed every year, rather than simply saving seeds from the previous year's crop. But when some of these seeds blew on to Percy Schmeiser's farm in Canada, Monsanto sued Schmeiser over it. The Canada Supreme Court ruled for Monsanto in that they said Schmeiser couldn't use the seeds, but they said that Schmeiser did not have to pay hundreds of dollars in Monsanto's court costs.

Posted by roadnick at 12:35 AM | Comments () | TrackBack

May 16, 2004

Six Apart modifies MT 3.0 license

Via tima thinking outloud >Tima Out Loud, Six Apart has made some changes to the licenses that were such a controversy. First, they've changed the personal license from 3 authors and 5 blogs to 5 and 5, with the ability to purchase more of each for $9.95 each. Also, a "blog" is defined as a site, as opposed to a subsite, so most of the people who were pissed off that they would now have to pay actually still qualify for the free version.

Posted by roadnick at 02:25 AM | Comments () | TrackBack

May 13, 2004

Mozilla and the potential for interaction

Ever heard of XUL? It's a new way of building web applications in Mozilla (and the newer versions of Netscape). Kind of like a "super" form, with all kinds of interactivity available. I still haven't had time to fool around with it, despite a brief interlude when it looked like I might have to write a tutorial on it, but check out the Mozilla Amazon Browser, a very cool look at what you can do with it. This link is via Jono Bacon's Mozilla and the potential for interaction, which is itself an interesting read, considering the idea of porting applications such as OpenOffice to XUL.

Cool.

Posted by roadnick at 09:05 PM | Comments () | TrackBack

The hubbub over MT 3.0

OK, so Six Apart releases Movable Type 3.0. They remove the restriction preventing people from charging money to support it, and they still provide a free version. So what's the complaining about? Apparently people are ticked that the free version only allows 1 author and 3 weblogs. The "Personal" version allows 3 authors and 5 blogs, and costs (right now) $70.

OK, folks, a "personal" blog is, well, YOU. It's not you hosting things for your friends. It's YOU. If you want twenty seven different blogs, then fine, create them as categories and do different templates. If you want to use the free version to enable your friends to host their blogs on your server, fine, just install multiple copies of the free version. Its not that big of a deal. These people have put a lot of work into their product, they deserve compensation.

Get over it.

Posted by roadnick at 08:39 PM | Comments () | TrackBack

Why I like XInclude

XInclude, designed to make it easier to include part of one XMl document into another, has been a neglected specification for a long time. Now Bob DuCharme gives a good example of how it can be useful with Transclude with XInclude (and XPointer!). It still doesn't address the security issues, but OK, there you are.

Posted by roadnick at 08:20 PM | Comments () | TrackBack

May 12, 2004

Accessible JavaScript popups

If you're reading this blog from top to bottom, by now you've discovered that I'm doing a little bookmark housekeeping, saving some of my bookmarks for posterity (and future reference). Of course, from my perspective, this is the first of them, so I'll apologize in advance for me and in retrospect to you for all of them. :)

I'm one of those people who doesn't believe in memorizing anything that can be looked up. It's much more important to know that something can be done than how it's done. You can always look up the latter. One thing I am always having to look up is how to open a popup window from the browser, and Accessible Pop-up Links from A List Apart is a great tutorial. A word of warning, though: the defaults string needs to be all one line for IE.

Posted by roadnick at 10:44 PM | Comments () | TrackBack

May 05, 2004

Developing Movable Type Plug-ins

I've been thrilled with Movable Type, and I love the fact that people can add their own plug-ins. Now I've found Developing Movable Type Plug-ins, which looks like a pretty decent tutorial. One of these days I'll have time to try it out.

Posted by roadnick at 02:09 AM | Comments () | TrackBack

May 04, 2004

DOM and PHP

Now in the XML Reference Guide over at : DOM and PHP

PHP has support for XML built in, but as far as production code, it's limited to SAX. You can install the DomDocument module, but you do, of course, have to have access to the actual server in order to use it. Fortunately, for those of you who, like me, use an external web server and don't have that kind of control, there's a simple way to get Document Object Model functionality. ...
Posted by roadnick at 09:29 PM | Comments () | TrackBack

April 20, 2004

Domino applications and the Portal API

This must be my week for being featured! Domino applications and the Portal API was featured in this week's IBM Portal News:

Lotus Domino is great for storing all sorts of information in one place, and WebSphere Portal is great for gathering information from all sorts of places. But how do you get the two of them together? One option is to directly incorporate your Domino data into your portal application using the WebSphere Portal API. This tutorial details the process for reading from, and writing to, a Domino database from within a portlet.
Posted by roadnick at 01:41 PM | Comments () | TrackBack

April 19, 2004

What's the big deal about A9?

I've been hearing a lot about A9 lately, but at first glance it doesn't look like anything special. Just another search engine that uses Google's database. Or is it? Not so, according to A9: The Future of Information Access?

Posted by roadnick at 10:42 AM | Comments () | TrackBack

April 14, 2004

One trip to Austin

I've been publishing for IBM for a couple of years now, so I don't even blink when they feature an article of mine, but this
is really cool. Last summer, I took a trip to Austin Texas to sit in on a session of IBM engineers talking about their brand new Autonomic Computing initiative. I came home and proposed about 15 articles and tutorials and such. Or was it 25? I can't remember now. It's been such a long road to get here -- I didn't write all of the pieces, but I've been involved in most of them in one way or another -- but it's still cool to see my "vision" out there for people to see.

Posted by roadnick at 03:36 PM | TrackBack

Introduction to Autonomic Computing

Now the featured story on developerWorks: A quick tour of autonomic computing

Autonomic computing architecture is a range of software technologies that enable you to build an information infrastructure that can, to lesser and greater degrees, manage itself, saving countless hours (and dollars) in human management. And all this without giving up control of the system. This tutorial explains the concepts behind autonomic computing and looks at the tools at your disposal for making it happen -- today.
Posted by roadnick at 03:09 PM | Comments () | TrackBack

April 11, 2004

Icon Story

Ever wonder what happens on your computer when you're not looking? Check out Icon Story.

Posted by roadnick at 03:41 PM | Comments () | TrackBack

April 10, 2004

Java in XSLT: Extension Functions

Now on InformIT in the XML Reference Guide: Java in XSLT: Extension Functions

Using XSLT to transform XML into another form has a lot of advantages, not the least of which is flexibility. When you want to change the output, you don't have to go back to the code, you simply have to change the XSLT style sheet. But it's easy to mistake this simplicity for shallowness. XSLT can enable you to do much more than simply reformatting text.
Posted by roadnick at 04:09 PM | Comments () | TrackBack

April 08, 2004

Free download of Free Culture

Rogers Cadenhead points out that the free download of Laurence Lessig's Free Culture: How Big Media Uses Technology and the Law to Lock Down Culture and Control Creativity includes a standard copyright term, rather than the Founder's Copyright of 14 years, with an option to renew for 14 more.

Thing is, he also released it under a license, which enables other people to use it -- which is the point of his fight against insanely long copyright terms.

I do agree with Rogers, though; would have been nice if the book reverted to Public Domain sometime in our lifetimes.

Posted by roadnick at 12:46 PM | Comments () | TrackBack

What Bill Gates is thinking

Sarah is always bugging me to come up with an idea for "the next big thing." (I've got a pretty good track record of figuring out what the next trend is, but I never have the time or the funds to capitalize on it...) Anyway, Bill Gates gets to do the one thing I'd love to do: Think Weeks. He goes off and doesn't answer any emails or phone calls or anything, and just researches and makes comments. Eweek has an article on What Bill Gates Is Thinking that's interesting...

Posted by roadnick at 12:09 PM | Comments () | TrackBack

March 30, 2004

Tech Tatts

One day I'll get around to doing some kind of case mod, but until then I'll have to make do with Tech Tatts, tattoos for your gear.

Posted by roadnick at 07:57 PM | Comments () | TrackBack

March 25, 2004

Your own shortlink service

Apparently Jason DeFillippo decided to see what it would take to code a shortlink services. This is a service, such as TinyURL that enables you to enter a long URL, then gives you back a short one you can pass around. The server forwards requests to the real URL, and you don't have to email those hideous multi-line URLS. Trouble was, spammers started using Jason's service, so he had to take it offline. The good news is that he's made it available for download so anybody can make their own. Hm.

Posted by roadnick at 03:30 AM | Comments () | TrackBack

Content, free for the taking

I'm always on the lookout for content, and apparently I don't have to work nearly as hard as I do. (If you read this blog, you know that I'm unsuccessful carving out time for content more often than not.) Now I've found Freesticky: An index of free web site content, free content providers and self publishing resources. Of course, tonight I'm hot on the trail of some items for the InformIT XML Reference Guide, so I'll have to let you know how it goes.

Posted by roadnick at 01:54 AM | Comments () | TrackBack

March 17, 2004

Watch TV on your computer

One of these days I'll get around to putting a TV tuner card in my computer, but there's a little voice inside my head that points out that if I do that I might as well have the monitor planted in my brain, because I'll never be away from the computer. Still, it's interesting that you can pretty easily (and inexpensively) Watch TV on your Linux computer. Apparently you don't even need a powerful machine. In this case the example is an old 133MHz Pentium.

Posted by roadnick at 12:50 PM | Comments () | TrackBack

March 04, 2004

Retrieving DTDs

John wrote:

> Hi Nicolas,
> I wonder if you could answer a problem I am having
> processing an XML file with a Java application. The
> XML file is ejb-jar.xml. There is a line referencing a
> DTD e.g. > Microsystems, Inc.//DTD Enterprise JavaBeans 2.0//EN"
> "http://java.sun.com/dtd/ejb-jar_2_1.dtd">.
> However, when my internet connection or java.sun.com
> is down, I am unable to retrieve the dtd and thus get
> a FileNotFoundException. I have tried saving the dtd
> in the java classpath with no success. The error
> occurs when I call: builder.parse(new
> File("ejb-jar.xml"));
>
> Any suggestions or comments would be appreciated.
> thanks.../john

Hi, John!

The trouble is that the parser is trying to retrieve the file
from http://java.sun.com/dtd/ejb-jar_2_1.dtd. You can solve
this problem by saving a local copy to the same directory as
the XML file and changing the DOCTYPE declaration to read

"-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 2.0//EN"
"ejb-jar_2_1.dtd">

I hope that helps!

---- Nick

Posted by roadnick at 10:55 AM | Comments () | TrackBack

February 24, 2004

DOM and Perl

In the InformIT XML Reference Guide: DOM and Perl

Perl was originally designed as a lnaguage for sorting through text, so it's not surprising that it is a good fit for XML. In fact, there are multiple ways to handle XML using Perl, so in this section we're going to look at manipulating DOM "objects" using the Perl XML::DOM module, available on CPAN. ...
Posted by roadnick at 09:31 PM | Comments () | TrackBack

Ebooks: Neither E, Nor Books

Lately I've been giving serious thought to releasing a free eBook version of XML Primer Plus, so this paper by Cory Doctorow on the true nature of eBooks caught my attention.

Plus, he's released the paper under a Creative Commons license, so in the interest of making his words even more immortal, I'm going to reproduce it right here.

Ebooks: Neither E, Nor Books

Paper for the O'Reilly Emerging Technologies Conference, 2004

February 12, 2004

San Diego, CA

Cory Doctorow

doctorow@craphound.com

--

Forematter:

This talk was initially given at the O'Reilly Emerging Technology
Conference [ http://conferences.oreillynet.com/et2004/ ], along
with a set of slides that, for copyright reasons (ironic!) can't
be released alongside of this file. However, you will find,
interspersed in this text, notations describing the places where
new slides should be loaded, in [square-brackets].

This text is dedicated to the public domain, using a Creative
Commons public domain dedication:

> Copyright-Only Dedication (based on United States law)
>
> The person or persons who have associated their work with this
> document (the "Dedicator") hereby dedicate the entire copyright
> in the work of authorship identified below (the "Work") to the
> public domain.
>
> Dedicator makes this dedication for the benefit of the public at
> large and to the detriment of Dedicator's heirs and successors.
> Dedicator intends this dedication to be an overt act of
> relinquishment in perpetuity of all present and future rights
> under copyright law, whether vested or contingent, in the Work.
> Dedicator understands that such relinquishment of all rights
> includes the relinquishment of all rights to enforce (by lawsuit
> or otherwise) those copyrights in the Work.
>
> Dedicator recognizes that, once placed in the public domain, the
> Work may be freely reproduced, distributed, transmitted, used,
> modified, built upon, or otherwise exploited by anyone for any
> purpose, commercial or non-commercial, and in any way, including
> by methods that have not yet been invented or conceived.

--

For starters, let me try to summarize the lessons and intuitions
I've had about ebooks from my release of two novels and most of a
short story collection online under a Creative Commons license. A
parodist who published a list of alternate titles for the
presentations at this event called this talk, "eBooks Suck Right
Now," [eBooks suck right now] and as funny as that is, I don't
think it's true.

No, if I had to come up with another title for this talk, I'd
call it: "Ebooks: You're Soaking in Them." [Ebooks: You're
Soaking in Them] That's because I think that the shape of ebooks
to come is almost visible in the way that people interact with
text today, and that the job of authors who want to become rich
and famous is to come to a better understanding of that shape.

I haven't come to a perfect understanding. I don't know what the
future of the book looks like. But I have ideas, and I'll share
them with you:

1. Ebooks aren't marketing. [Ebooks aren't marketing] OK, so
ebooks *are* marketing: that is to say that giving away ebooks
sells more books. Baen Books, who do a lot of series publishing,
have found that giving away electronic editions of the previous
installments in their series to coincide with the release of a
new volume sells the hell out of the new book -- and the
backlist. And the number of people who wrote to me to tell me
about how much they dug the ebook and so bought the paper-book
far exceeds the number of people who wrote to me and said, "Ha,
ha, you hippie, I read your book for free and now I'm not gonna
buy it." But ebooks *shouldn't* be just about marketing: ebooks
are a goal unto themselves. In the final analysis, more people
will read more words off more screens and fewer words off fewer
pages and when those two lines cross, ebooks are gonna have to be
the way that writers earn their keep, not the way that they
promote the dead-tree editions.

2. Ebooks complement paper books. [Ebooks complement paper
books]. Having an ebook is good. Having a paper book is good.
Having both is even better. One reader wrote to me and said that
he read half my first novel from the bound book, and printed the
other half on scrap-paper to read at the beach. Students write to
me to say that it's easier to do their term papers if they can
copy and paste their quotations into their word-processors. Baen
readers use the electronic editions of their favorite series to
build concordances of characters, places and events.

3. Unless you own the ebook, you don't 0wn the book [Unless you
own the ebook, you don't 0wn the book]. I take the view that the
book is a "practice" -- a collection of social and economic and
artistic activities -- and not an "object." Viewing the book as a
"practice" instead of an object is a pretty radical notion, and
it begs the question: just what the hell is a book? Good
question. I write all of my books in a text-editor [TEXT EDITOR
SCREENGRAB] (BBEdit, from Barebones Software -- as fine a
text-editor as I could hope for). From there, I can convert them
into a formatted two-column PDF [TWO-UP SCREENGRAB]. I can turn
them into an HTML file [BROWSER SCREENGRAB]. I can turn them over
to my publisher, who can turn them into galleys, advanced review
copies, hardcovers and paperbacks. I can turn them over to my
readers, who can convert them to a bewildering array of formats
[DOWNLOAD PAGE SCREENGRAB]. Brewster Kahle's Internet Bookmobile
can convert a digital book into a four-color, full-bleed,
perfect-bound, laminated-cover, printed-spine paper book in ten
minutes, for about a dollar. Try converting a paper book to a PDF
or an html file or a text file or a RocketBook or a printout for
a buck in ten minutes! It's ironic, because one of the frequently
cited reasons for preferring paper to ebooks is that paper books
confer a sense of ownership of a physical object. Before the dust
settles on this ebook thing, owning a paper book is going to feel
less like ownership than having an open digital edition of the
text.

4. Ebooks are a better deal for writers. [Ebooks are a better
deal for writers] The compensation for writers is pretty thin on
the ground. *Amazing Stories,* Hugo Gernsback's original science
fiction magazine, paid a couple cents a word. Today, science
fiction magazines pay...a couple cents a word. The sums involved
are so minuscule, they're not even insulting: they're *quaint*
and *historical*, like the WHISKEY 5 CENTS sign over the bar at a
pioneer village. Some writers do make it big, but they're
*rounding errors* as compared to the total population of sf
writers earning some of their living at the trade. Almost all of
us could be making more money elsewhere (though we may dream of
earning a stephenkingload of money, and of course, no one would
play the lotto if there were no winners). The primary incentive
for writing has to be artistic satisfaction, egoboo, and a desire
for posterity. Ebooks get you that. Ebooks become a part of the
corpus of human knowledge because they get indexed by search
engines and replicated by the hundreds, thousands or millions.
They can be googled.

Even better: they level the playing field between writers and
trolls. When Amazon kicked off, many writers got their knickers
in a tight and powerful knot at the idea that axe-grinding yahoos
were filling the Amazon message-boards with ill-considered slams
at their work -- for, if a personal recommendation is the best
way to sell a book, then certainly a personal condemnation is the
best way to *not* sell a book. Today, the trolls are still with
us, but now, the readers get to decide for themselves. Here's a
bit of a review of Down and Out in the Magic Kingdom that was
recently posted to Amazon by "A reader from Redwood City, CA":

[QUOTED TEXT]

> I am really not sure what kind of drugs critics are
> smoking, or what kind of payola may be involved. But
> regardless of what Entertainment Weekly says, whatever
> this newspaper or that magazine says, you shouldn't
> waste your money. Download it for free from Corey's
> (sic) site, read the first page, and look away in
> disgust -- this book is for people who think Dan
> Brown's Da Vinci Code is great writing.

Back in the old days, this kind of thing would have really pissed
me off. Axe-grinding, mouth-breathing yahoos, defaming my good
name! My stars and mittens! But take a closer look at that
damning passage:

[PULL-QUOTE]

> Download it for free from Corey's site, read the first
> page

You see that? Hell, this guy is *working for me*! [ADDITIONAL
PULL QUOTES] Someone accuses a writer I'm thinking of reading of
paying off Entertainment Weekly to say nice things about his
novel, "a surprisingly bad writer," no less, whose writing is
"stiff, amateurish, and uninspired!" I wanna check that writer
out. And I can. In one click. And then I can make up my own mind.

You don't get far in the arts without healthy doses of both ego
and insecurity, and the downside of being able to google up all
the things that people are saying about your book is that it can
play right into your insecurities -- "all these people will have
it in their minds not to bother with my book because they've read
the negative interweb reviews!" But the flipside of that is the
ego: "If only they'd give it a shot, they'd see how good it is."
And the more scathing the review is, the more likely they are to
give it a shot. Any press is good press, so long as they spell
your URL right (and even if they spell your name wrong!).

5. Ebooks need to embrace their nature. [Ebooks need to embrace
their nature.] The distinctive value of ebooks is orthogonal to
the value of paper books, and it revolves around the mix-ability
and send-ability of electronic text. The more you constrain an
ebook's distinctive value propositions -- that is, the more you
restrict a reader's ability to copy, transport or transform an
ebook -- the more it has to be valued on the same axes as a
paper-book. Ebooks *fail* on those axes. Ebooks don't beat
paper-books for sophisticated typography, they can't match them
for quality of paper or the smell of the glue. But just try
sending a paper book to a friend in Brazil, for free, in less
than a second. Or loading a thousand paper books into a little
stick of flash-memory dangling from your keychain. Or searching a
paper book for every instance of a character's name to find a
beloved passage. Hell, try clipping a pithy passage out of a
paper book and pasting it into your sig-file.

6. Ebooks demand a different attention span (but not a shorter
one). [Ebooks demand a different attention span (but not a
shorter one).] Artists are always disappointed by their
audience's attention-spans. Go back far enough and you'll find
cuneiform etchings bemoaning the current Sumerian go-go lifestyle
with its insistence on myths with plotlines and characters and
action, not like we had in the old days. As artists, it would be
a hell of a lot easier if our audiences were more tolerant of our
penchant for boring them. We'd get to explore a lot more ideas
without worrying about tarting them up with easy-to-swallow
chocolate coatings of entertainment. We like to think of
shortened attention spans as a product of the information age,
but check this out:

[Nietzsche quote]

> To be sure one thing necessary above all: if one is to
> practice reading as an *art* in this way, something
> needs to be un-learned most thoroughly in these days.

In other words, if my book is too boring, it's because you're not
paying enough attention. Writers say this stuff all the time, but
this quote isn't from this century or the last. [Nietzsche quote
with attribution] It's from the preface to Nietzsche's "Genealogy
of Morals," published in *1887.*

Yeah, our attention-spans are *different* today, but they aren't
necessarily *shorter*. Warren Ellis's fans managed to hold the
storyline for Transmetropolitan [Transmet cover] in their minds
for *five years* while the story trickled out in monthly
funnybook installments. JK Rowlings's installments on the Harry
Potter series get fatter and fatter with each new volume. Entire
forests are sacrificed to long-running series fiction like Robert
Jordan's Wheel of Time books, each of which is approximately
20,000 pages long (I may be off by an order of magnitude one way
or another here). Sure, presidential debates are conducted in
soundbites today and not the days-long oratory extravaganzas of
the Lincoln-Douglas debates, but people manage to pay attention
to the 24-month-long presidential campaigns from start to finish.

7. We need *all* the ebooks. [We need *all* the ebooks] The vast
majority of the words ever penned are lost to posterity. No one
library collects all the still-extant books ever written and no
one person could hope to make a dent in that corpus of written
work. None of us will ever read more than the tiniest sliver of
human literature. But that doesn't mean that we can stick with
just the most popular texts and get a proper ebook revolution.

For starters, we're all edge-cases. Sure, we all have the shared
desire for the core canon of literature, but each of us want to
complete that collection with different texts that are as
distinctive and individualistic as fingerprints. If we all look
like we're doing the same thing when we read, or listen to music,
or hang out in a chatroom, that's because we're not looking
closely enough. The shared-ness of our experience is only present
at a coarse level of measurement: once you get into really
granular observation, there are as many differences in our
"shared" experience as there are similarities.

More than that, though, is the way that a large collection of
electronic text differs from a small one: it's the difference
between a single book, a shelf full of books and a library of
books. Scale makes things different. Take the Web: none of us can
hope to read even a fraction of all the pages on the Web, but by
analyzing the link structures that bind all those pages together,
Google is able to actually tease out machine-generated
conclusions about the relative relevance of different pages to
different queries. None of us will ever eat the whole corpus, but
Google can digest it for us and excrete the steaming nuggets of
goodness that make it the search-engine miracle it is today.

8. Ebooks are like paper books. [Ebooks are like paper books]. To
round out this talk, I'd like to go over the ways that ebooks are
more like paper books than you'd expect. One of the truisms of
retail theory is that purchasers need to come into contact with a
good several times before they buy -- seven contacts is tossed
around as the magic number. That means that my readers have to
hear the title, see the cover, pick up the book, read a review,
and so forth, seven times, on average, before they're ready to
buy.

There's a temptation to view downloading a book as comparable to
bringing it home from the store, but that's the wrong metaphor.
Some of the time, maybe most of the time, downloading the text of
the book is like taking it off the shelf at the store and looking
at the cover and reading the blurbs (with the advantage of not
having to come into contact with the residual DNA and burger king
left behind by everyone else who browsed the book before you).
Some writers are horrified at the idea that three hundred
thousand copies of my first novel were downloaded and "only" ten
thousand or so were sold so far. If it were the case that for
ever copy sold, thirty were taken home from the store, that would
be a horrifying outcome, for sure. But look at it another way: if
one out of every thirty people who glanced at the cover of my
book bought it, I'd be a happy author. And I am. Those downloads
cost me no more than glances at the cover in a bookstore, and the
sales are healthy.

We also like to think of physical books as being inherently
*countable* in a way that digital books aren't (an irony, since
computers are damned good at counting things!). This is
important, because writers get paid on the basis of the number of
copies of their books that sell, so having a good count makes a
difference. And indeed, my royalty statements contain precise
numbers for copies printed, shipped, returned and sold.

But that's a false precision. When the printer does a run of a
book, it always runs a few extra at the start and finish of the
run to make sure that the setup is right and to account for the
occasional rip, drop, or spill. The actual total number of books
printed is approximately the number of books ordered, but never
exactly -- if you've ever ordered 500 wedding invitations,
chances are you received 500-and-a-few back from the printer and
that's why.

And the numbers just get fuzzier from there. Copies are stolen.
Copies are dropped. Shipping people get the count wrong. Some
copies end up in the wrong box and go to a bookstore that didn't
order them and isn't invoiced for them and end up on a sale table
or in the trash. Some copies are returned as damaged. Some are
returned as unsold. Some come back to the store the next morning
accompanied by a whack of buyer's remorse. Some go to the place
where the spare sock in the dryer ends up.

The numbers on a royalty statement are actuarial, not actual.
They represent a kind of best-guess approximation of the copies
shipped, sold, returned and so forth. Actuarial accounting works
pretty well: well enough to run the juggernaut banking,
insurance, and gambling industries on. It's good enough for
divvying up the royalties paid by musical rights societies for
radio airplay and live performance. And it's good enough for
counting how many copies of a book are distributed online or off.

Counts of paper books are differently precise from counts of
electronic books, sure: but neither one is inherently countable.

And finally, of course, there's the matter of selling books.
However an author earns her living from her words, printed or
encoded, she has as her first and hardest task to find her
audience. There are more competitors for our attention than we
can possibly reconcile, prioritize or make sense of. Getting a
book under the right person's nose, with the right pitch, is the
hardest and most important task any writer faces.

#

I care about books, a lot. I started working in libraries and
bookstores at the age of 12 and kept at it for a decade, until I
was lured away by the siren song of the tech world. I knew I
wanted to be a writer at the age of 12, and now, 20 years later,
I have three novels, a short story collection and a nonfiction
book out, two more novels under contract, and another book in the
works. [BOOK COVERS] I've won a major award in my genre, science
fiction, [CAMPBELL AWARD] and I'm nominated for another one, the
2003 Nebula Award for best novelette. [NEBULA]

I own a *lot* of books. Easily more than 10,000 of them, in
storage on both coasts of the North American continent [LIBRARY
LADDER]. I have to own them, since they're the tools of my trade:
the reference works I refer to as a novelist and writer today.
Most of the literature I dig is very short-lived, it disappears
from the shelf after just a few months, usually for good. Science
fiction is inherently ephemeral. [ACE DOUBLES]

Now, as much as I love books, I love computers, too. Computers
are fundamentally different from modern books in the same way
that printed books are different from monastic Bibles: they are
malleable. Time was, a "book" was something produced by many
months' labor by a scribe, usually a monk, on some kind of
durable and sexy substrate like foetal lambskin. [ILLUMINATED
BIBLE] Gutenberg's xerox machine changed all that, changed a book
into something that could be simply run off a press in a few
minutes' time, on substrate more suitable to ass-wiping than
exaltation in a place of honor in the cathedral. The Gutenberg
press meant that rather than owning one or two books, a member of
the ruling class could amass a library, and that rather than
picking only a few subjects from enshrinement in print, a huge
variety of subjects could be addressed on paper and handed from
person to person. [KAPITAL/TIJUANA BIBLE]

Most new ideas start with a precious few certainties and a lot of
speculation. I've been doing a bunch of digging for certainties
and a lot of speculating lately, and the purpose of this talk is
to lay out both categories of ideas.

This all starts with my first novel, Down and Out in the Magic
Kingdom [COVER], which came out on January 9, 2003. At that time,
there was a lot of talk in my professional circles about, on the
one hand, the dismal failure of ebooks, and, on the other, the
new and scary practice of ebook "piracy." [alt.binaries.e-books
screengrab] It was strikingly weird that no one seemed to notice
that the idea of ebooks as a "failure" was at strong odds with
the notion that electronic book "piracy" was worth worrying
about: I mean, if ebooks are a failure, then who gives a rats if
intarweb dweebs are trading them on Usenet?

A brief digression here, on the double meaning of "ebooks." One
meaning for that word is "legitimate" ebook ventures, that is to
say, rightsholder-authorized editions of the texts of books,
released in a proprietary, use-restricted format, sometimes for
use on a general-purpose PC and sometimes for use on a
special-purpose hardware device like the nuvoMedia Rocketbook
[ROCKETBOOK]. The other meaning for ebook is a "pirate" or
unauthorized electronic edition of a book, usually made by
cutting the binding off of a book and scanning it a page at a
time, then running the resulting bitmaps through an optical
character recognition app to convert them into ASCII text, to be
cleaned up by hand. These books are pretty buggy, full of errors
introduced by the OCR. A lot of my colleagues worry that these
books also have deliberate errors, created by mischievous
book-rippers who cut, add or change text in order to "improve"
the work. Frankly, I have never seen any evidence that any
book-ripper is interested in doing this, and until I do, I think
that this is the last thing anyone should be worrying about.

Back to Down and Out in the Magic Kingdom [COVER]. Well, not yet.
I want to convey to you the depth of the panic in my field over
ebook piracy, or "bookwarez" as it is known in book-ripper
circles. Writers were joining the discussion on
alt.binaries.ebooks using assumed names, claiming fear of
retaliation from scary hax0r kids who would presumably screw up
their credit-ratings in retaliation for being called thieves. My
editor, a blogger, hacker and
guy-in-charge-of-the-largest-sf-line-in-the-world named Patrick
Nielsen Hayden posted to one of the threads in the newsgroup,
saying, in part [SCREENGRAB]:

> Pirating copyrighted etext on Usenet and elsewhere is going to
> happen more and more, for the same reasons that everyday folks
> make audio cassettes from vinyl LPs and audio CDs, and
> videocassette copies of store-bought videotapes. Partly it's
> greed; partly it's annoyance over retail prices; partly it's the
> desire to Share Cool Stuff (a motivation usually underrated by
> the victims of this kind of small-time hand-level piracy).
> Instantly going to Defcon One over it and claiming it's morally
> tantamount to mugging little old ladies in the street will make
> it kind of difficult to move forward from that position when it
> doesn't work. In the 1970s, the record industry shrieked that
> "home taping is killing music." It's hard for ordinary folks to
> avoid noticing that music didn't die. But the record industry's
> credibility on the subject wasn't exactly enhanced.

Patrick and I have a long relationship, starting when I was 18
years old and he kicked in toward a scholarship fund to send me
to a writers' workshop, continuing to a fateful lunch in New York
in the mid-Nineties when I showed him a bunch of Project
Gutenberg texts on my Palm Pilot and inspired him to start
licensing Tor's titles for PDAs [PEANUTPRESS SCREENGRAB], to the
turn-of-the-millennium when he bought and then published my first
novel (he's bought three more since -- I really like Patrick!).

Right as bookwarez newgroups were taking off, I was shocked silly
by legal action by one of my colleagues against AOL/Time-Warner
for carrying the alt.binaries.ebooks newsgroup. This writer
alleged that AOL should have a duty to remove this newsgroup,
since it carried so many infringing files, and that its failure
to do so made it a contributory infringer, and so liable for the
incredibly stiff penalties afforded by our newly minted copyright
laws like the No Electronic Theft Act and the loathsome Digital
Millennium Copyright Act or DMCA.

Now there was a scary thought: there were people out there who
thought the world would be a better place if ISPs were given the
duty of actively policing and censoring the websites and
newsfeeds their customers had access to, including a requirement
that ISPs needed to determine, all on their own, what was an
unlawful copyright infringement -- something more usually left up
to judges in the light of extensive amicus briefings from
esteemed copyright scholars [WIND DONE GONE GRAPHIC].

This was a stupendously dumb idea, and it offended me down to my
boots. Writers are supposed to be advocates of free expression,
not censorship. It seemed that some of my colleagues loved the
First Amendment, but they were reluctant to share it with the
rest of the world.

Well, dammit, I had a book coming out, and it seemed to be an
opportunity to try to figure out a little more about this ebook
stuff. On the one hand, ebooks were a dismal failure. On the
other hand, there were more books posted to alt.binaries.ebooks
every day.

This leads me into the two certainties I have about ebooks:

1. More people are reading more words off more screens every day
[GRAPHIC]

2. Fewer people are reading fewer words off fewer pages every day
[GRAPHIC]

These two certainties begged a lot of questions.

[CHART: EBOOK FAILINGS]

* Screen resolutions are too low to effectively replace paper

* People want to own physical books because of their visceral
appeal (often this is accompanied by a little sermonette on how
good books smell, or how good they look on a bookshelf, or how
evocative an old curry stain in the margin can be)

* You can't take your ebook into the tub

* You can't read an ebook without power and a computer

* File-formats go obsolete, paper has lasted for a long time

None of these seemed like very good explanations for the
"failure" of ebooks to me. If screen resolutions are too low to
replace paper, then how come everyone I know spends more time
reading off a screen every year, up to and including my sainted
grandmother (geeks have a really crappy tendency to argue that
certain technologies aren't ready for primetime because their
grandmothers won't use them -- well, my grandmother sends me
email all the time. She types 70 words per minute, and loves to
show off grandsonular email to her pals around the pool at her
Florida retirement condo)?

The other arguments were a lot more interesting, though. It
seemed to me that electronic books are *different* from paper
books, and have different virtues and failings. Let's think a
little about what the book has gone through in years gone by.
This is interesting because the history of the book is the
history of the Enlightenment, the Reformation, the Pilgrims, and,
ultimately the colonizing of the Americas and the American
Revolution.

Broadly speaking, there was a time when books were hand-printed
on rare leather by monks. The only people who could read them
were priests, who got a regular eyeful of the really cool
cartoons the monks drew in the margins. The priests read the
books aloud, in Latin [LATIN BIBLE] (to a predominantly
non-Latin-speaking audience) in cathedrals, wreathed in pricey
incense that rose from censers swung by altar boys.

Then Johannes Gutenberg invented the printing press. Martin
Luther turned that press into a revolution. [LUTHER BIBLE] He
printed Bibles in languages that non-priests could read, and
distributed them to normal people who got to read the word of God
all on their own. The rest, as they say, is history.

Here are some interesting things to note about the advent of the
printing press:

[CHART: LUTHER VERSUS THE MONKS]

* Luther Bibles lacked the manufacturing quality of the
illuminated Bibles. They were comparatively cheap and lacked the
typographical expressiveness that a really talented monk could
bring to bear when writing out the word of God

* Luther Bibles were utterly unsuited to the traditional use-case
for Bibles. A good Bible was supposed to reinforce the authority
of the man at the pulpit. It needed heft, it needed
impressiveness, and most of all, it needed rarity.

* The user-experience of Luther Bibles sucked. There was no
incense, no altar boys, and who (apart from the priesthood) knew
that reading was so friggin' hard on the eyes?

* Luther Bibles were a lot less trustworthy than the illuminated
numbers. Anyone with a press could run one off, subbing in any
apocryphal text he wanted -- and who knew how accurate that
translation was? Monks had an entire Papacy behind them, running
a quality-assurance operation that had stood Europe in good stead
for centuries.

In the late nineties, I went to conferences where music execs
patiently explained that Napster was doomed, because you didn't
get any cover-art or liner-notes with it, you couldn't know if
the rip was any good, and sometimes the connection would drop
mid-download. I'm sure that many Cardinals espoused the points
raised above with equal certainty.

What the record execs and the cardinals missed was all the ways
that Luther Bibles kicked ass:

[CHART: WHY LUTHER BIBLES KICKED ASS]

* They were cheap and fast. Loads of people could acquire them
without having to subject themselves to the authority and
approval of the Church

* They were in languages that non-priests could read. You no
longer had to take the Church's word for it when its priests
explained what God really meant

* They birthed a printing-press ecosystem in which lots of books
flourished. New kinds of fiction, poetry, politics, scholarship
and so on were all enabled by the printing presses whose initial
popularity was spurred by Luther's ideas about religion.

Note that all of these virtues are orthogonal to the virtues of a
monkish Bible. That is, none of the things that made the
Gutenberg press a success were the things that made monk-Bibles a
success.

By the same token, the reasons to love ebooks have precious
little to do with the reasons to love paper books.

[CHART: WHY EBOOKS KICK ASS]

* They are easy to share. Secrets of Ya-Ya Sisterhood went from a
midlist title to a bestseller by being passed from hand to hand
by women in reading circles. Slashdorks and other netizens have
social life as rich as reading-circlites, but they don't ever get
to see each other face to face; the only kind of book they can
pass from hand to hand is an ebook. What's more, the single
factor most correlated with a purchase is a recommendation from a
friend -- getting a book recommended by a pal is more likely to
sell you on it than having read and enjoyed the preceding volume
in a series!

* They are easy to slice and dice. This is where the Mac
evangelist in me comes out -- minority platforms matter. It's a
truism of the Napsterverse that most of the files downloaded are
bog-standard top-40 tracks, like 90 percent or so, and I believe
it. We all want to popular music. That's why it's popular. But
the interesting thing is the other ten percent. Bill Gates told
the New York Times that Microsoft lost the search wars by doing
"a good job on the 80 percent of common queries and ignor[ing]
the other stuff. But it's the remaining 20 percent that counts,
because that's where the quality perception is." Why did Napster
captivate so many of us? Not because it could get us the top-40
tracks that we could hear just by snapping on the radio: it was
because 80 percent of the music ever recorded wasn't available
for sale anywhere in the world, and in that 80 percent were all
the songs that had ever touched us, all the earworms that had
been lodged in our hindbrains, all the stuff that made us smile
when we heard it. Those songs are different for all of us, but
they share the trait of making the difference between a
compelling service and, well, top-40 Clearchannel radio
programming. It was the minority of tracks that appealed to the
majority of us. By the same token, the malleability of electronic
text means that it can be readily repurposed: you can throw it on
a webserver or convert it to a format for your favorite PDA; you
can ask your computer to read it aloud or you can search the text
for a quotation to cite in a book report or to use in your sig.
In other words, most people who download the book do so for the
predictable reason, and in a predictable format -- say, to sample
a chapter in the HTML format before deciding whether to buy the
book -- but the thing that differentiates a boring e-text
experience from an exciting one is the minority use -- printing
out a couple chapters of the book to bring to the beach rather
than risk getting the hardcopy wet and salty.

Tool-makers and software designers are increasingly aware of the
notion of "affordances" in design. You can bash a nail into the
wall with any heavy, heftable object from a rock to a hammer to a
cast-iron skillet. However, there's something about a hammer that
cries out for nail-bashing, it has affordances that tilt its
holder towards swinging it. And, as we all know, when all you
have is a hammer, everything starts to look like a nail.

The affordance of a computer -- the thing it's designed to do --
is to slice-and-dice collections of bits. The affordance of the
Internet is to move bits at very high speed around the world at
little-to-no cost. It follows from this that the center of the
ebook experience is going to involve slicing and dicing text and
sending it around.

Copyright lawyers have a word for these activities: infringement.
That's because copyright gives creators a near-total monopoly
over copying and remixing of their work, pretty much forever
(theoretically, copyright expires, but in actual practice,
copyright gets extended every time the early Mickey Mouse
cartoons are about to enter the public domain, because Disney
swings a very big stick on the Hill).

This is a huge problem. The biggest possible problem. Here's why:

[CHART: HOW BROKEN COPYRIGHT SCREWS EVERYONE]

* Authors freak out. Authors have been schooled by their peers
that strong copyright is the only thing that keeps them from
getting savagely rogered in the marketplace. This is pretty much
true: it's strong copyright that often defends authors from their
publishers' worst excesses. However, it doesn't follow that
strong copyright protects you from your *readers*.

* Readers get indignant over being called crooks. Seriously.
You're a small businessperson. Readers are your customers.
Calling them crooks is bad for business.

* Publishers freak out. Publishers freak out, because they're in
the business of grabbing as much copyright as they can and
hanging onto it for dear life because, dammit, you never know.
This is why science fiction magazines try to trick writers into
signing over improbable rights for things like theme park rides
and action figures based on their work -- it's also why literary
agents are now asking for copyright-long commissions on the books
they represent: copyright covers so much ground and takes to long
to shake off, who wouldn't want a piece of it?

* Liability goes through the roof. Copyright infringement,
especially on the Net, is a supercrime. It carries penalties of
$150,000 per infringement, and aggrieved rights-holders and their
representatives have all kinds of special powers, like the
ability to force an ISP to turn over your personal information
before showing evidence of your alleged infringement to a judge.
This means that anyone who suspects that he might be on the wrong
side of copyright law is going to be terribly risk-averse:
publishers non-negotiably force their authors to indemnify them
from infringement claims and go one better, forcing writers to
prove that they have "cleared" any material they quote, even in
the case of brief fair-use quotations, like song-titles at the
opening of chapters. The result is that authors end up assuming
potentially life-destroying liability, are chilled from quoting
material around them, and are scared off of public domain texts
because an honest mistake about the public-domain status of a
work carries such a terrible price.

* Posterity vanishes. In the Eldred v. Ashcroft Supreme Court
hearing last year, the court found that 98 percent of the works
in copyright are no longer earning money for anyone, but that
figuring out who these old works belong to with the degree of
certainty that you'd want when one mistake means total economic
apocalypse would cost more than you could ever possibly earn on
them. That means that 98 percent of works will largely expire
long before the copyright on them does. Today, the names of
science fiction's ancestral founders -- Mary Shelley, Arthur
Conan Doyle, Edgar Allan Poe, Jules Verne, HG Wells -- are still
known, their work still a part of the discourse. Their spiritual
descendants from Hugo Gernsback onward may not be so lucky -- if
their work continues to be "protected" by copyright, it might
just vanish from the face of the earth before it reverts to the
public domain.

This isn't to say that copyright is bad, but that there's such a
thing as good copyright and bad copyright, and that sometimes,
too much good copyright is a bad thing. It's like chilis in soup:
a little goes a long way, and too much spoils the broth.

From the Luther Bible to the first phonorecords, from radio to
the pulps, from cable to MP3, the world has shown that its first
preference for new media is its "democratic-ness" -- the ease
with which it can reproduced.

(And please, before we get any farther, forget all that business
about how the Internet's copying model is more disruptive than
the technologies that proceeded it. For Christ's sake, the
Vaudeville performers who sued Marconi for inventing the radio
had to go from a regime where they had *one hundred percent*
control over who could get into the theater and hear them perform
to a regime where they had *zero* percent control over who could
build or acquire a radio and tune into a recording of them
performing. For that matter, look at the difference between a
monkish Bible and a Luther Bible -- next to that phase-change,
Napster is peanuts)

Back to democratic-ness. Every successful new medium has traded
off its artifact-ness -- the degree to which it was populated by
bespoke hunks of atoms, cleverly nailed together by master
craftspeople -- for ease of reproduction. Piano rolls weren't as
expressive as good piano players, but they scaled better -- as
did radio broadcasts, pulp magazines, and MP3s. Liner notes, hand
illumination and leather bindings are nice, but they pale in
comparison to the ability of an individual to actually get a
copy of her own.

Which isn't to say that old media die. Artists still
hand-illuminate books; master pianists still stride the boards at
Carnegie Hall, and the shelves burst with tell-all biographies of
musicians that are richer in detail than any liner-notes booklet.
The thing is, when all you've got is monks, every book takes on
the character of a monkish Bible. Once you invent the printing
press, all the books that are better-suited to movable type
migrate into that new form. What's left behind are those items
that are best suited to the old production scheme: the plays that
*need* to be plays, the books that are especially lovely on
creamy paper stitched between covers, the music that is most
enjoyable performed live and experienced in a throng of humanity.

Increased democratic-ness translates into decreased control: it's
a lot harder to control who can copy a book once there's a
photocopier on every corner than it is when you need a monastery
and several years to copy a Bible. And that decreased control
demands a new copyright regime that rebalances the rights of
creators with their audiences.

For example, when the VCR was invented, the courts affirmed a new
copyright exemption for time-shifting; when the radio was
invented, the Congress granted an anti-trust exemption to the
record labels in order to secure a blanket license; when cable TV
was invented, the government just ordered the broadcasters to
sell the cable-operators access to programming at a fixed rate.

Copyright is perennially out of date, because its latest rev was
generated in response to the last generation of technology. The
temptation to treat copyright as though it came down off the
mountain on two stone tablets (or worse, as "just like" real
property) is deeply flawed, since, by definition, current
copyright only considers the last generation of tech.

So, are bookwarez in violation of copyright law? Duh. Is this the
end of the world? *Duh*. If the Catholic church can survive the
printing press, science fiction will certainly weather the advent
of bookwarez.

#

Lagniappe [Lagniappe]

We're almost done here, but there's one more thing I'd like to do
before I get off the stage. [Lagniappe: an unexpected bonus or
extra] Think of it as a "lagniappe" -- a little something extra
to thank you for your patience.

About a year ago, I released my first novel, Down and Out in the
Magic Kingdom, on the net, under the terms of the most
restrictive Creative Commons license available. All it allowed my
readers to do was send around copies of the book. I was
cautiously dipping my toe into the water, though at the time, it
felt like I was taking a plunge.

Now I'm going to take a plunge. Today, I will re-license the text
of Down and Out in the Magic Kingdom under a Creative Commons
"Attribution-ShareAlike-Derivs-Noncommercial" license [HUMAN
READABLE LICENSE], which means that as of today, you have my
blessing to create derivative works from my first book. You can
make movies, audiobooks, translations, fan-fiction, slash fiction
(God help us) [GEEK HIERARCHY], furry slash fiction [GEEK
HIERARCHY DETAIL], poetry, translations, t-shirts, you name it,
with two provisos: that one, you have to allow everyone else to
rip, mix and burn your creations in the same way you're hacking
mine; and on the other hand, you've got to do it noncommercially.

The sky didn't fall when I dipped my toe in. Let's see what
happens when I get in up to my knees.

The text with the new license will be online before the end of
the day. Check craphound.com/down for details.

Oh, and I'm also releasing the text of this speech under a
Creative Commons Public Domain dedication, [Public domain
dedication] giving it away to the world to do with as it see
fits. It'll be linked off my blog, Boing Boing, before the day is
through.

#

EOF

That's the end of this talk, for now. Thank you all for your kind
attention. I hope that you'll keep on the lookout for more
detailed topology of the shape of ebooks and help me spot them
here in plain sight.


Cory Doctorow

Midflight over Texas

February 4, 2004

Posted by roadnick at 07:08 PM | Comments () | TrackBack

February 06, 2004

Cringely's predictions

Robert Cringely was right on 12 of his 15 predictions for 2003, and now offers his predictions for 2004.

Posted by roadnick at 06:48 PM | Comments () | TrackBack

February 03, 2004

Integrating applications with Web services using WebSphere Studio V5.1.1

Now updated on developerWorks: Integrating applications with Web services using WebSphere Studio V5.1.1: "This tutorial looks at making your application Web-services ready using WebSphere Studio's tools to wrap an existing application as a Web service, announce it using a UDDI directory, and to discover and use Web services within your applications. It also looks at how to deploy your application to a WebSphere Application Server."

Posted by roadnick at 05:56 PM | Comments () | TrackBack

February 01, 2004

.NET and XMLReader

In the InformIT XML Reference Guide: .NET and XMLReader

In the world of XML, it's natural to think of XML in terms of two contexts: DOM and SAX. DOM is flexible, in that it provides the ability to navigate around the document tree and make changes, but SAX is fast, in that it doesn't load the entire document into memory, looking instead at just a single node at a time in a forward-only, read-only manner. ...
Posted by roadnick at 10:53 PM | Comments () | TrackBack

January 29, 2004

Microsoft to hold off on IE changes

Just posted at InformIT:

Microsoft has announced that it would hold off on the "minor changes" it would need to make to Internet Explorer in order to comply with the adverse ruling it received in the the Eolas case.

This case is the definition of ambivalence for me.

Sigh.

Posted by roadnick at 10:03 PM | Comments () | TrackBack

January 26, 2004

Opportunity scores interplanetary hole in one

Well, Opportunity has landed on the opposite side of Mars from Spirit, and (for the moment, at least) appears to be in excellent health. It has landed in a small impact crater which will give it the opportunity to study different layers of the Martian soil without doing much digging, but is shallow enough so it can ultimately drive out and head for a larger crater nearby.

Let's see how long this one lasts.

Posted by roadnick at 10:42 AM | Comments () | TrackBack

January 25, 2004

Mike Rowe Soft.com -- chalk one up for the little guy

Microsoft has admitted that "perhaps it had taken its trademark rights 'a little too seriously'" when it sued 17 year old Mike Rowe over his domain name, MikeRoweSoft.com. This week the case was settled, with Microsoft agreeing to trade Rowe the domain for "a free Microsoft Xbox video-game console and a free trip to the company's Redmond campus for the Microsoft Research Tech Fest" as well as Microsoft paying for him to pursue Microsoft certification and any costs involved in moving his web design business to a new domain. Microsoft will also direct mikerowesoft.com's traffic to the new domain.

Posted by roadnick at 06:34 PM | Comments () | TrackBack

DOM and .NET

Well, I've finally gotten around to writing about .NET, with a section on DOM and .NET at the InformIT XML Reference Guide. It explains how to create an application in .NET that traverses the Document Object Model of an XML Document object. It uses Visual Basic .NET, but the concepts are the same for C#.

Posted by roadnick at 03:59 PM | Comments () | TrackBack

Acute PVR Disorder

I covet TiVo. I will one day own a TiVo. Or rather, a PVR or some sort. I know it's possible to build your own, but as Matt Reider discovered,
it's tougher than it seems.

Posted by roadnick at 03:24 AM | Comments () | TrackBack

January 23, 2004

Microsoft and XML patents

Well, I've finally taken the gloves off and posted a snarky posting to InformIT, What? You mean you can read an XML file from another application?

The scoop? Microsoft is now trying to patent methods for reading an XML file produced by another application as a way to keep companies from building competing products that read a Word file.

But I've dropped my usual objective demeanor on this one. Let's see if anybody notices or -- gasp -- comments on the InformIT blog. I hope so.

Posted by roadnick at 05:48 PM | Comments () | TrackBack

Comment spam of the annoying kind

I've just deleted exactly 314 comment spams sent to this blog. Fortunately, I am conversant enough to simply wipe them out with a single SQL statement to the database rather than doing it individually, so the most annoying part was simply waiting for the scumbag to finish so I didn't have to rebuild the site more than once.

But I'm truly, deeply, annoyed now. It's one thing to send one or two comments, but this moron sent a comment to literally every single post on the site. That, as the Irish say, is going beyond the beyond. So, since I have the IP address the comments were posted from, I have sent the following email to FAST.NET, the spammers connection ISP:

--------
Ladies and/or gentlemen --

I have just deleted some 300 identical comment spams to my website. I
am including a sample below. These were likely done with a script, as
they arrived 2-3 per minute. I don't know (or care) whether you host
any of the domains this person is trying to advertise, but the actual
spams originated on your network. They were sent between 3:27pm and
5:12pm EST today.

Please let me know what action you will be taking.

Thank you,

Nicholas Chase

--------------------- MESSAGE INCLUDED BELOW ---------------------

IP Address: 207.29.194.4
Name: propecia
Email Address: puner_vol@freemail.com
URL: (snipped)

(rest of the message snipped for obvious reasons)

------------

I'll keep you posted on what Fast.net actually does.

Posted by roadnick at 05:33 PM | Comments () | TrackBack

Generating favicons

I've been meaning to create a favicon for this site for a while, and now that I've found Chami.com's FavIcon from Pics, I can do that. Now I just have to find that organ grinder and get permission to use the picture of her monkey.

Posted by roadnick at 03:23 PM | Comments () | TrackBack

January 22, 2004

The footmouse

I have some pretty significant carpal tunnel problems. Before I got a split keyboard, I looked like I had a half a golf ball under my skin. Six months later, it looks like half a grape, but I'm still in some pretty significant pain most days. So I'm intrigued by the NoHands Mouse. It's a pair of foot pedals, with one used to move the mouse, and the other for clicking. At about $300 bucks, though, it's going to have to wait for a while.

I'd be interested if anybody's used, it, or anything like it, though.

Posted by roadnick at 04:25 PM | Comments () | TrackBack

Contact with Spirit lost

Apparently scientists have lost contact with Spirit, the Mars rover. it's been over 24 hours since they were able to talk to it.

Theories abound:

"There is no one single fault that explains all the observables," Theisinger said. Among the possibilities could be a software glitch that caused the rover to reset itself, or a power surge, or a temperature-related hardware failure, or perhaps even a cosmic-ray hit, he said.

And this isn't the first time that this kind of thing has come up. During the Mars Pathfinder mission, engineers had to reset the rover's software serveral times.

So here's what I don't understand: shouldn't the first order of business be to figure out why we keep losing these things? I mean, I would assume that an $820 million project includes some pretty extensive software testing. (But then, I would have assumed the all the teams working on such a project would have been using the same units of measurement, which I guess hasn't been a safe assumption on past projects.)

Not that I necessarily agree with my friend Eric's notion that there's something up there that doesn't want us poking around -- though I can never tell when he's joking -- but it seems to me that getting this kind of information would be a project worth doing.

Posted by roadnick at 04:17 PM | Comments () | TrackBack

January 19, 2004

News from the world of DSDL

OK, the first posting from the list is up. News from the world of DSDL incorporates items number 2, 3, 4 and 5 and talks about Document Schema Definition Languages, which aims to make it easier to validate documents that have data from more than one namespace, such as a SOAP envelope or an XHTML document with SVG embedded within it.

Posted by roadnick at 11:03 PM | Comments () | TrackBack

MikeRoweSoft vs. Microsoft

If you ask me, they should have quit while they were behind. When a Canadian teenager, Mike Rowe, registered MikeRoweSoft.com for his web design company, they offered him a paltry $10 (Canadian!) to give up the name. He told them he wanted $1000, so now they're suing. Come on, Bill, you light your cigars with bills bigger than that.

(UPDATE: Another story in The Register says that he asked for not $1000, but $10,000. Which is a different animal, unfortunately.)

Posted by roadnick at 02:03 PM | Comments () | TrackBack

January 18, 2004

199 reasons I'm behind

I understand that there are people who read all of the blogs on their blogroll every day, or at least, every few days. And they even find time to comment on them. I want to know who these people are and how they manage to make a living.

I have, in essence, three blogs that I am supposed to be updating on a regular basis. I'm supposed to do at least three blogs a week for the XML Reference Guide, I've got this one, and I've got The Vanguard Science Fiction Report, which has been fallow so long I'm embarrassed to admit that it's mine. So today, now that the weeks of emergency room visits and surgeries in the family have settled down into the normal level of chaos, I sat down and went through my blogroll for potential posting material.

I thought it might be a little educational to document the "flow" of my surfing, and how it eventually gets turned into actual postings, so here is the list of the "first cut". These are postings that may eventually wind up on one of my three blogs:

  1. Incremental XML Parsing and Validation in a Text Editor
  2. XML 2003 session report: Combining multiple vocabularies without tears
  3. XML 2003 session report: News from the world of DSDL
  4. ISO/IEC 19757 - DSDL Document Schema Definition Languages
  5. Namespace Routing Language (NRL)
  6. Extreme Markup Languages 2004
  7. Escaping the Googlearchy
  8. Blogging Locally
  9. DocBook NG: The “Absinthe” Release
  10. DocBook NG: The “Bourbon” Release
  11. Going to Extremes!
  12. New Year Resolutions 2004.
  13. Reuters: Google Planning Email-based AdWords Service
  14. John Battelle's Searchblog
  15. eBay = The Fed
  16. IBM Almaden Research Center WebFountain
  17. Rocket Man
  18. Fontifier
  19. The XML in Apple's Keynote
  20. A specious supercomputer argument in the Irish Times
  21. Draconian XML processing
  22. Sleep Paralysis
  23. Spontaneous screen videos
  24. Dynamic categories
  25. Turning consumers into producers
  26. Server-based XPath search
  27. Databases get a grip on XML
  28. Thinking the Unthinkable about Microsoft
  29. Longhorn SDK
  30. PhotoGallery
  31. Two Laws of Explanation
  32. SIMILE : Semantic Interoperability of Metadata and Information in unLike Environments
  33. Quint on the FREDDY VS JASON dvd
  34. An Assload Of New Trailers Online!! STEPFORD, CB:TM, HIDALGO, SPARTAN, SCOOBY 2, ALGIERS, TOKYO GODFATHERS!!
  35. Van Helsing Trailer
  36. Batman Already On_SMALLVILLE??
  37. The WB's Stillborn FEARLESS!!
  38. WONDERFALLS
  39. Craigslist RSS Search Script
  40. Simplerwork
  41. Your final 3 hours
  42. Lost Who episode found
  43. SCI FI picks up Andromeda, Beastmaster
  44. Casting for Hitchhiker's Guide announced
  45. A real "space opera" in development from Turing Opera Workshop
  46. LeGuin's Earthsea to become Sci-Fi Mini-series
  47. Perchance to dream - anything you like with the fantasy machine
  48. A Real-Life Debate on Free Expression in a Cyberspace City
  49. 2003 in Review: DRM Technology
  50. Northwest gave U.S. data on passengers
  51. Luke Cage Making Progress at Sony
  52. CONFIRMED: Bob Hoskins Part of the Mask Cast
  53. Comic Book: The Movie Trailer Online!
  54. ELEKTRA MOVIE UPDATE
  55. Pre-Order the 2004 Superhero Movie Novelizations!
  56. JetBlue Redux: Northwest is guilty of violating passenger privacy
  57. New tech claims to detect lying in real time
  58. Safety killed the (Hubble) telescope star
  59. A version of Windows for every geek worthy of that name
  60. MoveOn.org demonstrates the growing power of the 'net in US politics
  61. Bush outlines plan for moon rendezvous by 2020
  62. The Internet gives a voice to Death Row, but not everyone's happy
  63. The Battle of Serenity Game
  64. Get your name.name domain
  65. US using EU airline data to 'test' CAPPS II snoop system
  66. SCO sort of thinks there are Linux IP violations, but isn't quite sure
  67. Niue is dead! Long live .nu!
  68. Nokia to release Perl for smartphones
  69. CinemaNow debuts download-to-own movies
  70. Internet 'Geek' Image Shattered by New Study
  71. We finally made it! Confluence 1.0b1!
  72. Wondering why your WAR is slow? Think of your timezone!
  73. SiteMesh Overview
  74. Jira
  75. The anatomy of a bug
  76. Sauron’s Eminent Domain
  77. Find Some Free Fonts
  78. Format an RSS Feed and Put It On Your Site
  79. New Google Features -- Travel and Tracking Numbers
  80. Watching Google Like a Hawk
  81. YSearch
  82. Google Labs
  83. PR Newswire's RSS (RDF Site Summary) Feed
  84. PR Bop
  85. Sun Announces Preview of Java Studio Creator Application Development Tool
  86. Integration: From Big Bang to Controlled Explosions
  87. Steve Mills On The IBM-Microsoft Web Services Partnership
  88. BEA, Microsoft, and Tibco Release WS-Eventing Specification
  89. StrikeIron Announces General Availability of the StrikeIron Web Services Analyzer
  90. Web Services in Action: Aligning IT with Business Objectives
  91. WS-I Make Available Drafts of Basic Profile Attachments Work
  92. BizDex: ebXML And Web Services To Go The Last Mile
  93. Four Ways to Know Your WSDL
  94. A Design Center for Web Services
  95. Mindreef Announces Availability of SOAPscope 3.0 Web Services Diagnostics System
  96. DreamFactory Launches Browser-Based Tool For Developing Rich Web Services Client
  97. Web Services Networks
  98. If You Like Web Services Standards You Would Love XML 2003
  99. Patterns: Service Oriented Architecture and Web Services - IBM Redbook
  100. Decentralised social networking
  101. Looking For a Gig
  102. On Postel, Again
  103. Technology Predictor Success Matrix
  104. History of XML Error Handling
  105. On Writing XML
  106. The truth about XML
  107. Microsoft Web services plan targets Java
  108. Straight talk on Web services
  109. Longhorn and the battle for Web services
  110. Breaking the logjam on Web services
  111. The real deal on .Net
  112. Taking XML's measure
  113. Longhorn and the battle for Web services
  114. Why Microsoft needs IBM this time around
  115. Developers gripe about IE standards inaction
  116. Raising the XML flag
  117. A Web services wish list
  118. Novell targets Web services security
  119. Free Writing and Music - as in Speech (MLP)
  120. What Good is the Second Amendment?
  121. CBS May Reject MoveOn.org Superbowl Ad
  122. Simulating Psychosis
  123. What Good is the Bill of Rights?
  124. Mars photo
  125. Pros and fans
  126. Which Star Trek Captain are you?
  127. Which Lord of the Rings character and personality problem are you?
  128. Lot auctions
  129. Rental Car Horror Story
  130. Isle of Man is the new M4 corridor
  131. Death of the desktop on the way in three years
  132. 5 years ago... Politicians warned to watch out for the web
  133. SAP Launches RFID Solution
  134. EFF Files Amicus in DirecTV 11th Circuit Appeal
  135. ACLU Defends Rush's Privacy Rights
  136. Web cam watchers help woman kicked by horse
  137. Security experts look to agriculture for virus clues
  138. Farenheit 451 + 1984 = Paranoia
  139. Hack for the Homeless: Primative Yet Useful
  140. A 'Xen' State of Being
  141. Secrecy Suddenly a Campaign Issue
  142. CBS Shields Pigskin Fans From Ads
  143. Florida Video Law: Parents Decide
  144. Diebold Gets Stay in California
  145. Doc Claims Human Clone Implant
  146. Off To A Good Start
  147. Cutting The Cheese
  148. Movable Style
  149. YAHTZEE!
  150. The Perfect 404
  151. Elastic Design
  152. Creativity
  153. Back to CSS Basics 3
  154. TouchGraph
  155. Off-Site Popups
  156. Microsoft: Communicate Or Die
  157. Innovation is Useless
  158. Top 20 Groups
  159. Carnival of the Capitalists by Ensight.org
  160. Back to Basics Part 3 — What’s in a hack?
  161. HTTP error pages for weblogs!
  162. Cute cuddly robots of DOOM
  163. Church Sign Generator used for fraud!
  164. Tat, meet tit
  165. Whidbey Integrated Web Services
  166. More on WS-Eventing
  167. WS-Security meets Kerberos
  168. Dutchtub
  169. Disaster photos
  170. Better MIDI sounds
  171. Scaling the Death Stars
  172. Honda Civic as H-Wing
  173. A Taste of Our Own Poison
  174. New "everyday neuroscience" book from author of Emergence
  175. nevermind
  176. and the winners are
  177. “Go find me a way to do this.”
  178. more please
  179. Common(s) Sense of Thomas Paine
  180. Dems on the Supreme Court
  181. 11 Top US Papers Ignoring Cheney's Pending Bribery Investigation
  182. Let's Send W to Mars
  183. PETA Gives Birth to Baby PETA
  184. Barlow on Spalding Gray: "Is he finally swimming to Cambodia?"
  185. Conservatives ALWAYS ADMIT THEYRE WRONG -- a hundred years later!
  186. more adventures in DEHUMANIZATION
  187. Sean Penn, DynCorp, and I TOLD YOU SO
  188. Bush environmental "achievements" for 2003: from Sierra Club's list
  189. Dr Phil versus Maury Povich - who'd win in a fight? (stuff that just aint right #2)
  190. Paranoid fears coming true in Ashcroft era
  191. And some XML tools mentioned on Cafe Con Leche:

  192. Arabica
  193. Render X Barcodes
  194. XQuisitor
  195. <oxygen />
  196. XMLBuddy™ 2.0
  197. Relaxer
  198. Render X XEP XSL Rendering Engine
  199. Python bindings for XML Security Library
  200. Mozilla 1.6 (now supporting "XML, CSS, XSLT, XUL, HTML, XHTML, MathML, SVG, and lots of other crunchy XML goodness.")

Even I can't believe how long the list is.

As you can see, it's a rather eclectic group, but it also shows the pattern of how I surf. (Note that I didn't even touch Op-Ed News today, because I know I have enough material for this blog, which is the only place it belongs, or the W3C because I've adopted a "monthly" schedule for them on InformIT.)

Over the next week or so, you can see what makes the cut and what doesn't, and what leads to other things.

Posted by roadnick at 10:25 PM | Comments () | TrackBack

How to survive the changes to IE

So I posted over at InformIT about How to survive the changes to IE.

So what are the actual changes? Well, it turns out to not be as bad as originally thought. The patent covers the automatic loading of an application that resides on a remote server, so a page either needs to avoid automatically loading the application or loading it from a remote server. For the former, IE will pop up a window asking the user to click a button to load the Active X control. For the latter, Microsoft has guidance on embedding the data directly into the page so that it doesn't actually have to be loaded remotely. They also provide a look at using JavaScript to create the object tag in such a way that the patent isn't violated, but you don't have to jump through a hundred hoops to keep the dialogue box from coming up.

What I want to know is: how does this embedding affect security? Is it possible that slimebags are currently embedding the code in the page to avoid warnings about downloading controls?

Posted by roadnick at 09:11 PM | Comments () | TrackBack

Technology, social norms, and why it matters

More fodder for discusson on InformIT: Technology, social norms, and why it matters

Does technology shape us, or do we shape technology? Or is it a little bit of both? I think there's an inexorable cycle, in which we find ourselves rocked by a new paradigm, then adjust to it as though we'd never lived without it, and then start all over again. For example, take just the last century or so. We started out terrified of electricity "leaking" out of wall sockets. Then, of course, we couldn't get along without it. Then came radio, and television. Once we were good and settled in there, we got computers. Then the Internet. Then the World Wide Web. (No, those last two are not the same.)
Posted by roadnick at 09:07 PM | Comments () | TrackBack

The evils of escaped markup

At the end of December, I wrote about The evils of escaped markup as seen by Normal Walsh. It was a well-though-out piece about why he doesn't like that people are using CDATA sections to escape potentially non-well-formed content, particularly in data feeds.

But the interesting thing to me is that I'd actually already written about this particular topic -- and in fact, this particular piece of Norman's -- last summer.

So far, nobody has noticed. Or if they have, they haven't commented.

I'm considering thinking of something completely ridiculous and controversial to say just to see if anybody notices. Suggestions welcome.

Posted by roadnick at 09:03 PM | Comments () | TrackBack

January 14, 2004

How to survive the changes to IE

I just commented over at InformIT about the changes to IT. Now that I see what they actually are, I can see that it's frankly not that big a deal. Or is it? The idea is that the patent covers the launching of a remote application, so instead, the plan is to get people to either create a script that creates the object tag or to embed the ActiveX control into the page as Base64.

So now I'm thinking: what kind of security concerns are engendered by the fact that the code is embedded on the page? Because they're not being downloaded, hwo will the user be able to filter out what they want to enable to run and what they don't?

Posted by roadnick at 10:36 PM | Comments () | TrackBack

DOM and .NET

In the InformIT XML Reference Guide: DOM and .NET

With XML so fundamental in Microsoft's .NET framework, it should come as no surprise that the ability to manipulate an XML document is built right into the system. In fact, although DOM Level 2.0 doesn't include a standard way to create or save a document, .NET makes it easy. In this section, we'll get a feel for how these manipulations work by using Visual Basic .NET to load a simple document, make some changes to it, and then save it back out to a file. (We'll be running directly from the command line, so if you're not familiar with GUI programming, don't worry.) ...
Posted by roadnick at 09:17 PM | Comments () | TrackBack

January 13, 2004

The paperclip wifi antenna

Apparently someone has figured out how to make WIFI antennas from paper clips. I don't see why not, of course. I must be spending too much time studying for my Amateur Radio Extra Class license, though, because when I saw this one (and, to a lesser extent, this one) my first thought was "Now there's the driven element, and that's the reflector, and .."

I just wish they weren't both in French.

Posted by roadnick at 05:25 PM | Comments () | TrackBack

January 01, 2004

Movable Type spam vulnerability

Apparently the script used for MT's "Mail this entry" function is vulnerable to spammers. To solve the problem quickly, rename mt-send-entry.cgi. New versions of MT 2.64 have the fix incorporated.

(For some reason this posting draws a high number of comment spams, so I've turned off commenting for it. Sorry!)

Posted by roadnick at 05:15 PM | Comments () | TrackBack

December 29, 2003

My first number 1 Google spot

I really don't pay much attention to search engine rankings, to be honest. I just try to product good content and leave it at that. But some people do seem to be ... well, fixated's probably the wrong word, but concerned. So as surprised as I was to see a referrer log entry for a Google search for "engineering strapless evening gown", I was even more surprised to find out that if you run that search, my posting about the IgNobel Prize actually comes up in the very top spot.

I give up trying to figure that one out.

(Update: And apparently, I'm number 3 for "blog 'federal reserve'" and number 5 (on Google) and 4 (on Yahoo) for "federal reserve conspiracy theories". Oh, and number 6 for "stop alien abductions". Well, nobody can say I'm not well rounded.)

Posted by roadnick at 04:24 PM | Comments () | TrackBack

December 28, 2003

When emails are too big

Periodically I need to send or receive an email that's just too big for most people's mailboxes. Now the dropload service takes care of that problem. You upload the file and provide the email address, and the system sends the recipient instructions on how to pick it up. Files can be up to 50 megs (deleted after 48 hours, picked up or not), and the service is free. Cool.

Posted by roadnick at 09:12 PM | Comments () | TrackBack

December 21, 2003

The RIAA Succeeds Where the Cypherpunks Failed

Clay Shirky's new column is up: Shirky: The RIAA Succeeds Where the Cypherpunks Failed

His point this time? That encryption didn't catch on because it was, presumably, only needed by people with something to hide, such as criminals. But the RIAA's suits against filesharers have, essentially, turned us all into felons, so now it's catching on, and like organized crime and Prohibition, it's likely to stay long after its cause disappears.

Posted by roadnick at 11:31 PM | Comments () | TrackBack

Aspect Oriented Programming

This one's been sitting in my inbox for a while: IBM, JBoss eye new Java plan

Apparently, in a bid to head off Microsoft's C#, IBM and JBoss are diving into Aspect Oriented Programming in a big way. It will be an extension to Java.

Posted by roadnick at 08:55 PM | Comments () | TrackBack

December 19, 2003

The relevance of standards bodies

So I was thinking over at InformIT about standards bodies and their relevance, but my really big question is this: what would happen if we all decided NOT to use an accepted standard, and used something else instead?

I mean, seriously. What if a group of scientists decided not to use the "accepted" names for the elements, or renamed the planets or something? I mean, there's no law about it, right?

Posted by roadnick at 11:39 AM | Comments () | TrackBack

December 18, 2003

Browser-safe color values

Here's a handy little do-dad. When it comes to making colors, I can do the whole red-and-blue-makes-purple thing, but how do you make orange out of red, green, and blue? The 216 Color Color-Safe Palette page shows the colors that you can safely use on a web page for both PC and Mac -- and their hex values.

Posted by roadnick at 12:48 PM | Comments () | TrackBack

December 07, 2003

Hacking Big Mouth Billy Bass

One day I want to have the time to take on a project like Hacking Billy Mouth Bass in Linux. You remember, Big Mouth Billy Bass, don't you? He's the mounted fish that flops around while singing "Take me to the River." Well, here we have a proposal to turn Billy into a full-blown video conferencing station. Right now he's just at the point of user-definable audio clips (and pseudo- lip-synching), but it's pretty funny. Look for Billy quoting "I did not have sex with that woman, Miss Lewinsky..."

Posted by roadnick at 06:24 PM | TrackBack

December 02, 2003

RFID and privacy

Imagine you walk past a scanner and it registers unqiue ids for each item of clothing you're wearing and for each dollar bill in your pocket. Oh, and your driver's license, which also identifies you with all the items it's recorded. It could happen, as privacy concerns mount over retail use of RFID technology.

Posted by roadnick at 12:44 PM | Comments () | TrackBack

Powell Opposes Internet Phone Regulation

So here I was thinking about how unusual it was that FCC chairman Michael Powell Opposes Internet Phone Regulation. After all, this is the same agency that thinks it's just fine for media conglomerates to own even more of the nation's collective mind than they already do, so why should he protect small Internet phone companies over the likes of AT&T and Comcast? Simple. He doesn't. Turns out the majors have finally figured out that they can escape all the taxes they pay on their regular networks by running their calls over the Internet instead.

Posted by roadnick at 12:31 PM | TrackBack

November 27, 2003

Cargo cult engineering

Ned Batchelder points out an article on cargo cult engineering. As Richard Feynman described them cargo cults are "a cargo cult of people [in the South Seas]. During the war they saw airplanes with lots of good materials, and they want the same thing to happen now. So they've arranged to make things like runways, to put fires along the sides of the runways, to make a wooden hut for a man to sit in, with two wooden pieces on his head for headphones and bars of bamboo sticking out like antennas — he's the controller — and they wait for the airplanes to land. They're doing everything right. The form is perfect. It looks exactly the way it looked before. But it doesn't work. No airplanes land."

Feynman talks about how this relates to scientific research, in which researchers fail to understand the causes of their results, but in the case of cargo cult engineering, companies mistake a symptom of successful projects (long hours) with the cause (personal commitment of the engineers). Interesting reading.

Posted by roadnick at 01:30 PM | Comments () | TrackBack

An interesting use of CSS

In my research about cargo cults (more in a few minutes) I came across an interesting navigational element on the Apologetics Index. The menu stays as a tab on the left and travels when you scroll (though it's a tad distracting to start with) and pops out when you roll over it. My first thought is that it would be an accessibility nightmare, but now I'm thinking that if you did it right, you could make it work for those both with and without scripting support -- if the script doesn't work, the navigation simply appears -- and for those with traditional and non-traditional browsers.

Hm.

Posted by roadnick at 12:36 PM | Comments () | TrackBack

November 22, 2003

Taking Comdex less seriously

It's nice to know that not everybody takes the industry so seriously. Check out James Turner's Comdex rundown.

Posted by roadnick at 01:07 PM | Comments () | TrackBack

November 19, 2003

The Bug Count Also Rises

I got a good chuckle this morning from The Bug Count Also Rises, the Imitation Hemingway Contest Winner.

Posted by roadnick at 01:16 PM | Comments () | TrackBack

November 14, 2003

Know Domino? Want some work?

I'm in need of somebody who knows both Domino and Java for a writing project with quick turnaround. If you're that person, please email me.

Posted by roadnick at 05:19 PM | Comments () | TrackBack

Natural Language Processing

Unfortunately, I still don't have the time to devote to it that I'd like, but all this talk about Chatbots has gotten me thinking about Natural Language Processing. fieldmethods.net is an NLP-oriented portal that seems to have interesting information.

Posted by roadnick at 11:59 AM | Comments () | TrackBack

November 13, 2003

Multiple monitors = more efficient programmers

My first "real" programming job was building kiosks using Macromedia Director. It was also my first experience with having more than one monitor. It spoiled me forever. Now Darrell Norton has some metrics on multiple monitors and productivity. He made sure that all developers on a large project had multiple monitors and found that:

"After multiple monitors were introduced:

* Productivity in lines of code per day increased 10%.
* Defect levels decreased by 26%."

Now where did I stash that extra monitor ...?

Posted by roadnick at 09:52 PM | TrackBack

Semantic web blues

I commented more extensively on Clay Shirky's The Semantic Web, Syllogism, and Worldview over on InformIT, but I have one more point to question.

Clay's talking about syllogisms, and uses this one as an example of why thy don't work:

"Consider the following assertions:

- Count Dracula is a Vampire
- Count Dracula lives in Transylvania
- Transylvania is a region of Romania
- Vampires are not real

You can draw only one non-clashing conclusion from such a set of assertions -- Romania isn't real."

Excuse me? I think the main problem is that he's mis-understanding the difference between

A are B

and

All A are B

I commented more over at InformIT.

Posted by roadnick at 10:57 AM | Comments () | TrackBack

November 11, 2003

Elsewhere ...

Over on my InformIT XML blog, I've noted that XML 1.1 is almost here, and not everybody is happy about it. Elliotte Rusty Harold specifically says "Don't use it."

Also, on a more lighthearted note, I've also noted over at the Vanguard Science Fiction Report that:

Posted by roadnick at 07:04 PM | Comments () | TrackBack

November 09, 2003

DOM NodeFilters and XML data binding

Now on developerWorks: DOM NodeFilters and XML data binding: Using a DOM NodeFilter lets you control the contents of a set of XML data without touching the base application, but the NodeFilter itself is still a class, and needs to be recompiled in order to make any non-trivial changes. This tutorial explains how to build a system that enables a user to control both the criteria for a report and the structure of that criteria simply by providing XML input, either through a file or through a web service, using XML Data Binding.

Posted by roadnick at 01:41 PM | Comments () | TrackBack

Create static jpg files from SVG

Apparently the Batik SVG package from Apache has a built-in rasterizer to convert SVG images to JPGs, so you don't have to rely on the user having an SVG viewer installed. Cool! Benoit Marchal explains how it works.

Posted by roadnick at 11:09 AM | Comments () | TrackBack

Grab headlines from a remote RSS file

Now on developerWorks: Grab headlines from a remote RSS file: This article shows you how to retrieve syndicated content and convert it into headlines for your site. Since no official format for such feeds exists, aggregators are often faced with the difficulty of supporting multiple formats, so Nick also explains how to use XSL transformations to more easily deal with multiple syndication file formats. (This was actually published in September.)

Posted by roadnick at 10:52 AM | Comments () | TrackBack

November 07, 2003

Chatbots and AI

I've been meaning to start dabbling in artificial intelligence for a long time, an as-yet-still-covered-by-NDA project notwithstanding. The Mind Files makes me want to dive into the world of chatbots. Very cool, and according to the background, it's accessible to just about anybody. Maybe I will add an AI bot of my own to this site...

Jitte's also got a new blog going, where he was nice enough to mention Chaos Magnet. Thanks!

Posted by roadnick at 09:05 PM | Comments () | TrackBack

November 06, 2003

The XML book business

I am pretty darn proud of XML Primer Plus. I knew the subject well, and I worked hard on it. I also feel good about the fact that it covers not only Java, but also C++, VB.NET, Perl, and PHP, thanks to the help of some additional writers. The reviews have all been good, and even the four star review on Amazon says that the only reason he didn't give me five stars is because he feels that that levels should be reserved for "recognized experts in the field," which I clearly am not.

But sales have been, frankly, disappointing. I was feeling really bad about it -- until I found out that The XML Book Business is in the toilet. With very few exceptions (and frankly I can't think of any), nobody's XML books are selling.

So tell me, are you buying XML books? Why or why not?

Posted by roadnick at 11:17 PM | Comments () | TrackBack

Your site, viewed in Lynx

When I was designing this site, I used CSS to create a layout that was both aesthetically pleasing -- OK, I'll settle for not hideously ugly -- but still accessible to those with text-based browsers. For a long time when I mentioned text-based browsers, people laughed at me, but many of the accessibility software, such as screen readers for the blind, use this method. But still, I wondered what the site would actually "look" like. Now, thanks to this link from Redemption, I've found that you can view your site in Lynx without having to actually install it. (You can, believe it or not, still get Lynx, even for Windows!) And actually, this site doesn't look half bad. A few tweaks and I may add the "Lynx Inspected" icon.

Posted by roadnick at 09:26 AM | Comments () | TrackBack

November 02, 2003

Quantum computing: the next wave?

I actually have a degree in physics, but of course I haven't used it in years. Lately, though, I've been thinking of catching up on a little Quantum Electrodynamics. I did read through QED, which I remembered using in my class in college, but when I started looking into textbooks, I discovered that they're unimaginably expensive. One of them was over a hundred bucks! Now I'm really interested, with quantum computing starting to make news. For example: Japanese boffins advance quantum computing, Boffins unveil world's most powerful quantum computer and IBM demos quantum computing.

Maybe it's more worth studying than I thought...

Posted by roadnick at 03:51 PM | Comments () | TrackBack

October 30, 2003

Making of MetroSphere, Part 24: Giving the user control - the ultimate portal theme

Now on developerWorks: Making of MetroSphere, Part 24: Giving the user control - the ultimate portal theme: The heart of the MetroSphere site is the community weblog, but we also want to give users the ability to create pages that reflect their own personalities. Portal enables an administrator to add a new theme to the site, but because allowing users to add a new theme involves unacceptable security risks, built-in capabilities limit user control to selecting from available themes. This tutorial explains how to give users much of the same power they would have by creating a new theme without actually creating one.

Posted by roadnick at 11:26 AM | Comments () | TrackBack

October 23, 2003

The making of MetroSphere, Part 23: Send messages between portlets

Now on developerWorks: The making of MetroSphere, Part 23: Send messages between portlets: Sometimes, in the development of a portal, you need two portlets to talk to each other. For example, on MetroSphere, when the user clicks a topic in the Topic List portlet, the team needs the information to be sent not only to the Topic List portlet, but also to the Show Blog portlet. This portlet describes the process for sending messages between portlets and recording the information in the PortletSession object.

Posted by roadnick at 10:58 AM | Comments () | TrackBack

October 17, 2003

The making of MetroSphere, Part 22: Set topics -- custom attributes and user sessions

Now on developerWorks: The making of MetroSphere, Part 22: Set topics -- custom attributes and user sessions: In Part 21 of this series, Nick showed you how to add a custom attribute to users' information that represented their preferred topics. In this article, he shows you how to use that custom attribute as well as session information to enable users to choose between showing all topics and showing only their preferred topics.

Posted by roadnick at 11:28 AM | Comments () | TrackBack

October 12, 2003

Crush the Connectors

Clay Shirky's latest, Shirky: File-sharing Goes Social is an interesting look at the RIAA's strategy of going after big file sharers and the evolution of file sharing networks into more private spaces. Interesting as always.

Posted by roadnick at 10:47 PM | Comments () | TrackBack

October 11, 2003

Eolas tries to stop IE

Eolas is trying to enjoin Microsoft to stop distributing Internet Explorer. Yeah, right. On the other hand, wouldn't that be a boost for Mozilla.

Posted by roadnick at 10:00 PM | Comments () | TrackBack

October 10, 2003

Grab headlines from a remote RSS feed

When the RSS controversy first surfaced, I couldn't understand why so many people were so gung-ho to jettison RSS. I still don't. Yes, it's good to have a standard. But come on, people, it shouldn't be that big a deal to adapt to new formats. The very first tip I wrote for IBM's developerworks was about reading RSS files (which I mistakenly called RDF files, which is only partially correct) but now that I've been around for a while, I've updated it. The new version, Grab headlines from a remote RSS file shows how to not only grab a file, but also to create a system that converts various versions to a single common format that can then be massaged into the final output. This way, a single XSLT style sheet from, say, Atom to RSS 2.0 could work for everyone, so there was no need to switch, wholesale, to something new and scrap RSS.

One exciting thing is that I wrote to Adam Curry and got his permission to use his blog as an example, and he asked me to let him know when it was published. I don't know whether my not is stuck in his spam filters somewhere or he's just been too swamped to respond -- that's one busy guy! -- but it's still exciting for this MTV-generation boy.

Posted by roadnick at 02:20 AM | Comments () | TrackBack

Upcoming changes to IE

Microsoft has released information on what it's doing to Internet Explorer to comply with the half billion dollar lawsuit they just lost. I've commented over at the InformIT XML Reference Guide.

Posted by roadnick at 02:07 AM | TrackBack

October 09, 2003

Email frustrations

I've been beating my brains out all day trying to figure out how to retrieve email using Windows Script Host. I can't seem to get it to instantiate CDONTS, and everything else I try seems to lead me nowhere.

Having found it easy to do it using ASP classic, I'm frustrated.

Posted by roadnick at 09:26 PM | Comments () | TrackBack

October 05, 2003

Workspaces instead of email

Phase 2 of the MetroSphere project will center on creating workspaces, but I was wondering exactly how we were going to use them. Ray Ozzie has the answer.

Posted by roadnick at 10:35 PM | Comments () | TrackBack

Jargon beware

I had no idea how many technical terms I didn't actually know about until I read the Information Security Glossary.

Posted by roadnick at 12:52 AM | Comments () | TrackBack

September 08, 2003

A little clarity

Daniel Drezner's posting got me really thinking about what it is that bothers me about this whole overseas outsourcing thing.

Let me make something clear.

I'm not opposed to spreading the wealth, so-to-speak, by providing jobs overseas, necessarily. What bothers me is the dishonesty about it. OK, you're doing it to boost the bottom line. Fine. Just don't try and tell us that it's to boost sales (ie, Boeing) or that we're going to like it, really.

Jon, who has "worked in and through the waves of global outsourcing first in the Engineering and Construction industry and most recently in the IT industry" probably put it best in his comment on Drezner's original post: "I do agree that the gains from this trend will benefit American corporations. However the benefit will not extend to the consumer and most certainly not to those displaced US employees suddenly finding a barren market for their career skills and expertise within the US.

Corporations will get the profit of the less costly operating and production costs found off-shore, which wealth will be re-distributed in executive incentive and bonus packages, certainly in no way returned to those US employees no longer employed. And the Administration’s support for reduced corporate taxation further lessen the degree to which the fruits of this labor will be reintegrated in a manner beneficial to the populace at large. The fantasy that US corporations will adopt as SOP and offer released workers “ex-employment” insurance is exactly that – a fantasy."

Posted by roadnick at 08:42 AM | Comments () | TrackBack

September 07, 2003

Pareto-improving moves

Daniel Drezner suggests that I don't understand that in some cases one person can be made better off without someone else being made worse off. Of course I understand that. I just don't think that moving high-paying tech jobs overseas is one of those situations. And looking at the first few comments on his posting, it looks like I'm not the only one who thinks the likelihood of companies buying "targeted insurance products" to cushion the effects to workers displaced is, to say the least, unlikely.

Drezner quotes the report's suggestion that "at least theoretically, displaced U.S. workers will find new jobs in more dynamic industries." Why do I suspect that's double-speak for "lower paying jobs somewhere else"? Sure, a coder can get a job flipping burgers, but is that really an improvement for anybody but corporate shareholders?

So no, I don't understand how this is good for American workers. I'll tell you what else I don't understand. I don't understand how you can tell me that effectively eliminating overtime will create more jobs, when it's now cheaper to have fewer workers and make them work longer hours. I don't understand how a member of Congress can say that poor working families don't deserve a tax credit because they pay no taxes, when a much larger portion of their income goes to gasoline taxes, sales taxes, and other taxes that don't scale based on economic class.

I don't understand why we as Americans, we have allowed ourselves to become so complacent to what is clearly unfair.

Maybe it's just that John Dickinson was right, as quoted in 1776: "A poor man will fight to the death to protect the possibility of becoming rich, rather than face the reality of being poor."

I hope not.

(Additional note: Daniel Drezner actually has an impressive CV. I'll definitely be checking out some of his other writing.)

Posted by roadnick at 12:14 PM | Comments () | TrackBack

September 05, 2003

Fame vs. Fortune: Micropayments and Free Content

I've never read a Clay Shirky essay that wasn't interesting. This one, Shirky: Fame vs Fortune: Micropayments and Free Content, talks about why micropayments for content will likely continue to fail, and why that's not necessarily a Bad Thing.

Posted by roadnick at 06:21 PM | Comments () | TrackBack

RIAA shoots itself in the foot

The RIAA is preparing for an even more massive onslaught of lawsuits against individual file sharers. One so-called "pirate" is challenging the subpoena of her records, but probably won't get far. The Electronic Frontier Foundation will let you search to see if you're being subpoenaed. The database has 1145 subpoenas at the time of this writing. The effect? According to this SFGate article, "an independent digital media industry analyst, said the 'fear factor' caused usage of file-sharing programs to drop about 22 percent in the seven weeks after the RIAA announced its plans to sue individuals." So that's a victory for the RIAA, right?

Well, not exactly. "Yet Leigh noted industry sales reports show the drop in CD sales accelerated during the same period." In other words, they've pissed off their customers. Basically, people are saying, "I'm not going to buy your product anyway."

It's sad, really. I used to think file sharing was great, because I'm one of those people who would actually listen to the music and then buy it. But I've seen my son's generation adopt an "everything's free" mind-set, which is wrong too.

Posted by roadnick at 10:42 AM | TrackBack

Ian Clarke on Freenet and his decision to leave the USA

Years ago, I was part of Mojo Nation, a network that provided a decentralized system of file storage. The idea was interesting, with users getting "tokens" for providing either bandwidth or storage, or whatever. The interesting part was that there was no way to tell what information was being stored on your system. Each document was broken up into pieces, and multiple copies of each piece were distributed over multiple machines. Kind of like an anti-censorship version of the internet, where any one node could be taken down and not effect the integrity of the available data. Overall, I liked the concept, though I was uncomfortable with the idea that I might be inadvertantly providing access to child pornography. Eventually the network collapsed -- or at least I think it did -- and I stopped thinking about it.

But freedom's on my mind a lot lately. I'd never looked into it, but apparently FreeNet is a lot like it, as a distributed system that stymies censorship. But now its founder, Ian Clarke is leaving the USA. Why?

Several reasons really. Firstly, because the work I am doing now doesn't really require me to be in any particular location, I could probably work from the North Pole if I had a fast Internet connection. Secondly, because I don't like living in a country where, as a non-citizen, I am considered less deserving of justice than American citizens. Thirdly, because I feel that the direction intellectual property is being taken in this country, such as with the DMCA and software patents, make innovation much more difficult and risky here, particularly in the P2P space. There are many things I like about the US, but it just doesn't make sense to be here any more.

Thing is, freedom is an elusive thing. Let's go back to my original problem with Mojo Nation for a moment. What about the idea that criminal activities can take place on such a system, or even child pornography? Clarke:

Free speech doesn't exist if people are only free to say what you consider to be decent or true. Few would tolerate the mandatory installation of police cameras in private homes, even though it could prevent all forms of child abuse, and domestic violence. Are those that might oppose such a scheme to be considered advocates of child abuse? The rationale behind Freenet is discussed in more detail on our philosophy page.
Posted by roadnick at 10:29 AM | Comments () | TrackBack

Security Testing Methodology

I am, I will admit, sadly inadequate when it comes to security. I'm not a hacker (in either the white hat or black hat sense) and never have been, and have little exposure to the rigors of security testing, as any system administrator who's worked with me can attest. So I'm looking forward to the ISECOM Open Source Security Testing Methodology Manual. "As a professional standard, it includes the rules of engagement, the ethics for the professional tester, the legalities of security testing, and a comprehensive set of the tests themselves." We'll see.

Posted by roadnick at 10:13 AM | Comments () | TrackBack

September 04, 2003

Eolas vs Microsoft

Been keeping track of the Eolas vs. Microsoft judgement? The one where Microsoft was actually slapped with a judgement worth half a BILLION dollars? It concerns you, you know. Eolas claims to have invented plugins, and Microsoft is talking about modifying IE to account for the judgement.

I commented on original judgement and prior art issues over on my InformIT XML blog.

Posted by roadnick at 09:50 PM | Comments () | TrackBack

August 03, 2003

A network of PDAs?

You can't see it yet, but next Friday, InformIT will be running an interesting article on the history of distributed computing. It starts with the hypothesis of "thinking machines" in the 1940's and comes up to today's grid systems. An interesting hypothesis: that PDAs will, someday soon, form themselves into a giant network.

Posted by roadnick at 12:37 AM | Comments () | TrackBack

July 30, 2003

Amplifying cognition

I understand that most people blog about things they've read and found interesting. Half the time I feel like this blog is about pages I wish I had time to read. Amplifying Cognition - Extending Memory and Intelligence looks fascinating, and one day I'll have time to finish it. In the meantime, it's got a terrific quote:

"We are smart enough to realize we are stupid, and stupid enough to make the problem of becoming smarter hard." -- Anders Sandberg

(Credit where credit is due: I found this quote in XML Topic Maps: Creating and Using Topic Maps for the Web. You can actually read the book online, too.)

Posted by roadnick at 12:15 AM | Comments () | TrackBack

July 29, 2003

Shameless plug alert

Shamless plug alert. I've been featured on the developerWorks home page! My tutorials usually wind up there, but they don't usually mention me by name. Understanding DOM isn't changed too much from it's original form, but Understanding SAX is practically a whole new tutorial.

Posted by roadnick at 09:38 PM | Comments () | TrackBack

Some items to think about

Some items to think about adding to my InformIT XML Reference Guide blog:

The future of XML documents and relational databases
Composite Capability/Preference Profiles (CC/PP): Structure and Vocabularies has a new working draft
The W3C Workshop on Binary Interchange
of XML Information Item Sets

Microsoft Brings Secure Web Services Closer
Sun proposes new Web services specs
XHTML: Three Namespaces or One?
Extending RSS
XHTML Print Working Draft
Tim Bray on Resources

And maybe for this one:

Married to the (Mob)log?
Some movement in the case of Leonard Peltier
Neo-Conned
Backlash Predicted in File-Swapping Wars
Republican Lobbyist to Head RIAA

Posted by roadnick at 04:47 PM | TrackBack

Understanding SAX

Now on IBM developerWorks: Understanding SAX (Tutorial) -- This tutorial examines the use of the Simple API for XML version 2.0.x, or SAX 2.0.x. It is aimed at developers who have an understanding of XML and wish to learn this lightweight, event-based API for working with XML data. It assumes that you are familiar with concepts such as well-formedness and the tag-like nature of an XML document. In this tutorial, you will learn how to use SAX to retreive, manipulate, and output XML data.

Posted by roadnick at 12:14 PM | TrackBack

Understanding DOM

Now in IBM developerWorks: Understanding DOM (Tutorial) -- Even before there was XML, there was the Document Object Model, or DOM. It allows a developer to refer to, retrieve, and change items within an XML structure, and is essential to working with XML. In this tutorial, you will learn about the structure of a DOM document. You will also learn how to use Java technology to create a Document from an XML file, make changes to it, and retrieve the output.

Posted by roadnick at 12:11 PM | Comments () | TrackBack

July 26, 2003

I'm still trying to wrap

I'm still trying to wrap my head around XML Digital Signatures. This article from MSDN is close, but my eyes are still glazing over before I get to the end.

Posted by roadnick at 10:30 PM | Comments () | TrackBack

In an interview with the

In an interview with the New York Times, Bill Gates acknowledged today that the company's error reporting service indicated that five percent of all Windows-based computers now crash more than twice a day." Interestingly, in the same interview, Gates "said the company was considering the possibility of charging for some of its software updates that are now made available free over the Internet."

Posted by roadnick at 11:24 AM | Comments () | TrackBack

July 24, 2003

Don't know how much longer I'll be using Blogger

Don't know how much longer I'll be using Blogger. (Probably until I have time to find something else with comment support, which, with my schedule, could be years.) But I'm really interested in looking into Trackback.

Posted by roadnick at 11:57 AM | Comments () | TrackBack

July 23, 2003

Some items I don't have

Some items I don't have time to comment on right now:

The failed promise of email
Backup data on the moon
Turing Test Dead End
US names the day for biometric passports
One US.gov smartcard ID to fit all
Snags hold up biometrics, experts say

Posted by roadnick at 03:33 PM | Comments () | TrackBack

July 22, 2003

Now the question is, once

Now the question is, once print-on-demand really comes into its own and anybody can write their own book, will the ability to mount an effective ad campaign replace the ability to write a good book? Just remember what we used to day about the web: "The great thing about the web is that anybody can have their own site. The bad thing about the web is that anybody can have their own site."

(And another note, on the economics of print-on-demand ...)

Posted by roadnick at 11:15 AM | Comments () | TrackBack

I'm sure there's some good

I'm sure there's some good information here, and if I can ever get more than five minutes to read it, I may actually absorb some of it. It's about stigmergy, which "is a communication strategy used by ants to tell each other where to find sources of food. This same strategy can be used on a Web site site to induce people to cooperate and collaborate in the sharing of information."

Posted by roadnick at 11:12 AM | Comments () | TrackBack

When people find out I

When people find out I write books, they think I must be rich. HA! If only! Check out The economics of writing a computer trade book to understand why you (usually) won't get rich doing this. And while we're on the subject, you know those books that show up under "Used and New" on Amazon? Don't buy them, folks. Yes, they're cheaper. Wanna know why? Because with very few exceptions, they're publisher's remainders. That means that the author didn't get a penny for them. Not one red cent.

Posted by roadnick at 11:09 AM | Comments () | TrackBack

Apparently you don't have to

Apparently you don't have to have thousands of dollars to build a real live robot, complete with not only movement, but also speech recognition. You just have to know Java.

Posted by roadnick at 01:36 AM | TrackBack

July 21, 2003

I'm astounded. I tried Netscape

IE is historyI'm astounded. I tried Netscape 6 when it was out and was tremendously disappointed at how ponderously slow it was, so it was a little bit of a struggle to get me to try again. But I was reading Tim Bray's call-to-action, of sorts, and decided to try again. Man, I'm glad I did. I'm currently using Mozilla 1.4, and I cannot believe how much faster it is than IE 6! Do yourself a favor and give it a shot.

Posted by roadnick at 10:36 AM | Comments () | TrackBack

My wife gets quite aggravated

My wife gets quite aggravated over those popups and ads that look like system error messages. You know the ones, telling you your system isn't optimized, or you have a message waiting. Finally someone's filed suit against Doubleclick, the advertising network on which these ads run. Not sure how this is going to fly. First of all, they want to make it a class-action suit, with damages of $500 per person and $5.00 per incident for anyone who's encountered these ads. Well, that's just about all of us, methinks, but it'd be difficult to prove. Second, did Doubleclick actually create the banners, or just run them?

I'll be happy if the court simply agrees to force Doubleclick to stop running the darn things, but the real gold here is if they can get Doubleclick to stop tracking what pages users view.

But that's a whole different ballgame.

Posted by roadnick at 09:50 AM | Comments () | TrackBack

July 19, 2003

Is it really this easy?

Is it really this easy to build a projection TV system?

Posted by roadnick at 01:58 PM | Comments () | TrackBack

July 18, 2003

Googlebombs

And while we're on the subject of blogging, here's an interesting article about Googlebombing. That's when people get together and decide that they're all going to link to the same page with the same phrase, in the hopes of increasing the page's rank in Google. For example, that link will help Microcontent News's article rise in the ranks for the keyword "Googlebombing".

The interesting thing here is how the net is almost like a living organism, adapting to its environment. I mean, search engines come around and try to present meaningful results based on the page's content, so page authors adapt their page content to score higher. So Google comes around and ranks pages based on what other people do, supposedly taking it out of your hands and providing better results. Then page authors figure out how to manipulate that. (And sometimes it's much more nefarious. See Operation Clambake's discussion of the Church of Scientology and the possiblity that they've purchased a bunch of domains so they can link to each other and direct searches to sites that present a favorable view.) So what will Google do to adapt? And what will page authors do to adapt to that?

Posted by roadnick at 07:44 PM | Comments () | TrackBack

July 16, 2003

Alexander Payne answered my FOAF

Alexander Payne answered my FOAF question. Thanks, Alex. I guess I'll let you live. For now. Now I've just got to figure out how to put my own together....

Posted by roadnick at 02:04 AM | Comments () | TrackBack

July 15, 2003

Gotta remember to check out

Gotta remember to check out the last call for the Cascading Style Sheets 3 Basic User Interface Module.

Posted by roadnick at 12:47 PM | Comments () | TrackBack

I've been having some difficulty

I've been having some difficulty with my hard drive lately. As long as I don't have to shut down my machine, it's fine, but if I do, it takes several tries for it to recognize the drive again. Could it be the fact that I installed Windows 2003 on a spare partition? Interestingly, I didn't start to have a problem until I started to actually use it. (And until I installed Office 2003. Hm.) Now I'm back in 2000 -- the 2003 partition is impossible to boot -- but I'm worried about that drive. Maybe it's fate that Morris Rosenthal just let everyone know about the troubleshooting poster he's got online.

Posted by roadnick at 11:53 AM | Comments () | TrackBack

July 13, 2003

What is this FOAF thing?

What is this FOAF thing?

Posted by roadnick at 10:40 PM | Comments () | TrackBack

I hate sensationalist claims, particularly

I hate sensationalist claims, particularly when they distort the truth. The EFF (with which I normally agree) has managed to get the Ninth Circiut court of appeals to withdraw an opinion that "framing" of content (or "inline linking") is copyright infringement. That's when Site A takes content from Site B and embeds it in a page or frameset in such a way that it looks like the content is coming from Site A and not Site B. So don't believe the hype that the ruling "that threatens to make all linking on the World Wide Web a copyright infringement," as the EFF claims.

Posted by roadnick at 11:24 AM | Comments () | TrackBack

July 11, 2003

Big Dave needs a kidney.

Big Dave needs a kidney. I don't know Dave Johnson. Never met him, never even heard of him before today. But he's dying, and so are thousands of other people. Ever considered being an organ donor? You don't have to be brain dead to do it anymore. Check out LivingDonors.com for info on donating a kidney. (Dave's insurance would cover all your expenses.)

I'm registered as a potential marrow donor. Are you?

Posted by roadnick at 12:49 AM | Comments () | TrackBack

July 10, 2003

Adam Curry has a point.

Adam Curry has a point. With all of this hassle over RSS, is anybody listening to the customer? Even more scary, though, are his comments about marketing: "But I don't care about the technology of it all, I'm a marketing guy. I spent years promoting rss and see no benefit as a user to have to go through the entire process of validation again, nor do I look forward to 'fixing' all those rss and xml icons and links. This is destructive to the architecture already in place imho. The inability to create a descriptive useful name already shows a lack of marketing savvy. Where are the docs explaining the big advantages to me as a user/writer/publisher/reader/subscriber? Isn't is just more of the same?"

Why is this scary to me? Because the BigCo's everyone keeps screaming about can be very, very good at marketing.

I kind of wish everyone would just get together and say, "hey, let's just unfreeze 2.0, make the necessary changes to solve these problems, and be done with it." But I'm not naive enough to think that'd work.

Posted by roadnick at 11:13 AM | Comments () | TrackBack

July 09, 2003

I've had Google's Adsense running

I've had Google's Adsense running over at The Vanguard Science Fiction Report for a week now, and I've made $1.56, and that's just because I wanted to see what sites were advertising on mine. I may give BlogAds a try instead. Or maybe I'll buy one. I'll let you know how it goes either way.

Posted by roadnick at 05:21 PM | Comments () | TrackBack