Live data from Hacker News

Plain text has been around for decades and it’s here to stay

unsung.aresluna.org

11–20 of 172 posts

Re: Plain text has been around for decades and it’s here to stay

#11
post #8

The list at the top could be longer: - https://asciiflow.com/ - https://asciidraw.github.io/ Anybody know more?

D2 https://d2lang.com/ added beta support for ASCII & Unicode output last year.

That would be interesting. I like D2 though the lack of control over the layout is a bit frustrating sometimes.

Re: Plain text has been around for decades and it’s here to stay

#14
Text and text files are simple. I think this is their number #1 advantage.

There are limitations though. Compare a database of .yml files to a database in a DBMS. I wrote a custom forum via ruby + yaml files. It also works. It also can not compete anywhere with e. g. rails/activerecord and so forth. Its sole advantage is simplicity. Everywhere else it loses without even a fight.

Re: Plain text has been around for decades and it’s here to stay

#15
post #5

Couldn't help riffing off on a tangent from the title (since the article is about diagramming tools)... Dylan Beattie has a thought-provoking presentation for anyone who believes that "plain text" is a simple / solid substrate for computing: "There's no such thing as plain text" https://www.slideshare.net/slideshow/theres-no-such-thing-as... (you'll find many videos from different conferences)

Haven't watched the videos yet, but from the slides, it looks like part of the issue he was talking about was encodings (there's a slide illustrating UTF-16LE ve UTF-16BE, for example). Thankfully, with UTF-8 becoming the default everywhere (so that you need a really good reason not to use it for any given document), we're back at "yes, there is such a thing as plain text" again. It has a much larger set of valid characters, but if you receive a text file without knowing its encoding, you can just assume it's UTF-8 and have a 99.7% chance of being right.

FINALLY.

Re: Plain text has been around for decades and it’s here to stay

#17
Plain text is great as far as it goes, but when it comes to structure you start from zero for every file. There’s always someone getting wistful about ad-hoc combinations of venerable Unix tools to process “plain text”, and that’s fine when you’re in an ad-hoc situation, but it’s no substitute for a well-specified format.

Re: Plain text has been around for decades and it’s here to stay

#19
post #17

Plain text is great as far as it goes, but when it comes to structure you start from zero for every file. There’s always someone getting wistful about ad-hoc combinations of venerable Unix tools to process “plain text”, and that’s fine when you’re in an ad-hoc situation, but it’s no substitute for a well-specified format.

XML, JSON, YAML, RDF, EDN, LaTeX, OrgMode, Markdown... Plenty of plaintext, but structured information formats that are "yes, and". Yes, I can process them as lines of plain text, and I can do structured data transformations on them too, and there are clients (or readers) that know how to render them in WYSIWYG style.
Post reply on HN