r҉ustic cy͠be̸rpu̵nk🤠🤖 is a user on mastodon.social. You can follow them or interact with them if you have an account anywhere in the fediverse. If you don't, you can sign up here.
r҉ustic cy͠be̸rpu̵nk🤠🤖 @cypnk

Plaintext is vastly underrated as a storage mechanism

· Web · 11 · 29

I wonder if there's a way to combine ELF, text, whatever encoding it uses (UTF etc...) and LZ78 compression to build a universal "standard file" format

Regardless of OS, CPU architecture, endianness, and all other peculiarities, instead of specifying what can run it, just include "what it has" and let the user decide what program to use to open it

@cypnk I think you'd just be moving all the compatibility problems to another layer of abstraction, because like with ELF people will make up their own chunk types and use existing ones in nonstandard ways. And Unicode is its own can of worms since it basically expects everyone to conform to ONE code space for their text, which is a political nightmare.

@seanl That's a very good point. I was actually partly inspired by the FITS format used in astronomy. I like how it incorporates not just the image, but the raw sensor data. It's actually closer to a self-contained database than just a file format

@seanl @cypnk Yeah, reminds me a bit of the early days of Microsoft's docx format. "It's all XML and easy for everyone to parse but it does allow binary blobs." suddenly everything was binary blobs so you had like '<xml>blob</xml>'.

@cypnk I've used a number of note-taking strategies over the course of grad school, but the one I always come back to is:

Folders of unformatted text files whose names start with ISO-8601 compliant dates

@bgcarlisle Self indexing FTW!

Seriously, it solves so many problems before they even start. I do the date-topic format and never lost a day's notes. So easy to backup too

@cypnk @bgcarlisle

Do you use the dashes?

I got in the habit of not using them way back when there was an 8char filename limit.

Typical notes name today remains:

20180410.md or .txt

@Algot @cypnk Yeah, dashes makes them readable

I also don't mind spaces in my filenames

@bgcarlisle @cypnk

Old habits change slowly, I guess.

There's no doubt about dashes making the date easier to read.

File names for me are mostly for journal entries these days, and nobody else generally sees them.

@bgcarlisle @cypnk

Those spaces trip me up.
I guess that I don't like spaces in file names because of web uses.
I find word-separating dashes most comfortable when more than two words are needed. All lower case,

Habits of a career "lifetime".

@Algot @bgcarlisle I do use dashes too. My speed reading is rubbish so it helps to separate the words

@bgcarlisle @cypnk out of interest, which text editors do you use?

@chrwahl @bgcarlisle @cypnk this is great. Thanks for the link. I should give Sublime a try

@cypnk do you work at tmobile austria? ;)