3 ms·
Your comment implies an understanding of text that only considers the surface level. Let's consider what is the fundamental characteristic of text: Text is any
by eternalban 4y ago
Your comment implies an understanding of text that only considers the surface level. Let's consider what is the fundamental characteristic of text:
Text is any expression of information that is conveyed as a linear sequence of units of a language.
Musical notation is in fact text. Any 'wire protocol' is by definition text. It may not be human readable but it remains text that is optimized for machine reading.
Text can be re-formatted. A musician following a horizontally scrolling sequences of 'notes' - units of the language - will play the same tune as the one who is following the 'square frame' chunks of linear sequences.
Since text is ultimately a 1D construct, it also affords us linear editing properties. We can insert text into text. We can re-arrange text. Text is exceptionally malleable. Sure, we can change aspect rations of images - a 2D language - but not without distortion.
Text: A form of conveying information in 1D using a finite set of unit glyphs.
Bonus points for thinking clearly about text, for those who still debate over "braces vs indentation", note then a "language" like Python (a 'pictorial' language ..) breaks this fundamental feature of text (i.e. it can not be conveyed purely as a sequence) unless one also encodes the 'white space' and 'invisible characters'. So for those who think text to be king, braces or some other symbol as first class units of the alphabet of a programming language are desired and appreciated.
- syntheweave 4y agoIf we call any wire protocol "text", we're just restating information theory. The reason why text is text and not binary lies in the rules of presentation. Text as 1D occurs in the trivial case of direct mapping of bytes to symbols, as in a hexeditor; but one of the first things we look for in analysis of byte data is some kind of notion of word or line - beginnings and endings of a group of data. Once you add these breaks as a rendering effect, text becomes practical for purpose, because it now automatically describes some hierarchy. The functional difference between word and line is just in how it makes use of vertical and horizontal dimensions to present the information. Both are spatial and therefore suggest "pictorial" usages. So in practice everything we call "text" is at least 1.5-dimensional; the viewing model and editing functions are aware of spatial elements as well as symbolic ones. Formatting rules around tabs, column limits and the like are present as global properties of text documents. It's not something specific to "pictorial" languages, because these formatting rules and discussions about them reoccur in every collaborative project, regardless of language. I spent some time examining this in detail and noticed that written language encodes many forms of "textual break" through punctuation, paragraphs, and pagination. We don't feel a need to group every written sentence in brackets because we have the punctuation marks to describe the hierarchy efficiently, with spacing and line breaks acting as larger grouping signifiers with more visual impact. And if we instruct a computer to read a text document in that way, by describing "breaking tokens" with different rankings, it can immediately begin to navigate the document in a hierarchical manner by observing higher vs lower rankings within the tokens. The linear encoding is ultimately just that - an encoding. The actual structure of text documents is always more complex and draws on hierarchical elements, even if it doesn't encode them with robust or flexible primitives. A useful contrasting model is that of the spreadsheet. Spreadsheet cells are designed towards fungible congruency in that they can contain varying types and sizes of data, but are navigable within the document as interchangable elements. The reason why so many information workers(myself included) reach for the spreadsheet for every task has to do with this fungibility: rather than describing spatial formatting through a linear encoding, the assumed spatiality of cells allows for arbitrary groupings of information, which is useful as an iterative process. I might have a few key words for an idea or pieces of data I've collected, but I don't necessarily want to encode them in a sentence or list specifically - I just want them close to each other. Therefore, even if all I'm doing is writing textual notes, I still want to have the cell abstraction so that I can defer encoding a linear structure at the top level and move around my thoughts in more arbitrary ways. (Would I write code in a spreadsheet editor? Absolutely, given a language designed for it.)
- eternalban 4y ago(Appreciate the thoughtful reply.) https://gwb.blob.core.windows.net/markpearl/Windows-Live-Writer/ef4c84781f6e_5B17/ipheader_thumb2_2.gif https://gwb.blob.core.windows.net/markpearl/Windows-Live-Wri... Point taken re. binary & information theoery. I'll step back from general wire protocol, to fixed frame, formatted wire protocols that have 'syntax'. I claim the above header is a kind of 'text'. The +0.5D you mention is sometimes internalized, in this case we have a fixed format, in other cases, we have internalized syntax and grammar rules of a language. The fact that text can be spatially arranged or annotated, for presentation or clarity, touches on the malleability characteristic of text. Consider text before information systems. (Per my understanding, most punctuation are rather 'modern' additions to writing systems with earlier texts in the same language only using word and sentence delimiters.) https://www.worldhistory.org/img/r/p/750x750/5037.jpg https://www.worldhistory.org/img/r/p/750x750/5037.jpg Maybe these folks needed 'documents' to be of a certain shape (for storage, transit, etc.) so there are no extant examples of e.g. an elongated baked clay tablet for linear transcription. It is accepted that there is a 'windowing' aspect of any form of 'reading' text. I posit that all formatting meta-information is strictly a windowing concern and not fundamental to text itself.