Hacker News new | ask | show | jobs
by 6510 2188 days ago
My world view (or more like a cosmic view) is this: Space and matter are fascinating phenomenon but the truly fascinating things happen between the two. Empty space and time are quite boring until you put matter in it.

The "Let the output of your program be the input of mine." philosophy was really good. Web applications do the exact opposite. All of the interesting shit is missing.

Keeping parts of a thing in separate places can be necessary at times but it usually is not. There is the layout of an article website and there are article in it. The articles with their videos and images are separate things as much as browsers are separate things from web pages (perhaps even more so).

The article can be a separate file. Like an iframe but as inline text. No <head>, no <script>, no <style> but if it has any of those they are ignored.

The other perspective also works. The data for a physical object could be a single file. One or more images, videos, docs, the meta data. Say a product, its price and description can be put inside the image file and be made accessible as a js object/json. Standards can be created, adopted and popularized. If the picture has one or more cars the meta data can have all the usual properties of a car with standardized key names. This seems chaotic and undesirable for large shopping platforms but if an object has a description, contact information and a price it can be sold. Setting up a small store could be as simple as dropping images into a page. One would want to parse out some of the meta data of course but there can be much more data available.

It makes reasoning about the website much more like we reason about the real world.