News for hackers. Stuff that matters.
Re:Jim Keller criticizes Nvidia's CUDA, x86 by dahart on Friday February 23, 2024 @10:06AM (#39481401)
Color me skeptical. PDF viewing is reasonable, but where are the decent PDF editing tools? I’ve looked, and it seems like nobody else but Adobe is allowed to do real PDF editing. Many many third part apps claim to, but only do superficial editing and don’t remotely match Acrobat tools. I don’t know how the API licensing works, but I imagine this makes sense because the real market for PDF is business documents that involve signatures, watermarks, password security, versioning, maybe some tracking, etc..
Re:Jim Keller criticizes Nvidia's CUDA, x86 by samus on Friday February 23, 2024 @11:00AM (#39482248)
PDF manipulation is IMHO a niche application. If one really has to do that at scale, it would be probably better to fix the problem upstream to generate it correctly in the first place, or to layer the changes on top of the existing PDF and sign it.
Re:Jim Keller criticizes Nvidia's CUDA, x86 by dahart on Friday February 23, 2024 @06:32PM (#39487514)
That’s like saying image, audio, or video editing is niche. The number of PDF editing apps online suggests you might have formed an opinion before doing any research? Apparently lots and lots of people want to edit PDF files, enough that there’s a ton of competition. Why do you assume editing a PDF means the file is somehow incorrect, or that there exists any viable upstream solution? It’s more likely the edits are intended to make a new version, and don’t even belong upstream, and that editors have no access to upstream anyway. In addition to editing, there’s a whole industry of scraping PDF publications for data.
Re:Jim Keller criticizes Nvidia's CUDA, x86 by samus on Saturday February 24, 2024 @03:02AM (#39489977)
Yeah, I admit this was a risky statement :-)

Editing the PDF just seems like the wrong place to place the edit since it is a format intended for interchange and archivation.

Layering changes on top makes total sense. Changing existing objects seems fragile. But maybe I feel that way because the format is known for being so complicated and bespoke that only Adobe's tools can edit it reliably. Just about any document format which can be converted to PDF is easier to edit, therefore it would make more sense to apply changes before conversion to PDF, if at all possible.

I agree that reading and scraping PDFs on scale is a very common operation.

Re:Jim Keller criticizes Nvidia's CUDA, x86 by dahart on Saturday February 24, 2024 @11:00AM (#39492529)
It is easier & better to edit before baking to PDF, that is true.
Re:Jim Keller criticizes Nvidia's CUDA, x86 by jasomill on Friday February 23, 2024 @07:03PM (#39487759)
I know you're talking about GUI editing, but I've found libqpdf[1] incredibly useful for making programmatic PDF edits with minimal (typically no) structural disturbance.

[1] https://qpdf.sourceforge.io

Re:Jim Keller criticizes Nvidia's CUDA, x86 by dahart on Friday February 23, 2024 @07:27PM (#39487899)
Thanks! I’m checking this out.