News for hackers. Stuff that matters.
Re:We Just Unredacted the Epstein Files by hallole on Tuesday December 23, 2025 @04:51PM (#46369895)
Thanks for this. Really quells the urge I get every so often to just code my own PDF editor, because they all suck and certainly it couldn't be THAT hard. Such hubris!
Re:We Just Unredacted the Epstein Files by brailsafe on Tuesday December 23, 2025 @08:13PM (#46371378)
Heh, have at it, here's the full spec: https://developer.adobe.com/document-services/docs/assets/5b...

Should take... a weekend tops? ;) PDF is crazy and scary

Re:We Just Unredacted the Epstein Files by embedding-shape on Tuesday December 23, 2025 @08:54PM (#46371630)
7.5.6 "Incremental updates" from the specification is an interesting section too, speaking about accessing data people didn't think to remove from PDF files properly.
Re:We Just Unredacted the Epstein Files by CamperBob2 on Tuesday December 23, 2025 @08:56PM (#46371646)
We will be able to say that AGI has arrived when we can hand that spec off to a model and tell it to build an Acrobat clone.
Re:We Just Unredacted the Epstein Files by exasperaited on Wednesday December 24, 2025 @04:57AM (#46374153)
We will be able to say that AGI has arrived when the AI hands it back and says "no".
Re:We Just Unredacted the Epstein Files by CamperBob2 on Wednesday December 24, 2025 @12:27PM (#46377427)
Or goes on strike.
Re:We Just Unredacted the Epstein Files by marcosdumay on Tuesday December 23, 2025 @10:15PM (#46372037)
> PDF includes eight basic types of objects: Boolean values, Integer and Real numbers, Strings, Names, Arrays, Dictionaries, Streams, and the null object

Wait, this is more complete than SOAP. It may be a good idea to redo the IPC protocol with a different serialization format!

Re:We Just Unredacted the Epstein Files by jaggederest on Wednesday December 24, 2025 @01:04AM (#46372921)
Well, it's a descendant of Postscript (much like JSON is a descendant of Javascript, loosely)

Society would probably never recover if we started implementing RPC-in-Postscript though.

Re:We Just Unredacted the Epstein Files by gregsadetsky on Tuesday December 23, 2025 @06:19PM (#46370663)
Don't stop yourself before getting started. I believe in you - maybe you could write the one editor that would actually work!

Not kidding - it's a ~~~billion dollar market haha

Make an MVP/Show HN :-)

Re:We Just Unredacted the Epstein Files by NamTaf on Tuesday December 23, 2025 @08:34PM (#46371513)
Bravo to you for recognising the load-bearing 'just' before you threw it around :)
Re:We Just Unredacted the Epstein Files by kayodelycaon on Tuesday December 23, 2025 @09:24PM (#46371772)
I did a bunch of work creating pdfs using a low-level API, object goes here stuff.

As far as I understand it, at its core, pdf is just a stream of instructions that is continually modifying the document. You can insert a thousand objects before you start the next word in a paragraph. And this is just the most basic stuff. Anything on a page can be anywhere in the stream. I don't know if you can go back and edit previous pages, you might have a shot at least trying to understand one page at a time.

Did you know you can have embedded XML in PDFs? You can have a paper form with all the data filled in and include an XML version of that for any computer systems that would like an easier way to read it.

Re:We Just Unredacted the Epstein Files by TRiG_Ireland on Tuesday December 23, 2025 @09:34PM (#46371829)
The blog post about adding colour gradients to Typst dives into some of the weirdness of the format. https://typst.app/blog/2023/color-gradients