Linux running inside a PDF file via a RISC-V emulator
11–20 of 43 posts
Re: Linux running inside a PDF file via a RISC-V emulator
#12Re: Linux running inside a PDF file via a RISC-V emulator
#13Re: Linux running inside a PDF file via a RISC-V emulator
#14It's called Locked Markdown. `*.lmd`.
It provides 98% of the functionality most people use PDFs for, without all the extra bullshit.
The Spec:
- The most popular Markdown Spec (git flavour?)
- At the top of the page place a hash sum of the markdown below a marker on the page.
LMD Reader:
- Prevents editing the markdown.
- Warns user if the hash sum is not valid.
Example:
```lmd
sha256 77ec0f678315f8a207c3501137e1dfc9642b79a9c93e21807df7b5242846c05c
-------------------------------
# Header 1
Paragraph of text about how bloated the PDF format is.
```
Zip .lmd together with images/videos if required.
Re: Linux running inside a PDF file via a RISC-V emulator
#15I've invented a replacement for the PDF format. It's called Locked Markdown. `*.lmd`. It provides 98% of the functionality most people use PDFs for, without all the extra bullshit. The Spec: - The most popular Markdown Spec (git flavour?) - At the top of the page place a hash sum of the markdown below a marker on the page. LMD Reader: - Prevents editing the markdown. - Warns user if the hash sum is not valid. Example…
Re: Linux running inside a PDF file via a RISC-V emulator
#16Re: Linux running inside a PDF file via a RISC-V emulator
#17Re: Linux running inside a PDF file via a RISC-V emulator
#18I just don't see why PDF would be your file format of choice if you're writing JS.
Re: Linux running inside a PDF file via a RISC-V emulator
#19I've invented a replacement for the PDF format. It's called Locked Markdown. `*.lmd`. It provides 98% of the functionality most people use PDFs for, without all the extra bullshit. The Spec: - The most popular Markdown Spec (git flavour?) - At the top of the page place a hash sum of the markdown below a marker on the page. LMD Reader: - Prevents editing the markdown. - Warns user if the hash sum is not valid. Example…
What is stopping me just unzipping it, altering the file, hashing the file below the header and then zipping it back up?
Re: Linux running inside a PDF file via a RISC-V emulator
#20Is there even a single solid motivating example for why JS in PDF is useful? Can anyone show a real-world application of JS in PDF where it's actually a good fit? I just don't see why PDF would be your file format of choice if you're writing JS.