Sunday, August 1, 2010

Streaming versus Document Object Model

Streaming seems to be a wave type of thing. Documents seem to be a particle type of thing. What is the hybrid between a stream and a document? It seems like the text node in XML may provide for streams of data. The only distinction may be that documents don't have long lived connections, and streams, by necessity have long lived connections. If streams are treated like arrays, how do we store variable length arrays in relational database? It seems like we would store them as XML (a document), if there was no bound on their length.

Streams of keystrokes coming into documents add to the document structure. Similarly, streams of objects or commands may modify a scene. It seems like streams or waves are what affect the structure of our world, modifying it.

It seems like analog networking is going out of style. TV used to be analog, but now it's digital. I'm not sure radio is far behind. Will there be a bounceback to hybrid networking? We will see. Perhaps hybrid networking means changing the bit rate.

Hybrid Hierarchies

So if we have continuous hierarchies and discrete hierarchies, what about hybrid hierarchies? Just like we have discrete event, continuous and hybrid simulation, can we have hierarchies that are hybrid? A discrete hierarchy is like a mathematical graph, with nodes and arcs, but no spatial or temporal attributes (except for demonstrational purposes). A continuous hierarchy exists in time and space, but it's difficult to show connections or differences between arcs and nodes. So we need a hybrid graph, in ink and paper, or a road network. We create a hybrid hierarchy by placing stuff representing a graph (a discrete thing) onto a continuous media.