jQuery and the dream of horses

I had a funny dream last night. It’s hard to describe how much it shook me up, mostly because of how much I remembered, and still remember. Like everyone else I know, I almost never remember much about my dreams, and what I can remember is usually nonsense.
Not this time. I remember specific details:
In the dream, I was working on a very specific AJAXy task, not unlike something I’ve been working on in real life. I was working with an XMLHttpRequest setup, with syntax something like:
onsubmit: function() {
var data = this.element.serializeArray();
if (this._submitButton) data.push({ name: this._submitButton.name,
value: this._submitButton.value });
var options = $.extend({
url : this.element.attr('action'),
type : this.element.attr('method') || 'GET',
data : data
}, this.options);
this._makeRequest(options);
return false;
}
Although it could have been complete nonsense, I remember all kinds of intriguing details about the programmatic interpreter I was using. For instance , it would alert me if it had trouble parsing my request into VSOO (verb-subject-object-object) and I’d modify my command.
Oddly enough, I’ve never been interested in natural language at all. When I was at Box.net, one of the founders insisted on using Dragon Naturally to navigate his OS and write e-mails. The insanity only lasted a few days before we hid the microphone and microwaved the Dragon CD. I didn’t mind the extra chatter, I also thought it didn’t really fit in an open office environment.
But outside…maybe that would be different. At the very least, it would be a dream come true.
