I'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?
Linux running inside a PDF file via a RISC-V emulator
31–40 of 43 posts
Re: Linux running inside a PDF file via a RISC-V emulator
#32See? This is _exactly_ why Facebook banned Linux.
Re: Linux running inside a PDF file via a RISC-V emulator
#33”This architecture does not have memory protection”
—_—
Re: Linux running inside a PDF file via a RISC-V emulator
#34Is 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.
The BOIR is an important tool for helping investigate money laundering. Its constitutionally is in doubt, apparently by people who think money laundering is a good thing.
Re: Linux running inside a PDF file via a RISC-V emulator
#35Re: Linux running inside a PDF file via a RISC-V emulator
#36 on one hand: applauds ingenuity
on other hand: gapes at major security hole in PDF, wonders why this is defacto document type in industry for readingRe: Linux running inside a PDF file via a RISC-V emulator
#37This is kind of what NSO Group’s Pegasus did to break out of iPhone sandboxing. They exploited a codec to bootstrap a virtual machine with a custom instruction set.
Re: Linux running inside a PDF file via a RISC-V emulator
#38Earlier quoted context omitted.
PDF forms - you can cut down on errors by using JS to enable/disable parts of the form based on users answers (e.g if not married, you are also not filling jointly in a tax form).
Hasn't most of that moved to the web now.
Re: Linux running inside a PDF file via a RISC-V emulator
#39I'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
#40Is 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.
We have tax forms available as interactive PDFs, which: * auto-computes formulas * enables and disables whole sections of the document depending of filled values * performs complex validation, beyond checking for required fields and regexp patterns * offers inline help * can be filled, saved and printed completely offline * when printed, looks exactly the same as traditional, paper form * don't require external softw…