Live data from Hacker News

Making a PDF that's larger than Germany

alexwlchan.net

101–110 of 156 posts

Re: Making a PDF that's larger than Germany

#103
post #68

PDF is a fabulous format. I mean, it’s an awful format in so many ways, technically speaking, but the net effect of having a self-contained static file in your custody stands in blissful contrast to the user-hostile dynamic/SaaS website that can be taken away at a moment’s notice. PDF/A is the true PDF - it strips out most of the dangerous cruft. Anyway, if you like weird PDF hijinks, here’s a polyglot PDF/A CSV file…

The "in your custody" part is important, when Amazon starts yoinking books from your account.

https://www.nytimes.com/2009/07/18/technology/companies/18am...

Re: Making a PDF that's larger than Germany

#104
post #85
post #29

>Please don’t try to print it. Sounds like a print bomb waiting to happen. Last time I had a printer it was next to impossible to cancel a print job on Windows. Back when people had wifi printers that were open or ill-secured, those were fun times.

when i read > Please don’t try to print it. my first reaction has been: you are not my mom. >:-)

Just click “scale to fit on one page”.

Re: Making a PDF that's larger than Germany

#105

Slightly tangential: if you are hacking on PDFs, manually or otherwise, this is an incredibly useful tool: https://pdfcpu.io/ (not the author, just a user)

Thanks for this. Any other tools that are useful when hacking on PDFs? I need to do a lot of programmatic PDF manipulation at work.

Re: Making a PDF that's larger than Germany

#106

Earlier quoted context omitted.

I have the map of US in my cell-phone. I'm somewhat confused by its directions however when I look at the map and want to go somewhere. Is the top-part of the map where I'm moving? Or is the top-part North? Seems it is not North and that is confusing because maps I've seen before have North at the top always. If I turn 90 degrees, the map turns around. But I thought it was I who turned around. And if I stop, the map…

I really hate that too. You are in a intersection and the voice says "Drive north for x miles/km". What is wrong with "turn right and drive for x miles/km"? I normally have zero clue in what direction north is especially when I am in a location i have never been before. I drive a bike and have the phone in my pocket and can therefore not see any arrow that the app might display. I only have the audio to navigate from…

> You are in a intersection and the voice says "Drive north for x miles/km".

Does that really happen? I have never experienced it. How do they tell which way is north?

Highway 101 runs through San Jose pretty much due east/west, but because it also runs up to San Francisco, it is officially a north-south highway. So you check your position on the map and you're traveling due east along an east/west road. Is that "north"? (Of course not. It's "south".)

Re: Making a PDF that's larger than Germany

#108

Long story short: the original tweet makes a confusion between PDF (the file format) and adobe acrobat (the PDF reader) : the 381km2 is an acrobat limit, not a PDF limit Funny document, still

> Long story short: the original tweet

I don’t think the tweet is relevant at all and it’s a disservice to this post to feature it that prominently in a summary. A more interesting conclusion is that PDF files can have dimensions larger than the Universe, and an example is provided.

Re: Making a PDF that's larger than Germany

#109
post #92

Earlier quoted context omitted.

PDF is an executable file. Many people are worried about running Javascript but still use PDF files without problems.

Yeah but the javascript can only do things inside the pdf.

It is not about JS. Look into BadPDF as an example.

Re: Making a PDF that's larger than Germany

#110
post #98

Earlier quoted context omitted.

Yeah but the javascript can only do things inside the pdf.

What javascript can escape my browser, (edit: or an HTML page) for example?

XMLHttpRequest to send anything the site knows anywhere.

And row hammer, to breach the sandbox.

https://en.wikipedia.org/wiki/Row_hammer

Post reply on HN