Live data from Hacker News

Write plain text files

sive.rs

11–20 of 425 posts

Re: Write plain text files

#12
I use plain text because there is no multimedia equivalent that is universal and end-user controlled, and there are no multimedia equivalents to Vim, Grep, regex, etc. Text is great, but an image, table, or diagram are sometimes irreplaceable.

We think we are great innovators, but we are stuck in 1990. Notice also that there are no Vim-equivalents for phones, even though that platform has been widely used for 15+ years.

Sorry Bill Joy; sorry Bell Labs; sorry (many more); we let you down, and we let down the public, which now has no integrated multimedia format beyond WordPress or Instagram.

Re: Write plain text files

#15
> Every few years a new company says you should use their special format. You have to pay them a monthly fee to use it — or keep all of your documents in their care. [...] When you store your writing in one company’s unique format, then you need that program to access it. Then the economy takes a turn, they go out of business, and your work is trapped in an unusable format.

This is something I've been dealing with lately. I have over a decade's worth of important personal and work files in proprietary formats, since I used Windows and Adobe's stuff for a long time. These days I'm using Linux exclusively, so my only option to read many of those formats is to hope that things like GIMP and Inkscape are able to open them somewhat accurately. All the documents I created in InDesign are as good as gone. I still have the files, but they're locked behind proprietary software that I couldn't use even if I wanted to. Oh, well...

For creating documents I've been learning LaTeX, and for note-taking I quite like Vimwiki[1]. I don't do nearly as much graphics work as I used to, though I appreciate things like the fact that Inkscape uses plain SVG by default. I'd rather not be locked out of my own files again in the future.

[1] https://vimwiki.github.io/

Re: Write plain text files

#16

I've tried a lot of different things over decades. And, after countless experimentation, I'm still at the same place... I store data all over the place. I have Evernote for long book notes and tracking financial data. I'm using notion right now as my base of notes for learning how to build a cabin (toggles and embedding videos is wonderful). I tried to really use roam and its off-shots for a while but could never rea…

Everyone was talking about Roam for a while, I wonder what happened.

Re: Write plain text files

#17
I think of it as "content and presentation should be as independent as possible". This is the content side: don't bother with fancy unreadable formats.

I've been thinking about this as I try to think about my own personal website. I'd like to have my content versioned, but, was really not loving the idea of tying myself to even a static website generator.

This is where I still ponder an approach more like antora (https://antora.org), where you can have a "doc repo" vs a "site repository". Thus, the concept of a version is really obvious.

I've also recently reorganized my professional notes into... a git repo that is only structured markdown files, one file per day, organized by year/month. And... it just works great.

Re: Write plain text files

#18

Is there a modern text editor that only supports ASCII, so I can take my plain text notes and store pages and pages of them in one or two KB?

Maybe, but there's no reason to use an ASCII-only text editor. (Almost) all modern text editors use UTF-8. And UTF-8 stores all the characters in the 7 bit ASCII table the same way ASCII does.

The result of that is, so long as you don't add any emoji or anything to your documents, a 2022 version of VS Code will store your text files in the same format as vi did in 1976.

Re: Write plain text files

#19
My personal mantra is to use software/formats/etc that have been around at least as long as what you intend your content to last. Been there, been burned before...

Re: Write plain text files

#20
This is one of the main strengths of Obsidian, which I have been using lately and I’m extremely happy with: everything is just Markdown files in some folder on disk. Zero danger of lock in.

You can have a disk hierarchy if you desire, or trust that search will find you what you are looking for. For me search works fairly well and if I need something extra I can just grep/sed/awk.

Plus it has the features that a simple text editor will not have: displaying images, live preview, relationships between topics, etc. It even has a Vim mode!

Post reply on HN