Why Plain Text Is Still One of the Best Technologies We Have

(deadparrotbbs.com)

83 points | by speckx 1 hour ago

10 comments

  • devy 37 minutes ago
    Graydon Hoare, the creator of the Rust programming language, wrote his seminal piece on text in 2014. In it, he said "text is the most powerful, useful, effective communication technology ever, period."[1] Text is durable.

    [1] https://archive.ph/FhG5L (the original either got deleted or login-walled, here is the archived version)

    [2] https://hn.algolia.com/?q=always+bet+on+text

    [3] https://news.ycombinator.com/item?id=26164001

    [4] https://news.ycombinator.com/item?id=8451271

    [5] https://news.ycombinator.com/item?id=10284202

    [6] https://news.ycombinator.com/item?id=12815829

  • drhagen 36 minutes ago
    This is the public dividend of a standard finally winning. The article gives credit to Unicode, but it is the fact that ASCII unambiguously won that gives plain text its portability and longevity. It looks like Unicode is on its way to winning in the same way, but it is not there yet. Most text files I write are still pure ASCII because that's the only way to avoid unexpected glitches [0].

    [0] Windows newlines not withstanding.

    • bruce511 5 minutes ago
      Ahh, plain text, wherein "plain" does some heavy lifting. If plain text had something as simple as a 4 byte signature it could have been soooo much better.

      As it is programs have to guess the following;

      A) encoding. If ANSI which code page? If unicode which encoding? In the case of utf-16 big or little endian?

      B) line endings? CR? LF? CRLF? I guess no-one uses LFCR... right?

      C) number formats? 100.000 or 100,000? Date formats? is that mm-dd-yyyy or dd-mm-yyyy?

      D) what human-language is it in?

      E) CSV? Don't get me started...

      Yes. Text is a lot easier to load, parse, make guesses about than say XLS. Yes all of the above things can be "guessed" to a greater or lesser extent.

      Yes BOM exists to at least try solving the encoding question. Of course most files don't use them. Lots of tools don't support them. And they don't solve any of the other issues.

      But sure, ASCII files in English with US date formats, and Windows line endings....no problems at all...

    • Analemma_ 20 minutes ago
      If you write files in ASCII you’re already writing in UTF-8.
      • sillysaurusx 17 minutes ago
        That’s true, though if you’re writing UTF-8 you have to handle the corner cases when reading UTF-8, of which there are many.

        Fortunately they’re easy to test for and most languages have standard libraries that make this painless.

      • bell-cot 8 minutes ago
        ASCII has, in principal, infinitely many superset.

        And in practice, still a rather large number of them, going back to the 1970's - https://en.wikipedia.org/wiki/Extended_ASCII

  • spcebar 16 minutes ago
    Fun timing on this plaintext conversation. I built a little browser based plaintext playwriting app this weekend for a little weekend project. Found myself really hating 1. how clunk screenwriting software can be and 2. How unsharable the files are.

    With plaintext you can hand the file off to anyone on any device--the caveat being absolutely no one wants to be handed a plaintext script. The software I used ten years ago to write plays is long since deprecated and those files are basically unopenable. Plaintext however remains.

    • dunham 7 minutes ago
      John August has also talked about using plain text for movie/television screenplays, specifying a format based on markdown and hollywood standard: https://fountain.io/

      Sharing aside, I imagine a plain text format would also be helpful for version control.

  • FLeXMurphy 47 minutes ago
    @dang @tomhow

    My understanding is that HN has started incorporating AI tooling in the back-end to scan for LLM-generated submissions and source content, in an effort to discourage it and encourage human-made content (with human discussions, one would hope). Why do we keep having these kinds of articles every day? Entire "apps" are generated - see the lighthouse one - and submitted, and are plain-as-day LLM-generated nonsense.

    Anyway, flagged.

    • sillysaurusx 14 minutes ago
      Where did you get that understanding from? I might have missed something. They penalize LLM comments. Do they also penalize submissions? Any evidence of that?
      • FLeXMurphy 8 minutes ago
        dang mentioned it in passing some weeks back (going off of memory). Also please publish new NoH/Kongor build.
    • sthatipamala 27 minutes ago
      I skimmed this whole article and didn't see any classic LLM tells about it. Why do you think it is LLM generated?
      • loup-vaillant 1 minute ago
        The whole structure had a faint smell to it. It's hard to put into word, there was no obvious "it's not the quiet part. It's the load bearing bedrock", but the way the thing flowed made me strongly suspect LLM involvement.
    • grebc 17 minutes ago
      I think you’ve posted on an unrelated topic.
      • FLeXMurphy 1 minute ago
        No, this is the right article.
    • john_strinlai 43 minutes ago
      they don't get @ mentions, you're better off emailing hn@ycombinator.com
    • thuruv 42 minutes ago
      perused the posts and incidentally all are touching high-octane topics, posted only recently but surely warrants discussion/disputes, clearly an evidence of karma farming!
    • beej71 26 minutes ago
      The is real is real.
      • FLeXMurphy 7 minutes ago
        It is littered with little tells like that.
  • vatsachak 3 minutes ago
    Probably because plain text can encode any form of distilled data. Technically our DNA can be plain text lol
  • dimiprasakis 10 minutes ago
    Prediction: RSS is coming back stronger than ever
    • slowin 4 minutes ago
      RSS was removed from most sites (unfortunately) due to business, not technical reasons. Just like Web 2.0 era "mashup" friendly APIs, business started locking down their data despite it being an extremely user-hostile move.
    • DonHopkins 2 minutes ago
      .plan is really simpler syndication.
  • jaekwon 20 minutes ago
    that's why gno.land contracts render to markdown as the standard. you can browse the world through your terminal.

    imagine the world wide web but markdown (and decentralized). gno.land is that.

  • ollien 47 minutes ago
    Tangential to the actual point of the post, but the talk "Plain text? Really?" by Dylan Beattie[1] is one of my favorite talks. It does a great job capturing the problems with something that "seems" so simple. I think the author of the blog is well aware of these, though :)

    [1] https://www.youtube.com/watch?v=_mZBa3sqTrI

    • s1mon 11 minutes ago
      Many things I knew, and a bunch I didn't. Thanks for that.

      I wish he'd spent a little more time on the fundamental issue of CR vs CR/LF vs LF. That's been a "plain" text nightmare since before Unicode and many of the other complexities existed.

  • olexsmir 31 minutes ago
    I feel obligated to mention ledger[0] and hledger[1], those are plain text accounting software, well, as you can guess from their names, they allow you to do personal accounting in plain text.

    0: https://ledger-cli.org/ 1: https://hledger.org

  • Koshkin 25 minutes ago
    "A picture is worth a thousand words"