6 ms·
Incorrect. Modern web pages are garbage and PDFs are far better. No auto-play animations, no animations at all, no bizarre hijacking of scrolling, etc. a multi-
by rayiner 6y ago
Incorrect. Modern web pages are garbage and PDFs are far better. No auto-play animations, no animations at all, no bizarre hijacking of scrolling, etc. a multi-hundred page PDF loads in a blink of an eye compared to a advertising tracker-loaded web page.
Screen size-adaptability and reflow remains a problem. It would be better to fix that on the PDF end than to move those uses over to inferior web technologies.
- rietta 6y agoI have to admit, after a decade of tablets, I am back to printing some PDFS, reading, making notes, and scanning back if I want. It's actually cheaper than continually upgrading the iPad ;-p I still have the tablet but its not my first choice always.
- SV_BubbleTime 6y agoSurely the technology exists to get all the things you mentioned without an insane spec that Adobe allowed to bloom out of control.... I mean... right!? Please remember that PDFs are absolutely capable of running code and do to deploy the advertising / tracking you listed as an issue with webpages. If you are part of Adobe's premier advertising / tracking club (whatever it's called), and the user is viewing with Acrobat, you can see what people printed, where they highlighted, how long they stayed on a page, where they accessed, etc etc. That's more of a problem with Adobe than PDF itself (never use Acrobat!), but that's hardly a rare theme when it comes to Adobe.
- kevin_thibedeau 6y agoXSL-FO withered on the vine and we still don't have a suitable PDF replacement.
- tokai 6y agoBoth pdfs and modern js webpages can be bad for online reading at the same time.
- scrollaway 6y agoI'd like to see you try to have a conversation on a tech & startup news aggregator built in PDF, see how quickly your reader loads it then. You're talking about PDF like the only documents you've seen are printed from LaTeX / Chrome, but PDF supports forms, javascript, 3D models and more. PDF is an atrociously bad format, and I don't know what "multi-hundred page PDF loads in the blink of an eye" for you but even a 100 blank page PDF takes nearly a second to fully load on my beefy rig (I did the test a few months back to prove a point). [Edit: Other commenters made the clarification below, but single page render time is not the same as document render time] Clearly extracting text from a PDF is nearly as difficult as extracting it from a photo. Digitally extracting information from PDFs in general is awful, which makes the format awful for the various things it's used for. Not to mention that many uninformed users today still install the garbage / malware PDF readers such as Acrobat because they don't know any better.
- gspr 6y ago> I don't know what "multi-hundred page PDF loads in the blink of an eye" for you but even a 100 blank page PDF takes nearly a second to fully load on my beefy rig (I did the test a few months back to prove a point). The manual for PGF/TikZ [1] is a huge PDF I frequently open. It's more than 1300 pages and has lots of graphics. It opens and navigates in the blink of an eye on my 3 year old laptop (with the Okular reader). PDFs aren't perfect, but they sure feel spiffy compared to modern webpages. I do agree with some of the article's complaints, but not this one. [1] http://mirrors.ctan.org/graphics/pgf/base/doc/pgfmanual.pdf http://mirrors.ctan.org/graphics/pgf/base/doc/pgfmanual.pdf
- athriren 6y agoWhat reader do you use?
- gspr 6y agoOkular [1]. It's strange; I'm a KDE user and big fan of the core DE, but I find almost all the KDE software outside of that core DE nearly unusable. Except Okular – it's by far the best PDF reader I know. I guess credit goes to Poppler for the heavy lifting [2]. [1] https://okular.kde.org/ https://okular.kde.org/ [2] https://poppler.freedesktop.org/ https://poppler.freedesktop.org/
- onion2k 6y agoNo auto-play animations, no animations at all, no bizarre hijacking of scrolling... As annoying and obnoxious as animations and scrolljacking are, I prefer them to things like embedded viruses and SMB attacks that PDFs with embedded JS will happily run. https://www.sentinelone.com/blog/malicious-pdfs-revealing-techniques-behind-attacks/ https://www.sentinelone.com/blog/malicious-pdfs-revealing-te...
- jrockway 6y agoThat's actually not true! PDFs can do all sorts of annoying stuff. Here's a PDF that I ran into that told me my PDF reader wasn't good enough: https://twitter.com/jrockway/status/1247153472895664128 https://twitter.com/jrockway/status/1247153472895664128
- MaxBarraclough 6y agoEven PDFs can be inexplicably bloated. This cropped up on HN discussion a week ago. There was an 11MB bloated PDF, and a 500KB PDF, of the same article, with no visible difference between the two. https://news.ycombinator.com/item?id=24035955 https://news.ycombinator.com/item?id=24035955 > No auto-play animations, no animations at all, no bizarre hijacking of scrolling HackerNews commits neither of these sins. They aren't universal to the modern web, even if they're annoyingly prevalent. Given sufficient incompetence, both PDFs and websites can be bloated monstrosities.
- ImaCake 6y agoI like your conclusion here. I've never needed an ad blocker for a PDF. But I also don't have a good pdf reader for all of my devices.
- pcwalton 6y agoI don't think reflow is really "fixable" in PDF. PDF's model is fundamentally based on absolute coordinates and transforms for everything, as it's descended from a language for printers. Adding client-side layout to that radically alters the entire design in ways that would make it not PDF anymore. When you say "a multi-hundred page PDF loads in a blink of an eye compared to a advertising tracker-loaded web page", consider why that is. The basic reason is that every page in PDF can be rendered individually. (In fact, the top-level grouping in PDF is the physical page instead of the semantic model of HTML.) This is only possible because PDF has no layout! When you introduce client-side layout, the client must lay out every page to render any of them, because the locations of page breaks depend on characteristics of the client device, creating a sequential dependency. If you were to somehow add layout to PDF, the sequential dependency would be there too; there's nothing magical about PDF that would prevent it from inheriting the problems of HTML. Finally, PDF does have animations and scripting (with multiple JavaScript engines). In fact, it even has 3D (old-school VRML-style 3D, not the flexible immediate-mode GPU APIs browsers have). You'd be amazed how bloated PDF is!
- GoblinSlayer 6y agoDepends on what web pages you see. https://timsong-cpp.github.io/cppwp/n3337/ https://timsong-cpp.github.io/cppwp/n3337/ - how about this?